Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /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:59:04.061613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_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/29/image_14122025_23_29_14_9610.jpg', '/home/pi/Desktop/images/14122025/23/29/image_14122025_23_29_24_9593.jpg', '/home/pi/Desktop/images/14122025/23/29/image_14122025_23_29_34_10650.jpg', '/home/pi/Desktop/images/14122025/23/29/image_14122025_23_29_44_9802.jpg', '/home/pi/Desktop/images/14122025/23/29/image_14122025_23_29_54_9746.jpg', '/home/pi/Desktop/images/14122025/23/29/image_14122025_23_30_05_10577.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/29/image_14122025_23_29_14_9610.jpg
/home/pi/Desktop/images/14122025/23/29/image_14122025_23_29_24_9593.jpg
/home/pi/Desktop/images/14122025/23/29/image_14122025_23_29_34_10650.jpg
/home/pi/Desktop/images/14122025/23/29/image_14122025_23_29_44_9802.jpg
/home/pi/Desktop/images/14122025/23/29/image_14122025_23_29_54_9746.jpg
/home/pi/Desktop/images/14122025/23/29/image_14122025_23_30_05_10577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399416912","1399417313","1399416995","1399417072","1399417225","1399417147"],"photo_ids_order":["1399416912","1399416995","1399417072","1399417147","1399417225","1399417313"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1daba985460d188dad0e404f35fa2a83.jpg","text":"TemporaryFile(/tmp/multipartBody7726030303903427967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753205753,"filename":"image_14122025_23_29_14_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9ea47158443559fd53e386e69326506b.jpg","text":"TemporaryFile(/tmp/multipartBody2747339805603539749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753205753,"filename":"image_14122025_23_30_05_10577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7e6b41de982b71dbf42c44f39dd5b0d1.jpg","text":"TemporaryFile(/tmp/multipartBody918684794641269027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753205753,"filename":"image_14122025_23_29_24_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fb04d8499047d9e3d4728df5a1bee13a.jpg","text":"TemporaryFile(/tmp/multipartBody2318922643661763970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753205753,"filename":"image_14122025_23_29_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/15/269892354748f093caaf17acfc4b00c0.jpg","text":"TemporaryFile(/tmp/multipartBody6287650275999597045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753205753,"filename":"image_14122025_23_29_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/15/ddab1cdcdb767b1436ce5a4126c20386.jpg","text":"TemporaryFile(/tmp/multipartBody2957981893132683184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753205753,"filename":"image_14122025_23_29_44_9802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399417072","file1":"1399416995","file0":"1399416912","file4":"1399417225","file5":"1399417313","file3":"1399417147"},"map_files_photo_id_array":[{"photo_id":"1399417313","filename":"file5"},{"photo_id":"1399417072","filename":"file2"},{"photo_id":"1399417225","filename":"file4"},{"photo_id":"1399416995","filename":"file1"},{"photo_id":"1399416912","filename":"file0"},{"photo_id":"1399417147","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399416912":["hashtag1","hashtag2"]},{"1399417313":["hashtag1","hashtag2"]},{"1399416995":["hashtag1","hashtag2"]},{"1399417072":["hashtag1","hashtag2"]},{"1399417225":["hashtag1","hashtag2"]},{"1399417147":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399416912, 1399417313, 1399416995, 1399417072, 1399417225, 1399417147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98461079597473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --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:59:42.750799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/09/image_05112025_12_09_56_1670.jpg', '/home/pi/Desktop/images/05112025/12/09/image_05112025_12_09_58_1629.jpg', '/home/pi/Desktop/images/05112025/12/09/image_05112025_12_09_59_1569.jpg', '/home/pi/Desktop/images/05112025/12/10/image_05112025_12_10_01_1633.jpg', '/home/pi/Desktop/images/05112025/12/10/image_05112025_12_10_18_16696.jpg', '/home/pi/Desktop/images/05112025/12/10/image_05112025_12_10_19_1696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/09/image_05112025_12_09_56_1670.jpg
/home/pi/Desktop/images/05112025/12/09/image_05112025_12_09_58_1629.jpg
/home/pi/Desktop/images/05112025/12/09/image_05112025_12_09_59_1569.jpg
/home/pi/Desktop/images/05112025/12/10/image_05112025_12_10_01_1633.jpg
/home/pi/Desktop/images/05112025/12/10/image_05112025_12_10_18_16696.jpg
/home/pi/Desktop/images/05112025/12/10/image_05112025_12_10_19_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":["1399417794","1399417539","1399417712","1399417582","1399417666","1399417627"],"photo_ids_order":["1399417539","1399417582","1399417627","1399417666","1399417712","1399417794"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3d7795029b0f939a689278a3c3179502.jpg","text":"TemporaryFile(/tmp/multipartBody4173965910975061480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753243456,"filename":"image_05112025_12_10_19_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/15/14ca32bdaa4236d52a6f95b262c65e06.jpg","text":"TemporaryFile(/tmp/multipartBody8662214124487479268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753243456,"filename":"image_05112025_12_09_56_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/15/0faeeeaa0484b768d0ad78823c045bcb.jpg","text":"TemporaryFile(/tmp/multipartBody5812027521464305457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753243456,"filename":"image_05112025_12_10_18_16696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f53fc1d699804e4d584faddb1d374633.jpg","text":"TemporaryFile(/tmp/multipartBody1501514249765062216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753243456,"filename":"image_05112025_12_09_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/15/9f227cd58e73efe64a54126df0dff1c7.jpg","text":"TemporaryFile(/tmp/multipartBody198874581001164579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753243456,"filename":"image_05112025_12_10_01_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/47d7807aeb4e5e0d40840d0f509affa6.jpg","text":"TemporaryFile(/tmp/multipartBody2591439569666921065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753243456,"filename":"image_05112025_12_09_59_1569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399417627","file1":"1399417582","file0":"1399417539","file4":"1399417712","file5":"1399417794","file3":"1399417666"},"map_files_photo_id_array":[{"photo_id":"1399417794","filename":"file5"},{"photo_id":"1399417627","filename":"file2"},{"photo_id":"1399417712","filename":"file4"},{"photo_id":"1399417582","filename":"file1"},{"photo_id":"1399417539","filename":"file0"},{"photo_id":"1399417666","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399417794":["hashtag1","hashtag2"]},{"1399417539":["hashtag1","hashtag2"]},{"1399417712":["hashtag1","hashtag2"]},{"1399417582":["hashtag1","hashtag2"]},{"1399417666":["hashtag1","hashtag2"]},{"1399417627":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399417794, 1399417539, 1399417712, 1399417582, 1399417666, 1399417627)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 47.59990382194519 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 00:00:32.055486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 00:00:42.006135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/10/image_05112025_12_10_41_21641.jpg', '/home/pi/Desktop/images/05112025/12/13/image_05112025_12_13_08_4253.jpg', '/home/pi/Desktop/images/05112025/12/13/image_05112025_12_13_12_4022.jpg', '/home/pi/Desktop/images/05112025/12/13/image_05112025_12_13_14_1914.jpg', '/home/pi/Desktop/images/05112025/12/13/image_05112025_12_13_16_2787.jpg', '/home/pi/Desktop/images/05112025/12/13/image_05112025_12_13_19_2723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/10/image_05112025_12_10_41_21641.jpg
/home/pi/Desktop/images/05112025/12/13/image_05112025_12_13_08_4253.jpg
/home/pi/Desktop/images/05112025/12/13/image_05112025_12_13_12_4022.jpg
/home/pi/Desktop/images/05112025/12/13/image_05112025_12_13_14_1914.jpg
/home/pi/Desktop/images/05112025/12/13/image_05112025_12_13_16_2787.jpg
/home/pi/Desktop/images/05112025/12/13/image_05112025_12_13_19_2723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399417890","1399417903","1399417929","1399417892","1399417889","1399417891"],"photo_ids_order":["1399417889","1399417890","1399417891","1399417892","1399417903","1399417929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c41ed11531199edfd2a3d8edf377fd1d.jpg","text":"TemporaryFile(/tmp/multipartBody740926103430801247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753302739,"filename":"image_05112025_12_13_08_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/15/46685f58bfe595519e84175bbd1d3db3.jpg","text":"TemporaryFile(/tmp/multipartBody293286492257097202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753302739,"filename":"image_05112025_12_13_16_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/15/3a22def6d455a6706c1141986cea4365.jpg","text":"TemporaryFile(/tmp/multipartBody8303948984015849157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753302739,"filename":"image_05112025_12_13_19_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/15/d2d5f794f111620342cd9a4434a30053.jpg","text":"TemporaryFile(/tmp/multipartBody5842562428500446900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753302739,"filename":"image_05112025_12_13_14_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/15/4293ef239372e0c171f0b64f225395bd.jpg","text":"TemporaryFile(/tmp/multipartBody2355846229496280389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753302739,"filename":"image_05112025_12_10_41_21641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2ff2d299bffba9380442aa99d62b19b6.jpg","text":"TemporaryFile(/tmp/multipartBody2912674367956789058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753302739,"filename":"image_05112025_12_13_12_4022.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399417891","file1":"1399417890","file0":"1399417889","file4":"1399417903","file5":"1399417929","file3":"1399417892"},"map_files_photo_id_array":[{"photo_id":"1399417929","filename":"file5"},{"photo_id":"1399417891","filename":"file2"},{"photo_id":"1399417903","filename":"file4"},{"photo_id":"1399417890","filename":"file1"},{"photo_id":"1399417889","filename":"file0"},{"photo_id":"1399417892","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399417890":["hashtag1","hashtag2"]},{"1399417903":["hashtag1","hashtag2"]},{"1399417929":["hashtag1","hashtag2"]},{"1399417892":["hashtag1","hashtag2"]},{"1399417889":["hashtag1","hashtag2"]},{"1399417891":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399417890, 1399417903, 1399417929, 1399417892, 1399417889, 1399417891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59569954872131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 00:01:22.407058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 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_15122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
{'portfolio_id': 29416301, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1765753342000}
4219
4221059
4219
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/00/image_15122025_00_00_14_9664.jpg', '/home/pi/Desktop/images/15122025/00/00/image_15122025_00_00_25_10645.jpg', '/home/pi/Desktop/images/15122025/00/00/image_15122025_00_00_45_10005.jpg', '/home/pi/Desktop/images/15122025/00/00/image_15122025_00_00_54_9727.jpg', '/home/pi/Desktop/images/15122025/00/00/image_15122025_00_01_04_9856.jpg', '/home/pi/Desktop/images/15122025/00/01/image_15122025_00_01_14_10020.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/00/image_15122025_00_00_14_9664.jpg
/home/pi/Desktop/images/15122025/00/00/image_15122025_00_00_25_10645.jpg
/home/pi/Desktop/images/15122025/00/00/image_15122025_00_00_45_10005.jpg
/home/pi/Desktop/images/15122025/00/00/image_15122025_00_00_54_9727.jpg
/home/pi/Desktop/images/15122025/00/00/image_15122025_00_01_04_9856.jpg
/home/pi/Desktop/images/15122025/00/01/image_15122025_00_01_14_10020.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399418046","1399418136","1399418120","1399418098","1399418071","1399418131"],"photo_ids_order":["1399418046","1399418071","1399418098","1399418120","1399418131","1399418136"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cba18945c024c7761a85280875efe07e.jpg","text":"TemporaryFile(/tmp/multipartBody1101097089004310240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753349135,"filename":"image_15122025_00_00_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/15/6153dabefbcb938223a02b079f83a27b.jpg","text":"TemporaryFile(/tmp/multipartBody8651127512400184291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753349135,"filename":"image_15122025_00_01_14_10020.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6cc515d32212b80f1cb9321054717ab0.jpg","text":"TemporaryFile(/tmp/multipartBody4800542128465030312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753349135,"filename":"image_15122025_00_00_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/15/1e9e6e9ddb85d9a63efe0e66ff4b3b43.jpg","text":"TemporaryFile(/tmp/multipartBody5261656089383353685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753349135,"filename":"image_15122025_00_00_45_10005.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/38cbb8ecd1ebfc8fd79a9d4330b15bac.jpg","text":"TemporaryFile(/tmp/multipartBody6000631730520442214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753349135,"filename":"image_15122025_00_00_25_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/15/dee1a04c1ab5cdb09f5af2fa9ea7f656.jpg","text":"TemporaryFile(/tmp/multipartBody1781180661669115494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753349135,"filename":"image_15122025_00_01_04_9856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399418098","file1":"1399418071","file0":"1399418046","file4":"1399418131","file5":"1399418136","file3":"1399418120"},"map_files_photo_id_array":[{"photo_id":"1399418136","filename":"file5"},{"photo_id":"1399418098","filename":"file2"},{"photo_id":"1399418131","filename":"file4"},{"photo_id":"1399418071","filename":"file1"},{"photo_id":"1399418046","filename":"file0"},{"photo_id":"1399418120","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399418046":["hashtag1","hashtag2"]},{"1399418136":["hashtag1","hashtag2"]},{"1399418120":["hashtag1","hashtag2"]},{"1399418098":["hashtag1","hashtag2"]},{"1399418071":["hashtag1","hashtag2"]},{"1399418131":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399418046, 1399418136, 1399418120, 1399418098, 1399418071, 1399418131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.09015512466431 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 00:02:12.740140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_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/30/image_14122025_23_30_14_9581.jpg', '/home/pi/Desktop/images/14122025/23/30/image_14122025_23_30_24_9767.jpg', '/home/pi/Desktop/images/14122025/23/30/image_14122025_23_30_35_10631.jpg', '/home/pi/Desktop/images/14122025/23/30/image_14122025_23_30_44_9697.jpg', '/home/pi/Desktop/images/14122025/23/30/image_14122025_23_30_54_9629.jpg', '/home/pi/Desktop/images/14122025/23/30/image_14122025_23_31_05_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/23/30/image_14122025_23_30_14_9581.jpg
/home/pi/Desktop/images/14122025/23/30/image_14122025_23_30_24_9767.jpg
/home/pi/Desktop/images/14122025/23/30/image_14122025_23_30_35_10631.jpg
/home/pi/Desktop/images/14122025/23/30/image_14122025_23_30_44_9697.jpg
/home/pi/Desktop/images/14122025/23/30/image_14122025_23_30_54_9629.jpg
/home/pi/Desktop/images/14122025/23/30/image_14122025_23_31_05_10757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399418271","1399418285","1399418246","1399418312","1399418353","1399418335"],"photo_ids_order":["1399418246","1399418271","1399418285","1399418312","1399418335","1399418353"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/63005cdcf3203737be311c5856557d3a.jpg","text":"TemporaryFile(/tmp/multipartBody5579744037851618113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753394260,"filename":"image_14122025_23_30_24_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5f53fb676d2a117bb3f524adcf5bf898.jpg","text":"TemporaryFile(/tmp/multipartBody7193010187346744521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753394260,"filename":"image_14122025_23_30_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/15/bbe2c944086bc75fee2d223e14037ed7.jpg","text":"TemporaryFile(/tmp/multipartBody2916004554173030739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753394260,"filename":"image_14122025_23_30_14_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e07ce061d90c5dce77e3fb1b78c7c277.jpg","text":"TemporaryFile(/tmp/multipartBody3206273699592712033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753394260,"filename":"image_14122025_23_30_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/15/88448abbc3efdf388492ada70c27b227.jpg","text":"TemporaryFile(/tmp/multipartBody2069172061857229527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753394260,"filename":"image_14122025_23_31_05_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/15/143c5b17a742e42d706cb08d9fc3268f.jpg","text":"TemporaryFile(/tmp/multipartBody847622473633746265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753394260,"filename":"image_14122025_23_30_54_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399418285","file1":"1399418271","file0":"1399418246","file4":"1399418335","file5":"1399418353","file3":"1399418312"},"map_files_photo_id_array":[{"photo_id":"1399418353","filename":"file5"},{"photo_id":"1399418285","filename":"file2"},{"photo_id":"1399418335","filename":"file4"},{"photo_id":"1399418271","filename":"file1"},{"photo_id":"1399418246","filename":"file0"},{"photo_id":"1399418312","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399418271":["hashtag1","hashtag2"]},{"1399418285":["hashtag1","hashtag2"]},{"1399418246":["hashtag1","hashtag2"]},{"1399418312":["hashtag1","hashtag2"]},{"1399418353":["hashtag1","hashtag2"]},{"1399418335":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399418271, 1399418285, 1399418246, 1399418312, 1399418353, 1399418335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09334874153137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 00:03:02.755854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/01/image_15122025_00_01_24_9819.jpg', '/home/pi/Desktop/images/15122025/00/01/image_15122025_00_01_35_10588.jpg', '/home/pi/Desktop/images/15122025/00/01/image_15122025_00_01_44_9562.jpg', '/home/pi/Desktop/images/15122025/00/01/image_15122025_00_01_54_9744.jpg', '/home/pi/Desktop/images/15122025/00/02/image_15122025_00_02_05_10741.jpg', '/home/pi/Desktop/images/15122025/00/02/image_15122025_00_02_14_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/01/image_15122025_00_01_24_9819.jpg
/home/pi/Desktop/images/15122025/00/01/image_15122025_00_01_35_10588.jpg
/home/pi/Desktop/images/15122025/00/01/image_15122025_00_01_44_9562.jpg
/home/pi/Desktop/images/15122025/00/01/image_15122025_00_01_54_9744.jpg
/home/pi/Desktop/images/15122025/00/02/image_15122025_00_02_05_10741.jpg
/home/pi/Desktop/images/15122025/00/02/image_15122025_00_02_14_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":["1399418358","1399418384","1399418360","1399418357","1399418359","1399418356"],"photo_ids_order":["1399418356","1399418357","1399418358","1399418359","1399418360","1399418384"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5d644f1eef22b3093217b79f3865bdfc.jpg","text":"TemporaryFile(/tmp/multipartBody5057220781496232246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753443428,"filename":"image_15122025_00_01_44_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/15/7c8f19e61b4c012c8addc9bd43e10ffe.jpg","text":"TemporaryFile(/tmp/multipartBody5618470568024302078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753443428,"filename":"image_15122025_00_02_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/15/00540a2999cc6d616296f880a6018ef3.jpg","text":"TemporaryFile(/tmp/multipartBody725755342967590458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753443428,"filename":"image_15122025_00_02_05_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/132f7f85d16da9a7047d66da67da4102.jpg","text":"TemporaryFile(/tmp/multipartBody7726697783172935945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753443428,"filename":"image_15122025_00_01_35_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/15/a7ec3c0f6c081ddd16a2f453f2914ce5.jpg","text":"TemporaryFile(/tmp/multipartBody5829947926675292546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753443428,"filename":"image_15122025_00_01_54_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9e8a17af25e804b40a2d4dfc62874088.jpg","text":"TemporaryFile(/tmp/multipartBody5172579155341088580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753443428,"filename":"image_15122025_00_01_24_9819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399418358","file1":"1399418357","file0":"1399418356","file4":"1399418360","file5":"1399418384","file3":"1399418359"},"map_files_photo_id_array":[{"photo_id":"1399418384","filename":"file5"},{"photo_id":"1399418358","filename":"file2"},{"photo_id":"1399418360","filename":"file4"},{"photo_id":"1399418357","filename":"file1"},{"photo_id":"1399418356","filename":"file0"},{"photo_id":"1399418359","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399418358":["hashtag1","hashtag2"]},{"1399418384":["hashtag1","hashtag2"]},{"1399418360":["hashtag1","hashtag2"]},{"1399418357":["hashtag1","hashtag2"]},{"1399418359":["hashtag1","hashtag2"]},{"1399418356":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399418358, 1399418384, 1399418360, 1399418357, 1399418359, 1399418356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.453391551971436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 00:03:41.932948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/13/image_05112025_12_13_24_4405.jpg', '/home/pi/Desktop/images/05112025/12/13/image_05112025_12_13_25_1792.jpg', '/home/pi/Desktop/images/05112025/12/13/image_05112025_12_13_28_2688.jpg', '/home/pi/Desktop/images/05112025/12/13/image_05112025_12_13_31_2547.jpg', '/home/pi/Desktop/images/05112025/12/13/image_05112025_12_13_34_3698.jpg', '/home/pi/Desktop/images/05112025/12/13/image_05112025_12_13_55_20617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/13/image_05112025_12_13_24_4405.jpg
/home/pi/Desktop/images/05112025/12/13/image_05112025_12_13_25_1792.jpg
/home/pi/Desktop/images/05112025/12/13/image_05112025_12_13_28_2688.jpg
/home/pi/Desktop/images/05112025/12/13/image_05112025_12_13_31_2547.jpg
/home/pi/Desktop/images/05112025/12/13/image_05112025_12_13_34_3698.jpg
/home/pi/Desktop/images/05112025/12/13/image_05112025_12_13_55_20617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399418484","1399418508","1399418483","1399418459","1399418518","1399418503"],"photo_ids_order":["1399418459","1399418483","1399418484","1399418503","1399418508","1399418518"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/28d2464b67dc9bd415af54bd55e5f85a.jpg","text":"TemporaryFile(/tmp/multipartBody5372216838758690042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753482647,"filename":"image_05112025_12_13_28_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a9b54981fb1dc912aa6f042f33c22402.jpg","text":"TemporaryFile(/tmp/multipartBody4790279996138483819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753482647,"filename":"image_05112025_12_13_34_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/15/1097be43c04e8bff8637739995139f37.jpg","text":"TemporaryFile(/tmp/multipartBody5644868548259579234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753482647,"filename":"image_05112025_12_13_25_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/15/dae066d757df4aa9c2a241a328a75ef0.jpg","text":"TemporaryFile(/tmp/multipartBody7682247512795933676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753482647,"filename":"image_05112025_12_13_24_4405.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0904630ad0574c1b61e290eb226ea81a.jpg","text":"TemporaryFile(/tmp/multipartBody7610678272304461537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753482647,"filename":"image_05112025_12_13_55_20617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/867f5d9447d01d3fadb9fba70cd5b15d.jpg","text":"TemporaryFile(/tmp/multipartBody686306469084916363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753482647,"filename":"image_05112025_12_13_31_2547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399418484","file1":"1399418483","file0":"1399418459","file4":"1399418508","file5":"1399418518","file3":"1399418503"},"map_files_photo_id_array":[{"photo_id":"1399418518","filename":"file5"},{"photo_id":"1399418484","filename":"file2"},{"photo_id":"1399418508","filename":"file4"},{"photo_id":"1399418483","filename":"file1"},{"photo_id":"1399418459","filename":"file0"},{"photo_id":"1399418503","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399418484":["hashtag1","hashtag2"]},{"1399418508":["hashtag1","hashtag2"]},{"1399418483":["hashtag1","hashtag2"]},{"1399418459":["hashtag1","hashtag2"]},{"1399418518":["hashtag1","hashtag2"]},{"1399418503":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399418484, 1399418508, 1399418483, 1399418459, 1399418518, 1399418503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.296122312545776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 00:04:22.180349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/02/image_15122025_00_02_24_9753.jpg', '/home/pi/Desktop/images/15122025/00/02/image_15122025_00_02_34_9672.jpg', '/home/pi/Desktop/images/15122025/00/02/image_15122025_00_02_44_10648.jpg', '/home/pi/Desktop/images/15122025/00/02/image_15122025_00_02_54_9770.jpg', '/home/pi/Desktop/images/15122025/00/03/image_15122025_00_03_54_9783.jpg', '/home/pi/Desktop/images/15122025/00/03/image_15122025_00_04_04_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/02/image_15122025_00_02_24_9753.jpg
/home/pi/Desktop/images/15122025/00/02/image_15122025_00_02_34_9672.jpg
/home/pi/Desktop/images/15122025/00/02/image_15122025_00_02_44_10648.jpg
/home/pi/Desktop/images/15122025/00/02/image_15122025_00_02_54_9770.jpg
/home/pi/Desktop/images/15122025/00/03/image_15122025_00_03_54_9783.jpg
/home/pi/Desktop/images/15122025/00/03/image_15122025_00_04_04_9728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399418637","1399418700","1399418662","1399418685","1399418673","1399418652"],"photo_ids_order":["1399418637","1399418652","1399418662","1399418673","1399418685","1399418700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a2e97a436fe865fe2508aecef1a5e7bf.jpg","text":"TemporaryFile(/tmp/multipartBody6322410007872921256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753522790,"filename":"image_15122025_00_02_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/15/c05e7b3e11e8fd6a4ed7b8dbc87991b6.jpg","text":"TemporaryFile(/tmp/multipartBody3042081828229086554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753522790,"filename":"image_15122025_00_04_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/15/46eb5c5386968b8e50951cc50e59ef06.jpg","text":"TemporaryFile(/tmp/multipartBody1012365556477381925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753522790,"filename":"image_15122025_00_02_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/15/ddcdd52444ff42361883820d1be4a07e.jpg","text":"TemporaryFile(/tmp/multipartBody2921821189764908509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753522790,"filename":"image_15122025_00_03_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/15/6bcb63ae3f3dd9d68e86049d74dbe4c2.jpg","text":"TemporaryFile(/tmp/multipartBody3759003192687992282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753522790,"filename":"image_15122025_00_02_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/15/f9f14b0b331c91d90ee0ff37560bc274.jpg","text":"TemporaryFile(/tmp/multipartBody8153780308200815275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753522790,"filename":"image_15122025_00_02_34_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399418662","file1":"1399418652","file0":"1399418637","file4":"1399418685","file5":"1399418700","file3":"1399418673"},"map_files_photo_id_array":[{"photo_id":"1399418700","filename":"file5"},{"photo_id":"1399418662","filename":"file2"},{"photo_id":"1399418685","filename":"file4"},{"photo_id":"1399418652","filename":"file1"},{"photo_id":"1399418637","filename":"file0"},{"photo_id":"1399418673","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399418637":["hashtag1","hashtag2"]},{"1399418700":["hashtag1","hashtag2"]},{"1399418662":["hashtag1","hashtag2"]},{"1399418685":["hashtag1","hashtag2"]},{"1399418673":["hashtag1","hashtag2"]},{"1399418652":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399418637, 1399418700, 1399418662, 1399418685, 1399418673, 1399418652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6861138343811 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 00:05:03.052745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/04/image_15122025_00_04_15_10683.jpg', '/home/pi/Desktop/images/15122025/00/04/image_15122025_00_04_24_9654.jpg', '/home/pi/Desktop/images/15122025/00/04/image_15122025_00_04_34_9689.jpg', '/home/pi/Desktop/images/15122025/00/04/image_15122025_00_04_45_10778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/04/image_15122025_00_04_15_10683.jpg
/home/pi/Desktop/images/15122025/00/04/image_15122025_00_04_24_9654.jpg
/home/pi/Desktop/images/15122025/00/04/image_15122025_00_04_34_9689.jpg
/home/pi/Desktop/images/15122025/00/04/image_15122025_00_04_45_10778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399418763","1399418721","1399418870","1399418812"],"photo_ids_order":["1399418721","1399418763","1399418812","1399418870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ecf74b37766d2e397a2c5c35445b4c34.jpg","text":"TemporaryFile(/tmp/multipartBody499437787606808488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753563644,"filename":"image_15122025_00_04_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/15/5855319133101ef6aabff425caf99f0e.jpg","text":"TemporaryFile(/tmp/multipartBody1418780546286870226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753563644,"filename":"image_15122025_00_04_15_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e9c20225fdef48688c4fc902941842ea.jpg","text":"TemporaryFile(/tmp/multipartBody9157307880593271449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753563644,"filename":"image_15122025_00_04_45_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/15/75605d0cc963fce7901664603914cec7.jpg","text":"TemporaryFile(/tmp/multipartBody2863878046440232466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753563644,"filename":"image_15122025_00_04_34_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399418812","file1":"1399418763","file0":"1399418721","file3":"1399418870"},"map_files_photo_id_array":[{"photo_id":"1399418812","filename":"file2"},{"photo_id":"1399418763","filename":"file1"},{"photo_id":"1399418721","filename":"file0"},{"photo_id":"1399418870","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399418763":["hashtag1","hashtag2"]},{"1399418721":["hashtag1","hashtag2"]},{"1399418870":["hashtag1","hashtag2"]},{"1399418812":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399418763, 1399418721, 1399418870, 1399418812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.571775913238525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 00:05:32.379019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_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/31/image_14122025_23_31_14_9802.jpg', '/home/pi/Desktop/images/14122025/23/31/image_14122025_23_31_24_9624.jpg', '/home/pi/Desktop/images/14122025/23/31/image_14122025_23_31_35_10658.jpg', '/home/pi/Desktop/images/14122025/23/31/image_14122025_23_31_44_9601.jpg', '/home/pi/Desktop/images/14122025/23/31/image_14122025_23_32_04_9724.jpg', '/home/pi/Desktop/images/14122025/23/32/image_14122025_23_32_14_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/23/31/image_14122025_23_31_14_9802.jpg
/home/pi/Desktop/images/14122025/23/31/image_14122025_23_31_24_9624.jpg
/home/pi/Desktop/images/14122025/23/31/image_14122025_23_31_35_10658.jpg
/home/pi/Desktop/images/14122025/23/31/image_14122025_23_31_44_9601.jpg
/home/pi/Desktop/images/14122025/23/31/image_14122025_23_32_04_9724.jpg
/home/pi/Desktop/images/14122025/23/32/image_14122025_23_32_14_10707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399419036","1399419089","1399419239","1399419091","1399419073","1399419100"],"photo_ids_order":["1399419036","1399419073","1399419089","1399419091","1399419100","1399419239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6d1f33133216d87f06892157d1329224.jpg","text":"TemporaryFile(/tmp/multipartBody4945331349298511934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753593993,"filename":"image_14122025_23_31_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/15/3eb3a02b8cd737263f465e9e3390e2a8.jpg","text":"TemporaryFile(/tmp/multipartBody6315504854494556043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753593993,"filename":"image_14122025_23_31_35_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bb32730defd98232c3d3642e5cd2ebb5.jpg","text":"TemporaryFile(/tmp/multipartBody1331059055303372944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753593993,"filename":"image_14122025_23_32_14_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8e238b08f74361bc92f78ab5a38de990.jpg","text":"TemporaryFile(/tmp/multipartBody2964352816341645520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753593993,"filename":"image_14122025_23_31_44_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3e5ae6fc23102406fdc610cd05a67fef.jpg","text":"TemporaryFile(/tmp/multipartBody7344047074821259508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753593993,"filename":"image_14122025_23_31_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/15/57cb78bba07bc9f9ff294dbb5a2bf63d.jpg","text":"TemporaryFile(/tmp/multipartBody8603762066651886518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753593993,"filename":"image_14122025_23_32_04_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419089","file1":"1399419073","file0":"1399419036","file4":"1399419100","file5":"1399419239","file3":"1399419091"},"map_files_photo_id_array":[{"photo_id":"1399419239","filename":"file5"},{"photo_id":"1399419089","filename":"file2"},{"photo_id":"1399419100","filename":"file4"},{"photo_id":"1399419073","filename":"file1"},{"photo_id":"1399419036","filename":"file0"},{"photo_id":"1399419091","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399419036":["hashtag1","hashtag2"]},{"1399419089":["hashtag1","hashtag2"]},{"1399419239":["hashtag1","hashtag2"]},{"1399419091":["hashtag1","hashtag2"]},{"1399419073":["hashtag1","hashtag2"]},{"1399419100":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399419036, 1399419089, 1399419239, 1399419091, 1399419073, 1399419100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14695334434509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 00:06:12.775661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_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/32/image_14122025_23_32_24_9696.jpg', '/home/pi/Desktop/images/14122025/23/32/image_14122025_23_32_34_10033.jpg', '/home/pi/Desktop/images/14122025/23/32/image_14122025_23_32_44_9752.jpg', '/home/pi/Desktop/images/14122025/23/32/image_14122025_23_33_04_9830.jpg', '/home/pi/Desktop/images/14122025/23/33/image_14122025_23_33_14_9735.jpg', '/home/pi/Desktop/images/14122025/23/33/image_14122025_23_33_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/32/image_14122025_23_32_24_9696.jpg
/home/pi/Desktop/images/14122025/23/32/image_14122025_23_32_34_10033.jpg
/home/pi/Desktop/images/14122025/23/32/image_14122025_23_32_44_9752.jpg
/home/pi/Desktop/images/14122025/23/32/image_14122025_23_33_04_9830.jpg
/home/pi/Desktop/images/14122025/23/33/image_14122025_23_33_14_9735.jpg
/home/pi/Desktop/images/14122025/23/33/image_14122025_23_33_24_9643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399419476","1399419374","1399419550","1399419367","1399419409","1399419330"],"photo_ids_order":["1399419330","1399419367","1399419374","1399419409","1399419476","1399419550"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/54d307f5d82c2ba80d6c16b5b278a0be.jpg","text":"TemporaryFile(/tmp/multipartBody4415673485784596543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753634303,"filename":"image_14122025_23_33_14_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/758ede17d8df6b5a0387cdc376798036.jpg","text":"TemporaryFile(/tmp/multipartBody5966214286797895779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753634303,"filename":"image_14122025_23_32_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/15/8d3b3b798c6dff7f6ccde3c9d45698f0.jpg","text":"TemporaryFile(/tmp/multipartBody1839270671949991950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753634303,"filename":"image_14122025_23_33_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/15/71328b503ea8129d32a2e15b9e037d57.jpg","text":"TemporaryFile(/tmp/multipartBody5980063248182921264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753634303,"filename":"image_14122025_23_32_34_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/15/3bc84c65c668fa9bceaa0d067b6e0db3.jpg","text":"TemporaryFile(/tmp/multipartBody407120670609420118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753634303,"filename":"image_14122025_23_33_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/15/ff1391f4d960be9bed50dfe982e4ba3b.jpg","text":"TemporaryFile(/tmp/multipartBody6521353107330862270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753634303,"filename":"image_14122025_23_32_24_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419374","file1":"1399419367","file0":"1399419330","file4":"1399419476","file5":"1399419550","file3":"1399419409"},"map_files_photo_id_array":[{"photo_id":"1399419550","filename":"file5"},{"photo_id":"1399419374","filename":"file2"},{"photo_id":"1399419476","filename":"file4"},{"photo_id":"1399419367","filename":"file1"},{"photo_id":"1399419330","filename":"file0"},{"photo_id":"1399419409","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399419476":["hashtag1","hashtag2"]},{"1399419374":["hashtag1","hashtag2"]},{"1399419550":["hashtag1","hashtag2"]},{"1399419367":["hashtag1","hashtag2"]},{"1399419409":["hashtag1","hashtag2"]},{"1399419330":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399419476, 1399419374, 1399419550, 1399419367, 1399419409, 1399419330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13684368133545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 00:07:02.716201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/04/image_15122025_00_04_54_9760.jpg', '/home/pi/Desktop/images/15122025/00/04/image_15122025_00_05_04_9861.jpg', '/home/pi/Desktop/images/15122025/00/05/image_15122025_00_05_14_9735.jpg', '/home/pi/Desktop/images/15122025/00/05/image_15122025_00_05_24_9776.jpg', '/home/pi/Desktop/images/15122025/00/05/image_15122025_00_05_34_10618.jpg', '/home/pi/Desktop/images/15122025/00/05/image_15122025_00_05_44_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/04/image_15122025_00_04_54_9760.jpg
/home/pi/Desktop/images/15122025/00/04/image_15122025_00_05_04_9861.jpg
/home/pi/Desktop/images/15122025/00/05/image_15122025_00_05_14_9735.jpg
/home/pi/Desktop/images/15122025/00/05/image_15122025_00_05_24_9776.jpg
/home/pi/Desktop/images/15122025/00/05/image_15122025_00_05_34_10618.jpg
/home/pi/Desktop/images/15122025/00/05/image_15122025_00_05_44_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":["1399419618","1399419656","1399419659","1399419658","1399419657","1399419660"],"photo_ids_order":["1399419618","1399419656","1399419657","1399419658","1399419659","1399419660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/39a556bd6afefce630933b0eb28f5e4a.jpg","text":"TemporaryFile(/tmp/multipartBody4405253097461690467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753683377,"filename":"image_15122025_00_04_54_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8ca1169ebc80f0ca99885f4cac374c95.jpg","text":"TemporaryFile(/tmp/multipartBody7649868137145822124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753683377,"filename":"image_15122025_00_05_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/15/240e96671f7033f8df3dc2405aebc603.jpg","text":"TemporaryFile(/tmp/multipartBody3355645355799042144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753683377,"filename":"image_15122025_00_05_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/15/9d232636d3697ee72cf86c264b3c93aa.jpg","text":"TemporaryFile(/tmp/multipartBody5147791778068250887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753683377,"filename":"image_15122025_00_05_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/15/2bee94cc798fd12aaf3e00b1c8d350cb.jpg","text":"TemporaryFile(/tmp/multipartBody7243874254365153256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753683377,"filename":"image_15122025_00_05_14_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b6b57f55406266046a3e7966b59e54e3.jpg","text":"TemporaryFile(/tmp/multipartBody79015236108546444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753683377,"filename":"image_15122025_00_05_44_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419657","file1":"1399419656","file0":"1399419618","file4":"1399419659","file5":"1399419660","file3":"1399419658"},"map_files_photo_id_array":[{"photo_id":"1399419660","filename":"file5"},{"photo_id":"1399419657","filename":"file2"},{"photo_id":"1399419659","filename":"file4"},{"photo_id":"1399419656","filename":"file1"},{"photo_id":"1399419618","filename":"file0"},{"photo_id":"1399419658","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399419618":["hashtag1","hashtag2"]},{"1399419656":["hashtag1","hashtag2"]},{"1399419659":["hashtag1","hashtag2"]},{"1399419658":["hashtag1","hashtag2"]},{"1399419657":["hashtag1","hashtag2"]},{"1399419660":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399419618, 1399419656, 1399419659, 1399419658, 1399419657, 1399419660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.368481159210205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 00:07:41.934465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/13/image_05112025_12_13_57_1661.jpg', '/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_06_9320.jpg', '/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_07_1641.jpg', '/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_09_1695.jpg', '/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_11_1514.jpg', '/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_12_1647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/13/image_05112025_12_13_57_1661.jpg
/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_06_9320.jpg
/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_07_1641.jpg
/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_09_1695.jpg
/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_11_1514.jpg
/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_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":["1399419662","1399419665","1399419661","1399419664","1399419663","1399419666"],"photo_ids_order":["1399419661","1399419662","1399419663","1399419664","1399419665","1399419666"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1c9c0d2ba1289e01c9fd29dde608791c.jpg","text":"TemporaryFile(/tmp/multipartBody1482259032430474783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753722638,"filename":"image_05112025_12_14_06_9320.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7cce1ae9be922361b7c889237c5c33b8.jpg","text":"TemporaryFile(/tmp/multipartBody6656407291619681455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753722638,"filename":"image_05112025_12_14_11_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/15/3b40f7286e465ae8bc485ce7f0ea5d7e.jpg","text":"TemporaryFile(/tmp/multipartBody1498692029746023498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753722638,"filename":"image_05112025_12_13_57_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/15/89afc4bbd211cfe00cb4fd751a87805c.jpg","text":"TemporaryFile(/tmp/multipartBody2863568423933497506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753722638,"filename":"image_05112025_12_14_09_1695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a1d9281aa01d1e28feb8953432dbbcb5.jpg","text":"TemporaryFile(/tmp/multipartBody5585370086030296758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753722638,"filename":"image_05112025_12_14_07_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/15/6a0fd1fe40a754344843d4560e4c046c.jpg","text":"TemporaryFile(/tmp/multipartBody2863980299818920862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753722638,"filename":"image_05112025_12_14_12_1647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419663","file1":"1399419662","file0":"1399419661","file4":"1399419665","file5":"1399419666","file3":"1399419664"},"map_files_photo_id_array":[{"photo_id":"1399419666","filename":"file5"},{"photo_id":"1399419663","filename":"file2"},{"photo_id":"1399419665","filename":"file4"},{"photo_id":"1399419662","filename":"file1"},{"photo_id":"1399419661","filename":"file0"},{"photo_id":"1399419664","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399419662":["hashtag1","hashtag2"]},{"1399419665":["hashtag1","hashtag2"]},{"1399419661":["hashtag1","hashtag2"]},{"1399419664":["hashtag1","hashtag2"]},{"1399419663":["hashtag1","hashtag2"]},{"1399419666":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399419662, 1399419665, 1399419661, 1399419664, 1399419663, 1399419666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98162007331848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 00:08:22.265841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/05/image_15122025_00_05_54_9691.jpg', '/home/pi/Desktop/images/15122025/00/05/image_15122025_00_06_04_10679.jpg', '/home/pi/Desktop/images/15122025/00/06/image_15122025_00_06_14_9645.jpg', '/home/pi/Desktop/images/15122025/00/06/image_15122025_00_06_24_9704.jpg', '/home/pi/Desktop/images/15122025/00/06/image_15122025_00_06_35_10741.jpg', '/home/pi/Desktop/images/15122025/00/06/image_15122025_00_06_54_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/05/image_15122025_00_05_54_9691.jpg
/home/pi/Desktop/images/15122025/00/05/image_15122025_00_06_04_10679.jpg
/home/pi/Desktop/images/15122025/00/06/image_15122025_00_06_14_9645.jpg
/home/pi/Desktop/images/15122025/00/06/image_15122025_00_06_24_9704.jpg
/home/pi/Desktop/images/15122025/00/06/image_15122025_00_06_35_10741.jpg
/home/pi/Desktop/images/15122025/00/06/image_15122025_00_06_54_9770.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6417989730834961 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 00:08:32.226262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_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/33/image_14122025_23_33_35_10781.jpg', '/home/pi/Desktop/images/14122025/23/33/image_14122025_23_33_44_9724.jpg', '/home/pi/Desktop/images/14122025/23/33/image_14122025_23_34_05_10630.jpg', '/home/pi/Desktop/images/14122025/23/34/image_14122025_23_34_54_9584.jpg', '/home/pi/Desktop/images/14122025/23/34/image_14122025_23_35_04_9641.jpg', '/home/pi/Desktop/images/14122025/23/35/image_14122025_23_35_15_10918.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/33/image_14122025_23_33_35_10781.jpg
/home/pi/Desktop/images/14122025/23/33/image_14122025_23_33_44_9724.jpg
/home/pi/Desktop/images/14122025/23/33/image_14122025_23_34_05_10630.jpg
/home/pi/Desktop/images/14122025/23/34/image_14122025_23_34_54_9584.jpg
/home/pi/Desktop/images/14122025/23/34/image_14122025_23_35_04_9641.jpg
/home/pi/Desktop/images/14122025/23/35/image_14122025_23_35_15_10918.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399419674","1399419677","1399419670","1399419676","1399419675","1399419672"],"photo_ids_order":["1399419670","1399419672","1399419674","1399419675","1399419676","1399419677"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/529bb61d5cad2bc239b5d2c96746b25b.jpg","text":"TemporaryFile(/tmp/multipartBody4199682311704937241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753773891,"filename":"image_14122025_23_34_05_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/193588907d1699037c04abc51e67e9c6.jpg","text":"TemporaryFile(/tmp/multipartBody6171486483141953530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753773891,"filename":"image_14122025_23_35_15_10918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1593f78629b4d62d4f592be14ead46c7.jpg","text":"TemporaryFile(/tmp/multipartBody3019433306023651737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753773891,"filename":"image_14122025_23_33_35_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/15/6a7a68b310019d6ffd71569068c2aeb1.jpg","text":"TemporaryFile(/tmp/multipartBody4657036875562430646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753773891,"filename":"image_14122025_23_35_04_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/15/c981517021f82af1b83b5e2f713c7bfc.jpg","text":"TemporaryFile(/tmp/multipartBody1542415513196322135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753773891,"filename":"image_14122025_23_34_54_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/78c3bc67c1ab45d09b4865d2e70b846f.jpg","text":"TemporaryFile(/tmp/multipartBody3603550549756067532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753773891,"filename":"image_14122025_23_33_44_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419674","file1":"1399419672","file0":"1399419670","file4":"1399419676","file5":"1399419677","file3":"1399419675"},"map_files_photo_id_array":[{"photo_id":"1399419677","filename":"file5"},{"photo_id":"1399419674","filename":"file2"},{"photo_id":"1399419676","filename":"file4"},{"photo_id":"1399419672","filename":"file1"},{"photo_id":"1399419670","filename":"file0"},{"photo_id":"1399419675","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399419674":["hashtag1","hashtag2"]},{"1399419677":["hashtag1","hashtag2"]},{"1399419670":["hashtag1","hashtag2"]},{"1399419676":["hashtag1","hashtag2"]},{"1399419675":["hashtag1","hashtag2"]},{"1399419672":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399419674, 1399419677, 1399419670, 1399419676, 1399419675, 1399419672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.90635585784912 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 00:09:12.465305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_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/35/image_14122025_23_35_24_9710.jpg', '/home/pi/Desktop/images/14122025/23/35/image_14122025_23_35_34_9657.jpg', '/home/pi/Desktop/images/14122025/23/35/image_14122025_23_35_45_10611.jpg', '/home/pi/Desktop/images/14122025/23/35/image_14122025_23_35_54_9637.jpg', '/home/pi/Desktop/images/14122025/23/36/image_14122025_23_36_14_10610.jpg', '/home/pi/Desktop/images/14122025/23/36/image_14122025_23_36_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/23/35/image_14122025_23_35_24_9710.jpg
/home/pi/Desktop/images/14122025/23/35/image_14122025_23_35_34_9657.jpg
/home/pi/Desktop/images/14122025/23/35/image_14122025_23_35_45_10611.jpg
/home/pi/Desktop/images/14122025/23/35/image_14122025_23_35_54_9637.jpg
/home/pi/Desktop/images/14122025/23/36/image_14122025_23_36_14_10610.jpg
/home/pi/Desktop/images/14122025/23/36/image_14122025_23_36_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":["1399419680","1399419683","1399419679","1399419682","1399419681","1399419678"],"photo_ids_order":["1399419678","1399419679","1399419680","1399419681","1399419682","1399419683"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ea56f0136fed03cdd5ecb21cf50312c3.jpg","text":"TemporaryFile(/tmp/multipartBody7189935528891713336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753813999,"filename":"image_14122025_23_35_45_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/425ef3675030652a8a0066a1220018ae.jpg","text":"TemporaryFile(/tmp/multipartBody4303822900530751861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753813999,"filename":"image_14122025_23_36_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/15/55d3d3fe605c3b50af999587e86e4660.jpg","text":"TemporaryFile(/tmp/multipartBody3383623725927998769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753813999,"filename":"image_14122025_23_35_34_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/84f736abf0aae8dc45887cf9dc0ac5e3.jpg","text":"TemporaryFile(/tmp/multipartBody4379827552329283926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753813999,"filename":"image_14122025_23_36_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/15/dc6a0b083bfaaba17ca04d561e91a603.jpg","text":"TemporaryFile(/tmp/multipartBody6027267667738436073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753813999,"filename":"image_14122025_23_35_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/15/59da47305a427a5ecd415e48c96123c8.jpg","text":"TemporaryFile(/tmp/multipartBody2126780614678755687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753813999,"filename":"image_14122025_23_35_24_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419680","file1":"1399419679","file0":"1399419678","file4":"1399419682","file5":"1399419683","file3":"1399419681"},"map_files_photo_id_array":[{"photo_id":"1399419683","filename":"file5"},{"photo_id":"1399419680","filename":"file2"},{"photo_id":"1399419682","filename":"file4"},{"photo_id":"1399419679","filename":"file1"},{"photo_id":"1399419678","filename":"file0"},{"photo_id":"1399419681","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399419680":["hashtag1","hashtag2"]},{"1399419683":["hashtag1","hashtag2"]},{"1399419679":["hashtag1","hashtag2"]},{"1399419682":["hashtag1","hashtag2"]},{"1399419681":["hashtag1","hashtag2"]},{"1399419678":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399419680, 1399419683, 1399419679, 1399419682, 1399419681, 1399419678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38793396949768 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 00:10:03.203466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/05/image_15122025_00_05_54_9691.jpg', '/home/pi/Desktop/images/15122025/00/05/image_15122025_00_06_04_10679.jpg', '/home/pi/Desktop/images/15122025/00/06/image_15122025_00_06_14_9645.jpg', '/home/pi/Desktop/images/15122025/00/06/image_15122025_00_06_24_9704.jpg', '/home/pi/Desktop/images/15122025/00/06/image_15122025_00_06_35_10741.jpg', '/home/pi/Desktop/images/15122025/00/06/image_15122025_00_06_54_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/05/image_15122025_00_05_54_9691.jpg
/home/pi/Desktop/images/15122025/00/05/image_15122025_00_06_04_10679.jpg
/home/pi/Desktop/images/15122025/00/06/image_15122025_00_06_14_9645.jpg
/home/pi/Desktop/images/15122025/00/06/image_15122025_00_06_24_9704.jpg
/home/pi/Desktop/images/15122025/00/06/image_15122025_00_06_35_10741.jpg
/home/pi/Desktop/images/15122025/00/06/image_15122025_00_06_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":["1399419686","1399419689","1399419685","1399419688","1399419684","1399419687"],"photo_ids_order":["1399419684","1399419685","1399419686","1399419687","1399419688","1399419689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/654786530d439886bdc9d013e9b6a014.jpg","text":"TemporaryFile(/tmp/multipartBody7321859824424637803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753863873,"filename":"image_15122025_00_06_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/15/eb95f69d5c90ffe258386cab53faab00.jpg","text":"TemporaryFile(/tmp/multipartBody7106730462234772243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753863873,"filename":"image_15122025_00_06_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/15/2dba6a821133f51c6c95d91e4710bfd1.jpg","text":"TemporaryFile(/tmp/multipartBody320669430691782609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753863873,"filename":"image_15122025_00_06_04_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/15/7ac94fa5bf4d52534c07e25b857611fb.jpg","text":"TemporaryFile(/tmp/multipartBody1750464640040808813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753863873,"filename":"image_15122025_00_06_35_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d8131f05a4069f2b142999f188af0200.jpg","text":"TemporaryFile(/tmp/multipartBody1814731101183412490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753863873,"filename":"image_15122025_00_05_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/15/4ef34aa95f77366a382d2a9f9a232aa1.jpg","text":"TemporaryFile(/tmp/multipartBody8528798865997530083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753863873,"filename":"image_15122025_00_06_24_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419686","file1":"1399419685","file0":"1399419684","file4":"1399419688","file5":"1399419689","file3":"1399419687"},"map_files_photo_id_array":[{"photo_id":"1399419689","filename":"file5"},{"photo_id":"1399419686","filename":"file2"},{"photo_id":"1399419688","filename":"file4"},{"photo_id":"1399419685","filename":"file1"},{"photo_id":"1399419684","filename":"file0"},{"photo_id":"1399419687","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399419686":["hashtag1","hashtag2"]},{"1399419689":["hashtag1","hashtag2"]},{"1399419685":["hashtag1","hashtag2"]},{"1399419688":["hashtag1","hashtag2"]},{"1399419684":["hashtag1","hashtag2"]},{"1399419687":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399419686, 1399419689, 1399419685, 1399419688, 1399419684, 1399419687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.879308223724365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 00:10:42.647802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_14_1603.jpg', '/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_17_2734.jpg', '/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_18_1665.jpg', '/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_20_1760.jpg', '/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_22_1598.jpg', '/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_23_1696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_14_1603.jpg
/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_17_2734.jpg
/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_18_1665.jpg
/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_20_1760.jpg
/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_22_1598.jpg
/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_23_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":["1399419692","1399419695","1399419691","1399419694","1399419693","1399419690"],"photo_ids_order":["1399419690","1399419691","1399419692","1399419693","1399419694","1399419695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/44d6de25dd8a49a7f4ace6cb7aa7b842.jpg","text":"TemporaryFile(/tmp/multipartBody676645234213814233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753903345,"filename":"image_05112025_12_14_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/15/4200af756f52bbb093d74a0b4d5b7cdd.jpg","text":"TemporaryFile(/tmp/multipartBody5910144125006676352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753903345,"filename":"image_05112025_12_14_23_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/15/3945e1a9a01600433e1968d4e65c7e0e.jpg","text":"TemporaryFile(/tmp/multipartBody378868616010756874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753903345,"filename":"image_05112025_12_14_17_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/15/a5574fbb1722b289e97489001a97e8c7.jpg","text":"TemporaryFile(/tmp/multipartBody8658664290692782617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753903345,"filename":"image_05112025_12_14_22_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/15/0f8e031253a6634eafe62808f28f57e8.jpg","text":"TemporaryFile(/tmp/multipartBody4232064575294658268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753903345,"filename":"image_05112025_12_14_20_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/15/827b709a4aa6c89f6462c5991a59c910.jpg","text":"TemporaryFile(/tmp/multipartBody1344047875095373052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753903345,"filename":"image_05112025_12_14_14_1603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419692","file1":"1399419691","file0":"1399419690","file4":"1399419694","file5":"1399419695","file3":"1399419693"},"map_files_photo_id_array":[{"photo_id":"1399419695","filename":"file5"},{"photo_id":"1399419692","filename":"file2"},{"photo_id":"1399419694","filename":"file4"},{"photo_id":"1399419691","filename":"file1"},{"photo_id":"1399419690","filename":"file0"},{"photo_id":"1399419693","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399419692":["hashtag1","hashtag2"]},{"1399419695":["hashtag1","hashtag2"]},{"1399419691":["hashtag1","hashtag2"]},{"1399419694":["hashtag1","hashtag2"]},{"1399419693":["hashtag1","hashtag2"]},{"1399419690":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399419692, 1399419695, 1399419691, 1399419694, 1399419693, 1399419690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89955425262451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 00:11:21.960276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/06/image_15122025_00_07_05_10663.jpg', '/home/pi/Desktop/images/15122025/00/07/image_15122025_00_07_15_9806.jpg', '/home/pi/Desktop/images/15122025/00/07/image_15122025_00_07_24_9785.jpg', '/home/pi/Desktop/images/15122025/00/07/image_15122025_00_07_34_9619.jpg', '/home/pi/Desktop/images/15122025/00/07/image_15122025_00_08_04_9684.jpg', '/home/pi/Desktop/images/15122025/00/08/image_15122025_00_08_14_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/06/image_15122025_00_07_05_10663.jpg
/home/pi/Desktop/images/15122025/00/07/image_15122025_00_07_15_9806.jpg
/home/pi/Desktop/images/15122025/00/07/image_15122025_00_07_24_9785.jpg
/home/pi/Desktop/images/15122025/00/07/image_15122025_00_07_34_9619.jpg
/home/pi/Desktop/images/15122025/00/07/image_15122025_00_08_04_9684.jpg
/home/pi/Desktop/images/15122025/00/08/image_15122025_00_08_14_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399419698","1399419697","1399419703","1399419696","1399419700","1399419699"],"photo_ids_order":["1399419696","1399419697","1399419698","1399419699","1399419700","1399419703"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ea027da1d73778e8316de54fe269caf0.jpg","text":"TemporaryFile(/tmp/multipartBody7854127272452151250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753942606,"filename":"image_15122025_00_07_24_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2d817cc770c248f22089872890f6b21c.jpg","text":"TemporaryFile(/tmp/multipartBody1055459972939160679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753942606,"filename":"image_15122025_00_07_15_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cb7f55783edfce78d32bfb44b15a6132.jpg","text":"TemporaryFile(/tmp/multipartBody5411844851140078402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753942606,"filename":"image_15122025_00_08_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/15/743ea3acb1894e4cc9bfa3dabbc23c5c.jpg","text":"TemporaryFile(/tmp/multipartBody2849576494872656588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753942606,"filename":"image_15122025_00_07_05_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/20d6a87b69ee78855c79c049e0c2fece.jpg","text":"TemporaryFile(/tmp/multipartBody3809694107730117351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753942606,"filename":"image_15122025_00_08_04_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/25fc7355034ecb4920152fcd77e288a3.jpg","text":"TemporaryFile(/tmp/multipartBody5919855924303932591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753942606,"filename":"image_15122025_00_07_34_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419698","file1":"1399419697","file0":"1399419696","file4":"1399419700","file5":"1399419703","file3":"1399419699"},"map_files_photo_id_array":[{"photo_id":"1399419703","filename":"file5"},{"photo_id":"1399419698","filename":"file2"},{"photo_id":"1399419700","filename":"file4"},{"photo_id":"1399419697","filename":"file1"},{"photo_id":"1399419696","filename":"file0"},{"photo_id":"1399419699","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399419698":["hashtag1","hashtag2"]},{"1399419697":["hashtag1","hashtag2"]},{"1399419703":["hashtag1","hashtag2"]},{"1399419696":["hashtag1","hashtag2"]},{"1399419700":["hashtag1","hashtag2"]},{"1399419699":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399419698, 1399419697, 1399419703, 1399419696, 1399419700, 1399419699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02988386154175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 00:12:02.527782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/08/image_15122025_00_08_24_9657.jpg', '/home/pi/Desktop/images/15122025/00/08/image_15122025_00_08_34_9959.jpg', '/home/pi/Desktop/images/15122025/00/08/image_15122025_00_08_44_9722.jpg', '/home/pi/Desktop/images/15122025/00/08/image_15122025_00_08_55_10859.jpg', '/home/pi/Desktop/images/15122025/00/08/image_15122025_00_09_04_9689.jpg', '/home/pi/Desktop/images/15122025/00/09/image_15122025_00_09_14_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/08/image_15122025_00_08_24_9657.jpg
/home/pi/Desktop/images/15122025/00/08/image_15122025_00_08_34_9959.jpg
/home/pi/Desktop/images/15122025/00/08/image_15122025_00_08_44_9722.jpg
/home/pi/Desktop/images/15122025/00/08/image_15122025_00_08_55_10859.jpg
/home/pi/Desktop/images/15122025/00/08/image_15122025_00_09_04_9689.jpg
/home/pi/Desktop/images/15122025/00/09/image_15122025_00_09_14_9694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399419705","1399419704","1399419707","1399419706","1399419709","1399419708"],"photo_ids_order":["1399419704","1399419705","1399419706","1399419707","1399419708","1399419709"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/127408c2df14589c785cadece0118bcd.jpg","text":"TemporaryFile(/tmp/multipartBody2975530827933571093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753983175,"filename":"image_15122025_00_08_34_9959.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/99fdda6ee29d191dadbe2d8d532622cc.jpg","text":"TemporaryFile(/tmp/multipartBody8659671300910810950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753983175,"filename":"image_15122025_00_08_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/15/1526c9d540959cd33ddafe452a3e7e6a.jpg","text":"TemporaryFile(/tmp/multipartBody6793684933772655863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753983175,"filename":"image_15122025_00_08_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/15/fc5b88539f3f141ec420d080bc5bcaca.jpg","text":"TemporaryFile(/tmp/multipartBody7326436331312478500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753983175,"filename":"image_15122025_00_08_44_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/37edb7d28ceb16bf5f5714cdb864ae70.jpg","text":"TemporaryFile(/tmp/multipartBody8771765308572525943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753983175,"filename":"image_15122025_00_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/15/f282c2b9e4762e0fd90f669a8d3be11b.jpg","text":"TemporaryFile(/tmp/multipartBody366481814897344858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765753983175,"filename":"image_15122025_00_09_04_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419706","file1":"1399419705","file0":"1399419704","file4":"1399419708","file5":"1399419709","file3":"1399419707"},"map_files_photo_id_array":[{"photo_id":"1399419709","filename":"file5"},{"photo_id":"1399419706","filename":"file2"},{"photo_id":"1399419708","filename":"file4"},{"photo_id":"1399419705","filename":"file1"},{"photo_id":"1399419704","filename":"file0"},{"photo_id":"1399419707","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399419705":["hashtag1","hashtag2"]},{"1399419704":["hashtag1","hashtag2"]},{"1399419707":["hashtag1","hashtag2"]},{"1399419706":["hashtag1","hashtag2"]},{"1399419709":["hashtag1","hashtag2"]},{"1399419708":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399419705, 1399419704, 1399419707, 1399419706, 1399419709, 1399419708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48439335823059 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 00:12:42.079411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_25_1687.jpg', '/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_27_1580.jpg', '/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_28_1640.jpg', '/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_30_1559.jpg', '/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_31_1599.jpg', '/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_33_1675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_25_1687.jpg
/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_27_1580.jpg
/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_28_1640.jpg
/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_30_1559.jpg
/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_31_1599.jpg
/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_33_1675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399419711","1399419710","1399419713","1399419715","1399419712","1399419714"],"photo_ids_order":["1399419710","1399419711","1399419712","1399419713","1399419714","1399419715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1c92fc746d04fe1c7d959f77b0b89c7d.jpg","text":"TemporaryFile(/tmp/multipartBody3308036838698526115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754022778,"filename":"image_05112025_12_14_27_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/15/16627ed14f4668e0c397f4f03ec85f32.jpg","text":"TemporaryFile(/tmp/multipartBody3179295131996585485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754022778,"filename":"image_05112025_12_14_25_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/15/4e89eb46e6e1a8f17c87dbf802efe671.jpg","text":"TemporaryFile(/tmp/multipartBody7680095757261269412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754022778,"filename":"image_05112025_12_14_30_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/15/ae51f02e9a40e39de35be1497ef19bc9.jpg","text":"TemporaryFile(/tmp/multipartBody6706960014284841833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754022778,"filename":"image_05112025_12_14_33_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fded5066e9ba560bd0b62bacbd3d5850.jpg","text":"TemporaryFile(/tmp/multipartBody7478429680959641283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754022778,"filename":"image_05112025_12_14_28_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/15/f977e78cd3a6c742b6f52af5e21a1038.jpg","text":"TemporaryFile(/tmp/multipartBody2924735384216094748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754022778,"filename":"image_05112025_12_14_31_1599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419712","file1":"1399419711","file0":"1399419710","file4":"1399419714","file5":"1399419715","file3":"1399419713"},"map_files_photo_id_array":[{"photo_id":"1399419715","filename":"file5"},{"photo_id":"1399419712","filename":"file2"},{"photo_id":"1399419714","filename":"file4"},{"photo_id":"1399419711","filename":"file1"},{"photo_id":"1399419710","filename":"file0"},{"photo_id":"1399419713","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399419711":["hashtag1","hashtag2"]},{"1399419710":["hashtag1","hashtag2"]},{"1399419713":["hashtag1","hashtag2"]},{"1399419715":["hashtag1","hashtag2"]},{"1399419712":["hashtag1","hashtag2"]},{"1399419714":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399419711, 1399419710, 1399419713, 1399419715, 1399419712, 1399419714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.305885314941406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 00:13:22.480669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/09/image_15122025_00_09_24_9730.jpg', '/home/pi/Desktop/images/15122025/00/09/image_15122025_00_09_44_9614.jpg', '/home/pi/Desktop/images/15122025/00/09/image_15122025_00_09_55_10679.jpg', '/home/pi/Desktop/images/15122025/00/09/image_15122025_00_10_04_9704.jpg', '/home/pi/Desktop/images/15122025/00/10/image_15122025_00_10_14_9835.jpg', '/home/pi/Desktop/images/15122025/00/10/image_15122025_00_10_24_9787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/09/image_15122025_00_09_24_9730.jpg
/home/pi/Desktop/images/15122025/00/09/image_15122025_00_09_44_9614.jpg
/home/pi/Desktop/images/15122025/00/09/image_15122025_00_09_55_10679.jpg
/home/pi/Desktop/images/15122025/00/09/image_15122025_00_10_04_9704.jpg
/home/pi/Desktop/images/15122025/00/10/image_15122025_00_10_14_9835.jpg
/home/pi/Desktop/images/15122025/00/10/image_15122025_00_10_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":["1399419717","1399419719","1399419716","1399419721","1399419718","1399419720"],"photo_ids_order":["1399419716","1399419717","1399419718","1399419719","1399419720","1399419721"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2dd4175bdc139ae06a9d4802c5e87916.jpg","text":"TemporaryFile(/tmp/multipartBody4198138776944128059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754063098,"filename":"image_15122025_00_09_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/15/fa89e2d9c141090ca34d225a2538a01c.jpg","text":"TemporaryFile(/tmp/multipartBody2105136760278793084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754063098,"filename":"image_15122025_00_10_04_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8688779237008bf3ede7104467c66e7a.jpg","text":"TemporaryFile(/tmp/multipartBody4202159808077994840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754063098,"filename":"image_15122025_00_09_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/15/20741160d4773c34849e73aba6dd86ec.jpg","text":"TemporaryFile(/tmp/multipartBody84832323882946074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754063098,"filename":"image_15122025_00_10_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/15/3a5bda46516251d66381476422af4134.jpg","text":"TemporaryFile(/tmp/multipartBody1832426123942763465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754063098,"filename":"image_15122025_00_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/15/a83db841d1f2702994b4e5030c8d6052.jpg","text":"TemporaryFile(/tmp/multipartBody1721471321908756298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754063098,"filename":"image_15122025_00_10_14_9835.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419718","file1":"1399419717","file0":"1399419716","file4":"1399419720","file5":"1399419721","file3":"1399419719"},"map_files_photo_id_array":[{"photo_id":"1399419721","filename":"file5"},{"photo_id":"1399419718","filename":"file2"},{"photo_id":"1399419720","filename":"file4"},{"photo_id":"1399419717","filename":"file1"},{"photo_id":"1399419716","filename":"file0"},{"photo_id":"1399419719","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399419717":["hashtag1","hashtag2"]},{"1399419719":["hashtag1","hashtag2"]},{"1399419716":["hashtag1","hashtag2"]},{"1399419721":["hashtag1","hashtag2"]},{"1399419718":["hashtag1","hashtag2"]},{"1399419720":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399419717, 1399419719, 1399419716, 1399419721, 1399419718, 1399419720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31442189216614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 00:14:03.273516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/10/image_15122025_00_10_34_9762.jpg', '/home/pi/Desktop/images/15122025/00/10/image_15122025_00_10_44_10660.jpg', '/home/pi/Desktop/images/15122025/00/10/image_15122025_00_10_54_9719.jpg', '/home/pi/Desktop/images/15122025/00/11/image_15122025_00_11_14_9649.jpg', '/home/pi/Desktop/images/15122025/00/11/image_15122025_00_11_24_10664.jpg', '/home/pi/Desktop/images/15122025/00/11/image_15122025_00_11_34_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/10/image_15122025_00_10_34_9762.jpg
/home/pi/Desktop/images/15122025/00/10/image_15122025_00_10_44_10660.jpg
/home/pi/Desktop/images/15122025/00/10/image_15122025_00_10_54_9719.jpg
/home/pi/Desktop/images/15122025/00/11/image_15122025_00_11_14_9649.jpg
/home/pi/Desktop/images/15122025/00/11/image_15122025_00_11_24_10664.jpg
/home/pi/Desktop/images/15122025/00/11/image_15122025_00_11_34_9623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399419723","1399419722","1399419725","1399419727","1399419726","1399419729"],"photo_ids_order":["1399419722","1399419723","1399419725","1399419726","1399419727","1399419729"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/34c4a27d64033b024809d0d467afd441.jpg","text":"TemporaryFile(/tmp/multipartBody5303311370531451549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754103913,"filename":"image_15122025_00_10_44_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/686b40afe90d4fd463d43e4e3ec4818b.jpg","text":"TemporaryFile(/tmp/multipartBody6189703794524412361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754103913,"filename":"image_15122025_00_10_34_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/669fa4d787da025a9dcae863d52fdda5.jpg","text":"TemporaryFile(/tmp/multipartBody8865040596656487344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754103913,"filename":"image_15122025_00_10_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/15/61e589106a438ae983b97a71954dc1e4.jpg","text":"TemporaryFile(/tmp/multipartBody7264924743025214039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754103913,"filename":"image_15122025_00_11_24_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f426efd81c6c63b0ab2d4133274d9b70.jpg","text":"TemporaryFile(/tmp/multipartBody4623504150504350124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754103913,"filename":"image_15122025_00_11_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/15/6a3ee1353450df02b93abaa4b3ecf6fb.jpg","text":"TemporaryFile(/tmp/multipartBody2880214411281561390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754103913,"filename":"image_15122025_00_11_34_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419725","file1":"1399419723","file0":"1399419722","file4":"1399419727","file5":"1399419729","file3":"1399419726"},"map_files_photo_id_array":[{"photo_id":"1399419729","filename":"file5"},{"photo_id":"1399419725","filename":"file2"},{"photo_id":"1399419727","filename":"file4"},{"photo_id":"1399419723","filename":"file1"},{"photo_id":"1399419722","filename":"file0"},{"photo_id":"1399419726","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399419723":["hashtag1","hashtag2"]},{"1399419722":["hashtag1","hashtag2"]},{"1399419725":["hashtag1","hashtag2"]},{"1399419727":["hashtag1","hashtag2"]},{"1399419726":["hashtag1","hashtag2"]},{"1399419729":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399419723, 1399419722, 1399419725, 1399419727, 1399419726, 1399419729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2309992313385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 00:14:42.556536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_35_1658.jpg', '/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_57_21974.jpg', '/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_59_1719.jpg', '/home/pi/Desktop/images/05112025/12/14/image_05112025_12_15_00_1674.jpg', '/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_05_4575.jpg', '/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_06_1671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_35_1658.jpg
/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_57_21974.jpg
/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_59_1719.jpg
/home/pi/Desktop/images/05112025/12/14/image_05112025_12_15_00_1674.jpg
/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_05_4575.jpg
/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_06_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.6002511978149414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 00:15:03.563196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/11/image_15122025_00_11_44_9708.jpg', '/home/pi/Desktop/images/15122025/00/11/image_15122025_00_11_55_10853.jpg', '/home/pi/Desktop/images/15122025/00/11/image_15122025_00_12_04_9650.jpg', '/home/pi/Desktop/images/15122025/00/12/image_15122025_00_12_14_9694.jpg', '/home/pi/Desktop/images/15122025/00/12/image_15122025_00_12_24_9907.jpg', '/home/pi/Desktop/images/15122025/00/12/image_15122025_00_12_35_10744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/11/image_15122025_00_11_44_9708.jpg
/home/pi/Desktop/images/15122025/00/11/image_15122025_00_11_55_10853.jpg
/home/pi/Desktop/images/15122025/00/11/image_15122025_00_12_04_9650.jpg
/home/pi/Desktop/images/15122025/00/12/image_15122025_00_12_14_9694.jpg
/home/pi/Desktop/images/15122025/00/12/image_15122025_00_12_24_9907.jpg
/home/pi/Desktop/images/15122025/00/12/image_15122025_00_12_35_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":["1399419740","1399419737","1399419736","1399419739","1399419738","1399419741"],"photo_ids_order":["1399419736","1399419737","1399419738","1399419739","1399419740","1399419741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0888a8b72007760cd812c14b6517684b.jpg","text":"TemporaryFile(/tmp/multipartBody7242025524689873978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754164265,"filename":"image_15122025_00_12_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/15/41e109064a27562f4b8586eb8e7aba17.jpg","text":"TemporaryFile(/tmp/multipartBody8575342343986746086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754164265,"filename":"image_15122025_00_11_55_10853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3ffbac98219de47cbe60757c2d883f22.jpg","text":"TemporaryFile(/tmp/multipartBody2420563609314399779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754164265,"filename":"image_15122025_00_11_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/15/3b50e21a083fa8c1be5a33f724fbbf00.jpg","text":"TemporaryFile(/tmp/multipartBody7713804825798961759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754164265,"filename":"image_15122025_00_12_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/15/2a49c4d719969a937de8cb25be3423b9.jpg","text":"TemporaryFile(/tmp/multipartBody8877227673281039759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754164265,"filename":"image_15122025_00_12_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/15/aceb29122d062e095ef16e789cff6e7d.jpg","text":"TemporaryFile(/tmp/multipartBody4686476481651502645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754164265,"filename":"image_15122025_00_12_35_10744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419738","file1":"1399419737","file0":"1399419736","file4":"1399419740","file5":"1399419741","file3":"1399419739"},"map_files_photo_id_array":[{"photo_id":"1399419741","filename":"file5"},{"photo_id":"1399419738","filename":"file2"},{"photo_id":"1399419740","filename":"file4"},{"photo_id":"1399419737","filename":"file1"},{"photo_id":"1399419736","filename":"file0"},{"photo_id":"1399419739","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399419740":["hashtag1","hashtag2"]},{"1399419737":["hashtag1","hashtag2"]},{"1399419736":["hashtag1","hashtag2"]},{"1399419739":["hashtag1","hashtag2"]},{"1399419738":["hashtag1","hashtag2"]},{"1399419741":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399419740, 1399419737, 1399419736, 1399419739, 1399419738, 1399419741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9674768447876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 00:15:42.825896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_35_1658.jpg', '/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_57_21974.jpg', '/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_59_1719.jpg', '/home/pi/Desktop/images/05112025/12/14/image_05112025_12_15_00_1674.jpg', '/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_05_4575.jpg', '/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_06_1671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_35_1658.jpg
/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_57_21974.jpg
/home/pi/Desktop/images/05112025/12/14/image_05112025_12_14_59_1719.jpg
/home/pi/Desktop/images/05112025/12/14/image_05112025_12_15_00_1674.jpg
/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_05_4575.jpg
/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_06_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":["1399419743","1399419746","1399419742","1399419745","1399419744","1399419747"],"photo_ids_order":["1399419742","1399419743","1399419744","1399419745","1399419746","1399419747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4a1766728655155fb1bb6b9876af934e.jpg","text":"TemporaryFile(/tmp/multipartBody7907627241984569740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754203442,"filename":"image_05112025_12_14_57_21974.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c4d5b26ebde03da8492def44c24644a3.jpg","text":"TemporaryFile(/tmp/multipartBody7658586490477785779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754203442,"filename":"image_05112025_12_15_05_4575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7b199007cb42dbf3fd205328807f25e2.jpg","text":"TemporaryFile(/tmp/multipartBody6008197332805159823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754203442,"filename":"image_05112025_12_14_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/15/6147b3b1d9bcbab864eec2952cbdfe0a.jpg","text":"TemporaryFile(/tmp/multipartBody8420035845593051249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754203442,"filename":"image_05112025_12_15_00_1674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/99fda7a93ec8030349af9a099dd608c8.jpg","text":"TemporaryFile(/tmp/multipartBody2923810947174178287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754203442,"filename":"image_05112025_12_14_59_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/15/9715464e4898823d91ad6e0d0b01a76b.jpg","text":"TemporaryFile(/tmp/multipartBody1990447236203032317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754203442,"filename":"image_05112025_12_15_06_1671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419744","file1":"1399419743","file0":"1399419742","file4":"1399419746","file5":"1399419747","file3":"1399419745"},"map_files_photo_id_array":[{"photo_id":"1399419747","filename":"file5"},{"photo_id":"1399419744","filename":"file2"},{"photo_id":"1399419746","filename":"file4"},{"photo_id":"1399419743","filename":"file1"},{"photo_id":"1399419742","filename":"file0"},{"photo_id":"1399419745","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399419743":["hashtag1","hashtag2"]},{"1399419746":["hashtag1","hashtag2"]},{"1399419742":["hashtag1","hashtag2"]},{"1399419745":["hashtag1","hashtag2"]},{"1399419744":["hashtag1","hashtag2"]},{"1399419747":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399419743, 1399419746, 1399419742, 1399419745, 1399419744, 1399419747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.05153822898865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 00:16:22.119469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/12/image_15122025_00_12_44_9818.jpg', '/home/pi/Desktop/images/15122025/00/12/image_15122025_00_12_54_9721.jpg', '/home/pi/Desktop/images/15122025/00/12/image_15122025_00_13_04_9670.jpg', '/home/pi/Desktop/images/15122025/00/13/image_15122025_00_13_45_10627.jpg', '/home/pi/Desktop/images/15122025/00/13/image_15122025_00_13_54_9678.jpg', '/home/pi/Desktop/images/15122025/00/13/image_15122025_00_14_04_9855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/12/image_15122025_00_12_44_9818.jpg
/home/pi/Desktop/images/15122025/00/12/image_15122025_00_12_54_9721.jpg
/home/pi/Desktop/images/15122025/00/12/image_15122025_00_13_04_9670.jpg
/home/pi/Desktop/images/15122025/00/13/image_15122025_00_13_45_10627.jpg
/home/pi/Desktop/images/15122025/00/13/image_15122025_00_13_54_9678.jpg
/home/pi/Desktop/images/15122025/00/13/image_15122025_00_14_04_9855.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5177302360534668 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 00:16:32.189844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_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/36/image_14122025_23_36_44_9811.jpg', '/home/pi/Desktop/images/14122025/23/36/image_14122025_23_36_55_10832.jpg', '/home/pi/Desktop/images/14122025/23/36/image_14122025_23_37_05_9817.jpg', '/home/pi/Desktop/images/14122025/23/37/image_14122025_23_37_14_9649.jpg', '/home/pi/Desktop/images/14122025/23/37/image_14122025_23_37_24_9767.jpg', '/home/pi/Desktop/images/14122025/23/37/image_14122025_23_37_35_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/23/36/image_14122025_23_36_44_9811.jpg
/home/pi/Desktop/images/14122025/23/36/image_14122025_23_36_55_10832.jpg
/home/pi/Desktop/images/14122025/23/36/image_14122025_23_37_05_9817.jpg
/home/pi/Desktop/images/14122025/23/37/image_14122025_23_37_14_9649.jpg
/home/pi/Desktop/images/14122025/23/37/image_14122025_23_37_24_9767.jpg
/home/pi/Desktop/images/14122025/23/37/image_14122025_23_37_35_10659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399419755","1399419758","1399419751","1399419757","1399419756","1399419753"],"photo_ids_order":["1399419751","1399419753","1399419755","1399419756","1399419757","1399419758"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/61d8f6d0cbca58a093dead96063c428a.jpg","text":"TemporaryFile(/tmp/multipartBody3397052690644725301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754253784,"filename":"image_14122025_23_37_05_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/15/a646ae20c69931280bb60a647d9701db.jpg","text":"TemporaryFile(/tmp/multipartBody6256771004243617874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754253784,"filename":"image_14122025_23_37_35_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e876d64a0ae18a4fba22d5849e67834e.jpg","text":"TemporaryFile(/tmp/multipartBody4537553557665238194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754253784,"filename":"image_14122025_23_36_44_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/15/6721140e5bc32550baa2ae2446459fa6.jpg","text":"TemporaryFile(/tmp/multipartBody7825846769421085672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754253784,"filename":"image_14122025_23_37_24_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bde8b51ed29ff17632377677339e30bc.jpg","text":"TemporaryFile(/tmp/multipartBody754510482672459760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754253784,"filename":"image_14122025_23_37_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/15/a0d11d62af0b66af2664e10ce041b257.jpg","text":"TemporaryFile(/tmp/multipartBody2170494012675641045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754253784,"filename":"image_14122025_23_36_55_10832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419755","file1":"1399419753","file0":"1399419751","file4":"1399419757","file5":"1399419758","file3":"1399419756"},"map_files_photo_id_array":[{"photo_id":"1399419758","filename":"file5"},{"photo_id":"1399419755","filename":"file2"},{"photo_id":"1399419757","filename":"file4"},{"photo_id":"1399419753","filename":"file1"},{"photo_id":"1399419751","filename":"file0"},{"photo_id":"1399419756","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399419755":["hashtag1","hashtag2"]},{"1399419758":["hashtag1","hashtag2"]},{"1399419751":["hashtag1","hashtag2"]},{"1399419757":["hashtag1","hashtag2"]},{"1399419756":["hashtag1","hashtag2"]},{"1399419753":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399419755, 1399419758, 1399419751, 1399419757, 1399419756, 1399419753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.670878887176514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 00:17:12.374863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_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/37/image_14122025_23_37_44_9582.jpg', '/home/pi/Desktop/images/14122025/23/37/image_14122025_23_37_54_9901.jpg', '/home/pi/Desktop/images/14122025/23/37/image_14122025_23_38_04_9709.jpg', '/home/pi/Desktop/images/14122025/23/38/image_14122025_23_38_14_10302.jpg', '/home/pi/Desktop/images/14122025/23/38/image_14122025_23_38_24_10286.jpg', '/home/pi/Desktop/images/14122025/23/38/image_14122025_23_38_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/23/37/image_14122025_23_37_44_9582.jpg
/home/pi/Desktop/images/14122025/23/37/image_14122025_23_37_54_9901.jpg
/home/pi/Desktop/images/14122025/23/37/image_14122025_23_38_04_9709.jpg
/home/pi/Desktop/images/14122025/23/38/image_14122025_23_38_14_10302.jpg
/home/pi/Desktop/images/14122025/23/38/image_14122025_23_38_24_10286.jpg
/home/pi/Desktop/images/14122025/23/38/image_14122025_23_38_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":["1399419761","1399419764","1399419760","1399419763","1399419762","1399419759"],"photo_ids_order":["1399419759","1399419760","1399419761","1399419762","1399419763","1399419764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/55d7bd2bfa3833798e77c0a516a9c05e.jpg","text":"TemporaryFile(/tmp/multipartBody9100919019085716101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754293934,"filename":"image_14122025_23_38_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/15/6e253794aa5e29e36f5bb11df4d4ac7b.jpg","text":"TemporaryFile(/tmp/multipartBody2393180066704088720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754293934,"filename":"image_14122025_23_38_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/15/213dfb6b96da1c814d45a6420dbc6ee3.jpg","text":"TemporaryFile(/tmp/multipartBody4202237428500583008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754293934,"filename":"image_14122025_23_37_54_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/15/6c89523773c6680cc6fea187752ca288.jpg","text":"TemporaryFile(/tmp/multipartBody1162604494253085271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754293934,"filename":"image_14122025_23_38_24_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/15/f740864c2a46de593a85e22143036ee7.jpg","text":"TemporaryFile(/tmp/multipartBody1220271204428108839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754293934,"filename":"image_14122025_23_38_14_10302.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f4d2434952bcacf18ecfc6d89e7f4665.jpg","text":"TemporaryFile(/tmp/multipartBody2447542932392095728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754293934,"filename":"image_14122025_23_37_44_9582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419761","file1":"1399419760","file0":"1399419759","file4":"1399419763","file5":"1399419764","file3":"1399419762"},"map_files_photo_id_array":[{"photo_id":"1399419764","filename":"file5"},{"photo_id":"1399419761","filename":"file2"},{"photo_id":"1399419763","filename":"file4"},{"photo_id":"1399419760","filename":"file1"},{"photo_id":"1399419759","filename":"file0"},{"photo_id":"1399419762","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399419761":["hashtag1","hashtag2"]},{"1399419764":["hashtag1","hashtag2"]},{"1399419760":["hashtag1","hashtag2"]},{"1399419763":["hashtag1","hashtag2"]},{"1399419762":["hashtag1","hashtag2"]},{"1399419759":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399419761, 1399419764, 1399419760, 1399419763, 1399419762, 1399419759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11835479736328 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 00:18:03.037784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/12/image_15122025_00_12_44_9818.jpg', '/home/pi/Desktop/images/15122025/00/12/image_15122025_00_12_54_9721.jpg', '/home/pi/Desktop/images/15122025/00/12/image_15122025_00_13_04_9670.jpg', '/home/pi/Desktop/images/15122025/00/13/image_15122025_00_13_45_10627.jpg', '/home/pi/Desktop/images/15122025/00/13/image_15122025_00_13_54_9678.jpg', '/home/pi/Desktop/images/15122025/00/13/image_15122025_00_14_04_9855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/12/image_15122025_00_12_44_9818.jpg
/home/pi/Desktop/images/15122025/00/12/image_15122025_00_12_54_9721.jpg
/home/pi/Desktop/images/15122025/00/12/image_15122025_00_13_04_9670.jpg
/home/pi/Desktop/images/15122025/00/13/image_15122025_00_13_45_10627.jpg
/home/pi/Desktop/images/15122025/00/13/image_15122025_00_13_54_9678.jpg
/home/pi/Desktop/images/15122025/00/13/image_15122025_00_14_04_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":["1399419767","1399419770","1399419766","1399419769","1399419771","1399419768"],"photo_ids_order":["1399419766","1399419767","1399419768","1399419769","1399419770","1399419771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/27c81b2bd5f06fe50d877183a56d86fe.jpg","text":"TemporaryFile(/tmp/multipartBody5218924780494472390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754343674,"filename":"image_15122025_00_12_54_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/70b5146f04337de20c2cf0ec2a1299d4.jpg","text":"TemporaryFile(/tmp/multipartBody3010169503971530085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754343674,"filename":"image_15122025_00_13_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/15/55d64ceafdbf8f2a6661a5817454cfb6.jpg","text":"TemporaryFile(/tmp/multipartBody8488446957831863815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754343674,"filename":"image_15122025_00_12_44_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/15/fc9e4a6aa8ff590a9d9d2c3a2f5f08ee.jpg","text":"TemporaryFile(/tmp/multipartBody2765105556732728802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754343674,"filename":"image_15122025_00_13_45_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c1d6de0ec24b6e283d18fdf6091869a4.jpg","text":"TemporaryFile(/tmp/multipartBody4296150842118648356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754343674,"filename":"image_15122025_00_14_04_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/be3f7acf4672be71f2df4cac0f07f412.jpg","text":"TemporaryFile(/tmp/multipartBody9119535202044212831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754343674,"filename":"image_15122025_00_13_04_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419768","file1":"1399419767","file0":"1399419766","file4":"1399419770","file5":"1399419771","file3":"1399419769"},"map_files_photo_id_array":[{"photo_id":"1399419771","filename":"file5"},{"photo_id":"1399419768","filename":"file2"},{"photo_id":"1399419770","filename":"file4"},{"photo_id":"1399419767","filename":"file1"},{"photo_id":"1399419766","filename":"file0"},{"photo_id":"1399419769","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399419767":["hashtag1","hashtag2"]},{"1399419770":["hashtag1","hashtag2"]},{"1399419766":["hashtag1","hashtag2"]},{"1399419769":["hashtag1","hashtag2"]},{"1399419771":["hashtag1","hashtag2"]},{"1399419768":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399419767, 1399419770, 1399419766, 1399419769, 1399419771, 1399419768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.760730504989624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 00:18:42.690399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_22_16046.jpg', '/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_24_1583.jpg', '/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_26_1664.jpg', '/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_27_1534.jpg', '/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_29_1847.jpg', '/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_31_1630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_22_16046.jpg
/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_24_1583.jpg
/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_26_1664.jpg
/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_27_1534.jpg
/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_29_1847.jpg
/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_31_1630.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6439769268035889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 00:19:03.051170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/14/image_15122025_00_14_14_9853.jpg', '/home/pi/Desktop/images/15122025/00/14/image_15122025_00_14_24_9833.jpg', '/home/pi/Desktop/images/15122025/00/14/image_15122025_00_14_34_10695.jpg', '/home/pi/Desktop/images/15122025/00/14/image_15122025_00_14_44_9760.jpg', '/home/pi/Desktop/images/15122025/00/14/image_15122025_00_14_54_9727.jpg', '/home/pi/Desktop/images/15122025/00/14/image_15122025_00_15_04_9797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/14/image_15122025_00_14_14_9853.jpg
/home/pi/Desktop/images/15122025/00/14/image_15122025_00_14_24_9833.jpg
/home/pi/Desktop/images/15122025/00/14/image_15122025_00_14_34_10695.jpg
/home/pi/Desktop/images/15122025/00/14/image_15122025_00_14_44_9760.jpg
/home/pi/Desktop/images/15122025/00/14/image_15122025_00_14_54_9727.jpg
/home/pi/Desktop/images/15122025/00/14/image_15122025_00_15_04_9797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399419782","1399419779","1399419778","1399419781","1399419780","1399419777"],"photo_ids_order":["1399419777","1399419778","1399419779","1399419780","1399419781","1399419782"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b99ba0fdf7142e29429f81da80100d8e.jpg","text":"TemporaryFile(/tmp/multipartBody2628455326904776039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754403795,"filename":"image_15122025_00_15_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/15/a77e4aaef292929092b98acc79477cdf.jpg","text":"TemporaryFile(/tmp/multipartBody4498427622213396724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754403795,"filename":"image_15122025_00_14_34_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/15/6ba2209e949b4308ff6c74f561f1d7fe.jpg","text":"TemporaryFile(/tmp/multipartBody4644412433097188861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754403795,"filename":"image_15122025_00_14_24_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/674edb96e540b8eb8c2fde74abd2f100.jpg","text":"TemporaryFile(/tmp/multipartBody37155758797628485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754403795,"filename":"image_15122025_00_14_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/15/da55dc732902add752520cc3a80aaf20.jpg","text":"TemporaryFile(/tmp/multipartBody3822746415761993870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754403795,"filename":"image_15122025_00_14_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/15/c633094e0fcc485fcd3383a8d93dc811.jpg","text":"TemporaryFile(/tmp/multipartBody3028717853027339598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754403795,"filename":"image_15122025_00_14_14_9853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419779","file1":"1399419778","file0":"1399419777","file4":"1399419781","file5":"1399419782","file3":"1399419780"},"map_files_photo_id_array":[{"photo_id":"1399419782","filename":"file5"},{"photo_id":"1399419779","filename":"file2"},{"photo_id":"1399419781","filename":"file4"},{"photo_id":"1399419778","filename":"file1"},{"photo_id":"1399419777","filename":"file0"},{"photo_id":"1399419780","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399419782":["hashtag1","hashtag2"]},{"1399419779":["hashtag1","hashtag2"]},{"1399419778":["hashtag1","hashtag2"]},{"1399419781":["hashtag1","hashtag2"]},{"1399419780":["hashtag1","hashtag2"]},{"1399419777":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399419782, 1399419779, 1399419778, 1399419781, 1399419780, 1399419777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86443853378296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 00:19:41.951251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_22_16046.jpg', '/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_24_1583.jpg', '/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_26_1664.jpg', '/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_27_1534.jpg', '/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_29_1847.jpg', '/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_31_1630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_22_16046.jpg
/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_24_1583.jpg
/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_26_1664.jpg
/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_27_1534.jpg
/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_29_1847.jpg
/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_31_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":["1399419785","1399419788","1399419784","1399419787","1399419783","1399419786"],"photo_ids_order":["1399419783","1399419784","1399419785","1399419786","1399419787","1399419788"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/90763b6ddd02a717cf3b10668f345bf8.jpg","text":"TemporaryFile(/tmp/multipartBody5892536028400365119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754442549,"filename":"image_05112025_12_15_26_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/15/a482cd0ccfe19526e7c1bfeddd71eb00.jpg","text":"TemporaryFile(/tmp/multipartBody5618327650917132222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754442549,"filename":"image_05112025_12_15_31_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/901040a7945b6f24df4b5f54c9d4c58b.jpg","text":"TemporaryFile(/tmp/multipartBody5720998216542852433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754442549,"filename":"image_05112025_12_15_24_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/15/4a4fd5c7aca409b39dad4e6c3707da70.jpg","text":"TemporaryFile(/tmp/multipartBody1274936061832922175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754442549,"filename":"image_05112025_12_15_29_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/15/180211c328e148405d178e6d38175adf.jpg","text":"TemporaryFile(/tmp/multipartBody3840036599689866313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754442549,"filename":"image_05112025_12_15_22_16046.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3ed1fefce94e8e0595facacbf2acc68c.jpg","text":"TemporaryFile(/tmp/multipartBody4993949643253082765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754442549,"filename":"image_05112025_12_15_27_1534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419785","file1":"1399419784","file0":"1399419783","file4":"1399419787","file5":"1399419788","file3":"1399419786"},"map_files_photo_id_array":[{"photo_id":"1399419788","filename":"file5"},{"photo_id":"1399419785","filename":"file2"},{"photo_id":"1399419787","filename":"file4"},{"photo_id":"1399419784","filename":"file1"},{"photo_id":"1399419783","filename":"file0"},{"photo_id":"1399419786","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399419785":["hashtag1","hashtag2"]},{"1399419788":["hashtag1","hashtag2"]},{"1399419784":["hashtag1","hashtag2"]},{"1399419787":["hashtag1","hashtag2"]},{"1399419783":["hashtag1","hashtag2"]},{"1399419786":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399419785, 1399419788, 1399419784, 1399419787, 1399419783, 1399419786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11214780807495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 00:20:22.235714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/15/image_15122025_00_15_15_10799.jpg', '/home/pi/Desktop/images/15122025/00/15/image_15122025_00_15_24_9802.jpg', '/home/pi/Desktop/images/15122025/00/15/image_15122025_00_15_34_9715.jpg', '/home/pi/Desktop/images/15122025/00/15/image_15122025_00_15_44_9797.jpg', '/home/pi/Desktop/images/15122025/00/15/image_15122025_00_15_54_10578.jpg', '/home/pi/Desktop/images/15122025/00/16/image_15122025_00_16_14_9764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/15/image_15122025_00_15_15_10799.jpg
/home/pi/Desktop/images/15122025/00/15/image_15122025_00_15_24_9802.jpg
/home/pi/Desktop/images/15122025/00/15/image_15122025_00_15_34_9715.jpg
/home/pi/Desktop/images/15122025/00/15/image_15122025_00_15_44_9797.jpg
/home/pi/Desktop/images/15122025/00/15/image_15122025_00_15_54_10578.jpg
/home/pi/Desktop/images/15122025/00/16/image_15122025_00_16_14_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":["1399419791","1399419794","1399419790","1399419793","1399419792","1399419789"],"photo_ids_order":["1399419789","1399419790","1399419791","1399419792","1399419793","1399419794"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/902390f0ea6a7c5872e16a8a323ffa8c.jpg","text":"TemporaryFile(/tmp/multipartBody6656950996555990749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754482851,"filename":"image_15122025_00_15_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/15/49d40c4e9352a16ec590138bc21daec4.jpg","text":"TemporaryFile(/tmp/multipartBody125663786347974709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754482851,"filename":"image_15122025_00_16_14_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/35148f5cb952910cbedabe96e33ba69f.jpg","text":"TemporaryFile(/tmp/multipartBody4358374060123989546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754482851,"filename":"image_15122025_00_15_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/15/dc98142fe25ad60226493cea274e87fb.jpg","text":"TemporaryFile(/tmp/multipartBody8201188010897696240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754482851,"filename":"image_15122025_00_15_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/15/7e301f609f16f43c10f18d5de651288c.jpg","text":"TemporaryFile(/tmp/multipartBody6807791781957731025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754482851,"filename":"image_15122025_00_15_44_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/892238f1a98df117b88eef4f6b121fa2.jpg","text":"TemporaryFile(/tmp/multipartBody3052115323188590528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754482851,"filename":"image_15122025_00_15_15_10799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419791","file1":"1399419790","file0":"1399419789","file4":"1399419793","file5":"1399419794","file3":"1399419792"},"map_files_photo_id_array":[{"photo_id":"1399419794","filename":"file5"},{"photo_id":"1399419791","filename":"file2"},{"photo_id":"1399419793","filename":"file4"},{"photo_id":"1399419790","filename":"file1"},{"photo_id":"1399419789","filename":"file0"},{"photo_id":"1399419792","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399419791":["hashtag1","hashtag2"]},{"1399419794":["hashtag1","hashtag2"]},{"1399419790":["hashtag1","hashtag2"]},{"1399419793":["hashtag1","hashtag2"]},{"1399419792":["hashtag1","hashtag2"]},{"1399419789":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399419791, 1399419794, 1399419790, 1399419793, 1399419792, 1399419789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.440260887145996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 00:21:03.150950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/16/image_15122025_00_16_25_10762.jpg', '/home/pi/Desktop/images/15122025/00/16/image_15122025_00_16_34_9562.jpg', '/home/pi/Desktop/images/15122025/00/16/image_15122025_00_16_44_9676.jpg', '/home/pi/Desktop/images/15122025/00/16/image_15122025_00_16_55_10734.jpg', '/home/pi/Desktop/images/15122025/00/16/image_15122025_00_17_04_9701.jpg', '/home/pi/Desktop/images/15122025/00/17/image_15122025_00_17_14_9564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/16/image_15122025_00_16_25_10762.jpg
/home/pi/Desktop/images/15122025/00/16/image_15122025_00_16_34_9562.jpg
/home/pi/Desktop/images/15122025/00/16/image_15122025_00_16_44_9676.jpg
/home/pi/Desktop/images/15122025/00/16/image_15122025_00_16_55_10734.jpg
/home/pi/Desktop/images/15122025/00/16/image_15122025_00_17_04_9701.jpg
/home/pi/Desktop/images/15122025/00/17/image_15122025_00_17_14_9564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399419797","1399419796","1399419800","1399419799","1399419795","1399419798"],"photo_ids_order":["1399419795","1399419796","1399419797","1399419798","1399419799","1399419800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/aa0aaf6e8f8b3d14f0dfbe2309a1bbb0.jpg","text":"TemporaryFile(/tmp/multipartBody5451567065155903264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754523827,"filename":"image_15122025_00_16_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/15/71c876a951b4b0326c7fe6c6606ba6f4.jpg","text":"TemporaryFile(/tmp/multipartBody9200703125969280251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754523827,"filename":"image_15122025_00_16_34_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/36bb549f7273b0c628e615275103e882.jpg","text":"TemporaryFile(/tmp/multipartBody6880015098193776418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754523827,"filename":"image_15122025_00_17_14_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ac6d39f718b82d543926f127e4fe0c4d.jpg","text":"TemporaryFile(/tmp/multipartBody1861883986138780794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754523827,"filename":"image_15122025_00_17_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/15/7de3117912f836fadbc3709e0828c3ea.jpg","text":"TemporaryFile(/tmp/multipartBody968432666604875133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754523827,"filename":"image_15122025_00_16_25_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7908cd64c5dda5132214dd74c452ef6a.jpg","text":"TemporaryFile(/tmp/multipartBody8124567037343590646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754523827,"filename":"image_15122025_00_16_55_10734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419797","file1":"1399419796","file0":"1399419795","file4":"1399419799","file5":"1399419800","file3":"1399419798"},"map_files_photo_id_array":[{"photo_id":"1399419800","filename":"file5"},{"photo_id":"1399419797","filename":"file2"},{"photo_id":"1399419799","filename":"file4"},{"photo_id":"1399419796","filename":"file1"},{"photo_id":"1399419795","filename":"file0"},{"photo_id":"1399419798","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399419797":["hashtag1","hashtag2"]},{"1399419796":["hashtag1","hashtag2"]},{"1399419800":["hashtag1","hashtag2"]},{"1399419799":["hashtag1","hashtag2"]},{"1399419795":["hashtag1","hashtag2"]},{"1399419798":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399419797, 1399419796, 1399419800, 1399419799, 1399419795, 1399419798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31264138221741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 00:21:42.591372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_32_1654.jpg', '/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_54_21854.jpg', '/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_56_1575.jpg', '/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_58_1726.jpg', '/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_59_1646.jpg', '/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_01_1556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_32_1654.jpg
/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_54_21854.jpg
/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_56_1575.jpg
/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_58_1726.jpg
/home/pi/Desktop/images/05112025/12/15/image_05112025_12_15_59_1646.jpg
/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_01_1556.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399419801","1399419804","1399419803","1399419806","1399419802","1399419805"],"photo_ids_order":["1399419801","1399419802","1399419803","1399419804","1399419805","1399419806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2f5d6fa39c8f709cf0f336a4f680ea19.jpg","text":"TemporaryFile(/tmp/multipartBody2672717383165293822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754563306,"filename":"image_05112025_12_15_32_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/498ca1e5d2133ff530afc3d5f8fca5af.jpg","text":"TemporaryFile(/tmp/multipartBody4987802858958049786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754563306,"filename":"image_05112025_12_15_58_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/15/09dbd8cf3f5ae58635dd81ab9519a801.jpg","text":"TemporaryFile(/tmp/multipartBody2547945347335054071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754563306,"filename":"image_05112025_12_15_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/15/d14e5d2af1776d9c6088bc23f3e89c4c.jpg","text":"TemporaryFile(/tmp/multipartBody5956337629408324589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754563306,"filename":"image_05112025_12_16_01_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/15/9e8cb6fcc8c380b5d0e3913bb01d303b.jpg","text":"TemporaryFile(/tmp/multipartBody4433256045689495204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754563306,"filename":"image_05112025_12_15_54_21854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/198bf96fb786472e2bb3486417cf2d72.jpg","text":"TemporaryFile(/tmp/multipartBody3782364002169778032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754563306,"filename":"image_05112025_12_15_59_1646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419803","file1":"1399419802","file0":"1399419801","file4":"1399419805","file5":"1399419806","file3":"1399419804"},"map_files_photo_id_array":[{"photo_id":"1399419806","filename":"file5"},{"photo_id":"1399419803","filename":"file2"},{"photo_id":"1399419805","filename":"file4"},{"photo_id":"1399419802","filename":"file1"},{"photo_id":"1399419801","filename":"file0"},{"photo_id":"1399419804","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399419801":["hashtag1","hashtag2"]},{"1399419804":["hashtag1","hashtag2"]},{"1399419803":["hashtag1","hashtag2"]},{"1399419806":["hashtag1","hashtag2"]},{"1399419802":["hashtag1","hashtag2"]},{"1399419805":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399419801, 1399419804, 1399419803, 1399419806, 1399419802, 1399419805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14045715332031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 00:22:21.840020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/17/image_15122025_00_17_25_10604.jpg', '/home/pi/Desktop/images/15122025/00/17/image_15122025_00_17_34_9701.jpg', '/home/pi/Desktop/images/15122025/00/17/image_15122025_00_17_44_9771.jpg', '/home/pi/Desktop/images/15122025/00/17/image_15122025_00_17_54_9818.jpg', '/home/pi/Desktop/images/15122025/00/17/image_15122025_00_18_05_10846.jpg', '/home/pi/Desktop/images/15122025/00/18/image_15122025_00_18_15_9849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/17/image_15122025_00_17_25_10604.jpg
/home/pi/Desktop/images/15122025/00/17/image_15122025_00_17_34_9701.jpg
/home/pi/Desktop/images/15122025/00/17/image_15122025_00_17_44_9771.jpg
/home/pi/Desktop/images/15122025/00/17/image_15122025_00_17_54_9818.jpg
/home/pi/Desktop/images/15122025/00/17/image_15122025_00_18_05_10846.jpg
/home/pi/Desktop/images/15122025/00/18/image_15122025_00_18_15_9849.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399419812","1399419809","1399419811","1399419808","1399419810","1399419807"],"photo_ids_order":["1399419807","1399419808","1399419809","1399419810","1399419811","1399419812"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f6f9db3bd6eb5357a95cb46509401625.jpg","text":"TemporaryFile(/tmp/multipartBody3982264656235794018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754602493,"filename":"image_15122025_00_18_15_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8ca5ad58c3682b492419cffb94902b8a.jpg","text":"TemporaryFile(/tmp/multipartBody1249607650021832075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754602493,"filename":"image_15122025_00_17_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/15/97d7dafdf927e238358bf04bc76ffd7b.jpg","text":"TemporaryFile(/tmp/multipartBody570057599592237964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754602493,"filename":"image_15122025_00_18_05_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/15/f578b3e7be2542d7b548b075eab61413.jpg","text":"TemporaryFile(/tmp/multipartBody2438164655440832824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754602493,"filename":"image_15122025_00_17_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/15/d28e2b5b1fb70fa5d339ab2db13cc47c.jpg","text":"TemporaryFile(/tmp/multipartBody5233051217997375104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754602493,"filename":"image_15122025_00_17_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/15/defe310143eb50b9c08212cf150b9b1c.jpg","text":"TemporaryFile(/tmp/multipartBody154313797911866916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754602493,"filename":"image_15122025_00_17_25_10604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419809","file1":"1399419808","file0":"1399419807","file4":"1399419811","file5":"1399419812","file3":"1399419810"},"map_files_photo_id_array":[{"photo_id":"1399419812","filename":"file5"},{"photo_id":"1399419809","filename":"file2"},{"photo_id":"1399419811","filename":"file4"},{"photo_id":"1399419808","filename":"file1"},{"photo_id":"1399419807","filename":"file0"},{"photo_id":"1399419810","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399419812":["hashtag1","hashtag2"]},{"1399419809":["hashtag1","hashtag2"]},{"1399419811":["hashtag1","hashtag2"]},{"1399419808":["hashtag1","hashtag2"]},{"1399419810":["hashtag1","hashtag2"]},{"1399419807":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399419812, 1399419809, 1399419811, 1399419808, 1399419810, 1399419807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59745740890503 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 00:23:02.748847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/18/image_15122025_00_18_24_9553.jpg', '/home/pi/Desktop/images/15122025/00/18/image_15122025_00_18_34_9674.jpg', '/home/pi/Desktop/images/15122025/00/18/image_15122025_00_18_44_9991.jpg', '/home/pi/Desktop/images/15122025/00/18/image_15122025_00_18_54_10730.jpg', '/home/pi/Desktop/images/15122025/00/18/image_15122025_00_19_04_9731.jpg', '/home/pi/Desktop/images/15122025/00/19/image_15122025_00_19_14_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/18/image_15122025_00_18_24_9553.jpg
/home/pi/Desktop/images/15122025/00/18/image_15122025_00_18_34_9674.jpg
/home/pi/Desktop/images/15122025/00/18/image_15122025_00_18_44_9991.jpg
/home/pi/Desktop/images/15122025/00/18/image_15122025_00_18_54_10730.jpg
/home/pi/Desktop/images/15122025/00/18/image_15122025_00_19_04_9731.jpg
/home/pi/Desktop/images/15122025/00/19/image_15122025_00_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":["1399419816","1399419818","1399419815","1399419814","1399419817","1399419813"],"photo_ids_order":["1399419813","1399419814","1399419815","1399419816","1399419817","1399419818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/76c72f942f6c5f4e54e7e0067ff68d40.jpg","text":"TemporaryFile(/tmp/multipartBody9070237040895790353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754643419,"filename":"image_15122025_00_18_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/15/b157938b1c1dce025b55186647740f8d.jpg","text":"TemporaryFile(/tmp/multipartBody9040367958436637223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754643419,"filename":"image_15122025_00_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/15/e3b37f8c332cd53187c7f3ca2a0d0982.jpg","text":"TemporaryFile(/tmp/multipartBody5363609350974801863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754643419,"filename":"image_15122025_00_18_44_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/15/1e5504ce806f0dc17c441faebf7673d8.jpg","text":"TemporaryFile(/tmp/multipartBody2419867561153145380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754643419,"filename":"image_15122025_00_18_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/15/a0051e4d2a35ceab9044d76491d893a4.jpg","text":"TemporaryFile(/tmp/multipartBody8733680015370363553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754643419,"filename":"image_15122025_00_19_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/15/fd70e8c1053fa43f6f987d9b453fe636.jpg","text":"TemporaryFile(/tmp/multipartBody4667937120562204911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754643419,"filename":"image_15122025_00_18_24_9553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419815","file1":"1399419814","file0":"1399419813","file4":"1399419817","file5":"1399419818","file3":"1399419816"},"map_files_photo_id_array":[{"photo_id":"1399419818","filename":"file5"},{"photo_id":"1399419815","filename":"file2"},{"photo_id":"1399419817","filename":"file4"},{"photo_id":"1399419814","filename":"file1"},{"photo_id":"1399419813","filename":"file0"},{"photo_id":"1399419816","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399419816":["hashtag1","hashtag2"]},{"1399419818":["hashtag1","hashtag2"]},{"1399419815":["hashtag1","hashtag2"]},{"1399419814":["hashtag1","hashtag2"]},{"1399419817":["hashtag1","hashtag2"]},{"1399419813":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399419816, 1399419818, 1399419815, 1399419814, 1399419817, 1399419813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.629252195358276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 00:23:42.100779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_02_1654.jpg', '/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_04_1621.jpg', '/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_06_1777.jpg', '/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_07_1659.jpg', '/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_09_1511.jpg', '/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_11_1596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_02_1654.jpg
/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_04_1621.jpg
/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_06_1777.jpg
/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_07_1659.jpg
/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_09_1511.jpg
/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_11_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":["1399419822","1399419821","1399419824","1399419823","1399419825","1399419819"],"photo_ids_order":["1399419819","1399419821","1399419822","1399419823","1399419824","1399419825"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/60f8822f10944ff2b2531b40bd455908.jpg","text":"TemporaryFile(/tmp/multipartBody6267674279577013017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754682813,"filename":"image_05112025_12_16_06_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/15/390b292127e35b9715e31eadc2039ca0.jpg","text":"TemporaryFile(/tmp/multipartBody844199677814853600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754682813,"filename":"image_05112025_12_16_04_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/15/00ca6e5b6f3210e568895372998bf096.jpg","text":"TemporaryFile(/tmp/multipartBody7859842196470407317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754682813,"filename":"image_05112025_12_16_09_1511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6799fdcc9a3f3d6140671623e456fc38.jpg","text":"TemporaryFile(/tmp/multipartBody147305759632827105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754682813,"filename":"image_05112025_12_16_07_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/15/acd7c34de7edd6478a0d7d3e5639ee1c.jpg","text":"TemporaryFile(/tmp/multipartBody2103172711842928927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754682813,"filename":"image_05112025_12_16_11_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/15/ecbb3c85829e746dddea2744c18442b2.jpg","text":"TemporaryFile(/tmp/multipartBody8309675432434098634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754682813,"filename":"image_05112025_12_16_02_1654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419822","file1":"1399419821","file0":"1399419819","file4":"1399419824","file5":"1399419825","file3":"1399419823"},"map_files_photo_id_array":[{"photo_id":"1399419825","filename":"file5"},{"photo_id":"1399419822","filename":"file2"},{"photo_id":"1399419824","filename":"file4"},{"photo_id":"1399419821","filename":"file1"},{"photo_id":"1399419819","filename":"file0"},{"photo_id":"1399419823","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399419822":["hashtag1","hashtag2"]},{"1399419821":["hashtag1","hashtag2"]},{"1399419824":["hashtag1","hashtag2"]},{"1399419823":["hashtag1","hashtag2"]},{"1399419825":["hashtag1","hashtag2"]},{"1399419819":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399419822, 1399419821, 1399419824, 1399419823, 1399419825, 1399419819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.452701807022095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 00:24:22.371258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/19/image_15122025_00_19_25_10629.jpg', '/home/pi/Desktop/images/15122025/00/19/image_15122025_00_19_44_10035.jpg', '/home/pi/Desktop/images/15122025/00/19/image_15122025_00_19_54_9594.jpg', '/home/pi/Desktop/images/15122025/00/19/image_15122025_00_20_05_10696.jpg', '/home/pi/Desktop/images/15122025/00/20/image_15122025_00_20_14_9726.jpg', '/home/pi/Desktop/images/15122025/00/20/image_15122025_00_20_24_10154.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/19/image_15122025_00_19_25_10629.jpg
/home/pi/Desktop/images/15122025/00/19/image_15122025_00_19_44_10035.jpg
/home/pi/Desktop/images/15122025/00/19/image_15122025_00_19_54_9594.jpg
/home/pi/Desktop/images/15122025/00/19/image_15122025_00_20_05_10696.jpg
/home/pi/Desktop/images/15122025/00/20/image_15122025_00_20_14_9726.jpg
/home/pi/Desktop/images/15122025/00/20/image_15122025_00_20_24_10154.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399419830","1399419827","1399419829","1399419826","1399419831","1399419828"],"photo_ids_order":["1399419826","1399419827","1399419828","1399419829","1399419830","1399419831"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fd794b234c69a0a667f7b698084eef53.jpg","text":"TemporaryFile(/tmp/multipartBody3415959362332960717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754722990,"filename":"image_15122025_00_20_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/15/d17a7c943211aaaadaf43c5785dee52c.jpg","text":"TemporaryFile(/tmp/multipartBody5228953681632941987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754722990,"filename":"image_15122025_00_19_44_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/15/51342834ad4c2b7f4fedaad734922da8.jpg","text":"TemporaryFile(/tmp/multipartBody4975042051330309605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754722990,"filename":"image_15122025_00_20_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/15/b07080b28c074c9ace9b59747fe49322.jpg","text":"TemporaryFile(/tmp/multipartBody8684231350340924121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754722990,"filename":"image_15122025_00_19_25_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/031ea07da7591682293ac9a36d975e39.jpg","text":"TemporaryFile(/tmp/multipartBody1680019865742357508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754722990,"filename":"image_15122025_00_20_24_10154.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d769f080624ce829c72860530a69a9dd.jpg","text":"TemporaryFile(/tmp/multipartBody743029090597776245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754722990,"filename":"image_15122025_00_19_54_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419828","file1":"1399419827","file0":"1399419826","file4":"1399419830","file5":"1399419831","file3":"1399419829"},"map_files_photo_id_array":[{"photo_id":"1399419831","filename":"file5"},{"photo_id":"1399419828","filename":"file2"},{"photo_id":"1399419830","filename":"file4"},{"photo_id":"1399419827","filename":"file1"},{"photo_id":"1399419826","filename":"file0"},{"photo_id":"1399419829","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399419830":["hashtag1","hashtag2"]},{"1399419827":["hashtag1","hashtag2"]},{"1399419829":["hashtag1","hashtag2"]},{"1399419826":["hashtag1","hashtag2"]},{"1399419831":["hashtag1","hashtag2"]},{"1399419828":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399419830, 1399419827, 1399419829, 1399419826, 1399419831, 1399419828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85429048538208 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 00:25:03.284205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/20/image_15122025_00_20_34_9642.jpg', '/home/pi/Desktop/images/15122025/00/20/image_15122025_00_20_55_10737.jpg', '/home/pi/Desktop/images/15122025/00/20/image_15122025_00_21_04_9729.jpg', '/home/pi/Desktop/images/15122025/00/21/image_15122025_00_21_14_9642.jpg', '/home/pi/Desktop/images/15122025/00/21/image_15122025_00_21_25_10756.jpg', '/home/pi/Desktop/images/15122025/00/21/image_15122025_00_21_34_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/20/image_15122025_00_20_34_9642.jpg
/home/pi/Desktop/images/15122025/00/20/image_15122025_00_20_55_10737.jpg
/home/pi/Desktop/images/15122025/00/20/image_15122025_00_21_04_9729.jpg
/home/pi/Desktop/images/15122025/00/21/image_15122025_00_21_14_9642.jpg
/home/pi/Desktop/images/15122025/00/21/image_15122025_00_21_25_10756.jpg
/home/pi/Desktop/images/15122025/00/21/image_15122025_00_21_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":["1399419836","1399419833","1399419832","1399419835","1399419837","1399419834"],"photo_ids_order":["1399419832","1399419833","1399419834","1399419835","1399419836","1399419837"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/34bbdccc436e7ec0b05746e1b4cc1bdd.jpg","text":"TemporaryFile(/tmp/multipartBody2775948507180194354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754763953,"filename":"image_15122025_00_21_25_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b6d1601ae34dbae2d99f4cd259e9e731.jpg","text":"TemporaryFile(/tmp/multipartBody2108749324268319284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754763953,"filename":"image_15122025_00_20_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/15/625c6ad4f5a2df3d8f85168904885069.jpg","text":"TemporaryFile(/tmp/multipartBody3054743194057499195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754763953,"filename":"image_15122025_00_20_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/15/c98f7f53e25989ae8dd81a6ba997c3eb.jpg","text":"TemporaryFile(/tmp/multipartBody771545292540425882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754763953,"filename":"image_15122025_00_21_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/15/470a4223824a97d61ec762a7acbd0aca.jpg","text":"TemporaryFile(/tmp/multipartBody7170697408095641852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754763953,"filename":"image_15122025_00_21_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/15/256ded48222f80cd538ac0c182f31f6f.jpg","text":"TemporaryFile(/tmp/multipartBody6578645399304594014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754763953,"filename":"image_15122025_00_21_04_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419834","file1":"1399419833","file0":"1399419832","file4":"1399419836","file5":"1399419837","file3":"1399419835"},"map_files_photo_id_array":[{"photo_id":"1399419837","filename":"file5"},{"photo_id":"1399419834","filename":"file2"},{"photo_id":"1399419836","filename":"file4"},{"photo_id":"1399419833","filename":"file1"},{"photo_id":"1399419832","filename":"file0"},{"photo_id":"1399419835","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399419836":["hashtag1","hashtag2"]},{"1399419833":["hashtag1","hashtag2"]},{"1399419832":["hashtag1","hashtag2"]},{"1399419835":["hashtag1","hashtag2"]},{"1399419837":["hashtag1","hashtag2"]},{"1399419834":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399419836, 1399419833, 1399419832, 1399419835, 1399419837, 1399419834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60201144218445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 00:25:42.669250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_12_1673.jpg', '/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_14_1502.jpg', '/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_15_1605.jpg', '/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_17_1601.jpg', '/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_19_1687.jpg', '/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_20_1525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_12_1673.jpg
/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_14_1502.jpg
/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_15_1605.jpg
/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_17_1601.jpg
/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_19_1687.jpg
/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_20_1525.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399419842","1399419839","1399419841","1399419838","1399419843","1399419840"],"photo_ids_order":["1399419838","1399419839","1399419840","1399419841","1399419842","1399419843"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/eff54577cd44239b099893153ec839ea.jpg","text":"TemporaryFile(/tmp/multipartBody1387509305172429415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754803375,"filename":"image_05112025_12_16_19_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/15/4ec6e168066f851cd508b7189080bfb5.jpg","text":"TemporaryFile(/tmp/multipartBody3947197905442480132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754803375,"filename":"image_05112025_12_16_14_1502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5206b3103b2303b90d035c1245909bb9.jpg","text":"TemporaryFile(/tmp/multipartBody5938614783627961675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754803375,"filename":"image_05112025_12_16_17_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/15/52287ca474b86f1924897e67911bdfba.jpg","text":"TemporaryFile(/tmp/multipartBody3260856589823487548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754803375,"filename":"image_05112025_12_16_12_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/15/02fbb601882e832afa36fee07ebe07c1.jpg","text":"TemporaryFile(/tmp/multipartBody7794803493685785782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754803375,"filename":"image_05112025_12_16_20_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/15/6bda1ed36529745fe5458bdfeed3a2d9.jpg","text":"TemporaryFile(/tmp/multipartBody9192808306602549954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754803375,"filename":"image_05112025_12_16_15_1605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419840","file1":"1399419839","file0":"1399419838","file4":"1399419842","file5":"1399419843","file3":"1399419841"},"map_files_photo_id_array":[{"photo_id":"1399419843","filename":"file5"},{"photo_id":"1399419840","filename":"file2"},{"photo_id":"1399419842","filename":"file4"},{"photo_id":"1399419839","filename":"file1"},{"photo_id":"1399419838","filename":"file0"},{"photo_id":"1399419841","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399419842":["hashtag1","hashtag2"]},{"1399419839":["hashtag1","hashtag2"]},{"1399419841":["hashtag1","hashtag2"]},{"1399419838":["hashtag1","hashtag2"]},{"1399419843":["hashtag1","hashtag2"]},{"1399419840":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399419842, 1399419839, 1399419841, 1399419838, 1399419843, 1399419840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.183412313461304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 00:26:22.046878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/21/image_15122025_00_21_44_9542.jpg', '/home/pi/Desktop/images/15122025/00/21/image_15122025_00_21_54_9843.jpg', '/home/pi/Desktop/images/15122025/00/21/image_15122025_00_22_04_10672.jpg', '/home/pi/Desktop/images/15122025/00/22/image_15122025_00_22_14_9725.jpg', '/home/pi/Desktop/images/15122025/00/22/image_15122025_00_22_34_10657.jpg', '/home/pi/Desktop/images/15122025/00/22/image_15122025_00_23_04_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/21/image_15122025_00_21_44_9542.jpg
/home/pi/Desktop/images/15122025/00/21/image_15122025_00_21_54_9843.jpg
/home/pi/Desktop/images/15122025/00/21/image_15122025_00_22_04_10672.jpg
/home/pi/Desktop/images/15122025/00/22/image_15122025_00_22_14_9725.jpg
/home/pi/Desktop/images/15122025/00/22/image_15122025_00_22_34_10657.jpg
/home/pi/Desktop/images/15122025/00/22/image_15122025_00_23_04_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":["1399419848","1399419845","1399419850","1399419847","1399419844","1399419846"],"photo_ids_order":["1399419844","1399419845","1399419846","1399419847","1399419848","1399419850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/963f1aa5bf5cb5130a6b55c26f504b9e.jpg","text":"TemporaryFile(/tmp/multipartBody7200860882521460372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754842663,"filename":"image_15122025_00_22_34_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/15/a37591d3028d9296f11ad01221f97405.jpg","text":"TemporaryFile(/tmp/multipartBody2820383209791734413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754842663,"filename":"image_15122025_00_21_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/15/5cee3f56eec960e47fd21e38243f730b.jpg","text":"TemporaryFile(/tmp/multipartBody3780377347995648417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754842663,"filename":"image_15122025_00_23_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/15/ec772999b38c8f3ac026aacd119a1b61.jpg","text":"TemporaryFile(/tmp/multipartBody8061952081559531002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754842663,"filename":"image_15122025_00_22_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/15/bfcb5fefb03c41b6232bd1207f4f1a6d.jpg","text":"TemporaryFile(/tmp/multipartBody3462058877009573907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754842663,"filename":"image_15122025_00_21_44_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/15/ddb0266c15faff0cdf4ec4d07f7c92b7.jpg","text":"TemporaryFile(/tmp/multipartBody8541042560454929004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754842663,"filename":"image_15122025_00_22_04_10672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419846","file1":"1399419845","file0":"1399419844","file4":"1399419848","file5":"1399419850","file3":"1399419847"},"map_files_photo_id_array":[{"photo_id":"1399419850","filename":"file5"},{"photo_id":"1399419846","filename":"file2"},{"photo_id":"1399419848","filename":"file4"},{"photo_id":"1399419845","filename":"file1"},{"photo_id":"1399419844","filename":"file0"},{"photo_id":"1399419847","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399419848":["hashtag1","hashtag2"]},{"1399419845":["hashtag1","hashtag2"]},{"1399419850":["hashtag1","hashtag2"]},{"1399419847":["hashtag1","hashtag2"]},{"1399419844":["hashtag1","hashtag2"]},{"1399419846":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399419848, 1399419845, 1399419850, 1399419847, 1399419844, 1399419846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40535354614258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 00:27:02.994785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/23/image_15122025_00_23_14_9649.jpg', '/home/pi/Desktop/images/15122025/00/23/image_15122025_00_23_24_9810.jpg', '/home/pi/Desktop/images/15122025/00/23/image_15122025_00_23_35_10796.jpg', '/home/pi/Desktop/images/15122025/00/23/image_15122025_00_24_04_9758.jpg', '/home/pi/Desktop/images/15122025/00/24/image_15122025_00_24_15_10711.jpg', '/home/pi/Desktop/images/15122025/00/24/image_15122025_00_24_24_9833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/23/image_15122025_00_23_14_9649.jpg
/home/pi/Desktop/images/15122025/00/23/image_15122025_00_23_24_9810.jpg
/home/pi/Desktop/images/15122025/00/23/image_15122025_00_23_35_10796.jpg
/home/pi/Desktop/images/15122025/00/23/image_15122025_00_24_04_9758.jpg
/home/pi/Desktop/images/15122025/00/24/image_15122025_00_24_15_10711.jpg
/home/pi/Desktop/images/15122025/00/24/image_15122025_00_24_24_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":["1399419854","1399419851","1399419853","1399419856","1399419855","1399419852"],"photo_ids_order":["1399419851","1399419852","1399419853","1399419854","1399419855","1399419856"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ea285b49ecb9683243adfc7d897e842d.jpg","text":"TemporaryFile(/tmp/multipartBody120830660577197354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754883690,"filename":"image_15122025_00_24_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/15/358f29bb6c7bd7bb2af346a587c85292.jpg","text":"TemporaryFile(/tmp/multipartBody7066604292018069722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754883690,"filename":"image_15122025_00_23_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/15/125dee0dc3f041a9f40b34315e224c38.jpg","text":"TemporaryFile(/tmp/multipartBody152551020706199808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754883690,"filename":"image_15122025_00_23_35_10796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4b4c2978922c57712891ac1a0f0d68a3.jpg","text":"TemporaryFile(/tmp/multipartBody4860493921881612472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754883690,"filename":"image_15122025_00_24_24_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c23dd4bacd8d060f7848019b0bdc2272.jpg","text":"TemporaryFile(/tmp/multipartBody5024897764086666529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754883690,"filename":"image_15122025_00_24_15_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e0aeaed16f993348dda94964cce31031.jpg","text":"TemporaryFile(/tmp/multipartBody5840821924738328475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754883690,"filename":"image_15122025_00_23_24_9810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419853","file1":"1399419852","file0":"1399419851","file4":"1399419855","file5":"1399419856","file3":"1399419854"},"map_files_photo_id_array":[{"photo_id":"1399419856","filename":"file5"},{"photo_id":"1399419853","filename":"file2"},{"photo_id":"1399419855","filename":"file4"},{"photo_id":"1399419852","filename":"file1"},{"photo_id":"1399419851","filename":"file0"},{"photo_id":"1399419854","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399419854":["hashtag1","hashtag2"]},{"1399419851":["hashtag1","hashtag2"]},{"1399419853":["hashtag1","hashtag2"]},{"1399419856":["hashtag1","hashtag2"]},{"1399419855":["hashtag1","hashtag2"]},{"1399419852":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399419854, 1399419851, 1399419853, 1399419856, 1399419855, 1399419852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67934203147888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 00:27:42.129209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_22_1639.jpg', '/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_23_1651.jpg', '/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_25_1503.jpg', '/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_27_1707.jpg', '/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_28_1727.jpg', '/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_30_1653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_22_1639.jpg
/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_23_1651.jpg
/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_25_1503.jpg
/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_27_1707.jpg
/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_28_1727.jpg
/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_30_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":["1399419860","1399419857","1399419859","1399419862","1399419861","1399419858"],"photo_ids_order":["1399419857","1399419858","1399419859","1399419860","1399419861","1399419862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fb72016819961cb22725eb50597d52fc.jpg","text":"TemporaryFile(/tmp/multipartBody8770162456773542380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754922828,"filename":"image_05112025_12_16_27_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/15/238a759d99fae181ba5c3ca5afb53165.jpg","text":"TemporaryFile(/tmp/multipartBody3043956167437379371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754922828,"filename":"image_05112025_12_16_22_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/15/4ef8c9b3baa1f5d70f208e2a124372ae.jpg","text":"TemporaryFile(/tmp/multipartBody2922472320063032839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754922828,"filename":"image_05112025_12_16_25_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/15/a39ef966458dcd004bb2f3f62972fcd6.jpg","text":"TemporaryFile(/tmp/multipartBody1089399152675089480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754922828,"filename":"image_05112025_12_16_30_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/15/bc47e7a27a9567fa0187b7ad7070f7c6.jpg","text":"TemporaryFile(/tmp/multipartBody9094410450628553584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754922828,"filename":"image_05112025_12_16_28_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/15/ace78a62038db27c554da06713d7abf9.jpg","text":"TemporaryFile(/tmp/multipartBody7970411170551087927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754922828,"filename":"image_05112025_12_16_23_1651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419859","file1":"1399419858","file0":"1399419857","file4":"1399419861","file5":"1399419862","file3":"1399419860"},"map_files_photo_id_array":[{"photo_id":"1399419862","filename":"file5"},{"photo_id":"1399419859","filename":"file2"},{"photo_id":"1399419861","filename":"file4"},{"photo_id":"1399419858","filename":"file1"},{"photo_id":"1399419857","filename":"file0"},{"photo_id":"1399419860","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399419860":["hashtag1","hashtag2"]},{"1399419857":["hashtag1","hashtag2"]},{"1399419859":["hashtag1","hashtag2"]},{"1399419862":["hashtag1","hashtag2"]},{"1399419861":["hashtag1","hashtag2"]},{"1399419858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399419860, 1399419857, 1399419859, 1399419862, 1399419861, 1399419858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66229844093323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 00:28:22.442795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/24/image_15122025_00_24_34_9675.jpg', '/home/pi/Desktop/images/15122025/00/24/image_15122025_00_24_45_10607.jpg', '/home/pi/Desktop/images/15122025/00/24/image_15122025_00_24_54_9807.jpg', '/home/pi/Desktop/images/15122025/00/24/image_15122025_00_25_04_9826.jpg', '/home/pi/Desktop/images/15122025/00/25/image_15122025_00_25_25_10760.jpg', '/home/pi/Desktop/images/15122025/00/25/image_15122025_00_25_44_9800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/24/image_15122025_00_24_34_9675.jpg
/home/pi/Desktop/images/15122025/00/24/image_15122025_00_24_45_10607.jpg
/home/pi/Desktop/images/15122025/00/24/image_15122025_00_24_54_9807.jpg
/home/pi/Desktop/images/15122025/00/24/image_15122025_00_25_04_9826.jpg
/home/pi/Desktop/images/15122025/00/25/image_15122025_00_25_25_10760.jpg
/home/pi/Desktop/images/15122025/00/25/image_15122025_00_25_44_9800.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399419866","1399419863","1399419865","1399419868","1399419864","1399419867"],"photo_ids_order":["1399419863","1399419864","1399419865","1399419866","1399419867","1399419868"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bc830afce3aac6f510a3899bb1cd55b6.jpg","text":"TemporaryFile(/tmp/multipartBody5796460618892420904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754963057,"filename":"image_15122025_00_25_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/15/6fc18695e157479af60564b6bc4f247a.jpg","text":"TemporaryFile(/tmp/multipartBody7892418666159820678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754963057,"filename":"image_15122025_00_24_34_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a472a1539b831bf15caac27c2614df23.jpg","text":"TemporaryFile(/tmp/multipartBody7367058372063648587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754963057,"filename":"image_15122025_00_24_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/15/3ba8f198c850f1ec544e13aadb0b8629.jpg","text":"TemporaryFile(/tmp/multipartBody2948881863082175476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754963057,"filename":"image_15122025_00_25_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/15/a734396e375878f74d0386ba916b4399.jpg","text":"TemporaryFile(/tmp/multipartBody413245579235179595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754963057,"filename":"image_15122025_00_24_45_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/da32392a957e92b5b78718a0b6f60b4e.jpg","text":"TemporaryFile(/tmp/multipartBody947969921193110851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765754963057,"filename":"image_15122025_00_25_25_10760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419865","file1":"1399419864","file0":"1399419863","file4":"1399419867","file5":"1399419868","file3":"1399419866"},"map_files_photo_id_array":[{"photo_id":"1399419868","filename":"file5"},{"photo_id":"1399419865","filename":"file2"},{"photo_id":"1399419867","filename":"file4"},{"photo_id":"1399419864","filename":"file1"},{"photo_id":"1399419863","filename":"file0"},{"photo_id":"1399419866","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399419866":["hashtag1","hashtag2"]},{"1399419863":["hashtag1","hashtag2"]},{"1399419865":["hashtag1","hashtag2"]},{"1399419868":["hashtag1","hashtag2"]},{"1399419864":["hashtag1","hashtag2"]},{"1399419867":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399419866, 1399419863, 1399419865, 1399419868, 1399419864, 1399419867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.956748962402344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 00:29:03.679856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/25/image_15122025_00_26_05_10710.jpg', '/home/pi/Desktop/images/15122025/00/26/image_15122025_00_26_14_9896.jpg', '/home/pi/Desktop/images/15122025/00/26/image_15122025_00_26_24_9695.jpg', '/home/pi/Desktop/images/15122025/00/26/image_15122025_00_26_34_9721.jpg', '/home/pi/Desktop/images/15122025/00/26/image_15122025_00_26_44_10637.jpg', '/home/pi/Desktop/images/15122025/00/26/image_15122025_00_27_04_9793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/25/image_15122025_00_26_05_10710.jpg
/home/pi/Desktop/images/15122025/00/26/image_15122025_00_26_14_9896.jpg
/home/pi/Desktop/images/15122025/00/26/image_15122025_00_26_24_9695.jpg
/home/pi/Desktop/images/15122025/00/26/image_15122025_00_26_34_9721.jpg
/home/pi/Desktop/images/15122025/00/26/image_15122025_00_26_44_10637.jpg
/home/pi/Desktop/images/15122025/00/26/image_15122025_00_27_04_9793.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399419872","1399419869","1399419878","1399419874","1399419873","1399419870"],"photo_ids_order":["1399419869","1399419870","1399419872","1399419873","1399419874","1399419878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c7d4a375fb301e242db5861369ca9740.jpg","text":"TemporaryFile(/tmp/multipartBody3751941891342848543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755005703,"filename":"image_15122025_00_26_24_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5c48f2a26bcc8b590f3e7182cf5eff34.jpg","text":"TemporaryFile(/tmp/multipartBody2794152827505916598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755005703,"filename":"image_15122025_00_26_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/15/af43a833848fe6b593128388bbc8c681.jpg","text":"TemporaryFile(/tmp/multipartBody1392092035537810764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755005703,"filename":"image_15122025_00_27_04_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f97e8a46e970f37403acae08b7c8a930.jpg","text":"TemporaryFile(/tmp/multipartBody5206615122937028698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755005703,"filename":"image_15122025_00_26_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/15/9035f3d34cd22437aff2da045b237279.jpg","text":"TemporaryFile(/tmp/multipartBody8628989724722637565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755005703,"filename":"image_15122025_00_26_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/15/01f291d4375832b60ad4fcbb2c805c2b.jpg","text":"TemporaryFile(/tmp/multipartBody1093702324554455859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755005703,"filename":"image_15122025_00_26_14_9896.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419872","file1":"1399419870","file0":"1399419869","file4":"1399419874","file5":"1399419878","file3":"1399419873"},"map_files_photo_id_array":[{"photo_id":"1399419878","filename":"file5"},{"photo_id":"1399419872","filename":"file2"},{"photo_id":"1399419874","filename":"file4"},{"photo_id":"1399419870","filename":"file1"},{"photo_id":"1399419869","filename":"file0"},{"photo_id":"1399419873","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399419872":["hashtag1","hashtag2"]},{"1399419869":["hashtag1","hashtag2"]},{"1399419878":["hashtag1","hashtag2"]},{"1399419874":["hashtag1","hashtag2"]},{"1399419873":["hashtag1","hashtag2"]},{"1399419870":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399419872, 1399419869, 1399419878, 1399419874, 1399419873, 1399419870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15975308418274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 00:29:42.795156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_32_1706.jpg', '/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_33_1712.jpg', '/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_35_1630.jpg', '/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_37_1775.jpg', '/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_39_1637.jpg', '/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_40_1617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_32_1706.jpg
/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_33_1712.jpg
/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_35_1630.jpg
/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_37_1775.jpg
/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_39_1637.jpg
/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_40_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":["1399419884","1399419881","1399419883","1399419886","1399419882","1399419885"],"photo_ids_order":["1399419881","1399419882","1399419883","1399419884","1399419885","1399419886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ad56e373cb1bf09d2af48127b77bdfde.jpg","text":"TemporaryFile(/tmp/multipartBody3925585145174865989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755043495,"filename":"image_05112025_12_16_37_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/15/39dd8a94764edcdd967fb285ba11e187.jpg","text":"TemporaryFile(/tmp/multipartBody6527103136692022893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755043495,"filename":"image_05112025_12_16_32_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/15/719399e8420feef1f2403f091c3f5dc0.jpg","text":"TemporaryFile(/tmp/multipartBody1918476902754867390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755043495,"filename":"image_05112025_12_16_35_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/15/65de2adb16568f6a53fb9eeac9dcc118.jpg","text":"TemporaryFile(/tmp/multipartBody958888376881718747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755043495,"filename":"image_05112025_12_16_40_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/15/c3e9a82f6dbbc413f8c00b3c9b60500f.jpg","text":"TemporaryFile(/tmp/multipartBody4541570715392581345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755043495,"filename":"image_05112025_12_16_33_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/15/2255b6b8954983802e748c7956d1c706.jpg","text":"TemporaryFile(/tmp/multipartBody6207320849180290495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755043495,"filename":"image_05112025_12_16_39_1637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419883","file1":"1399419882","file0":"1399419881","file4":"1399419885","file5":"1399419886","file3":"1399419884"},"map_files_photo_id_array":[{"photo_id":"1399419886","filename":"file5"},{"photo_id":"1399419883","filename":"file2"},{"photo_id":"1399419885","filename":"file4"},{"photo_id":"1399419882","filename":"file1"},{"photo_id":"1399419881","filename":"file0"},{"photo_id":"1399419884","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399419884":["hashtag1","hashtag2"]},{"1399419881":["hashtag1","hashtag2"]},{"1399419883":["hashtag1","hashtag2"]},{"1399419886":["hashtag1","hashtag2"]},{"1399419882":["hashtag1","hashtag2"]},{"1399419885":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399419884, 1399419881, 1399419883, 1399419886, 1399419882, 1399419885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.985060930252075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 00:30:22.069093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/27/image_15122025_00_27_24_10663.jpg', '/home/pi/Desktop/images/15122025/00/27/image_15122025_00_27_34_9790.jpg', '/home/pi/Desktop/images/15122025/00/27/image_15122025_00_27_44_9829.jpg', '/home/pi/Desktop/images/15122025/00/27/image_15122025_00_27_54_9847.jpg', '/home/pi/Desktop/images/15122025/00/27/image_15122025_00_28_05_10635.jpg', '/home/pi/Desktop/images/15122025/00/28/image_15122025_00_28_14_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/27/image_15122025_00_27_24_10663.jpg
/home/pi/Desktop/images/15122025/00/27/image_15122025_00_27_34_9790.jpg
/home/pi/Desktop/images/15122025/00/27/image_15122025_00_27_44_9829.jpg
/home/pi/Desktop/images/15122025/00/27/image_15122025_00_27_54_9847.jpg
/home/pi/Desktop/images/15122025/00/27/image_15122025_00_28_05_10635.jpg
/home/pi/Desktop/images/15122025/00/28/image_15122025_00_28_14_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.5459058284759521 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 00:30:32.063063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_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/38/image_14122025_23_38_44_9685.jpg', '/home/pi/Desktop/images/14122025/23/38/image_14122025_23_38_54_10687.jpg', '/home/pi/Desktop/images/14122025/23/39/image_14122025_23_39_14_9849.jpg', '/home/pi/Desktop/images/14122025/23/39/image_14122025_23_39_24_9785.jpg', '/home/pi/Desktop/images/14122025/23/39/image_14122025_23_39_35_10795.jpg', '/home/pi/Desktop/images/14122025/23/39/image_14122025_23_39_44_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/23/38/image_14122025_23_38_44_9685.jpg
/home/pi/Desktop/images/14122025/23/38/image_14122025_23_38_54_10687.jpg
/home/pi/Desktop/images/14122025/23/39/image_14122025_23_39_14_9849.jpg
/home/pi/Desktop/images/14122025/23/39/image_14122025_23_39_24_9785.jpg
/home/pi/Desktop/images/14122025/23/39/image_14122025_23_39_35_10795.jpg
/home/pi/Desktop/images/14122025/23/39/image_14122025_23_39_44_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":["1399419890","1399419896","1399419895","1399419892","1399419894","1399419897"],"photo_ids_order":["1399419890","1399419892","1399419894","1399419895","1399419896","1399419897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3548bf50c92367186579f2fac47bfcc3.jpg","text":"TemporaryFile(/tmp/multipartBody226920461523980816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755093684,"filename":"image_14122025_23_38_44_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f552dee377f870827458f439e6baadbe.jpg","text":"TemporaryFile(/tmp/multipartBody1818775016367849245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755093684,"filename":"image_14122025_23_39_35_10795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/76488884ddca881b5b4fec00f91e9b56.jpg","text":"TemporaryFile(/tmp/multipartBody618757702269608390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755093684,"filename":"image_14122025_23_39_24_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2994e1e3b53fd9a8a00704922f3ce54a.jpg","text":"TemporaryFile(/tmp/multipartBody1011951901244058366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755093684,"filename":"image_14122025_23_38_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/15/d7f0fddfa1bdd1387dd61d121e73c1e4.jpg","text":"TemporaryFile(/tmp/multipartBody1581843317215619739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755093684,"filename":"image_14122025_23_39_14_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/15/a7cf8f4d7fe0a6bc729a59b138dbb8c8.jpg","text":"TemporaryFile(/tmp/multipartBody2211829481666764563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755093684,"filename":"image_14122025_23_39_44_9830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419894","file1":"1399419892","file0":"1399419890","file4":"1399419896","file5":"1399419897","file3":"1399419895"},"map_files_photo_id_array":[{"photo_id":"1399419897","filename":"file5"},{"photo_id":"1399419894","filename":"file2"},{"photo_id":"1399419896","filename":"file4"},{"photo_id":"1399419892","filename":"file1"},{"photo_id":"1399419890","filename":"file0"},{"photo_id":"1399419895","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399419890":["hashtag1","hashtag2"]},{"1399419896":["hashtag1","hashtag2"]},{"1399419895":["hashtag1","hashtag2"]},{"1399419892":["hashtag1","hashtag2"]},{"1399419894":["hashtag1","hashtag2"]},{"1399419897":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399419890, 1399419896, 1399419895, 1399419892, 1399419894, 1399419897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41363978385925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 00:31:12.239269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_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/39/image_14122025_23_39_54_9702.jpg', '/home/pi/Desktop/images/14122025/23/40/image_14122025_23_40_04_9849.jpg', '/home/pi/Desktop/images/14122025/23/40/image_14122025_23_40_14_9779.jpg', '/home/pi/Desktop/images/14122025/23/40/image_14122025_23_40_24_10607.jpg', '/home/pi/Desktop/images/14122025/23/40/image_14122025_23_40_34_9564.jpg', '/home/pi/Desktop/images/14122025/23/40/image_14122025_23_40_45_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/23/39/image_14122025_23_39_54_9702.jpg
/home/pi/Desktop/images/14122025/23/40/image_14122025_23_40_04_9849.jpg
/home/pi/Desktop/images/14122025/23/40/image_14122025_23_40_14_9779.jpg
/home/pi/Desktop/images/14122025/23/40/image_14122025_23_40_24_10607.jpg
/home/pi/Desktop/images/14122025/23/40/image_14122025_23_40_34_9564.jpg
/home/pi/Desktop/images/14122025/23/40/image_14122025_23_40_45_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":["1399419900","1399419899","1399419903","1399419902","1399419898","1399419901"],"photo_ids_order":["1399419898","1399419899","1399419900","1399419901","1399419902","1399419903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b3d372633867e65d004fb05ec0d32bdf.jpg","text":"TemporaryFile(/tmp/multipartBody9206292627554370892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755133772,"filename":"image_14122025_23_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/15/c5736c7b55af130e2d945aa10351a309.jpg","text":"TemporaryFile(/tmp/multipartBody7510491425690648402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755133772,"filename":"image_14122025_23_40_04_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cacc94d928dcfe366d51737a0b2ed956.jpg","text":"TemporaryFile(/tmp/multipartBody7396184339329459186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755133772,"filename":"image_14122025_23_40_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/15/a2d5402cc80c71e469113f97ab26da2c.jpg","text":"TemporaryFile(/tmp/multipartBody2978447409855266122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755133772,"filename":"image_14122025_23_40_34_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c1530513290467997a6b6548fc7e376d.jpg","text":"TemporaryFile(/tmp/multipartBody3477817734432031677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755133772,"filename":"image_14122025_23_39_54_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7d1ec6331d89d4c065bd236b61dd1783.jpg","text":"TemporaryFile(/tmp/multipartBody435055530816262569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755133772,"filename":"image_14122025_23_40_24_10607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419900","file1":"1399419899","file0":"1399419898","file4":"1399419902","file5":"1399419903","file3":"1399419901"},"map_files_photo_id_array":[{"photo_id":"1399419903","filename":"file5"},{"photo_id":"1399419900","filename":"file2"},{"photo_id":"1399419902","filename":"file4"},{"photo_id":"1399419899","filename":"file1"},{"photo_id":"1399419898","filename":"file0"},{"photo_id":"1399419901","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399419900":["hashtag1","hashtag2"]},{"1399419899":["hashtag1","hashtag2"]},{"1399419903":["hashtag1","hashtag2"]},{"1399419902":["hashtag1","hashtag2"]},{"1399419898":["hashtag1","hashtag2"]},{"1399419901":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399419900, 1399419899, 1399419903, 1399419902, 1399419898, 1399419901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8811981678009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 00:32:03.066173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/27/image_15122025_00_27_24_10663.jpg', '/home/pi/Desktop/images/15122025/00/27/image_15122025_00_27_34_9790.jpg', '/home/pi/Desktop/images/15122025/00/27/image_15122025_00_27_44_9829.jpg', '/home/pi/Desktop/images/15122025/00/27/image_15122025_00_27_54_9847.jpg', '/home/pi/Desktop/images/15122025/00/27/image_15122025_00_28_05_10635.jpg', '/home/pi/Desktop/images/15122025/00/28/image_15122025_00_28_14_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/27/image_15122025_00_27_24_10663.jpg
/home/pi/Desktop/images/15122025/00/27/image_15122025_00_27_34_9790.jpg
/home/pi/Desktop/images/15122025/00/27/image_15122025_00_27_44_9829.jpg
/home/pi/Desktop/images/15122025/00/27/image_15122025_00_27_54_9847.jpg
/home/pi/Desktop/images/15122025/00/27/image_15122025_00_28_05_10635.jpg
/home/pi/Desktop/images/15122025/00/28/image_15122025_00_28_14_9702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399419909","1399419905","1399419908","1399419907","1399419904","1399419906"],"photo_ids_order":["1399419904","1399419905","1399419906","1399419907","1399419908","1399419909"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b55bf9e1b0349d517c5eafb9b0862e0f.jpg","text":"TemporaryFile(/tmp/multipartBody1725670603049313154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755183867,"filename":"image_15122025_00_28_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/15/c33566668a70ae74daba237e7d09c152.jpg","text":"TemporaryFile(/tmp/multipartBody341842019851189365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755183867,"filename":"image_15122025_00_27_34_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2f50e3eebf3f30e6a7608b11f5616872.jpg","text":"TemporaryFile(/tmp/multipartBody8975405931326722613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755183867,"filename":"image_15122025_00_28_05_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3500e50da33c4e903a52a9438e3692b6.jpg","text":"TemporaryFile(/tmp/multipartBody1837909291622852459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755183867,"filename":"image_15122025_00_27_54_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1c6d9b26a6d37ce98bc978dcf7d32ae0.jpg","text":"TemporaryFile(/tmp/multipartBody8063462667961479533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755183867,"filename":"image_15122025_00_27_24_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/75a58d2c3eeeeebce18a9788b79bafbf.jpg","text":"TemporaryFile(/tmp/multipartBody6211204008472747959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755183867,"filename":"image_15122025_00_27_44_9829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419906","file1":"1399419905","file0":"1399419904","file4":"1399419908","file5":"1399419909","file3":"1399419907"},"map_files_photo_id_array":[{"photo_id":"1399419909","filename":"file5"},{"photo_id":"1399419906","filename":"file2"},{"photo_id":"1399419908","filename":"file4"},{"photo_id":"1399419905","filename":"file1"},{"photo_id":"1399419904","filename":"file0"},{"photo_id":"1399419907","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399419909":["hashtag1","hashtag2"]},{"1399419905":["hashtag1","hashtag2"]},{"1399419908":["hashtag1","hashtag2"]},{"1399419907":["hashtag1","hashtag2"]},{"1399419904":["hashtag1","hashtag2"]},{"1399419906":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399419909, 1399419905, 1399419908, 1399419907, 1399419904, 1399419906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47171711921692 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 00:32:42.616094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_45_4640.jpg', '/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_57_11845.jpg', '/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_58_1847.jpg', '/home/pi/Desktop/images/05112025/12/16/image_05112025_12_17_00_1689.jpg', '/home/pi/Desktop/images/05112025/12/18/image_05112025_12_18_09_3012.jpg', '/home/pi/Desktop/images/05112025/12/18/image_05112025_12_18_12_3716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_45_4640.jpg
/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_57_11845.jpg
/home/pi/Desktop/images/05112025/12/16/image_05112025_12_16_58_1847.jpg
/home/pi/Desktop/images/05112025/12/16/image_05112025_12_17_00_1689.jpg
/home/pi/Desktop/images/05112025/12/18/image_05112025_12_18_09_3012.jpg
/home/pi/Desktop/images/05112025/12/18/image_05112025_12_18_12_3716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399419915","1399419911","1399419914","1399419913","1399419910","1399419912"],"photo_ids_order":["1399419910","1399419911","1399419912","1399419913","1399419914","1399419915"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1fd1157cbd80e909d0c5659e43a3b665.jpg","text":"TemporaryFile(/tmp/multipartBody933592593153898846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755223322,"filename":"image_05112025_12_18_12_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ec8641c3ae4ee183b44be9b484783319.jpg","text":"TemporaryFile(/tmp/multipartBody5510382044393500578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755223322,"filename":"image_05112025_12_16_57_11845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b274d27acc936a9f876088ff2c929ef1.jpg","text":"TemporaryFile(/tmp/multipartBody3268195250760757076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755223322,"filename":"image_05112025_12_18_09_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/15/0cb75b175ee9b2c4e9098b63e09c63ad.jpg","text":"TemporaryFile(/tmp/multipartBody4475641841685989485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755223322,"filename":"image_05112025_12_17_00_1689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8e9f55605e602b33f349c9564ac17ba5.jpg","text":"TemporaryFile(/tmp/multipartBody3816535116523398320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755223322,"filename":"image_05112025_12_16_45_4640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c02e99f07e253ca9338e24312ef726dd.jpg","text":"TemporaryFile(/tmp/multipartBody2482436555801127523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755223322,"filename":"image_05112025_12_16_58_1847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419912","file1":"1399419911","file0":"1399419910","file4":"1399419914","file5":"1399419915","file3":"1399419913"},"map_files_photo_id_array":[{"photo_id":"1399419915","filename":"file5"},{"photo_id":"1399419912","filename":"file2"},{"photo_id":"1399419914","filename":"file4"},{"photo_id":"1399419911","filename":"file1"},{"photo_id":"1399419910","filename":"file0"},{"photo_id":"1399419913","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399419915":["hashtag1","hashtag2"]},{"1399419911":["hashtag1","hashtag2"]},{"1399419914":["hashtag1","hashtag2"]},{"1399419913":["hashtag1","hashtag2"]},{"1399419910":["hashtag1","hashtag2"]},{"1399419912":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399419915, 1399419911, 1399419914, 1399419913, 1399419910, 1399419912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.339534282684326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 00:33:21.849840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/28/image_15122025_00_28_35_10712.jpg', '/home/pi/Desktop/images/15122025/00/28/image_15122025_00_28_44_9833.jpg', '/home/pi/Desktop/images/15122025/00/28/image_15122025_00_28_54_9682.jpg', '/home/pi/Desktop/images/15122025/00/28/image_15122025_00_29_04_9994.jpg', '/home/pi/Desktop/images/15122025/00/29/image_15122025_00_29_14_9668.jpg', '/home/pi/Desktop/images/15122025/00/29/image_15122025_00_29_24_10606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/28/image_15122025_00_28_35_10712.jpg
/home/pi/Desktop/images/15122025/00/28/image_15122025_00_28_44_9833.jpg
/home/pi/Desktop/images/15122025/00/28/image_15122025_00_28_54_9682.jpg
/home/pi/Desktop/images/15122025/00/28/image_15122025_00_29_04_9994.jpg
/home/pi/Desktop/images/15122025/00/29/image_15122025_00_29_14_9668.jpg
/home/pi/Desktop/images/15122025/00/29/image_15122025_00_29_24_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":["1399419921","1399419920","1399419917","1399419916","1399419919","1399419918"],"photo_ids_order":["1399419916","1399419917","1399419918","1399419919","1399419920","1399419921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c379892f246f0b38986df94c12577ec6.jpg","text":"TemporaryFile(/tmp/multipartBody7005739493195504047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755262466,"filename":"image_15122025_00_29_24_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/15/06c2ea90b3b5efdf2677964ad258b2b7.jpg","text":"TemporaryFile(/tmp/multipartBody3862814385198326032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755262466,"filename":"image_15122025_00_29_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/15/1e33e2f2a91d5dea45aeb38d29115ccc.jpg","text":"TemporaryFile(/tmp/multipartBody3485838459698074736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755262466,"filename":"image_15122025_00_28_44_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/15/d16ae9f97aefb04e53f9a49dc748a65d.jpg","text":"TemporaryFile(/tmp/multipartBody130726594387526470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755262466,"filename":"image_15122025_00_28_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/15/b693fd352db4d3075b67d474a684f7a8.jpg","text":"TemporaryFile(/tmp/multipartBody7961702345856971474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755262466,"filename":"image_15122025_00_29_04_9994.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0cc6c2dbfecba5b68a3fe98551ab4440.jpg","text":"TemporaryFile(/tmp/multipartBody3608917152180721716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755262466,"filename":"image_15122025_00_28_54_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419918","file1":"1399419917","file0":"1399419916","file4":"1399419920","file5":"1399419921","file3":"1399419919"},"map_files_photo_id_array":[{"photo_id":"1399419921","filename":"file5"},{"photo_id":"1399419918","filename":"file2"},{"photo_id":"1399419920","filename":"file4"},{"photo_id":"1399419917","filename":"file1"},{"photo_id":"1399419916","filename":"file0"},{"photo_id":"1399419919","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399419921":["hashtag1","hashtag2"]},{"1399419920":["hashtag1","hashtag2"]},{"1399419917":["hashtag1","hashtag2"]},{"1399419916":["hashtag1","hashtag2"]},{"1399419919":["hashtag1","hashtag2"]},{"1399419918":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399419921, 1399419920, 1399419917, 1399419916, 1399419919, 1399419918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7573778629303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 00:34:02.999013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/29/image_15122025_00_29_34_9761.jpg', '/home/pi/Desktop/images/15122025/00/29/image_15122025_00_29_44_9864.jpg', '/home/pi/Desktop/images/15122025/00/29/image_15122025_00_30_04_9686.jpg', '/home/pi/Desktop/images/15122025/00/30/image_15122025_00_30_14_9612.jpg', '/home/pi/Desktop/images/15122025/00/30/image_15122025_00_30_24_10061.jpg', '/home/pi/Desktop/images/15122025/00/30/image_15122025_00_30_34_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/29/image_15122025_00_29_34_9761.jpg
/home/pi/Desktop/images/15122025/00/29/image_15122025_00_29_44_9864.jpg
/home/pi/Desktop/images/15122025/00/29/image_15122025_00_30_04_9686.jpg
/home/pi/Desktop/images/15122025/00/30/image_15122025_00_30_14_9612.jpg
/home/pi/Desktop/images/15122025/00/30/image_15122025_00_30_24_10061.jpg
/home/pi/Desktop/images/15122025/00/30/image_15122025_00_30_34_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":["1399419923","1399419926","1399419925","1399419922","1399419924","1399419927"],"photo_ids_order":["1399419922","1399419923","1399419924","1399419925","1399419926","1399419927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/42e172613ff078ce538a545a750cdce9.jpg","text":"TemporaryFile(/tmp/multipartBody947258788749287817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755303666,"filename":"image_15122025_00_29_44_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/15/8786b20eac4287016fe047c63658da4c.jpg","text":"TemporaryFile(/tmp/multipartBody8223888895653181606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755303666,"filename":"image_15122025_00_30_24_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/15/f29456d04edf0593472fa16be97126be.jpg","text":"TemporaryFile(/tmp/multipartBody2158166038336399397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755303666,"filename":"image_15122025_00_30_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/15/54a61bbaa864775db8b22054538968e5.jpg","text":"TemporaryFile(/tmp/multipartBody2051977297676409982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755303666,"filename":"image_15122025_00_29_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/15/c9479e73cc7752d9090129c2408f5c15.jpg","text":"TemporaryFile(/tmp/multipartBody9102127899936852303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755303666,"filename":"image_15122025_00_30_04_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cef8de4fc2f64e2ab02a9946170d86fc.jpg","text":"TemporaryFile(/tmp/multipartBody1293407738518326909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755303666,"filename":"image_15122025_00_30_34_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419924","file1":"1399419923","file0":"1399419922","file4":"1399419926","file5":"1399419927","file3":"1399419925"},"map_files_photo_id_array":[{"photo_id":"1399419927","filename":"file5"},{"photo_id":"1399419924","filename":"file2"},{"photo_id":"1399419926","filename":"file4"},{"photo_id":"1399419923","filename":"file1"},{"photo_id":"1399419922","filename":"file0"},{"photo_id":"1399419925","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399419923":["hashtag1","hashtag2"]},{"1399419926":["hashtag1","hashtag2"]},{"1399419925":["hashtag1","hashtag2"]},{"1399419922":["hashtag1","hashtag2"]},{"1399419924":["hashtag1","hashtag2"]},{"1399419927":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399419923, 1399419926, 1399419925, 1399419922, 1399419924, 1399419927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34221649169922 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 00:34:42.208582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/18/image_05112025_12_18_15_2736.jpg', '/home/pi/Desktop/images/05112025/12/18/image_05112025_12_18_18_2647.jpg', '/home/pi/Desktop/images/05112025/12/18/image_05112025_12_18_21_3619.jpg', '/home/pi/Desktop/images/05112025/12/18/image_05112025_12_18_24_2686.jpg', '/home/pi/Desktop/images/05112025/12/18/image_05112025_12_18_27_2567.jpg', '/home/pi/Desktop/images/05112025/12/18/image_05112025_12_18_30_3070.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/18/image_05112025_12_18_15_2736.jpg
/home/pi/Desktop/images/05112025/12/18/image_05112025_12_18_18_2647.jpg
/home/pi/Desktop/images/05112025/12/18/image_05112025_12_18_21_3619.jpg
/home/pi/Desktop/images/05112025/12/18/image_05112025_12_18_24_2686.jpg
/home/pi/Desktop/images/05112025/12/18/image_05112025_12_18_27_2567.jpg
/home/pi/Desktop/images/05112025/12/18/image_05112025_12_18_30_3070.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399419929","1399419932","1399419931","1399419928","1399419930","1399419933"],"photo_ids_order":["1399419928","1399419929","1399419930","1399419931","1399419932","1399419933"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ef8fa69e92593459cecc36ba5b253add.jpg","text":"TemporaryFile(/tmp/multipartBody4094780282550264586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755342929,"filename":"image_05112025_12_18_18_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/15/2acc8e09c1141351b4c870376ced6355.jpg","text":"TemporaryFile(/tmp/multipartBody757505850639361950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755342929,"filename":"image_05112025_12_18_27_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/15/4304a0cf1dad2455fb4d575c1e9f2df2.jpg","text":"TemporaryFile(/tmp/multipartBody5242656787242369112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755342929,"filename":"image_05112025_12_18_24_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fee693cf655f90e8ec0b318df5311b0a.jpg","text":"TemporaryFile(/tmp/multipartBody1199873999407416346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755342929,"filename":"image_05112025_12_18_15_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/15/d4eeb5cf850b313edc178af8b6c2f7d4.jpg","text":"TemporaryFile(/tmp/multipartBody1044826792387655142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755342929,"filename":"image_05112025_12_18_21_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/15/70accd6c129a02c09294042d48d85170.jpg","text":"TemporaryFile(/tmp/multipartBody7299212217210165038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755342929,"filename":"image_05112025_12_18_30_3070.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419930","file1":"1399419929","file0":"1399419928","file4":"1399419932","file5":"1399419933","file3":"1399419931"},"map_files_photo_id_array":[{"photo_id":"1399419933","filename":"file5"},{"photo_id":"1399419930","filename":"file2"},{"photo_id":"1399419932","filename":"file4"},{"photo_id":"1399419929","filename":"file1"},{"photo_id":"1399419928","filename":"file0"},{"photo_id":"1399419931","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399419929":["hashtag1","hashtag2"]},{"1399419932":["hashtag1","hashtag2"]},{"1399419931":["hashtag1","hashtag2"]},{"1399419928":["hashtag1","hashtag2"]},{"1399419930":["hashtag1","hashtag2"]},{"1399419933":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399419929, 1399419932, 1399419931, 1399419928, 1399419930, 1399419933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28800964355469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 00:35:22.443752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/30/image_15122025_00_30_44_10587.jpg', '/home/pi/Desktop/images/15122025/00/30/image_15122025_00_30_54_9745.jpg', '/home/pi/Desktop/images/15122025/00/30/image_15122025_00_31_04_9759.jpg', '/home/pi/Desktop/images/15122025/00/31/image_15122025_00_31_15_10718.jpg', '/home/pi/Desktop/images/15122025/00/31/image_15122025_00_31_24_9863.jpg', '/home/pi/Desktop/images/15122025/00/31/image_15122025_00_31_34_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/30/image_15122025_00_30_44_10587.jpg
/home/pi/Desktop/images/15122025/00/30/image_15122025_00_30_54_9745.jpg
/home/pi/Desktop/images/15122025/00/30/image_15122025_00_31_04_9759.jpg
/home/pi/Desktop/images/15122025/00/31/image_15122025_00_31_15_10718.jpg
/home/pi/Desktop/images/15122025/00/31/image_15122025_00_31_24_9863.jpg
/home/pi/Desktop/images/15122025/00/31/image_15122025_00_31_34_9660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399419935","1399419938","1399419940","1399419934","1399419937","1399419936"],"photo_ids_order":["1399419934","1399419935","1399419936","1399419937","1399419938","1399419940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2c57b866bff3c2d4e6c5c8016a02035a.jpg","text":"TemporaryFile(/tmp/multipartBody4545267037358564596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755383057,"filename":"image_15122025_00_30_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/15/cefb58a0ab8aae3c3e97c88a474cc0c1.jpg","text":"TemporaryFile(/tmp/multipartBody3766563290740949398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755383057,"filename":"image_15122025_00_31_24_9863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bc5bd97196a45ad0215a8032a54b8473.jpg","text":"TemporaryFile(/tmp/multipartBody759972603215355423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755383057,"filename":"image_15122025_00_31_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/15/30a8d3be743c99f284145fc45891c2b2.jpg","text":"TemporaryFile(/tmp/multipartBody2475019500307132685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755383057,"filename":"image_15122025_00_30_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/15/5b5d23a5c4a43bfa034ae9b798690d40.jpg","text":"TemporaryFile(/tmp/multipartBody9060772475024968051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755383057,"filename":"image_15122025_00_31_15_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/aebfdc9500843613c03aa1c81a9bcf97.jpg","text":"TemporaryFile(/tmp/multipartBody8235091855153700327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755383057,"filename":"image_15122025_00_31_04_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419936","file1":"1399419935","file0":"1399419934","file4":"1399419938","file5":"1399419940","file3":"1399419937"},"map_files_photo_id_array":[{"photo_id":"1399419940","filename":"file5"},{"photo_id":"1399419936","filename":"file2"},{"photo_id":"1399419938","filename":"file4"},{"photo_id":"1399419935","filename":"file1"},{"photo_id":"1399419934","filename":"file0"},{"photo_id":"1399419937","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399419935":["hashtag1","hashtag2"]},{"1399419938":["hashtag1","hashtag2"]},{"1399419940":["hashtag1","hashtag2"]},{"1399419934":["hashtag1","hashtag2"]},{"1399419937":["hashtag1","hashtag2"]},{"1399419936":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399419935, 1399419938, 1399419940, 1399419934, 1399419937, 1399419936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.14010834693909 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 00:36:03.108805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/31/image_15122025_00_31_44_9727.jpg', '/home/pi/Desktop/images/15122025/00/31/image_15122025_00_31_54_10596.jpg', '/home/pi/Desktop/images/15122025/00/31/image_15122025_00_32_04_9630.jpg', '/home/pi/Desktop/images/15122025/00/32/image_15122025_00_32_14_9791.jpg', '/home/pi/Desktop/images/15122025/00/32/image_15122025_00_32_24_10662.jpg', '/home/pi/Desktop/images/15122025/00/32/image_15122025_00_32_34_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/31/image_15122025_00_31_44_9727.jpg
/home/pi/Desktop/images/15122025/00/31/image_15122025_00_31_54_10596.jpg
/home/pi/Desktop/images/15122025/00/31/image_15122025_00_32_04_9630.jpg
/home/pi/Desktop/images/15122025/00/32/image_15122025_00_32_14_9791.jpg
/home/pi/Desktop/images/15122025/00/32/image_15122025_00_32_24_10662.jpg
/home/pi/Desktop/images/15122025/00/32/image_15122025_00_32_34_9617.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5310549736022949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 00:36:12.592809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_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/40/image_14122025_23_40_54_9062.jpg', '/home/pi/Desktop/images/14122025/23/40/image_14122025_23_41_04_10734.jpg', '/home/pi/Desktop/images/14122025/23/41/image_14122025_23_41_14_9664.jpg', '/home/pi/Desktop/images/14122025/23/41/image_14122025_23_41_24_9973.jpg', '/home/pi/Desktop/images/14122025/23/41/image_14122025_23_41_34_9609.jpg', '/home/pi/Desktop/images/14122025/23/41/image_14122025_23_41_44_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/23/40/image_14122025_23_40_54_9062.jpg
/home/pi/Desktop/images/14122025/23/40/image_14122025_23_41_04_10734.jpg
/home/pi/Desktop/images/14122025/23/41/image_14122025_23_41_14_9664.jpg
/home/pi/Desktop/images/14122025/23/41/image_14122025_23_41_24_9973.jpg
/home/pi/Desktop/images/14122025/23/41/image_14122025_23_41_34_9609.jpg
/home/pi/Desktop/images/14122025/23/41/image_14122025_23_41_44_10634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399419950","1399419944","1399419946","1399419949","1399419951","1399419948"],"photo_ids_order":["1399419944","1399419946","1399419948","1399419949","1399419950","1399419951"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bc298dca125e5a1e367af51326f4ae58.jpg","text":"TemporaryFile(/tmp/multipartBody8264327562692538153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755434148,"filename":"image_14122025_23_41_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/15/2dc08baee58a3e25f9fb6bf4a3c16f4f.jpg","text":"TemporaryFile(/tmp/multipartBody6188226480902134394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755434148,"filename":"image_14122025_23_40_54_9062.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7fbad17455e530d0c2919529f73311fd.jpg","text":"TemporaryFile(/tmp/multipartBody8073079310036253030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755434148,"filename":"image_14122025_23_41_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/15/f6f5f7d142d6bd452c9ef0ccf9c6d8f2.jpg","text":"TemporaryFile(/tmp/multipartBody7234691828045366211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755434148,"filename":"image_14122025_23_41_24_9973.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/38ae74e0aad79825a27d63f67aa404b7.jpg","text":"TemporaryFile(/tmp/multipartBody6748282192246218247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755434148,"filename":"image_14122025_23_41_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/15/02eb210b663d128c23a7d593107da7c5.jpg","text":"TemporaryFile(/tmp/multipartBody3242468529120269497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755434148,"filename":"image_14122025_23_41_14_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419948","file1":"1399419946","file0":"1399419944","file4":"1399419950","file5":"1399419951","file3":"1399419949"},"map_files_photo_id_array":[{"photo_id":"1399419951","filename":"file5"},{"photo_id":"1399419948","filename":"file2"},{"photo_id":"1399419950","filename":"file4"},{"photo_id":"1399419946","filename":"file1"},{"photo_id":"1399419944","filename":"file0"},{"photo_id":"1399419949","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399419950":["hashtag1","hashtag2"]},{"1399419944":["hashtag1","hashtag2"]},{"1399419946":["hashtag1","hashtag2"]},{"1399419949":["hashtag1","hashtag2"]},{"1399419951":["hashtag1","hashtag2"]},{"1399419948":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399419950, 1399419944, 1399419946, 1399419949, 1399419951, 1399419948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.056037187576294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 00:37:02.607131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/31/image_15122025_00_31_44_9727.jpg', '/home/pi/Desktop/images/15122025/00/31/image_15122025_00_31_54_10596.jpg', '/home/pi/Desktop/images/15122025/00/31/image_15122025_00_32_04_9630.jpg', '/home/pi/Desktop/images/15122025/00/32/image_15122025_00_32_14_9791.jpg', '/home/pi/Desktop/images/15122025/00/32/image_15122025_00_32_24_10662.jpg', '/home/pi/Desktop/images/15122025/00/32/image_15122025_00_32_34_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/31/image_15122025_00_31_44_9727.jpg
/home/pi/Desktop/images/15122025/00/31/image_15122025_00_31_54_10596.jpg
/home/pi/Desktop/images/15122025/00/31/image_15122025_00_32_04_9630.jpg
/home/pi/Desktop/images/15122025/00/32/image_15122025_00_32_14_9791.jpg
/home/pi/Desktop/images/15122025/00/32/image_15122025_00_32_24_10662.jpg
/home/pi/Desktop/images/15122025/00/32/image_15122025_00_32_34_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399419953","1399419956","1399419952","1399419955","1399419954","1399419957"],"photo_ids_order":["1399419952","1399419953","1399419954","1399419955","1399419956","1399419957"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/823408015ed8802c823e15d2248b546b.jpg","text":"TemporaryFile(/tmp/multipartBody2890769317857788478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755483327,"filename":"image_15122025_00_31_54_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/15/091483e868f4958ce19192a0891a2a0a.jpg","text":"TemporaryFile(/tmp/multipartBody4228966023856984796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755483327,"filename":"image_15122025_00_32_24_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/26da0477a5c1de289b81080263861325.jpg","text":"TemporaryFile(/tmp/multipartBody7935915739845738137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755483327,"filename":"image_15122025_00_31_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/15/f62a770e13b129bd6e5a707881b6c2fa.jpg","text":"TemporaryFile(/tmp/multipartBody7355086481593790236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755483327,"filename":"image_15122025_00_32_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/15/f96eae1a5bf3380a5c4175969f7b295a.jpg","text":"TemporaryFile(/tmp/multipartBody6132153237151801571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755483327,"filename":"image_15122025_00_32_04_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9a0bd873dfe1ba091e0b60f8ffe7eb37.jpg","text":"TemporaryFile(/tmp/multipartBody1468208013899247362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755483327,"filename":"image_15122025_00_32_34_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419954","file1":"1399419953","file0":"1399419952","file4":"1399419956","file5":"1399419957","file3":"1399419955"},"map_files_photo_id_array":[{"photo_id":"1399419957","filename":"file5"},{"photo_id":"1399419954","filename":"file2"},{"photo_id":"1399419956","filename":"file4"},{"photo_id":"1399419953","filename":"file1"},{"photo_id":"1399419952","filename":"file0"},{"photo_id":"1399419955","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399419953":["hashtag1","hashtag2"]},{"1399419956":["hashtag1","hashtag2"]},{"1399419952":["hashtag1","hashtag2"]},{"1399419955":["hashtag1","hashtag2"]},{"1399419954":["hashtag1","hashtag2"]},{"1399419957":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399419953, 1399419956, 1399419952, 1399419955, 1399419954, 1399419957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.662078619003296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 00:37:42.043398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/18/image_05112025_12_18_42_12201.jpg', '/home/pi/Desktop/images/05112025/12/18/image_05112025_12_18_44_1745.jpg', '/home/pi/Desktop/images/05112025/12/18/image_05112025_12_18_45_1759.jpg', '/home/pi/Desktop/images/05112025/12/18/image_05112025_12_18_47_1638.jpg', '/home/pi/Desktop/images/05112025/12/18/image_05112025_12_18_49_1712.jpg', '/home/pi/Desktop/images/05112025/12/18/image_05112025_12_18_50_1687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/18/image_05112025_12_18_42_12201.jpg
/home/pi/Desktop/images/05112025/12/18/image_05112025_12_18_44_1745.jpg
/home/pi/Desktop/images/05112025/12/18/image_05112025_12_18_45_1759.jpg
/home/pi/Desktop/images/05112025/12/18/image_05112025_12_18_47_1638.jpg
/home/pi/Desktop/images/05112025/12/18/image_05112025_12_18_49_1712.jpg
/home/pi/Desktop/images/05112025/12/18/image_05112025_12_18_50_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":["1399419962","1399419959","1399419961","1399419958","1399419960","1399419963"],"photo_ids_order":["1399419958","1399419959","1399419960","1399419961","1399419962","1399419963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5b737d6dfb1c2ffaf9933dd23e50edbb.jpg","text":"TemporaryFile(/tmp/multipartBody8361096970808562032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755522743,"filename":"image_05112025_12_18_49_1712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/40e56442c10f155ff5c5750b534479f5.jpg","text":"TemporaryFile(/tmp/multipartBody466077275125951143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755522743,"filename":"image_05112025_12_18_44_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/15/aaa8f7a943895de9e98b1533adc9ef60.jpg","text":"TemporaryFile(/tmp/multipartBody951079004892722277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755522743,"filename":"image_05112025_12_18_47_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/15/460eda689e4dbf947a18f1ad5cc969e7.jpg","text":"TemporaryFile(/tmp/multipartBody7748136213683270984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755522743,"filename":"image_05112025_12_18_42_12201.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e6a9823ecb69d8e9e4a12d032bf7ce41.jpg","text":"TemporaryFile(/tmp/multipartBody2466288627387285952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755522743,"filename":"image_05112025_12_18_45_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/15/2e288de3c8efcb34a7f9c1dd7c3e3261.jpg","text":"TemporaryFile(/tmp/multipartBody3160705294846781258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755522743,"filename":"image_05112025_12_18_50_1687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419960","file1":"1399419959","file0":"1399419958","file4":"1399419962","file5":"1399419963","file3":"1399419961"},"map_files_photo_id_array":[{"photo_id":"1399419963","filename":"file5"},{"photo_id":"1399419960","filename":"file2"},{"photo_id":"1399419962","filename":"file4"},{"photo_id":"1399419959","filename":"file1"},{"photo_id":"1399419958","filename":"file0"},{"photo_id":"1399419961","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399419962":["hashtag1","hashtag2"]},{"1399419959":["hashtag1","hashtag2"]},{"1399419961":["hashtag1","hashtag2"]},{"1399419958":["hashtag1","hashtag2"]},{"1399419960":["hashtag1","hashtag2"]},{"1399419963":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399419962, 1399419959, 1399419961, 1399419958, 1399419960, 1399419963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.84159326553345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 00:38:22.297558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/32/image_15122025_00_32_44_9721.jpg', '/home/pi/Desktop/images/15122025/00/32/image_15122025_00_32_55_10713.jpg', '/home/pi/Desktop/images/15122025/00/32/image_15122025_00_33_04_9725.jpg', '/home/pi/Desktop/images/15122025/00/33/image_15122025_00_33_14_9625.jpg', '/home/pi/Desktop/images/15122025/00/33/image_15122025_00_33_25_10672.jpg', '/home/pi/Desktop/images/15122025/00/33/image_15122025_00_33_34_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/32/image_15122025_00_32_44_9721.jpg
/home/pi/Desktop/images/15122025/00/32/image_15122025_00_32_55_10713.jpg
/home/pi/Desktop/images/15122025/00/32/image_15122025_00_33_04_9725.jpg
/home/pi/Desktop/images/15122025/00/33/image_15122025_00_33_14_9625.jpg
/home/pi/Desktop/images/15122025/00/33/image_15122025_00_33_25_10672.jpg
/home/pi/Desktop/images/15122025/00/33/image_15122025_00_33_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":["1399419965","1399419968","1399419970","1399419964","1399419967","1399419966"],"photo_ids_order":["1399419964","1399419965","1399419966","1399419967","1399419968","1399419970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/650e3129c13b71ae0c3c2f36085b52bb.jpg","text":"TemporaryFile(/tmp/multipartBody4197958908750871106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755562911,"filename":"image_15122025_00_32_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/15/2bb573d46e78eacdd8a77db94f79a747.jpg","text":"TemporaryFile(/tmp/multipartBody2795080777648154105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755562911,"filename":"image_15122025_00_33_25_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0d4e1bddc0432bbc9f970610d4b7aa15.jpg","text":"TemporaryFile(/tmp/multipartBody4700255586617436989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755562911,"filename":"image_15122025_00_33_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/15/90d042eba0928683c73dbab9c83bf127.jpg","text":"TemporaryFile(/tmp/multipartBody6638373687661720241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755562911,"filename":"image_15122025_00_32_44_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8c7e788bb84d0732bccf06f6518ff1fa.jpg","text":"TemporaryFile(/tmp/multipartBody7596349724099785825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755562911,"filename":"image_15122025_00_33_14_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/670cf0af3dbba157d95e5859c46e5b5a.jpg","text":"TemporaryFile(/tmp/multipartBody311861593935230049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755562911,"filename":"image_15122025_00_33_04_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419966","file1":"1399419965","file0":"1399419964","file4":"1399419968","file5":"1399419970","file3":"1399419967"},"map_files_photo_id_array":[{"photo_id":"1399419970","filename":"file5"},{"photo_id":"1399419966","filename":"file2"},{"photo_id":"1399419968","filename":"file4"},{"photo_id":"1399419965","filename":"file1"},{"photo_id":"1399419964","filename":"file0"},{"photo_id":"1399419967","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399419965":["hashtag1","hashtag2"]},{"1399419968":["hashtag1","hashtag2"]},{"1399419970":["hashtag1","hashtag2"]},{"1399419964":["hashtag1","hashtag2"]},{"1399419967":["hashtag1","hashtag2"]},{"1399419966":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399419965, 1399419968, 1399419970, 1399419964, 1399419967, 1399419966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22654604911804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 00:39:03.612202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/33/image_15122025_00_33_44_9887.jpg', '/home/pi/Desktop/images/15122025/00/33/image_15122025_00_33_54_9676.jpg', '/home/pi/Desktop/images/15122025/00/33/image_15122025_00_34_04_10574.jpg', '/home/pi/Desktop/images/15122025/00/34/image_15122025_00_34_14_9708.jpg', '/home/pi/Desktop/images/15122025/00/34/image_15122025_00_34_24_9686.jpg', '/home/pi/Desktop/images/15122025/00/34/image_15122025_00_34_34_10703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/33/image_15122025_00_33_44_9887.jpg
/home/pi/Desktop/images/15122025/00/33/image_15122025_00_33_54_9676.jpg
/home/pi/Desktop/images/15122025/00/33/image_15122025_00_34_04_10574.jpg
/home/pi/Desktop/images/15122025/00/34/image_15122025_00_34_14_9708.jpg
/home/pi/Desktop/images/15122025/00/34/image_15122025_00_34_24_9686.jpg
/home/pi/Desktop/images/15122025/00/34/image_15122025_00_34_34_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":["1399419971","1399419974","1399419976","1399419973","1399419972","1399419975"],"photo_ids_order":["1399419971","1399419972","1399419973","1399419974","1399419975","1399419976"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d71d18794c1e8c65c894f3b197ac52a8.jpg","text":"TemporaryFile(/tmp/multipartBody229698055266408864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755604366,"filename":"image_15122025_00_33_44_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bccfc401e6592ac13e77aaec180e0038.jpg","text":"TemporaryFile(/tmp/multipartBody8516554157719329937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755604366,"filename":"image_15122025_00_34_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/15/56b2ca4730eaf3eda45d35834adc028b.jpg","text":"TemporaryFile(/tmp/multipartBody1767028626697600886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755604366,"filename":"image_15122025_00_34_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/15/4887b747bf3f7cefc91aa198a2fa8c49.jpg","text":"TemporaryFile(/tmp/multipartBody8724621629198122603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755604366,"filename":"image_15122025_00_34_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/15/627c0886b04303175ae004258250bec3.jpg","text":"TemporaryFile(/tmp/multipartBody2672449632236389802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755604366,"filename":"image_15122025_00_33_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/15/ba883ef825da89a6b85c6bd23895c2b5.jpg","text":"TemporaryFile(/tmp/multipartBody5485871662937913228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755604366,"filename":"image_15122025_00_34_24_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419973","file1":"1399419972","file0":"1399419971","file4":"1399419975","file5":"1399419976","file3":"1399419974"},"map_files_photo_id_array":[{"photo_id":"1399419976","filename":"file5"},{"photo_id":"1399419973","filename":"file2"},{"photo_id":"1399419975","filename":"file4"},{"photo_id":"1399419972","filename":"file1"},{"photo_id":"1399419971","filename":"file0"},{"photo_id":"1399419974","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399419971":["hashtag1","hashtag2"]},{"1399419974":["hashtag1","hashtag2"]},{"1399419976":["hashtag1","hashtag2"]},{"1399419973":["hashtag1","hashtag2"]},{"1399419972":["hashtag1","hashtag2"]},{"1399419975":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399419971, 1399419974, 1399419976, 1399419973, 1399419972, 1399419975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90543270111084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 00:39:42.471208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/18/image_05112025_12_18_52_1716.jpg', '/home/pi/Desktop/images/05112025/12/18/image_05112025_12_18_54_1768.jpg', '/home/pi/Desktop/images/05112025/12/18/image_05112025_12_18_57_2718.jpg', '/home/pi/Desktop/images/05112025/12/18/image_05112025_12_19_00_3704.jpg', '/home/pi/Desktop/images/05112025/12/19/image_05112025_12_19_03_2593.jpg', '/home/pi/Desktop/images/05112025/12/19/image_05112025_12_19_12_8943.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/18/image_05112025_12_18_52_1716.jpg
/home/pi/Desktop/images/05112025/12/18/image_05112025_12_18_54_1768.jpg
/home/pi/Desktop/images/05112025/12/18/image_05112025_12_18_57_2718.jpg
/home/pi/Desktop/images/05112025/12/18/image_05112025_12_19_00_3704.jpg
/home/pi/Desktop/images/05112025/12/19/image_05112025_12_19_03_2593.jpg
/home/pi/Desktop/images/05112025/12/19/image_05112025_12_19_12_8943.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399419980","1399419977","1399419982","1399419979","1399419981","1399419978"],"photo_ids_order":["1399419977","1399419978","1399419979","1399419980","1399419981","1399419982"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0011730446118a14903110936bf76d51.jpg","text":"TemporaryFile(/tmp/multipartBody4638488234544545877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755643174,"filename":"image_05112025_12_19_00_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/15/908ffcf2301cf9f3b8aee68953f2f4f7.jpg","text":"TemporaryFile(/tmp/multipartBody5272484563063067250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755643174,"filename":"image_05112025_12_18_52_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/15/7cd7b321134dc8d6453f34e59e89eed4.jpg","text":"TemporaryFile(/tmp/multipartBody6772000429228935111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755643174,"filename":"image_05112025_12_19_12_8943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8a589f48d044c15838709f7b5ffc8b93.jpg","text":"TemporaryFile(/tmp/multipartBody8025804870168126306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755643174,"filename":"image_05112025_12_18_57_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3de90f1b6ac7fef95adfd53e6a91fb88.jpg","text":"TemporaryFile(/tmp/multipartBody1198924406738174379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755643174,"filename":"image_05112025_12_19_03_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/15/5daafbc468821ff8620d41590dd5ee5d.jpg","text":"TemporaryFile(/tmp/multipartBody2065308762854579746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755643174,"filename":"image_05112025_12_18_54_1768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419979","file1":"1399419978","file0":"1399419977","file4":"1399419981","file5":"1399419982","file3":"1399419980"},"map_files_photo_id_array":[{"photo_id":"1399419982","filename":"file5"},{"photo_id":"1399419979","filename":"file2"},{"photo_id":"1399419981","filename":"file4"},{"photo_id":"1399419978","filename":"file1"},{"photo_id":"1399419977","filename":"file0"},{"photo_id":"1399419980","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399419980":["hashtag1","hashtag2"]},{"1399419977":["hashtag1","hashtag2"]},{"1399419982":["hashtag1","hashtag2"]},{"1399419979":["hashtag1","hashtag2"]},{"1399419981":["hashtag1","hashtag2"]},{"1399419978":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399419980, 1399419977, 1399419982, 1399419979, 1399419981, 1399419978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51754951477051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 00:40:22.757189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/34/image_15122025_00_34_44_9866.jpg', '/home/pi/Desktop/images/15122025/00/34/image_15122025_00_35_04_9711.jpg', '/home/pi/Desktop/images/15122025/00/35/image_15122025_00_35_15_10786.jpg', '/home/pi/Desktop/images/15122025/00/35/image_15122025_00_35_34_9582.jpg', '/home/pi/Desktop/images/15122025/00/35/image_15122025_00_35_44_10627.jpg', '/home/pi/Desktop/images/15122025/00/35/image_15122025_00_35_54_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/34/image_15122025_00_34_44_9866.jpg
/home/pi/Desktop/images/15122025/00/34/image_15122025_00_35_04_9711.jpg
/home/pi/Desktop/images/15122025/00/35/image_15122025_00_35_15_10786.jpg
/home/pi/Desktop/images/15122025/00/35/image_15122025_00_35_34_9582.jpg
/home/pi/Desktop/images/15122025/00/35/image_15122025_00_35_44_10627.jpg
/home/pi/Desktop/images/15122025/00/35/image_15122025_00_35_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":["1399419983","1399419986","1399419988","1399419985","1399419987","1399419984"],"photo_ids_order":["1399419983","1399419984","1399419985","1399419986","1399419987","1399419988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2094c84ed361ebeb75867bcec9bea4cb.jpg","text":"TemporaryFile(/tmp/multipartBody6647273866477053748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755683376,"filename":"image_15122025_00_34_44_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/15/b8740dc1e581999a47f0e65d7590aea8.jpg","text":"TemporaryFile(/tmp/multipartBody8152023349803447634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755683376,"filename":"image_15122025_00_35_34_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/04933d7e565cbbc4bb202a510a8f3682.jpg","text":"TemporaryFile(/tmp/multipartBody822373374647886075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755683376,"filename":"image_15122025_00_35_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/15/1de73bf5327da8430e21c47b27b9c217.jpg","text":"TemporaryFile(/tmp/multipartBody4859275934421951874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755683376,"filename":"image_15122025_00_35_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/15/ed6ff103cb2856d2ecaa069472446d89.jpg","text":"TemporaryFile(/tmp/multipartBody2121114694077455139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755683376,"filename":"image_15122025_00_35_44_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/feb4304096249fb48db3c6d6ebaf1ff0.jpg","text":"TemporaryFile(/tmp/multipartBody6152590097456710435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755683376,"filename":"image_15122025_00_35_04_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419985","file1":"1399419984","file0":"1399419983","file4":"1399419987","file5":"1399419988","file3":"1399419986"},"map_files_photo_id_array":[{"photo_id":"1399419988","filename":"file5"},{"photo_id":"1399419985","filename":"file2"},{"photo_id":"1399419987","filename":"file4"},{"photo_id":"1399419984","filename":"file1"},{"photo_id":"1399419983","filename":"file0"},{"photo_id":"1399419986","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399419983":["hashtag1","hashtag2"]},{"1399419986":["hashtag1","hashtag2"]},{"1399419988":["hashtag1","hashtag2"]},{"1399419985":["hashtag1","hashtag2"]},{"1399419987":["hashtag1","hashtag2"]},{"1399419984":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399419983, 1399419986, 1399419988, 1399419985, 1399419987, 1399419984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56980800628662 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 00:41:02.709443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/35/image_15122025_00_36_04_9627.jpg', '/home/pi/Desktop/images/15122025/00/36/image_15122025_00_36_14_10591.jpg', '/home/pi/Desktop/images/15122025/00/36/image_15122025_00_36_24_9770.jpg', '/home/pi/Desktop/images/15122025/00/36/image_15122025_00_36_34_9606.jpg', '/home/pi/Desktop/images/15122025/00/36/image_15122025_00_36_45_10758.jpg', '/home/pi/Desktop/images/15122025/00/36/image_15122025_00_36_54_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/35/image_15122025_00_36_04_9627.jpg
/home/pi/Desktop/images/15122025/00/36/image_15122025_00_36_14_10591.jpg
/home/pi/Desktop/images/15122025/00/36/image_15122025_00_36_24_9770.jpg
/home/pi/Desktop/images/15122025/00/36/image_15122025_00_36_34_9606.jpg
/home/pi/Desktop/images/15122025/00/36/image_15122025_00_36_45_10758.jpg
/home/pi/Desktop/images/15122025/00/36/image_15122025_00_36_54_9661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399419992","1399419989","1399419994","1399419991","1399419990","1399419993"],"photo_ids_order":["1399419989","1399419990","1399419991","1399419992","1399419993","1399419994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/df266fe9fa411d0f93b896fbe05bd194.jpg","text":"TemporaryFile(/tmp/multipartBody4183834212742762241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755723389,"filename":"image_15122025_00_36_34_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7a94cdc58f13533b70a1d3bc8d3ab85f.jpg","text":"TemporaryFile(/tmp/multipartBody9087107066812805901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755723389,"filename":"image_15122025_00_36_04_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/321ddb6782d80bc81d8f5b2c0a7e0305.jpg","text":"TemporaryFile(/tmp/multipartBody3398093195386432252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755723389,"filename":"image_15122025_00_36_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/15/56a737ec76a7ccf899ab9f7a7baa62f0.jpg","text":"TemporaryFile(/tmp/multipartBody8999272412176333143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755723389,"filename":"image_15122025_00_36_24_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/15/d8268724aa9f01c01842f689953b8411.jpg","text":"TemporaryFile(/tmp/multipartBody3950696385814154331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755723389,"filename":"image_15122025_00_36_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/15/b14cb64410f794176f71ed67e96baeb0.jpg","text":"TemporaryFile(/tmp/multipartBody4912062589718955008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755723389,"filename":"image_15122025_00_36_45_10758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419991","file1":"1399419990","file0":"1399419989","file4":"1399419993","file5":"1399419994","file3":"1399419992"},"map_files_photo_id_array":[{"photo_id":"1399419994","filename":"file5"},{"photo_id":"1399419991","filename":"file2"},{"photo_id":"1399419993","filename":"file4"},{"photo_id":"1399419990","filename":"file1"},{"photo_id":"1399419989","filename":"file0"},{"photo_id":"1399419992","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399419992":["hashtag1","hashtag2"]},{"1399419989":["hashtag1","hashtag2"]},{"1399419994":["hashtag1","hashtag2"]},{"1399419991":["hashtag1","hashtag2"]},{"1399419990":["hashtag1","hashtag2"]},{"1399419993":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399419992, 1399419989, 1399419994, 1399419991, 1399419990, 1399419993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.145259380340576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 00:41:41.966266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/19/image_05112025_12_19_13_1658.jpg', '/home/pi/Desktop/images/05112025/12/19/image_05112025_12_19_15_1611.jpg', '/home/pi/Desktop/images/05112025/12/19/image_05112025_12_19_17_1638.jpg', '/home/pi/Desktop/images/05112025/12/19/image_05112025_12_19_18_1564.jpg', '/home/pi/Desktop/images/05112025/12/19/image_05112025_12_19_21_2736.jpg', '/home/pi/Desktop/images/05112025/12/19/image_05112025_12_19_31_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/19/image_05112025_12_19_13_1658.jpg
/home/pi/Desktop/images/05112025/12/19/image_05112025_12_19_15_1611.jpg
/home/pi/Desktop/images/05112025/12/19/image_05112025_12_19_17_1638.jpg
/home/pi/Desktop/images/05112025/12/19/image_05112025_12_19_18_1564.jpg
/home/pi/Desktop/images/05112025/12/19/image_05112025_12_19_21_2736.jpg
/home/pi/Desktop/images/05112025/12/19/image_05112025_12_19_31_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399419998","1399419995","1399419997","1399419999","1399419996","1399420000"],"photo_ids_order":["1399419995","1399419996","1399419997","1399419998","1399419999","1399420000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6187d1b22323889ef39347f11d7e7594.jpg","text":"TemporaryFile(/tmp/multipartBody4210801892534760517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755762696,"filename":"image_05112025_12_19_18_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/15/8f403d5750de8d2d637d8f21cc4dbd08.jpg","text":"TemporaryFile(/tmp/multipartBody7083265700670019234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755762696,"filename":"image_05112025_12_19_13_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/15/eab54c2165b5c07346bce2a4bffb9a83.jpg","text":"TemporaryFile(/tmp/multipartBody2243569231830779071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755762696,"filename":"image_05112025_12_19_17_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3c51cda72d24177539251a75475af229.jpg","text":"TemporaryFile(/tmp/multipartBody5242911741268966398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755762696,"filename":"image_05112025_12_19_21_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/15/ff4c883396c7598fe449544f6fa23464.jpg","text":"TemporaryFile(/tmp/multipartBody2224464049115047914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755762696,"filename":"image_05112025_12_19_15_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/15/5b218fc35d0a5cc38aee7b0877544c4f.jpg","text":"TemporaryFile(/tmp/multipartBody7313768221604570654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755762696,"filename":"image_05112025_12_19_31_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399419997","file1":"1399419996","file0":"1399419995","file4":"1399419999","file5":"1399420000","file3":"1399419998"},"map_files_photo_id_array":[{"photo_id":"1399420000","filename":"file5"},{"photo_id":"1399419997","filename":"file2"},{"photo_id":"1399419999","filename":"file4"},{"photo_id":"1399419996","filename":"file1"},{"photo_id":"1399419995","filename":"file0"},{"photo_id":"1399419998","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399419998":["hashtag1","hashtag2"]},{"1399419995":["hashtag1","hashtag2"]},{"1399419997":["hashtag1","hashtag2"]},{"1399419999":["hashtag1","hashtag2"]},{"1399419996":["hashtag1","hashtag2"]},{"1399420000":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399419998, 1399419995, 1399419997, 1399419999, 1399419996, 1399420000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.599843978881836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 00:42:22.288313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/36/image_15122025_00_37_04_9625.jpg', '/home/pi/Desktop/images/15122025/00/37/image_15122025_00_37_15_10774.jpg', '/home/pi/Desktop/images/15122025/00/37/image_15122025_00_37_24_9591.jpg', '/home/pi/Desktop/images/15122025/00/37/image_15122025_00_37_34_9760.jpg', '/home/pi/Desktop/images/15122025/00/37/image_15122025_00_37_44_9760.jpg', '/home/pi/Desktop/images/15122025/00/37/image_15122025_00_37_54_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/36/image_15122025_00_37_04_9625.jpg
/home/pi/Desktop/images/15122025/00/37/image_15122025_00_37_15_10774.jpg
/home/pi/Desktop/images/15122025/00/37/image_15122025_00_37_24_9591.jpg
/home/pi/Desktop/images/15122025/00/37/image_15122025_00_37_34_9760.jpg
/home/pi/Desktop/images/15122025/00/37/image_15122025_00_37_44_9760.jpg
/home/pi/Desktop/images/15122025/00/37/image_15122025_00_37_54_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":["1399420005","1399420002","1399420004","1399420001","1399420003","1399420006"],"photo_ids_order":["1399420001","1399420002","1399420003","1399420004","1399420005","1399420006"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d13dbe7cc0eab76b6aa2ba718bcc38c5.jpg","text":"TemporaryFile(/tmp/multipartBody725129149513625742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755802942,"filename":"image_15122025_00_37_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/15/af2b96b2a82a40a84ab9ddb810549fab.jpg","text":"TemporaryFile(/tmp/multipartBody1866004635567430729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755802942,"filename":"image_15122025_00_37_15_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/15/a15faf99bbfb9cbadf245efb753d8c74.jpg","text":"TemporaryFile(/tmp/multipartBody1929064214643327951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755802942,"filename":"image_15122025_00_37_34_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e4c344f190ebe096b7650fded14d4a99.jpg","text":"TemporaryFile(/tmp/multipartBody4276824490017263412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755802942,"filename":"image_15122025_00_37_04_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7ce6654cf9b51c34bc15d6311f8fb950.jpg","text":"TemporaryFile(/tmp/multipartBody25614511143635123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755802942,"filename":"image_15122025_00_37_24_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/da4d08fc1ac06c22183f6672e44f3635.jpg","text":"TemporaryFile(/tmp/multipartBody3260880963589446378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755802942,"filename":"image_15122025_00_37_54_10674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399420003","file1":"1399420002","file0":"1399420001","file4":"1399420005","file5":"1399420006","file3":"1399420004"},"map_files_photo_id_array":[{"photo_id":"1399420006","filename":"file5"},{"photo_id":"1399420003","filename":"file2"},{"photo_id":"1399420005","filename":"file4"},{"photo_id":"1399420002","filename":"file1"},{"photo_id":"1399420001","filename":"file0"},{"photo_id":"1399420004","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399420005":["hashtag1","hashtag2"]},{"1399420002":["hashtag1","hashtag2"]},{"1399420004":["hashtag1","hashtag2"]},{"1399420001":["hashtag1","hashtag2"]},{"1399420003":["hashtag1","hashtag2"]},{"1399420006":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399420005, 1399420002, 1399420004, 1399420001, 1399420003, 1399420006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.94610667228699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 00:43:03.029683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/38/image_15122025_00_38_15_10669.jpg', '/home/pi/Desktop/images/15122025/00/38/image_15122025_00_38_24_9650.jpg', '/home/pi/Desktop/images/15122025/00/38/image_15122025_00_38_34_9773.jpg', '/home/pi/Desktop/images/15122025/00/38/image_15122025_00_38_44_9827.jpg', '/home/pi/Desktop/images/15122025/00/38/image_15122025_00_38_55_10666.jpg', '/home/pi/Desktop/images/15122025/00/38/image_15122025_00_39_04_9837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/38/image_15122025_00_38_15_10669.jpg
/home/pi/Desktop/images/15122025/00/38/image_15122025_00_38_24_9650.jpg
/home/pi/Desktop/images/15122025/00/38/image_15122025_00_38_34_9773.jpg
/home/pi/Desktop/images/15122025/00/38/image_15122025_00_38_44_9827.jpg
/home/pi/Desktop/images/15122025/00/38/image_15122025_00_38_55_10666.jpg
/home/pi/Desktop/images/15122025/00/38/image_15122025_00_39_04_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":["1399420011","1399420008","1399420010","1399420007","1399420009","1399420012"],"photo_ids_order":["1399420007","1399420008","1399420009","1399420010","1399420011","1399420012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cd792627dbbc2234d3b413f92343cb21.jpg","text":"TemporaryFile(/tmp/multipartBody3852566547227852880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755843697,"filename":"image_15122025_00_38_55_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bc7012240735088b90fe1c78f681d63b.jpg","text":"TemporaryFile(/tmp/multipartBody888532787630110727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755843697,"filename":"image_15122025_00_38_24_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/798a72f15b018b71264dd3f6ac7d90fe.jpg","text":"TemporaryFile(/tmp/multipartBody9213545449127638285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755843697,"filename":"image_15122025_00_38_44_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/04382262283dc99cb06829300258871b.jpg","text":"TemporaryFile(/tmp/multipartBody8146759280431663312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755843697,"filename":"image_15122025_00_38_15_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d5c0ac55cb8786bda3a8bb85b31b6c82.jpg","text":"TemporaryFile(/tmp/multipartBody1961798879188486260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755843697,"filename":"image_15122025_00_38_34_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/26e6b43d34fd99f2a9ced6d629f9405e.jpg","text":"TemporaryFile(/tmp/multipartBody8015720119693224904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755843697,"filename":"image_15122025_00_39_04_9837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399420009","file1":"1399420008","file0":"1399420007","file4":"1399420011","file5":"1399420012","file3":"1399420010"},"map_files_photo_id_array":[{"photo_id":"1399420012","filename":"file5"},{"photo_id":"1399420009","filename":"file2"},{"photo_id":"1399420011","filename":"file4"},{"photo_id":"1399420008","filename":"file1"},{"photo_id":"1399420007","filename":"file0"},{"photo_id":"1399420010","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399420011":["hashtag1","hashtag2"]},{"1399420008":["hashtag1","hashtag2"]},{"1399420010":["hashtag1","hashtag2"]},{"1399420007":["hashtag1","hashtag2"]},{"1399420009":["hashtag1","hashtag2"]},{"1399420012":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399420011, 1399420008, 1399420010, 1399420007, 1399420009, 1399420012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50742268562317 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 00:43:42.421173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/19/image_05112025_12_19_43_11896.jpg', '/home/pi/Desktop/images/05112025/12/19/image_05112025_12_19_45_1617.jpg', '/home/pi/Desktop/images/05112025/12/19/image_05112025_12_19_47_1645.jpg', '/home/pi/Desktop/images/05112025/12/19/image_05112025_12_19_56_9853.jpg', '/home/pi/Desktop/images/05112025/12/19/image_05112025_12_19_58_1667.jpg', '/home/pi/Desktop/images/05112025/12/19/image_05112025_12_20_00_1607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/19/image_05112025_12_19_43_11896.jpg
/home/pi/Desktop/images/05112025/12/19/image_05112025_12_19_45_1617.jpg
/home/pi/Desktop/images/05112025/12/19/image_05112025_12_19_47_1645.jpg
/home/pi/Desktop/images/05112025/12/19/image_05112025_12_19_56_9853.jpg
/home/pi/Desktop/images/05112025/12/19/image_05112025_12_19_58_1667.jpg
/home/pi/Desktop/images/05112025/12/19/image_05112025_12_20_00_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":["1399420014","1399420017","1399420016","1399420013","1399420015","1399420018"],"photo_ids_order":["1399420013","1399420014","1399420015","1399420016","1399420017","1399420018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/08d75c6d53ff192cd0e5de4d1dbfe839.jpg","text":"TemporaryFile(/tmp/multipartBody8512760350463097326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755883119,"filename":"image_05112025_12_19_45_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/15/4b4dd7efb8229af978b5b976e7c106d5.jpg","text":"TemporaryFile(/tmp/multipartBody2312240935709307975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755883119,"filename":"image_05112025_12_19_58_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/15/777d6accef140ee668891e6302a70e07.jpg","text":"TemporaryFile(/tmp/multipartBody7974618845441196445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755883119,"filename":"image_05112025_12_19_56_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/15/08021dab290a6e77c2d8eae7bedcfc9d.jpg","text":"TemporaryFile(/tmp/multipartBody7967466195713983494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755883119,"filename":"image_05112025_12_19_43_11896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/21cd840cb9669ce8484fc1a3417b125c.jpg","text":"TemporaryFile(/tmp/multipartBody4017267567789302270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755883119,"filename":"image_05112025_12_19_47_1645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f55a1b772b3a3c5c17a19c78fbad3ce4.jpg","text":"TemporaryFile(/tmp/multipartBody3706658921495068491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755883119,"filename":"image_05112025_12_20_00_1607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399420015","file1":"1399420014","file0":"1399420013","file4":"1399420017","file5":"1399420018","file3":"1399420016"},"map_files_photo_id_array":[{"photo_id":"1399420018","filename":"file5"},{"photo_id":"1399420015","filename":"file2"},{"photo_id":"1399420017","filename":"file4"},{"photo_id":"1399420014","filename":"file1"},{"photo_id":"1399420013","filename":"file0"},{"photo_id":"1399420016","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399420014":["hashtag1","hashtag2"]},{"1399420017":["hashtag1","hashtag2"]},{"1399420016":["hashtag1","hashtag2"]},{"1399420013":["hashtag1","hashtag2"]},{"1399420015":["hashtag1","hashtag2"]},{"1399420018":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399420014, 1399420017, 1399420016, 1399420013, 1399420015, 1399420018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76583766937256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 00:44:22.735150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/39/image_15122025_00_39_14_9560.jpg', '/home/pi/Desktop/images/15122025/00/39/image_15122025_00_39_24_9937.jpg', '/home/pi/Desktop/images/15122025/00/39/image_15122025_00_39_44_9654.jpg', '/home/pi/Desktop/images/15122025/00/39/image_15122025_00_39_54_9580.jpg', '/home/pi/Desktop/images/15122025/00/39/image_15122025_00_40_05_10787.jpg', '/home/pi/Desktop/images/15122025/00/40/image_15122025_00_40_14_9798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/39/image_15122025_00_39_14_9560.jpg
/home/pi/Desktop/images/15122025/00/39/image_15122025_00_39_24_9937.jpg
/home/pi/Desktop/images/15122025/00/39/image_15122025_00_39_44_9654.jpg
/home/pi/Desktop/images/15122025/00/39/image_15122025_00_39_54_9580.jpg
/home/pi/Desktop/images/15122025/00/39/image_15122025_00_40_05_10787.jpg
/home/pi/Desktop/images/15122025/00/40/image_15122025_00_40_14_9798.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399420023","1399420026","1399420020","1399420025","1399420021","1399420024"],"photo_ids_order":["1399420020","1399420021","1399420023","1399420024","1399420025","1399420026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8e9a211c304b25fb081214c92b5ec45f.jpg","text":"TemporaryFile(/tmp/multipartBody4993233252763759562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755923347,"filename":"image_15122025_00_39_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/15/dbed6aa72207b777b23b3203f6a48df9.jpg","text":"TemporaryFile(/tmp/multipartBody2329920648504606362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755923347,"filename":"image_15122025_00_40_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/15/c35d1bf28d8949d7355379e41d4691ed.jpg","text":"TemporaryFile(/tmp/multipartBody5963960919114253291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755923347,"filename":"image_15122025_00_39_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/15/7f71f2755287887d315125caa7ce858a.jpg","text":"TemporaryFile(/tmp/multipartBody1146701010585771143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755923347,"filename":"image_15122025_00_40_05_10787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2f3a39432c07d064a5d5ddc967180406.jpg","text":"TemporaryFile(/tmp/multipartBody8270366912835879192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755923347,"filename":"image_15122025_00_39_24_9937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4da421f0375b2a40c7833a30571f28aa.jpg","text":"TemporaryFile(/tmp/multipartBody1531201234566177837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755923347,"filename":"image_15122025_00_39_54_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399420023","file1":"1399420021","file0":"1399420020","file4":"1399420025","file5":"1399420026","file3":"1399420024"},"map_files_photo_id_array":[{"photo_id":"1399420026","filename":"file5"},{"photo_id":"1399420023","filename":"file2"},{"photo_id":"1399420025","filename":"file4"},{"photo_id":"1399420021","filename":"file1"},{"photo_id":"1399420020","filename":"file0"},{"photo_id":"1399420024","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399420023":["hashtag1","hashtag2"]},{"1399420026":["hashtag1","hashtag2"]},{"1399420020":["hashtag1","hashtag2"]},{"1399420025":["hashtag1","hashtag2"]},{"1399420021":["hashtag1","hashtag2"]},{"1399420024":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399420023, 1399420026, 1399420020, 1399420025, 1399420021, 1399420024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44265866279602 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 00:45:02.516668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/40/image_15122025_00_40_44_9747.jpg', '/home/pi/Desktop/images/15122025/00/41/image_15122025_00_41_14_9744.jpg', '/home/pi/Desktop/images/15122025/00/41/image_15122025_00_41_25_10691.jpg', '/home/pi/Desktop/images/15122025/00/41/image_15122025_00_41_44_9752.jpg', '/home/pi/Desktop/images/15122025/00/41/image_15122025_00_41_54_9655.jpg', '/home/pi/Desktop/images/15122025/00/41/image_15122025_00_42_04_10742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/40/image_15122025_00_40_44_9747.jpg
/home/pi/Desktop/images/15122025/00/41/image_15122025_00_41_14_9744.jpg
/home/pi/Desktop/images/15122025/00/41/image_15122025_00_41_25_10691.jpg
/home/pi/Desktop/images/15122025/00/41/image_15122025_00_41_44_9752.jpg
/home/pi/Desktop/images/15122025/00/41/image_15122025_00_41_54_9655.jpg
/home/pi/Desktop/images/15122025/00/41/image_15122025_00_42_04_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":["1399420032","1399420029","1399420031","1399420028","1399420030","1399420027"],"photo_ids_order":["1399420027","1399420028","1399420029","1399420030","1399420031","1399420032"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/387b94e939eb5ab55fd66844f03cea52.jpg","text":"TemporaryFile(/tmp/multipartBody39417346926515328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755963214,"filename":"image_15122025_00_42_04_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/15/4d3f89b7ca1efcfb2b659cb6c6a1f3eb.jpg","text":"TemporaryFile(/tmp/multipartBody8183310481649712150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755963214,"filename":"image_15122025_00_41_25_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f0a22ea030343ca30d9d1ba8a53f7de2.jpg","text":"TemporaryFile(/tmp/multipartBody1218686881683514053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755963214,"filename":"image_15122025_00_41_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/15/fced78dee37da02782ea5196002240fc.jpg","text":"TemporaryFile(/tmp/multipartBody8483023612745549090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755963214,"filename":"image_15122025_00_41_14_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5dd745dd9197868c1da65bade9a068e8.jpg","text":"TemporaryFile(/tmp/multipartBody2852209035994690217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755963214,"filename":"image_15122025_00_41_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/15/dc4135ca6a954dc176b322353af8f96d.jpg","text":"TemporaryFile(/tmp/multipartBody7648435609113102941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765755963214,"filename":"image_15122025_00_40_44_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399420029","file1":"1399420028","file0":"1399420027","file4":"1399420031","file5":"1399420032","file3":"1399420030"},"map_files_photo_id_array":[{"photo_id":"1399420032","filename":"file5"},{"photo_id":"1399420029","filename":"file2"},{"photo_id":"1399420031","filename":"file4"},{"photo_id":"1399420028","filename":"file1"},{"photo_id":"1399420027","filename":"file0"},{"photo_id":"1399420030","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399420032":["hashtag1","hashtag2"]},{"1399420029":["hashtag1","hashtag2"]},{"1399420031":["hashtag1","hashtag2"]},{"1399420028":["hashtag1","hashtag2"]},{"1399420030":["hashtag1","hashtag2"]},{"1399420027":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399420032, 1399420029, 1399420031, 1399420028, 1399420030, 1399420027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.738375663757324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 00:45:41.919664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/20/image_05112025_12_20_01_1620.jpg', '/home/pi/Desktop/images/05112025/12/20/image_05112025_12_20_03_1823.jpg', '/home/pi/Desktop/images/05112025/12/20/image_05112025_12_20_05_1694.jpg', '/home/pi/Desktop/images/05112025/12/20/image_05112025_12_20_07_2552.jpg', '/home/pi/Desktop/images/05112025/12/20/image_05112025_12_20_09_1671.jpg', '/home/pi/Desktop/images/05112025/12/20/image_05112025_12_20_24_15390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/20/image_05112025_12_20_01_1620.jpg
/home/pi/Desktop/images/05112025/12/20/image_05112025_12_20_03_1823.jpg
/home/pi/Desktop/images/05112025/12/20/image_05112025_12_20_05_1694.jpg
/home/pi/Desktop/images/05112025/12/20/image_05112025_12_20_07_2552.jpg
/home/pi/Desktop/images/05112025/12/20/image_05112025_12_20_09_1671.jpg
/home/pi/Desktop/images/05112025/12/20/image_05112025_12_20_24_15390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399420038","1399420035","1399420034","1399420037","1399420033","1399420036"],"photo_ids_order":["1399420033","1399420034","1399420035","1399420036","1399420037","1399420038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0575512c2a772700e06072d71a092510.jpg","text":"TemporaryFile(/tmp/multipartBody1522594710131990051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756002640,"filename":"image_05112025_12_20_24_15390.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/739ec85528494e2ed67f6f619298649c.jpg","text":"TemporaryFile(/tmp/multipartBody4602228156198674285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756002640,"filename":"image_05112025_12_20_05_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/15/3c9d4aee2f085244da75f27f51ec4027.jpg","text":"TemporaryFile(/tmp/multipartBody8056659313533371163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756002640,"filename":"image_05112025_12_20_03_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/15/1ddd806a00fcdb8884be7a12e929f181.jpg","text":"TemporaryFile(/tmp/multipartBody7434717378613209112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756002640,"filename":"image_05112025_12_20_09_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/15/07ea9438e58231c9636a58438559027e.jpg","text":"TemporaryFile(/tmp/multipartBody2894022914162562069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756002640,"filename":"image_05112025_12_20_01_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/15/e270684faa80e687a6b091ffce1ada18.jpg","text":"TemporaryFile(/tmp/multipartBody8911679827377674172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756002640,"filename":"image_05112025_12_20_07_2552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399420035","file1":"1399420034","file0":"1399420033","file4":"1399420037","file5":"1399420038","file3":"1399420036"},"map_files_photo_id_array":[{"photo_id":"1399420038","filename":"file5"},{"photo_id":"1399420035","filename":"file2"},{"photo_id":"1399420037","filename":"file4"},{"photo_id":"1399420034","filename":"file1"},{"photo_id":"1399420033","filename":"file0"},{"photo_id":"1399420036","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399420038":["hashtag1","hashtag2"]},{"1399420035":["hashtag1","hashtag2"]},{"1399420034":["hashtag1","hashtag2"]},{"1399420037":["hashtag1","hashtag2"]},{"1399420033":["hashtag1","hashtag2"]},{"1399420036":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399420038, 1399420035, 1399420034, 1399420037, 1399420033, 1399420036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50587344169617 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 00:46:22.173415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/42/image_15122025_00_42_14_10027.jpg', '/home/pi/Desktop/images/15122025/00/42/image_15122025_00_42_24_9815.jpg', '/home/pi/Desktop/images/15122025/00/42/image_15122025_00_42_34_9587.jpg', '/home/pi/Desktop/images/15122025/00/42/image_15122025_00_42_45_10724.jpg', '/home/pi/Desktop/images/15122025/00/42/image_15122025_00_42_54_9635.jpg', '/home/pi/Desktop/images/15122025/00/42/image_15122025_00_43_04_9880.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/42/image_15122025_00_42_14_10027.jpg
/home/pi/Desktop/images/15122025/00/42/image_15122025_00_42_24_9815.jpg
/home/pi/Desktop/images/15122025/00/42/image_15122025_00_42_34_9587.jpg
/home/pi/Desktop/images/15122025/00/42/image_15122025_00_42_45_10724.jpg
/home/pi/Desktop/images/15122025/00/42/image_15122025_00_42_54_9635.jpg
/home/pi/Desktop/images/15122025/00/42/image_15122025_00_43_04_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":["1399420041","1399420044","1399420040","1399420043","1399420039","1399420042"],"photo_ids_order":["1399420039","1399420040","1399420041","1399420042","1399420043","1399420044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fd47816073887b455aea2ed7ed5b5993.jpg","text":"TemporaryFile(/tmp/multipartBody6476290466426697766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756042830,"filename":"image_15122025_00_42_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/15/f2e285e63f3acedacee63e88583778f0.jpg","text":"TemporaryFile(/tmp/multipartBody2436115415221020406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756042830,"filename":"image_15122025_00_43_04_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/15/a70b63cd22dbdc8a61c6cc8defb63fca.jpg","text":"TemporaryFile(/tmp/multipartBody4275358435284527507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756042830,"filename":"image_15122025_00_42_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/15/39aab116e639d818cfe66ee80387073e.jpg","text":"TemporaryFile(/tmp/multipartBody3201525703187696932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756042830,"filename":"image_15122025_00_42_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/15/b59aa9b851a36039de17d0392e16b63d.jpg","text":"TemporaryFile(/tmp/multipartBody6021221595918409133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756042830,"filename":"image_15122025_00_42_14_10027.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1bcd6565840f013eaaf2ae8acab36d29.jpg","text":"TemporaryFile(/tmp/multipartBody5607908743360724782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756042830,"filename":"image_15122025_00_42_45_10724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399420041","file1":"1399420040","file0":"1399420039","file4":"1399420043","file5":"1399420044","file3":"1399420042"},"map_files_photo_id_array":[{"photo_id":"1399420044","filename":"file5"},{"photo_id":"1399420041","filename":"file2"},{"photo_id":"1399420043","filename":"file4"},{"photo_id":"1399420040","filename":"file1"},{"photo_id":"1399420039","filename":"file0"},{"photo_id":"1399420042","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399420041":["hashtag1","hashtag2"]},{"1399420044":["hashtag1","hashtag2"]},{"1399420040":["hashtag1","hashtag2"]},{"1399420043":["hashtag1","hashtag2"]},{"1399420039":["hashtag1","hashtag2"]},{"1399420042":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399420041, 1399420044, 1399420040, 1399420043, 1399420039, 1399420042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.546342849731445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 00:47:03.015837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/43/image_15122025_00_43_14_9747.jpg', '/home/pi/Desktop/images/15122025/00/43/image_15122025_00_43_25_10808.jpg', '/home/pi/Desktop/images/15122025/00/43/image_15122025_00_43_34_9584.jpg', '/home/pi/Desktop/images/15122025/00/43/image_15122025_00_43_44_9769.jpg', '/home/pi/Desktop/images/15122025/00/44/image_15122025_00_44_14_9791.jpg', '/home/pi/Desktop/images/15122025/00/44/image_15122025_00_44_24_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/43/image_15122025_00_43_14_9747.jpg
/home/pi/Desktop/images/15122025/00/43/image_15122025_00_43_25_10808.jpg
/home/pi/Desktop/images/15122025/00/43/image_15122025_00_43_34_9584.jpg
/home/pi/Desktop/images/15122025/00/43/image_15122025_00_43_44_9769.jpg
/home/pi/Desktop/images/15122025/00/44/image_15122025_00_44_14_9791.jpg
/home/pi/Desktop/images/15122025/00/44/image_15122025_00_44_24_9736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399420050","1399420047","1399420049","1399420046","1399420045","1399420048"],"photo_ids_order":["1399420045","1399420046","1399420047","1399420048","1399420049","1399420050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e15b782d72da07a25bbec88953f5284b.jpg","text":"TemporaryFile(/tmp/multipartBody5751958692648977475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756083679,"filename":"image_15122025_00_44_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/15/04234aec00c82ddbbeb6541b1fb77c12.jpg","text":"TemporaryFile(/tmp/multipartBody7391666609464007685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756083679,"filename":"image_15122025_00_43_34_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/72bc0d355f173b6396dd09e786be99b9.jpg","text":"TemporaryFile(/tmp/multipartBody7674857606398571693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756083679,"filename":"image_15122025_00_44_14_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/db8619cde46507e52f51c980ac753d51.jpg","text":"TemporaryFile(/tmp/multipartBody7373266506078754657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756083679,"filename":"image_15122025_00_43_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/15/e07f81324c6bff60ce4bbdf7055ceb53.jpg","text":"TemporaryFile(/tmp/multipartBody4324321799747217775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756083679,"filename":"image_15122025_00_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/15/9b1b97193bf31ac5866704143fba54cc.jpg","text":"TemporaryFile(/tmp/multipartBody6089113619626401185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756083679,"filename":"image_15122025_00_43_44_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399420047","file1":"1399420046","file0":"1399420045","file4":"1399420049","file5":"1399420050","file3":"1399420048"},"map_files_photo_id_array":[{"photo_id":"1399420050","filename":"file5"},{"photo_id":"1399420047","filename":"file2"},{"photo_id":"1399420049","filename":"file4"},{"photo_id":"1399420046","filename":"file1"},{"photo_id":"1399420045","filename":"file0"},{"photo_id":"1399420048","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399420050":["hashtag1","hashtag2"]},{"1399420047":["hashtag1","hashtag2"]},{"1399420049":["hashtag1","hashtag2"]},{"1399420046":["hashtag1","hashtag2"]},{"1399420045":["hashtag1","hashtag2"]},{"1399420048":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399420050, 1399420047, 1399420049, 1399420046, 1399420045, 1399420048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7143132686615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 00:47:42.344145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/20/image_05112025_12_20_26_1679.jpg', '/home/pi/Desktop/images/05112025/12/20/image_05112025_12_20_54_27431.jpg', '/home/pi/Desktop/images/05112025/12/20/image_05112025_12_20_59_5341.jpg', '/home/pi/Desktop/images/05112025/12/20/image_05112025_12_21_00_1560.jpg', '/home/pi/Desktop/images/05112025/12/22/image_05112025_12_22_07_3011.jpg', '/home/pi/Desktop/images/05112025/12/22/image_05112025_12_22_11_3578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/20/image_05112025_12_20_26_1679.jpg
/home/pi/Desktop/images/05112025/12/20/image_05112025_12_20_54_27431.jpg
/home/pi/Desktop/images/05112025/12/20/image_05112025_12_20_59_5341.jpg
/home/pi/Desktop/images/05112025/12/20/image_05112025_12_21_00_1560.jpg
/home/pi/Desktop/images/05112025/12/22/image_05112025_12_22_07_3011.jpg
/home/pi/Desktop/images/05112025/12/22/image_05112025_12_22_11_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":["1399420056","1399420053","1399420052","1399420055","1399420051","1399420054"],"photo_ids_order":["1399420051","1399420052","1399420053","1399420054","1399420055","1399420056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d6d55909a1587f9a852e2daad84fcf18.jpg","text":"TemporaryFile(/tmp/multipartBody7722363728979137582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756123040,"filename":"image_05112025_12_22_11_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/15/127fec21adfd867d0b0c335028d879d7.jpg","text":"TemporaryFile(/tmp/multipartBody7772905407078016301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756123040,"filename":"image_05112025_12_20_59_5341.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b8d78ee165064771f2f17ddcd07f48b1.jpg","text":"TemporaryFile(/tmp/multipartBody2272703653186644787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756123040,"filename":"image_05112025_12_20_54_27431.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9ad4fdb7c7b7a376c828f0f90a17b16d.jpg","text":"TemporaryFile(/tmp/multipartBody2495434045648716650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756123040,"filename":"image_05112025_12_22_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/15/90d1c166c9850fa63cf7af9e16875b18.jpg","text":"TemporaryFile(/tmp/multipartBody2638433896410864525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756123040,"filename":"image_05112025_12_20_26_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/15/2fa1d32d19fd2169e3e0db5101d2b246.jpg","text":"TemporaryFile(/tmp/multipartBody301634131964581991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756123040,"filename":"image_05112025_12_21_00_1560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399420053","file1":"1399420052","file0":"1399420051","file4":"1399420055","file5":"1399420056","file3":"1399420054"},"map_files_photo_id_array":[{"photo_id":"1399420056","filename":"file5"},{"photo_id":"1399420053","filename":"file2"},{"photo_id":"1399420055","filename":"file4"},{"photo_id":"1399420052","filename":"file1"},{"photo_id":"1399420051","filename":"file0"},{"photo_id":"1399420054","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399420056":["hashtag1","hashtag2"]},{"1399420053":["hashtag1","hashtag2"]},{"1399420052":["hashtag1","hashtag2"]},{"1399420055":["hashtag1","hashtag2"]},{"1399420051":["hashtag1","hashtag2"]},{"1399420054":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399420056, 1399420053, 1399420052, 1399420055, 1399420051, 1399420054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.612550258636475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 00:48:22.617017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/44/image_15122025_00_44_34_9808.jpg', '/home/pi/Desktop/images/15122025/00/44/image_15122025_00_44_45_10593.jpg', '/home/pi/Desktop/images/15122025/00/44/image_15122025_00_44_54_9661.jpg', '/home/pi/Desktop/images/15122025/00/45/image_15122025_00_45_15_10649.jpg', '/home/pi/Desktop/images/15122025/00/45/image_15122025_00_45_34_9664.jpg', '/home/pi/Desktop/images/15122025/00/45/image_15122025_00_45_44_9975.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/44/image_15122025_00_44_34_9808.jpg
/home/pi/Desktop/images/15122025/00/44/image_15122025_00_44_45_10593.jpg
/home/pi/Desktop/images/15122025/00/44/image_15122025_00_44_54_9661.jpg
/home/pi/Desktop/images/15122025/00/45/image_15122025_00_45_15_10649.jpg
/home/pi/Desktop/images/15122025/00/45/image_15122025_00_45_34_9664.jpg
/home/pi/Desktop/images/15122025/00/45/image_15122025_00_45_44_9975.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399420062","1399420059","1399420061","1399420058","1399420057","1399420060"],"photo_ids_order":["1399420057","1399420058","1399420059","1399420060","1399420061","1399420062"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8aaf601603fc42db133c2230b376cd19.jpg","text":"TemporaryFile(/tmp/multipartBody823184411464145044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756163297,"filename":"image_15122025_00_45_44_9975.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b9ac48f6265e5d7414b25f6130c5e9ad.jpg","text":"TemporaryFile(/tmp/multipartBody7983346904636492152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756163297,"filename":"image_15122025_00_44_54_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a06be4a3c925d56d078a90ec2030aaab.jpg","text":"TemporaryFile(/tmp/multipartBody6333169144619072330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756163297,"filename":"image_15122025_00_45_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/15/606bd81d39b4c1e45b7ab75b2492ed40.jpg","text":"TemporaryFile(/tmp/multipartBody8292740080105575179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756163297,"filename":"image_15122025_00_44_45_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/69cf6827514d4a92b0dfbe3e011e1345.jpg","text":"TemporaryFile(/tmp/multipartBody2525647223520470741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756163297,"filename":"image_15122025_00_44_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/15/6e954b85ad534336cbf11c9591d23314.jpg","text":"TemporaryFile(/tmp/multipartBody8501808343439829159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756163297,"filename":"image_15122025_00_45_15_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399420059","file1":"1399420058","file0":"1399420057","file4":"1399420061","file5":"1399420062","file3":"1399420060"},"map_files_photo_id_array":[{"photo_id":"1399420062","filename":"file5"},{"photo_id":"1399420059","filename":"file2"},{"photo_id":"1399420061","filename":"file4"},{"photo_id":"1399420058","filename":"file1"},{"photo_id":"1399420057","filename":"file0"},{"photo_id":"1399420060","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399420062":["hashtag1","hashtag2"]},{"1399420059":["hashtag1","hashtag2"]},{"1399420061":["hashtag1","hashtag2"]},{"1399420058":["hashtag1","hashtag2"]},{"1399420057":["hashtag1","hashtag2"]},{"1399420060":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399420062, 1399420059, 1399420061, 1399420058, 1399420057, 1399420060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95714616775513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 00:49:02.781384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/45/image_15122025_00_45_55_10675.jpg', '/home/pi/Desktop/images/15122025/00/45/image_15122025_00_46_04_9677.jpg', '/home/pi/Desktop/images/15122025/00/46/image_15122025_00_46_14_9638.jpg', '/home/pi/Desktop/images/15122025/00/46/image_15122025_00_46_25_10736.jpg', '/home/pi/Desktop/images/15122025/00/46/image_15122025_00_46_34_9775.jpg', '/home/pi/Desktop/images/15122025/00/46/image_15122025_00_46_44_9845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/45/image_15122025_00_45_55_10675.jpg
/home/pi/Desktop/images/15122025/00/45/image_15122025_00_46_04_9677.jpg
/home/pi/Desktop/images/15122025/00/46/image_15122025_00_46_14_9638.jpg
/home/pi/Desktop/images/15122025/00/46/image_15122025_00_46_25_10736.jpg
/home/pi/Desktop/images/15122025/00/46/image_15122025_00_46_34_9775.jpg
/home/pi/Desktop/images/15122025/00/46/image_15122025_00_46_44_9845.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399420065","1399420067","1399420064","1399420063","1399420066","1399420068"],"photo_ids_order":["1399420063","1399420064","1399420065","1399420066","1399420067","1399420068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/eda55b0ec60484db3ace9f7d3288a45e.jpg","text":"TemporaryFile(/tmp/multipartBody7934052617046026074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756203613,"filename":"image_15122025_00_46_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/15/a04af36f34cc6adc629e303870e9ffa1.jpg","text":"TemporaryFile(/tmp/multipartBody1937095051342191834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756203613,"filename":"image_15122025_00_46_34_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/15/70024a409c81f269dd696bba5e2a365c.jpg","text":"TemporaryFile(/tmp/multipartBody7165937661687111763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756203613,"filename":"image_15122025_00_46_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/15/a50e93a5c54b8fa7ade473189a442490.jpg","text":"TemporaryFile(/tmp/multipartBody6662560649061318526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756203613,"filename":"image_15122025_00_45_55_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9c7fb9dc9d19707d5daf8b32aaee5be6.jpg","text":"TemporaryFile(/tmp/multipartBody1091447051452776916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756203613,"filename":"image_15122025_00_46_25_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/296f787061b12496389dae597542a5d8.jpg","text":"TemporaryFile(/tmp/multipartBody4398486936146607260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756203613,"filename":"image_15122025_00_46_44_9845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399420065","file1":"1399420064","file0":"1399420063","file4":"1399420067","file5":"1399420068","file3":"1399420066"},"map_files_photo_id_array":[{"photo_id":"1399420068","filename":"file5"},{"photo_id":"1399420065","filename":"file2"},{"photo_id":"1399420067","filename":"file4"},{"photo_id":"1399420064","filename":"file1"},{"photo_id":"1399420063","filename":"file0"},{"photo_id":"1399420066","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399420065":["hashtag1","hashtag2"]},{"1399420067":["hashtag1","hashtag2"]},{"1399420064":["hashtag1","hashtag2"]},{"1399420063":["hashtag1","hashtag2"]},{"1399420066":["hashtag1","hashtag2"]},{"1399420068":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399420065, 1399420067, 1399420064, 1399420063, 1399420066, 1399420068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02363109588623 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 00:49:41.900312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/22/image_05112025_12_22_13_2584.jpg', '/home/pi/Desktop/images/05112025/12/22/image_05112025_12_22_17_3649.jpg', '/home/pi/Desktop/images/05112025/12/22/image_05112025_12_22_20_2527.jpg', '/home/pi/Desktop/images/05112025/12/22/image_05112025_12_22_30_10925.jpg', '/home/pi/Desktop/images/05112025/12/22/image_05112025_12_22_32_1732.jpg', '/home/pi/Desktop/images/05112025/12/22/image_05112025_12_22_34_1549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/22/image_05112025_12_22_13_2584.jpg
/home/pi/Desktop/images/05112025/12/22/image_05112025_12_22_17_3649.jpg
/home/pi/Desktop/images/05112025/12/22/image_05112025_12_22_20_2527.jpg
/home/pi/Desktop/images/05112025/12/22/image_05112025_12_22_30_10925.jpg
/home/pi/Desktop/images/05112025/12/22/image_05112025_12_22_32_1732.jpg
/home/pi/Desktop/images/05112025/12/22/image_05112025_12_22_34_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":["1399420071","1399420070","1399420073","1399420072","1399420069","1399420074"],"photo_ids_order":["1399420069","1399420070","1399420071","1399420072","1399420073","1399420074"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e5b78ac3c344d78ea416c8a631322e05.jpg","text":"TemporaryFile(/tmp/multipartBody4238539910491246886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756242615,"filename":"image_05112025_12_22_20_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/15/cee12437c4c27f58bb6d65b21d36607a.jpg","text":"TemporaryFile(/tmp/multipartBody3889680400414523209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756242615,"filename":"image_05112025_12_22_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/15/41f2ac958962bc4743a87e413eaee94f.jpg","text":"TemporaryFile(/tmp/multipartBody814746073559800456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756242615,"filename":"image_05112025_12_22_32_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/15/1cf5d2536cfed6671d02a64de487b8f1.jpg","text":"TemporaryFile(/tmp/multipartBody3158497483561020274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756242615,"filename":"image_05112025_12_22_30_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/15/a70fa6c9749edfafb04708e53b6c75bd.jpg","text":"TemporaryFile(/tmp/multipartBody5952797471271645341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756242615,"filename":"image_05112025_12_22_13_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bb3082fd6de9c1c6889f62b2661921a3.jpg","text":"TemporaryFile(/tmp/multipartBody8460238204949296658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756242615,"filename":"image_05112025_12_22_34_1549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399420071","file1":"1399420070","file0":"1399420069","file4":"1399420073","file5":"1399420074","file3":"1399420072"},"map_files_photo_id_array":[{"photo_id":"1399420074","filename":"file5"},{"photo_id":"1399420071","filename":"file2"},{"photo_id":"1399420073","filename":"file4"},{"photo_id":"1399420070","filename":"file1"},{"photo_id":"1399420069","filename":"file0"},{"photo_id":"1399420072","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399420071":["hashtag1","hashtag2"]},{"1399420070":["hashtag1","hashtag2"]},{"1399420073":["hashtag1","hashtag2"]},{"1399420072":["hashtag1","hashtag2"]},{"1399420069":["hashtag1","hashtag2"]},{"1399420074":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399420071, 1399420070, 1399420073, 1399420072, 1399420069, 1399420074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95293664932251 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 00:50:22.173669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/46/image_15122025_00_47_04_9869.jpg', '/home/pi/Desktop/images/15122025/00/47/image_15122025_00_47_14_10717.jpg', '/home/pi/Desktop/images/15122025/00/47/image_15122025_00_47_24_9741.jpg', '/home/pi/Desktop/images/15122025/00/47/image_15122025_00_47_34_9595.jpg', '/home/pi/Desktop/images/15122025/00/47/image_15122025_00_47_45_10810.jpg', '/home/pi/Desktop/images/15122025/00/47/image_15122025_00_47_54_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/46/image_15122025_00_47_04_9869.jpg
/home/pi/Desktop/images/15122025/00/47/image_15122025_00_47_14_10717.jpg
/home/pi/Desktop/images/15122025/00/47/image_15122025_00_47_24_9741.jpg
/home/pi/Desktop/images/15122025/00/47/image_15122025_00_47_34_9595.jpg
/home/pi/Desktop/images/15122025/00/47/image_15122025_00_47_45_10810.jpg
/home/pi/Desktop/images/15122025/00/47/image_15122025_00_47_54_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":["1399420077","1399420079","1399420076","1399420075","1399420078","1399420080"],"photo_ids_order":["1399420075","1399420076","1399420077","1399420078","1399420079","1399420080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/19d168533e26dd242f0b5dfc54d5ff2e.jpg","text":"TemporaryFile(/tmp/multipartBody3290277868308016908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756282791,"filename":"image_15122025_00_47_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/15/534995607393cf3b86a1417585b21fc2.jpg","text":"TemporaryFile(/tmp/multipartBody6591330018749554067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756282791,"filename":"image_15122025_00_47_45_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/15/01ec5b165176e19e43b661514ec95fb4.jpg","text":"TemporaryFile(/tmp/multipartBody605059027452051848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756282791,"filename":"image_15122025_00_47_14_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/31a3c4b84889826399adf61716307fe2.jpg","text":"TemporaryFile(/tmp/multipartBody2654388415485692563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756282791,"filename":"image_15122025_00_47_04_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/15/20c1784b3cb73a2ff3007dadae973c93.jpg","text":"TemporaryFile(/tmp/multipartBody6034935715467226183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756282791,"filename":"image_15122025_00_47_34_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/daef4ac93f6a57e2ee31281b463ab826.jpg","text":"TemporaryFile(/tmp/multipartBody774599514957372841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756282791,"filename":"image_15122025_00_47_54_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399420077","file1":"1399420076","file0":"1399420075","file4":"1399420079","file5":"1399420080","file3":"1399420078"},"map_files_photo_id_array":[{"photo_id":"1399420080","filename":"file5"},{"photo_id":"1399420077","filename":"file2"},{"photo_id":"1399420079","filename":"file4"},{"photo_id":"1399420076","filename":"file1"},{"photo_id":"1399420075","filename":"file0"},{"photo_id":"1399420078","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399420077":["hashtag1","hashtag2"]},{"1399420079":["hashtag1","hashtag2"]},{"1399420076":["hashtag1","hashtag2"]},{"1399420075":["hashtag1","hashtag2"]},{"1399420078":["hashtag1","hashtag2"]},{"1399420080":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399420077, 1399420079, 1399420076, 1399420075, 1399420078, 1399420080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56995987892151 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 00:51:03.029710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/48/image_15122025_00_48_14_9764.jpg', '/home/pi/Desktop/images/15122025/00/48/image_15122025_00_48_24_10676.jpg', '/home/pi/Desktop/images/15122025/00/48/image_15122025_00_48_34_10028.jpg', '/home/pi/Desktop/images/15122025/00/48/image_15122025_00_48_44_9560.jpg', '/home/pi/Desktop/images/15122025/00/48/image_15122025_00_49_05_10673.jpg', '/home/pi/Desktop/images/15122025/00/49/image_15122025_00_49_14_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/48/image_15122025_00_48_14_9764.jpg
/home/pi/Desktop/images/15122025/00/48/image_15122025_00_48_24_10676.jpg
/home/pi/Desktop/images/15122025/00/48/image_15122025_00_48_34_10028.jpg
/home/pi/Desktop/images/15122025/00/48/image_15122025_00_48_44_9560.jpg
/home/pi/Desktop/images/15122025/00/48/image_15122025_00_49_05_10673.jpg
/home/pi/Desktop/images/15122025/00/49/image_15122025_00_49_14_9697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399420083","1399420085","1399420082","1399420081","1399420084","1399420086"],"photo_ids_order":["1399420081","1399420082","1399420083","1399420084","1399420085","1399420086"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9376dd9fd3435719152a206fbe789fb7.jpg","text":"TemporaryFile(/tmp/multipartBody2013954658584739616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756323739,"filename":"image_15122025_00_48_34_10028.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/69a61d4df8cee535e914a77538bc9dcb.jpg","text":"TemporaryFile(/tmp/multipartBody8094594478589032336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756323739,"filename":"image_15122025_00_49_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/15/a0d8118a24e06bf5eb7bce504c15c946.jpg","text":"TemporaryFile(/tmp/multipartBody4868230465416720154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756323739,"filename":"image_15122025_00_48_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/15/6ad43323796e7b1cf427808e295d4f53.jpg","text":"TemporaryFile(/tmp/multipartBody6217553020715012310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756323739,"filename":"image_15122025_00_48_14_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/33f5886f0b16f5970b620d5b2687dc3d.jpg","text":"TemporaryFile(/tmp/multipartBody7762560160784454973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756323739,"filename":"image_15122025_00_48_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/15/4d8fff61d50a4c72362850e3c464e4d7.jpg","text":"TemporaryFile(/tmp/multipartBody2631669240957497135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756323739,"filename":"image_15122025_00_49_14_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399420083","file1":"1399420082","file0":"1399420081","file4":"1399420085","file5":"1399420086","file3":"1399420084"},"map_files_photo_id_array":[{"photo_id":"1399420086","filename":"file5"},{"photo_id":"1399420083","filename":"file2"},{"photo_id":"1399420085","filename":"file4"},{"photo_id":"1399420082","filename":"file1"},{"photo_id":"1399420081","filename":"file0"},{"photo_id":"1399420084","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399420083":["hashtag1","hashtag2"]},{"1399420085":["hashtag1","hashtag2"]},{"1399420082":["hashtag1","hashtag2"]},{"1399420081":["hashtag1","hashtag2"]},{"1399420084":["hashtag1","hashtag2"]},{"1399420086":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399420083, 1399420085, 1399420082, 1399420081, 1399420084, 1399420086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.765212059020996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 00:51:42.415363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/22/image_05112025_12_22_36_1851.jpg', '/home/pi/Desktop/images/05112025/12/22/image_05112025_12_22_37_1604.jpg', '/home/pi/Desktop/images/05112025/12/22/image_05112025_12_22_39_1529.jpg', '/home/pi/Desktop/images/05112025/12/22/image_05112025_12_22_40_1662.jpg', '/home/pi/Desktop/images/05112025/12/22/image_05112025_12_22_44_3608.jpg', '/home/pi/Desktop/images/05112025/12/22/image_05112025_12_22_47_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/22/image_05112025_12_22_36_1851.jpg
/home/pi/Desktop/images/05112025/12/22/image_05112025_12_22_37_1604.jpg
/home/pi/Desktop/images/05112025/12/22/image_05112025_12_22_39_1529.jpg
/home/pi/Desktop/images/05112025/12/22/image_05112025_12_22_40_1662.jpg
/home/pi/Desktop/images/05112025/12/22/image_05112025_12_22_44_3608.jpg
/home/pi/Desktop/images/05112025/12/22/image_05112025_12_22_47_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":["1399420091","1399420088","1399420090","1399420087","1399420092","1399420089"],"photo_ids_order":["1399420087","1399420088","1399420089","1399420090","1399420091","1399420092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/483ce830da7d182587c3c3b195749876.jpg","text":"TemporaryFile(/tmp/multipartBody2395575785837897260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756363134,"filename":"image_05112025_12_22_44_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b009e75d3f5c9bf9a3b1cce9917152ca.jpg","text":"TemporaryFile(/tmp/multipartBody2741528906868429600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756363134,"filename":"image_05112025_12_22_37_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/15/cf9baf1d5f0b94c089804d7bae16b1bc.jpg","text":"TemporaryFile(/tmp/multipartBody4549354638138961961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756363134,"filename":"image_05112025_12_22_40_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/15/151aa97df6b7076ea3c938206af2ec17.jpg","text":"TemporaryFile(/tmp/multipartBody4015832145090917192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756363134,"filename":"image_05112025_12_22_36_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/15/eceedcabd623889345d0c62428234b7c.jpg","text":"TemporaryFile(/tmp/multipartBody2715075635360568904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756363134,"filename":"image_05112025_12_22_47_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/15/8930367d0b3221286ede869d4d24d58a.jpg","text":"TemporaryFile(/tmp/multipartBody3777742068137392501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756363134,"filename":"image_05112025_12_22_39_1529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399420089","file1":"1399420088","file0":"1399420087","file4":"1399420091","file5":"1399420092","file3":"1399420090"},"map_files_photo_id_array":[{"photo_id":"1399420092","filename":"file5"},{"photo_id":"1399420089","filename":"file2"},{"photo_id":"1399420091","filename":"file4"},{"photo_id":"1399420088","filename":"file1"},{"photo_id":"1399420087","filename":"file0"},{"photo_id":"1399420090","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399420091":["hashtag1","hashtag2"]},{"1399420088":["hashtag1","hashtag2"]},{"1399420090":["hashtag1","hashtag2"]},{"1399420087":["hashtag1","hashtag2"]},{"1399420092":["hashtag1","hashtag2"]},{"1399420089":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399420091, 1399420088, 1399420090, 1399420087, 1399420092, 1399420089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.117074728012085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 00:52:22.794187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/49/image_15122025_00_49_24_9692.jpg', '/home/pi/Desktop/images/15122025/00/49/image_15122025_00_49_35_10723.jpg', '/home/pi/Desktop/images/15122025/00/49/image_15122025_00_49_44_9688.jpg', '/home/pi/Desktop/images/15122025/00/49/image_15122025_00_49_54_9715.jpg', '/home/pi/Desktop/images/15122025/00/49/image_15122025_00_50_04_9777.jpg', '/home/pi/Desktop/images/15122025/00/50/image_15122025_00_50_24_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/49/image_15122025_00_49_24_9692.jpg
/home/pi/Desktop/images/15122025/00/49/image_15122025_00_49_35_10723.jpg
/home/pi/Desktop/images/15122025/00/49/image_15122025_00_49_44_9688.jpg
/home/pi/Desktop/images/15122025/00/49/image_15122025_00_49_54_9715.jpg
/home/pi/Desktop/images/15122025/00/49/image_15122025_00_50_04_9777.jpg
/home/pi/Desktop/images/15122025/00/50/image_15122025_00_50_24_9724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399420098","1399420097","1399420094","1399420093","1399420096","1399420095"],"photo_ids_order":["1399420093","1399420094","1399420095","1399420096","1399420097","1399420098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6018284d25f8a40c44e10c64cd460c61.jpg","text":"TemporaryFile(/tmp/multipartBody2305790857518491844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756403412,"filename":"image_15122025_00_50_24_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8f63e5bfa3b83e0e10c9a8c1340b5045.jpg","text":"TemporaryFile(/tmp/multipartBody6072853665850385654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756403412,"filename":"image_15122025_00_50_04_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/10601c9447a7b9503ba09c8d8b011b9e.jpg","text":"TemporaryFile(/tmp/multipartBody4610766588453589248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756403412,"filename":"image_15122025_00_49_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/15/618341fafb8c601ab93cc8c53e0fbb03.jpg","text":"TemporaryFile(/tmp/multipartBody134700158593422483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756403412,"filename":"image_15122025_00_49_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/15/fc1b5393cbc9bf6c73c80123c6323e1f.jpg","text":"TemporaryFile(/tmp/multipartBody3053911683664962338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756403412,"filename":"image_15122025_00_49_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/15/1709d8c5b8f781b930709d9f6a00d49d.jpg","text":"TemporaryFile(/tmp/multipartBody7914816914734288448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756403412,"filename":"image_15122025_00_49_44_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399420095","file1":"1399420094","file0":"1399420093","file4":"1399420097","file5":"1399420098","file3":"1399420096"},"map_files_photo_id_array":[{"photo_id":"1399420098","filename":"file5"},{"photo_id":"1399420095","filename":"file2"},{"photo_id":"1399420097","filename":"file4"},{"photo_id":"1399420094","filename":"file1"},{"photo_id":"1399420093","filename":"file0"},{"photo_id":"1399420096","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399420098":["hashtag1","hashtag2"]},{"1399420097":["hashtag1","hashtag2"]},{"1399420094":["hashtag1","hashtag2"]},{"1399420093":["hashtag1","hashtag2"]},{"1399420096":["hashtag1","hashtag2"]},{"1399420095":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399420098, 1399420097, 1399420094, 1399420093, 1399420096, 1399420095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41438102722168 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 00:53:02.510886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/50/image_15122025_00_50_34_9645.jpg', '/home/pi/Desktop/images/15122025/00/50/image_15122025_00_50_45_10720.jpg', '/home/pi/Desktop/images/15122025/00/50/image_15122025_00_50_54_9690.jpg', '/home/pi/Desktop/images/15122025/00/50/image_15122025_00_51_04_9829.jpg', '/home/pi/Desktop/images/15122025/00/51/image_15122025_00_51_14_9766.jpg', '/home/pi/Desktop/images/15122025/00/51/image_15122025_00_51_24_10016.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/50/image_15122025_00_50_34_9645.jpg
/home/pi/Desktop/images/15122025/00/50/image_15122025_00_50_45_10720.jpg
/home/pi/Desktop/images/15122025/00/50/image_15122025_00_50_54_9690.jpg
/home/pi/Desktop/images/15122025/00/50/image_15122025_00_51_04_9829.jpg
/home/pi/Desktop/images/15122025/00/51/image_15122025_00_51_14_9766.jpg
/home/pi/Desktop/images/15122025/00/51/image_15122025_00_51_24_10016.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399420104","1399420101","1399420103","1399420100","1399420099","1399420102"],"photo_ids_order":["1399420099","1399420100","1399420101","1399420102","1399420103","1399420104"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c969d9cc2735285b811b746ff0b5c9d0.jpg","text":"TemporaryFile(/tmp/multipartBody8439150392713489211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756443207,"filename":"image_15122025_00_51_24_10016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0f3fb9608500029d3c080318ebf7ebb4.jpg","text":"TemporaryFile(/tmp/multipartBody2396079015149180260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756443207,"filename":"image_15122025_00_50_54_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/87e1f687019139070bc28e33db12f671.jpg","text":"TemporaryFile(/tmp/multipartBody620072447129801199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756443207,"filename":"image_15122025_00_51_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/15/36e03af08e597e55a275fbeee5d211b7.jpg","text":"TemporaryFile(/tmp/multipartBody9220044563225362888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756443207,"filename":"image_15122025_00_50_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/15/4861fb259e0de1023df64f562af489dc.jpg","text":"TemporaryFile(/tmp/multipartBody8376690377175074708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756443207,"filename":"image_15122025_00_50_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/15/a1cdbe71194717fbf7573495e037c648.jpg","text":"TemporaryFile(/tmp/multipartBody4813343833449309459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756443207,"filename":"image_15122025_00_51_04_9829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399420101","file1":"1399420100","file0":"1399420099","file4":"1399420103","file5":"1399420104","file3":"1399420102"},"map_files_photo_id_array":[{"photo_id":"1399420104","filename":"file5"},{"photo_id":"1399420101","filename":"file2"},{"photo_id":"1399420103","filename":"file4"},{"photo_id":"1399420100","filename":"file1"},{"photo_id":"1399420099","filename":"file0"},{"photo_id":"1399420102","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399420104":["hashtag1","hashtag2"]},{"1399420101":["hashtag1","hashtag2"]},{"1399420103":["hashtag1","hashtag2"]},{"1399420100":["hashtag1","hashtag2"]},{"1399420099":["hashtag1","hashtag2"]},{"1399420102":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399420104, 1399420101, 1399420103, 1399420100, 1399420099, 1399420102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.715672731399536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 00:53:41.851589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/22/image_05112025_12_22_49_2560.jpg', '/home/pi/Desktop/images/05112025/12/22/image_05112025_12_22_53_3793.jpg', '/home/pi/Desktop/images/05112025/12/22/image_05112025_12_22_56_2613.jpg', '/home/pi/Desktop/images/05112025/12/23/image_05112025_12_23_14_18392.jpg', '/home/pi/Desktop/images/05112025/12/23/image_05112025_12_23_16_1740.jpg', '/home/pi/Desktop/images/05112025/12/23/image_05112025_12_23_17_1534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/22/image_05112025_12_22_49_2560.jpg
/home/pi/Desktop/images/05112025/12/22/image_05112025_12_22_53_3793.jpg
/home/pi/Desktop/images/05112025/12/22/image_05112025_12_22_56_2613.jpg
/home/pi/Desktop/images/05112025/12/23/image_05112025_12_23_14_18392.jpg
/home/pi/Desktop/images/05112025/12/23/image_05112025_12_23_16_1740.jpg
/home/pi/Desktop/images/05112025/12/23/image_05112025_12_23_17_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":["1399420110","1399420107","1399420109","1399420106","1399420108","1399420105"],"photo_ids_order":["1399420105","1399420106","1399420107","1399420108","1399420109","1399420110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f1aafc6f5cb52d1a2d149e136bfd8473.jpg","text":"TemporaryFile(/tmp/multipartBody2610804089455092224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756482554,"filename":"image_05112025_12_23_17_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/15/f030b09583c25d73541f236c94ec5be3.jpg","text":"TemporaryFile(/tmp/multipartBody9040335273994008851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756482554,"filename":"image_05112025_12_22_56_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/15/fcff13d29035cc4eb87295aa1993ba67.jpg","text":"TemporaryFile(/tmp/multipartBody3257944058427791443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756482554,"filename":"image_05112025_12_23_16_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/15/c476f51b3341c1b07af39c2cfb98c195.jpg","text":"TemporaryFile(/tmp/multipartBody2331139884277509148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756482554,"filename":"image_05112025_12_22_53_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/15/49a61905980b24e2e9bb818e41c98275.jpg","text":"TemporaryFile(/tmp/multipartBody4904825503109470591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756482554,"filename":"image_05112025_12_23_14_18392.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/06ae8fec4f6733f9622f34126cfc2261.jpg","text":"TemporaryFile(/tmp/multipartBody5848181898618695450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756482554,"filename":"image_05112025_12_22_49_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399420107","file1":"1399420106","file0":"1399420105","file4":"1399420109","file5":"1399420110","file3":"1399420108"},"map_files_photo_id_array":[{"photo_id":"1399420110","filename":"file5"},{"photo_id":"1399420107","filename":"file2"},{"photo_id":"1399420109","filename":"file4"},{"photo_id":"1399420106","filename":"file1"},{"photo_id":"1399420105","filename":"file0"},{"photo_id":"1399420108","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399420110":["hashtag1","hashtag2"]},{"1399420107":["hashtag1","hashtag2"]},{"1399420109":["hashtag1","hashtag2"]},{"1399420106":["hashtag1","hashtag2"]},{"1399420108":["hashtag1","hashtag2"]},{"1399420105":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399420110, 1399420107, 1399420109, 1399420106, 1399420108, 1399420105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.387399673461914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 00:54:22.147943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/51/image_15122025_00_51_34_9745.jpg', '/home/pi/Desktop/images/15122025/00/51/image_15122025_00_51_44_10666.jpg', '/home/pi/Desktop/images/15122025/00/51/image_15122025_00_52_04_9779.jpg', '/home/pi/Desktop/images/15122025/00/52/image_15122025_00_52_14_10643.jpg', '/home/pi/Desktop/images/15122025/00/52/image_15122025_00_52_24_9988.jpg', '/home/pi/Desktop/images/15122025/00/52/image_15122025_00_52_44_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/51/image_15122025_00_51_34_9745.jpg
/home/pi/Desktop/images/15122025/00/51/image_15122025_00_51_44_10666.jpg
/home/pi/Desktop/images/15122025/00/51/image_15122025_00_52_04_9779.jpg
/home/pi/Desktop/images/15122025/00/52/image_15122025_00_52_14_10643.jpg
/home/pi/Desktop/images/15122025/00/52/image_15122025_00_52_24_9988.jpg
/home/pi/Desktop/images/15122025/00/52/image_15122025_00_52_44_9768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399420113","1399420116","1399420115","1399420112","1399420111","1399420114"],"photo_ids_order":["1399420111","1399420112","1399420113","1399420114","1399420115","1399420116"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9e70bee729792e38a5eb5e3c365acfd1.jpg","text":"TemporaryFile(/tmp/multipartBody9171725719759477132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756522766,"filename":"image_15122025_00_52_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/15/c73a151b83dee37d05cb7233c17ca063.jpg","text":"TemporaryFile(/tmp/multipartBody2425017503273077914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756522766,"filename":"image_15122025_00_52_44_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/67db356ff2092aec07daa5d671ed27fb.jpg","text":"TemporaryFile(/tmp/multipartBody464803471973625439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756522766,"filename":"image_15122025_00_52_24_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/15/ce406e7d16214bca359b6f55c0af4922.jpg","text":"TemporaryFile(/tmp/multipartBody613080639000515526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756522766,"filename":"image_15122025_00_51_44_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/32bb652ff4abd2bbff468b2b66b3800b.jpg","text":"TemporaryFile(/tmp/multipartBody1426378163186460064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756522766,"filename":"image_15122025_00_51_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/15/e89b2440e06c8b82c30ad9729e82230b.jpg","text":"TemporaryFile(/tmp/multipartBody4254273491001858539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756522766,"filename":"image_15122025_00_52_14_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399420113","file1":"1399420112","file0":"1399420111","file4":"1399420115","file5":"1399420116","file3":"1399420114"},"map_files_photo_id_array":[{"photo_id":"1399420116","filename":"file5"},{"photo_id":"1399420113","filename":"file2"},{"photo_id":"1399420115","filename":"file4"},{"photo_id":"1399420112","filename":"file1"},{"photo_id":"1399420111","filename":"file0"},{"photo_id":"1399420114","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399420113":["hashtag1","hashtag2"]},{"1399420116":["hashtag1","hashtag2"]},{"1399420115":["hashtag1","hashtag2"]},{"1399420112":["hashtag1","hashtag2"]},{"1399420111":["hashtag1","hashtag2"]},{"1399420114":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399420113, 1399420116, 1399420115, 1399420112, 1399420111, 1399420114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.643654584884644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 00:55:02.964257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/52/image_15122025_00_52_55_10579.jpg', '/home/pi/Desktop/images/15122025/00/52/image_15122025_00_53_04_9594.jpg', '/home/pi/Desktop/images/15122025/00/53/image_15122025_00_53_14_9620.jpg', '/home/pi/Desktop/images/15122025/00/53/image_15122025_00_53_24_10742.jpg', '/home/pi/Desktop/images/15122025/00/53/image_15122025_00_53_34_9710.jpg', '/home/pi/Desktop/images/15122025/00/53/image_15122025_00_53_54_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/52/image_15122025_00_52_55_10579.jpg
/home/pi/Desktop/images/15122025/00/52/image_15122025_00_53_04_9594.jpg
/home/pi/Desktop/images/15122025/00/53/image_15122025_00_53_14_9620.jpg
/home/pi/Desktop/images/15122025/00/53/image_15122025_00_53_24_10742.jpg
/home/pi/Desktop/images/15122025/00/53/image_15122025_00_53_34_9710.jpg
/home/pi/Desktop/images/15122025/00/53/image_15122025_00_53_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":["1399420122","1399420119","1399420121","1399420118","1399420120","1399420117"],"photo_ids_order":["1399420117","1399420118","1399420119","1399420120","1399420121","1399420122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/45f9e1cc299bb17666a9e96d25b28f23.jpg","text":"TemporaryFile(/tmp/multipartBody351506596456419182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756563664,"filename":"image_15122025_00_53_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/15/18036f80cc2969fa078d64ad865cb0f3.jpg","text":"TemporaryFile(/tmp/multipartBody4895279189000074929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756563664,"filename":"image_15122025_00_53_14_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9f1ea1be10b3940543264b50cc7f016f.jpg","text":"TemporaryFile(/tmp/multipartBody7499216197483966012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756563664,"filename":"image_15122025_00_53_34_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9ea0a0bcf7a19a75f9740c8e6e88338d.jpg","text":"TemporaryFile(/tmp/multipartBody8548758363583700120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756563664,"filename":"image_15122025_00_53_04_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8e4001d7f2ca8eda10618f99b9833dd0.jpg","text":"TemporaryFile(/tmp/multipartBody1770404839632879433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756563664,"filename":"image_15122025_00_53_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/15/33f67375a403beb07ea3122e578d78d1.jpg","text":"TemporaryFile(/tmp/multipartBody6482959927514357327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756563664,"filename":"image_15122025_00_52_55_10579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399420119","file1":"1399420118","file0":"1399420117","file4":"1399420121","file5":"1399420122","file3":"1399420120"},"map_files_photo_id_array":[{"photo_id":"1399420122","filename":"file5"},{"photo_id":"1399420119","filename":"file2"},{"photo_id":"1399420121","filename":"file4"},{"photo_id":"1399420118","filename":"file1"},{"photo_id":"1399420117","filename":"file0"},{"photo_id":"1399420120","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399420122":["hashtag1","hashtag2"]},{"1399420119":["hashtag1","hashtag2"]},{"1399420121":["hashtag1","hashtag2"]},{"1399420118":["hashtag1","hashtag2"]},{"1399420120":["hashtag1","hashtag2"]},{"1399420117":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399420122, 1399420119, 1399420121, 1399420118, 1399420120, 1399420117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45630145072937 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 00:55:42.303028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/23/image_05112025_12_23_19_1745.jpg', '/home/pi/Desktop/images/05112025/12/23/image_05112025_12_23_26_6669.jpg', '/home/pi/Desktop/images/05112025/12/23/image_05112025_12_23_27_1723.jpg', '/home/pi/Desktop/images/05112025/12/23/image_05112025_12_23_29_1572.jpg', '/home/pi/Desktop/images/05112025/12/23/image_05112025_12_23_31_1557.jpg', '/home/pi/Desktop/images/05112025/12/23/image_05112025_12_23_33_1988.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/23/image_05112025_12_23_19_1745.jpg
/home/pi/Desktop/images/05112025/12/23/image_05112025_12_23_26_6669.jpg
/home/pi/Desktop/images/05112025/12/23/image_05112025_12_23_27_1723.jpg
/home/pi/Desktop/images/05112025/12/23/image_05112025_12_23_29_1572.jpg
/home/pi/Desktop/images/05112025/12/23/image_05112025_12_23_31_1557.jpg
/home/pi/Desktop/images/05112025/12/23/image_05112025_12_23_33_1988.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399420125","1399420128","1399420127","1399420124","1399420126","1399420123"],"photo_ids_order":["1399420123","1399420124","1399420125","1399420126","1399420127","1399420128"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e96414bfa617355b1d940d29ce3d1a77.jpg","text":"TemporaryFile(/tmp/multipartBody4194762737938258872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756603004,"filename":"image_05112025_12_23_27_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/15/287008c8326a6cdf44f535d09bc31184.jpg","text":"TemporaryFile(/tmp/multipartBody7426545872414649742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756603004,"filename":"image_05112025_12_23_33_1988.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a2055f52b141e0ff0752cae280e1c1e9.jpg","text":"TemporaryFile(/tmp/multipartBody347533042823820764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756603004,"filename":"image_05112025_12_23_31_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/15/93c9d03237d6b2368bec2d56d33e48cb.jpg","text":"TemporaryFile(/tmp/multipartBody3468528951030691115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756603004,"filename":"image_05112025_12_23_26_6669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/792083b3b3446179570275313fabb77b.jpg","text":"TemporaryFile(/tmp/multipartBody251840347352061802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756603004,"filename":"image_05112025_12_23_29_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/15/3cafefb1fb4a73cf9ce1590ec9c069dc.jpg","text":"TemporaryFile(/tmp/multipartBody995402507977362182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756603004,"filename":"image_05112025_12_23_19_1745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399420125","file1":"1399420124","file0":"1399420123","file4":"1399420127","file5":"1399420128","file3":"1399420126"},"map_files_photo_id_array":[{"photo_id":"1399420128","filename":"file5"},{"photo_id":"1399420125","filename":"file2"},{"photo_id":"1399420127","filename":"file4"},{"photo_id":"1399420124","filename":"file1"},{"photo_id":"1399420123","filename":"file0"},{"photo_id":"1399420126","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399420125":["hashtag1","hashtag2"]},{"1399420128":["hashtag1","hashtag2"]},{"1399420127":["hashtag1","hashtag2"]},{"1399420124":["hashtag1","hashtag2"]},{"1399420126":["hashtag1","hashtag2"]},{"1399420123":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399420125, 1399420128, 1399420127, 1399420124, 1399420126, 1399420123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.227028608322144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 00:56:22.593376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/54/image_15122025_00_54_14_9729.jpg', '/home/pi/Desktop/images/15122025/00/54/image_15122025_00_54_24_9670.jpg', '/home/pi/Desktop/images/15122025/00/54/image_15122025_00_54_35_10670.jpg', '/home/pi/Desktop/images/15122025/00/54/image_15122025_00_54_44_9628.jpg', '/home/pi/Desktop/images/15122025/00/54/image_15122025_00_54_54_9591.jpg', '/home/pi/Desktop/images/15122025/00/54/image_15122025_00_55_05_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/54/image_15122025_00_54_14_9729.jpg
/home/pi/Desktop/images/15122025/00/54/image_15122025_00_54_24_9670.jpg
/home/pi/Desktop/images/15122025/00/54/image_15122025_00_54_35_10670.jpg
/home/pi/Desktop/images/15122025/00/54/image_15122025_00_54_44_9628.jpg
/home/pi/Desktop/images/15122025/00/54/image_15122025_00_54_54_9591.jpg
/home/pi/Desktop/images/15122025/00/54/image_15122025_00_55_05_10673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399420131","1399420133","1399420130","1399420132","1399420135","1399420129"],"photo_ids_order":["1399420129","1399420130","1399420131","1399420132","1399420133","1399420135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2ef039488f1d775a87ca0d4d5d089a03.jpg","text":"TemporaryFile(/tmp/multipartBody4542335408138831165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756643210,"filename":"image_15122025_00_54_35_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/db32568e2b17b5c55e580132c03154ab.jpg","text":"TemporaryFile(/tmp/multipartBody2356098588745587061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756643210,"filename":"image_15122025_00_54_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/15/94baf3a1a4f87aad08d54c9f6ea1c207.jpg","text":"TemporaryFile(/tmp/multipartBody7672380879236873633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756643210,"filename":"image_15122025_00_54_24_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d14539124c43594293838442c338c95f.jpg","text":"TemporaryFile(/tmp/multipartBody31948455904717040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756643210,"filename":"image_15122025_00_54_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/15/a0008fa8a516141408a8f1354a1142c9.jpg","text":"TemporaryFile(/tmp/multipartBody6414413663011028228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756643210,"filename":"image_15122025_00_55_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/15/a353b6b963328ef84de0981ae638b7ae.jpg","text":"TemporaryFile(/tmp/multipartBody5437000939503198014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756643210,"filename":"image_15122025_00_54_14_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399420131","file1":"1399420130","file0":"1399420129","file4":"1399420133","file5":"1399420135","file3":"1399420132"},"map_files_photo_id_array":[{"photo_id":"1399420135","filename":"file5"},{"photo_id":"1399420131","filename":"file2"},{"photo_id":"1399420133","filename":"file4"},{"photo_id":"1399420130","filename":"file1"},{"photo_id":"1399420129","filename":"file0"},{"photo_id":"1399420132","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399420131":["hashtag1","hashtag2"]},{"1399420133":["hashtag1","hashtag2"]},{"1399420130":["hashtag1","hashtag2"]},{"1399420132":["hashtag1","hashtag2"]},{"1399420135":["hashtag1","hashtag2"]},{"1399420129":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399420131, 1399420133, 1399420130, 1399420132, 1399420135, 1399420129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.296053409576416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 00:57:02.511371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/55/image_15122025_00_55_14_9935.jpg', '/home/pi/Desktop/images/15122025/00/55/image_15122025_00_55_24_9713.jpg', '/home/pi/Desktop/images/15122025/00/55/image_15122025_00_55_34_9713.jpg', '/home/pi/Desktop/images/15122025/00/55/image_15122025_00_55_45_10700.jpg', '/home/pi/Desktop/images/15122025/00/55/image_15122025_00_56_04_9832.jpg', '/home/pi/Desktop/images/15122025/00/56/image_15122025_00_56_14_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/55/image_15122025_00_55_14_9935.jpg
/home/pi/Desktop/images/15122025/00/55/image_15122025_00_55_24_9713.jpg
/home/pi/Desktop/images/15122025/00/55/image_15122025_00_55_34_9713.jpg
/home/pi/Desktop/images/15122025/00/55/image_15122025_00_55_45_10700.jpg
/home/pi/Desktop/images/15122025/00/55/image_15122025_00_56_04_9832.jpg
/home/pi/Desktop/images/15122025/00/56/image_15122025_00_56_14_9734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399420140","1399420137","1399420136","1399420139","1399420138","1399420141"],"photo_ids_order":["1399420136","1399420137","1399420138","1399420139","1399420140","1399420141"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0163a3d09d9731f258c72a8acf2dcbbc.jpg","text":"TemporaryFile(/tmp/multipartBody7513428922427465059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756683211,"filename":"image_15122025_00_56_04_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4eae81684328b4f636a1d67d39fbb8b8.jpg","text":"TemporaryFile(/tmp/multipartBody9085541413327443365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756683211,"filename":"image_15122025_00_55_24_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4edde2af3583d37e0e24ab5f42475129.jpg","text":"TemporaryFile(/tmp/multipartBody5793521592240187952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756683211,"filename":"image_15122025_00_55_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/15/11510085ba575d2f7f76cc188fe374b1.jpg","text":"TemporaryFile(/tmp/multipartBody4288307189474565545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756683211,"filename":"image_15122025_00_55_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/15/084057bc3c7688252736c1de0ebf6f8a.jpg","text":"TemporaryFile(/tmp/multipartBody4410956412119965035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756683211,"filename":"image_15122025_00_55_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/15/04d0afbea0f70e31c1ea78415a8068db.jpg","text":"TemporaryFile(/tmp/multipartBody2527034292370181829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756683211,"filename":"image_15122025_00_56_14_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399420138","file1":"1399420137","file0":"1399420136","file4":"1399420140","file5":"1399420141","file3":"1399420139"},"map_files_photo_id_array":[{"photo_id":"1399420141","filename":"file5"},{"photo_id":"1399420138","filename":"file2"},{"photo_id":"1399420140","filename":"file4"},{"photo_id":"1399420137","filename":"file1"},{"photo_id":"1399420136","filename":"file0"},{"photo_id":"1399420139","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399420140":["hashtag1","hashtag2"]},{"1399420137":["hashtag1","hashtag2"]},{"1399420136":["hashtag1","hashtag2"]},{"1399420139":["hashtag1","hashtag2"]},{"1399420138":["hashtag1","hashtag2"]},{"1399420141":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399420140, 1399420137, 1399420136, 1399420139, 1399420138, 1399420141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39112830162048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 00:57:41.924414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/23/image_05112025_12_23_34_1482.jpg', '/home/pi/Desktop/images/05112025/12/23/image_05112025_12_23_36_1663.jpg', '/home/pi/Desktop/images/05112025/12/23/image_05112025_12_23_37_1633.jpg', '/home/pi/Desktop/images/05112025/12/23/image_05112025_12_23_39_1855.jpg', '/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_06_3014.jpg', '/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_10_3615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/23/image_05112025_12_23_34_1482.jpg
/home/pi/Desktop/images/05112025/12/23/image_05112025_12_23_36_1663.jpg
/home/pi/Desktop/images/05112025/12/23/image_05112025_12_23_37_1633.jpg
/home/pi/Desktop/images/05112025/12/23/image_05112025_12_23_39_1855.jpg
/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_06_3014.jpg
/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_10_3615.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399420143","1399420146","1399420145","1399420142","1399420144","1399420147"],"photo_ids_order":["1399420142","1399420143","1399420144","1399420145","1399420146","1399420147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f5be9fe4083d7bab0e6fde20a6f31db1.jpg","text":"TemporaryFile(/tmp/multipartBody7288177965576207123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756722632,"filename":"image_05112025_12_23_36_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/15/70c2b952dc581d3bc6a35189bc76bad6.jpg","text":"TemporaryFile(/tmp/multipartBody6885747559769808408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756722632,"filename":"image_05112025_12_25_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/15/9870ba711ce8fddd551501e9e09d16c2.jpg","text":"TemporaryFile(/tmp/multipartBody8811150355248461065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756722632,"filename":"image_05112025_12_23_39_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/15/a4dab4a43a7fe652ce689d14a91fa2b3.jpg","text":"TemporaryFile(/tmp/multipartBody1817998368474229894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756722632,"filename":"image_05112025_12_23_34_1482.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9013b3fd73fe93c5d90dc46ce23158e7.jpg","text":"TemporaryFile(/tmp/multipartBody7731372690299980255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756722632,"filename":"image_05112025_12_23_37_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/15/c20712a2dadb0624409ee79606eead51.jpg","text":"TemporaryFile(/tmp/multipartBody3246865299081808448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756722632,"filename":"image_05112025_12_25_10_3615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399420144","file1":"1399420143","file0":"1399420142","file4":"1399420146","file5":"1399420147","file3":"1399420145"},"map_files_photo_id_array":[{"photo_id":"1399420147","filename":"file5"},{"photo_id":"1399420144","filename":"file2"},{"photo_id":"1399420146","filename":"file4"},{"photo_id":"1399420143","filename":"file1"},{"photo_id":"1399420142","filename":"file0"},{"photo_id":"1399420145","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399420143":["hashtag1","hashtag2"]},{"1399420146":["hashtag1","hashtag2"]},{"1399420145":["hashtag1","hashtag2"]},{"1399420142":["hashtag1","hashtag2"]},{"1399420144":["hashtag1","hashtag2"]},{"1399420147":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399420143, 1399420146, 1399420145, 1399420142, 1399420144, 1399420147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.650670289993286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 00:59:03.281007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/56/image_15122025_00_56_24_9942.jpg', '/home/pi/Desktop/images/15122025/00/56/image_15122025_00_56_35_10715.jpg', '/home/pi/Desktop/images/15122025/00/56/image_15122025_00_56_44_9891.jpg', '/home/pi/Desktop/images/15122025/00/56/image_15122025_00_56_54_9903.jpg', '/home/pi/Desktop/images/15122025/00/56/image_15122025_00_57_04_9896.jpg', '/home/pi/Desktop/images/15122025/00/57/image_15122025_00_57_14_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/56/image_15122025_00_56_24_9942.jpg
/home/pi/Desktop/images/15122025/00/56/image_15122025_00_56_35_10715.jpg
/home/pi/Desktop/images/15122025/00/56/image_15122025_00_56_44_9891.jpg
/home/pi/Desktop/images/15122025/00/56/image_15122025_00_56_54_9903.jpg
/home/pi/Desktop/images/15122025/00/56/image_15122025_00_57_04_9896.jpg
/home/pi/Desktop/images/15122025/00/57/image_15122025_00_57_14_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399420152","1399420151","1399420154","1399420148","1399420150","1399420153"],"photo_ids_order":["1399420148","1399420150","1399420151","1399420152","1399420153","1399420154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/686cdd92435317fa360ce2175afa2b0a.jpg","text":"TemporaryFile(/tmp/multipartBody4993062367315140032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756804079,"filename":"image_15122025_00_56_54_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/15/8a7555e72117bec61f74862b2edc332b.jpg","text":"TemporaryFile(/tmp/multipartBody5837282714065701756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756804079,"filename":"image_15122025_00_56_44_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/15/91e4518a24cbdbddc4887d0f2f5fb0e4.jpg","text":"TemporaryFile(/tmp/multipartBody7139086888487401240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756804079,"filename":"image_15122025_00_57_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/15/58b4e2e3d7d76a71116479d6fc532296.jpg","text":"TemporaryFile(/tmp/multipartBody6113474108149488614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756804079,"filename":"image_15122025_00_56_24_9942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/649f5cbcc3e5f5070952b219d4055118.jpg","text":"TemporaryFile(/tmp/multipartBody7039998741623305518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756804079,"filename":"image_15122025_00_56_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/15/ddd82a7cb4afcf96fdf369f05317f160.jpg","text":"TemporaryFile(/tmp/multipartBody631374598578815625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756804079,"filename":"image_15122025_00_57_04_9896.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399420151","file1":"1399420150","file0":"1399420148","file4":"1399420153","file5":"1399420154","file3":"1399420152"},"map_files_photo_id_array":[{"photo_id":"1399420154","filename":"file5"},{"photo_id":"1399420151","filename":"file2"},{"photo_id":"1399420153","filename":"file4"},{"photo_id":"1399420150","filename":"file1"},{"photo_id":"1399420148","filename":"file0"},{"photo_id":"1399420152","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399420152":["hashtag1","hashtag2"]},{"1399420151":["hashtag1","hashtag2"]},{"1399420154":["hashtag1","hashtag2"]},{"1399420148":["hashtag1","hashtag2"]},{"1399420150":["hashtag1","hashtag2"]},{"1399420153":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399420152, 1399420151, 1399420154, 1399420148, 1399420150, 1399420153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.76624131202698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 01:00:02.910592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/57/image_15122025_00_57_25_10669.jpg', '/home/pi/Desktop/images/15122025/00/57/image_15122025_00_57_45_10559.jpg', '/home/pi/Desktop/images/15122025/00/57/image_15122025_00_57_54_9650.jpg', '/home/pi/Desktop/images/15122025/00/57/image_15122025_00_58_04_9688.jpg', '/home/pi/Desktop/images/15122025/00/58/image_15122025_00_58_14_9700.jpg', '/home/pi/Desktop/images/15122025/00/58/image_15122025_00_58_24_10597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/57/image_15122025_00_57_25_10669.jpg
/home/pi/Desktop/images/15122025/00/57/image_15122025_00_57_45_10559.jpg
/home/pi/Desktop/images/15122025/00/57/image_15122025_00_57_54_9650.jpg
/home/pi/Desktop/images/15122025/00/57/image_15122025_00_58_04_9688.jpg
/home/pi/Desktop/images/15122025/00/58/image_15122025_00_58_14_9700.jpg
/home/pi/Desktop/images/15122025/00/58/image_15122025_00_58_24_10597.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5280435085296631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 01:00:12.467283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_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/42/image_14122025_23_42_15_10650.jpg', '/home/pi/Desktop/images/14122025/23/42/image_14122025_23_42_24_9621.jpg', '/home/pi/Desktop/images/14122025/23/42/image_14122025_23_42_34_9688.jpg', '/home/pi/Desktop/images/14122025/23/42/image_14122025_23_42_54_9611.jpg', '/home/pi/Desktop/images/14122025/23/42/image_14122025_23_43_04_9805.jpg', '/home/pi/Desktop/images/14122025/23/43/image_14122025_23_43_14_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/23/42/image_14122025_23_42_15_10650.jpg
/home/pi/Desktop/images/14122025/23/42/image_14122025_23_42_24_9621.jpg
/home/pi/Desktop/images/14122025/23/42/image_14122025_23_42_34_9688.jpg
/home/pi/Desktop/images/14122025/23/42/image_14122025_23_42_54_9611.jpg
/home/pi/Desktop/images/14122025/23/42/image_14122025_23_43_04_9805.jpg
/home/pi/Desktop/images/14122025/23/43/image_14122025_23_43_14_9807.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399420161","1399420164","1399420163","1399420166","1399420165","1399420159"],"photo_ids_order":["1399420159","1399420161","1399420163","1399420164","1399420165","1399420166"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/46b892806800700000085e97fe5812e2.jpg","text":"TemporaryFile(/tmp/multipartBody5871792685647640218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756874005,"filename":"image_14122025_23_42_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/15/702cb06eebafaf1f9287c9dc2fd9bbcc.jpg","text":"TemporaryFile(/tmp/multipartBody3258457910317254673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756874005,"filename":"image_14122025_23_42_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/15/f58ae5a4ec68494cf81954048744e056.jpg","text":"TemporaryFile(/tmp/multipartBody4791016364532460978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756874005,"filename":"image_14122025_23_42_34_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5f29bdd7156447940b15665231661b2e.jpg","text":"TemporaryFile(/tmp/multipartBody9085613625912838875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756874005,"filename":"image_14122025_23_43_14_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/77083bb9669849adb13abbf102c8268b.jpg","text":"TemporaryFile(/tmp/multipartBody2677590720859738220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756874005,"filename":"image_14122025_23_43_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/15/9bce5e07419783b3eed805687c8c51ac.jpg","text":"TemporaryFile(/tmp/multipartBody8625020833937012457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756874005,"filename":"image_14122025_23_42_15_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399420163","file1":"1399420161","file0":"1399420159","file4":"1399420165","file5":"1399420166","file3":"1399420164"},"map_files_photo_id_array":[{"photo_id":"1399420166","filename":"file5"},{"photo_id":"1399420163","filename":"file2"},{"photo_id":"1399420165","filename":"file4"},{"photo_id":"1399420161","filename":"file1"},{"photo_id":"1399420159","filename":"file0"},{"photo_id":"1399420164","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399420161":["hashtag1","hashtag2"]},{"1399420164":["hashtag1","hashtag2"]},{"1399420163":["hashtag1","hashtag2"]},{"1399420166":["hashtag1","hashtag2"]},{"1399420165":["hashtag1","hashtag2"]},{"1399420159":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399420161, 1399420164, 1399420163, 1399420166, 1399420165, 1399420159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.88115358352661 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 01:01:32.773978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_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/43/image_14122025_23_43_25_10603.jpg', '/home/pi/Desktop/images/14122025/23/43/image_14122025_23_43_34_9828.jpg', '/home/pi/Desktop/images/14122025/23/43/image_14122025_23_43_44_9641.jpg', '/home/pi/Desktop/images/14122025/23/43/image_14122025_23_44_04_9729.jpg', '/home/pi/Desktop/images/14122025/23/44/image_14122025_23_44_14_9754.jpg', '/home/pi/Desktop/images/14122025/23/44/image_14122025_23_44_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/23/43/image_14122025_23_43_25_10603.jpg
/home/pi/Desktop/images/14122025/23/43/image_14122025_23_43_34_9828.jpg
/home/pi/Desktop/images/14122025/23/43/image_14122025_23_43_44_9641.jpg
/home/pi/Desktop/images/14122025/23/43/image_14122025_23_44_04_9729.jpg
/home/pi/Desktop/images/14122025/23/44/image_14122025_23_44_14_9754.jpg
/home/pi/Desktop/images/14122025/23/44/image_14122025_23_44_24_9706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399420562","1399420627","1399420621","1399420366","1399420168","1399420167"],"photo_ids_order":["1399420167","1399420168","1399420366","1399420562","1399420621","1399420627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/14a029312cf0e7f4071f82d713a01db5.jpg","text":"TemporaryFile(/tmp/multipartBody3650198300288119962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756954435,"filename":"image_14122025_23_44_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/15/816585dfa728e9e54569ebf91aeef934.jpg","text":"TemporaryFile(/tmp/multipartBody6814603543604390858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756954435,"filename":"image_14122025_23_44_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/15/7ad6e28ce725b3f0de6522246f6ad066.jpg","text":"TemporaryFile(/tmp/multipartBody6934469857131130135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756954435,"filename":"image_14122025_23_44_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/15/b9a873ce12990337c4e543142be10d5d.jpg","text":"TemporaryFile(/tmp/multipartBody4763928896267626983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756954435,"filename":"image_14122025_23_43_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/15/611e1adb3d11cd6aa0362089a13a4cdb.jpg","text":"TemporaryFile(/tmp/multipartBody6998684033593143421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756954435,"filename":"image_14122025_23_43_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/15/8619bea97c1eb697e37ea5b9cf84ae60.jpg","text":"TemporaryFile(/tmp/multipartBody2421316273533980911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765756954435,"filename":"image_14122025_23_43_25_10603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399420366","file1":"1399420168","file0":"1399420167","file4":"1399420621","file5":"1399420627","file3":"1399420562"},"map_files_photo_id_array":[{"photo_id":"1399420627","filename":"file5"},{"photo_id":"1399420366","filename":"file2"},{"photo_id":"1399420621","filename":"file4"},{"photo_id":"1399420168","filename":"file1"},{"photo_id":"1399420167","filename":"file0"},{"photo_id":"1399420562","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399420562":["hashtag1","hashtag2"]},{"1399420627":["hashtag1","hashtag2"]},{"1399420621":["hashtag1","hashtag2"]},{"1399420366":["hashtag1","hashtag2"]},{"1399420168":["hashtag1","hashtag2"]},{"1399420167":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399420562, 1399420627, 1399420621, 1399420366, 1399420168, 1399420167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.165361642837524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 01:02:31.967106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_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/44/image_14122025_23_44_35_10665.jpg', '/home/pi/Desktop/images/14122025/23/44/image_14122025_23_44_44_9816.jpg', '/home/pi/Desktop/images/14122025/23/44/image_14122025_23_44_54_9580.jpg', '/home/pi/Desktop/images/14122025/23/45/image_14122025_23_45_15_10648.jpg', '/home/pi/Desktop/images/14122025/23/45/image_14122025_23_45_24_9729.jpg', '/home/pi/Desktop/images/14122025/23/45/image_14122025_23_45_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/23/44/image_14122025_23_44_35_10665.jpg
/home/pi/Desktop/images/14122025/23/44/image_14122025_23_44_44_9816.jpg
/home/pi/Desktop/images/14122025/23/44/image_14122025_23_44_54_9580.jpg
/home/pi/Desktop/images/14122025/23/45/image_14122025_23_45_15_10648.jpg
/home/pi/Desktop/images/14122025/23/45/image_14122025_23_45_24_9729.jpg
/home/pi/Desktop/images/14122025/23/45/image_14122025_23_45_34_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: 1.5660839080810547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 01:02:41.981116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_17_7150.jpg', '/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_19_1665.jpg', '/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_21_1635.jpg', '/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_22_1578.jpg', '/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_25_2653.jpg', '/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_42_17701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_17_7150.jpg
/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_19_1665.jpg
/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_21_1635.jpg
/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_22_1578.jpg
/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_25_2653.jpg
/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_42_17701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399420818","1399420821","1399420815","1399420820","1399420819","1399420810"],"photo_ids_order":["1399420810","1399420815","1399420818","1399420819","1399420820","1399420821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6b0b5bde5b7690ff1fbcb1d254d8eb38.jpg","text":"TemporaryFile(/tmp/multipartBody8697779770076413279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757022752,"filename":"image_05112025_12_25_21_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/15/b1d4937a06c94562619523876284d22a.jpg","text":"TemporaryFile(/tmp/multipartBody4616213659684119171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757022752,"filename":"image_05112025_12_25_42_17701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/229bbbed77044d51599fdb7505baed53.jpg","text":"TemporaryFile(/tmp/multipartBody1238128255165717734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757022752,"filename":"image_05112025_12_25_19_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/15/ea61f96d8dbf48ab4435e239eacfca40.jpg","text":"TemporaryFile(/tmp/multipartBody2899916040745927948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757022752,"filename":"image_05112025_12_25_25_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/15/0c9301be4af307feb5096ae5edec2859.jpg","text":"TemporaryFile(/tmp/multipartBody6162432303713462689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757022752,"filename":"image_05112025_12_25_22_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3f58fd015d85bc262a3dedc516850340.jpg","text":"TemporaryFile(/tmp/multipartBody3658930933060066932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757022752,"filename":"image_05112025_12_25_17_7150.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399420818","file1":"1399420815","file0":"1399420810","file4":"1399420820","file5":"1399420821","file3":"1399420819"},"map_files_photo_id_array":[{"photo_id":"1399420821","filename":"file5"},{"photo_id":"1399420818","filename":"file2"},{"photo_id":"1399420820","filename":"file4"},{"photo_id":"1399420815","filename":"file1"},{"photo_id":"1399420810","filename":"file0"},{"photo_id":"1399420819","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399420818":["hashtag1","hashtag2"]},{"1399420821":["hashtag1","hashtag2"]},{"1399420815":["hashtag1","hashtag2"]},{"1399420820":["hashtag1","hashtag2"]},{"1399420819":["hashtag1","hashtag2"]},{"1399420810":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399420818, 1399420821, 1399420815, 1399420820, 1399420819, 1399420810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.45582675933838 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 01:03:22.199578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/57/image_15122025_00_57_25_10669.jpg', '/home/pi/Desktop/images/15122025/00/57/image_15122025_00_57_45_10559.jpg', '/home/pi/Desktop/images/15122025/00/57/image_15122025_00_57_54_9650.jpg', '/home/pi/Desktop/images/15122025/00/57/image_15122025_00_58_04_9688.jpg', '/home/pi/Desktop/images/15122025/00/58/image_15122025_00_58_14_9700.jpg', '/home/pi/Desktop/images/15122025/00/58/image_15122025_00_58_24_10597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/57/image_15122025_00_57_25_10669.jpg
/home/pi/Desktop/images/15122025/00/57/image_15122025_00_57_45_10559.jpg
/home/pi/Desktop/images/15122025/00/57/image_15122025_00_57_54_9650.jpg
/home/pi/Desktop/images/15122025/00/57/image_15122025_00_58_04_9688.jpg
/home/pi/Desktop/images/15122025/00/58/image_15122025_00_58_14_9700.jpg
/home/pi/Desktop/images/15122025/00/58/image_15122025_00_58_24_10597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399420824","1399420877","1399420844","1399420823","1399420825","1399420822"],"photo_ids_order":["1399420822","1399420823","1399420824","1399420825","1399420844","1399420877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9107cd3483da24258f04c21787f2d9df.jpg","text":"TemporaryFile(/tmp/multipartBody4579586417718797640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757062814,"filename":"image_15122025_00_57_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/15/5308c62b3e7d3ff1905c9c290454fc46.jpg","text":"TemporaryFile(/tmp/multipartBody5276576391801471667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757062814,"filename":"image_15122025_00_58_24_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/15/dfb40e625b6e79d5fcee090a06802ffe.jpg","text":"TemporaryFile(/tmp/multipartBody2490127150161247059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757062814,"filename":"image_15122025_00_58_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/15/1ebdfa11c3fc48d82a938a89efe7703d.jpg","text":"TemporaryFile(/tmp/multipartBody2714673788057190718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757062814,"filename":"image_15122025_00_57_45_10559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/780c1baa8121a6264b88b76a61ab1676.jpg","text":"TemporaryFile(/tmp/multipartBody820197477731361138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757062814,"filename":"image_15122025_00_58_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/15/577efc300c8cf74e8b1f6f74c7ec671a.jpg","text":"TemporaryFile(/tmp/multipartBody6513759230320679777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757062814,"filename":"image_15122025_00_57_25_10669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399420824","file1":"1399420823","file0":"1399420822","file4":"1399420844","file5":"1399420877","file3":"1399420825"},"map_files_photo_id_array":[{"photo_id":"1399420877","filename":"file5"},{"photo_id":"1399420824","filename":"file2"},{"photo_id":"1399420844","filename":"file4"},{"photo_id":"1399420823","filename":"file1"},{"photo_id":"1399420822","filename":"file0"},{"photo_id":"1399420825","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399420824":["hashtag1","hashtag2"]},{"1399420877":["hashtag1","hashtag2"]},{"1399420844":["hashtag1","hashtag2"]},{"1399420823":["hashtag1","hashtag2"]},{"1399420825":["hashtag1","hashtag2"]},{"1399420822":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399420824, 1399420877, 1399420844, 1399420823, 1399420825, 1399420822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.017651319503784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 01:04:12.476135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_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/44/image_14122025_23_44_35_10665.jpg', '/home/pi/Desktop/images/14122025/23/44/image_14122025_23_44_44_9816.jpg', '/home/pi/Desktop/images/14122025/23/44/image_14122025_23_44_54_9580.jpg', '/home/pi/Desktop/images/14122025/23/45/image_14122025_23_45_15_10648.jpg', '/home/pi/Desktop/images/14122025/23/45/image_14122025_23_45_24_9729.jpg', '/home/pi/Desktop/images/14122025/23/45/image_14122025_23_45_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/23/44/image_14122025_23_44_35_10665.jpg
/home/pi/Desktop/images/14122025/23/44/image_14122025_23_44_44_9816.jpg
/home/pi/Desktop/images/14122025/23/44/image_14122025_23_44_54_9580.jpg
/home/pi/Desktop/images/14122025/23/45/image_14122025_23_45_15_10648.jpg
/home/pi/Desktop/images/14122025/23/45/image_14122025_23_45_24_9729.jpg
/home/pi/Desktop/images/14122025/23/45/image_14122025_23_45_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":["1399421202","1399421276","1399421165","1399421104","1399421070","1399421259"],"photo_ids_order":["1399421070","1399421104","1399421165","1399421202","1399421259","1399421276"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fffb7d4caaad13d130522f6b8599f1f5.jpg","text":"TemporaryFile(/tmp/multipartBody4724304359610948204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757114029,"filename":"image_14122025_23_45_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/15/3b467ec9386e9060ffb81ed165cf9923.jpg","text":"TemporaryFile(/tmp/multipartBody3700175540687708929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757114029,"filename":"image_14122025_23_45_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/15/a5214fe9dbb551494f25951510a62a94.jpg","text":"TemporaryFile(/tmp/multipartBody868571205528285869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757114029,"filename":"image_14122025_23_44_54_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ad73e8c3bee7230e81cdfc976d073298.jpg","text":"TemporaryFile(/tmp/multipartBody7458130300137979483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757114029,"filename":"image_14122025_23_44_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/15/4b2a8d5d82860691bbcf557c0b4a3601.jpg","text":"TemporaryFile(/tmp/multipartBody1677537012657955008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757114029,"filename":"image_14122025_23_44_35_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/21e1832fd7c483097f04030e94c8741e.jpg","text":"TemporaryFile(/tmp/multipartBody7915204004770628656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757114029,"filename":"image_14122025_23_45_24_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399421165","file1":"1399421104","file0":"1399421070","file4":"1399421259","file5":"1399421276","file3":"1399421202"},"map_files_photo_id_array":[{"photo_id":"1399421276","filename":"file5"},{"photo_id":"1399421165","filename":"file2"},{"photo_id":"1399421259","filename":"file4"},{"photo_id":"1399421104","filename":"file1"},{"photo_id":"1399421070","filename":"file0"},{"photo_id":"1399421202","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399421202":["hashtag1","hashtag2"]},{"1399421276":["hashtag1","hashtag2"]},{"1399421165":["hashtag1","hashtag2"]},{"1399421104":["hashtag1","hashtag2"]},{"1399421070":["hashtag1","hashtag2"]},{"1399421259":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399421202, 1399421276, 1399421165, 1399421104, 1399421070, 1399421259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.35927891731262 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 01:05:12.778223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_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/45/image_14122025_23_45_45_10674.jpg', '/home/pi/Desktop/images/14122025/23/45/image_14122025_23_45_54_9666.jpg', '/home/pi/Desktop/images/14122025/23/45/image_14122025_23_46_04_9715.jpg', '/home/pi/Desktop/images/14122025/23/46/image_14122025_23_46_14_9889.jpg', '/home/pi/Desktop/images/14122025/23/46/image_14122025_23_46_25_10677.jpg', '/home/pi/Desktop/images/14122025/23/46/image_14122025_23_46_34_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/23/45/image_14122025_23_45_45_10674.jpg
/home/pi/Desktop/images/14122025/23/45/image_14122025_23_45_54_9666.jpg
/home/pi/Desktop/images/14122025/23/45/image_14122025_23_46_04_9715.jpg
/home/pi/Desktop/images/14122025/23/46/image_14122025_23_46_14_9889.jpg
/home/pi/Desktop/images/14122025/23/46/image_14122025_23_46_25_10677.jpg
/home/pi/Desktop/images/14122025/23/46/image_14122025_23_46_34_9745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399421384","1399421381","1399421383","1399421353","1399421382","1399421385"],"photo_ids_order":["1399421353","1399421381","1399421382","1399421383","1399421384","1399421385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bc984efea200d81a41c9ab7b9086c6f9.jpg","text":"TemporaryFile(/tmp/multipartBody9007920337579027451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757174309,"filename":"image_14122025_23_46_25_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/15/b6ed82908206053e22e7f8626847c684.jpg","text":"TemporaryFile(/tmp/multipartBody465697925922934100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757174309,"filename":"image_14122025_23_45_54_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2564ab21dd6187f12addfe93ad7fc367.jpg","text":"TemporaryFile(/tmp/multipartBody5225255207635645517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757174309,"filename":"image_14122025_23_46_14_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/15/0bbc4f1d02ee3c552320a878621e55ab.jpg","text":"TemporaryFile(/tmp/multipartBody4944286955776372304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757174309,"filename":"image_14122025_23_45_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/15/88ed84eac2c4ac92e7ddefe5bc3bf328.jpg","text":"TemporaryFile(/tmp/multipartBody8815245517092452089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757174309,"filename":"image_14122025_23_46_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/15/91871ff2856e6ebe4d4f55d418daec5c.jpg","text":"TemporaryFile(/tmp/multipartBody2621778714794464736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757174309,"filename":"image_14122025_23_46_34_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399421382","file1":"1399421381","file0":"1399421353","file4":"1399421384","file5":"1399421385","file3":"1399421383"},"map_files_photo_id_array":[{"photo_id":"1399421385","filename":"file5"},{"photo_id":"1399421382","filename":"file2"},{"photo_id":"1399421384","filename":"file4"},{"photo_id":"1399421381","filename":"file1"},{"photo_id":"1399421353","filename":"file0"},{"photo_id":"1399421383","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399421384":["hashtag1","hashtag2"]},{"1399421381":["hashtag1","hashtag2"]},{"1399421383":["hashtag1","hashtag2"]},{"1399421353":["hashtag1","hashtag2"]},{"1399421382":["hashtag1","hashtag2"]},{"1399421385":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399421384, 1399421381, 1399421383, 1399421353, 1399421382, 1399421385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.350600481033325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 01:06:02.348662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/58/image_15122025_00_58_34_9802.jpg', '/home/pi/Desktop/images/15122025/00/58/image_15122025_00_58_44_9752.jpg', '/home/pi/Desktop/images/15122025/00/58/image_15122025_00_58_54_9871.jpg', '/home/pi/Desktop/images/15122025/00/58/image_15122025_00_59_05_10887.jpg', '/home/pi/Desktop/images/15122025/00/59/image_15122025_00_59_14_9763.jpg', '/home/pi/Desktop/images/15122025/00/59/image_15122025_00_59_24_9935.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/58/image_15122025_00_58_34_9802.jpg
/home/pi/Desktop/images/15122025/00/58/image_15122025_00_58_44_9752.jpg
/home/pi/Desktop/images/15122025/00/58/image_15122025_00_58_54_9871.jpg
/home/pi/Desktop/images/15122025/00/58/image_15122025_00_59_05_10887.jpg
/home/pi/Desktop/images/15122025/00/59/image_15122025_00_59_14_9763.jpg
/home/pi/Desktop/images/15122025/00/59/image_15122025_00_59_24_9935.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399421549","1399421477","1399421618","1399421513","1399421389","1399421439"],"photo_ids_order":["1399421389","1399421439","1399421477","1399421513","1399421549","1399421618"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4308342359fcbe6383aeba04ab5fe872.jpg","text":"TemporaryFile(/tmp/multipartBody8338884625112446350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757223018,"filename":"image_15122025_00_59_14_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/47dfd66c9ca599bc0aab8facc4a22af9.jpg","text":"TemporaryFile(/tmp/multipartBody5064256460128691793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757223018,"filename":"image_15122025_00_58_54_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/49e86bb124380360d2ed88aad94f226d.jpg","text":"TemporaryFile(/tmp/multipartBody1976024315886357941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757223018,"filename":"image_15122025_00_59_24_9935.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/084f95256cba5b5cab12667433c577fe.jpg","text":"TemporaryFile(/tmp/multipartBody7295443944405415243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757223018,"filename":"image_15122025_00_59_05_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/15/b03a2258be0fa31461eefe58906e56d0.jpg","text":"TemporaryFile(/tmp/multipartBody1216549156115517906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757223018,"filename":"image_15122025_00_58_34_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f145390c4bab9c484b3e38c899d04f4a.jpg","text":"TemporaryFile(/tmp/multipartBody7834061539140177101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757223018,"filename":"image_15122025_00_58_44_9752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399421477","file1":"1399421439","file0":"1399421389","file4":"1399421549","file5":"1399421618","file3":"1399421513"},"map_files_photo_id_array":[{"photo_id":"1399421618","filename":"file5"},{"photo_id":"1399421477","filename":"file2"},{"photo_id":"1399421549","filename":"file4"},{"photo_id":"1399421439","filename":"file1"},{"photo_id":"1399421389","filename":"file0"},{"photo_id":"1399421513","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399421549":["hashtag1","hashtag2"]},{"1399421477":["hashtag1","hashtag2"]},{"1399421618":["hashtag1","hashtag2"]},{"1399421513":["hashtag1","hashtag2"]},{"1399421389":["hashtag1","hashtag2"]},{"1399421439":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399421549, 1399421477, 1399421618, 1399421513, 1399421389, 1399421439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.85828638076782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 01:07:02.885163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/00/59/image_15122025_00_59_34_9678.jpg', '/home/pi/Desktop/images/15122025/00/59/image_15122025_00_59_44_9747.jpg', '/home/pi/Desktop/images/15122025/00/59/image_15122025_00_59_54_10688.jpg', '/home/pi/Desktop/images/15122025/00/59/image_15122025_01_00_04_9779.jpg', '/home/pi/Desktop/images/15122025/01/00/image_15122025_01_00_14_9716.jpg', '/home/pi/Desktop/images/15122025/01/00/image_15122025_01_00_25_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/00/59/image_15122025_00_59_34_9678.jpg
/home/pi/Desktop/images/15122025/00/59/image_15122025_00_59_44_9747.jpg
/home/pi/Desktop/images/15122025/00/59/image_15122025_00_59_54_10688.jpg
/home/pi/Desktop/images/15122025/00/59/image_15122025_01_00_04_9779.jpg
/home/pi/Desktop/images/15122025/01/00/image_15122025_01_00_14_9716.jpg
/home/pi/Desktop/images/15122025/01/00/image_15122025_01_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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422056","1399421939","1399421852","1399422016","1399422095","1399421901"],"photo_ids_order":["1399421852","1399421901","1399421939","1399422016","1399422056","1399422095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b50e28ccdb3682f297b5d211aad53a76.jpg","text":"TemporaryFile(/tmp/multipartBody2952233329861282529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757283562,"filename":"image_15122025_01_00_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/15/9d79da975a7aa74380658459ad883fba.jpg","text":"TemporaryFile(/tmp/multipartBody8545429031959442269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757283562,"filename":"image_15122025_00_59_54_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/15/1d57b0afc1f92350062d7f17990a2eaf.jpg","text":"TemporaryFile(/tmp/multipartBody7262982986626228067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757283562,"filename":"image_15122025_00_59_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/15/0944013f43581a07c1afc955d1a35bca.jpg","text":"TemporaryFile(/tmp/multipartBody7458171388422387443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757283562,"filename":"image_15122025_01_00_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/15/8cf7a7036de98ab9bee49074b8be1863.jpg","text":"TemporaryFile(/tmp/multipartBody1851469392777742191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757283562,"filename":"image_15122025_01_00_25_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7fc68e39c8d7c281a8e890a6f743fb56.jpg","text":"TemporaryFile(/tmp/multipartBody6789884820602462331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757283562,"filename":"image_15122025_00_59_44_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399421939","file1":"1399421901","file0":"1399421852","file4":"1399422056","file5":"1399422095","file3":"1399422016"},"map_files_photo_id_array":[{"photo_id":"1399422095","filename":"file5"},{"photo_id":"1399421939","filename":"file2"},{"photo_id":"1399422056","filename":"file4"},{"photo_id":"1399421901","filename":"file1"},{"photo_id":"1399421852","filename":"file0"},{"photo_id":"1399422016","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422056":["hashtag1","hashtag2"]},{"1399421939":["hashtag1","hashtag2"]},{"1399421852":["hashtag1","hashtag2"]},{"1399422016":["hashtag1","hashtag2"]},{"1399422095":["hashtag1","hashtag2"]},{"1399421901":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422056, 1399421939, 1399421852, 1399422016, 1399422095, 1399421901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.28067374229431 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 01:08:02.940626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/00/image_15122025_01_00_34_9819.jpg', '/home/pi/Desktop/images/15122025/01/00/image_15122025_01_00_44_9756.jpg', '/home/pi/Desktop/images/15122025/01/00/image_15122025_01_00_54_9769.jpg', '/home/pi/Desktop/images/15122025/01/00/image_15122025_01_01_05_10686.jpg', '/home/pi/Desktop/images/15122025/01/01/image_15122025_01_01_14_9812.jpg', '/home/pi/Desktop/images/15122025/01/01/image_15122025_01_01_24_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/00/image_15122025_01_00_34_9819.jpg
/home/pi/Desktop/images/15122025/01/00/image_15122025_01_00_44_9756.jpg
/home/pi/Desktop/images/15122025/01/00/image_15122025_01_00_54_9769.jpg
/home/pi/Desktop/images/15122025/01/00/image_15122025_01_01_05_10686.jpg
/home/pi/Desktop/images/15122025/01/01/image_15122025_01_01_14_9812.jpg
/home/pi/Desktop/images/15122025/01/01/image_15122025_01_01_24_9718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422155","1399422137","1399422193","1399422136","1399422139","1399422138"],"photo_ids_order":["1399422136","1399422137","1399422138","1399422139","1399422155","1399422193"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/78fc4cb73552318d3752635f1ab95949.jpg","text":"TemporaryFile(/tmp/multipartBody2884668394896698446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757343631,"filename":"image_15122025_01_01_14_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d115ce2183b1c2fcaeb79195df44c480.jpg","text":"TemporaryFile(/tmp/multipartBody6376088284400556526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757343631,"filename":"image_15122025_01_00_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/15/e6acb9c5e80fc06051f7fa3fa7dcde52.jpg","text":"TemporaryFile(/tmp/multipartBody7284818472459742083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757343631,"filename":"image_15122025_01_01_24_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/147931b9e25dd036343fae8defc68939.jpg","text":"TemporaryFile(/tmp/multipartBody97833053358225624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757343631,"filename":"image_15122025_01_00_34_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/15/9ef13b97808a8a20df9077e31d4d304c.jpg","text":"TemporaryFile(/tmp/multipartBody9134743125439679692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757343631,"filename":"image_15122025_01_01_05_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/15/4843781758b45cec93c96a8336282acb.jpg","text":"TemporaryFile(/tmp/multipartBody610007531798623554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757343631,"filename":"image_15122025_01_00_54_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422138","file1":"1399422137","file0":"1399422136","file4":"1399422155","file5":"1399422193","file3":"1399422139"},"map_files_photo_id_array":[{"photo_id":"1399422193","filename":"file5"},{"photo_id":"1399422138","filename":"file2"},{"photo_id":"1399422155","filename":"file4"},{"photo_id":"1399422137","filename":"file1"},{"photo_id":"1399422136","filename":"file0"},{"photo_id":"1399422139","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422155":["hashtag1","hashtag2"]},{"1399422137":["hashtag1","hashtag2"]},{"1399422193":["hashtag1","hashtag2"]},{"1399422136":["hashtag1","hashtag2"]},{"1399422139":["hashtag1","hashtag2"]},{"1399422138":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422155, 1399422137, 1399422193, 1399422136, 1399422139, 1399422138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.347777366638184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 01:09:03.654296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/01/image_15122025_01_01_34_9729.jpg', '/home/pi/Desktop/images/15122025/01/01/image_15122025_01_01_45_10621.jpg', '/home/pi/Desktop/images/15122025/01/01/image_15122025_01_01_54_9824.jpg', '/home/pi/Desktop/images/15122025/01/01/image_15122025_01_02_04_9693.jpg', '/home/pi/Desktop/images/15122025/01/02/image_15122025_01_02_14_9707.jpg', '/home/pi/Desktop/images/15122025/01/02/image_15122025_01_02_24_10708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/01/image_15122025_01_01_34_9729.jpg
/home/pi/Desktop/images/15122025/01/01/image_15122025_01_01_45_10621.jpg
/home/pi/Desktop/images/15122025/01/01/image_15122025_01_01_54_9824.jpg
/home/pi/Desktop/images/15122025/01/01/image_15122025_01_02_04_9693.jpg
/home/pi/Desktop/images/15122025/01/02/image_15122025_01_02_14_9707.jpg
/home/pi/Desktop/images/15122025/01/02/image_15122025_01_02_24_10708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422431","1399422449","1399422376","1399422406","1399422471","1399422375"],"photo_ids_order":["1399422375","1399422376","1399422406","1399422431","1399422449","1399422471"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2670d1a64f14a8bb19b8082b2912c3d5.jpg","text":"TemporaryFile(/tmp/multipartBody8962149459695159719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757404408,"filename":"image_15122025_01_02_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/15/bb6c7b194e95a4eaa3dbab5073caed64.jpg","text":"TemporaryFile(/tmp/multipartBody7565755812689315969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757404408,"filename":"image_15122025_01_02_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/15/ad51ea271146924578f54a84bf3cea53.jpg","text":"TemporaryFile(/tmp/multipartBody8792387474088500534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757404408,"filename":"image_15122025_01_01_45_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5afbb78fa4fedb53fad50ee8270a9289.jpg","text":"TemporaryFile(/tmp/multipartBody4013471191637680765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757404408,"filename":"image_15122025_01_01_54_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d2bc1616819f247557492c53247ccf59.jpg","text":"TemporaryFile(/tmp/multipartBody5445560814179060890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757404408,"filename":"image_15122025_01_02_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/15/a86d3bb1fffd10efce6db1b373427467.jpg","text":"TemporaryFile(/tmp/multipartBody4613188166509606950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757404408,"filename":"image_15122025_01_01_34_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422406","file1":"1399422376","file0":"1399422375","file4":"1399422449","file5":"1399422471","file3":"1399422431"},"map_files_photo_id_array":[{"photo_id":"1399422471","filename":"file5"},{"photo_id":"1399422406","filename":"file2"},{"photo_id":"1399422449","filename":"file4"},{"photo_id":"1399422376","filename":"file1"},{"photo_id":"1399422375","filename":"file0"},{"photo_id":"1399422431","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422431":["hashtag1","hashtag2"]},{"1399422449":["hashtag1","hashtag2"]},{"1399422376":["hashtag1","hashtag2"]},{"1399422406":["hashtag1","hashtag2"]},{"1399422471":["hashtag1","hashtag2"]},{"1399422375":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422431, 1399422449, 1399422376, 1399422406, 1399422471, 1399422375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.004904985427856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 01:10:02.280637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/02/image_15122025_01_02_34_9577.jpg', '/home/pi/Desktop/images/15122025/01/02/image_15122025_01_02_44_9731.jpg', '/home/pi/Desktop/images/15122025/01/02/image_15122025_01_02_55_10788.jpg', '/home/pi/Desktop/images/15122025/01/02/image_15122025_01_03_04_9757.jpg', '/home/pi/Desktop/images/15122025/01/03/image_15122025_01_03_14_9571.jpg', '/home/pi/Desktop/images/15122025/01/03/image_15122025_01_03_24_9876.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/02/image_15122025_01_02_34_9577.jpg
/home/pi/Desktop/images/15122025/01/02/image_15122025_01_02_44_9731.jpg
/home/pi/Desktop/images/15122025/01/02/image_15122025_01_02_55_10788.jpg
/home/pi/Desktop/images/15122025/01/02/image_15122025_01_03_04_9757.jpg
/home/pi/Desktop/images/15122025/01/03/image_15122025_01_03_14_9571.jpg
/home/pi/Desktop/images/15122025/01/03/image_15122025_01_03_24_9876.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422481","1399422484","1399422483","1399422486","1399422482","1399422485"],"photo_ids_order":["1399422481","1399422482","1399422483","1399422484","1399422485","1399422486"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ab680b5e8a92d01b99ac9f12979054d7.jpg","text":"TemporaryFile(/tmp/multipartBody3500122804000796942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757462912,"filename":"image_15122025_01_02_34_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/15/644dc45752287fa70486eea6a633a61d.jpg","text":"TemporaryFile(/tmp/multipartBody2166542756145419276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757462912,"filename":"image_15122025_01_03_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/15/76522e5ffb4da66e4d7171abe3d3bbf1.jpg","text":"TemporaryFile(/tmp/multipartBody2291576598578349083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757462912,"filename":"image_15122025_01_02_55_10788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d8ba7f81a9043d971365fd76cfdfeb57.jpg","text":"TemporaryFile(/tmp/multipartBody8323617190248593345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757462912,"filename":"image_15122025_01_03_24_9876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/60d26a982d5ce5a34aaf0a2a0e7d98f6.jpg","text":"TemporaryFile(/tmp/multipartBody3703409384443235748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757462912,"filename":"image_15122025_01_02_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/15/32a1fcb28d20bb96b328cae114a9e840.jpg","text":"TemporaryFile(/tmp/multipartBody3961947312448989673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757462912,"filename":"image_15122025_01_03_14_9571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422483","file1":"1399422482","file0":"1399422481","file4":"1399422485","file5":"1399422486","file3":"1399422484"},"map_files_photo_id_array":[{"photo_id":"1399422486","filename":"file5"},{"photo_id":"1399422483","filename":"file2"},{"photo_id":"1399422485","filename":"file4"},{"photo_id":"1399422482","filename":"file1"},{"photo_id":"1399422481","filename":"file0"},{"photo_id":"1399422484","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422481":["hashtag1","hashtag2"]},{"1399422484":["hashtag1","hashtag2"]},{"1399422483":["hashtag1","hashtag2"]},{"1399422486":["hashtag1","hashtag2"]},{"1399422482":["hashtag1","hashtag2"]},{"1399422485":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422481, 1399422484, 1399422483, 1399422486, 1399422482, 1399422485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.046512842178345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 01:11:02.829023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/03/image_15122025_01_03_34_10671.jpg', '/home/pi/Desktop/images/15122025/01/03/image_15122025_01_03_44_9777.jpg', '/home/pi/Desktop/images/15122025/01/03/image_15122025_01_03_54_9669.jpg', '/home/pi/Desktop/images/15122025/01/03/image_15122025_01_04_05_10689.jpg', '/home/pi/Desktop/images/15122025/01/04/image_15122025_01_04_14_9861.jpg', '/home/pi/Desktop/images/15122025/01/04/image_15122025_01_04_24_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/03/image_15122025_01_03_34_10671.jpg
/home/pi/Desktop/images/15122025/01/03/image_15122025_01_03_44_9777.jpg
/home/pi/Desktop/images/15122025/01/03/image_15122025_01_03_54_9669.jpg
/home/pi/Desktop/images/15122025/01/03/image_15122025_01_04_05_10689.jpg
/home/pi/Desktop/images/15122025/01/04/image_15122025_01_04_14_9861.jpg
/home/pi/Desktop/images/15122025/01/04/image_15122025_01_04_24_9721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422490","1399422487","1399422492","1399422489","1399422488","1399422491"],"photo_ids_order":["1399422487","1399422488","1399422489","1399422490","1399422491","1399422492"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1e03da2cb1ed4f079674e64b5c29d873.jpg","text":"TemporaryFile(/tmp/multipartBody4598752517803847816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757523560,"filename":"image_15122025_01_04_05_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fec522afb5fcadff7b1f4255a1f387f2.jpg","text":"TemporaryFile(/tmp/multipartBody6879901433416210118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757523560,"filename":"image_15122025_01_03_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/15/a4f8a15d5b80fe97f13a096865ecb2c2.jpg","text":"TemporaryFile(/tmp/multipartBody6359428938993034867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757523560,"filename":"image_15122025_01_04_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/15/fb5cf43ed51850a96fbc9ebbdb64c348.jpg","text":"TemporaryFile(/tmp/multipartBody782444786390270563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757523560,"filename":"image_15122025_01_03_54_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d6ba1e27792a60ba032118559c5a2a03.jpg","text":"TemporaryFile(/tmp/multipartBody5736561716553100890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757523560,"filename":"image_15122025_01_03_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/15/8049cad5f07136fa493f6d0a50ac0125.jpg","text":"TemporaryFile(/tmp/multipartBody9208610307578341672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757523560,"filename":"image_15122025_01_04_14_9861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422489","file1":"1399422488","file0":"1399422487","file4":"1399422491","file5":"1399422492","file3":"1399422490"},"map_files_photo_id_array":[{"photo_id":"1399422492","filename":"file5"},{"photo_id":"1399422489","filename":"file2"},{"photo_id":"1399422491","filename":"file4"},{"photo_id":"1399422488","filename":"file1"},{"photo_id":"1399422487","filename":"file0"},{"photo_id":"1399422490","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422490":["hashtag1","hashtag2"]},{"1399422487":["hashtag1","hashtag2"]},{"1399422492":["hashtag1","hashtag2"]},{"1399422489":["hashtag1","hashtag2"]},{"1399422488":["hashtag1","hashtag2"]},{"1399422491":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422490, 1399422487, 1399422492, 1399422489, 1399422488, 1399422491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.08157467842102 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 01:12:02.889030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/04/image_15122025_01_04_34_9738.jpg', '/home/pi/Desktop/images/15122025/01/04/image_15122025_01_04_54_9636.jpg', '/home/pi/Desktop/images/15122025/01/04/image_15122025_01_05_04_9886.jpg', '/home/pi/Desktop/images/15122025/01/05/image_15122025_01_05_14_9774.jpg', '/home/pi/Desktop/images/15122025/01/05/image_15122025_01_05_24_9859.jpg', '/home/pi/Desktop/images/15122025/01/05/image_15122025_01_05_35_10725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/04/image_15122025_01_04_34_9738.jpg
/home/pi/Desktop/images/15122025/01/04/image_15122025_01_04_54_9636.jpg
/home/pi/Desktop/images/15122025/01/04/image_15122025_01_05_04_9886.jpg
/home/pi/Desktop/images/15122025/01/05/image_15122025_01_05_14_9774.jpg
/home/pi/Desktop/images/15122025/01/05/image_15122025_01_05_24_9859.jpg
/home/pi/Desktop/images/15122025/01/05/image_15122025_01_05_35_10725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422499","1399422496","1399422498","1399422495","1399422494","1399422497"],"photo_ids_order":["1399422494","1399422495","1399422496","1399422497","1399422498","1399422499"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2546083c34efdfcd176060fa7e770dba.jpg","text":"TemporaryFile(/tmp/multipartBody150124272438040912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757583546,"filename":"image_15122025_01_05_35_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c7404034da5ee14e52d4c20fc0a8f39e.jpg","text":"TemporaryFile(/tmp/multipartBody5884829101413152051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757583546,"filename":"image_15122025_01_05_04_9886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0c425838b60dd7f2b4c75de4115b4ff4.jpg","text":"TemporaryFile(/tmp/multipartBody4695459987959511346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757583546,"filename":"image_15122025_01_05_24_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/15/131cb385ff519c6f7be333bb8fd3f2fd.jpg","text":"TemporaryFile(/tmp/multipartBody8572872131421912430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757583546,"filename":"image_15122025_01_04_54_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/183dd1423e1a46b5ec91222a2be67d54.jpg","text":"TemporaryFile(/tmp/multipartBody2171070153843661067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757583546,"filename":"image_15122025_01_04_34_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/87970f713dcd30d4f66103f07f18f298.jpg","text":"TemporaryFile(/tmp/multipartBody1258185966431986674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757583546,"filename":"image_15122025_01_05_14_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422496","file1":"1399422495","file0":"1399422494","file4":"1399422498","file5":"1399422499","file3":"1399422497"},"map_files_photo_id_array":[{"photo_id":"1399422499","filename":"file5"},{"photo_id":"1399422496","filename":"file2"},{"photo_id":"1399422498","filename":"file4"},{"photo_id":"1399422495","filename":"file1"},{"photo_id":"1399422494","filename":"file0"},{"photo_id":"1399422497","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422499":["hashtag1","hashtag2"]},{"1399422496":["hashtag1","hashtag2"]},{"1399422498":["hashtag1","hashtag2"]},{"1399422495":["hashtag1","hashtag2"]},{"1399422494":["hashtag1","hashtag2"]},{"1399422497":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422499, 1399422496, 1399422498, 1399422495, 1399422494, 1399422497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38571047782898 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 01:12:42.458488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_44_1539.jpg', '/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_46_1649.jpg', '/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_47_1540.jpg', '/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_49_1696.jpg', '/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_50_1577.jpg', '/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_52_1672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_44_1539.jpg
/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_46_1649.jpg
/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_47_1540.jpg
/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_49_1696.jpg
/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_50_1577.jpg
/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_52_1672.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5992131233215332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 01:13:03.346436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/05/image_15122025_01_05_45_10071.jpg', '/home/pi/Desktop/images/15122025/01/05/image_15122025_01_05_54_9615.jpg', '/home/pi/Desktop/images/15122025/01/05/image_15122025_01_06_04_9725.jpg', '/home/pi/Desktop/images/15122025/01/06/image_15122025_01_06_15_10696.jpg', '/home/pi/Desktop/images/15122025/01/06/image_15122025_01_06_24_9640.jpg', '/home/pi/Desktop/images/15122025/01/06/image_15122025_01_06_44_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/05/image_15122025_01_05_45_10071.jpg
/home/pi/Desktop/images/15122025/01/05/image_15122025_01_05_54_9615.jpg
/home/pi/Desktop/images/15122025/01/05/image_15122025_01_06_04_9725.jpg
/home/pi/Desktop/images/15122025/01/06/image_15122025_01_06_15_10696.jpg
/home/pi/Desktop/images/15122025/01/06/image_15122025_01_06_24_9640.jpg
/home/pi/Desktop/images/15122025/01/06/image_15122025_01_06_44_9807.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422509","1399422506","1399422505","1399422508","1399422510","1399422507"],"photo_ids_order":["1399422505","1399422506","1399422507","1399422508","1399422509","1399422510"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/52c141019584774cd1b1994af68c07f4.jpg","text":"TemporaryFile(/tmp/multipartBody8839180315730998610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757644020,"filename":"image_15122025_01_06_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ac3279110f5cc8d7b1be0fa7a20105fb.jpg","text":"TemporaryFile(/tmp/multipartBody6403231598087529157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757644020,"filename":"image_15122025_01_05_54_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/273e2f3981c92be6f8015ddf1b6c5223.jpg","text":"TemporaryFile(/tmp/multipartBody7646689209157234232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757644020,"filename":"image_15122025_01_05_45_10071.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4568ed66d56626af17ce6e5c11ae2867.jpg","text":"TemporaryFile(/tmp/multipartBody1770601436921205173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757644020,"filename":"image_15122025_01_06_15_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8d5a7dd89157d3462cdc19c912b6dc87.jpg","text":"TemporaryFile(/tmp/multipartBody2185320251808983766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757644020,"filename":"image_15122025_01_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/15/4037886f03f80a5aa3b8a105fb5e23b8.jpg","text":"TemporaryFile(/tmp/multipartBody7819977791312740693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757644020,"filename":"image_15122025_01_06_04_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422507","file1":"1399422506","file0":"1399422505","file4":"1399422509","file5":"1399422510","file3":"1399422508"},"map_files_photo_id_array":[{"photo_id":"1399422510","filename":"file5"},{"photo_id":"1399422507","filename":"file2"},{"photo_id":"1399422509","filename":"file4"},{"photo_id":"1399422506","filename":"file1"},{"photo_id":"1399422505","filename":"file0"},{"photo_id":"1399422508","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422509":["hashtag1","hashtag2"]},{"1399422506":["hashtag1","hashtag2"]},{"1399422505":["hashtag1","hashtag2"]},{"1399422508":["hashtag1","hashtag2"]},{"1399422510":["hashtag1","hashtag2"]},{"1399422507":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422509, 1399422506, 1399422505, 1399422508, 1399422510, 1399422507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33942151069641 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 01:13:42.708396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_44_1539.jpg', '/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_46_1649.jpg', '/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_47_1540.jpg', '/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_49_1696.jpg', '/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_50_1577.jpg', '/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_52_1672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_44_1539.jpg
/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_46_1649.jpg
/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_47_1540.jpg
/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_49_1696.jpg
/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_50_1577.jpg
/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_52_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":["1399422512","1399422515","1399422511","1399422514","1399422516","1399422513"],"photo_ids_order":["1399422511","1399422512","1399422513","1399422514","1399422515","1399422516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/586fa46804b593d6de9f647e7287aff8.jpg","text":"TemporaryFile(/tmp/multipartBody3117842286664267796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757683302,"filename":"image_05112025_12_25_46_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/769a2c88b828cec92b2f30be46171aab.jpg","text":"TemporaryFile(/tmp/multipartBody4455197216398786381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757683302,"filename":"image_05112025_12_25_50_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/15/aa8b18703af2ea9b19005557ce4599a9.jpg","text":"TemporaryFile(/tmp/multipartBody6719851040221059422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757683302,"filename":"image_05112025_12_25_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/15/b648e9390700d149a1c1f1f7d627b24c.jpg","text":"TemporaryFile(/tmp/multipartBody5359871755619751569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757683302,"filename":"image_05112025_12_25_49_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/15/177d2ff252b6727a339c0b0a155708a1.jpg","text":"TemporaryFile(/tmp/multipartBody1751992812876174787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757683302,"filename":"image_05112025_12_25_52_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/15/4d49f2dc89a16ae5a7d6d5545cea3968.jpg","text":"TemporaryFile(/tmp/multipartBody8511862119227484623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757683302,"filename":"image_05112025_12_25_47_1540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422513","file1":"1399422512","file0":"1399422511","file4":"1399422515","file5":"1399422516","file3":"1399422514"},"map_files_photo_id_array":[{"photo_id":"1399422516","filename":"file5"},{"photo_id":"1399422513","filename":"file2"},{"photo_id":"1399422515","filename":"file4"},{"photo_id":"1399422512","filename":"file1"},{"photo_id":"1399422511","filename":"file0"},{"photo_id":"1399422514","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399422512":["hashtag1","hashtag2"]},{"1399422515":["hashtag1","hashtag2"]},{"1399422511":["hashtag1","hashtag2"]},{"1399422514":["hashtag1","hashtag2"]},{"1399422516":["hashtag1","hashtag2"]},{"1399422513":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399422512, 1399422515, 1399422511, 1399422514, 1399422516, 1399422513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.377195596694946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 01:14:21.973542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/06/image_15122025_01_06_54_10734.jpg', '/home/pi/Desktop/images/15122025/01/06/image_15122025_01_07_04_9816.jpg', '/home/pi/Desktop/images/15122025/01/07/image_15122025_01_07_14_9637.jpg', '/home/pi/Desktop/images/15122025/01/07/image_15122025_01_07_25_10640.jpg', '/home/pi/Desktop/images/15122025/01/07/image_15122025_01_07_34_9870.jpg', '/home/pi/Desktop/images/15122025/01/07/image_15122025_01_07_44_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/06/image_15122025_01_06_54_10734.jpg
/home/pi/Desktop/images/15122025/01/06/image_15122025_01_07_04_9816.jpg
/home/pi/Desktop/images/15122025/01/07/image_15122025_01_07_14_9637.jpg
/home/pi/Desktop/images/15122025/01/07/image_15122025_01_07_25_10640.jpg
/home/pi/Desktop/images/15122025/01/07/image_15122025_01_07_34_9870.jpg
/home/pi/Desktop/images/15122025/01/07/image_15122025_01_07_44_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.509347677230835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 01:14:31.926542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_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/46/image_14122025_23_46_44_9907.jpg', '/home/pi/Desktop/images/14122025/23/46/image_14122025_23_46_54_9810.jpg', '/home/pi/Desktop/images/14122025/23/46/image_14122025_23_47_04_9750.jpg', '/home/pi/Desktop/images/14122025/23/47/image_14122025_23_47_14_10617.jpg', '/home/pi/Desktop/images/14122025/23/47/image_14122025_23_47_24_9601.jpg', '/home/pi/Desktop/images/14122025/23/47/image_14122025_23_47_44_9571.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/46/image_14122025_23_46_44_9907.jpg
/home/pi/Desktop/images/14122025/23/46/image_14122025_23_46_54_9810.jpg
/home/pi/Desktop/images/14122025/23/46/image_14122025_23_47_04_9750.jpg
/home/pi/Desktop/images/14122025/23/47/image_14122025_23_47_14_10617.jpg
/home/pi/Desktop/images/14122025/23/47/image_14122025_23_47_24_9601.jpg
/home/pi/Desktop/images/14122025/23/47/image_14122025_23_47_44_9571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422530","1399422524","1399422526","1399422529","1399422522","1399422531"],"photo_ids_order":["1399422522","1399422524","1399422526","1399422529","1399422530","1399422531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/70888b54fea39bc28184898efc137c3a.jpg","text":"TemporaryFile(/tmp/multipartBody5436856778476202927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757733546,"filename":"image_14122025_23_47_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/15/8ca8b9db48ba6f149c802990d674f98a.jpg","text":"TemporaryFile(/tmp/multipartBody7276774791009375970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757733546,"filename":"image_14122025_23_46_54_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/15/0bc75bde4df29bba158a4d66c1c06382.jpg","text":"TemporaryFile(/tmp/multipartBody8398200319777675625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757733546,"filename":"image_14122025_23_47_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/15/c4a15832f6b7095acdcd538f629794bb.jpg","text":"TemporaryFile(/tmp/multipartBody4143114714879181162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757733546,"filename":"image_14122025_23_47_14_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/58164b34e104616c5f847e4da8c5eeb4.jpg","text":"TemporaryFile(/tmp/multipartBody8326249689332419139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757733546,"filename":"image_14122025_23_46_44_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/15/75abd7ce783749e7d239821a806a539e.jpg","text":"TemporaryFile(/tmp/multipartBody8158832803493465675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757733546,"filename":"image_14122025_23_47_44_9571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422526","file1":"1399422524","file0":"1399422522","file4":"1399422530","file5":"1399422531","file3":"1399422529"},"map_files_photo_id_array":[{"photo_id":"1399422531","filename":"file5"},{"photo_id":"1399422526","filename":"file2"},{"photo_id":"1399422530","filename":"file4"},{"photo_id":"1399422524","filename":"file1"},{"photo_id":"1399422522","filename":"file0"},{"photo_id":"1399422529","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399422530":["hashtag1","hashtag2"]},{"1399422524":["hashtag1","hashtag2"]},{"1399422526":["hashtag1","hashtag2"]},{"1399422529":["hashtag1","hashtag2"]},{"1399422522":["hashtag1","hashtag2"]},{"1399422531":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399422530, 1399422524, 1399422526, 1399422529, 1399422522, 1399422531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.079991817474365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 01:15:12.176839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_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/47/image_14122025_23_47_54_9749.jpg', '/home/pi/Desktop/images/14122025/23/47/image_14122025_23_48_05_10771.jpg', '/home/pi/Desktop/images/14122025/23/48/image_14122025_23_48_15_9836.jpg', '/home/pi/Desktop/images/14122025/23/48/image_14122025_23_48_24_9749.jpg', '/home/pi/Desktop/images/14122025/23/48/image_14122025_23_48_34_9684.jpg', '/home/pi/Desktop/images/14122025/23/48/image_14122025_23_48_44_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/23/47/image_14122025_23_47_54_9749.jpg
/home/pi/Desktop/images/14122025/23/47/image_14122025_23_48_05_10771.jpg
/home/pi/Desktop/images/14122025/23/48/image_14122025_23_48_15_9836.jpg
/home/pi/Desktop/images/14122025/23/48/image_14122025_23_48_24_9749.jpg
/home/pi/Desktop/images/14122025/23/48/image_14122025_23_48_34_9684.jpg
/home/pi/Desktop/images/14122025/23/48/image_14122025_23_48_44_9863.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422533","1399422536","1399422535","1399422532","1399422534","1399422537"],"photo_ids_order":["1399422532","1399422533","1399422534","1399422535","1399422536","1399422537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/45d6347dacdc1915312e4ff96005e4b7.jpg","text":"TemporaryFile(/tmp/multipartBody2702930734885392216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757773787,"filename":"image_14122025_23_48_05_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/15/e72637e512035b8cb50f2db8a3cd56a7.jpg","text":"TemporaryFile(/tmp/multipartBody9145039109663617547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757773787,"filename":"image_14122025_23_48_34_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/92388d9c5a9e1c2c9ad3e13447b2b8b6.jpg","text":"TemporaryFile(/tmp/multipartBody6064611179189584527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757773787,"filename":"image_14122025_23_48_24_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dc06864635236d99fe0c035f555c5688.jpg","text":"TemporaryFile(/tmp/multipartBody8445495594340751164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757773787,"filename":"image_14122025_23_47_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/15/63839c77ffa20619b95b1f2343269797.jpg","text":"TemporaryFile(/tmp/multipartBody2618683351111374895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757773787,"filename":"image_14122025_23_48_15_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4e05c6727e567219aa51b3a7ec1f32ec.jpg","text":"TemporaryFile(/tmp/multipartBody3942566956402077879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757773787,"filename":"image_14122025_23_48_44_9863.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422534","file1":"1399422533","file0":"1399422532","file4":"1399422536","file5":"1399422537","file3":"1399422535"},"map_files_photo_id_array":[{"photo_id":"1399422537","filename":"file5"},{"photo_id":"1399422534","filename":"file2"},{"photo_id":"1399422536","filename":"file4"},{"photo_id":"1399422533","filename":"file1"},{"photo_id":"1399422532","filename":"file0"},{"photo_id":"1399422535","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399422533":["hashtag1","hashtag2"]},{"1399422536":["hashtag1","hashtag2"]},{"1399422535":["hashtag1","hashtag2"]},{"1399422532":["hashtag1","hashtag2"]},{"1399422534":["hashtag1","hashtag2"]},{"1399422537":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399422533, 1399422536, 1399422535, 1399422532, 1399422534, 1399422537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4336256980896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 01:16:02.851236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/06/image_15122025_01_06_54_10734.jpg', '/home/pi/Desktop/images/15122025/01/06/image_15122025_01_07_04_9816.jpg', '/home/pi/Desktop/images/15122025/01/07/image_15122025_01_07_14_9637.jpg', '/home/pi/Desktop/images/15122025/01/07/image_15122025_01_07_25_10640.jpg', '/home/pi/Desktop/images/15122025/01/07/image_15122025_01_07_34_9870.jpg', '/home/pi/Desktop/images/15122025/01/07/image_15122025_01_07_44_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/06/image_15122025_01_06_54_10734.jpg
/home/pi/Desktop/images/15122025/01/06/image_15122025_01_07_04_9816.jpg
/home/pi/Desktop/images/15122025/01/07/image_15122025_01_07_14_9637.jpg
/home/pi/Desktop/images/15122025/01/07/image_15122025_01_07_25_10640.jpg
/home/pi/Desktop/images/15122025/01/07/image_15122025_01_07_34_9870.jpg
/home/pi/Desktop/images/15122025/01/07/image_15122025_01_07_44_9664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422539","1399422542","1399422541","1399422538","1399422540","1399422543"],"photo_ids_order":["1399422538","1399422539","1399422540","1399422541","1399422542","1399422543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9f25227d5dc91268d8a7bee0a8b886e6.jpg","text":"TemporaryFile(/tmp/multipartBody3535160653345952933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757823487,"filename":"image_15122025_01_07_04_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0418e0588ffe506ab31ec0953eb46445.jpg","text":"TemporaryFile(/tmp/multipartBody4949830473002141383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757823487,"filename":"image_15122025_01_07_34_9870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/24b798e7aa9b0381c9d9d44bc95542d3.jpg","text":"TemporaryFile(/tmp/multipartBody8328993418826633154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757823487,"filename":"image_15122025_01_07_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/15/d0275152c9b3c111c1e039ec068c14b3.jpg","text":"TemporaryFile(/tmp/multipartBody1034989200498706491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757823487,"filename":"image_15122025_01_06_54_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/15/4c2a89724e61dd59e5b2a715cf190d40.jpg","text":"TemporaryFile(/tmp/multipartBody6505775191601216243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757823487,"filename":"image_15122025_01_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/15/bc825dff3a7d182ce090c807148405b5.jpg","text":"TemporaryFile(/tmp/multipartBody1339348792192187765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757823487,"filename":"image_15122025_01_07_44_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422540","file1":"1399422539","file0":"1399422538","file4":"1399422542","file5":"1399422543","file3":"1399422541"},"map_files_photo_id_array":[{"photo_id":"1399422543","filename":"file5"},{"photo_id":"1399422540","filename":"file2"},{"photo_id":"1399422542","filename":"file4"},{"photo_id":"1399422539","filename":"file1"},{"photo_id":"1399422538","filename":"file0"},{"photo_id":"1399422541","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422539":["hashtag1","hashtag2"]},{"1399422542":["hashtag1","hashtag2"]},{"1399422541":["hashtag1","hashtag2"]},{"1399422538":["hashtag1","hashtag2"]},{"1399422540":["hashtag1","hashtag2"]},{"1399422543":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422539, 1399422542, 1399422541, 1399422538, 1399422540, 1399422543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96348023414612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 01:16:42.442633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_54_1750.jpg', '/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_56_1714.jpg', '/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_57_1706.jpg', '/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_59_1543.jpg', '/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_01_2637.jpg', '/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_04_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_54_1750.jpg
/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_56_1714.jpg
/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_57_1706.jpg
/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_59_1543.jpg
/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_01_2637.jpg
/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_04_2674.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.640782356262207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 01:17:03.266433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/07/image_15122025_01_07_54_9672.jpg', '/home/pi/Desktop/images/15122025/01/08/image_15122025_01_08_14_10653.jpg', '/home/pi/Desktop/images/15122025/01/08/image_15122025_01_08_24_9631.jpg', '/home/pi/Desktop/images/15122025/01/08/image_15122025_01_08_34_9692.jpg', '/home/pi/Desktop/images/15122025/01/08/image_15122025_01_08_44_10663.jpg', '/home/pi/Desktop/images/15122025/01/08/image_15122025_01_08_54_9758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/07/image_15122025_01_07_54_9672.jpg
/home/pi/Desktop/images/15122025/01/08/image_15122025_01_08_14_10653.jpg
/home/pi/Desktop/images/15122025/01/08/image_15122025_01_08_24_9631.jpg
/home/pi/Desktop/images/15122025/01/08/image_15122025_01_08_34_9692.jpg
/home/pi/Desktop/images/15122025/01/08/image_15122025_01_08_44_10663.jpg
/home/pi/Desktop/images/15122025/01/08/image_15122025_01_08_54_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":["1399422551","1399422554","1399422553","1399422550","1399422552","1399422549"],"photo_ids_order":["1399422549","1399422550","1399422551","1399422552","1399422553","1399422554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0feb633d347086815dceb01bbe1750f7.jpg","text":"TemporaryFile(/tmp/multipartBody8028104396795073831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757883951,"filename":"image_15122025_01_08_24_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6489eb3b44ec86de028a7e8dcc86c901.jpg","text":"TemporaryFile(/tmp/multipartBody8333181060337171760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757883951,"filename":"image_15122025_01_08_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/15/d91cb43493aa59543185fcf398dd0190.jpg","text":"TemporaryFile(/tmp/multipartBody4687637168951775338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757883951,"filename":"image_15122025_01_08_44_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/321bfe5889fbde0521dee93f5f6a4496.jpg","text":"TemporaryFile(/tmp/multipartBody6541689997230770982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757883951,"filename":"image_15122025_01_08_14_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8c77cbaddaef20b95ac88ef68c7982f9.jpg","text":"TemporaryFile(/tmp/multipartBody1799636352531541399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757883951,"filename":"image_15122025_01_08_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/15/74266a67f7a892944d8968686f159315.jpg","text":"TemporaryFile(/tmp/multipartBody3749451219465082482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757883951,"filename":"image_15122025_01_07_54_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422551","file1":"1399422550","file0":"1399422549","file4":"1399422553","file5":"1399422554","file3":"1399422552"},"map_files_photo_id_array":[{"photo_id":"1399422554","filename":"file5"},{"photo_id":"1399422551","filename":"file2"},{"photo_id":"1399422553","filename":"file4"},{"photo_id":"1399422550","filename":"file1"},{"photo_id":"1399422549","filename":"file0"},{"photo_id":"1399422552","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422551":["hashtag1","hashtag2"]},{"1399422554":["hashtag1","hashtag2"]},{"1399422553":["hashtag1","hashtag2"]},{"1399422550":["hashtag1","hashtag2"]},{"1399422552":["hashtag1","hashtag2"]},{"1399422549":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422551, 1399422554, 1399422553, 1399422550, 1399422552, 1399422549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.516966581344604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 01:17:42.711351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_54_1750.jpg', '/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_56_1714.jpg', '/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_57_1706.jpg', '/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_59_1543.jpg', '/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_01_2637.jpg', '/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_04_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_54_1750.jpg
/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_56_1714.jpg
/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_57_1706.jpg
/home/pi/Desktop/images/05112025/12/25/image_05112025_12_25_59_1543.jpg
/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_01_2637.jpg
/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_04_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":["1399422560","1399422559","1399422561","1399422555","1399422558","1399422557"],"photo_ids_order":["1399422555","1399422557","1399422558","1399422559","1399422560","1399422561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c084a805b21e2695635781d37770e3f9.jpg","text":"TemporaryFile(/tmp/multipartBody6048437405972368146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757923307,"filename":"image_05112025_12_26_01_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9327009e2a242373d0485a0ace747dbc.jpg","text":"TemporaryFile(/tmp/multipartBody1288752622831372367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757923307,"filename":"image_05112025_12_25_59_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/15/3def0ce82a3f41c95d1361d504d6de94.jpg","text":"TemporaryFile(/tmp/multipartBody583002142711169614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757923307,"filename":"image_05112025_12_26_04_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/15/6cb642f872951229ca8b0ba93072b817.jpg","text":"TemporaryFile(/tmp/multipartBody719050333184736677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757923307,"filename":"image_05112025_12_25_54_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/15/4d4a9e302173441bbe565135cacaa9ec.jpg","text":"TemporaryFile(/tmp/multipartBody8562732254873361331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757923307,"filename":"image_05112025_12_25_57_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/15/101edf8be0ccb125ee9e129295bd4c26.jpg","text":"TemporaryFile(/tmp/multipartBody3529699744314583238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757923307,"filename":"image_05112025_12_25_56_1714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422558","file1":"1399422557","file0":"1399422555","file4":"1399422560","file5":"1399422561","file3":"1399422559"},"map_files_photo_id_array":[{"photo_id":"1399422561","filename":"file5"},{"photo_id":"1399422558","filename":"file2"},{"photo_id":"1399422560","filename":"file4"},{"photo_id":"1399422557","filename":"file1"},{"photo_id":"1399422555","filename":"file0"},{"photo_id":"1399422559","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399422560":["hashtag1","hashtag2"]},{"1399422559":["hashtag1","hashtag2"]},{"1399422561":["hashtag1","hashtag2"]},{"1399422555":["hashtag1","hashtag2"]},{"1399422558":["hashtag1","hashtag2"]},{"1399422557":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399422560, 1399422559, 1399422561, 1399422555, 1399422558, 1399422557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.552539110183716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 01:18:21.966676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/08/image_15122025_01_09_04_9709.jpg', '/home/pi/Desktop/images/15122025/01/09/image_15122025_01_09_14_9805.jpg', '/home/pi/Desktop/images/15122025/01/09/image_15122025_01_09_25_10802.jpg', '/home/pi/Desktop/images/15122025/01/09/image_15122025_01_09_34_9726.jpg', '/home/pi/Desktop/images/15122025/01/09/image_15122025_01_09_44_9616.jpg', '/home/pi/Desktop/images/15122025/01/09/image_15122025_01_10_04_9849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/08/image_15122025_01_09_04_9709.jpg
/home/pi/Desktop/images/15122025/01/09/image_15122025_01_09_14_9805.jpg
/home/pi/Desktop/images/15122025/01/09/image_15122025_01_09_25_10802.jpg
/home/pi/Desktop/images/15122025/01/09/image_15122025_01_09_34_9726.jpg
/home/pi/Desktop/images/15122025/01/09/image_15122025_01_09_44_9616.jpg
/home/pi/Desktop/images/15122025/01/09/image_15122025_01_10_04_9849.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5058929920196533 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 01:18:31.983726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_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/48/image_14122025_23_48_55_10858.jpg', '/home/pi/Desktop/images/14122025/23/48/image_14122025_23_49_04_9615.jpg', '/home/pi/Desktop/images/14122025/23/49/image_14122025_23_49_14_9757.jpg', '/home/pi/Desktop/images/14122025/23/49/image_14122025_23_49_24_9828.jpg', '/home/pi/Desktop/images/14122025/23/49/image_14122025_23_49_34_10581.jpg', '/home/pi/Desktop/images/14122025/23/49/image_14122025_23_49_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/23/48/image_14122025_23_48_55_10858.jpg
/home/pi/Desktop/images/14122025/23/48/image_14122025_23_49_04_9615.jpg
/home/pi/Desktop/images/14122025/23/49/image_14122025_23_49_14_9757.jpg
/home/pi/Desktop/images/14122025/23/49/image_14122025_23_49_24_9828.jpg
/home/pi/Desktop/images/14122025/23/49/image_14122025_23_49_34_10581.jpg
/home/pi/Desktop/images/14122025/23/49/image_14122025_23_49_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":["1399422572","1399422571","1399422565","1399422570","1399422567","1399422569"],"photo_ids_order":["1399422565","1399422567","1399422569","1399422570","1399422571","1399422572"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e21cfe50ffd660d708e0e29a2a60bd0e.jpg","text":"TemporaryFile(/tmp/multipartBody5018611745118530450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757973639,"filename":"image_14122025_23_49_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/15/5878702074bd37f0e8a7d8d656faa6c6.jpg","text":"TemporaryFile(/tmp/multipartBody1978393761941113792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757973639,"filename":"image_14122025_23_49_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/15/21f0ab830d710d81923d82f9782bf393.jpg","text":"TemporaryFile(/tmp/multipartBody6721701671828194244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757973639,"filename":"image_14122025_23_48_55_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/15/7b6c5fe972bd495ba678166b7957aa08.jpg","text":"TemporaryFile(/tmp/multipartBody2240238047973064281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757973639,"filename":"image_14122025_23_49_24_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c632903fd413985a2691a919d198fee6.jpg","text":"TemporaryFile(/tmp/multipartBody7144550770885255659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757973639,"filename":"image_14122025_23_49_04_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/25422853c71d6a674cea9249984cef2c.jpg","text":"TemporaryFile(/tmp/multipartBody6562048489901855490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765757973639,"filename":"image_14122025_23_49_14_9757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422569","file1":"1399422567","file0":"1399422565","file4":"1399422571","file5":"1399422572","file3":"1399422570"},"map_files_photo_id_array":[{"photo_id":"1399422572","filename":"file5"},{"photo_id":"1399422569","filename":"file2"},{"photo_id":"1399422571","filename":"file4"},{"photo_id":"1399422567","filename":"file1"},{"photo_id":"1399422565","filename":"file0"},{"photo_id":"1399422570","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399422572":["hashtag1","hashtag2"]},{"1399422571":["hashtag1","hashtag2"]},{"1399422565":["hashtag1","hashtag2"]},{"1399422570":["hashtag1","hashtag2"]},{"1399422567":["hashtag1","hashtag2"]},{"1399422569":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399422572, 1399422571, 1399422565, 1399422570, 1399422567, 1399422569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.669145345687866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 01:19:12.134112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_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/49/image_14122025_23_49_54_9799.jpg', '/home/pi/Desktop/images/14122025/23/50/image_14122025_23_50_14_9595.jpg', '/home/pi/Desktop/images/14122025/23/50/image_14122025_23_50_24_9547.jpg', '/home/pi/Desktop/images/14122025/23/50/image_14122025_23_50_34_10701.jpg', '/home/pi/Desktop/images/14122025/23/50/image_14122025_23_50_44_9725.jpg', '/home/pi/Desktop/images/14122025/23/50/image_14122025_23_50_54_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/23/49/image_14122025_23_49_54_9799.jpg
/home/pi/Desktop/images/14122025/23/50/image_14122025_23_50_14_9595.jpg
/home/pi/Desktop/images/14122025/23/50/image_14122025_23_50_24_9547.jpg
/home/pi/Desktop/images/14122025/23/50/image_14122025_23_50_34_10701.jpg
/home/pi/Desktop/images/14122025/23/50/image_14122025_23_50_44_9725.jpg
/home/pi/Desktop/images/14122025/23/50/image_14122025_23_50_54_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":["1399422574","1399422577","1399422573","1399422576","1399422575","1399422578"],"photo_ids_order":["1399422573","1399422574","1399422575","1399422576","1399422577","1399422578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7af19e0ed0d73078c143f54d4c649696.jpg","text":"TemporaryFile(/tmp/multipartBody1467910346837767942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758013675,"filename":"image_14122025_23_50_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/15/d933636fb35b49c918d9c9193828586e.jpg","text":"TemporaryFile(/tmp/multipartBody3866756826593531917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758013675,"filename":"image_14122025_23_50_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/15/47792561d034966bee799b6f9145cf20.jpg","text":"TemporaryFile(/tmp/multipartBody5958815613913673206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758013675,"filename":"image_14122025_23_49_54_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/15/dcfcb61a36f6ba08bf12e333ed1bbcd8.jpg","text":"TemporaryFile(/tmp/multipartBody8417091922538784183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758013675,"filename":"image_14122025_23_50_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/15/14ada5ae3f0a92bb07f2ecf3df5a2d30.jpg","text":"TemporaryFile(/tmp/multipartBody5691162069220327093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758013675,"filename":"image_14122025_23_50_24_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6f445264da9f2175a36c5c634d15ff11.jpg","text":"TemporaryFile(/tmp/multipartBody5287719766533989399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758013675,"filename":"image_14122025_23_50_54_9879.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422575","file1":"1399422574","file0":"1399422573","file4":"1399422577","file5":"1399422578","file3":"1399422576"},"map_files_photo_id_array":[{"photo_id":"1399422578","filename":"file5"},{"photo_id":"1399422575","filename":"file2"},{"photo_id":"1399422577","filename":"file4"},{"photo_id":"1399422574","filename":"file1"},{"photo_id":"1399422573","filename":"file0"},{"photo_id":"1399422576","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399422574":["hashtag1","hashtag2"]},{"1399422577":["hashtag1","hashtag2"]},{"1399422573":["hashtag1","hashtag2"]},{"1399422576":["hashtag1","hashtag2"]},{"1399422575":["hashtag1","hashtag2"]},{"1399422578":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399422574, 1399422577, 1399422573, 1399422576, 1399422575, 1399422578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43690466880798 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 01:20:02.939671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/08/image_15122025_01_09_04_9709.jpg', '/home/pi/Desktop/images/15122025/01/09/image_15122025_01_09_14_9805.jpg', '/home/pi/Desktop/images/15122025/01/09/image_15122025_01_09_25_10802.jpg', '/home/pi/Desktop/images/15122025/01/09/image_15122025_01_09_34_9726.jpg', '/home/pi/Desktop/images/15122025/01/09/image_15122025_01_09_44_9616.jpg', '/home/pi/Desktop/images/15122025/01/09/image_15122025_01_10_04_9849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/08/image_15122025_01_09_04_9709.jpg
/home/pi/Desktop/images/15122025/01/09/image_15122025_01_09_14_9805.jpg
/home/pi/Desktop/images/15122025/01/09/image_15122025_01_09_25_10802.jpg
/home/pi/Desktop/images/15122025/01/09/image_15122025_01_09_34_9726.jpg
/home/pi/Desktop/images/15122025/01/09/image_15122025_01_09_44_9616.jpg
/home/pi/Desktop/images/15122025/01/09/image_15122025_01_10_04_9849.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422580","1399422583","1399422582","1399422579","1399422581","1399422584"],"photo_ids_order":["1399422579","1399422580","1399422581","1399422582","1399422583","1399422584"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3781f0f024b5fe6fdc651268b4bcf47b.jpg","text":"TemporaryFile(/tmp/multipartBody7302786528823352866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758063613,"filename":"image_15122025_01_09_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/15/586dd1e8706b206fbf34449a079a76e4.jpg","text":"TemporaryFile(/tmp/multipartBody7406187877769794903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758063613,"filename":"image_15122025_01_09_44_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6d9650b173ac9f995b9f757de594a295.jpg","text":"TemporaryFile(/tmp/multipartBody2608359734449283112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758063613,"filename":"image_15122025_01_09_34_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b50489273e44c517a85a583624e69487.jpg","text":"TemporaryFile(/tmp/multipartBody4812434706032129516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758063613,"filename":"image_15122025_01_09_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/15/91734e8bfe26c7e06ddf4db9e877858e.jpg","text":"TemporaryFile(/tmp/multipartBody5642752266399170609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758063613,"filename":"image_15122025_01_09_25_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/15/f849a2cfecce21a8b5de0008d3137974.jpg","text":"TemporaryFile(/tmp/multipartBody3169447988770062501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758063613,"filename":"image_15122025_01_10_04_9849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422581","file1":"1399422580","file0":"1399422579","file4":"1399422583","file5":"1399422584","file3":"1399422582"},"map_files_photo_id_array":[{"photo_id":"1399422584","filename":"file5"},{"photo_id":"1399422581","filename":"file2"},{"photo_id":"1399422583","filename":"file4"},{"photo_id":"1399422580","filename":"file1"},{"photo_id":"1399422579","filename":"file0"},{"photo_id":"1399422582","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422580":["hashtag1","hashtag2"]},{"1399422583":["hashtag1","hashtag2"]},{"1399422582":["hashtag1","hashtag2"]},{"1399422579":["hashtag1","hashtag2"]},{"1399422581":["hashtag1","hashtag2"]},{"1399422584":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422580, 1399422583, 1399422582, 1399422579, 1399422581, 1399422584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.683188676834106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 01:20:42.365669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_07_2665.jpg', '/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_10_2773.jpg', '/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_13_3671.jpg', '/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_16_2605.jpg', '/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_19_2781.jpg', '/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_22_3526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_07_2665.jpg
/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_10_2773.jpg
/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_13_3671.jpg
/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_16_2605.jpg
/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_19_2781.jpg
/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_22_3526.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6217472553253174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 01:21:03.285560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/10/image_15122025_01_10_14_9743.jpg', '/home/pi/Desktop/images/15122025/01/10/image_15122025_01_10_35_10723.jpg', '/home/pi/Desktop/images/15122025/01/10/image_15122025_01_10_44_9591.jpg', '/home/pi/Desktop/images/15122025/01/10/image_15122025_01_10_54_9724.jpg', '/home/pi/Desktop/images/15122025/01/10/image_15122025_01_11_05_10693.jpg', '/home/pi/Desktop/images/15122025/01/11/image_15122025_01_11_14_9865.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/10/image_15122025_01_10_14_9743.jpg
/home/pi/Desktop/images/15122025/01/10/image_15122025_01_10_35_10723.jpg
/home/pi/Desktop/images/15122025/01/10/image_15122025_01_10_44_9591.jpg
/home/pi/Desktop/images/15122025/01/10/image_15122025_01_10_54_9724.jpg
/home/pi/Desktop/images/15122025/01/10/image_15122025_01_11_05_10693.jpg
/home/pi/Desktop/images/15122025/01/11/image_15122025_01_11_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":["1399422592","1399422595","1399422597","1399422594","1399422593","1399422596"],"photo_ids_order":["1399422592","1399422593","1399422594","1399422595","1399422596","1399422597"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c9503eea1fffe983f5febf9e81890a35.jpg","text":"TemporaryFile(/tmp/multipartBody7542281179085490089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758124020,"filename":"image_15122025_01_10_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/15/bcfa0273932c6d14e3d98b34b571e52f.jpg","text":"TemporaryFile(/tmp/multipartBody1834865389929858712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758124020,"filename":"image_15122025_01_10_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/15/ac7c8b8210522fb6209ed814163eb55d.jpg","text":"TemporaryFile(/tmp/multipartBody6632528477372493739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758124020,"filename":"image_15122025_01_11_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/15/0ae019e9c7b66a495e9164cdaa853029.jpg","text":"TemporaryFile(/tmp/multipartBody7173321619060911314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758124020,"filename":"image_15122025_01_10_44_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7f9479e8c89170ce9bbd2d72b240c654.jpg","text":"TemporaryFile(/tmp/multipartBody2851950276916727356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758124020,"filename":"image_15122025_01_10_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/15/91d732b276f011d0abeb9081b2515e1f.jpg","text":"TemporaryFile(/tmp/multipartBody3242854773711452428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758124020,"filename":"image_15122025_01_11_05_10693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422594","file1":"1399422593","file0":"1399422592","file4":"1399422596","file5":"1399422597","file3":"1399422595"},"map_files_photo_id_array":[{"photo_id":"1399422597","filename":"file5"},{"photo_id":"1399422594","filename":"file2"},{"photo_id":"1399422596","filename":"file4"},{"photo_id":"1399422593","filename":"file1"},{"photo_id":"1399422592","filename":"file0"},{"photo_id":"1399422595","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422592":["hashtag1","hashtag2"]},{"1399422595":["hashtag1","hashtag2"]},{"1399422597":["hashtag1","hashtag2"]},{"1399422594":["hashtag1","hashtag2"]},{"1399422593":["hashtag1","hashtag2"]},{"1399422596":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422592, 1399422595, 1399422597, 1399422594, 1399422593, 1399422596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.078335762023926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 01:21:42.721599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_07_2665.jpg', '/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_10_2773.jpg', '/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_13_3671.jpg', '/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_16_2605.jpg', '/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_19_2781.jpg', '/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_22_3526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_07_2665.jpg
/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_10_2773.jpg
/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_13_3671.jpg
/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_16_2605.jpg
/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_19_2781.jpg
/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_22_3526.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422598","1399422602","1399422601","1399422600","1399422603","1399422599"],"photo_ids_order":["1399422598","1399422599","1399422600","1399422601","1399422602","1399422603"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/95f2578ba1c990f2d086dc9b7044132a.jpg","text":"TemporaryFile(/tmp/multipartBody1905100338006727351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758163314,"filename":"image_05112025_12_26_07_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a017ceb5a5173fdc2fbbf4283a446195.jpg","text":"TemporaryFile(/tmp/multipartBody5545604863141811581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758163314,"filename":"image_05112025_12_26_19_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/15/71b79da0d9c67c159067facb73acddfb.jpg","text":"TemporaryFile(/tmp/multipartBody714773046952440412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758163314,"filename":"image_05112025_12_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/15/998593f5d255a93b32eddeec9f00bf2c.jpg","text":"TemporaryFile(/tmp/multipartBody1611241193461944972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758163314,"filename":"image_05112025_12_26_13_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/15/0d49f8ddcea2891091ac889f6bd49559.jpg","text":"TemporaryFile(/tmp/multipartBody3645434056500996807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758163314,"filename":"image_05112025_12_26_22_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/38a0ed5e1f9eea9dbe7d0b479a7282f6.jpg","text":"TemporaryFile(/tmp/multipartBody8940645224577859951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758163314,"filename":"image_05112025_12_26_10_2773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422600","file1":"1399422599","file0":"1399422598","file4":"1399422602","file5":"1399422603","file3":"1399422601"},"map_files_photo_id_array":[{"photo_id":"1399422603","filename":"file5"},{"photo_id":"1399422600","filename":"file2"},{"photo_id":"1399422602","filename":"file4"},{"photo_id":"1399422599","filename":"file1"},{"photo_id":"1399422598","filename":"file0"},{"photo_id":"1399422601","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399422598":["hashtag1","hashtag2"]},{"1399422602":["hashtag1","hashtag2"]},{"1399422601":["hashtag1","hashtag2"]},{"1399422600":["hashtag1","hashtag2"]},{"1399422603":["hashtag1","hashtag2"]},{"1399422599":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399422598, 1399422602, 1399422601, 1399422600, 1399422603, 1399422599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.388301849365234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 01:22:21.990865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/11/image_15122025_01_11_24_9742.jpg', '/home/pi/Desktop/images/15122025/01/11/image_15122025_01_11_34_10048.jpg', '/home/pi/Desktop/images/15122025/01/11/image_15122025_01_11_44_9776.jpg', '/home/pi/Desktop/images/15122025/01/11/image_15122025_01_11_55_10707.jpg', '/home/pi/Desktop/images/15122025/01/11/image_15122025_01_12_04_9749.jpg', '/home/pi/Desktop/images/15122025/01/12/image_15122025_01_12_14_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/11/image_15122025_01_11_24_9742.jpg
/home/pi/Desktop/images/15122025/01/11/image_15122025_01_11_34_10048.jpg
/home/pi/Desktop/images/15122025/01/11/image_15122025_01_11_44_9776.jpg
/home/pi/Desktop/images/15122025/01/11/image_15122025_01_11_55_10707.jpg
/home/pi/Desktop/images/15122025/01/11/image_15122025_01_12_04_9749.jpg
/home/pi/Desktop/images/15122025/01/12/image_15122025_01_12_14_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.513094425201416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 01:22:31.987419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_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/50/image_14122025_23_51_04_9720.jpg', '/home/pi/Desktop/images/14122025/23/51/image_14122025_23_51_15_10700.jpg', '/home/pi/Desktop/images/14122025/23/51/image_14122025_23_51_24_9737.jpg', '/home/pi/Desktop/images/14122025/23/51/image_14122025_23_51_34_9715.jpg', '/home/pi/Desktop/images/14122025/23/51/image_14122025_23_51_44_9791.jpg', '/home/pi/Desktop/images/14122025/23/51/image_14122025_23_51_55_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/23/50/image_14122025_23_51_04_9720.jpg
/home/pi/Desktop/images/14122025/23/51/image_14122025_23_51_15_10700.jpg
/home/pi/Desktop/images/14122025/23/51/image_14122025_23_51_24_9737.jpg
/home/pi/Desktop/images/14122025/23/51/image_14122025_23_51_34_9715.jpg
/home/pi/Desktop/images/14122025/23/51/image_14122025_23_51_44_9791.jpg
/home/pi/Desktop/images/14122025/23/51/image_14122025_23_51_55_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":["1399422611","1399422614","1399422613","1399422607","1399422609","1399422612"],"photo_ids_order":["1399422607","1399422609","1399422611","1399422612","1399422613","1399422614"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4d4265cb13182447805f69e82e9d6e6b.jpg","text":"TemporaryFile(/tmp/multipartBody6462151305552381142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758213632,"filename":"image_14122025_23_51_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/15/140fff9d18fb1cb80fb4774a35aea411.jpg","text":"TemporaryFile(/tmp/multipartBody1354395296468300161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758213632,"filename":"image_14122025_23_51_55_10812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1394a2e106b2e0ab6a70159f42d0b7fd.jpg","text":"TemporaryFile(/tmp/multipartBody3826885947830337899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758213632,"filename":"image_14122025_23_51_44_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f8e07e0c919492c6a868d1676081bb47.jpg","text":"TemporaryFile(/tmp/multipartBody5761753644648767728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758213632,"filename":"image_14122025_23_51_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/15/669a8b6d4141f38f54611fca28fcf61d.jpg","text":"TemporaryFile(/tmp/multipartBody7982452959612467440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758213632,"filename":"image_14122025_23_51_15_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5591b9851459741f494596c387a7bcf5.jpg","text":"TemporaryFile(/tmp/multipartBody7004672700744255623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758213632,"filename":"image_14122025_23_51_34_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422611","file1":"1399422609","file0":"1399422607","file4":"1399422613","file5":"1399422614","file3":"1399422612"},"map_files_photo_id_array":[{"photo_id":"1399422614","filename":"file5"},{"photo_id":"1399422611","filename":"file2"},{"photo_id":"1399422613","filename":"file4"},{"photo_id":"1399422609","filename":"file1"},{"photo_id":"1399422607","filename":"file0"},{"photo_id":"1399422612","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399422611":["hashtag1","hashtag2"]},{"1399422614":["hashtag1","hashtag2"]},{"1399422613":["hashtag1","hashtag2"]},{"1399422607":["hashtag1","hashtag2"]},{"1399422609":["hashtag1","hashtag2"]},{"1399422612":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399422611, 1399422614, 1399422613, 1399422607, 1399422609, 1399422612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42722129821777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 01:23:12.216066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_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/51/image_14122025_23_52_04_9667.jpg', '/home/pi/Desktop/images/14122025/23/52/image_14122025_23_52_14_9642.jpg', '/home/pi/Desktop/images/14122025/23/52/image_14122025_23_52_25_10668.jpg', '/home/pi/Desktop/images/14122025/23/52/image_14122025_23_52_34_9805.jpg', '/home/pi/Desktop/images/14122025/23/52/image_14122025_23_52_44_9807.jpg', '/home/pi/Desktop/images/14122025/23/52/image_14122025_23_52_54_9873.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/51/image_14122025_23_52_04_9667.jpg
/home/pi/Desktop/images/14122025/23/52/image_14122025_23_52_14_9642.jpg
/home/pi/Desktop/images/14122025/23/52/image_14122025_23_52_25_10668.jpg
/home/pi/Desktop/images/14122025/23/52/image_14122025_23_52_34_9805.jpg
/home/pi/Desktop/images/14122025/23/52/image_14122025_23_52_44_9807.jpg
/home/pi/Desktop/images/14122025/23/52/image_14122025_23_52_54_9873.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422620","1399422617","1399422616","1399422619","1399422615","1399422618"],"photo_ids_order":["1399422615","1399422616","1399422617","1399422618","1399422619","1399422620"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/506e68da9a80945a862f110df0bee78a.jpg","text":"TemporaryFile(/tmp/multipartBody3460248653189350267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758253782,"filename":"image_14122025_23_52_54_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/15/59842742b771775efe67f027ea23fe4c.jpg","text":"TemporaryFile(/tmp/multipartBody6164140852033615883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758253782,"filename":"image_14122025_23_52_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/15/45e647881681894ad2077e70557f8910.jpg","text":"TemporaryFile(/tmp/multipartBody3371337122643064813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758253782,"filename":"image_14122025_23_52_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/15/9088f4d30b433591f453c21d5c15d337.jpg","text":"TemporaryFile(/tmp/multipartBody2235472462721546468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758253782,"filename":"image_14122025_23_52_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/15/a2ef66c8ab1da7b5f8c64c8e387ae69b.jpg","text":"TemporaryFile(/tmp/multipartBody3749829303238215515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758253782,"filename":"image_14122025_23_52_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/15/a6a981d2eca7f9736034e0cea2e27a00.jpg","text":"TemporaryFile(/tmp/multipartBody3633068272987689777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758253782,"filename":"image_14122025_23_52_34_9805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422617","file1":"1399422616","file0":"1399422615","file4":"1399422619","file5":"1399422620","file3":"1399422618"},"map_files_photo_id_array":[{"photo_id":"1399422620","filename":"file5"},{"photo_id":"1399422617","filename":"file2"},{"photo_id":"1399422619","filename":"file4"},{"photo_id":"1399422616","filename":"file1"},{"photo_id":"1399422615","filename":"file0"},{"photo_id":"1399422618","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399422620":["hashtag1","hashtag2"]},{"1399422617":["hashtag1","hashtag2"]},{"1399422616":["hashtag1","hashtag2"]},{"1399422619":["hashtag1","hashtag2"]},{"1399422615":["hashtag1","hashtag2"]},{"1399422618":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399422620, 1399422617, 1399422616, 1399422619, 1399422615, 1399422618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16692280769348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 01:24:03.162117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/11/image_15122025_01_11_24_9742.jpg', '/home/pi/Desktop/images/15122025/01/11/image_15122025_01_11_34_10048.jpg', '/home/pi/Desktop/images/15122025/01/11/image_15122025_01_11_44_9776.jpg', '/home/pi/Desktop/images/15122025/01/11/image_15122025_01_11_55_10707.jpg', '/home/pi/Desktop/images/15122025/01/11/image_15122025_01_12_04_9749.jpg', '/home/pi/Desktop/images/15122025/01/12/image_15122025_01_12_14_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/11/image_15122025_01_11_24_9742.jpg
/home/pi/Desktop/images/15122025/01/11/image_15122025_01_11_34_10048.jpg
/home/pi/Desktop/images/15122025/01/11/image_15122025_01_11_44_9776.jpg
/home/pi/Desktop/images/15122025/01/11/image_15122025_01_11_55_10707.jpg
/home/pi/Desktop/images/15122025/01/11/image_15122025_01_12_04_9749.jpg
/home/pi/Desktop/images/15122025/01/12/image_15122025_01_12_14_9763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422626","1399422629","1399422625","1399422628","1399422627","1399422624"],"photo_ids_order":["1399422624","1399422625","1399422626","1399422627","1399422628","1399422629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b1799af18225c6994d7d7651f82e4916.jpg","text":"TemporaryFile(/tmp/multipartBody9031725835019774584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758303829,"filename":"image_15122025_01_11_44_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/692167c557bd241d0d492abc900f413e.jpg","text":"TemporaryFile(/tmp/multipartBody9220925373178428031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758303829,"filename":"image_15122025_01_12_14_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1135b8c2b37b5486687561126770123b.jpg","text":"TemporaryFile(/tmp/multipartBody4165547033144947003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758303829,"filename":"image_15122025_01_11_34_10048.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d3b91db524e65399342a05d5bf54b9fe.jpg","text":"TemporaryFile(/tmp/multipartBody8949362251734572158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758303829,"filename":"image_15122025_01_12_04_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cf3e0b6a13182f89be7b19708752e8fe.jpg","text":"TemporaryFile(/tmp/multipartBody6419480351836446471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758303829,"filename":"image_15122025_01_11_55_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5a6e99ec11ba98e23c1a2c8375d6160f.jpg","text":"TemporaryFile(/tmp/multipartBody6229131969222992926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758303829,"filename":"image_15122025_01_11_24_9742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422626","file1":"1399422625","file0":"1399422624","file4":"1399422628","file5":"1399422629","file3":"1399422627"},"map_files_photo_id_array":[{"photo_id":"1399422629","filename":"file5"},{"photo_id":"1399422626","filename":"file2"},{"photo_id":"1399422628","filename":"file4"},{"photo_id":"1399422625","filename":"file1"},{"photo_id":"1399422624","filename":"file0"},{"photo_id":"1399422627","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422626":["hashtag1","hashtag2"]},{"1399422629":["hashtag1","hashtag2"]},{"1399422625":["hashtag1","hashtag2"]},{"1399422628":["hashtag1","hashtag2"]},{"1399422627":["hashtag1","hashtag2"]},{"1399422624":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422626, 1399422629, 1399422625, 1399422628, 1399422627, 1399422624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.51955032348633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 01:24:42.436691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_25_2667.jpg', '/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_27_2647.jpg', '/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_31_3636.jpg', '/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_34_2795.jpg', '/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_37_2845.jpg', '/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_39_2576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_25_2667.jpg
/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_27_2647.jpg
/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_31_3636.jpg
/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_34_2795.jpg
/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_37_2845.jpg
/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_39_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":["1399422632","1399422635","1399422634","1399422631","1399422633","1399422630"],"photo_ids_order":["1399422630","1399422631","1399422632","1399422633","1399422634","1399422635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/527c089676e7b3bd294226abc8c5be59.jpg","text":"TemporaryFile(/tmp/multipartBody7734611034521012723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758343145,"filename":"image_05112025_12_26_31_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/15/28000f480a0a5bd6b3528eb1b48bf103.jpg","text":"TemporaryFile(/tmp/multipartBody844736726042630300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758343145,"filename":"image_05112025_12_26_39_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/15/2957138aa31acb9c7bf980393a189000.jpg","text":"TemporaryFile(/tmp/multipartBody357051808691512612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758343145,"filename":"image_05112025_12_26_37_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a11ae6f6da755010e2d81c22b154efef.jpg","text":"TemporaryFile(/tmp/multipartBody2993156122932740819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758343145,"filename":"image_05112025_12_26_27_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/15/296d0a3894d026212dc3464c83ee7d3a.jpg","text":"TemporaryFile(/tmp/multipartBody4646531618362610098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758343145,"filename":"image_05112025_12_26_34_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2bcae9a7c2e7228f0dd5b61cee4ea416.jpg","text":"TemporaryFile(/tmp/multipartBody6318371316991326629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758343145,"filename":"image_05112025_12_26_25_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422632","file1":"1399422631","file0":"1399422630","file4":"1399422634","file5":"1399422635","file3":"1399422633"},"map_files_photo_id_array":[{"photo_id":"1399422635","filename":"file5"},{"photo_id":"1399422632","filename":"file2"},{"photo_id":"1399422634","filename":"file4"},{"photo_id":"1399422631","filename":"file1"},{"photo_id":"1399422630","filename":"file0"},{"photo_id":"1399422633","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399422632":["hashtag1","hashtag2"]},{"1399422635":["hashtag1","hashtag2"]},{"1399422634":["hashtag1","hashtag2"]},{"1399422631":["hashtag1","hashtag2"]},{"1399422633":["hashtag1","hashtag2"]},{"1399422630":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399422632, 1399422635, 1399422634, 1399422631, 1399422633, 1399422630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.645071506500244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 01:25:22.689753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/12/image_15122025_01_12_24_9673.jpg', '/home/pi/Desktop/images/15122025/01/12/image_15122025_01_12_34_9837.jpg', '/home/pi/Desktop/images/15122025/01/12/image_15122025_01_12_44_10647.jpg', '/home/pi/Desktop/images/15122025/01/12/image_15122025_01_12_54_9682.jpg', '/home/pi/Desktop/images/15122025/01/12/image_15122025_01_13_04_9832.jpg', '/home/pi/Desktop/images/15122025/01/13/image_15122025_01_13_15_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/12/image_15122025_01_12_24_9673.jpg
/home/pi/Desktop/images/15122025/01/12/image_15122025_01_12_34_9837.jpg
/home/pi/Desktop/images/15122025/01/12/image_15122025_01_12_44_10647.jpg
/home/pi/Desktop/images/15122025/01/12/image_15122025_01_12_54_9682.jpg
/home/pi/Desktop/images/15122025/01/12/image_15122025_01_13_04_9832.jpg
/home/pi/Desktop/images/15122025/01/13/image_15122025_01_13_15_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":["1399422638","1399422641","1399422640","1399422637","1399422636","1399422639"],"photo_ids_order":["1399422636","1399422637","1399422638","1399422639","1399422640","1399422641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/435d54dcd9af887195b22cf0485ad9cc.jpg","text":"TemporaryFile(/tmp/multipartBody941823771521152717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758383310,"filename":"image_15122025_01_12_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/15/bce01c88df743999f83a5767ed2c8c80.jpg","text":"TemporaryFile(/tmp/multipartBody3754470866343279334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758383310,"filename":"image_15122025_01_13_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/15/7cdbf1110648da8275e052f299488610.jpg","text":"TemporaryFile(/tmp/multipartBody5872989017712379222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758383310,"filename":"image_15122025_01_13_04_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4ef598f11d9bd5c8d8e3c4941ffc0d64.jpg","text":"TemporaryFile(/tmp/multipartBody7326831847140259213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758383310,"filename":"image_15122025_01_12_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/15/f27c7cbcb7fc970518742a1a2c23ed2f.jpg","text":"TemporaryFile(/tmp/multipartBody8123912498028251007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758383310,"filename":"image_15122025_01_12_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/15/4cc6f77a0f85bd8048d58aa2a0217c73.jpg","text":"TemporaryFile(/tmp/multipartBody4198587396513663645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758383310,"filename":"image_15122025_01_12_54_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422638","file1":"1399422637","file0":"1399422636","file4":"1399422640","file5":"1399422641","file3":"1399422639"},"map_files_photo_id_array":[{"photo_id":"1399422641","filename":"file5"},{"photo_id":"1399422638","filename":"file2"},{"photo_id":"1399422640","filename":"file4"},{"photo_id":"1399422637","filename":"file1"},{"photo_id":"1399422636","filename":"file0"},{"photo_id":"1399422639","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422638":["hashtag1","hashtag2"]},{"1399422641":["hashtag1","hashtag2"]},{"1399422640":["hashtag1","hashtag2"]},{"1399422637":["hashtag1","hashtag2"]},{"1399422636":["hashtag1","hashtag2"]},{"1399422639":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422638, 1399422641, 1399422640, 1399422637, 1399422636, 1399422639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.892855644226074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 01:26:02.511772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/13/image_15122025_01_13_24_9653.jpg', '/home/pi/Desktop/images/15122025/01/13/image_15122025_01_13_34_9636.jpg', '/home/pi/Desktop/images/15122025/01/13/image_15122025_01_13_44_10646.jpg', '/home/pi/Desktop/images/15122025/01/13/image_15122025_01_13_54_9564.jpg', '/home/pi/Desktop/images/15122025/01/13/image_15122025_01_14_04_9839.jpg', '/home/pi/Desktop/images/15122025/01/14/image_15122025_01_14_14_10610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/13/image_15122025_01_13_24_9653.jpg
/home/pi/Desktop/images/15122025/01/13/image_15122025_01_13_34_9636.jpg
/home/pi/Desktop/images/15122025/01/13/image_15122025_01_13_44_10646.jpg
/home/pi/Desktop/images/15122025/01/13/image_15122025_01_13_54_9564.jpg
/home/pi/Desktop/images/15122025/01/13/image_15122025_01_14_04_9839.jpg
/home/pi/Desktop/images/15122025/01/14/image_15122025_01_14_14_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":["1399422644","1399422647","1399422643","1399422646","1399422645","1399422642"],"photo_ids_order":["1399422642","1399422643","1399422644","1399422645","1399422646","1399422647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5d4a5b9bcabbc55224fe40843cb02bc5.jpg","text":"TemporaryFile(/tmp/multipartBody256772282168583896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758423151,"filename":"image_15122025_01_13_44_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/15/61052c5fa817a7a3dbdadf9044fee5df.jpg","text":"TemporaryFile(/tmp/multipartBody6599229325074743675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758423151,"filename":"image_15122025_01_14_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/15/da07110d42ad3a698b0531c1f8ce8dfc.jpg","text":"TemporaryFile(/tmp/multipartBody3522404252487918772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758423151,"filename":"image_15122025_01_13_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/15/5cf92f43915d76d1fde60715ff4b5850.jpg","text":"TemporaryFile(/tmp/multipartBody6461750897208083150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758423151,"filename":"image_15122025_01_14_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/15/4d2422dd77c12391d923894e2442cef1.jpg","text":"TemporaryFile(/tmp/multipartBody8656066527495544248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758423151,"filename":"image_15122025_01_13_54_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/94037d1e565539a51ccc88de93db797d.jpg","text":"TemporaryFile(/tmp/multipartBody6966389058807644397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758423151,"filename":"image_15122025_01_13_24_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422644","file1":"1399422643","file0":"1399422642","file4":"1399422646","file5":"1399422647","file3":"1399422645"},"map_files_photo_id_array":[{"photo_id":"1399422647","filename":"file5"},{"photo_id":"1399422644","filename":"file2"},{"photo_id":"1399422646","filename":"file4"},{"photo_id":"1399422643","filename":"file1"},{"photo_id":"1399422642","filename":"file0"},{"photo_id":"1399422645","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422644":["hashtag1","hashtag2"]},{"1399422647":["hashtag1","hashtag2"]},{"1399422643":["hashtag1","hashtag2"]},{"1399422646":["hashtag1","hashtag2"]},{"1399422645":["hashtag1","hashtag2"]},{"1399422642":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422644, 1399422647, 1399422643, 1399422646, 1399422645, 1399422642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.556543827056885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 01:26:42.006315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_43_3838.jpg', '/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_46_2673.jpg', '/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_48_2537.jpg', '/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_52_3609.jpg', '/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_55_2545.jpg', '/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_58_3587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_43_3838.jpg
/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_46_2673.jpg
/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_48_2537.jpg
/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_52_3609.jpg
/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_55_2545.jpg
/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_58_3587.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5929653644561768 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 01:27:02.930111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/14/image_15122025_01_14_24_9589.jpg', '/home/pi/Desktop/images/15122025/01/14/image_15122025_01_14_34_9714.jpg', '/home/pi/Desktop/images/15122025/01/14/image_15122025_01_14_44_10698.jpg', '/home/pi/Desktop/images/15122025/01/14/image_15122025_01_14_54_9644.jpg', '/home/pi/Desktop/images/15122025/01/14/image_15122025_01_15_04_9623.jpg', '/home/pi/Desktop/images/15122025/01/15/image_15122025_01_15_14_10684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/14/image_15122025_01_14_24_9589.jpg
/home/pi/Desktop/images/15122025/01/14/image_15122025_01_14_34_9714.jpg
/home/pi/Desktop/images/15122025/01/14/image_15122025_01_14_44_10698.jpg
/home/pi/Desktop/images/15122025/01/14/image_15122025_01_14_54_9644.jpg
/home/pi/Desktop/images/15122025/01/14/image_15122025_01_15_04_9623.jpg
/home/pi/Desktop/images/15122025/01/15/image_15122025_01_15_14_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":["1399422659","1399422661","1399422658","1399422660","1399422657","1399422656"],"photo_ids_order":["1399422656","1399422657","1399422658","1399422659","1399422660","1399422661"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dd7c40ac1729c165e983201af7a366b4.jpg","text":"TemporaryFile(/tmp/multipartBody8925003747091863092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758483613,"filename":"image_15122025_01_14_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/15/543e803f4efd5a26c93af057321cd9c4.jpg","text":"TemporaryFile(/tmp/multipartBody5813160229420870501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758483613,"filename":"image_15122025_01_15_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/15/1f6df0b6c6e1833d582d63433371f87a.jpg","text":"TemporaryFile(/tmp/multipartBody8774403768611594528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758483613,"filename":"image_15122025_01_14_44_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/15/9f1bc45e707be4e4288c7106f77c6b44.jpg","text":"TemporaryFile(/tmp/multipartBody5194309410628066918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758483613,"filename":"image_15122025_01_15_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/15/947fe1ba6d70447038bf7fb1a010a03d.jpg","text":"TemporaryFile(/tmp/multipartBody397772797410585444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758483613,"filename":"image_15122025_01_14_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/15/f70767fa021803abc41683cbba4516c1.jpg","text":"TemporaryFile(/tmp/multipartBody3983521833006111722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758483613,"filename":"image_15122025_01_14_24_9589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422658","file1":"1399422657","file0":"1399422656","file4":"1399422660","file5":"1399422661","file3":"1399422659"},"map_files_photo_id_array":[{"photo_id":"1399422661","filename":"file5"},{"photo_id":"1399422658","filename":"file2"},{"photo_id":"1399422660","filename":"file4"},{"photo_id":"1399422657","filename":"file1"},{"photo_id":"1399422656","filename":"file0"},{"photo_id":"1399422659","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422659":["hashtag1","hashtag2"]},{"1399422661":["hashtag1","hashtag2"]},{"1399422658":["hashtag1","hashtag2"]},{"1399422660":["hashtag1","hashtag2"]},{"1399422657":["hashtag1","hashtag2"]},{"1399422656":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422659, 1399422661, 1399422658, 1399422660, 1399422657, 1399422656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.287984132766724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 01:27:42.425484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_43_3838.jpg', '/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_46_2673.jpg', '/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_48_2537.jpg', '/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_52_3609.jpg', '/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_55_2545.jpg', '/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_58_3587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_43_3838.jpg
/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_46_2673.jpg
/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_48_2537.jpg
/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_52_3609.jpg
/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_55_2545.jpg
/home/pi/Desktop/images/05112025/12/26/image_05112025_12_26_58_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":["1399422665","1399422667","1399422664","1399422663","1399422666","1399422662"],"photo_ids_order":["1399422662","1399422663","1399422664","1399422665","1399422666","1399422667"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/05a7a4555cba84d4f4b52dd0f705f6f3.jpg","text":"TemporaryFile(/tmp/multipartBody7013967772766963737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758523018,"filename":"image_05112025_12_26_52_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/68d79a944341d0711e7d4d08ac2baa8c.jpg","text":"TemporaryFile(/tmp/multipartBody7478287155394595356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758523018,"filename":"image_05112025_12_26_58_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/15/ca6258f89bf0f40791189809e0f8faaa.jpg","text":"TemporaryFile(/tmp/multipartBody397352794053072885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758523018,"filename":"image_05112025_12_26_48_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/15/b66211afd09b5f6b71a9ab39f0d28379.jpg","text":"TemporaryFile(/tmp/multipartBody1088547162320766041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758523018,"filename":"image_05112025_12_26_46_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/15/8d520550283ec2107c5de9726d8da215.jpg","text":"TemporaryFile(/tmp/multipartBody7101729565880577473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758523018,"filename":"image_05112025_12_26_55_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e02244bec46b405e38035f45832de450.jpg","text":"TemporaryFile(/tmp/multipartBody7329643017145084025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758523018,"filename":"image_05112025_12_26_43_3838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422664","file1":"1399422663","file0":"1399422662","file4":"1399422666","file5":"1399422667","file3":"1399422665"},"map_files_photo_id_array":[{"photo_id":"1399422667","filename":"file5"},{"photo_id":"1399422664","filename":"file2"},{"photo_id":"1399422666","filename":"file4"},{"photo_id":"1399422663","filename":"file1"},{"photo_id":"1399422662","filename":"file0"},{"photo_id":"1399422665","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399422665":["hashtag1","hashtag2"]},{"1399422667":["hashtag1","hashtag2"]},{"1399422664":["hashtag1","hashtag2"]},{"1399422663":["hashtag1","hashtag2"]},{"1399422666":["hashtag1","hashtag2"]},{"1399422662":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399422665, 1399422667, 1399422664, 1399422663, 1399422666, 1399422662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.221686363220215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 01:28:22.689230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/15/image_15122025_01_15_24_9559.jpg', '/home/pi/Desktop/images/15122025/01/15/image_15122025_01_15_34_9714.jpg', '/home/pi/Desktop/images/15122025/01/15/image_15122025_01_15_45_10949.jpg', '/home/pi/Desktop/images/15122025/01/15/image_15122025_01_16_04_9720.jpg', '/home/pi/Desktop/images/15122025/01/16/image_15122025_01_16_14_9702.jpg', '/home/pi/Desktop/images/15122025/01/16/image_15122025_01_16_24_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/15/image_15122025_01_15_24_9559.jpg
/home/pi/Desktop/images/15122025/01/15/image_15122025_01_15_34_9714.jpg
/home/pi/Desktop/images/15122025/01/15/image_15122025_01_15_45_10949.jpg
/home/pi/Desktop/images/15122025/01/15/image_15122025_01_16_04_9720.jpg
/home/pi/Desktop/images/15122025/01/16/image_15122025_01_16_14_9702.jpg
/home/pi/Desktop/images/15122025/01/16/image_15122025_01_16_24_10647.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5443134307861328 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 01:28:32.678191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_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/52/image_14122025_23_53_04_9758.jpg', '/home/pi/Desktop/images/14122025/23/53/image_14122025_23_53_15_10735.jpg', '/home/pi/Desktop/images/14122025/23/53/image_14122025_23_53_24_9591.jpg', '/home/pi/Desktop/images/14122025/23/53/image_14122025_23_53_34_9748.jpg', '/home/pi/Desktop/images/14122025/23/53/image_14122025_23_53_45_10721.jpg', '/home/pi/Desktop/images/14122025/23/53/image_14122025_23_53_54_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/23/52/image_14122025_23_53_04_9758.jpg
/home/pi/Desktop/images/14122025/23/53/image_14122025_23_53_15_10735.jpg
/home/pi/Desktop/images/14122025/23/53/image_14122025_23_53_24_9591.jpg
/home/pi/Desktop/images/14122025/23/53/image_14122025_23_53_34_9748.jpg
/home/pi/Desktop/images/14122025/23/53/image_14122025_23_53_45_10721.jpg
/home/pi/Desktop/images/14122025/23/53/image_14122025_23_53_54_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":["1399422671","1399422673","1399422676","1399422678","1399422675","1399422677"],"photo_ids_order":["1399422671","1399422673","1399422675","1399422676","1399422677","1399422678"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c9b024e90cd77f0b5550dc42a4972b03.jpg","text":"TemporaryFile(/tmp/multipartBody516755050579468735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758574300,"filename":"image_14122025_23_53_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/15/9c70f54638433319c185fbfa01519ea6.jpg","text":"TemporaryFile(/tmp/multipartBody1855166139292844992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758574300,"filename":"image_14122025_23_53_15_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/95450e8e103acd1ba5ec68732412bd3f.jpg","text":"TemporaryFile(/tmp/multipartBody3601737063440352318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758574300,"filename":"image_14122025_23_53_34_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/69282419d8e736ae2785102c6d2c62fb.jpg","text":"TemporaryFile(/tmp/multipartBody909366584712507998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758574300,"filename":"image_14122025_23_53_54_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f8fe57d27a48fd950f47bddb9dd50c78.jpg","text":"TemporaryFile(/tmp/multipartBody7830813269158089994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758574300,"filename":"image_14122025_23_53_24_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ab09dca849985bbcd9c1345a83777ca1.jpg","text":"TemporaryFile(/tmp/multipartBody3148839870997190886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758574300,"filename":"image_14122025_23_53_45_10721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422675","file1":"1399422673","file0":"1399422671","file4":"1399422677","file5":"1399422678","file3":"1399422676"},"map_files_photo_id_array":[{"photo_id":"1399422678","filename":"file5"},{"photo_id":"1399422675","filename":"file2"},{"photo_id":"1399422677","filename":"file4"},{"photo_id":"1399422673","filename":"file1"},{"photo_id":"1399422671","filename":"file0"},{"photo_id":"1399422676","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399422671":["hashtag1","hashtag2"]},{"1399422673":["hashtag1","hashtag2"]},{"1399422676":["hashtag1","hashtag2"]},{"1399422678":["hashtag1","hashtag2"]},{"1399422675":["hashtag1","hashtag2"]},{"1399422677":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399422671, 1399422673, 1399422676, 1399422678, 1399422675, 1399422677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68797779083252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 01:29:12.017033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_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/53/image_14122025_23_54_04_9785.jpg', '/home/pi/Desktop/images/14122025/23/54/image_14122025_23_54_14_9748.jpg', '/home/pi/Desktop/images/14122025/23/54/image_14122025_23_54_24_9903.jpg', '/home/pi/Desktop/images/14122025/23/54/image_14122025_23_54_35_10749.jpg', '/home/pi/Desktop/images/14122025/23/54/image_14122025_23_54_45_9985.jpg', '/home/pi/Desktop/images/14122025/23/54/image_14122025_23_54_54_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/23/53/image_14122025_23_54_04_9785.jpg
/home/pi/Desktop/images/14122025/23/54/image_14122025_23_54_14_9748.jpg
/home/pi/Desktop/images/14122025/23/54/image_14122025_23_54_24_9903.jpg
/home/pi/Desktop/images/14122025/23/54/image_14122025_23_54_35_10749.jpg
/home/pi/Desktop/images/14122025/23/54/image_14122025_23_54_45_9985.jpg
/home/pi/Desktop/images/14122025/23/54/image_14122025_23_54_54_9814.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422685","1399422682","1399422681","1399422686","1399422680","1399422683"],"photo_ids_order":["1399422680","1399422681","1399422682","1399422683","1399422685","1399422686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/69d375265cfd36140fb7319583c8fb1b.jpg","text":"TemporaryFile(/tmp/multipartBody7521093036530686125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758613595,"filename":"image_14122025_23_54_45_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/15/166ba48560c927645ddfd2baea734487.jpg","text":"TemporaryFile(/tmp/multipartBody2113380210761355509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758613595,"filename":"image_14122025_23_54_24_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/15/16a2acac0a01da9de70881415cd6c089.jpg","text":"TemporaryFile(/tmp/multipartBody6605292679949317131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758613595,"filename":"image_14122025_23_54_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/15/da8efa1bc79c5dcda20f6ebec12acd75.jpg","text":"TemporaryFile(/tmp/multipartBody4744047513580313086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758613595,"filename":"image_14122025_23_54_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/15/66d3a5e30c228537cff8e28c60736181.jpg","text":"TemporaryFile(/tmp/multipartBody8427839134029643255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758613595,"filename":"image_14122025_23_54_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/15/768c17b512b7355c8671001607fa8a9d.jpg","text":"TemporaryFile(/tmp/multipartBody3847013133412468722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758613595,"filename":"image_14122025_23_54_35_10749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422682","file1":"1399422681","file0":"1399422680","file4":"1399422685","file5":"1399422686","file3":"1399422683"},"map_files_photo_id_array":[{"photo_id":"1399422686","filename":"file5"},{"photo_id":"1399422682","filename":"file2"},{"photo_id":"1399422685","filename":"file4"},{"photo_id":"1399422681","filename":"file1"},{"photo_id":"1399422680","filename":"file0"},{"photo_id":"1399422683","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399422685":["hashtag1","hashtag2"]},{"1399422682":["hashtag1","hashtag2"]},{"1399422681":["hashtag1","hashtag2"]},{"1399422686":["hashtag1","hashtag2"]},{"1399422680":["hashtag1","hashtag2"]},{"1399422683":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399422685, 1399422682, 1399422681, 1399422686, 1399422680, 1399422683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.92301869392395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 01:30:02.593963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/15/image_15122025_01_15_24_9559.jpg', '/home/pi/Desktop/images/15122025/01/15/image_15122025_01_15_34_9714.jpg', '/home/pi/Desktop/images/15122025/01/15/image_15122025_01_15_45_10949.jpg', '/home/pi/Desktop/images/15122025/01/15/image_15122025_01_16_04_9720.jpg', '/home/pi/Desktop/images/15122025/01/16/image_15122025_01_16_14_9702.jpg', '/home/pi/Desktop/images/15122025/01/16/image_15122025_01_16_24_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/15/image_15122025_01_15_24_9559.jpg
/home/pi/Desktop/images/15122025/01/15/image_15122025_01_15_34_9714.jpg
/home/pi/Desktop/images/15122025/01/15/image_15122025_01_15_45_10949.jpg
/home/pi/Desktop/images/15122025/01/15/image_15122025_01_16_04_9720.jpg
/home/pi/Desktop/images/15122025/01/16/image_15122025_01_16_14_9702.jpg
/home/pi/Desktop/images/15122025/01/16/image_15122025_01_16_24_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422691","1399422694","1399422696","1399422693","1399422692","1399422695"],"photo_ids_order":["1399422691","1399422692","1399422693","1399422694","1399422695","1399422696"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5b078569fe74f5cba7ac80907bff7f06.jpg","text":"TemporaryFile(/tmp/multipartBody4969196713816093879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758663301,"filename":"image_15122025_01_15_24_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2165b6c8673595c7cd34fa662bb5840e.jpg","text":"TemporaryFile(/tmp/multipartBody6111498479739117517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758663301,"filename":"image_15122025_01_16_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/15/d9a84cafe496dcfa240e9f140371f9c1.jpg","text":"TemporaryFile(/tmp/multipartBody6891506511451848739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758663301,"filename":"image_15122025_01_16_24_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/756e54b6856f26afb69e063219ad3db7.jpg","text":"TemporaryFile(/tmp/multipartBody2773022001981279089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758663301,"filename":"image_15122025_01_15_45_10949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b609fc926b8e625829ee8bf82ddb7c99.jpg","text":"TemporaryFile(/tmp/multipartBody6743354910614349174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758663301,"filename":"image_15122025_01_15_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/15/cb38d56eff52d96794a187adf3ca6373.jpg","text":"TemporaryFile(/tmp/multipartBody815107051969129090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758663301,"filename":"image_15122025_01_16_14_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422693","file1":"1399422692","file0":"1399422691","file4":"1399422695","file5":"1399422696","file3":"1399422694"},"map_files_photo_id_array":[{"photo_id":"1399422696","filename":"file5"},{"photo_id":"1399422693","filename":"file2"},{"photo_id":"1399422695","filename":"file4"},{"photo_id":"1399422692","filename":"file1"},{"photo_id":"1399422691","filename":"file0"},{"photo_id":"1399422694","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422691":["hashtag1","hashtag2"]},{"1399422694":["hashtag1","hashtag2"]},{"1399422696":["hashtag1","hashtag2"]},{"1399422693":["hashtag1","hashtag2"]},{"1399422692":["hashtag1","hashtag2"]},{"1399422695":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422691, 1399422694, 1399422696, 1399422693, 1399422692, 1399422695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43491888046265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 01:30:42.194166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_01_2680.jpg', '/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_03_2613.jpg', '/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_07_3673.jpg', '/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_10_2722.jpg', '/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_13_2696.jpg', '/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_16_3608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_01_2680.jpg
/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_03_2613.jpg
/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_07_3673.jpg
/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_10_2722.jpg
/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_13_2696.jpg
/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_16_3608.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6023015975952148 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 01:31:03.126734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/16/image_15122025_01_16_34_9626.jpg', '/home/pi/Desktop/images/15122025/01/16/image_15122025_01_16_44_9827.jpg', '/home/pi/Desktop/images/15122025/01/16/image_15122025_01_16_55_10675.jpg', '/home/pi/Desktop/images/15122025/01/16/image_15122025_01_17_04_9723.jpg', '/home/pi/Desktop/images/15122025/01/17/image_15122025_01_17_14_9577.jpg', '/home/pi/Desktop/images/15122025/01/17/image_15122025_01_17_24_10692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/16/image_15122025_01_16_34_9626.jpg
/home/pi/Desktop/images/15122025/01/16/image_15122025_01_16_44_9827.jpg
/home/pi/Desktop/images/15122025/01/16/image_15122025_01_16_55_10675.jpg
/home/pi/Desktop/images/15122025/01/16/image_15122025_01_17_04_9723.jpg
/home/pi/Desktop/images/15122025/01/17/image_15122025_01_17_14_9577.jpg
/home/pi/Desktop/images/15122025/01/17/image_15122025_01_17_24_10692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422704","1399422707","1399422703","1399422706","1399422702","1399422705"],"photo_ids_order":["1399422702","1399422703","1399422704","1399422705","1399422706","1399422707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3dc4faa4cd4ee9fc8dc58951dc703350.jpg","text":"TemporaryFile(/tmp/multipartBody8491881201841561804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758723862,"filename":"image_15122025_01_16_55_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8d57df732769c39c6b1c5b3186a21b83.jpg","text":"TemporaryFile(/tmp/multipartBody6775977221845650379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758723862,"filename":"image_15122025_01_17_24_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/784cc7c373bc2d476596f8c52a743d3f.jpg","text":"TemporaryFile(/tmp/multipartBody7822031131172909291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758723862,"filename":"image_15122025_01_16_44_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f97cbb1646402b6cc5af13adebdf8b6c.jpg","text":"TemporaryFile(/tmp/multipartBody7656448974880081071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758723862,"filename":"image_15122025_01_17_14_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/28fd17adf1a0e717a2989c133b87a803.jpg","text":"TemporaryFile(/tmp/multipartBody780577651312493599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758723862,"filename":"image_15122025_01_16_34_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e5f6286d51603dd377065e438b517a06.jpg","text":"TemporaryFile(/tmp/multipartBody1151788457723201095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758723862,"filename":"image_15122025_01_17_04_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422704","file1":"1399422703","file0":"1399422702","file4":"1399422706","file5":"1399422707","file3":"1399422705"},"map_files_photo_id_array":[{"photo_id":"1399422707","filename":"file5"},{"photo_id":"1399422704","filename":"file2"},{"photo_id":"1399422706","filename":"file4"},{"photo_id":"1399422703","filename":"file1"},{"photo_id":"1399422702","filename":"file0"},{"photo_id":"1399422705","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422704":["hashtag1","hashtag2"]},{"1399422707":["hashtag1","hashtag2"]},{"1399422703":["hashtag1","hashtag2"]},{"1399422706":["hashtag1","hashtag2"]},{"1399422702":["hashtag1","hashtag2"]},{"1399422705":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422704, 1399422707, 1399422703, 1399422706, 1399422702, 1399422705)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.301799297332764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 01:32:03.174960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/17/image_15122025_01_17_34_9729.jpg', '/home/pi/Desktop/images/15122025/01/17/image_15122025_01_17_44_9559.jpg', '/home/pi/Desktop/images/15122025/01/17/image_15122025_01_18_04_9828.jpg', '/home/pi/Desktop/images/15122025/01/18/image_15122025_01_18_14_9675.jpg', '/home/pi/Desktop/images/15122025/01/18/image_15122025_01_18_24_9793.jpg', '/home/pi/Desktop/images/15122025/01/18/image_15122025_01_18_35_10761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/17/image_15122025_01_17_34_9729.jpg
/home/pi/Desktop/images/15122025/01/17/image_15122025_01_17_44_9559.jpg
/home/pi/Desktop/images/15122025/01/17/image_15122025_01_18_04_9828.jpg
/home/pi/Desktop/images/15122025/01/18/image_15122025_01_18_14_9675.jpg
/home/pi/Desktop/images/15122025/01/18/image_15122025_01_18_24_9793.jpg
/home/pi/Desktop/images/15122025/01/18/image_15122025_01_18_35_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":["1399422710","1399422713","1399422712","1399422709","1399422708","1399422711"],"photo_ids_order":["1399422708","1399422709","1399422710","1399422711","1399422712","1399422713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/76a8a26a3111975a1dad8cefbe34249b.jpg","text":"TemporaryFile(/tmp/multipartBody3074970382279672459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758783817,"filename":"image_15122025_01_18_04_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1cc4138df0abcab120003a03e1f8ce97.jpg","text":"TemporaryFile(/tmp/multipartBody6040680527917877858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758783817,"filename":"image_15122025_01_18_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/15/3d82a5ae09b4182123b05fa0cb2faad7.jpg","text":"TemporaryFile(/tmp/multipartBody1748251936982792319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758783817,"filename":"image_15122025_01_18_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/15/5ed0babbca7b553f5327701f11c93eff.jpg","text":"TemporaryFile(/tmp/multipartBody7519960183217430425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758783817,"filename":"image_15122025_01_17_44_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1a2ded2b7fd073099cbb3caeee6270f8.jpg","text":"TemporaryFile(/tmp/multipartBody3217832854447942263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758783817,"filename":"image_15122025_01_17_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/15/1ed7e1f833af685f44bfac15d421e87d.jpg","text":"TemporaryFile(/tmp/multipartBody403341504160335234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758783817,"filename":"image_15122025_01_18_14_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422710","file1":"1399422709","file0":"1399422708","file4":"1399422712","file5":"1399422713","file3":"1399422711"},"map_files_photo_id_array":[{"photo_id":"1399422713","filename":"file5"},{"photo_id":"1399422710","filename":"file2"},{"photo_id":"1399422712","filename":"file4"},{"photo_id":"1399422709","filename":"file1"},{"photo_id":"1399422708","filename":"file0"},{"photo_id":"1399422711","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422710":["hashtag1","hashtag2"]},{"1399422713":["hashtag1","hashtag2"]},{"1399422712":["hashtag1","hashtag2"]},{"1399422709":["hashtag1","hashtag2"]},{"1399422708":["hashtag1","hashtag2"]},{"1399422711":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422710, 1399422713, 1399422712, 1399422709, 1399422708, 1399422711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65970492362976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 01:32:42.659767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_01_2680.jpg', '/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_03_2613.jpg', '/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_07_3673.jpg', '/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_10_2722.jpg', '/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_13_2696.jpg', '/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_16_3608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_01_2680.jpg
/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_03_2613.jpg
/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_07_3673.jpg
/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_10_2722.jpg
/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_13_2696.jpg
/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_16_3608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422719","1399422721","1399422718","1399422720","1399422714","1399422717"],"photo_ids_order":["1399422714","1399422717","1399422718","1399422719","1399422720","1399422721"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/213a0930cf7b9662f097747e61989cac.jpg","text":"TemporaryFile(/tmp/multipartBody7980851940423029104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758823256,"filename":"image_05112025_12_27_10_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/15/96a2a86e21863bbf57d16ee13c1d0013.jpg","text":"TemporaryFile(/tmp/multipartBody3505596379860647579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758823256,"filename":"image_05112025_12_27_16_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/73fbb914a7cca48e186df18b057324b7.jpg","text":"TemporaryFile(/tmp/multipartBody8322675512861943332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758823256,"filename":"image_05112025_12_27_07_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/15/9ea0d33afa1f4c8b4494f62cc0bfbaa3.jpg","text":"TemporaryFile(/tmp/multipartBody4839992966324652305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758823256,"filename":"image_05112025_12_27_13_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/86845d9f60b1e8b05d70d892ba915117.jpg","text":"TemporaryFile(/tmp/multipartBody468269041969476083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758823256,"filename":"image_05112025_12_27_01_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/15/253ca40eafed4638dba03061b4a35f3d.jpg","text":"TemporaryFile(/tmp/multipartBody5440976996218724872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758823256,"filename":"image_05112025_12_27_03_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422718","file1":"1399422717","file0":"1399422714","file4":"1399422720","file5":"1399422721","file3":"1399422719"},"map_files_photo_id_array":[{"photo_id":"1399422721","filename":"file5"},{"photo_id":"1399422718","filename":"file2"},{"photo_id":"1399422720","filename":"file4"},{"photo_id":"1399422717","filename":"file1"},{"photo_id":"1399422714","filename":"file0"},{"photo_id":"1399422719","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399422719":["hashtag1","hashtag2"]},{"1399422721":["hashtag1","hashtag2"]},{"1399422718":["hashtag1","hashtag2"]},{"1399422720":["hashtag1","hashtag2"]},{"1399422714":["hashtag1","hashtag2"]},{"1399422717":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399422719, 1399422721, 1399422718, 1399422720, 1399422714, 1399422717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71533703804016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 01:33:21.893201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/18/image_15122025_01_18_44_9838.jpg', '/home/pi/Desktop/images/15122025/01/18/image_15122025_01_18_54_9798.jpg', '/home/pi/Desktop/images/15122025/01/18/image_15122025_01_19_04_9635.jpg', '/home/pi/Desktop/images/15122025/01/19/image_15122025_01_19_14_10613.jpg', '/home/pi/Desktop/images/15122025/01/19/image_15122025_01_19_24_9757.jpg', '/home/pi/Desktop/images/15122025/01/19/image_15122025_01_19_34_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/18/image_15122025_01_18_44_9838.jpg
/home/pi/Desktop/images/15122025/01/18/image_15122025_01_18_54_9798.jpg
/home/pi/Desktop/images/15122025/01/18/image_15122025_01_19_04_9635.jpg
/home/pi/Desktop/images/15122025/01/19/image_15122025_01_19_14_10613.jpg
/home/pi/Desktop/images/15122025/01/19/image_15122025_01_19_24_9757.jpg
/home/pi/Desktop/images/15122025/01/19/image_15122025_01_19_34_9635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422722","1399422725","1399422724","1399422727","1399422726","1399422723"],"photo_ids_order":["1399422722","1399422723","1399422724","1399422725","1399422726","1399422727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6b2dcecaf8444bc33cf11b2f847a1ef6.jpg","text":"TemporaryFile(/tmp/multipartBody7083470274834826090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758862544,"filename":"image_15122025_01_18_44_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7baaab6a05684994cee1cc6658222bbe.jpg","text":"TemporaryFile(/tmp/multipartBody512800651691319049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758862544,"filename":"image_15122025_01_19_14_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/15/02f021f3eb436ac8d851f538e1ffeae7.jpg","text":"TemporaryFile(/tmp/multipartBody8092715001501303102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758862544,"filename":"image_15122025_01_19_04_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/15/a31c56b8cd20ae7e4aa3bd983239e8e7.jpg","text":"TemporaryFile(/tmp/multipartBody7601359164723486895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758862544,"filename":"image_15122025_01_19_34_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/60c405be7d689703f2f6b9e7801c0960.jpg","text":"TemporaryFile(/tmp/multipartBody9191321238206704611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758862544,"filename":"image_15122025_01_19_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/15/b2dc32537c7ba6e706de2fbfe26d53b8.jpg","text":"TemporaryFile(/tmp/multipartBody8331115117184463172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758862544,"filename":"image_15122025_01_18_54_9798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422724","file1":"1399422723","file0":"1399422722","file4":"1399422726","file5":"1399422727","file3":"1399422725"},"map_files_photo_id_array":[{"photo_id":"1399422727","filename":"file5"},{"photo_id":"1399422724","filename":"file2"},{"photo_id":"1399422726","filename":"file4"},{"photo_id":"1399422723","filename":"file1"},{"photo_id":"1399422722","filename":"file0"},{"photo_id":"1399422725","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422722":["hashtag1","hashtag2"]},{"1399422725":["hashtag1","hashtag2"]},{"1399422724":["hashtag1","hashtag2"]},{"1399422727":["hashtag1","hashtag2"]},{"1399422726":["hashtag1","hashtag2"]},{"1399422723":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422722, 1399422725, 1399422724, 1399422727, 1399422726, 1399422723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60005187988281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 01:34:02.749446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/19/image_15122025_01_19_45_10743.jpg', '/home/pi/Desktop/images/15122025/01/19/image_15122025_01_19_54_9649.jpg', '/home/pi/Desktop/images/15122025/01/19/image_15122025_01_20_04_9747.jpg', '/home/pi/Desktop/images/15122025/01/20/image_15122025_01_20_14_10561.jpg', '/home/pi/Desktop/images/15122025/01/20/image_15122025_01_20_24_9834.jpg', '/home/pi/Desktop/images/15122025/01/20/image_15122025_01_20_34_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/19/image_15122025_01_19_45_10743.jpg
/home/pi/Desktop/images/15122025/01/19/image_15122025_01_19_54_9649.jpg
/home/pi/Desktop/images/15122025/01/19/image_15122025_01_20_04_9747.jpg
/home/pi/Desktop/images/15122025/01/20/image_15122025_01_20_14_10561.jpg
/home/pi/Desktop/images/15122025/01/20/image_15122025_01_20_24_9834.jpg
/home/pi/Desktop/images/15122025/01/20/image_15122025_01_20_34_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":["1399422731","1399422728","1399422733","1399422730","1399422732","1399422729"],"photo_ids_order":["1399422728","1399422729","1399422730","1399422731","1399422732","1399422733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d5d3f554d9bbc6581b1cab5e1fa567de.jpg","text":"TemporaryFile(/tmp/multipartBody4195312721466380516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758903419,"filename":"image_15122025_01_20_14_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/15/18418d141e5820c3be3b768b49ea7dc7.jpg","text":"TemporaryFile(/tmp/multipartBody5666369115458233658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758903419,"filename":"image_15122025_01_19_45_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4c8d5f90cf6e11a687bb597cfc647097.jpg","text":"TemporaryFile(/tmp/multipartBody9168487847640160097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758903419,"filename":"image_15122025_01_20_34_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a3105fa2325125d8e623f7cf5e12a611.jpg","text":"TemporaryFile(/tmp/multipartBody9222680579325886644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758903419,"filename":"image_15122025_01_20_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/15/4c836d8afd3a15913ead7ad59651b559.jpg","text":"TemporaryFile(/tmp/multipartBody4211679177651878374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758903419,"filename":"image_15122025_01_20_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/15/508c31c8fd4958306d5c748b0621f445.jpg","text":"TemporaryFile(/tmp/multipartBody5246623420977340853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758903419,"filename":"image_15122025_01_19_54_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422730","file1":"1399422729","file0":"1399422728","file4":"1399422732","file5":"1399422733","file3":"1399422731"},"map_files_photo_id_array":[{"photo_id":"1399422733","filename":"file5"},{"photo_id":"1399422730","filename":"file2"},{"photo_id":"1399422732","filename":"file4"},{"photo_id":"1399422729","filename":"file1"},{"photo_id":"1399422728","filename":"file0"},{"photo_id":"1399422731","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422731":["hashtag1","hashtag2"]},{"1399422728":["hashtag1","hashtag2"]},{"1399422733":["hashtag1","hashtag2"]},{"1399422730":["hashtag1","hashtag2"]},{"1399422732":["hashtag1","hashtag2"]},{"1399422729":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422731, 1399422728, 1399422733, 1399422730, 1399422732, 1399422729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46044850349426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 01:34:42.154415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_22_6117.jpg', '/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_28_5829.jpg', '/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_30_1600.jpg', '/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_37_7379.jpg', '/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_39_1703.jpg', '/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_40_1715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_22_6117.jpg
/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_28_5829.jpg
/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_30_1600.jpg
/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_37_7379.jpg
/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_39_1703.jpg
/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_40_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":["1399422737","1399422734","1399422736","1399422739","1399422738","1399422735"],"photo_ids_order":["1399422734","1399422735","1399422736","1399422737","1399422738","1399422739"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5c233fe8c3a4a14720c62eb25775f137.jpg","text":"TemporaryFile(/tmp/multipartBody3203356813059201406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758942862,"filename":"image_05112025_12_27_37_7379.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d6b056f68fcfa7b47c918878cf69cc86.jpg","text":"TemporaryFile(/tmp/multipartBody7185233308691818707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758942862,"filename":"image_05112025_12_27_22_6117.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/acd50d8ab04d5140d1885ccd14c10b33.jpg","text":"TemporaryFile(/tmp/multipartBody4660855551363058844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758942862,"filename":"image_05112025_12_27_30_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/15/af3c76d22af2f20b081a41b81d4acd20.jpg","text":"TemporaryFile(/tmp/multipartBody7527301726401564955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758942862,"filename":"image_05112025_12_27_40_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/15/b4c9e0169856c96cddce9848ed69afa1.jpg","text":"TemporaryFile(/tmp/multipartBody9034597232548101380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758942862,"filename":"image_05112025_12_27_39_1703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a76edb1b3ac37d0e53d460e84b6ee900.jpg","text":"TemporaryFile(/tmp/multipartBody5604161624629729899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758942862,"filename":"image_05112025_12_27_28_5829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422736","file1":"1399422735","file0":"1399422734","file4":"1399422738","file5":"1399422739","file3":"1399422737"},"map_files_photo_id_array":[{"photo_id":"1399422739","filename":"file5"},{"photo_id":"1399422736","filename":"file2"},{"photo_id":"1399422738","filename":"file4"},{"photo_id":"1399422735","filename":"file1"},{"photo_id":"1399422734","filename":"file0"},{"photo_id":"1399422737","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399422737":["hashtag1","hashtag2"]},{"1399422734":["hashtag1","hashtag2"]},{"1399422736":["hashtag1","hashtag2"]},{"1399422739":["hashtag1","hashtag2"]},{"1399422738":["hashtag1","hashtag2"]},{"1399422735":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399422737, 1399422734, 1399422736, 1399422739, 1399422738, 1399422735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.0011248588562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 01:35:22.424736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/20/image_15122025_01_20_44_9757.jpg', '/home/pi/Desktop/images/15122025/01/20/image_15122025_01_21_04_9687.jpg', '/home/pi/Desktop/images/15122025/01/21/image_15122025_01_21_14_9863.jpg', '/home/pi/Desktop/images/15122025/01/21/image_15122025_01_21_24_9610.jpg', '/home/pi/Desktop/images/15122025/01/21/image_15122025_01_21_35_10687.jpg', '/home/pi/Desktop/images/15122025/01/21/image_15122025_01_21_44_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/20/image_15122025_01_20_44_9757.jpg
/home/pi/Desktop/images/15122025/01/20/image_15122025_01_21_04_9687.jpg
/home/pi/Desktop/images/15122025/01/21/image_15122025_01_21_14_9863.jpg
/home/pi/Desktop/images/15122025/01/21/image_15122025_01_21_24_9610.jpg
/home/pi/Desktop/images/15122025/01/21/image_15122025_01_21_35_10687.jpg
/home/pi/Desktop/images/15122025/01/21/image_15122025_01_21_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":["1399422743","1399422742","1399422744","1399422747","1399422741","1399422740"],"photo_ids_order":["1399422740","1399422741","1399422742","1399422743","1399422744","1399422747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6706f468317ed0a428277c216e890fd2.jpg","text":"TemporaryFile(/tmp/multipartBody6655969678198062709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758983070,"filename":"image_15122025_01_21_24_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d1ca1a88817bb57d2673e959053b91b2.jpg","text":"TemporaryFile(/tmp/multipartBody2766622555351161744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758983070,"filename":"image_15122025_01_21_14_9863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3329c76315f9ab23995f48eba365f785.jpg","text":"TemporaryFile(/tmp/multipartBody7298802794825706406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758983070,"filename":"image_15122025_01_21_35_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f1e46338cc9d9d383ae250b6832e1e78.jpg","text":"TemporaryFile(/tmp/multipartBody4938719244888343555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758983070,"filename":"image_15122025_01_21_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/15/0c4b32d473c18880223ebbb4a5e50824.jpg","text":"TemporaryFile(/tmp/multipartBody556404796740591307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758983070,"filename":"image_15122025_01_21_04_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/edf4344e1972aee791c1340da0070725.jpg","text":"TemporaryFile(/tmp/multipartBody1455972803244330744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765758983070,"filename":"image_15122025_01_20_44_9757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422742","file1":"1399422741","file0":"1399422740","file4":"1399422744","file5":"1399422747","file3":"1399422743"},"map_files_photo_id_array":[{"photo_id":"1399422747","filename":"file5"},{"photo_id":"1399422742","filename":"file2"},{"photo_id":"1399422744","filename":"file4"},{"photo_id":"1399422741","filename":"file1"},{"photo_id":"1399422740","filename":"file0"},{"photo_id":"1399422743","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422743":["hashtag1","hashtag2"]},{"1399422742":["hashtag1","hashtag2"]},{"1399422744":["hashtag1","hashtag2"]},{"1399422747":["hashtag1","hashtag2"]},{"1399422741":["hashtag1","hashtag2"]},{"1399422740":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422743, 1399422742, 1399422744, 1399422747, 1399422741, 1399422740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.719093322753906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 01:36:03.012786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/21/image_15122025_01_21_54_9639.jpg', '/home/pi/Desktop/images/15122025/01/22/image_15122025_01_22_14_9744.jpg', '/home/pi/Desktop/images/15122025/01/22/image_15122025_01_22_24_9749.jpg', '/home/pi/Desktop/images/15122025/01/22/image_15122025_01_22_34_9721.jpg', '/home/pi/Desktop/images/15122025/01/22/image_15122025_01_22_44_10694.jpg', '/home/pi/Desktop/images/15122025/01/22/image_15122025_01_22_54_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/21/image_15122025_01_21_54_9639.jpg
/home/pi/Desktop/images/15122025/01/22/image_15122025_01_22_14_9744.jpg
/home/pi/Desktop/images/15122025/01/22/image_15122025_01_22_24_9749.jpg
/home/pi/Desktop/images/15122025/01/22/image_15122025_01_22_34_9721.jpg
/home/pi/Desktop/images/15122025/01/22/image_15122025_01_22_44_10694.jpg
/home/pi/Desktop/images/15122025/01/22/image_15122025_01_22_54_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":["1399422752","1399422751","1399422748","1399422750","1399422753","1399422749"],"photo_ids_order":["1399422748","1399422749","1399422750","1399422751","1399422752","1399422753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a9c5458eac4e2b06d4d8038111bdd943.jpg","text":"TemporaryFile(/tmp/multipartBody9208901670335986744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759023711,"filename":"image_15122025_01_22_44_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/15/a598ce303597de298f17bb8717f1fe36.jpg","text":"TemporaryFile(/tmp/multipartBody7071762009228443585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759023711,"filename":"image_15122025_01_22_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/15/76a8c5114b8e2f913d844d2467f957a3.jpg","text":"TemporaryFile(/tmp/multipartBody3180518970341898470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759023711,"filename":"image_15122025_01_21_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/15/7b1ccc248b34f1cbe169e385994c5aa0.jpg","text":"TemporaryFile(/tmp/multipartBody3125148723174286370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759023711,"filename":"image_15122025_01_22_24_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6b63ade2f5a27f6a8212497b141bef47.jpg","text":"TemporaryFile(/tmp/multipartBody7524884974686836514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759023711,"filename":"image_15122025_01_22_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/15/a58f9b3777b8779e514c68ad47727aab.jpg","text":"TemporaryFile(/tmp/multipartBody7600890199613036027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759023711,"filename":"image_15122025_01_22_14_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422750","file1":"1399422749","file0":"1399422748","file4":"1399422752","file5":"1399422753","file3":"1399422751"},"map_files_photo_id_array":[{"photo_id":"1399422753","filename":"file5"},{"photo_id":"1399422750","filename":"file2"},{"photo_id":"1399422752","filename":"file4"},{"photo_id":"1399422749","filename":"file1"},{"photo_id":"1399422748","filename":"file0"},{"photo_id":"1399422751","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422752":["hashtag1","hashtag2"]},{"1399422751":["hashtag1","hashtag2"]},{"1399422748":["hashtag1","hashtag2"]},{"1399422750":["hashtag1","hashtag2"]},{"1399422753":["hashtag1","hashtag2"]},{"1399422749":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422752, 1399422751, 1399422748, 1399422750, 1399422753, 1399422749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.848230838775635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 01:36:42.655394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_49_8374.jpg', '/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_04_14741.jpg', '/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_10_6109.jpg', '/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_11_1766.jpg', '/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_21_9774.jpg', '/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_24_2988.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_49_8374.jpg
/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_04_14741.jpg
/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_10_6109.jpg
/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_11_1766.jpg
/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_21_9774.jpg
/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_24_2988.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6014175415039062 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 01:37:02.505644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/22/image_15122025_01_23_04_9772.jpg', '/home/pi/Desktop/images/15122025/01/23/image_15122025_01_23_14_9836.jpg', '/home/pi/Desktop/images/15122025/01/23/image_15122025_01_23_24_10707.jpg', '/home/pi/Desktop/images/15122025/01/23/image_15122025_01_23_34_9681.jpg', '/home/pi/Desktop/images/15122025/01/23/image_15122025_01_23_54_10676.jpg', '/home/pi/Desktop/images/15122025/01/23/image_15122025_01_24_04_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/22/image_15122025_01_23_04_9772.jpg
/home/pi/Desktop/images/15122025/01/23/image_15122025_01_23_14_9836.jpg
/home/pi/Desktop/images/15122025/01/23/image_15122025_01_23_24_10707.jpg
/home/pi/Desktop/images/15122025/01/23/image_15122025_01_23_34_9681.jpg
/home/pi/Desktop/images/15122025/01/23/image_15122025_01_23_54_10676.jpg
/home/pi/Desktop/images/15122025/01/23/image_15122025_01_24_04_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422764","1399422760","1399422763","1399422762","1399422759","1399422761"],"photo_ids_order":["1399422759","1399422760","1399422761","1399422762","1399422763","1399422764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1487aad88277731f2404be76f8cd9e66.jpg","text":"TemporaryFile(/tmp/multipartBody8868462715512449000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759083181,"filename":"image_15122025_01_24_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e409e006a5a893e8cdd09ceb5faa5b8a.jpg","text":"TemporaryFile(/tmp/multipartBody4065482881423880510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759083181,"filename":"image_15122025_01_23_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/15/833ddc51b8d73006d841daee185c66c6.jpg","text":"TemporaryFile(/tmp/multipartBody8925436473130913654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759083181,"filename":"image_15122025_01_23_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/15/ad795331a150d533c4c3d4996ef00603.jpg","text":"TemporaryFile(/tmp/multipartBody1824556738909728026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759083181,"filename":"image_15122025_01_23_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/15/6e3dc5bf7d3235492432ab053f17990d.jpg","text":"TemporaryFile(/tmp/multipartBody5737699953457919726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759083181,"filename":"image_15122025_01_23_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/15/660155dd23ac8a548765a9d5adec464f.jpg","text":"TemporaryFile(/tmp/multipartBody1032885764105234634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759083181,"filename":"image_15122025_01_23_24_10707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422761","file1":"1399422760","file0":"1399422759","file4":"1399422763","file5":"1399422764","file3":"1399422762"},"map_files_photo_id_array":[{"photo_id":"1399422764","filename":"file5"},{"photo_id":"1399422761","filename":"file2"},{"photo_id":"1399422763","filename":"file4"},{"photo_id":"1399422760","filename":"file1"},{"photo_id":"1399422759","filename":"file0"},{"photo_id":"1399422762","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422764":["hashtag1","hashtag2"]},{"1399422760":["hashtag1","hashtag2"]},{"1399422763":["hashtag1","hashtag2"]},{"1399422762":["hashtag1","hashtag2"]},{"1399422759":["hashtag1","hashtag2"]},{"1399422761":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422764, 1399422760, 1399422763, 1399422762, 1399422759, 1399422761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.462326765060425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 01:37:41.888047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_49_8374.jpg', '/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_04_14741.jpg', '/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_10_6109.jpg', '/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_11_1766.jpg', '/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_21_9774.jpg', '/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_24_2988.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/27/image_05112025_12_27_49_8374.jpg
/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_04_14741.jpg
/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_10_6109.jpg
/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_11_1766.jpg
/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_21_9774.jpg
/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_24_2988.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422770","1399422766","1399422769","1399422765","1399422768","1399422767"],"photo_ids_order":["1399422765","1399422766","1399422767","1399422768","1399422769","1399422770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d6e44c97a86977a10781411129bec52a.jpg","text":"TemporaryFile(/tmp/multipartBody5994902649059081579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759122480,"filename":"image_05112025_12_28_24_2988.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0d338c1007b57853a794ae11cd887a09.jpg","text":"TemporaryFile(/tmp/multipartBody6159841131666322708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759122480,"filename":"image_05112025_12_28_04_14741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fea0622425d24ab8fd837e1ca1999468.jpg","text":"TemporaryFile(/tmp/multipartBody751895297142654304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759122480,"filename":"image_05112025_12_28_21_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/15/c41887a761f009391dd8d97e0fc41a80.jpg","text":"TemporaryFile(/tmp/multipartBody663534607824700421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759122480,"filename":"image_05112025_12_27_49_8374.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/69a7cc4c34a0655efb42aa7df8429489.jpg","text":"TemporaryFile(/tmp/multipartBody2726691629718026382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759122480,"filename":"image_05112025_12_28_11_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/15/72dc35be3e1581f343334d023f566bc2.jpg","text":"TemporaryFile(/tmp/multipartBody522154595312142854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759122480,"filename":"image_05112025_12_28_10_6109.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422767","file1":"1399422766","file0":"1399422765","file4":"1399422769","file5":"1399422770","file3":"1399422768"},"map_files_photo_id_array":[{"photo_id":"1399422770","filename":"file5"},{"photo_id":"1399422767","filename":"file2"},{"photo_id":"1399422769","filename":"file4"},{"photo_id":"1399422766","filename":"file1"},{"photo_id":"1399422765","filename":"file0"},{"photo_id":"1399422768","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399422770":["hashtag1","hashtag2"]},{"1399422766":["hashtag1","hashtag2"]},{"1399422769":["hashtag1","hashtag2"]},{"1399422765":["hashtag1","hashtag2"]},{"1399422768":["hashtag1","hashtag2"]},{"1399422767":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399422770, 1399422766, 1399422769, 1399422765, 1399422768, 1399422767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.030722856521606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 01:38:22.142849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/24/image_15122025_01_24_14_9789.jpg', '/home/pi/Desktop/images/15122025/01/24/image_15122025_01_24_25_10757.jpg', '/home/pi/Desktop/images/15122025/01/24/image_15122025_01_24_34_9685.jpg', '/home/pi/Desktop/images/15122025/01/24/image_15122025_01_24_44_9660.jpg', '/home/pi/Desktop/images/15122025/01/24/image_15122025_01_24_55_10667.jpg', '/home/pi/Desktop/images/15122025/01/24/image_15122025_01_25_04_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/24/image_15122025_01_24_14_9789.jpg
/home/pi/Desktop/images/15122025/01/24/image_15122025_01_24_25_10757.jpg
/home/pi/Desktop/images/15122025/01/24/image_15122025_01_24_34_9685.jpg
/home/pi/Desktop/images/15122025/01/24/image_15122025_01_24_44_9660.jpg
/home/pi/Desktop/images/15122025/01/24/image_15122025_01_24_55_10667.jpg
/home/pi/Desktop/images/15122025/01/24/image_15122025_01_25_04_9666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422779","1399422772","1399422775","1399422774","1399422771","1399422773"],"photo_ids_order":["1399422771","1399422772","1399422773","1399422774","1399422775","1399422779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7d981e8cd4d9ae7567952e400373816c.jpg","text":"TemporaryFile(/tmp/multipartBody8289919751049438310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759162756,"filename":"image_15122025_01_25_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/15/9e6278e03dce6626fad44952a511853a.jpg","text":"TemporaryFile(/tmp/multipartBody1599461042185395564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759162756,"filename":"image_15122025_01_24_25_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/274cb75bab354c6b15958e4a58dcbb9d.jpg","text":"TemporaryFile(/tmp/multipartBody8723433784172357259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759162756,"filename":"image_15122025_01_24_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/15/f22fc2b7238ab0c402564cc9939256a7.jpg","text":"TemporaryFile(/tmp/multipartBody3677328644920260972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759162756,"filename":"image_15122025_01_24_44_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1bb25c1c3fb3897a7460682a9ad9cec7.jpg","text":"TemporaryFile(/tmp/multipartBody1510657066682708145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759162756,"filename":"image_15122025_01_24_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/15/d78b860e80aaa7c413f4304cb5a5535a.jpg","text":"TemporaryFile(/tmp/multipartBody3156305771496496175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759162756,"filename":"image_15122025_01_24_34_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422773","file1":"1399422772","file0":"1399422771","file4":"1399422775","file5":"1399422779","file3":"1399422774"},"map_files_photo_id_array":[{"photo_id":"1399422779","filename":"file5"},{"photo_id":"1399422773","filename":"file2"},{"photo_id":"1399422775","filename":"file4"},{"photo_id":"1399422772","filename":"file1"},{"photo_id":"1399422771","filename":"file0"},{"photo_id":"1399422774","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422779":["hashtag1","hashtag2"]},{"1399422772":["hashtag1","hashtag2"]},{"1399422775":["hashtag1","hashtag2"]},{"1399422774":["hashtag1","hashtag2"]},{"1399422771":["hashtag1","hashtag2"]},{"1399422773":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422779, 1399422772, 1399422775, 1399422774, 1399422771, 1399422773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.568323850631714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 01:39:03.173658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/25/image_15122025_01_25_14_9627.jpg', '/home/pi/Desktop/images/15122025/01/25/image_15122025_01_25_24_9851.jpg', '/home/pi/Desktop/images/15122025/01/25/image_15122025_01_25_34_10622.jpg', '/home/pi/Desktop/images/15122025/01/25/image_15122025_01_25_44_9639.jpg', '/home/pi/Desktop/images/15122025/01/25/image_15122025_01_25_54_9699.jpg', '/home/pi/Desktop/images/15122025/01/25/image_15122025_01_26_04_10556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/25/image_15122025_01_25_14_9627.jpg
/home/pi/Desktop/images/15122025/01/25/image_15122025_01_25_24_9851.jpg
/home/pi/Desktop/images/15122025/01/25/image_15122025_01_25_34_10622.jpg
/home/pi/Desktop/images/15122025/01/25/image_15122025_01_25_44_9639.jpg
/home/pi/Desktop/images/15122025/01/25/image_15122025_01_25_54_9699.jpg
/home/pi/Desktop/images/15122025/01/25/image_15122025_01_26_04_10556.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422784","1399422781","1399422780","1399422783","1399422785","1399422782"],"photo_ids_order":["1399422780","1399422781","1399422782","1399422783","1399422784","1399422785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/56e0d765dae7fabce3eb93dc908e9611.jpg","text":"TemporaryFile(/tmp/multipartBody2696803771998859340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759204002,"filename":"image_15122025_01_25_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/15/1ae26cb5c093c6949a1c845133c09594.jpg","text":"TemporaryFile(/tmp/multipartBody2375654006510134297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759204002,"filename":"image_15122025_01_25_24_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b8162331c01af7fd6ca1338af21494d1.jpg","text":"TemporaryFile(/tmp/multipartBody5439706749350403050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759204002,"filename":"image_15122025_01_25_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/15/903c028663530a5f4830add855f83661.jpg","text":"TemporaryFile(/tmp/multipartBody2055973567682667834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759204002,"filename":"image_15122025_01_25_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/15/59bdb7fb788937525e17da0ccc501c64.jpg","text":"TemporaryFile(/tmp/multipartBody7889644538989771461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759204002,"filename":"image_15122025_01_26_04_10556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b1732f0b0b1e8076501de72e451f0e53.jpg","text":"TemporaryFile(/tmp/multipartBody2179975594463151134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759204002,"filename":"image_15122025_01_25_34_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422782","file1":"1399422781","file0":"1399422780","file4":"1399422784","file5":"1399422785","file3":"1399422783"},"map_files_photo_id_array":[{"photo_id":"1399422785","filename":"file5"},{"photo_id":"1399422782","filename":"file2"},{"photo_id":"1399422784","filename":"file4"},{"photo_id":"1399422781","filename":"file1"},{"photo_id":"1399422780","filename":"file0"},{"photo_id":"1399422783","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422784":["hashtag1","hashtag2"]},{"1399422781":["hashtag1","hashtag2"]},{"1399422780":["hashtag1","hashtag2"]},{"1399422783":["hashtag1","hashtag2"]},{"1399422785":["hashtag1","hashtag2"]},{"1399422782":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422784, 1399422781, 1399422780, 1399422783, 1399422785, 1399422782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68879747390747 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 01:39:42.402739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_26_1714.jpg', '/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_28_1683.jpg', '/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_29_1536.jpg', '/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_31_1562.jpg', '/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_32_1538.jpg', '/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_34_1574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_26_1714.jpg
/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_28_1683.jpg
/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_29_1536.jpg
/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_31_1562.jpg
/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_32_1538.jpg
/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_34_1574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422790","1399422787","1399422789","1399422786","1399422791","1399422788"],"photo_ids_order":["1399422786","1399422787","1399422788","1399422789","1399422790","1399422791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b1aaed0be20f28ae04f73f6ce46490bc.jpg","text":"TemporaryFile(/tmp/multipartBody7479154542629077117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759243112,"filename":"image_05112025_12_28_32_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/15/d3538832d7f06b79feccca4768b28a67.jpg","text":"TemporaryFile(/tmp/multipartBody8050631510892990843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759243112,"filename":"image_05112025_12_28_28_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/15/88ab871a8d0332d1dc59aab55e7f409d.jpg","text":"TemporaryFile(/tmp/multipartBody8110357031836836071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759243112,"filename":"image_05112025_12_28_31_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/15/a36377f766d0cac890f41f8e587a92b3.jpg","text":"TemporaryFile(/tmp/multipartBody7982648207832250884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759243112,"filename":"image_05112025_12_28_26_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/15/a8020fb90cd858fac7ac03ec4d1014fe.jpg","text":"TemporaryFile(/tmp/multipartBody3263392932529187194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759243112,"filename":"image_05112025_12_28_34_1574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/61a9968591c4e1633fb8790e507d25af.jpg","text":"TemporaryFile(/tmp/multipartBody1024476128409612540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759243112,"filename":"image_05112025_12_28_29_1536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422788","file1":"1399422787","file0":"1399422786","file4":"1399422790","file5":"1399422791","file3":"1399422789"},"map_files_photo_id_array":[{"photo_id":"1399422791","filename":"file5"},{"photo_id":"1399422788","filename":"file2"},{"photo_id":"1399422790","filename":"file4"},{"photo_id":"1399422787","filename":"file1"},{"photo_id":"1399422786","filename":"file0"},{"photo_id":"1399422789","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399422790":["hashtag1","hashtag2"]},{"1399422787":["hashtag1","hashtag2"]},{"1399422789":["hashtag1","hashtag2"]},{"1399422786":["hashtag1","hashtag2"]},{"1399422791":["hashtag1","hashtag2"]},{"1399422788":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399422790, 1399422787, 1399422789, 1399422786, 1399422791, 1399422788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.717618227005005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 01:40:22.748414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/26/image_15122025_01_26_14_9695.jpg', '/home/pi/Desktop/images/15122025/01/26/image_15122025_01_26_25_10618.jpg', '/home/pi/Desktop/images/15122025/01/26/image_15122025_01_26_34_9732.jpg', '/home/pi/Desktop/images/15122025/01/26/image_15122025_01_26_44_9720.jpg', '/home/pi/Desktop/images/15122025/01/26/image_15122025_01_26_54_9698.jpg', '/home/pi/Desktop/images/15122025/01/26/image_15122025_01_27_05_10789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/26/image_15122025_01_26_14_9695.jpg
/home/pi/Desktop/images/15122025/01/26/image_15122025_01_26_25_10618.jpg
/home/pi/Desktop/images/15122025/01/26/image_15122025_01_26_34_9732.jpg
/home/pi/Desktop/images/15122025/01/26/image_15122025_01_26_44_9720.jpg
/home/pi/Desktop/images/15122025/01/26/image_15122025_01_26_54_9698.jpg
/home/pi/Desktop/images/15122025/01/26/image_15122025_01_27_05_10789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422796","1399422793","1399422792","1399422795","1399422794","1399422797"],"photo_ids_order":["1399422792","1399422793","1399422794","1399422795","1399422796","1399422797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/80d47425f156827e22e65af8b6819f9f.jpg","text":"TemporaryFile(/tmp/multipartBody3877198067207430744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759283361,"filename":"image_15122025_01_26_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/15/b9ca874e97ed0802c03b13b8f06d0b90.jpg","text":"TemporaryFile(/tmp/multipartBody4686711175578282482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759283361,"filename":"image_15122025_01_26_25_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/598882886e764a1807351f67742a17fb.jpg","text":"TemporaryFile(/tmp/multipartBody3038291744851147647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759283361,"filename":"image_15122025_01_26_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/15/182437fcc10754c2107566f796ff28a3.jpg","text":"TemporaryFile(/tmp/multipartBody3286957206908037774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759283361,"filename":"image_15122025_01_26_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/15/f72ce92ce03c1b88b9147a0836980903.jpg","text":"TemporaryFile(/tmp/multipartBody2904964295979977968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759283361,"filename":"image_15122025_01_26_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/15/c93ac054c9807f50cc848cb7f3a11406.jpg","text":"TemporaryFile(/tmp/multipartBody8324331919170010604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759283361,"filename":"image_15122025_01_27_05_10789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422794","file1":"1399422793","file0":"1399422792","file4":"1399422796","file5":"1399422797","file3":"1399422795"},"map_files_photo_id_array":[{"photo_id":"1399422797","filename":"file5"},{"photo_id":"1399422794","filename":"file2"},{"photo_id":"1399422796","filename":"file4"},{"photo_id":"1399422793","filename":"file1"},{"photo_id":"1399422792","filename":"file0"},{"photo_id":"1399422795","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422796":["hashtag1","hashtag2"]},{"1399422793":["hashtag1","hashtag2"]},{"1399422792":["hashtag1","hashtag2"]},{"1399422795":["hashtag1","hashtag2"]},{"1399422794":["hashtag1","hashtag2"]},{"1399422797":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422796, 1399422793, 1399422792, 1399422795, 1399422794, 1399422797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.579853773117065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 01:41:02.620706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/27/image_15122025_01_27_14_9613.jpg', '/home/pi/Desktop/images/15122025/01/27/image_15122025_01_27_24_9669.jpg', '/home/pi/Desktop/images/15122025/01/27/image_15122025_01_27_35_10619.jpg', '/home/pi/Desktop/images/15122025/01/27/image_15122025_01_27_44_9638.jpg', '/home/pi/Desktop/images/15122025/01/27/image_15122025_01_27_54_9711.jpg', '/home/pi/Desktop/images/15122025/01/27/image_15122025_01_28_05_10752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/27/image_15122025_01_27_14_9613.jpg
/home/pi/Desktop/images/15122025/01/27/image_15122025_01_27_24_9669.jpg
/home/pi/Desktop/images/15122025/01/27/image_15122025_01_27_35_10619.jpg
/home/pi/Desktop/images/15122025/01/27/image_15122025_01_27_44_9638.jpg
/home/pi/Desktop/images/15122025/01/27/image_15122025_01_27_54_9711.jpg
/home/pi/Desktop/images/15122025/01/27/image_15122025_01_28_05_10752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422803","1399422800","1399422799","1399422802","1399422798","1399422801"],"photo_ids_order":["1399422798","1399422799","1399422800","1399422801","1399422802","1399422803"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e3cf9df65ad628e76db5cb6ee11808cf.jpg","text":"TemporaryFile(/tmp/multipartBody7607155410190907422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759323306,"filename":"image_15122025_01_28_05_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/15/aefff89bac95e64c6d5256164ebb1a39.jpg","text":"TemporaryFile(/tmp/multipartBody259055711457239204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759323306,"filename":"image_15122025_01_27_35_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/15/6f44f32be8c2f5206a77354b83b8ba23.jpg","text":"TemporaryFile(/tmp/multipartBody2626618144393529725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759323306,"filename":"image_15122025_01_27_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/15/edc11d202aafb00a9ba89a0efa6ae8b9.jpg","text":"TemporaryFile(/tmp/multipartBody5899945431084716831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759323306,"filename":"image_15122025_01_27_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/15/4a41e22af62ab34d5013fec5a0209208.jpg","text":"TemporaryFile(/tmp/multipartBody332557894257448016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759323306,"filename":"image_15122025_01_27_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/15/3ec55db0d7766d17f7dfe2d0040a2f4b.jpg","text":"TemporaryFile(/tmp/multipartBody3277159684470282659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759323306,"filename":"image_15122025_01_27_44_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422800","file1":"1399422799","file0":"1399422798","file4":"1399422802","file5":"1399422803","file3":"1399422801"},"map_files_photo_id_array":[{"photo_id":"1399422803","filename":"file5"},{"photo_id":"1399422800","filename":"file2"},{"photo_id":"1399422802","filename":"file4"},{"photo_id":"1399422799","filename":"file1"},{"photo_id":"1399422798","filename":"file0"},{"photo_id":"1399422801","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422803":["hashtag1","hashtag2"]},{"1399422800":["hashtag1","hashtag2"]},{"1399422799":["hashtag1","hashtag2"]},{"1399422802":["hashtag1","hashtag2"]},{"1399422798":["hashtag1","hashtag2"]},{"1399422801":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422803, 1399422800, 1399422799, 1399422802, 1399422798, 1399422801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.936718702316284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 01:41:41.915453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_35_1639.jpg', '/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_37_1664.jpg', '/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_48_11026.jpg', '/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_50_1585.jpg', '/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_52_1859.jpg', '/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_53_1670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_35_1639.jpg
/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_37_1664.jpg
/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_48_11026.jpg
/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_50_1585.jpg
/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_52_1859.jpg
/home/pi/Desktop/images/05112025/12/28/image_05112025_12_28_53_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":["1399422812","1399422809","1399422811","1399422808","1399422810","1399422804"],"photo_ids_order":["1399422804","1399422808","1399422809","1399422810","1399422811","1399422812"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/15456246a11a15d3d455b66a6a8da0b5.jpg","text":"TemporaryFile(/tmp/multipartBody3951318887529902668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759362623,"filename":"image_05112025_12_28_53_1670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e23ba45e48559524a90a7d1218ac4e08.jpg","text":"TemporaryFile(/tmp/multipartBody4436262102207950062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759362623,"filename":"image_05112025_12_28_48_11026.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7362eb94e3717b360a27394bbc2554ad.jpg","text":"TemporaryFile(/tmp/multipartBody8048451666340969492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759362623,"filename":"image_05112025_12_28_52_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/15/0e428ea68d140b23e82837890db089fe.jpg","text":"TemporaryFile(/tmp/multipartBody4021883311213792377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759362623,"filename":"image_05112025_12_28_37_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/15/59c1c604be90777dd2f577f853a38a4c.jpg","text":"TemporaryFile(/tmp/multipartBody3018647587647591762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759362623,"filename":"image_05112025_12_28_50_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/15/559bb569606e739ed03ad6196ad07a53.jpg","text":"TemporaryFile(/tmp/multipartBody6159785186856452667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759362623,"filename":"image_05112025_12_28_35_1639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422809","file1":"1399422808","file0":"1399422804","file4":"1399422811","file5":"1399422812","file3":"1399422810"},"map_files_photo_id_array":[{"photo_id":"1399422812","filename":"file5"},{"photo_id":"1399422809","filename":"file2"},{"photo_id":"1399422811","filename":"file4"},{"photo_id":"1399422808","filename":"file1"},{"photo_id":"1399422804","filename":"file0"},{"photo_id":"1399422810","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399422812":["hashtag1","hashtag2"]},{"1399422809":["hashtag1","hashtag2"]},{"1399422811":["hashtag1","hashtag2"]},{"1399422808":["hashtag1","hashtag2"]},{"1399422810":["hashtag1","hashtag2"]},{"1399422804":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399422812, 1399422809, 1399422811, 1399422808, 1399422810, 1399422804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.052345752716064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 01:42:22.193604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/28/image_15122025_01_28_14_9748.jpg', '/home/pi/Desktop/images/15122025/01/28/image_15122025_01_28_24_9739.jpg', '/home/pi/Desktop/images/15122025/01/28/image_15122025_01_28_34_9620.jpg', '/home/pi/Desktop/images/15122025/01/28/image_15122025_01_28_44_10652.jpg', '/home/pi/Desktop/images/15122025/01/28/image_15122025_01_28_54_9765.jpg', '/home/pi/Desktop/images/15122025/01/28/image_15122025_01_29_04_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/28/image_15122025_01_28_14_9748.jpg
/home/pi/Desktop/images/15122025/01/28/image_15122025_01_28_24_9739.jpg
/home/pi/Desktop/images/15122025/01/28/image_15122025_01_28_34_9620.jpg
/home/pi/Desktop/images/15122025/01/28/image_15122025_01_28_44_10652.jpg
/home/pi/Desktop/images/15122025/01/28/image_15122025_01_28_54_9765.jpg
/home/pi/Desktop/images/15122025/01/28/image_15122025_01_29_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":["1399422818","1399422815","1399422814","1399422817","1399422813","1399422816"],"photo_ids_order":["1399422813","1399422814","1399422815","1399422816","1399422817","1399422818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/42ddb9560b065f3dc51db6c59a309088.jpg","text":"TemporaryFile(/tmp/multipartBody8589094134295386775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759402807,"filename":"image_15122025_01_29_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/15/41b32cad3a48f78851042bb6cf40c04d.jpg","text":"TemporaryFile(/tmp/multipartBody7729853563975334082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759402807,"filename":"image_15122025_01_28_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/15/af1c4c4a8fe3b31715a7c77e6d61e225.jpg","text":"TemporaryFile(/tmp/multipartBody5442396603271747258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759402807,"filename":"image_15122025_01_28_24_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f189b35a6c403a8f425c12a2ff43d1f1.jpg","text":"TemporaryFile(/tmp/multipartBody3147277766853577791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759402807,"filename":"image_15122025_01_28_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/15/db440cd54130dce4297f88f016b972ae.jpg","text":"TemporaryFile(/tmp/multipartBody424456640207722474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759402807,"filename":"image_15122025_01_28_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/15/c74bdd17145c3c45d228cec2bf69d20b.jpg","text":"TemporaryFile(/tmp/multipartBody3165644111852896156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759402807,"filename":"image_15122025_01_28_44_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422815","file1":"1399422814","file0":"1399422813","file4":"1399422817","file5":"1399422818","file3":"1399422816"},"map_files_photo_id_array":[{"photo_id":"1399422818","filename":"file5"},{"photo_id":"1399422815","filename":"file2"},{"photo_id":"1399422817","filename":"file4"},{"photo_id":"1399422814","filename":"file1"},{"photo_id":"1399422813","filename":"file0"},{"photo_id":"1399422816","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422818":["hashtag1","hashtag2"]},{"1399422815":["hashtag1","hashtag2"]},{"1399422814":["hashtag1","hashtag2"]},{"1399422817":["hashtag1","hashtag2"]},{"1399422813":["hashtag1","hashtag2"]},{"1399422816":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422818, 1399422815, 1399422814, 1399422817, 1399422813, 1399422816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1778028011322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 01:43:02.949300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/29/image_15122025_01_29_15_10748.jpg', '/home/pi/Desktop/images/15122025/01/29/image_15122025_01_29_24_9638.jpg', '/home/pi/Desktop/images/15122025/01/29/image_15122025_01_29_34_9722.jpg', '/home/pi/Desktop/images/15122025/01/29/image_15122025_01_29_45_10560.jpg', '/home/pi/Desktop/images/15122025/01/29/image_15122025_01_30_04_9727.jpg', '/home/pi/Desktop/images/15122025/01/30/image_15122025_01_30_15_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/29/image_15122025_01_29_15_10748.jpg
/home/pi/Desktop/images/15122025/01/29/image_15122025_01_29_24_9638.jpg
/home/pi/Desktop/images/15122025/01/29/image_15122025_01_29_34_9722.jpg
/home/pi/Desktop/images/15122025/01/29/image_15122025_01_29_45_10560.jpg
/home/pi/Desktop/images/15122025/01/29/image_15122025_01_30_04_9727.jpg
/home/pi/Desktop/images/15122025/01/30/image_15122025_01_30_15_10651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422821","1399422824","1399422820","1399422823","1399422819","1399422822"],"photo_ids_order":["1399422819","1399422820","1399422821","1399422822","1399422823","1399422824"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9e2c2c57e3e5d58b212fd99ee5af5bc5.jpg","text":"TemporaryFile(/tmp/multipartBody49098489614681076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759443618,"filename":"image_15122025_01_29_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/15/77e8af7364357b7e2dd50453a48ea7b2.jpg","text":"TemporaryFile(/tmp/multipartBody8261429860880148258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759443618,"filename":"image_15122025_01_30_15_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/261fd88ed84088c63c4d47daa03f61fb.jpg","text":"TemporaryFile(/tmp/multipartBody2776334779203147260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759443618,"filename":"image_15122025_01_29_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/15/2f514a428482bec18e8006eb3b05fe12.jpg","text":"TemporaryFile(/tmp/multipartBody2104179327341116281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759443618,"filename":"image_15122025_01_30_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/15/912f2f42fb76163dfc36d092fde7cf8a.jpg","text":"TemporaryFile(/tmp/multipartBody5450319378109321005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759443618,"filename":"image_15122025_01_29_15_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5318b882d4902b44d592a8db14e7a907.jpg","text":"TemporaryFile(/tmp/multipartBody4253144450029927332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759443618,"filename":"image_15122025_01_29_45_10560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422821","file1":"1399422820","file0":"1399422819","file4":"1399422823","file5":"1399422824","file3":"1399422822"},"map_files_photo_id_array":[{"photo_id":"1399422824","filename":"file5"},{"photo_id":"1399422821","filename":"file2"},{"photo_id":"1399422823","filename":"file4"},{"photo_id":"1399422820","filename":"file1"},{"photo_id":"1399422819","filename":"file0"},{"photo_id":"1399422822","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422821":["hashtag1","hashtag2"]},{"1399422824":["hashtag1","hashtag2"]},{"1399422820":["hashtag1","hashtag2"]},{"1399422823":["hashtag1","hashtag2"]},{"1399422819":["hashtag1","hashtag2"]},{"1399422822":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422821, 1399422824, 1399422820, 1399422823, 1399422819, 1399422822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60323452949524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 01:43:42.300326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/28/image_05112025_12_29_00_6619.jpg', '/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_02_1716.jpg', '/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_03_1684.jpg', '/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_05_1524.jpg', '/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_07_1664.jpg', '/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_08_1635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/28/image_05112025_12_29_00_6619.jpg
/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_02_1716.jpg
/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_03_1684.jpg
/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_05_1524.jpg
/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_07_1664.jpg
/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_08_1635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422830","1399422827","1399422829","1399422826","1399422825","1399422828"],"photo_ids_order":["1399422825","1399422826","1399422827","1399422828","1399422829","1399422830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/95e3aa5ad8ad0110f26a027359a41fb5.jpg","text":"TemporaryFile(/tmp/multipartBody3910530573985834384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759483009,"filename":"image_05112025_12_29_08_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/15/23c1b09facef368f87a970b2c2a0d6b0.jpg","text":"TemporaryFile(/tmp/multipartBody5071973491571538131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759483009,"filename":"image_05112025_12_29_03_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/15/14740f12fab2b6c975dd438bdfdea55d.jpg","text":"TemporaryFile(/tmp/multipartBody3370872910473006216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759483009,"filename":"image_05112025_12_29_07_1664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/24f7f8b6f66f38cfd0036d9d26eaf4ea.jpg","text":"TemporaryFile(/tmp/multipartBody2237341374647001106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759483009,"filename":"image_05112025_12_29_02_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/15/1988ef8b0004e6d732cf62a77eec768a.jpg","text":"TemporaryFile(/tmp/multipartBody5760674061428876584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759483009,"filename":"image_05112025_12_29_00_6619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/03805da1f971a0946ed4ef586ed0ac40.jpg","text":"TemporaryFile(/tmp/multipartBody1612424375568973336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759483009,"filename":"image_05112025_12_29_05_1524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422827","file1":"1399422826","file0":"1399422825","file4":"1399422829","file5":"1399422830","file3":"1399422828"},"map_files_photo_id_array":[{"photo_id":"1399422830","filename":"file5"},{"photo_id":"1399422827","filename":"file2"},{"photo_id":"1399422829","filename":"file4"},{"photo_id":"1399422826","filename":"file1"},{"photo_id":"1399422825","filename":"file0"},{"photo_id":"1399422828","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399422830":["hashtag1","hashtag2"]},{"1399422827":["hashtag1","hashtag2"]},{"1399422829":["hashtag1","hashtag2"]},{"1399422826":["hashtag1","hashtag2"]},{"1399422825":["hashtag1","hashtag2"]},{"1399422828":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399422830, 1399422827, 1399422829, 1399422826, 1399422825, 1399422828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.967318296432495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 01:44:22.574733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/30/image_15122025_01_30_24_9780.jpg', '/home/pi/Desktop/images/15122025/01/30/image_15122025_01_30_34_9688.jpg', '/home/pi/Desktop/images/15122025/01/30/image_15122025_01_30_44_9842.jpg', '/home/pi/Desktop/images/15122025/01/30/image_15122025_01_30_55_10857.jpg', '/home/pi/Desktop/images/15122025/01/30/image_15122025_01_31_04_9707.jpg', '/home/pi/Desktop/images/15122025/01/31/image_15122025_01_31_14_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/30/image_15122025_01_30_24_9780.jpg
/home/pi/Desktop/images/15122025/01/30/image_15122025_01_30_34_9688.jpg
/home/pi/Desktop/images/15122025/01/30/image_15122025_01_30_44_9842.jpg
/home/pi/Desktop/images/15122025/01/30/image_15122025_01_30_55_10857.jpg
/home/pi/Desktop/images/15122025/01/30/image_15122025_01_31_04_9707.jpg
/home/pi/Desktop/images/15122025/01/31/image_15122025_01_31_14_9695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422836","1399422839","1399422833","1399422832","1399422837","1399422834"],"photo_ids_order":["1399422832","1399422833","1399422834","1399422836","1399422837","1399422839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9a107034b44178b6f24cc93630743f02.jpg","text":"TemporaryFile(/tmp/multipartBody2387738835914022815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759523188,"filename":"image_15122025_01_30_55_10857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1a3f58320a2d650bc44860def48ba32a.jpg","text":"TemporaryFile(/tmp/multipartBody4604937714239570317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759523188,"filename":"image_15122025_01_31_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/15/3bbb6be290c246242465b6232bef5cd9.jpg","text":"TemporaryFile(/tmp/multipartBody1970548568558525428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759523188,"filename":"image_15122025_01_30_34_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/759f1478816153c0b41bd5d7fd296b37.jpg","text":"TemporaryFile(/tmp/multipartBody7863777364394133873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759523188,"filename":"image_15122025_01_30_24_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dd52f5c93bb797ffd12b72a8a26e9b67.jpg","text":"TemporaryFile(/tmp/multipartBody9163887988979380733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759523188,"filename":"image_15122025_01_31_04_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e7ff916c20ee91bcd80a905bede276b0.jpg","text":"TemporaryFile(/tmp/multipartBody5362219325093293550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759523188,"filename":"image_15122025_01_30_44_9842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422834","file1":"1399422833","file0":"1399422832","file4":"1399422837","file5":"1399422839","file3":"1399422836"},"map_files_photo_id_array":[{"photo_id":"1399422839","filename":"file5"},{"photo_id":"1399422834","filename":"file2"},{"photo_id":"1399422837","filename":"file4"},{"photo_id":"1399422833","filename":"file1"},{"photo_id":"1399422832","filename":"file0"},{"photo_id":"1399422836","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422836":["hashtag1","hashtag2"]},{"1399422839":["hashtag1","hashtag2"]},{"1399422833":["hashtag1","hashtag2"]},{"1399422832":["hashtag1","hashtag2"]},{"1399422837":["hashtag1","hashtag2"]},{"1399422834":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422836, 1399422839, 1399422833, 1399422832, 1399422837, 1399422834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.112539291381836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 01:45:03.595375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/31/image_15122025_01_31_24_9758.jpg', '/home/pi/Desktop/images/15122025/01/31/image_15122025_01_31_44_9655.jpg', '/home/pi/Desktop/images/15122025/01/31/image_15122025_01_32_04_9613.jpg', '/home/pi/Desktop/images/15122025/01/32/image_15122025_01_32_14_9618.jpg', '/home/pi/Desktop/images/15122025/01/32/image_15122025_01_32_24_10609.jpg', '/home/pi/Desktop/images/15122025/01/32/image_15122025_01_32_34_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/31/image_15122025_01_31_24_9758.jpg
/home/pi/Desktop/images/15122025/01/31/image_15122025_01_31_44_9655.jpg
/home/pi/Desktop/images/15122025/01/31/image_15122025_01_32_04_9613.jpg
/home/pi/Desktop/images/15122025/01/32/image_15122025_01_32_14_9618.jpg
/home/pi/Desktop/images/15122025/01/32/image_15122025_01_32_24_10609.jpg
/home/pi/Desktop/images/15122025/01/32/image_15122025_01_32_34_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":["1399422842","1399422845","1399422841","1399422844","1399422843","1399422840"],"photo_ids_order":["1399422840","1399422841","1399422842","1399422843","1399422844","1399422845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8b6378eed76bbe0d4b6396285e7e21b5.jpg","text":"TemporaryFile(/tmp/multipartBody2955767063264049938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759564259,"filename":"image_15122025_01_32_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/15/1fbed4a412f8359c304fc0348db0f98f.jpg","text":"TemporaryFile(/tmp/multipartBody4853193017572338628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759564259,"filename":"image_15122025_01_32_34_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fe6cfe3b679d4266e3fc4f9a003bf451.jpg","text":"TemporaryFile(/tmp/multipartBody2683845109979464978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759564259,"filename":"image_15122025_01_31_44_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/16ac88f1b4d25bc99d4d73e4964230b9.jpg","text":"TemporaryFile(/tmp/multipartBody9209299669283523396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759564259,"filename":"image_15122025_01_32_24_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/af66cb1bbb2818640918beab1f7f1404.jpg","text":"TemporaryFile(/tmp/multipartBody221836636130749288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759564259,"filename":"image_15122025_01_32_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/15/2f246eadf3cda0173b7e66d1815af6ee.jpg","text":"TemporaryFile(/tmp/multipartBody2626573462364096833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759564259,"filename":"image_15122025_01_31_24_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422842","file1":"1399422841","file0":"1399422840","file4":"1399422844","file5":"1399422845","file3":"1399422843"},"map_files_photo_id_array":[{"photo_id":"1399422845","filename":"file5"},{"photo_id":"1399422842","filename":"file2"},{"photo_id":"1399422844","filename":"file4"},{"photo_id":"1399422841","filename":"file1"},{"photo_id":"1399422840","filename":"file0"},{"photo_id":"1399422843","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422842":["hashtag1","hashtag2"]},{"1399422845":["hashtag1","hashtag2"]},{"1399422841":["hashtag1","hashtag2"]},{"1399422844":["hashtag1","hashtag2"]},{"1399422843":["hashtag1","hashtag2"]},{"1399422840":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422842, 1399422845, 1399422841, 1399422844, 1399422843, 1399422840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6213812828064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 01:45:42.793423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_10_1670.jpg', '/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_11_1569.jpg', '/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_13_1708.jpg', '/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_15_1605.jpg', '/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_17_1986.jpg', '/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_18_1700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_10_1670.jpg
/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_11_1569.jpg
/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_13_1708.jpg
/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_15_1605.jpg
/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_17_1986.jpg
/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_18_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":["1399422851","1399422850","1399422847","1399422846","1399422849","1399422848"],"photo_ids_order":["1399422846","1399422847","1399422848","1399422849","1399422850","1399422851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4654bde91efaad202c4328912d8d83f1.jpg","text":"TemporaryFile(/tmp/multipartBody5114700735733445996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759603495,"filename":"image_05112025_12_29_18_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/15/f0cec2dd432164197c0dd7b43e8152c3.jpg","text":"TemporaryFile(/tmp/multipartBody6546182387035262683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759603495,"filename":"image_05112025_12_29_17_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/15/1a262df345f88ce580bbfb8147af6d76.jpg","text":"TemporaryFile(/tmp/multipartBody36590454939302568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759603495,"filename":"image_05112025_12_29_11_1569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ca5453e7c119213d735ba4124a401db7.jpg","text":"TemporaryFile(/tmp/multipartBody1096807813047371767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759603495,"filename":"image_05112025_12_29_10_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/15/141652fe1040b64ce0161cc5fbc6a28c.jpg","text":"TemporaryFile(/tmp/multipartBody1663587831590453299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759603495,"filename":"image_05112025_12_29_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/15/7c55f2d29067f4eb6dd784abc5a22fbe.jpg","text":"TemporaryFile(/tmp/multipartBody7527032417086033372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759603495,"filename":"image_05112025_12_29_13_1708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422848","file1":"1399422847","file0":"1399422846","file4":"1399422850","file5":"1399422851","file3":"1399422849"},"map_files_photo_id_array":[{"photo_id":"1399422851","filename":"file5"},{"photo_id":"1399422848","filename":"file2"},{"photo_id":"1399422850","filename":"file4"},{"photo_id":"1399422847","filename":"file1"},{"photo_id":"1399422846","filename":"file0"},{"photo_id":"1399422849","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399422851":["hashtag1","hashtag2"]},{"1399422850":["hashtag1","hashtag2"]},{"1399422847":["hashtag1","hashtag2"]},{"1399422846":["hashtag1","hashtag2"]},{"1399422849":["hashtag1","hashtag2"]},{"1399422848":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399422851, 1399422850, 1399422847, 1399422846, 1399422849, 1399422848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.619860887527466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 01:46:22.053358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/32/image_15122025_01_32_44_9633.jpg', '/home/pi/Desktop/images/15122025/01/32/image_15122025_01_32_55_10849.jpg', '/home/pi/Desktop/images/15122025/01/32/image_15122025_01_33_04_9616.jpg', '/home/pi/Desktop/images/15122025/01/33/image_15122025_01_33_14_9771.jpg', '/home/pi/Desktop/images/15122025/01/33/image_15122025_01_33_24_9689.jpg', '/home/pi/Desktop/images/15122025/01/33/image_15122025_01_33_54_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/32/image_15122025_01_32_44_9633.jpg
/home/pi/Desktop/images/15122025/01/32/image_15122025_01_32_55_10849.jpg
/home/pi/Desktop/images/15122025/01/32/image_15122025_01_33_04_9616.jpg
/home/pi/Desktop/images/15122025/01/33/image_15122025_01_33_14_9771.jpg
/home/pi/Desktop/images/15122025/01/33/image_15122025_01_33_24_9689.jpg
/home/pi/Desktop/images/15122025/01/33/image_15122025_01_33_54_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":["1399422857","1399422853","1399422856","1399422855","1399422852","1399422854"],"photo_ids_order":["1399422852","1399422853","1399422854","1399422855","1399422856","1399422857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d066d8b1ac45700f362003dcff5eb34a.jpg","text":"TemporaryFile(/tmp/multipartBody904295374065129402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759642670,"filename":"image_15122025_01_33_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/15/c89ea921e3e884f38623105ad3510add.jpg","text":"TemporaryFile(/tmp/multipartBody8925437992525551580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759642670,"filename":"image_15122025_01_32_55_10849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e689c34219b21b5dc548da87d7823e2f.jpg","text":"TemporaryFile(/tmp/multipartBody420624873157683698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759642670,"filename":"image_15122025_01_33_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/15/f79c871dd7ad3ecc2d392fb767d81c70.jpg","text":"TemporaryFile(/tmp/multipartBody223075279057926404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759642670,"filename":"image_15122025_01_33_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/15/d272be064e9d94ac13680208f6e4f73a.jpg","text":"TemporaryFile(/tmp/multipartBody7478915163698473646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759642670,"filename":"image_15122025_01_32_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/15/3861013bf3f9796f17c6a3de114e3adf.jpg","text":"TemporaryFile(/tmp/multipartBody8404879131990491814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759642670,"filename":"image_15122025_01_33_04_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422854","file1":"1399422853","file0":"1399422852","file4":"1399422856","file5":"1399422857","file3":"1399422855"},"map_files_photo_id_array":[{"photo_id":"1399422857","filename":"file5"},{"photo_id":"1399422854","filename":"file2"},{"photo_id":"1399422856","filename":"file4"},{"photo_id":"1399422853","filename":"file1"},{"photo_id":"1399422852","filename":"file0"},{"photo_id":"1399422855","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422857":["hashtag1","hashtag2"]},{"1399422853":["hashtag1","hashtag2"]},{"1399422856":["hashtag1","hashtag2"]},{"1399422855":["hashtag1","hashtag2"]},{"1399422852":["hashtag1","hashtag2"]},{"1399422854":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422857, 1399422853, 1399422856, 1399422855, 1399422852, 1399422854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.05633544921875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 01:47:02.835484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/33/image_15122025_01_34_04_10606.jpg', '/home/pi/Desktop/images/15122025/01/34/image_15122025_01_34_14_9829.jpg', '/home/pi/Desktop/images/15122025/01/34/image_15122025_01_34_24_9643.jpg', '/home/pi/Desktop/images/15122025/01/34/image_15122025_01_34_35_10701.jpg', '/home/pi/Desktop/images/15122025/01/34/image_15122025_01_34_44_9684.jpg', '/home/pi/Desktop/images/15122025/01/35/image_15122025_01_35_14_10739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/33/image_15122025_01_34_04_10606.jpg
/home/pi/Desktop/images/15122025/01/34/image_15122025_01_34_14_9829.jpg
/home/pi/Desktop/images/15122025/01/34/image_15122025_01_34_24_9643.jpg
/home/pi/Desktop/images/15122025/01/34/image_15122025_01_34_35_10701.jpg
/home/pi/Desktop/images/15122025/01/34/image_15122025_01_34_44_9684.jpg
/home/pi/Desktop/images/15122025/01/35/image_15122025_01_35_14_10739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422863","1399422859","1399422862","1399422861","1399422858","1399422860"],"photo_ids_order":["1399422858","1399422859","1399422860","1399422861","1399422862","1399422863"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1518e251f876213e50e66af89a582ae3.jpg","text":"TemporaryFile(/tmp/multipartBody1981641212259518916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759683626,"filename":"image_15122025_01_35_14_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/15/9aaa1e5ba2c7710f6f1c621c8759942a.jpg","text":"TemporaryFile(/tmp/multipartBody8404905778395655119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759683626,"filename":"image_15122025_01_34_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/15/8afa3a074c8a60de123993399a60f60c.jpg","text":"TemporaryFile(/tmp/multipartBody4202144232409667306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759683626,"filename":"image_15122025_01_34_44_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0df3416c518622d1215e6a3c8be59072.jpg","text":"TemporaryFile(/tmp/multipartBody2345363813260519903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759683626,"filename":"image_15122025_01_34_35_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/15/01fdd42ca868d8f9efef485f79ac3221.jpg","text":"TemporaryFile(/tmp/multipartBody1864210342832309915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759683626,"filename":"image_15122025_01_34_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/15/cf41372f44d9e267aaca685e37b268ae.jpg","text":"TemporaryFile(/tmp/multipartBody1796141968580307862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759683626,"filename":"image_15122025_01_34_24_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422860","file1":"1399422859","file0":"1399422858","file4":"1399422862","file5":"1399422863","file3":"1399422861"},"map_files_photo_id_array":[{"photo_id":"1399422863","filename":"file5"},{"photo_id":"1399422860","filename":"file2"},{"photo_id":"1399422862","filename":"file4"},{"photo_id":"1399422859","filename":"file1"},{"photo_id":"1399422858","filename":"file0"},{"photo_id":"1399422861","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422863":["hashtag1","hashtag2"]},{"1399422859":["hashtag1","hashtag2"]},{"1399422862":["hashtag1","hashtag2"]},{"1399422861":["hashtag1","hashtag2"]},{"1399422858":["hashtag1","hashtag2"]},{"1399422860":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422863, 1399422859, 1399422862, 1399422861, 1399422858, 1399422860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.896549463272095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 01:47:42.279873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_20_1540.jpg', '/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_21_1515.jpg', '/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_23_1845.jpg', '/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_25_1676.jpg', '/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_27_1855.jpg', '/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_28_1679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_20_1540.jpg
/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_21_1515.jpg
/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_23_1845.jpg
/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_25_1676.jpg
/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_27_1855.jpg
/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_28_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":["1399422871","1399422868","1399422870","1399422864","1399422872","1399422869"],"photo_ids_order":["1399422864","1399422868","1399422869","1399422870","1399422871","1399422872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/adbec511bde13176ab5eaaf85a68727c.jpg","text":"TemporaryFile(/tmp/multipartBody7096741778974837542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759722987,"filename":"image_05112025_12_29_27_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/15/7cb01c43e609abc585e7743ec6f5b210.jpg","text":"TemporaryFile(/tmp/multipartBody1506275824362630042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759722987,"filename":"image_05112025_12_29_21_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/15/6d52047f5b6fb9c8315f1f1610cb6e18.jpg","text":"TemporaryFile(/tmp/multipartBody5875291627120712372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759722987,"filename":"image_05112025_12_29_25_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/15/78fce08bb37113f640b10e0cdb82f398.jpg","text":"TemporaryFile(/tmp/multipartBody173308125670094431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759722987,"filename":"image_05112025_12_29_20_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/15/934f59930c0932c315dd88f0e62b9bd4.jpg","text":"TemporaryFile(/tmp/multipartBody7617206363172444952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759722987,"filename":"image_05112025_12_29_28_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/15/97840bfdd60b20921726a4c37e7ef565.jpg","text":"TemporaryFile(/tmp/multipartBody1791262553672192076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759722987,"filename":"image_05112025_12_29_23_1845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422869","file1":"1399422868","file0":"1399422864","file4":"1399422871","file5":"1399422872","file3":"1399422870"},"map_files_photo_id_array":[{"photo_id":"1399422872","filename":"file5"},{"photo_id":"1399422869","filename":"file2"},{"photo_id":"1399422871","filename":"file4"},{"photo_id":"1399422868","filename":"file1"},{"photo_id":"1399422864","filename":"file0"},{"photo_id":"1399422870","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399422871":["hashtag1","hashtag2"]},{"1399422868":["hashtag1","hashtag2"]},{"1399422870":["hashtag1","hashtag2"]},{"1399422864":["hashtag1","hashtag2"]},{"1399422872":["hashtag1","hashtag2"]},{"1399422869":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399422871, 1399422868, 1399422870, 1399422864, 1399422872, 1399422869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.697842836380005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 01:48:22.549304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/35/image_15122025_01_35_24_9580.jpg', '/home/pi/Desktop/images/15122025/01/35/image_15122025_01_35_34_9710.jpg', '/home/pi/Desktop/images/15122025/01/35/image_15122025_01_35_44_10616.jpg', '/home/pi/Desktop/images/15122025/01/35/image_15122025_01_35_54_9748.jpg', '/home/pi/Desktop/images/15122025/01/35/image_15122025_01_36_04_9739.jpg', '/home/pi/Desktop/images/15122025/01/36/image_15122025_01_36_15_10698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/35/image_15122025_01_35_24_9580.jpg
/home/pi/Desktop/images/15122025/01/35/image_15122025_01_35_34_9710.jpg
/home/pi/Desktop/images/15122025/01/35/image_15122025_01_35_44_10616.jpg
/home/pi/Desktop/images/15122025/01/35/image_15122025_01_35_54_9748.jpg
/home/pi/Desktop/images/15122025/01/35/image_15122025_01_36_04_9739.jpg
/home/pi/Desktop/images/15122025/01/36/image_15122025_01_36_15_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":["1399422878","1399422877","1399422874","1399422873","1399422876","1399422875"],"photo_ids_order":["1399422873","1399422874","1399422875","1399422876","1399422877","1399422878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6eca03ad6ebea040f3b2fd2fb58c18ea.jpg","text":"TemporaryFile(/tmp/multipartBody5540189534788737029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759763198,"filename":"image_15122025_01_36_15_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a30081794dacf6020cbbe1b40adec7ee.jpg","text":"TemporaryFile(/tmp/multipartBody7872581996850225835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759763198,"filename":"image_15122025_01_36_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/15/79486bac7752d72f6627fba4ce9466cd.jpg","text":"TemporaryFile(/tmp/multipartBody8776065133984803382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759763198,"filename":"image_15122025_01_35_34_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/21c08202cb8d3ea109f7955990fedc87.jpg","text":"TemporaryFile(/tmp/multipartBody1839310605584995760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759763198,"filename":"image_15122025_01_35_24_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/15/205b8b05f466e48568df898d43c50632.jpg","text":"TemporaryFile(/tmp/multipartBody952089409371347176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759763198,"filename":"image_15122025_01_35_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/15/14660a1fa734b0b4a4ecb4ac3ca50ae4.jpg","text":"TemporaryFile(/tmp/multipartBody8055921815963407545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759763198,"filename":"image_15122025_01_35_44_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422875","file1":"1399422874","file0":"1399422873","file4":"1399422877","file5":"1399422878","file3":"1399422876"},"map_files_photo_id_array":[{"photo_id":"1399422878","filename":"file5"},{"photo_id":"1399422875","filename":"file2"},{"photo_id":"1399422877","filename":"file4"},{"photo_id":"1399422874","filename":"file1"},{"photo_id":"1399422873","filename":"file0"},{"photo_id":"1399422876","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422878":["hashtag1","hashtag2"]},{"1399422877":["hashtag1","hashtag2"]},{"1399422874":["hashtag1","hashtag2"]},{"1399422873":["hashtag1","hashtag2"]},{"1399422876":["hashtag1","hashtag2"]},{"1399422875":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422878, 1399422877, 1399422874, 1399422873, 1399422876, 1399422875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24769687652588 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 01:49:03.710291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/36/image_15122025_01_36_24_9641.jpg', '/home/pi/Desktop/images/15122025/01/36/image_15122025_01_36_34_9802.jpg', '/home/pi/Desktop/images/15122025/01/36/image_15122025_01_36_44_9840.jpg', '/home/pi/Desktop/images/15122025/01/36/image_15122025_01_36_55_10681.jpg', '/home/pi/Desktop/images/15122025/01/36/image_15122025_01_37_04_9684.jpg', '/home/pi/Desktop/images/15122025/01/37/image_15122025_01_37_14_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/36/image_15122025_01_36_24_9641.jpg
/home/pi/Desktop/images/15122025/01/36/image_15122025_01_36_34_9802.jpg
/home/pi/Desktop/images/15122025/01/36/image_15122025_01_36_44_9840.jpg
/home/pi/Desktop/images/15122025/01/36/image_15122025_01_36_55_10681.jpg
/home/pi/Desktop/images/15122025/01/36/image_15122025_01_37_04_9684.jpg
/home/pi/Desktop/images/15122025/01/37/image_15122025_01_37_14_9717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422883","1399422880","1399422882","1399422879","1399422884","1399422881"],"photo_ids_order":["1399422879","1399422880","1399422881","1399422882","1399422883","1399422884"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/81737031e034ebe831bb9171b88df188.jpg","text":"TemporaryFile(/tmp/multipartBody2567782292423181498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759804453,"filename":"image_15122025_01_37_04_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f984b13536cb0ec35e6746912407cb2f.jpg","text":"TemporaryFile(/tmp/multipartBody5853466839818730513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759804453,"filename":"image_15122025_01_36_34_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0fbe39e4afff390366434b362e894ded.jpg","text":"TemporaryFile(/tmp/multipartBody4106141371165028413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759804453,"filename":"image_15122025_01_36_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/15/8e55bfaad842bf229e712a03d0be8a9b.jpg","text":"TemporaryFile(/tmp/multipartBody3689525966714351773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759804453,"filename":"image_15122025_01_36_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/15/8d19c41d66adf3ff7c3a758a38754626.jpg","text":"TemporaryFile(/tmp/multipartBody8362110119390923851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759804453,"filename":"image_15122025_01_37_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/15/15113f613822bae29550d67aec4e02f2.jpg","text":"TemporaryFile(/tmp/multipartBody6523764915757154426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759804453,"filename":"image_15122025_01_36_44_9840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422881","file1":"1399422880","file0":"1399422879","file4":"1399422883","file5":"1399422884","file3":"1399422882"},"map_files_photo_id_array":[{"photo_id":"1399422884","filename":"file5"},{"photo_id":"1399422881","filename":"file2"},{"photo_id":"1399422883","filename":"file4"},{"photo_id":"1399422880","filename":"file1"},{"photo_id":"1399422879","filename":"file0"},{"photo_id":"1399422882","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422883":["hashtag1","hashtag2"]},{"1399422880":["hashtag1","hashtag2"]},{"1399422882":["hashtag1","hashtag2"]},{"1399422879":["hashtag1","hashtag2"]},{"1399422884":["hashtag1","hashtag2"]},{"1399422881":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422883, 1399422880, 1399422882, 1399422879, 1399422884, 1399422881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50611996650696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 01:49:42.733084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_30_1761.jpg', '/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_32_1648.jpg', '/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_36_3954.jpg', '/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_37_1553.jpg', '/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_39_1635.jpg', '/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_41_1635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_30_1761.jpg
/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_32_1648.jpg
/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_36_3954.jpg
/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_37_1553.jpg
/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_39_1635.jpg
/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_41_1635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422889","1399422886","1399422888","1399422885","1399422890","1399422887"],"photo_ids_order":["1399422885","1399422886","1399422887","1399422888","1399422889","1399422890"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2152759291e9d90b852bb3e569eae68a.jpg","text":"TemporaryFile(/tmp/multipartBody4540501582890956550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759843438,"filename":"image_05112025_12_29_39_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/56341f30ef357d0896328b318a778e53.jpg","text":"TemporaryFile(/tmp/multipartBody3484985996982411047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759843438,"filename":"image_05112025_12_29_32_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/15/ce2aa306622ee72e8bd1d6eb5960c9c6.jpg","text":"TemporaryFile(/tmp/multipartBody5768369782010249504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759843438,"filename":"image_05112025_12_29_37_1553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/51b42f78eb4eebafa08852afed67b4d3.jpg","text":"TemporaryFile(/tmp/multipartBody3394174105221831607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759843438,"filename":"image_05112025_12_29_30_1761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4d7162a6446cdb43cd83df1e7d143f58.jpg","text":"TemporaryFile(/tmp/multipartBody6243098391390230970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759843438,"filename":"image_05112025_12_29_41_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/15/66441d9d0d75c1227bbedb5105f26ef3.jpg","text":"TemporaryFile(/tmp/multipartBody5811617340655198699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759843438,"filename":"image_05112025_12_29_36_3954.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422887","file1":"1399422886","file0":"1399422885","file4":"1399422889","file5":"1399422890","file3":"1399422888"},"map_files_photo_id_array":[{"photo_id":"1399422890","filename":"file5"},{"photo_id":"1399422887","filename":"file2"},{"photo_id":"1399422889","filename":"file4"},{"photo_id":"1399422886","filename":"file1"},{"photo_id":"1399422885","filename":"file0"},{"photo_id":"1399422888","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399422889":["hashtag1","hashtag2"]},{"1399422886":["hashtag1","hashtag2"]},{"1399422888":["hashtag1","hashtag2"]},{"1399422885":["hashtag1","hashtag2"]},{"1399422890":["hashtag1","hashtag2"]},{"1399422887":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399422889, 1399422886, 1399422888, 1399422885, 1399422890, 1399422887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.645893573760986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 01:50:22.022846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/37/image_15122025_01_37_24_9788.jpg', '/home/pi/Desktop/images/15122025/01/37/image_15122025_01_37_34_10668.jpg', '/home/pi/Desktop/images/15122025/01/37/image_15122025_01_37_44_9762.jpg', '/home/pi/Desktop/images/15122025/01/37/image_15122025_01_37_54_9654.jpg', '/home/pi/Desktop/images/15122025/01/37/image_15122025_01_38_04_10572.jpg', '/home/pi/Desktop/images/15122025/01/38/image_15122025_01_38_14_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/37/image_15122025_01_37_24_9788.jpg
/home/pi/Desktop/images/15122025/01/37/image_15122025_01_37_34_10668.jpg
/home/pi/Desktop/images/15122025/01/37/image_15122025_01_37_44_9762.jpg
/home/pi/Desktop/images/15122025/01/37/image_15122025_01_37_54_9654.jpg
/home/pi/Desktop/images/15122025/01/37/image_15122025_01_38_04_10572.jpg
/home/pi/Desktop/images/15122025/01/38/image_15122025_01_38_14_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":["1399422895","1399422892","1399422891","1399422894","1399422900","1399422893"],"photo_ids_order":["1399422891","1399422892","1399422893","1399422894","1399422895","1399422900"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6d8402cd4e9f7c12a23477a19af9a63c.jpg","text":"TemporaryFile(/tmp/multipartBody3271965018346169353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759882676,"filename":"image_15122025_01_38_04_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/15/ef39f2b330c00cd044687a1dc147738d.jpg","text":"TemporaryFile(/tmp/multipartBody2564323199827673176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759882676,"filename":"image_15122025_01_37_34_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/15/0ff6da7e2733d9d488fdd38a1ac1309c.jpg","text":"TemporaryFile(/tmp/multipartBody1452368672149270179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759882676,"filename":"image_15122025_01_37_24_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/34d8609d1188a896b66df930f16988be.jpg","text":"TemporaryFile(/tmp/multipartBody5780651115878086300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759882676,"filename":"image_15122025_01_37_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/15/484e03c3dbd39e54f23a237fc2df6731.jpg","text":"TemporaryFile(/tmp/multipartBody8028555799341206767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759882676,"filename":"image_15122025_01_38_14_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f35f1e4577daf9cb1b3a91041f3d118d.jpg","text":"TemporaryFile(/tmp/multipartBody36534621719022588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759882676,"filename":"image_15122025_01_37_44_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422893","file1":"1399422892","file0":"1399422891","file4":"1399422895","file5":"1399422900","file3":"1399422894"},"map_files_photo_id_array":[{"photo_id":"1399422900","filename":"file5"},{"photo_id":"1399422893","filename":"file2"},{"photo_id":"1399422895","filename":"file4"},{"photo_id":"1399422892","filename":"file1"},{"photo_id":"1399422891","filename":"file0"},{"photo_id":"1399422894","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422895":["hashtag1","hashtag2"]},{"1399422892":["hashtag1","hashtag2"]},{"1399422891":["hashtag1","hashtag2"]},{"1399422894":["hashtag1","hashtag2"]},{"1399422900":["hashtag1","hashtag2"]},{"1399422893":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422895, 1399422892, 1399422891, 1399422894, 1399422900, 1399422893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63789176940918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 01:51:03.016408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/38/image_15122025_01_38_24_9625.jpg', '/home/pi/Desktop/images/15122025/01/38/image_15122025_01_38_35_10879.jpg', '/home/pi/Desktop/images/15122025/01/38/image_15122025_01_38_44_9727.jpg', '/home/pi/Desktop/images/15122025/01/38/image_15122025_01_38_54_9681.jpg', '/home/pi/Desktop/images/15122025/01/38/image_15122025_01_39_04_9758.jpg', '/home/pi/Desktop/images/15122025/01/39/image_15122025_01_39_14_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/38/image_15122025_01_38_24_9625.jpg
/home/pi/Desktop/images/15122025/01/38/image_15122025_01_38_35_10879.jpg
/home/pi/Desktop/images/15122025/01/38/image_15122025_01_38_44_9727.jpg
/home/pi/Desktop/images/15122025/01/38/image_15122025_01_38_54_9681.jpg
/home/pi/Desktop/images/15122025/01/38/image_15122025_01_39_04_9758.jpg
/home/pi/Desktop/images/15122025/01/39/image_15122025_01_39_14_10637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422902","1399422905","1399422901","1399422904","1399422906","1399422903"],"photo_ids_order":["1399422901","1399422902","1399422903","1399422904","1399422905","1399422906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/83810a38c8cd8835c9b878ebfd3c042e.jpg","text":"TemporaryFile(/tmp/multipartBody7068602561554473377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759923695,"filename":"image_15122025_01_38_35_10879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d28a59b14a32093e3b49f532fa2bea09.jpg","text":"TemporaryFile(/tmp/multipartBody3472095838458458872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759923695,"filename":"image_15122025_01_39_04_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2ca087aa3c85de5384bf16de36e0a645.jpg","text":"TemporaryFile(/tmp/multipartBody8969253933304668786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759923695,"filename":"image_15122025_01_38_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/15/def4a597944bb0568086d548d04fe858.jpg","text":"TemporaryFile(/tmp/multipartBody2294399724272692092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759923695,"filename":"image_15122025_01_38_54_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8deeba89ef5ce312b9999a6c67a9f273.jpg","text":"TemporaryFile(/tmp/multipartBody8975229379511594608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759923695,"filename":"image_15122025_01_39_14_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/15/3eb0e188ee02a5fb70c5e5c3366eb314.jpg","text":"TemporaryFile(/tmp/multipartBody761758814944295107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759923695,"filename":"image_15122025_01_38_44_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422903","file1":"1399422902","file0":"1399422901","file4":"1399422905","file5":"1399422906","file3":"1399422904"},"map_files_photo_id_array":[{"photo_id":"1399422906","filename":"file5"},{"photo_id":"1399422903","filename":"file2"},{"photo_id":"1399422905","filename":"file4"},{"photo_id":"1399422902","filename":"file1"},{"photo_id":"1399422901","filename":"file0"},{"photo_id":"1399422904","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422902":["hashtag1","hashtag2"]},{"1399422905":["hashtag1","hashtag2"]},{"1399422901":["hashtag1","hashtag2"]},{"1399422904":["hashtag1","hashtag2"]},{"1399422906":["hashtag1","hashtag2"]},{"1399422903":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422902, 1399422905, 1399422901, 1399422904, 1399422906, 1399422903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.433598041534424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 01:51:42.292968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_42_1629.jpg', '/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_45_2700.jpg', '/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_59_14435.jpg', '/home/pi/Desktop/images/05112025/12/30/image_05112025_12_30_01_1745.jpg', '/home/pi/Desktop/images/05112025/12/30/image_05112025_12_30_03_1899.jpg', '/home/pi/Desktop/images/05112025/12/30/image_05112025_12_30_05_1609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_42_1629.jpg
/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_45_2700.jpg
/home/pi/Desktop/images/05112025/12/29/image_05112025_12_29_59_14435.jpg
/home/pi/Desktop/images/05112025/12/30/image_05112025_12_30_01_1745.jpg
/home/pi/Desktop/images/05112025/12/30/image_05112025_12_30_03_1899.jpg
/home/pi/Desktop/images/05112025/12/30/image_05112025_12_30_05_1609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422911","1399422908","1399422910","1399422907","1399422912","1399422909"],"photo_ids_order":["1399422907","1399422908","1399422909","1399422910","1399422911","1399422912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ac76c22dda21d934f49c087ad0424a03.jpg","text":"TemporaryFile(/tmp/multipartBody3365285622366244408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759963001,"filename":"image_05112025_12_30_03_1899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5310e155e741763e2fd8e5c7573dc84d.jpg","text":"TemporaryFile(/tmp/multipartBody7901599508912945637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759963001,"filename":"image_05112025_12_29_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/15/2c1f5f81feaf1691c487086c382eef98.jpg","text":"TemporaryFile(/tmp/multipartBody1007597999008260111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759963001,"filename":"image_05112025_12_30_01_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/15/9a31b4467f5b64b17376ea16548f9aef.jpg","text":"TemporaryFile(/tmp/multipartBody7722324592740610170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759963001,"filename":"image_05112025_12_29_42_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/15/7d396e489af84d0de29cd48a0131ab2b.jpg","text":"TemporaryFile(/tmp/multipartBody6025212147050912296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759963001,"filename":"image_05112025_12_30_05_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/15/0c6311807fb0c2b6b7e148cbb8aba9d2.jpg","text":"TemporaryFile(/tmp/multipartBody2077503777232251299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765759963001,"filename":"image_05112025_12_29_59_14435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422909","file1":"1399422908","file0":"1399422907","file4":"1399422911","file5":"1399422912","file3":"1399422910"},"map_files_photo_id_array":[{"photo_id":"1399422912","filename":"file5"},{"photo_id":"1399422909","filename":"file2"},{"photo_id":"1399422911","filename":"file4"},{"photo_id":"1399422908","filename":"file1"},{"photo_id":"1399422907","filename":"file0"},{"photo_id":"1399422910","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399422911":["hashtag1","hashtag2"]},{"1399422908":["hashtag1","hashtag2"]},{"1399422910":["hashtag1","hashtag2"]},{"1399422907":["hashtag1","hashtag2"]},{"1399422912":["hashtag1","hashtag2"]},{"1399422909":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399422911, 1399422908, 1399422910, 1399422907, 1399422912, 1399422909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.388105630874634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 01:52:22.534321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/39/image_15122025_01_39_24_9612.jpg', '/home/pi/Desktop/images/15122025/01/39/image_15122025_01_39_34_9832.jpg', '/home/pi/Desktop/images/15122025/01/39/image_15122025_01_39_44_9839.jpg', '/home/pi/Desktop/images/15122025/01/39/image_15122025_01_39_54_10744.jpg', '/home/pi/Desktop/images/15122025/01/39/image_15122025_01_40_04_9564.jpg', '/home/pi/Desktop/images/15122025/01/40/image_15122025_01_40_14_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/39/image_15122025_01_39_24_9612.jpg
/home/pi/Desktop/images/15122025/01/39/image_15122025_01_39_34_9832.jpg
/home/pi/Desktop/images/15122025/01/39/image_15122025_01_39_44_9839.jpg
/home/pi/Desktop/images/15122025/01/39/image_15122025_01_39_54_10744.jpg
/home/pi/Desktop/images/15122025/01/39/image_15122025_01_40_04_9564.jpg
/home/pi/Desktop/images/15122025/01/40/image_15122025_01_40_14_9777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422917","1399422914","1399422913","1399422916","1399422918","1399422915"],"photo_ids_order":["1399422913","1399422914","1399422915","1399422916","1399422917","1399422918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5ef9f0dacba2244314463800831beef9.jpg","text":"TemporaryFile(/tmp/multipartBody727957918234210756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760003180,"filename":"image_15122025_01_40_04_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a264b7523c55fe4ae1376d200f5b0313.jpg","text":"TemporaryFile(/tmp/multipartBody4214413879745567280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760003180,"filename":"image_15122025_01_39_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/15/61ee9625bffccecc47aebd71353791ad.jpg","text":"TemporaryFile(/tmp/multipartBody6099322410517783938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760003180,"filename":"image_15122025_01_39_24_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5e05b26f1398cfa5ecb0970fff00fd12.jpg","text":"TemporaryFile(/tmp/multipartBody1936972994719385154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760003180,"filename":"image_15122025_01_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/15/e15f5a17aa09291c66bd15393858b0df.jpg","text":"TemporaryFile(/tmp/multipartBody2924069909293018965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760003180,"filename":"image_15122025_01_40_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/15/922f3b0a1b2b2ff639f509cf70c19ddd.jpg","text":"TemporaryFile(/tmp/multipartBody1180141955963732529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760003180,"filename":"image_15122025_01_39_44_9839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422915","file1":"1399422914","file0":"1399422913","file4":"1399422917","file5":"1399422918","file3":"1399422916"},"map_files_photo_id_array":[{"photo_id":"1399422918","filename":"file5"},{"photo_id":"1399422915","filename":"file2"},{"photo_id":"1399422917","filename":"file4"},{"photo_id":"1399422914","filename":"file1"},{"photo_id":"1399422913","filename":"file0"},{"photo_id":"1399422916","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422917":["hashtag1","hashtag2"]},{"1399422914":["hashtag1","hashtag2"]},{"1399422913":["hashtag1","hashtag2"]},{"1399422916":["hashtag1","hashtag2"]},{"1399422918":["hashtag1","hashtag2"]},{"1399422915":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422917, 1399422914, 1399422913, 1399422916, 1399422918, 1399422915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80739188194275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 01:53:02.526545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/40/image_15122025_01_40_24_10617.jpg', '/home/pi/Desktop/images/15122025/01/40/image_15122025_01_40_34_9766.jpg', '/home/pi/Desktop/images/15122025/01/40/image_15122025_01_40_44_9721.jpg', '/home/pi/Desktop/images/15122025/01/40/image_15122025_01_40_55_10739.jpg', '/home/pi/Desktop/images/15122025/01/40/image_15122025_01_41_04_9774.jpg', '/home/pi/Desktop/images/15122025/01/41/image_15122025_01_41_14_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/40/image_15122025_01_40_24_10617.jpg
/home/pi/Desktop/images/15122025/01/40/image_15122025_01_40_34_9766.jpg
/home/pi/Desktop/images/15122025/01/40/image_15122025_01_40_44_9721.jpg
/home/pi/Desktop/images/15122025/01/40/image_15122025_01_40_55_10739.jpg
/home/pi/Desktop/images/15122025/01/40/image_15122025_01_41_04_9774.jpg
/home/pi/Desktop/images/15122025/01/41/image_15122025_01_41_14_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":["1399422920","1399422923","1399422922","1399422919","1399422924","1399422921"],"photo_ids_order":["1399422919","1399422920","1399422921","1399422922","1399422923","1399422924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0ff78b4ebc69560e088a682060d2ff25.jpg","text":"TemporaryFile(/tmp/multipartBody3046155617654182856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760043220,"filename":"image_15122025_01_40_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/15/efd06ec59d952dff987b420efe938dbc.jpg","text":"TemporaryFile(/tmp/multipartBody7415215564637710206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760043220,"filename":"image_15122025_01_41_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/15/fe268b982d40d06d1d02ad846144e285.jpg","text":"TemporaryFile(/tmp/multipartBody269239095749068797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760043220,"filename":"image_15122025_01_40_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/15/83417861586ff834d21c5f850e8c2f81.jpg","text":"TemporaryFile(/tmp/multipartBody2488759320503734683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760043220,"filename":"image_15122025_01_40_24_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/579af7585fd48eaeeab5e65622e8053b.jpg","text":"TemporaryFile(/tmp/multipartBody4717810933228668625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760043220,"filename":"image_15122025_01_41_14_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7640dbe69f4ae76603b5c786f1e95cdc.jpg","text":"TemporaryFile(/tmp/multipartBody7732957262143068593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760043220,"filename":"image_15122025_01_40_44_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422921","file1":"1399422920","file0":"1399422919","file4":"1399422923","file5":"1399422924","file3":"1399422922"},"map_files_photo_id_array":[{"photo_id":"1399422924","filename":"file5"},{"photo_id":"1399422921","filename":"file2"},{"photo_id":"1399422923","filename":"file4"},{"photo_id":"1399422920","filename":"file1"},{"photo_id":"1399422919","filename":"file0"},{"photo_id":"1399422922","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422920":["hashtag1","hashtag2"]},{"1399422923":["hashtag1","hashtag2"]},{"1399422922":["hashtag1","hashtag2"]},{"1399422919":["hashtag1","hashtag2"]},{"1399422924":["hashtag1","hashtag2"]},{"1399422921":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422920, 1399422923, 1399422922, 1399422919, 1399422924, 1399422921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18641424179077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 01:53:41.793129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/30/image_05112025_12_30_06_1579.jpg', '/home/pi/Desktop/images/05112025/12/30/image_05112025_12_30_08_1571.jpg', '/home/pi/Desktop/images/05112025/12/30/image_05112025_12_30_10_1678.jpg', '/home/pi/Desktop/images/05112025/12/30/image_05112025_12_30_11_1705.jpg', '/home/pi/Desktop/images/05112025/12/30/image_05112025_12_30_13_1625.jpg', '/home/pi/Desktop/images/05112025/12/30/image_05112025_12_30_15_2579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/30/image_05112025_12_30_06_1579.jpg
/home/pi/Desktop/images/05112025/12/30/image_05112025_12_30_08_1571.jpg
/home/pi/Desktop/images/05112025/12/30/image_05112025_12_30_10_1678.jpg
/home/pi/Desktop/images/05112025/12/30/image_05112025_12_30_11_1705.jpg
/home/pi/Desktop/images/05112025/12/30/image_05112025_12_30_13_1625.jpg
/home/pi/Desktop/images/05112025/12/30/image_05112025_12_30_15_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":["1399422929","1399422932","1399422931","1399422925","1399422930","1399422933"],"photo_ids_order":["1399422925","1399422929","1399422930","1399422931","1399422932","1399422933"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bb12ba60cfca7f2978338a841c26af25.jpg","text":"TemporaryFile(/tmp/multipartBody3279465905779999802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760082496,"filename":"image_05112025_12_30_08_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/15/fb30ddeac60264d36459b35117e49166.jpg","text":"TemporaryFile(/tmp/multipartBody5233792989661624534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760082496,"filename":"image_05112025_12_30_13_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/15/ae9258ccb109f9b53e7ad96ab307a47a.jpg","text":"TemporaryFile(/tmp/multipartBody8878861995220816720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760082496,"filename":"image_05112025_12_30_11_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/15/5b3b80f0baf286bac17180ad7e64550c.jpg","text":"TemporaryFile(/tmp/multipartBody8867649087315886608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760082496,"filename":"image_05112025_12_30_06_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/15/4bbdb566730b75a7903ad3c93a8f0a44.jpg","text":"TemporaryFile(/tmp/multipartBody5461470383699398993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760082496,"filename":"image_05112025_12_30_10_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/15/cdaf2d73b12e2b220ba5a586f6e5bac4.jpg","text":"TemporaryFile(/tmp/multipartBody680380343841707650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760082496,"filename":"image_05112025_12_30_15_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422930","file1":"1399422929","file0":"1399422925","file4":"1399422932","file5":"1399422933","file3":"1399422931"},"map_files_photo_id_array":[{"photo_id":"1399422933","filename":"file5"},{"photo_id":"1399422930","filename":"file2"},{"photo_id":"1399422932","filename":"file4"},{"photo_id":"1399422929","filename":"file1"},{"photo_id":"1399422925","filename":"file0"},{"photo_id":"1399422931","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399422929":["hashtag1","hashtag2"]},{"1399422932":["hashtag1","hashtag2"]},{"1399422931":["hashtag1","hashtag2"]},{"1399422925":["hashtag1","hashtag2"]},{"1399422930":["hashtag1","hashtag2"]},{"1399422933":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399422929, 1399422932, 1399422931, 1399422925, 1399422930, 1399422933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71068334579468 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 01:54:22.069644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/41/image_15122025_01_41_25_10576.jpg', '/home/pi/Desktop/images/15122025/01/41/image_15122025_01_41_34_9546.jpg', '/home/pi/Desktop/images/15122025/01/41/image_15122025_01_41_44_9643.jpg', '/home/pi/Desktop/images/15122025/01/41/image_15122025_01_41_54_10645.jpg', '/home/pi/Desktop/images/15122025/01/41/image_15122025_01_42_04_9669.jpg', '/home/pi/Desktop/images/15122025/01/42/image_15122025_01_42_14_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/41/image_15122025_01_41_25_10576.jpg
/home/pi/Desktop/images/15122025/01/41/image_15122025_01_41_34_9546.jpg
/home/pi/Desktop/images/15122025/01/41/image_15122025_01_41_44_9643.jpg
/home/pi/Desktop/images/15122025/01/41/image_15122025_01_41_54_10645.jpg
/home/pi/Desktop/images/15122025/01/41/image_15122025_01_42_04_9669.jpg
/home/pi/Desktop/images/15122025/01/42/image_15122025_01_42_14_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":["1399422935","1399422938","1399422934","1399422937","1399422936","1399422939"],"photo_ids_order":["1399422934","1399422935","1399422936","1399422937","1399422938","1399422939"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/efb04fdf2673eaf9ac94392d0f73118c.jpg","text":"TemporaryFile(/tmp/multipartBody1506869671621261976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760122684,"filename":"image_15122025_01_41_34_9546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d94a7dff18f23392ef3e790bec3b35e2.jpg","text":"TemporaryFile(/tmp/multipartBody2372409906021602875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760122684,"filename":"image_15122025_01_42_04_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/67ef72800b741b07fc0caa84d05895a9.jpg","text":"TemporaryFile(/tmp/multipartBody3082395702593057157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760122684,"filename":"image_15122025_01_41_25_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/585c7b65011ce15a2be96336f764096e.jpg","text":"TemporaryFile(/tmp/multipartBody7305565244176391374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760122684,"filename":"image_15122025_01_41_54_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/15/c12fc8494d3c4fc3b3343fbdec70ffdd.jpg","text":"TemporaryFile(/tmp/multipartBody8406578861005568056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760122684,"filename":"image_15122025_01_41_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/15/0898c7f18c63b9b49d9ad3e42394199c.jpg","text":"TemporaryFile(/tmp/multipartBody3525242804906875819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760122684,"filename":"image_15122025_01_42_14_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422936","file1":"1399422935","file0":"1399422934","file4":"1399422938","file5":"1399422939","file3":"1399422937"},"map_files_photo_id_array":[{"photo_id":"1399422939","filename":"file5"},{"photo_id":"1399422936","filename":"file2"},{"photo_id":"1399422938","filename":"file4"},{"photo_id":"1399422935","filename":"file1"},{"photo_id":"1399422934","filename":"file0"},{"photo_id":"1399422937","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422935":["hashtag1","hashtag2"]},{"1399422938":["hashtag1","hashtag2"]},{"1399422934":["hashtag1","hashtag2"]},{"1399422937":["hashtag1","hashtag2"]},{"1399422936":["hashtag1","hashtag2"]},{"1399422939":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422935, 1399422938, 1399422934, 1399422937, 1399422936, 1399422939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10275936126709 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 01:55:02.872443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/42/image_15122025_01_42_25_10708.jpg', '/home/pi/Desktop/images/15122025/01/42/image_15122025_01_42_34_9682.jpg', '/home/pi/Desktop/images/15122025/01/42/image_15122025_01_42_44_9680.jpg', '/home/pi/Desktop/images/15122025/01/42/image_15122025_01_42_55_10769.jpg', '/home/pi/Desktop/images/15122025/01/42/image_15122025_01_43_04_9614.jpg', '/home/pi/Desktop/images/15122025/01/43/image_15122025_01_43_14_9838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/42/image_15122025_01_42_25_10708.jpg
/home/pi/Desktop/images/15122025/01/42/image_15122025_01_42_34_9682.jpg
/home/pi/Desktop/images/15122025/01/42/image_15122025_01_42_44_9680.jpg
/home/pi/Desktop/images/15122025/01/42/image_15122025_01_42_55_10769.jpg
/home/pi/Desktop/images/15122025/01/42/image_15122025_01_43_04_9614.jpg
/home/pi/Desktop/images/15122025/01/43/image_15122025_01_43_14_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":["1399422941","1399422944","1399422940","1399422943","1399422942","1399422945"],"photo_ids_order":["1399422940","1399422941","1399422942","1399422943","1399422944","1399422945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/53d29bd99f1514cea116ba39dfd3d635.jpg","text":"TemporaryFile(/tmp/multipartBody7983660030358585448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760163568,"filename":"image_15122025_01_42_34_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/29eb6a4abb3168dea58689b82fd46524.jpg","text":"TemporaryFile(/tmp/multipartBody6746723575498964727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760163568,"filename":"image_15122025_01_43_04_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c90729ad497e72802c46d61ce6f5930b.jpg","text":"TemporaryFile(/tmp/multipartBody2101139874410813618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760163568,"filename":"image_15122025_01_42_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/15/6414b88628d88d0a232581fe9cda5259.jpg","text":"TemporaryFile(/tmp/multipartBody3693752213324626576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760163568,"filename":"image_15122025_01_42_55_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/08d197582f8d5184897efa9271043cdb.jpg","text":"TemporaryFile(/tmp/multipartBody7823700273558985681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760163568,"filename":"image_15122025_01_42_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/15/2f79576d8402c684caa0cc4aa0d34ba6.jpg","text":"TemporaryFile(/tmp/multipartBody2829081109115988292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760163568,"filename":"image_15122025_01_43_14_9838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422942","file1":"1399422941","file0":"1399422940","file4":"1399422944","file5":"1399422945","file3":"1399422943"},"map_files_photo_id_array":[{"photo_id":"1399422945","filename":"file5"},{"photo_id":"1399422942","filename":"file2"},{"photo_id":"1399422944","filename":"file4"},{"photo_id":"1399422941","filename":"file1"},{"photo_id":"1399422940","filename":"file0"},{"photo_id":"1399422943","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422941":["hashtag1","hashtag2"]},{"1399422944":["hashtag1","hashtag2"]},{"1399422940":["hashtag1","hashtag2"]},{"1399422943":["hashtag1","hashtag2"]},{"1399422942":["hashtag1","hashtag2"]},{"1399422945":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422941, 1399422944, 1399422940, 1399422943, 1399422942, 1399422945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75073027610779 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 01:55:42.302135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/30/image_05112025_12_30_18_2587.jpg', '/home/pi/Desktop/images/05112025/12/33/image_05112025_12_33_07_3014.jpg', '/home/pi/Desktop/images/05112025/12/33/image_05112025_12_33_10_3547.jpg', '/home/pi/Desktop/images/05112025/12/33/image_05112025_12_33_13_2782.jpg', '/home/pi/Desktop/images/05112025/12/33/image_05112025_12_33_18_4541.jpg', '/home/pi/Desktop/images/05112025/12/33/image_05112025_12_33_19_1617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/30/image_05112025_12_30_18_2587.jpg
/home/pi/Desktop/images/05112025/12/33/image_05112025_12_33_07_3014.jpg
/home/pi/Desktop/images/05112025/12/33/image_05112025_12_33_10_3547.jpg
/home/pi/Desktop/images/05112025/12/33/image_05112025_12_33_13_2782.jpg
/home/pi/Desktop/images/05112025/12/33/image_05112025_12_33_18_4541.jpg
/home/pi/Desktop/images/05112025/12/33/image_05112025_12_33_19_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":["1399422950","1399422946","1399422949","1399422951","1399422948","1399422947"],"photo_ids_order":["1399422946","1399422947","1399422948","1399422949","1399422950","1399422951"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fa13932a07741d0ea4495236ff3950c5.jpg","text":"TemporaryFile(/tmp/multipartBody1989344384362176220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760203035,"filename":"image_05112025_12_33_18_4541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/85312e6a031ff4d84d7627606cdbd101.jpg","text":"TemporaryFile(/tmp/multipartBody3838984038533763157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760203035,"filename":"image_05112025_12_30_18_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/15/5c36bc31ab972f325ab17e1179183e32.jpg","text":"TemporaryFile(/tmp/multipartBody1005203408292689813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760203035,"filename":"image_05112025_12_33_13_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/15/2e42a59959f85f8929d193c7066949dc.jpg","text":"TemporaryFile(/tmp/multipartBody5321093624008265395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760203035,"filename":"image_05112025_12_33_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/15/0c12352a3ce4d528e8a76a0c161e57c7.jpg","text":"TemporaryFile(/tmp/multipartBody842362439520572587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760203035,"filename":"image_05112025_12_33_10_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/15/a77219dbc8fa87ed8ff6a2cee4a76473.jpg","text":"TemporaryFile(/tmp/multipartBody5913482676842365569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760203035,"filename":"image_05112025_12_33_07_3014.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422948","file1":"1399422947","file0":"1399422946","file4":"1399422950","file5":"1399422951","file3":"1399422949"},"map_files_photo_id_array":[{"photo_id":"1399422951","filename":"file5"},{"photo_id":"1399422948","filename":"file2"},{"photo_id":"1399422950","filename":"file4"},{"photo_id":"1399422947","filename":"file1"},{"photo_id":"1399422946","filename":"file0"},{"photo_id":"1399422949","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399422950":["hashtag1","hashtag2"]},{"1399422946":["hashtag1","hashtag2"]},{"1399422949":["hashtag1","hashtag2"]},{"1399422951":["hashtag1","hashtag2"]},{"1399422948":["hashtag1","hashtag2"]},{"1399422947":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399422950, 1399422946, 1399422949, 1399422951, 1399422948, 1399422947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.419031620025635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 01:56:22.568639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/43/image_15122025_01_43_35_10582.jpg', '/home/pi/Desktop/images/15122025/01/43/image_15122025_01_43_44_9617.jpg', '/home/pi/Desktop/images/15122025/01/43/image_15122025_01_43_54_9624.jpg', '/home/pi/Desktop/images/15122025/01/43/image_15122025_01_44_05_10757.jpg', '/home/pi/Desktop/images/15122025/01/44/image_15122025_01_44_14_9793.jpg', '/home/pi/Desktop/images/15122025/01/44/image_15122025_01_44_24_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/43/image_15122025_01_43_35_10582.jpg
/home/pi/Desktop/images/15122025/01/43/image_15122025_01_43_44_9617.jpg
/home/pi/Desktop/images/15122025/01/43/image_15122025_01_43_54_9624.jpg
/home/pi/Desktop/images/15122025/01/43/image_15122025_01_44_05_10757.jpg
/home/pi/Desktop/images/15122025/01/44/image_15122025_01_44_14_9793.jpg
/home/pi/Desktop/images/15122025/01/44/image_15122025_01_44_24_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":["1399422956","1399422952","1399422955","1399422954","1399422957","1399422953"],"photo_ids_order":["1399422952","1399422953","1399422954","1399422955","1399422956","1399422957"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/153fbb267abe56f388d1a3aa4a9ca3f3.jpg","text":"TemporaryFile(/tmp/multipartBody1757373175020767725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760243193,"filename":"image_15122025_01_44_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/15/443dbf5bce59e16a9fa07f25c4987dc5.jpg","text":"TemporaryFile(/tmp/multipartBody1765254355543843383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760243193,"filename":"image_15122025_01_43_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/15/6e0f305b045ee43697f154006ce51e8d.jpg","text":"TemporaryFile(/tmp/multipartBody6972620535185392535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760243193,"filename":"image_15122025_01_44_05_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/15/e302e1dc90a12423d820305a0224b1ec.jpg","text":"TemporaryFile(/tmp/multipartBody3742923299029605961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760243193,"filename":"image_15122025_01_43_54_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/15/3446e5606c360216d95567c85751d48a.jpg","text":"TemporaryFile(/tmp/multipartBody5912427020263411173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760243193,"filename":"image_15122025_01_44_24_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6de81e651bb7f75ab85f853fa21d80c2.jpg","text":"TemporaryFile(/tmp/multipartBody7568699749992391149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760243193,"filename":"image_15122025_01_43_44_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422954","file1":"1399422953","file0":"1399422952","file4":"1399422956","file5":"1399422957","file3":"1399422955"},"map_files_photo_id_array":[{"photo_id":"1399422957","filename":"file5"},{"photo_id":"1399422954","filename":"file2"},{"photo_id":"1399422956","filename":"file4"},{"photo_id":"1399422953","filename":"file1"},{"photo_id":"1399422952","filename":"file0"},{"photo_id":"1399422955","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422956":["hashtag1","hashtag2"]},{"1399422952":["hashtag1","hashtag2"]},{"1399422955":["hashtag1","hashtag2"]},{"1399422954":["hashtag1","hashtag2"]},{"1399422957":["hashtag1","hashtag2"]},{"1399422953":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422956, 1399422952, 1399422955, 1399422954, 1399422957, 1399422953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09044933319092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 01:57:03.460649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/44/image_15122025_01_44_35_10676.jpg', '/home/pi/Desktop/images/15122025/01/44/image_15122025_01_44_44_9659.jpg', '/home/pi/Desktop/images/15122025/01/44/image_15122025_01_44_54_9659.jpg', '/home/pi/Desktop/images/15122025/01/44/image_15122025_01_45_05_10650.jpg', '/home/pi/Desktop/images/15122025/01/45/image_15122025_01_45_14_9753.jpg', '/home/pi/Desktop/images/15122025/01/45/image_15122025_01_45_24_9753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/44/image_15122025_01_44_35_10676.jpg
/home/pi/Desktop/images/15122025/01/44/image_15122025_01_44_44_9659.jpg
/home/pi/Desktop/images/15122025/01/44/image_15122025_01_44_54_9659.jpg
/home/pi/Desktop/images/15122025/01/44/image_15122025_01_45_05_10650.jpg
/home/pi/Desktop/images/15122025/01/45/image_15122025_01_45_14_9753.jpg
/home/pi/Desktop/images/15122025/01/45/image_15122025_01_45_24_9753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422964","1399422967","1399422969","1399422966","1399422965","1399422968"],"photo_ids_order":["1399422964","1399422965","1399422966","1399422967","1399422968","1399422969"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4b4f54501c44f9d0892103de851e6377.jpg","text":"TemporaryFile(/tmp/multipartBody2145137699311902513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760284139,"filename":"image_15122025_01_44_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/15/b6b63f378450e63c927e28ec8c266c79.jpg","text":"TemporaryFile(/tmp/multipartBody3798844545463621669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760284139,"filename":"image_15122025_01_45_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/15/871fb0738f82399cc2aa786a0b709638.jpg","text":"TemporaryFile(/tmp/multipartBody2631738916520177362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760284139,"filename":"image_15122025_01_45_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/15/bae91ba11a0d230a706c7859880ddbd2.jpg","text":"TemporaryFile(/tmp/multipartBody7402802623579847421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760284139,"filename":"image_15122025_01_44_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/15/a56e6ae51538473120aa59c08390173b.jpg","text":"TemporaryFile(/tmp/multipartBody3259152435081045588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760284139,"filename":"image_15122025_01_44_44_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7cdeb2e6b26bee22c1c83d9c7215047d.jpg","text":"TemporaryFile(/tmp/multipartBody3350179073053322257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760284139,"filename":"image_15122025_01_45_14_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422966","file1":"1399422965","file0":"1399422964","file4":"1399422968","file5":"1399422969","file3":"1399422967"},"map_files_photo_id_array":[{"photo_id":"1399422969","filename":"file5"},{"photo_id":"1399422966","filename":"file2"},{"photo_id":"1399422968","filename":"file4"},{"photo_id":"1399422965","filename":"file1"},{"photo_id":"1399422964","filename":"file0"},{"photo_id":"1399422967","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422964":["hashtag1","hashtag2"]},{"1399422967":["hashtag1","hashtag2"]},{"1399422969":["hashtag1","hashtag2"]},{"1399422966":["hashtag1","hashtag2"]},{"1399422965":["hashtag1","hashtag2"]},{"1399422968":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422964, 1399422967, 1399422969, 1399422966, 1399422965, 1399422968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.880069971084595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 01:57:42.740637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/33/image_05112025_12_33_23_4193.jpg', '/home/pi/Desktop/images/05112025/12/33/image_05112025_12_33_25_1615.jpg', '/home/pi/Desktop/images/05112025/12/33/image_05112025_12_33_28_2764.jpg', '/home/pi/Desktop/images/05112025/12/33/image_05112025_12_33_31_3614.jpg', '/home/pi/Desktop/images/05112025/12/33/image_05112025_12_33_34_2656.jpg', '/home/pi/Desktop/images/05112025/12/33/image_05112025_12_33_37_2606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/33/image_05112025_12_33_23_4193.jpg
/home/pi/Desktop/images/05112025/12/33/image_05112025_12_33_25_1615.jpg
/home/pi/Desktop/images/05112025/12/33/image_05112025_12_33_28_2764.jpg
/home/pi/Desktop/images/05112025/12/33/image_05112025_12_33_31_3614.jpg
/home/pi/Desktop/images/05112025/12/33/image_05112025_12_33_34_2656.jpg
/home/pi/Desktop/images/05112025/12/33/image_05112025_12_33_37_2606.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422970","1399422973","1399422972","1399422975","1399422971","1399422974"],"photo_ids_order":["1399422970","1399422971","1399422972","1399422973","1399422974","1399422975"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e5bda637f0ac89e94749d6062c194e98.jpg","text":"TemporaryFile(/tmp/multipartBody5407812366284080625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760323489,"filename":"image_05112025_12_33_23_4193.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ed30f31a6c2f2630f9894bbe526785e9.jpg","text":"TemporaryFile(/tmp/multipartBody8273723976504378692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760323489,"filename":"image_05112025_12_33_31_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/395027ac6e2689feffc9566d48fcf406.jpg","text":"TemporaryFile(/tmp/multipartBody7968804979806174473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760323489,"filename":"image_05112025_12_33_28_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e2612cb30ab07e67cc6e9cf118155d93.jpg","text":"TemporaryFile(/tmp/multipartBody5099932666374222592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760323489,"filename":"image_05112025_12_33_37_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/15/eeaa045ddb0feebedf2dd02e204254ee.jpg","text":"TemporaryFile(/tmp/multipartBody6900268962079292646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760323489,"filename":"image_05112025_12_33_25_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/15/d205fe4a3a5e5cf3317653a563503572.jpg","text":"TemporaryFile(/tmp/multipartBody2235042470471071182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760323489,"filename":"image_05112025_12_33_34_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422972","file1":"1399422971","file0":"1399422970","file4":"1399422974","file5":"1399422975","file3":"1399422973"},"map_files_photo_id_array":[{"photo_id":"1399422975","filename":"file5"},{"photo_id":"1399422972","filename":"file2"},{"photo_id":"1399422974","filename":"file4"},{"photo_id":"1399422971","filename":"file1"},{"photo_id":"1399422970","filename":"file0"},{"photo_id":"1399422973","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399422970":["hashtag1","hashtag2"]},{"1399422973":["hashtag1","hashtag2"]},{"1399422972":["hashtag1","hashtag2"]},{"1399422975":["hashtag1","hashtag2"]},{"1399422971":["hashtag1","hashtag2"]},{"1399422974":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399422970, 1399422973, 1399422972, 1399422975, 1399422971, 1399422974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77161717414856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 01:59:03.182542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/45/image_15122025_01_45_34_9754.jpg', '/home/pi/Desktop/images/15122025/01/45/image_15122025_01_45_44_10674.jpg', '/home/pi/Desktop/images/15122025/01/45/image_15122025_01_45_54_9719.jpg', '/home/pi/Desktop/images/15122025/01/45/image_15122025_01_46_04_9739.jpg', '/home/pi/Desktop/images/15122025/01/46/image_15122025_01_46_14_9786.jpg', '/home/pi/Desktop/images/15122025/01/46/image_15122025_01_46_24_10743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/45/image_15122025_01_45_34_9754.jpg
/home/pi/Desktop/images/15122025/01/45/image_15122025_01_45_44_10674.jpg
/home/pi/Desktop/images/15122025/01/45/image_15122025_01_45_54_9719.jpg
/home/pi/Desktop/images/15122025/01/45/image_15122025_01_46_04_9739.jpg
/home/pi/Desktop/images/15122025/01/46/image_15122025_01_46_14_9786.jpg
/home/pi/Desktop/images/15122025/01/46/image_15122025_01_46_24_10743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422977","1399422976","1399422979","1399422981","1399422978","1399422980"],"photo_ids_order":["1399422976","1399422977","1399422978","1399422979","1399422980","1399422981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8530b13491ee062615061ccefb46069c.jpg","text":"TemporaryFile(/tmp/multipartBody3941195356595483880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760403975,"filename":"image_15122025_01_45_44_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/15/5557a6062d22cec8587743d840cea1f1.jpg","text":"TemporaryFile(/tmp/multipartBody728984752038203866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760403975,"filename":"image_15122025_01_45_34_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0ec84edbff779e94d357b2f9221a50db.jpg","text":"TemporaryFile(/tmp/multipartBody3590091851541037708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760403975,"filename":"image_15122025_01_46_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/15/42468e54b233480a867b5baec88e39c7.jpg","text":"TemporaryFile(/tmp/multipartBody7298401530933674956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760403975,"filename":"image_15122025_01_46_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/15/5fcfb6b6e2400d6c281b01d1d1903d28.jpg","text":"TemporaryFile(/tmp/multipartBody3723909169932126252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760403975,"filename":"image_15122025_01_45_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/15/0767bc53032c19f0cf5bb42b946f03d4.jpg","text":"TemporaryFile(/tmp/multipartBody3830576362178018868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760403975,"filename":"image_15122025_01_46_14_9786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422978","file1":"1399422977","file0":"1399422976","file4":"1399422980","file5":"1399422981","file3":"1399422979"},"map_files_photo_id_array":[{"photo_id":"1399422981","filename":"file5"},{"photo_id":"1399422978","filename":"file2"},{"photo_id":"1399422980","filename":"file4"},{"photo_id":"1399422977","filename":"file1"},{"photo_id":"1399422976","filename":"file0"},{"photo_id":"1399422979","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399422977":["hashtag1","hashtag2"]},{"1399422976":["hashtag1","hashtag2"]},{"1399422979":["hashtag1","hashtag2"]},{"1399422981":["hashtag1","hashtag2"]},{"1399422978":["hashtag1","hashtag2"]},{"1399422980":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399422977, 1399422976, 1399422979, 1399422981, 1399422978, 1399422980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.620001792907715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 01:59:42.286542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/33/image_05112025_12_33_40_3633.jpg', '/home/pi/Desktop/images/05112025/12/33/image_05112025_12_33_43_2608.jpg', '/home/pi/Desktop/images/05112025/12/33/image_05112025_12_33_47_3634.jpg', '/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_07_3282.jpg', '/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_11_3702.jpg', '/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_14_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/33/image_05112025_12_33_40_3633.jpg
/home/pi/Desktop/images/05112025/12/33/image_05112025_12_33_43_2608.jpg
/home/pi/Desktop/images/05112025/12/33/image_05112025_12_33_47_3634.jpg
/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_07_3282.jpg
/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_11_3702.jpg
/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_14_2615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399422988","1399422982","1399422985","1399422987","1399422986","1399422989"],"photo_ids_order":["1399422982","1399422985","1399422986","1399422987","1399422988","1399422989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e5312ce30d072303a47ba9b7e5e3f1b1.jpg","text":"TemporaryFile(/tmp/multipartBody1675889629593786944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760443006,"filename":"image_05112025_12_35_11_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/15/28952125980f9fb6684b0542fd27fd2c.jpg","text":"TemporaryFile(/tmp/multipartBody6198191287046734410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760443006,"filename":"image_05112025_12_33_40_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/15/7cf4d9a25a09c9021cee03eeaf81b2fc.jpg","text":"TemporaryFile(/tmp/multipartBody371179602288655176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760443006,"filename":"image_05112025_12_33_43_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/30f727cb381639b54f86656261ffba50.jpg","text":"TemporaryFile(/tmp/multipartBody2653402509856446875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760443006,"filename":"image_05112025_12_35_07_3282.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a0235d930fd753405319d5e2d8b000e8.jpg","text":"TemporaryFile(/tmp/multipartBody713479658895473642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760443006,"filename":"image_05112025_12_33_47_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6d7738cc810510f56a4e1d297d31b2a8.jpg","text":"TemporaryFile(/tmp/multipartBody3073559852491510421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760443006,"filename":"image_05112025_12_35_14_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399422986","file1":"1399422985","file0":"1399422982","file4":"1399422988","file5":"1399422989","file3":"1399422987"},"map_files_photo_id_array":[{"photo_id":"1399422989","filename":"file5"},{"photo_id":"1399422986","filename":"file2"},{"photo_id":"1399422988","filename":"file4"},{"photo_id":"1399422985","filename":"file1"},{"photo_id":"1399422982","filename":"file0"},{"photo_id":"1399422987","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399422988":["hashtag1","hashtag2"]},{"1399422982":["hashtag1","hashtag2"]},{"1399422985":["hashtag1","hashtag2"]},{"1399422987":["hashtag1","hashtag2"]},{"1399422986":["hashtag1","hashtag2"]},{"1399422989":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399422988, 1399422982, 1399422985, 1399422987, 1399422986, 1399422989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.325424671173096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 02:00:22.665902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/46/image_15122025_01_46_34_9851.jpg', '/home/pi/Desktop/images/15122025/01/46/image_15122025_01_46_44_9772.jpg', '/home/pi/Desktop/images/15122025/01/46/image_15122025_01_46_54_9845.jpg', '/home/pi/Desktop/images/15122025/01/46/image_15122025_01_47_05_10716.jpg', '/home/pi/Desktop/images/15122025/01/47/image_15122025_01_47_14_9659.jpg', '/home/pi/Desktop/images/15122025/01/47/image_15122025_01_47_24_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/46/image_15122025_01_46_34_9851.jpg
/home/pi/Desktop/images/15122025/01/46/image_15122025_01_46_44_9772.jpg
/home/pi/Desktop/images/15122025/01/46/image_15122025_01_46_54_9845.jpg
/home/pi/Desktop/images/15122025/01/46/image_15122025_01_47_05_10716.jpg
/home/pi/Desktop/images/15122025/01/47/image_15122025_01_47_14_9659.jpg
/home/pi/Desktop/images/15122025/01/47/image_15122025_01_47_24_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":["1399423170","1399423245","1399423026","1399423097","1399423382","1399423313"],"photo_ids_order":["1399423026","1399423097","1399423170","1399423245","1399423313","1399423382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5fdc413b94abbd7b912279fc5af11015.jpg","text":"TemporaryFile(/tmp/multipartBody5384252188747499861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760483310,"filename":"image_15122025_01_46_54_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/093871acdd5ebae8b0852000faeb06a2.jpg","text":"TemporaryFile(/tmp/multipartBody5733516711688826210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760483310,"filename":"image_15122025_01_47_05_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/15/88073b7b79ab1836b0c51418c9b20757.jpg","text":"TemporaryFile(/tmp/multipartBody901536325016168353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760483310,"filename":"image_15122025_01_46_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/15/0a017ff461f904b812a5c29f631d31a8.jpg","text":"TemporaryFile(/tmp/multipartBody3178343031772213005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760483310,"filename":"image_15122025_01_46_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/15/5c4245203f14c2117b7d3a0ed83265a8.jpg","text":"TemporaryFile(/tmp/multipartBody1190776352777376811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760483310,"filename":"image_15122025_01_47_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/15/52a7c80a7d50d045304c67f5e694baa9.jpg","text":"TemporaryFile(/tmp/multipartBody6365590978623274377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760483310,"filename":"image_15122025_01_47_14_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399423170","file1":"1399423097","file0":"1399423026","file4":"1399423313","file5":"1399423382","file3":"1399423245"},"map_files_photo_id_array":[{"photo_id":"1399423382","filename":"file5"},{"photo_id":"1399423170","filename":"file2"},{"photo_id":"1399423313","filename":"file4"},{"photo_id":"1399423097","filename":"file1"},{"photo_id":"1399423026","filename":"file0"},{"photo_id":"1399423245","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399423170":["hashtag1","hashtag2"]},{"1399423245":["hashtag1","hashtag2"]},{"1399423026":["hashtag1","hashtag2"]},{"1399423097":["hashtag1","hashtag2"]},{"1399423382":["hashtag1","hashtag2"]},{"1399423313":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399423170, 1399423245, 1399423026, 1399423097, 1399423382, 1399423313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76299428939819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 02:01:02.494284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/47/image_15122025_01_47_34_9782.jpg', '/home/pi/Desktop/images/15122025/01/47/image_15122025_01_47_45_10769.jpg', '/home/pi/Desktop/images/15122025/01/47/image_15122025_01_47_54_9593.jpg', '/home/pi/Desktop/images/15122025/01/47/image_15122025_01_48_04_9703.jpg', '/home/pi/Desktop/images/15122025/01/48/image_15122025_01_48_15_10815.jpg', '/home/pi/Desktop/images/15122025/01/48/image_15122025_01_48_25_9821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/47/image_15122025_01_47_34_9782.jpg
/home/pi/Desktop/images/15122025/01/47/image_15122025_01_47_45_10769.jpg
/home/pi/Desktop/images/15122025/01/47/image_15122025_01_47_54_9593.jpg
/home/pi/Desktop/images/15122025/01/47/image_15122025_01_48_04_9703.jpg
/home/pi/Desktop/images/15122025/01/48/image_15122025_01_48_15_10815.jpg
/home/pi/Desktop/images/15122025/01/48/image_15122025_01_48_25_9821.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399423639","1399423708","1399423773","1399423839","1399423994","1399423911"],"photo_ids_order":["1399423639","1399423708","1399423773","1399423839","1399423911","1399423994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/45a7e5059386f2e1f0dd8472f51bab75.jpg","text":"TemporaryFile(/tmp/multipartBody637414348454820031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760523174,"filename":"image_15122025_01_47_34_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/15/9ee63ddbddfb3d213df7c896ab5fc05d.jpg","text":"TemporaryFile(/tmp/multipartBody5940788849658374307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760523174,"filename":"image_15122025_01_47_45_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/15/d226b691f6d21ca3647a1419910cfd46.jpg","text":"TemporaryFile(/tmp/multipartBody6023321810485351072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760523174,"filename":"image_15122025_01_47_54_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/86c4549ff1b170ee773fb11d6bd0694b.jpg","text":"TemporaryFile(/tmp/multipartBody4340648337190676855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760523174,"filename":"image_15122025_01_48_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/15/906c1178a48e2c06d92815ceb656abef.jpg","text":"TemporaryFile(/tmp/multipartBody4354874936446085007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760523174,"filename":"image_15122025_01_48_25_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a98a74fe9d869958d18d47b960db6e8f.jpg","text":"TemporaryFile(/tmp/multipartBody8332152118361623243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760523174,"filename":"image_15122025_01_48_15_10815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399423773","file1":"1399423708","file0":"1399423639","file4":"1399423911","file5":"1399423994","file3":"1399423839"},"map_files_photo_id_array":[{"photo_id":"1399423994","filename":"file5"},{"photo_id":"1399423773","filename":"file2"},{"photo_id":"1399423911","filename":"file4"},{"photo_id":"1399423708","filename":"file1"},{"photo_id":"1399423639","filename":"file0"},{"photo_id":"1399423839","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399423639":["hashtag1","hashtag2"]},{"1399423708":["hashtag1","hashtag2"]},{"1399423773":["hashtag1","hashtag2"]},{"1399423839":["hashtag1","hashtag2"]},{"1399423994":["hashtag1","hashtag2"]},{"1399423911":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399423639, 1399423708, 1399423773, 1399423839, 1399423994, 1399423911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66399812698364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 02:01:41.816105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_20_6314.jpg', '/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_22_1668.jpg', '/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_23_1536.jpg', '/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_26_2658.jpg', '/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_37_11112.jpg', '/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_38_1578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_20_6314.jpg
/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_22_1668.jpg
/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_23_1536.jpg
/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_26_2658.jpg
/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_37_11112.jpg
/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_38_1578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399424326","1399424215","1399424292","1399424253","1399424375","1399424443"],"photo_ids_order":["1399424215","1399424253","1399424292","1399424326","1399424375","1399424443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ff00090964ed600a4674bba198e32049.jpg","text":"TemporaryFile(/tmp/multipartBody670464237556803884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760562535,"filename":"image_05112025_12_35_26_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/15/5bbc6a4a642e3dfd1ad2c7d17cf77e55.jpg","text":"TemporaryFile(/tmp/multipartBody8767381424855768699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760562535,"filename":"image_05112025_12_35_20_6314.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/effc70be8af1805fbe2063be8bd76853.jpg","text":"TemporaryFile(/tmp/multipartBody5024241746896907445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760562535,"filename":"image_05112025_12_35_23_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/15/8efcb36ef722fcce02bf886e7d16f0be.jpg","text":"TemporaryFile(/tmp/multipartBody7309882725869904250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760562535,"filename":"image_05112025_12_35_22_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/15/7605becef22fa6bf76becd5f2b6a9e87.jpg","text":"TemporaryFile(/tmp/multipartBody6061067963598057920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760562535,"filename":"image_05112025_12_35_37_11112.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/eb515b1509dc555431c490ac2923136f.jpg","text":"TemporaryFile(/tmp/multipartBody6616380540798219768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760562535,"filename":"image_05112025_12_35_38_1578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399424292","file1":"1399424253","file0":"1399424215","file4":"1399424375","file5":"1399424443","file3":"1399424326"},"map_files_photo_id_array":[{"photo_id":"1399424443","filename":"file5"},{"photo_id":"1399424292","filename":"file2"},{"photo_id":"1399424375","filename":"file4"},{"photo_id":"1399424253","filename":"file1"},{"photo_id":"1399424215","filename":"file0"},{"photo_id":"1399424326","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399424326":["hashtag1","hashtag2"]},{"1399424215":["hashtag1","hashtag2"]},{"1399424292":["hashtag1","hashtag2"]},{"1399424253":["hashtag1","hashtag2"]},{"1399424375":["hashtag1","hashtag2"]},{"1399424443":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399424326, 1399424215, 1399424292, 1399424253, 1399424375, 1399424443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.607131481170654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 02:02:22.118555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/48/image_15122025_01_48_34_9688.jpg', '/home/pi/Desktop/images/15122025/01/48/image_15122025_01_48_44_9637.jpg', '/home/pi/Desktop/images/15122025/01/48/image_15122025_01_48_55_10812.jpg', '/home/pi/Desktop/images/15122025/01/48/image_15122025_01_49_04_9812.jpg', '/home/pi/Desktop/images/15122025/01/49/image_15122025_01_49_14_9730.jpg', '/home/pi/Desktop/images/15122025/01/49/image_15122025_01_49_24_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/48/image_15122025_01_48_34_9688.jpg
/home/pi/Desktop/images/15122025/01/48/image_15122025_01_48_44_9637.jpg
/home/pi/Desktop/images/15122025/01/48/image_15122025_01_48_55_10812.jpg
/home/pi/Desktop/images/15122025/01/48/image_15122025_01_49_04_9812.jpg
/home/pi/Desktop/images/15122025/01/49/image_15122025_01_49_14_9730.jpg
/home/pi/Desktop/images/15122025/01/49/image_15122025_01_49_24_9731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399424548","1399424580","1399424544","1399424588","1399424534","1399424584"],"photo_ids_order":["1399424534","1399424544","1399424548","1399424580","1399424584","1399424588"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/859b3260fe10779df0d05b2ed28c6379.jpg","text":"TemporaryFile(/tmp/multipartBody4395142243514425581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760602769,"filename":"image_15122025_01_48_55_10812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f13c8a6d97a67998b2ea7a0605be95b4.jpg","text":"TemporaryFile(/tmp/multipartBody6842807998692472643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760602769,"filename":"image_15122025_01_49_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/15/f5067286b351bd4d805b05df8398e8fe.jpg","text":"TemporaryFile(/tmp/multipartBody3819257273484045790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760602769,"filename":"image_15122025_01_48_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/15/95c512041c880985257e88cb3c26dd9c.jpg","text":"TemporaryFile(/tmp/multipartBody7841131647359369896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760602769,"filename":"image_15122025_01_49_24_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4af979cc466c0871e4b1ca4f708614ea.jpg","text":"TemporaryFile(/tmp/multipartBody1110392198886869080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760602769,"filename":"image_15122025_01_48_34_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/58d2d6879dbdb04745ca1a02d792cbf1.jpg","text":"TemporaryFile(/tmp/multipartBody4138056677994050352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760602769,"filename":"image_15122025_01_49_14_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399424548","file1":"1399424544","file0":"1399424534","file4":"1399424584","file5":"1399424588","file3":"1399424580"},"map_files_photo_id_array":[{"photo_id":"1399424588","filename":"file5"},{"photo_id":"1399424548","filename":"file2"},{"photo_id":"1399424584","filename":"file4"},{"photo_id":"1399424544","filename":"file1"},{"photo_id":"1399424534","filename":"file0"},{"photo_id":"1399424580","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399424548":["hashtag1","hashtag2"]},{"1399424580":["hashtag1","hashtag2"]},{"1399424544":["hashtag1","hashtag2"]},{"1399424588":["hashtag1","hashtag2"]},{"1399424534":["hashtag1","hashtag2"]},{"1399424584":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399424548, 1399424580, 1399424544, 1399424588, 1399424534, 1399424584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.00281476974487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 02:03:02.960328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/49/image_15122025_01_49_35_10694.jpg', '/home/pi/Desktop/images/15122025/01/49/image_15122025_01_49_44_9753.jpg', '/home/pi/Desktop/images/15122025/01/49/image_15122025_01_49_54_9620.jpg', '/home/pi/Desktop/images/15122025/01/49/image_15122025_01_50_04_9726.jpg', '/home/pi/Desktop/images/15122025/01/50/image_15122025_01_50_15_10936.jpg', '/home/pi/Desktop/images/15122025/01/50/image_15122025_01_50_24_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/49/image_15122025_01_49_35_10694.jpg
/home/pi/Desktop/images/15122025/01/49/image_15122025_01_49_44_9753.jpg
/home/pi/Desktop/images/15122025/01/49/image_15122025_01_49_54_9620.jpg
/home/pi/Desktop/images/15122025/01/49/image_15122025_01_50_04_9726.jpg
/home/pi/Desktop/images/15122025/01/50/image_15122025_01_50_15_10936.jpg
/home/pi/Desktop/images/15122025/01/50/image_15122025_01_50_24_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399424697","1399424598","1399424589","1399424808","1399424773","1399424590"],"photo_ids_order":["1399424589","1399424590","1399424598","1399424697","1399424773","1399424808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ac12f669f683f749f4fb9dab7fc0eba9.jpg","text":"TemporaryFile(/tmp/multipartBody6106793573855355763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760643644,"filename":"image_15122025_01_50_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/15/aae93eaebb1ee7eb56ad47fbfcfd2c4f.jpg","text":"TemporaryFile(/tmp/multipartBody7278492118269060047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760643644,"filename":"image_15122025_01_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/15/68444ab6a8510e9e743b64c7bea9acb1.jpg","text":"TemporaryFile(/tmp/multipartBody2100368872151725935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760643644,"filename":"image_15122025_01_49_35_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9a030f85fb88aa83605eaa971ea6ea9c.jpg","text":"TemporaryFile(/tmp/multipartBody437079277936782246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760643644,"filename":"image_15122025_01_50_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/15/c57a032fe476815841313c7edd5f0416.jpg","text":"TemporaryFile(/tmp/multipartBody3794662629168202703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760643644,"filename":"image_15122025_01_50_15_10936.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ca70471ed4a9bdc78d7010f4ada5e9c1.jpg","text":"TemporaryFile(/tmp/multipartBody5670823118811679860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760643644,"filename":"image_15122025_01_49_44_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399424598","file1":"1399424590","file0":"1399424589","file4":"1399424773","file5":"1399424808","file3":"1399424697"},"map_files_photo_id_array":[{"photo_id":"1399424808","filename":"file5"},{"photo_id":"1399424598","filename":"file2"},{"photo_id":"1399424773","filename":"file4"},{"photo_id":"1399424590","filename":"file1"},{"photo_id":"1399424589","filename":"file0"},{"photo_id":"1399424697","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399424697":["hashtag1","hashtag2"]},{"1399424598":["hashtag1","hashtag2"]},{"1399424589":["hashtag1","hashtag2"]},{"1399424808":["hashtag1","hashtag2"]},{"1399424773":["hashtag1","hashtag2"]},{"1399424590":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399424697, 1399424598, 1399424589, 1399424808, 1399424773, 1399424590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.27374291419983 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 02:04:03.257590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/50/image_15122025_01_50_34_9618.jpg', '/home/pi/Desktop/images/15122025/01/50/image_15122025_01_50_44_9905.jpg', '/home/pi/Desktop/images/15122025/01/50/image_15122025_01_50_55_10677.jpg', '/home/pi/Desktop/images/15122025/01/51/image_15122025_01_51_14_9685.jpg', '/home/pi/Desktop/images/15122025/01/51/image_15122025_01_51_44_9680.jpg', '/home/pi/Desktop/images/15122025/01/51/image_15122025_01_51_54_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/50/image_15122025_01_50_34_9618.jpg
/home/pi/Desktop/images/15122025/01/50/image_15122025_01_50_44_9905.jpg
/home/pi/Desktop/images/15122025/01/50/image_15122025_01_50_55_10677.jpg
/home/pi/Desktop/images/15122025/01/51/image_15122025_01_51_14_9685.jpg
/home/pi/Desktop/images/15122025/01/51/image_15122025_01_51_44_9680.jpg
/home/pi/Desktop/images/15122025/01/51/image_15122025_01_51_54_9654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399424994","1399424911","1399424964","1399424946","1399424910","1399424968"],"photo_ids_order":["1399424910","1399424911","1399424946","1399424964","1399424968","1399424994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/37dd3087341aac3782e9663a8f8b9987.jpg","text":"TemporaryFile(/tmp/multipartBody9122293201814740759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760703921,"filename":"image_15122025_01_51_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/15/3a66f8e7f83e87084653833f29cbac3f.jpg","text":"TemporaryFile(/tmp/multipartBody7735507615489847179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760703921,"filename":"image_15122025_01_50_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/15/0434900d6a7c8cae60be94d538eef762.jpg","text":"TemporaryFile(/tmp/multipartBody5251318316236111302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760703921,"filename":"image_15122025_01_51_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/15/5101dd274bf5277cb1771ca96e8f9c0e.jpg","text":"TemporaryFile(/tmp/multipartBody6186936793318047669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760703921,"filename":"image_15122025_01_50_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/15/7df3110494410a41a7dee6f2fd3bb750.jpg","text":"TemporaryFile(/tmp/multipartBody5869616396479120579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760703921,"filename":"image_15122025_01_50_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/15/1cbcc4dc5ae9d8a3c568080ef65f764d.jpg","text":"TemporaryFile(/tmp/multipartBody618292276880062554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760703921,"filename":"image_15122025_01_51_44_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399424946","file1":"1399424911","file0":"1399424910","file4":"1399424968","file5":"1399424994","file3":"1399424964"},"map_files_photo_id_array":[{"photo_id":"1399424994","filename":"file5"},{"photo_id":"1399424946","filename":"file2"},{"photo_id":"1399424968","filename":"file4"},{"photo_id":"1399424911","filename":"file1"},{"photo_id":"1399424910","filename":"file0"},{"photo_id":"1399424964","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399424994":["hashtag1","hashtag2"]},{"1399424911":["hashtag1","hashtag2"]},{"1399424964":["hashtag1","hashtag2"]},{"1399424946":["hashtag1","hashtag2"]},{"1399424910":["hashtag1","hashtag2"]},{"1399424968":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399424994, 1399424911, 1399424964, 1399424946, 1399424910, 1399424968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75900626182556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 02:04:42.608302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_40_1667.jpg', '/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_42_1715.jpg', '/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_44_1722.jpg', '/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_45_1742.jpg', '/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_47_1556.jpg', '/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_50_2722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_40_1667.jpg
/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_42_1715.jpg
/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_44_1722.jpg
/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_45_1742.jpg
/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_47_1556.jpg
/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_50_2722.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6070511341094971 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 02:05:02.520075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/51/image_15122025_01_52_04_10627.jpg', '/home/pi/Desktop/images/15122025/01/52/image_15122025_01_52_24_9997.jpg', '/home/pi/Desktop/images/15122025/01/52/image_15122025_01_52_34_9532.jpg', '/home/pi/Desktop/images/15122025/01/52/image_15122025_01_52_45_10772.jpg', '/home/pi/Desktop/images/15122025/01/52/image_15122025_01_52_54_9685.jpg', '/home/pi/Desktop/images/15122025/01/52/image_15122025_01_53_04_9931.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/51/image_15122025_01_52_04_10627.jpg
/home/pi/Desktop/images/15122025/01/52/image_15122025_01_52_24_9997.jpg
/home/pi/Desktop/images/15122025/01/52/image_15122025_01_52_34_9532.jpg
/home/pi/Desktop/images/15122025/01/52/image_15122025_01_52_45_10772.jpg
/home/pi/Desktop/images/15122025/01/52/image_15122025_01_52_54_9685.jpg
/home/pi/Desktop/images/15122025/01/52/image_15122025_01_53_04_9931.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425010","1399425007","1399425006","1399425009","1399425011","1399425008"],"photo_ids_order":["1399425006","1399425007","1399425008","1399425009","1399425010","1399425011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5a1c687304576818121d24dc73a552ea.jpg","text":"TemporaryFile(/tmp/multipartBody4019434322260354619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760763204,"filename":"image_15122025_01_52_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/15/2a0838103ec52393ca4c20dcafed82d9.jpg","text":"TemporaryFile(/tmp/multipartBody2281897937555154963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760763204,"filename":"image_15122025_01_52_24_9997.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4d4a039e088eec8ad86fad749ded0d9e.jpg","text":"TemporaryFile(/tmp/multipartBody4542066108759811193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760763204,"filename":"image_15122025_01_52_04_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1f404754ca47b9f76ef960676a8bdc8e.jpg","text":"TemporaryFile(/tmp/multipartBody686181357644534328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760763204,"filename":"image_15122025_01_52_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/15/df0fce482d6f70c22f497259d1b4fda2.jpg","text":"TemporaryFile(/tmp/multipartBody4421715049625406489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760763204,"filename":"image_15122025_01_53_04_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/15/7f5cbd95b4e18fa43532ab0ab57a3925.jpg","text":"TemporaryFile(/tmp/multipartBody2560282131408135509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760763204,"filename":"image_15122025_01_52_34_9532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425008","file1":"1399425007","file0":"1399425006","file4":"1399425010","file5":"1399425011","file3":"1399425009"},"map_files_photo_id_array":[{"photo_id":"1399425011","filename":"file5"},{"photo_id":"1399425008","filename":"file2"},{"photo_id":"1399425010","filename":"file4"},{"photo_id":"1399425007","filename":"file1"},{"photo_id":"1399425006","filename":"file0"},{"photo_id":"1399425009","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425010":["hashtag1","hashtag2"]},{"1399425007":["hashtag1","hashtag2"]},{"1399425006":["hashtag1","hashtag2"]},{"1399425009":["hashtag1","hashtag2"]},{"1399425011":["hashtag1","hashtag2"]},{"1399425008":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425010, 1399425007, 1399425006, 1399425009, 1399425011, 1399425008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22429871559143 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 02:05:41.861030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_40_1667.jpg', '/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_42_1715.jpg', '/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_44_1722.jpg', '/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_45_1742.jpg', '/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_47_1556.jpg', '/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_50_2722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_40_1667.jpg
/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_42_1715.jpg
/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_44_1722.jpg
/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_45_1742.jpg
/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_47_1556.jpg
/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_50_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":["1399425019","1399425012","1399425021","1399425015","1399425018","1399425020"],"photo_ids_order":["1399425012","1399425015","1399425018","1399425019","1399425020","1399425021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/975bc9c1d0e45f9582a5d8bb24f8a41d.jpg","text":"TemporaryFile(/tmp/multipartBody8484837050002586501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760802500,"filename":"image_05112025_12_35_45_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/15/2bb719684e8035c9e0f430ccd3e02c72.jpg","text":"TemporaryFile(/tmp/multipartBody8464900878751781617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760802500,"filename":"image_05112025_12_35_40_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/15/93def4aa506f3a97a97a45a1e147f50b.jpg","text":"TemporaryFile(/tmp/multipartBody9204701112164465706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760802500,"filename":"image_05112025_12_35_50_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a3104a81c486d3d01aef41b1c6d986fc.jpg","text":"TemporaryFile(/tmp/multipartBody9060425333875854801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760802500,"filename":"image_05112025_12_35_42_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/15/95577d0c6eece96237911651c2fae2e7.jpg","text":"TemporaryFile(/tmp/multipartBody3820923188470373937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760802500,"filename":"image_05112025_12_35_44_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/15/328218e78b4a41dfc1b03e6a1c8f3c23.jpg","text":"TemporaryFile(/tmp/multipartBody8135892743497431338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760802500,"filename":"image_05112025_12_35_47_1556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425018","file1":"1399425015","file0":"1399425012","file4":"1399425020","file5":"1399425021","file3":"1399425019"},"map_files_photo_id_array":[{"photo_id":"1399425021","filename":"file5"},{"photo_id":"1399425018","filename":"file2"},{"photo_id":"1399425020","filename":"file4"},{"photo_id":"1399425015","filename":"file1"},{"photo_id":"1399425012","filename":"file0"},{"photo_id":"1399425019","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399425019":["hashtag1","hashtag2"]},{"1399425012":["hashtag1","hashtag2"]},{"1399425021":["hashtag1","hashtag2"]},{"1399425015":["hashtag1","hashtag2"]},{"1399425018":["hashtag1","hashtag2"]},{"1399425020":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399425019, 1399425012, 1399425021, 1399425015, 1399425018, 1399425020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.952152967453 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 02:06:22.117938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/53/image_15122025_01_53_14_9606.jpg', '/home/pi/Desktop/images/15122025/01/53/image_15122025_01_53_25_10777.jpg', '/home/pi/Desktop/images/15122025/01/53/image_15122025_01_53_34_9698.jpg', '/home/pi/Desktop/images/15122025/01/53/image_15122025_01_53_44_9576.jpg', '/home/pi/Desktop/images/15122025/01/53/image_15122025_01_53_55_10732.jpg', '/home/pi/Desktop/images/15122025/01/53/image_15122025_01_54_04_9906.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/53/image_15122025_01_53_14_9606.jpg
/home/pi/Desktop/images/15122025/01/53/image_15122025_01_53_25_10777.jpg
/home/pi/Desktop/images/15122025/01/53/image_15122025_01_53_34_9698.jpg
/home/pi/Desktop/images/15122025/01/53/image_15122025_01_53_44_9576.jpg
/home/pi/Desktop/images/15122025/01/53/image_15122025_01_53_55_10732.jpg
/home/pi/Desktop/images/15122025/01/53/image_15122025_01_54_04_9906.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425025","1399425024","1399425027","1399425023","1399425026","1399425022"],"photo_ids_order":["1399425022","1399425023","1399425024","1399425025","1399425026","1399425027"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2760a4a8d81b551028b677452639fdf3.jpg","text":"TemporaryFile(/tmp/multipartBody2262110909692048689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760842775,"filename":"image_15122025_01_53_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/15/6742cc88fdf1f3f13d7a7eb14d6cd621.jpg","text":"TemporaryFile(/tmp/multipartBody5105755601779566814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760842775,"filename":"image_15122025_01_53_34_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/02f38ff3ac2b78f6a10439a11a403294.jpg","text":"TemporaryFile(/tmp/multipartBody1631453506656695544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760842775,"filename":"image_15122025_01_54_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/15/0947484c3ec77dc9c96a52eb2bb21333.jpg","text":"TemporaryFile(/tmp/multipartBody3255737106489595576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760842775,"filename":"image_15122025_01_53_25_10777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5e16f55f8391a2588dc0e2dda748cfb1.jpg","text":"TemporaryFile(/tmp/multipartBody3020361942114201441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760842775,"filename":"image_15122025_01_53_55_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/040f9d8d3d8e1f50448bf35940c6ab41.jpg","text":"TemporaryFile(/tmp/multipartBody4679482617641072479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760842775,"filename":"image_15122025_01_53_14_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425024","file1":"1399425023","file0":"1399425022","file4":"1399425026","file5":"1399425027","file3":"1399425025"},"map_files_photo_id_array":[{"photo_id":"1399425027","filename":"file5"},{"photo_id":"1399425024","filename":"file2"},{"photo_id":"1399425026","filename":"file4"},{"photo_id":"1399425023","filename":"file1"},{"photo_id":"1399425022","filename":"file0"},{"photo_id":"1399425025","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425025":["hashtag1","hashtag2"]},{"1399425024":["hashtag1","hashtag2"]},{"1399425027":["hashtag1","hashtag2"]},{"1399425023":["hashtag1","hashtag2"]},{"1399425026":["hashtag1","hashtag2"]},{"1399425022":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425025, 1399425024, 1399425027, 1399425023, 1399425026, 1399425022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.047739028930664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 02:07:03.192500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/54/image_15122025_01_54_14_9817.jpg', '/home/pi/Desktop/images/15122025/01/54/image_15122025_01_54_24_9679.jpg', '/home/pi/Desktop/images/15122025/01/54/image_15122025_01_54_35_10742.jpg', '/home/pi/Desktop/images/15122025/01/54/image_15122025_01_54_44_9660.jpg', '/home/pi/Desktop/images/15122025/01/54/image_15122025_01_54_54_9716.jpg', '/home/pi/Desktop/images/15122025/01/54/image_15122025_01_55_04_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/54/image_15122025_01_54_14_9817.jpg
/home/pi/Desktop/images/15122025/01/54/image_15122025_01_54_24_9679.jpg
/home/pi/Desktop/images/15122025/01/54/image_15122025_01_54_35_10742.jpg
/home/pi/Desktop/images/15122025/01/54/image_15122025_01_54_44_9660.jpg
/home/pi/Desktop/images/15122025/01/54/image_15122025_01_54_54_9716.jpg
/home/pi/Desktop/images/15122025/01/54/image_15122025_01_55_04_9657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425031","1399425030","1399425033","1399425032","1399425029","1399425028"],"photo_ids_order":["1399425028","1399425029","1399425030","1399425031","1399425032","1399425033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4436f64117076f752401c9c668413629.jpg","text":"TemporaryFile(/tmp/multipartBody4826834136202118824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760883868,"filename":"image_15122025_01_54_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/15/42c6f9309aa09746b9a1777a41836b52.jpg","text":"TemporaryFile(/tmp/multipartBody6564271248972064108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760883868,"filename":"image_15122025_01_54_35_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b004c3de9b0bed2132bd1aa8f76a0bfe.jpg","text":"TemporaryFile(/tmp/multipartBody5745018520321276006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760883868,"filename":"image_15122025_01_55_04_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/93092f31e6076acd5379a3726d18e9be.jpg","text":"TemporaryFile(/tmp/multipartBody5001952099141299453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760883868,"filename":"image_15122025_01_54_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/15/c0b8035de95e6a61fc0158d473d140d5.jpg","text":"TemporaryFile(/tmp/multipartBody7341503524500034701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760883868,"filename":"image_15122025_01_54_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/15/c0484c5b12eaeefdbc7346af031d79b6.jpg","text":"TemporaryFile(/tmp/multipartBody7811779400831029864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760883868,"filename":"image_15122025_01_54_14_9817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425030","file1":"1399425029","file0":"1399425028","file4":"1399425032","file5":"1399425033","file3":"1399425031"},"map_files_photo_id_array":[{"photo_id":"1399425033","filename":"file5"},{"photo_id":"1399425030","filename":"file2"},{"photo_id":"1399425032","filename":"file4"},{"photo_id":"1399425029","filename":"file1"},{"photo_id":"1399425028","filename":"file0"},{"photo_id":"1399425031","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425031":["hashtag1","hashtag2"]},{"1399425030":["hashtag1","hashtag2"]},{"1399425033":["hashtag1","hashtag2"]},{"1399425032":["hashtag1","hashtag2"]},{"1399425029":["hashtag1","hashtag2"]},{"1399425028":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425031, 1399425030, 1399425033, 1399425032, 1399425029, 1399425028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04725670814514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 02:07:42.402049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_52_2724.jpg', '/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_55_2661.jpg', '/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_59_3697.jpg', '/home/pi/Desktop/images/05112025/12/36/image_05112025_12_36_01_2866.jpg', '/home/pi/Desktop/images/05112025/12/36/image_05112025_12_36_05_3028.jpg', '/home/pi/Desktop/images/05112025/12/36/image_05112025_12_36_07_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_52_2724.jpg
/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_55_2661.jpg
/home/pi/Desktop/images/05112025/12/35/image_05112025_12_35_59_3697.jpg
/home/pi/Desktop/images/05112025/12/36/image_05112025_12_36_01_2866.jpg
/home/pi/Desktop/images/05112025/12/36/image_05112025_12_36_05_3028.jpg
/home/pi/Desktop/images/05112025/12/36/image_05112025_12_36_07_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":["1399425039","1399425036","1399425035","1399425038","1399425034","1399425037"],"photo_ids_order":["1399425034","1399425035","1399425036","1399425037","1399425038","1399425039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e5dd6d582c200cf10985c48c5438126f.jpg","text":"TemporaryFile(/tmp/multipartBody2244661676776634406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760923118,"filename":"image_05112025_12_36_07_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8f1c82e83038cc6e7e179042d9e56a7a.jpg","text":"TemporaryFile(/tmp/multipartBody7075016152963500223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760923118,"filename":"image_05112025_12_35_59_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/15/8a3e15b9ed98ff30037ed6f8abe227fa.jpg","text":"TemporaryFile(/tmp/multipartBody3627242824011427744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760923118,"filename":"image_05112025_12_35_55_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a0d311777b636748317c2f39087d69d5.jpg","text":"TemporaryFile(/tmp/multipartBody1567837824743144749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760923118,"filename":"image_05112025_12_36_05_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/15/b307ec27491a7fc10d5ee9cf675161ca.jpg","text":"TemporaryFile(/tmp/multipartBody7208956645252928327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760923118,"filename":"image_05112025_12_35_52_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c72290981d08016c042ac50b07a76783.jpg","text":"TemporaryFile(/tmp/multipartBody2480702151243077878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760923118,"filename":"image_05112025_12_36_01_2866.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425036","file1":"1399425035","file0":"1399425034","file4":"1399425038","file5":"1399425039","file3":"1399425037"},"map_files_photo_id_array":[{"photo_id":"1399425039","filename":"file5"},{"photo_id":"1399425036","filename":"file2"},{"photo_id":"1399425038","filename":"file4"},{"photo_id":"1399425035","filename":"file1"},{"photo_id":"1399425034","filename":"file0"},{"photo_id":"1399425037","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399425039":["hashtag1","hashtag2"]},{"1399425036":["hashtag1","hashtag2"]},{"1399425035":["hashtag1","hashtag2"]},{"1399425038":["hashtag1","hashtag2"]},{"1399425034":["hashtag1","hashtag2"]},{"1399425037":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399425039, 1399425036, 1399425035, 1399425038, 1399425034, 1399425037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51060199737549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 02:08:22.815871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/55/image_15122025_01_55_24_9706.jpg', '/home/pi/Desktop/images/15122025/01/55/image_15122025_01_55_34_9619.jpg', '/home/pi/Desktop/images/15122025/01/55/image_15122025_01_55_44_10683.jpg', '/home/pi/Desktop/images/15122025/01/55/image_15122025_01_55_54_9660.jpg', '/home/pi/Desktop/images/15122025/01/55/image_15122025_01_56_04_9734.jpg', '/home/pi/Desktop/images/15122025/01/56/image_15122025_01_56_15_10688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/55/image_15122025_01_55_24_9706.jpg
/home/pi/Desktop/images/15122025/01/55/image_15122025_01_55_34_9619.jpg
/home/pi/Desktop/images/15122025/01/55/image_15122025_01_55_44_10683.jpg
/home/pi/Desktop/images/15122025/01/55/image_15122025_01_55_54_9660.jpg
/home/pi/Desktop/images/15122025/01/55/image_15122025_01_56_04_9734.jpg
/home/pi/Desktop/images/15122025/01/56/image_15122025_01_56_15_10688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425042","1399425041","1399425044","1399425047","1399425040","1399425043"],"photo_ids_order":["1399425040","1399425041","1399425042","1399425043","1399425044","1399425047"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c0b641fd2e19d33ffffd930e128877eb.jpg","text":"TemporaryFile(/tmp/multipartBody5033446617047049166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760963436,"filename":"image_15122025_01_55_44_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/15/db403d75fd17efeb8d8aa7e60930f59c.jpg","text":"TemporaryFile(/tmp/multipartBody730494900278515166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760963436,"filename":"image_15122025_01_55_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/15/535b72671ead8fd960e46ecb3aa1ac04.jpg","text":"TemporaryFile(/tmp/multipartBody8094000107136429567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760963436,"filename":"image_15122025_01_56_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/15/09a223003408c7f461947b0b922eefb2.jpg","text":"TemporaryFile(/tmp/multipartBody1014026359958360714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760963436,"filename":"image_15122025_01_56_15_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7d19ef8af8bf8f7420df149163a2a238.jpg","text":"TemporaryFile(/tmp/multipartBody9191175107171162243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760963436,"filename":"image_15122025_01_55_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/15/38dd9853dcc5102d20ce99dfe3bd8121.jpg","text":"TemporaryFile(/tmp/multipartBody9124269948900101046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765760963436,"filename":"image_15122025_01_55_54_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425042","file1":"1399425041","file0":"1399425040","file4":"1399425044","file5":"1399425047","file3":"1399425043"},"map_files_photo_id_array":[{"photo_id":"1399425047","filename":"file5"},{"photo_id":"1399425042","filename":"file2"},{"photo_id":"1399425044","filename":"file4"},{"photo_id":"1399425041","filename":"file1"},{"photo_id":"1399425040","filename":"file0"},{"photo_id":"1399425043","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425042":["hashtag1","hashtag2"]},{"1399425041":["hashtag1","hashtag2"]},{"1399425044":["hashtag1","hashtag2"]},{"1399425047":["hashtag1","hashtag2"]},{"1399425040":["hashtag1","hashtag2"]},{"1399425043":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425042, 1399425041, 1399425044, 1399425047, 1399425040, 1399425043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56977868080139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 02:09:02.696642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/56/image_15122025_01_56_24_9683.jpg', '/home/pi/Desktop/images/15122025/01/56/image_15122025_01_56_34_9546.jpg', '/home/pi/Desktop/images/15122025/01/56/image_15122025_01_56_44_10671.jpg', '/home/pi/Desktop/images/15122025/01/56/image_15122025_01_56_54_9658.jpg', '/home/pi/Desktop/images/15122025/01/56/image_15122025_01_57_05_10603.jpg', '/home/pi/Desktop/images/15122025/01/57/image_15122025_01_57_14_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/56/image_15122025_01_56_24_9683.jpg
/home/pi/Desktop/images/15122025/01/56/image_15122025_01_56_34_9546.jpg
/home/pi/Desktop/images/15122025/01/56/image_15122025_01_56_44_10671.jpg
/home/pi/Desktop/images/15122025/01/56/image_15122025_01_56_54_9658.jpg
/home/pi/Desktop/images/15122025/01/56/image_15122025_01_57_05_10603.jpg
/home/pi/Desktop/images/15122025/01/57/image_15122025_01_57_14_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":["1399425051","1399425048","1399425053","1399425050","1399425052","1399425049"],"photo_ids_order":["1399425048","1399425049","1399425050","1399425051","1399425052","1399425053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c7e1414b7df2ee27a4926bf2d1d72a6c.jpg","text":"TemporaryFile(/tmp/multipartBody5342529226628210831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761003517,"filename":"image_15122025_01_56_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/15/cd8a355d0c9ee7344ac557ab4a3f2785.jpg","text":"TemporaryFile(/tmp/multipartBody4633588698858708656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761003517,"filename":"image_15122025_01_56_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/15/d90c501106f64331946aeb2ee9f90f52.jpg","text":"TemporaryFile(/tmp/multipartBody8271657918170777805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761003517,"filename":"image_15122025_01_57_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/15/a2fb647676284a38c63f52843433a2c5.jpg","text":"TemporaryFile(/tmp/multipartBody5734835736653650691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761003517,"filename":"image_15122025_01_56_44_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/92ffaff1070e64fdbc5068ca7835e123.jpg","text":"TemporaryFile(/tmp/multipartBody6977137236987125609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761003517,"filename":"image_15122025_01_57_05_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/14999dfb980b2a30d9a18f0d751f3f51.jpg","text":"TemporaryFile(/tmp/multipartBody2110423767010459998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761003517,"filename":"image_15122025_01_56_34_9546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425050","file1":"1399425049","file0":"1399425048","file4":"1399425052","file5":"1399425053","file3":"1399425051"},"map_files_photo_id_array":[{"photo_id":"1399425053","filename":"file5"},{"photo_id":"1399425050","filename":"file2"},{"photo_id":"1399425052","filename":"file4"},{"photo_id":"1399425049","filename":"file1"},{"photo_id":"1399425048","filename":"file0"},{"photo_id":"1399425051","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425051":["hashtag1","hashtag2"]},{"1399425048":["hashtag1","hashtag2"]},{"1399425053":["hashtag1","hashtag2"]},{"1399425050":["hashtag1","hashtag2"]},{"1399425052":["hashtag1","hashtag2"]},{"1399425049":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425051, 1399425048, 1399425053, 1399425050, 1399425052, 1399425049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.052626848220825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 02:09:41.850621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/36/image_05112025_12_36_10_2850.jpg', '/home/pi/Desktop/images/05112025/12/36/image_05112025_12_36_20_10000.jpg', '/home/pi/Desktop/images/05112025/12/36/image_05112025_12_36_22_1710.jpg', '/home/pi/Desktop/images/05112025/12/36/image_05112025_12_36_23_1656.jpg', '/home/pi/Desktop/images/05112025/12/37/image_05112025_12_37_07_43204.jpg', '/home/pi/Desktop/images/05112025/12/37/image_05112025_12_37_08_1632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/36/image_05112025_12_36_10_2850.jpg
/home/pi/Desktop/images/05112025/12/36/image_05112025_12_36_20_10000.jpg
/home/pi/Desktop/images/05112025/12/36/image_05112025_12_36_22_1710.jpg
/home/pi/Desktop/images/05112025/12/36/image_05112025_12_36_23_1656.jpg
/home/pi/Desktop/images/05112025/12/37/image_05112025_12_37_07_43204.jpg
/home/pi/Desktop/images/05112025/12/37/image_05112025_12_37_08_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":["1399425057","1399425054","1399425056","1399425059","1399425058","1399425055"],"photo_ids_order":["1399425054","1399425055","1399425056","1399425057","1399425058","1399425059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5aa17ab07044d9502396cce19c6359f0.jpg","text":"TemporaryFile(/tmp/multipartBody402633971709915535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761042580,"filename":"image_05112025_12_36_23_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/15/63e7cced213d1d8591853e7876aeedce.jpg","text":"TemporaryFile(/tmp/multipartBody4752322167387053892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761042580,"filename":"image_05112025_12_36_10_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/15/14c2c7ee2575df314743545118a55a23.jpg","text":"TemporaryFile(/tmp/multipartBody4928245359281086463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761042580,"filename":"image_05112025_12_36_22_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/15/0b14855101fef50f3fe9182091dc425b.jpg","text":"TemporaryFile(/tmp/multipartBody1379550348273155837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761042580,"filename":"image_05112025_12_37_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/15/583343b73b3a0bddaa8d264fcb209767.jpg","text":"TemporaryFile(/tmp/multipartBody8875258825807833563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761042580,"filename":"image_05112025_12_37_07_43204.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c96b35d0fd032e4643caca7c4733dbff.jpg","text":"TemporaryFile(/tmp/multipartBody1681114928563101709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761042580,"filename":"image_05112025_12_36_20_10000.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425056","file1":"1399425055","file0":"1399425054","file4":"1399425058","file5":"1399425059","file3":"1399425057"},"map_files_photo_id_array":[{"photo_id":"1399425059","filename":"file5"},{"photo_id":"1399425056","filename":"file2"},{"photo_id":"1399425058","filename":"file4"},{"photo_id":"1399425055","filename":"file1"},{"photo_id":"1399425054","filename":"file0"},{"photo_id":"1399425057","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399425057":["hashtag1","hashtag2"]},{"1399425054":["hashtag1","hashtag2"]},{"1399425056":["hashtag1","hashtag2"]},{"1399425059":["hashtag1","hashtag2"]},{"1399425058":["hashtag1","hashtag2"]},{"1399425055":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399425057, 1399425054, 1399425056, 1399425059, 1399425058, 1399425055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63404726982117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 02:10:22.110599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/57/image_15122025_01_57_24_9584.jpg', '/home/pi/Desktop/images/15122025/01/57/image_15122025_01_57_34_9735.jpg', '/home/pi/Desktop/images/15122025/01/57/image_15122025_01_57_44_10703.jpg', '/home/pi/Desktop/images/15122025/01/57/image_15122025_01_57_54_9874.jpg', '/home/pi/Desktop/images/15122025/01/57/image_15122025_01_58_04_9767.jpg', '/home/pi/Desktop/images/15122025/01/58/image_15122025_01_58_14_9818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/57/image_15122025_01_57_24_9584.jpg
/home/pi/Desktop/images/15122025/01/57/image_15122025_01_57_34_9735.jpg
/home/pi/Desktop/images/15122025/01/57/image_15122025_01_57_44_10703.jpg
/home/pi/Desktop/images/15122025/01/57/image_15122025_01_57_54_9874.jpg
/home/pi/Desktop/images/15122025/01/57/image_15122025_01_58_04_9767.jpg
/home/pi/Desktop/images/15122025/01/58/image_15122025_01_58_14_9818.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425060","1399425063","1399425062","1399425065","1399425064","1399425061"],"photo_ids_order":["1399425060","1399425061","1399425062","1399425063","1399425064","1399425065"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e294d70e3198b4a2dd9a51ccf890178f.jpg","text":"TemporaryFile(/tmp/multipartBody1901703070147123591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761082731,"filename":"image_15122025_01_57_24_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/15/827c820900107e85ef4a79b260dc016f.jpg","text":"TemporaryFile(/tmp/multipartBody1820285615415954354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761082731,"filename":"image_15122025_01_57_54_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/15/0f7a87dc473db165eb8f60e839eace1f.jpg","text":"TemporaryFile(/tmp/multipartBody617673378465527383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761082731,"filename":"image_15122025_01_57_44_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/15/f46993583581efb3c79f415317c8c279.jpg","text":"TemporaryFile(/tmp/multipartBody1594704212892138656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761082731,"filename":"image_15122025_01_58_14_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1e5a8a0a7aac19f585d006c37a622a98.jpg","text":"TemporaryFile(/tmp/multipartBody4268092118816104906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761082731,"filename":"image_15122025_01_58_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/15/afe233e28acc1c6bfa15443861644070.jpg","text":"TemporaryFile(/tmp/multipartBody4542402833991487960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761082731,"filename":"image_15122025_01_57_34_9735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425062","file1":"1399425061","file0":"1399425060","file4":"1399425064","file5":"1399425065","file3":"1399425063"},"map_files_photo_id_array":[{"photo_id":"1399425065","filename":"file5"},{"photo_id":"1399425062","filename":"file2"},{"photo_id":"1399425064","filename":"file4"},{"photo_id":"1399425061","filename":"file1"},{"photo_id":"1399425060","filename":"file0"},{"photo_id":"1399425063","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425060":["hashtag1","hashtag2"]},{"1399425063":["hashtag1","hashtag2"]},{"1399425062":["hashtag1","hashtag2"]},{"1399425065":["hashtag1","hashtag2"]},{"1399425064":["hashtag1","hashtag2"]},{"1399425061":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425060, 1399425063, 1399425062, 1399425065, 1399425064, 1399425061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.546635389328 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 02:11:03.023824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/58/image_15122025_01_58_25_10717.jpg', '/home/pi/Desktop/images/15122025/01/58/image_15122025_01_58_34_9752.jpg', '/home/pi/Desktop/images/15122025/01/58/image_15122025_01_58_44_9576.jpg', '/home/pi/Desktop/images/15122025/01/58/image_15122025_01_58_54_9899.jpg', '/home/pi/Desktop/images/15122025/01/58/image_15122025_01_59_04_10537.jpg', '/home/pi/Desktop/images/15122025/01/59/image_15122025_01_59_14_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/58/image_15122025_01_58_25_10717.jpg
/home/pi/Desktop/images/15122025/01/58/image_15122025_01_58_34_9752.jpg
/home/pi/Desktop/images/15122025/01/58/image_15122025_01_58_44_9576.jpg
/home/pi/Desktop/images/15122025/01/58/image_15122025_01_58_54_9899.jpg
/home/pi/Desktop/images/15122025/01/58/image_15122025_01_59_04_10537.jpg
/home/pi/Desktop/images/15122025/01/59/image_15122025_01_59_14_9687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425069","1399425066","1399425071","1399425068","1399425070","1399425067"],"photo_ids_order":["1399425066","1399425067","1399425068","1399425069","1399425070","1399425071"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/794289049f98a88330f4bfafeadb4388.jpg","text":"TemporaryFile(/tmp/multipartBody2439272763286160511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761123717,"filename":"image_15122025_01_58_54_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/15/8eb4583e5ecb8aa9676100bb129c6c20.jpg","text":"TemporaryFile(/tmp/multipartBody5437651299609995794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761123717,"filename":"image_15122025_01_58_25_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c9c721609974264cda63da74ca4ac801.jpg","text":"TemporaryFile(/tmp/multipartBody3123430072429374273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761123717,"filename":"image_15122025_01_59_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/15/4bbaa84fc1ea88164400e77a52078fe7.jpg","text":"TemporaryFile(/tmp/multipartBody494432732312846683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761123717,"filename":"image_15122025_01_58_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/15/2496287890422e274fd80d9908e0f124.jpg","text":"TemporaryFile(/tmp/multipartBody7999307408119636904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761123717,"filename":"image_15122025_01_59_04_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/15/b56109beea6d87d942964b79c6bd6032.jpg","text":"TemporaryFile(/tmp/multipartBody5015400403140976512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761123717,"filename":"image_15122025_01_58_34_9752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425068","file1":"1399425067","file0":"1399425066","file4":"1399425070","file5":"1399425071","file3":"1399425069"},"map_files_photo_id_array":[{"photo_id":"1399425071","filename":"file5"},{"photo_id":"1399425068","filename":"file2"},{"photo_id":"1399425070","filename":"file4"},{"photo_id":"1399425067","filename":"file1"},{"photo_id":"1399425066","filename":"file0"},{"photo_id":"1399425069","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425069":["hashtag1","hashtag2"]},{"1399425066":["hashtag1","hashtag2"]},{"1399425071":["hashtag1","hashtag2"]},{"1399425068":["hashtag1","hashtag2"]},{"1399425070":["hashtag1","hashtag2"]},{"1399425067":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425069, 1399425066, 1399425071, 1399425068, 1399425070, 1399425067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62034893035889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 02:11:42.392714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/37/image_05112025_12_37_21_13063.jpg', '/home/pi/Desktop/images/05112025/12/37/image_05112025_12_37_23_1709.jpg', '/home/pi/Desktop/images/05112025/12/37/image_05112025_12_37_25_1638.jpg', '/home/pi/Desktop/images/05112025/12/37/image_05112025_12_37_26_1634.jpg', '/home/pi/Desktop/images/05112025/12/38/image_05112025_12_38_01_34949.jpg', '/home/pi/Desktop/images/05112025/12/38/image_05112025_12_38_03_1619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/37/image_05112025_12_37_21_13063.jpg
/home/pi/Desktop/images/05112025/12/37/image_05112025_12_37_23_1709.jpg
/home/pi/Desktop/images/05112025/12/37/image_05112025_12_37_25_1638.jpg
/home/pi/Desktop/images/05112025/12/37/image_05112025_12_37_26_1634.jpg
/home/pi/Desktop/images/05112025/12/38/image_05112025_12_38_01_34949.jpg
/home/pi/Desktop/images/05112025/12/38/image_05112025_12_38_03_1619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425081","1399425072","1399425080","1399425083","1399425082","1399425073"],"photo_ids_order":["1399425072","1399425073","1399425080","1399425081","1399425082","1399425083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/513fa004ef44c7893be22a1c5225198b.jpg","text":"TemporaryFile(/tmp/multipartBody2864561563535835553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761163110,"filename":"image_05112025_12_37_26_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c1f6351609150f943a4b8b7d4cb601a5.jpg","text":"TemporaryFile(/tmp/multipartBody1669494806176458281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761163110,"filename":"image_05112025_12_37_21_13063.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a39cfd1af81ca1c3a58b6aeb5bdcc3ff.jpg","text":"TemporaryFile(/tmp/multipartBody7526550757789400181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761163110,"filename":"image_05112025_12_37_25_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/15/f82b834ecf375f282e180d56f934285c.jpg","text":"TemporaryFile(/tmp/multipartBody2885861737371806228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761163110,"filename":"image_05112025_12_38_03_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/15/0dbee50257065f2beea7e90fc6604293.jpg","text":"TemporaryFile(/tmp/multipartBody7771116092850728869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761163110,"filename":"image_05112025_12_38_01_34949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/65362b9566a1256917ce43ba7b8ca435.jpg","text":"TemporaryFile(/tmp/multipartBody5306234592172761755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761163110,"filename":"image_05112025_12_37_23_1709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425080","file1":"1399425073","file0":"1399425072","file4":"1399425082","file5":"1399425083","file3":"1399425081"},"map_files_photo_id_array":[{"photo_id":"1399425083","filename":"file5"},{"photo_id":"1399425080","filename":"file2"},{"photo_id":"1399425082","filename":"file4"},{"photo_id":"1399425073","filename":"file1"},{"photo_id":"1399425072","filename":"file0"},{"photo_id":"1399425081","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399425081":["hashtag1","hashtag2"]},{"1399425072":["hashtag1","hashtag2"]},{"1399425080":["hashtag1","hashtag2"]},{"1399425083":["hashtag1","hashtag2"]},{"1399425082":["hashtag1","hashtag2"]},{"1399425073":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399425081, 1399425072, 1399425080, 1399425083, 1399425082, 1399425073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.416292667388916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 02:12:22.663609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/01/59/image_15122025_01_59_24_9820.jpg', '/home/pi/Desktop/images/15122025/01/59/image_15122025_01_59_35_10732.jpg', '/home/pi/Desktop/images/15122025/01/59/image_15122025_01_59_44_9620.jpg', '/home/pi/Desktop/images/15122025/01/59/image_15122025_01_59_54_9779.jpg', '/home/pi/Desktop/images/15122025/02/00/image_15122025_02_00_14_9698.jpg', '/home/pi/Desktop/images/15122025/02/00/image_15122025_02_00_24_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/01/59/image_15122025_01_59_24_9820.jpg
/home/pi/Desktop/images/15122025/01/59/image_15122025_01_59_35_10732.jpg
/home/pi/Desktop/images/15122025/01/59/image_15122025_01_59_44_9620.jpg
/home/pi/Desktop/images/15122025/01/59/image_15122025_01_59_54_9779.jpg
/home/pi/Desktop/images/15122025/02/00/image_15122025_02_00_14_9698.jpg
/home/pi/Desktop/images/15122025/02/00/image_15122025_02_00_24_9724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425087","1399425084","1399425086","1399425089","1399425085","1399425088"],"photo_ids_order":["1399425084","1399425085","1399425086","1399425087","1399425088","1399425089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f06a46adb911a042cea22e9fc328d351.jpg","text":"TemporaryFile(/tmp/multipartBody4430295846807567272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761203275,"filename":"image_15122025_01_59_54_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/de9ae305c78fb05abe97b152add5709a.jpg","text":"TemporaryFile(/tmp/multipartBody9001362995296012701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761203275,"filename":"image_15122025_01_59_24_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d04e14aacc3ed2bf4af43144a76369f1.jpg","text":"TemporaryFile(/tmp/multipartBody7993154172347772035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761203275,"filename":"image_15122025_01_59_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/15/d4909c102f8b7f7d40b5f5ddf0041d93.jpg","text":"TemporaryFile(/tmp/multipartBody2723736007772665212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761203275,"filename":"image_15122025_02_00_24_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6a90f58ccdee5d7476791d9c724cabfc.jpg","text":"TemporaryFile(/tmp/multipartBody1699483573105709787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761203275,"filename":"image_15122025_01_59_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/15/8f315633d46e6f282b6f69d4de5f07c7.jpg","text":"TemporaryFile(/tmp/multipartBody4847445233097725376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761203275,"filename":"image_15122025_02_00_14_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425086","file1":"1399425085","file0":"1399425084","file4":"1399425088","file5":"1399425089","file3":"1399425087"},"map_files_photo_id_array":[{"photo_id":"1399425089","filename":"file5"},{"photo_id":"1399425086","filename":"file2"},{"photo_id":"1399425088","filename":"file4"},{"photo_id":"1399425085","filename":"file1"},{"photo_id":"1399425084","filename":"file0"},{"photo_id":"1399425087","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425087":["hashtag1","hashtag2"]},{"1399425084":["hashtag1","hashtag2"]},{"1399425086":["hashtag1","hashtag2"]},{"1399425089":["hashtag1","hashtag2"]},{"1399425085":["hashtag1","hashtag2"]},{"1399425088":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425087, 1399425084, 1399425086, 1399425089, 1399425085, 1399425088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24105095863342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 02:13:02.403544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/00/image_15122025_02_00_34_9659.jpg', '/home/pi/Desktop/images/15122025/02/00/image_15122025_02_00_44_10594.jpg', '/home/pi/Desktop/images/15122025/02/00/image_15122025_02_00_54_9695.jpg', '/home/pi/Desktop/images/15122025/02/00/image_15122025_02_01_04_9824.jpg', '/home/pi/Desktop/images/15122025/02/01/image_15122025_02_01_15_10711.jpg', '/home/pi/Desktop/images/15122025/02/01/image_15122025_02_01_24_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/00/image_15122025_02_00_34_9659.jpg
/home/pi/Desktop/images/15122025/02/00/image_15122025_02_00_44_10594.jpg
/home/pi/Desktop/images/15122025/02/00/image_15122025_02_00_54_9695.jpg
/home/pi/Desktop/images/15122025/02/00/image_15122025_02_01_04_9824.jpg
/home/pi/Desktop/images/15122025/02/01/image_15122025_02_01_15_10711.jpg
/home/pi/Desktop/images/15122025/02/01/image_15122025_02_01_24_9728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425093","1399425090","1399425092","1399425095","1399425094","1399425091"],"photo_ids_order":["1399425090","1399425091","1399425092","1399425093","1399425094","1399425095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/61e1ca8162eae43671f295acc5eafb42.jpg","text":"TemporaryFile(/tmp/multipartBody3666014197222951996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761243090,"filename":"image_15122025_02_01_04_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b24b2b53386c8a82eff8e6a7efe432e5.jpg","text":"TemporaryFile(/tmp/multipartBody6042947132088371425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761243090,"filename":"image_15122025_02_00_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/15/0c7507e340bfcfe77e670c57a9f79b33.jpg","text":"TemporaryFile(/tmp/multipartBody8158459539992048171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761243090,"filename":"image_15122025_02_00_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/15/08b0e68bcb8db616027fe0e2103ac093.jpg","text":"TemporaryFile(/tmp/multipartBody3331577342936181728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761243090,"filename":"image_15122025_02_01_24_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/28b68b37882b598bf70b68f6bc8e753f.jpg","text":"TemporaryFile(/tmp/multipartBody2685990987754361678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761243090,"filename":"image_15122025_02_01_15_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5c15166fd115ab70ee804090232e4494.jpg","text":"TemporaryFile(/tmp/multipartBody3420984843041379199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761243090,"filename":"image_15122025_02_00_44_10594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425092","file1":"1399425091","file0":"1399425090","file4":"1399425094","file5":"1399425095","file3":"1399425093"},"map_files_photo_id_array":[{"photo_id":"1399425095","filename":"file5"},{"photo_id":"1399425092","filename":"file2"},{"photo_id":"1399425094","filename":"file4"},{"photo_id":"1399425091","filename":"file1"},{"photo_id":"1399425090","filename":"file0"},{"photo_id":"1399425093","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425093":["hashtag1","hashtag2"]},{"1399425090":["hashtag1","hashtag2"]},{"1399425092":["hashtag1","hashtag2"]},{"1399425095":["hashtag1","hashtag2"]},{"1399425094":["hashtag1","hashtag2"]},{"1399425091":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425093, 1399425090, 1399425092, 1399425095, 1399425094, 1399425091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.620203495025635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 02:13:41.937046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/38/image_05112025_12_38_04_1629.jpg', '/home/pi/Desktop/images/05112025/12/38/image_05112025_12_38_28_23846.jpg', '/home/pi/Desktop/images/05112025/12/38/image_05112025_12_38_30_1599.jpg', '/home/pi/Desktop/images/05112025/12/38/image_05112025_12_38_32_1703.jpg', '/home/pi/Desktop/images/05112025/12/38/image_05112025_12_38_39_7449.jpg', '/home/pi/Desktop/images/05112025/12/38/image_05112025_12_38_41_1948.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/38/image_05112025_12_38_04_1629.jpg
/home/pi/Desktop/images/05112025/12/38/image_05112025_12_38_28_23846.jpg
/home/pi/Desktop/images/05112025/12/38/image_05112025_12_38_30_1599.jpg
/home/pi/Desktop/images/05112025/12/38/image_05112025_12_38_32_1703.jpg
/home/pi/Desktop/images/05112025/12/38/image_05112025_12_38_39_7449.jpg
/home/pi/Desktop/images/05112025/12/38/image_05112025_12_38_41_1948.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425096","1399425099","1399425098","1399425097","1399425101","1399425100"],"photo_ids_order":["1399425096","1399425097","1399425098","1399425099","1399425100","1399425101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0fbf87e0610847ab0a9a82f10ba2d43d.jpg","text":"TemporaryFile(/tmp/multipartBody771096771845628537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761282658,"filename":"image_05112025_12_38_04_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/15/6367c64c83b46b9fc53c77e5a7293194.jpg","text":"TemporaryFile(/tmp/multipartBody3958738009816955284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761282658,"filename":"image_05112025_12_38_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/15/c4e328c602ec57c123f6295234a06860.jpg","text":"TemporaryFile(/tmp/multipartBody1680583079271054667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761282658,"filename":"image_05112025_12_38_30_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/15/b61466ce838d872136f76fce7c5dbb06.jpg","text":"TemporaryFile(/tmp/multipartBody2594675332152717832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761282658,"filename":"image_05112025_12_38_28_23846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/12bc89591e16b7daa043829d4e295b2e.jpg","text":"TemporaryFile(/tmp/multipartBody6008354994638602464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761282658,"filename":"image_05112025_12_38_41_1948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/94c31ed89d37f01b8c99ef9f79da8826.jpg","text":"TemporaryFile(/tmp/multipartBody1915073536309706362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761282658,"filename":"image_05112025_12_38_39_7449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425098","file1":"1399425097","file0":"1399425096","file4":"1399425100","file5":"1399425101","file3":"1399425099"},"map_files_photo_id_array":[{"photo_id":"1399425101","filename":"file5"},{"photo_id":"1399425098","filename":"file2"},{"photo_id":"1399425100","filename":"file4"},{"photo_id":"1399425097","filename":"file1"},{"photo_id":"1399425096","filename":"file0"},{"photo_id":"1399425099","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399425096":["hashtag1","hashtag2"]},{"1399425099":["hashtag1","hashtag2"]},{"1399425098":["hashtag1","hashtag2"]},{"1399425097":["hashtag1","hashtag2"]},{"1399425101":["hashtag1","hashtag2"]},{"1399425100":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399425096, 1399425099, 1399425098, 1399425097, 1399425101, 1399425100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.343772649765015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 02:14:22.195152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/01/image_15122025_02_01_34_9701.jpg', '/home/pi/Desktop/images/15122025/02/01/image_15122025_02_02_04_9701.jpg', '/home/pi/Desktop/images/15122025/02/02/image_15122025_02_02_14_9565.jpg', '/home/pi/Desktop/images/15122025/02/02/image_15122025_02_02_25_10754.jpg', '/home/pi/Desktop/images/15122025/02/02/image_15122025_02_02_34_9838.jpg', '/home/pi/Desktop/images/15122025/02/02/image_15122025_02_02_44_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/01/image_15122025_02_01_34_9701.jpg
/home/pi/Desktop/images/15122025/02/01/image_15122025_02_02_04_9701.jpg
/home/pi/Desktop/images/15122025/02/02/image_15122025_02_02_14_9565.jpg
/home/pi/Desktop/images/15122025/02/02/image_15122025_02_02_25_10754.jpg
/home/pi/Desktop/images/15122025/02/02/image_15122025_02_02_34_9838.jpg
/home/pi/Desktop/images/15122025/02/02/image_15122025_02_02_44_9611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425103","1399425106","1399425105","1399425108","1399425104","1399425107"],"photo_ids_order":["1399425103","1399425104","1399425105","1399425106","1399425107","1399425108"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bdbe29397b3726d82f7c5041d8ce91b6.jpg","text":"TemporaryFile(/tmp/multipartBody8680292019493478993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761322851,"filename":"image_15122025_02_01_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/15/ae6e20c361c281041f6c9af5a12227f5.jpg","text":"TemporaryFile(/tmp/multipartBody1376019801875125494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761322851,"filename":"image_15122025_02_02_25_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8050bd85df4d7e2df73dfc57f394295b.jpg","text":"TemporaryFile(/tmp/multipartBody1155573187436489567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761322851,"filename":"image_15122025_02_02_14_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/583a9bdbf33c9209819422b4c3285d9c.jpg","text":"TemporaryFile(/tmp/multipartBody1085920781053128721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761322851,"filename":"image_15122025_02_02_44_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2c41c24979d21ab5b6b0a7acb811eea3.jpg","text":"TemporaryFile(/tmp/multipartBody2546790853379022467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761322851,"filename":"image_15122025_02_02_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/15/7d7f2c05a9187a8f51852ba2a02a7198.jpg","text":"TemporaryFile(/tmp/multipartBody8967231181479501589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761322851,"filename":"image_15122025_02_02_34_9838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425105","file1":"1399425104","file0":"1399425103","file4":"1399425107","file5":"1399425108","file3":"1399425106"},"map_files_photo_id_array":[{"photo_id":"1399425108","filename":"file5"},{"photo_id":"1399425105","filename":"file2"},{"photo_id":"1399425107","filename":"file4"},{"photo_id":"1399425104","filename":"file1"},{"photo_id":"1399425103","filename":"file0"},{"photo_id":"1399425106","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425103":["hashtag1","hashtag2"]},{"1399425106":["hashtag1","hashtag2"]},{"1399425105":["hashtag1","hashtag2"]},{"1399425108":["hashtag1","hashtag2"]},{"1399425104":["hashtag1","hashtag2"]},{"1399425107":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425103, 1399425106, 1399425105, 1399425108, 1399425104, 1399425107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.263484716415405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 02:15:02.978939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/02/image_15122025_02_02_54_9723.jpg', '/home/pi/Desktop/images/15122025/02/03/image_15122025_02_03_14_9706.jpg', '/home/pi/Desktop/images/15122025/02/03/image_15122025_02_03_24_9648.jpg', '/home/pi/Desktop/images/15122025/02/03/image_15122025_02_03_35_10741.jpg', '/home/pi/Desktop/images/15122025/02/03/image_15122025_02_03_44_9680.jpg', '/home/pi/Desktop/images/15122025/02/03/image_15122025_02_03_54_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/02/image_15122025_02_02_54_9723.jpg
/home/pi/Desktop/images/15122025/02/03/image_15122025_02_03_14_9706.jpg
/home/pi/Desktop/images/15122025/02/03/image_15122025_02_03_24_9648.jpg
/home/pi/Desktop/images/15122025/02/03/image_15122025_02_03_35_10741.jpg
/home/pi/Desktop/images/15122025/02/03/image_15122025_02_03_44_9680.jpg
/home/pi/Desktop/images/15122025/02/03/image_15122025_02_03_54_9738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425118","1399425120","1399425117","1399425116","1399425119","1399425115"],"photo_ids_order":["1399425115","1399425116","1399425117","1399425118","1399425119","1399425120"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7b6cdc0ffa795662552b08d9bbfaa386.jpg","text":"TemporaryFile(/tmp/multipartBody2468947745410360444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761363660,"filename":"image_15122025_02_03_35_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f0aa4fcd9e422c8f474850a4ddafbb11.jpg","text":"TemporaryFile(/tmp/multipartBody5012637607894899248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761363660,"filename":"image_15122025_02_03_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/15/9857c2cd0199af6a1c327c3097334498.jpg","text":"TemporaryFile(/tmp/multipartBody2718151676533941068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761363660,"filename":"image_15122025_02_03_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/15/cc96d76f59603b0b26e9c401d56f8c15.jpg","text":"TemporaryFile(/tmp/multipartBody4755852052245451405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761363660,"filename":"image_15122025_02_03_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/15/ccdd5723e72056e16025e9b5555e58d9.jpg","text":"TemporaryFile(/tmp/multipartBody13391776192221292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761363660,"filename":"image_15122025_02_03_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/15/c7f90025840e47850b7108a43e89d518.jpg","text":"TemporaryFile(/tmp/multipartBody8461290954440941884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761363660,"filename":"image_15122025_02_02_54_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425117","file1":"1399425116","file0":"1399425115","file4":"1399425119","file5":"1399425120","file3":"1399425118"},"map_files_photo_id_array":[{"photo_id":"1399425120","filename":"file5"},{"photo_id":"1399425117","filename":"file2"},{"photo_id":"1399425119","filename":"file4"},{"photo_id":"1399425116","filename":"file1"},{"photo_id":"1399425115","filename":"file0"},{"photo_id":"1399425118","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425118":["hashtag1","hashtag2"]},{"1399425120":["hashtag1","hashtag2"]},{"1399425117":["hashtag1","hashtag2"]},{"1399425116":["hashtag1","hashtag2"]},{"1399425119":["hashtag1","hashtag2"]},{"1399425115":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425118, 1399425120, 1399425117, 1399425116, 1399425119, 1399425115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76163578033447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 02:15:42.365333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/38/image_05112025_12_38_45_4059.jpg', '/home/pi/Desktop/images/05112025/12/38/image_05112025_12_38_47_1707.jpg', '/home/pi/Desktop/images/05112025/12/38/image_05112025_12_38_48_1522.jpg', '/home/pi/Desktop/images/05112025/12/38/image_05112025_12_38_50_1683.jpg', '/home/pi/Desktop/images/05112025/12/38/image_05112025_12_38_52_1687.jpg', '/home/pi/Desktop/images/05112025/12/38/image_05112025_12_38_53_1653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/38/image_05112025_12_38_45_4059.jpg
/home/pi/Desktop/images/05112025/12/38/image_05112025_12_38_47_1707.jpg
/home/pi/Desktop/images/05112025/12/38/image_05112025_12_38_48_1522.jpg
/home/pi/Desktop/images/05112025/12/38/image_05112025_12_38_50_1683.jpg
/home/pi/Desktop/images/05112025/12/38/image_05112025_12_38_52_1687.jpg
/home/pi/Desktop/images/05112025/12/38/image_05112025_12_38_53_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":["1399425124","1399425123","1399425126","1399425122","1399425125","1399425121"],"photo_ids_order":["1399425121","1399425122","1399425123","1399425124","1399425125","1399425126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/78015d8df3a4f4dec0d4b602495aafd1.jpg","text":"TemporaryFile(/tmp/multipartBody4085654195437942581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761403085,"filename":"image_05112025_12_38_50_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/15/d87be88e01003fcc8e3f71caeddadc1e.jpg","text":"TemporaryFile(/tmp/multipartBody8055199970391033831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761403085,"filename":"image_05112025_12_38_48_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/15/c02036a2c5701c953835c2f069a33e43.jpg","text":"TemporaryFile(/tmp/multipartBody4817568539303007859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761403085,"filename":"image_05112025_12_38_53_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/15/7a17e2065c894b2d94229ea0dd1588e4.jpg","text":"TemporaryFile(/tmp/multipartBody1283937340465303730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761403085,"filename":"image_05112025_12_38_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/15/8033c738a8beadea2872da916ba20bf6.jpg","text":"TemporaryFile(/tmp/multipartBody7243530375430310223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761403085,"filename":"image_05112025_12_38_52_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/15/8a909acfedfa0506240bfbc412328688.jpg","text":"TemporaryFile(/tmp/multipartBody6002771026014618829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761403085,"filename":"image_05112025_12_38_45_4059.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425123","file1":"1399425122","file0":"1399425121","file4":"1399425125","file5":"1399425126","file3":"1399425124"},"map_files_photo_id_array":[{"photo_id":"1399425126","filename":"file5"},{"photo_id":"1399425123","filename":"file2"},{"photo_id":"1399425125","filename":"file4"},{"photo_id":"1399425122","filename":"file1"},{"photo_id":"1399425121","filename":"file0"},{"photo_id":"1399425124","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399425124":["hashtag1","hashtag2"]},{"1399425123":["hashtag1","hashtag2"]},{"1399425126":["hashtag1","hashtag2"]},{"1399425122":["hashtag1","hashtag2"]},{"1399425125":["hashtag1","hashtag2"]},{"1399425121":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399425124, 1399425123, 1399425126, 1399425122, 1399425125, 1399425121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06787586212158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 02:16:22.700726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/03/image_15122025_02_04_05_10555.jpg', '/home/pi/Desktop/images/15122025/02/04/image_15122025_02_04_14_9652.jpg', '/home/pi/Desktop/images/15122025/02/04/image_15122025_02_04_24_9682.jpg', '/home/pi/Desktop/images/15122025/02/04/image_15122025_02_04_35_10843.jpg', '/home/pi/Desktop/images/15122025/02/04/image_15122025_02_04_54_9717.jpg', '/home/pi/Desktop/images/15122025/02/05/image_15122025_02_05_14_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/03/image_15122025_02_04_05_10555.jpg
/home/pi/Desktop/images/15122025/02/04/image_15122025_02_04_14_9652.jpg
/home/pi/Desktop/images/15122025/02/04/image_15122025_02_04_24_9682.jpg
/home/pi/Desktop/images/15122025/02/04/image_15122025_02_04_35_10843.jpg
/home/pi/Desktop/images/15122025/02/04/image_15122025_02_04_54_9717.jpg
/home/pi/Desktop/images/15122025/02/05/image_15122025_02_05_14_9754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425132","1399425129","1399425131","1399425128","1399425130","1399425127"],"photo_ids_order":["1399425127","1399425128","1399425129","1399425130","1399425131","1399425132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/18d163002b1a177a4edd0171253e6a94.jpg","text":"TemporaryFile(/tmp/multipartBody5626263981109625842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761443315,"filename":"image_15122025_02_05_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/15/fc8b1d3f194577c48c5397b9260aa639.jpg","text":"TemporaryFile(/tmp/multipartBody3037603978673390367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761443315,"filename":"image_15122025_02_04_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/15/6b3a8f539f964adb58239bead76a5b04.jpg","text":"TemporaryFile(/tmp/multipartBody3145290032348015938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761443315,"filename":"image_15122025_02_04_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/15/4858eea52a8d150134c7949c96f443ba.jpg","text":"TemporaryFile(/tmp/multipartBody4980421865194804616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761443315,"filename":"image_15122025_02_04_14_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/af0210cb5c47232e5d1ec418c39b099d.jpg","text":"TemporaryFile(/tmp/multipartBody7826253937846088102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761443315,"filename":"image_15122025_02_04_35_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/15/5bb7375276e393a4e063bd279d36ff40.jpg","text":"TemporaryFile(/tmp/multipartBody8509283920163263933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761443315,"filename":"image_15122025_02_04_05_10555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425129","file1":"1399425128","file0":"1399425127","file4":"1399425131","file5":"1399425132","file3":"1399425130"},"map_files_photo_id_array":[{"photo_id":"1399425132","filename":"file5"},{"photo_id":"1399425129","filename":"file2"},{"photo_id":"1399425131","filename":"file4"},{"photo_id":"1399425128","filename":"file1"},{"photo_id":"1399425127","filename":"file0"},{"photo_id":"1399425130","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425132":["hashtag1","hashtag2"]},{"1399425129":["hashtag1","hashtag2"]},{"1399425131":["hashtag1","hashtag2"]},{"1399425128":["hashtag1","hashtag2"]},{"1399425130":["hashtag1","hashtag2"]},{"1399425127":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425132, 1399425129, 1399425131, 1399425128, 1399425130, 1399425127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81247282028198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 02:17:02.627169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/05/image_15122025_02_05_25_10848.jpg', '/home/pi/Desktop/images/15122025/02/05/image_15122025_02_05_34_9681.jpg', '/home/pi/Desktop/images/15122025/02/05/image_15122025_02_05_44_9583.jpg', '/home/pi/Desktop/images/15122025/02/05/image_15122025_02_05_55_10703.jpg', '/home/pi/Desktop/images/15122025/02/05/image_15122025_02_06_04_9609.jpg', '/home/pi/Desktop/images/15122025/02/06/image_15122025_02_06_14_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/05/image_15122025_02_05_25_10848.jpg
/home/pi/Desktop/images/15122025/02/05/image_15122025_02_05_34_9681.jpg
/home/pi/Desktop/images/15122025/02/05/image_15122025_02_05_44_9583.jpg
/home/pi/Desktop/images/15122025/02/05/image_15122025_02_05_55_10703.jpg
/home/pi/Desktop/images/15122025/02/05/image_15122025_02_06_04_9609.jpg
/home/pi/Desktop/images/15122025/02/06/image_15122025_02_06_14_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425138","1399425135","1399425134","1399425137","1399425133","1399425136"],"photo_ids_order":["1399425133","1399425134","1399425135","1399425136","1399425137","1399425138"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/86bf7f0187c79e4887c2cf31efce341c.jpg","text":"TemporaryFile(/tmp/multipartBody6676846557613151848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761483357,"filename":"image_15122025_02_06_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/15/4d05cc7ed32806defc285c4c63c7aa89.jpg","text":"TemporaryFile(/tmp/multipartBody2951237175393604409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761483357,"filename":"image_15122025_02_05_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/15/9659db87f7c66456ddf631937f52f77a.jpg","text":"TemporaryFile(/tmp/multipartBody545706845249151445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761483357,"filename":"image_15122025_02_05_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/15/0fb2fedbb57464e593cce4a95a64b885.jpg","text":"TemporaryFile(/tmp/multipartBody985437514186669910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761483357,"filename":"image_15122025_02_06_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/15/65edac3f6ca588e80f9dd674d608c53d.jpg","text":"TemporaryFile(/tmp/multipartBody8381286058913139375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761483357,"filename":"image_15122025_02_05_25_10848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ae16aa2983dfb471f9047f02e0bab099.jpg","text":"TemporaryFile(/tmp/multipartBody2933345473711576639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761483357,"filename":"image_15122025_02_05_55_10703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425135","file1":"1399425134","file0":"1399425133","file4":"1399425137","file5":"1399425138","file3":"1399425136"},"map_files_photo_id_array":[{"photo_id":"1399425138","filename":"file5"},{"photo_id":"1399425135","filename":"file2"},{"photo_id":"1399425137","filename":"file4"},{"photo_id":"1399425134","filename":"file1"},{"photo_id":"1399425133","filename":"file0"},{"photo_id":"1399425136","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425138":["hashtag1","hashtag2"]},{"1399425135":["hashtag1","hashtag2"]},{"1399425134":["hashtag1","hashtag2"]},{"1399425137":["hashtag1","hashtag2"]},{"1399425133":["hashtag1","hashtag2"]},{"1399425136":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425138, 1399425135, 1399425134, 1399425137, 1399425133, 1399425136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77203726768494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 02:17:41.878332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/38/image_05112025_12_38_55_1661.jpg', '/home/pi/Desktop/images/05112025/12/38/image_05112025_12_38_57_1574.jpg', '/home/pi/Desktop/images/05112025/12/38/image_05112025_12_38_58_1696.jpg', '/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_07_3012.jpg', '/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_10_3688.jpg', '/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_13_2783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/38/image_05112025_12_38_55_1661.jpg
/home/pi/Desktop/images/05112025/12/38/image_05112025_12_38_57_1574.jpg
/home/pi/Desktop/images/05112025/12/38/image_05112025_12_38_58_1696.jpg
/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_07_3012.jpg
/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_10_3688.jpg
/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_13_2783.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425141","1399425147","1399425149","1399425146","1399425139","1399425148"],"photo_ids_order":["1399425139","1399425141","1399425146","1399425147","1399425148","1399425149"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/29ee083180460309374d0c72216af0bc.jpg","text":"TemporaryFile(/tmp/multipartBody8255215465981967986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761522629,"filename":"image_05112025_12_38_57_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/15/1d728718b87608dbe5cab2d1c6839e4b.jpg","text":"TemporaryFile(/tmp/multipartBody5280139461949491739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761522629,"filename":"image_05112025_12_40_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/15/6eff6086ec7670bc0e260841b7f24630.jpg","text":"TemporaryFile(/tmp/multipartBody7709390580555836363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761522629,"filename":"image_05112025_12_40_13_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/15/3ab75b4d1c78e92690497ae79d8f469c.jpg","text":"TemporaryFile(/tmp/multipartBody3065318886431094085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761522629,"filename":"image_05112025_12_38_58_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/15/6f7d139e7ec3c7aa9eb627a1512785f7.jpg","text":"TemporaryFile(/tmp/multipartBody5117582340312286675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761522629,"filename":"image_05112025_12_38_55_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/15/1d3e744bce350409614b784cd5bcdd2e.jpg","text":"TemporaryFile(/tmp/multipartBody3961659297768331429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761522629,"filename":"image_05112025_12_40_10_3688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425146","file1":"1399425141","file0":"1399425139","file4":"1399425148","file5":"1399425149","file3":"1399425147"},"map_files_photo_id_array":[{"photo_id":"1399425149","filename":"file5"},{"photo_id":"1399425146","filename":"file2"},{"photo_id":"1399425148","filename":"file4"},{"photo_id":"1399425141","filename":"file1"},{"photo_id":"1399425139","filename":"file0"},{"photo_id":"1399425147","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399425141":["hashtag1","hashtag2"]},{"1399425147":["hashtag1","hashtag2"]},{"1399425149":["hashtag1","hashtag2"]},{"1399425146":["hashtag1","hashtag2"]},{"1399425139":["hashtag1","hashtag2"]},{"1399425148":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399425141, 1399425147, 1399425149, 1399425146, 1399425139, 1399425148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47118043899536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 02:18:22.131045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/06/image_15122025_02_06_24_9849.jpg', '/home/pi/Desktop/images/15122025/02/06/image_15122025_02_06_34_10703.jpg', '/home/pi/Desktop/images/15122025/02/06/image_15122025_02_06_44_9653.jpg', '/home/pi/Desktop/images/15122025/02/06/image_15122025_02_06_54_9653.jpg', '/home/pi/Desktop/images/15122025/02/06/image_15122025_02_07_05_10840.jpg', '/home/pi/Desktop/images/15122025/02/07/image_15122025_02_07_14_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/06/image_15122025_02_06_24_9849.jpg
/home/pi/Desktop/images/15122025/02/06/image_15122025_02_06_34_10703.jpg
/home/pi/Desktop/images/15122025/02/06/image_15122025_02_06_44_9653.jpg
/home/pi/Desktop/images/15122025/02/06/image_15122025_02_06_54_9653.jpg
/home/pi/Desktop/images/15122025/02/06/image_15122025_02_07_05_10840.jpg
/home/pi/Desktop/images/15122025/02/07/image_15122025_02_07_14_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":["1399425150","1399425153","1399425152","1399425155","1399425151","1399425154"],"photo_ids_order":["1399425150","1399425151","1399425152","1399425153","1399425154","1399425155"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/eb27c59ec8499cd4dc9da57e743e21d5.jpg","text":"TemporaryFile(/tmp/multipartBody6605826488724751409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761562760,"filename":"image_15122025_02_06_24_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/abb4c140e42c4baa430c52265a085869.jpg","text":"TemporaryFile(/tmp/multipartBody3747264604754999179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761562760,"filename":"image_15122025_02_06_54_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f3323377df95e0854fff6e2e8ee5ebdf.jpg","text":"TemporaryFile(/tmp/multipartBody7945934907763981782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761562760,"filename":"image_15122025_02_06_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/15/75f40ecf63155730280ccec412c82222.jpg","text":"TemporaryFile(/tmp/multipartBody6721151219709779475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761562760,"filename":"image_15122025_02_07_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/15/b461214609de7cb45b0cc33f7fab037c.jpg","text":"TemporaryFile(/tmp/multipartBody3197147805641048452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761562760,"filename":"image_15122025_02_06_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/15/159337b5d4fd05f96878f48b2bb7d62d.jpg","text":"TemporaryFile(/tmp/multipartBody8685640732331518228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761562760,"filename":"image_15122025_02_07_05_10840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425152","file1":"1399425151","file0":"1399425150","file4":"1399425154","file5":"1399425155","file3":"1399425153"},"map_files_photo_id_array":[{"photo_id":"1399425155","filename":"file5"},{"photo_id":"1399425152","filename":"file2"},{"photo_id":"1399425154","filename":"file4"},{"photo_id":"1399425151","filename":"file1"},{"photo_id":"1399425150","filename":"file0"},{"photo_id":"1399425153","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425150":["hashtag1","hashtag2"]},{"1399425153":["hashtag1","hashtag2"]},{"1399425152":["hashtag1","hashtag2"]},{"1399425155":["hashtag1","hashtag2"]},{"1399425151":["hashtag1","hashtag2"]},{"1399425154":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425150, 1399425153, 1399425152, 1399425155, 1399425151, 1399425154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.577303409576416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 02:19:03.258615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/07/image_15122025_02_07_24_9739.jpg', '/home/pi/Desktop/images/15122025/02/07/image_15122025_02_07_35_10686.jpg', '/home/pi/Desktop/images/15122025/02/07/image_15122025_02_07_44_9651.jpg', '/home/pi/Desktop/images/15122025/02/07/image_15122025_02_07_54_9765.jpg', '/home/pi/Desktop/images/15122025/02/07/image_15122025_02_08_04_9876.jpg', '/home/pi/Desktop/images/15122025/02/08/image_15122025_02_08_15_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/07/image_15122025_02_07_24_9739.jpg
/home/pi/Desktop/images/15122025/02/07/image_15122025_02_07_35_10686.jpg
/home/pi/Desktop/images/15122025/02/07/image_15122025_02_07_44_9651.jpg
/home/pi/Desktop/images/15122025/02/07/image_15122025_02_07_54_9765.jpg
/home/pi/Desktop/images/15122025/02/07/image_15122025_02_08_04_9876.jpg
/home/pi/Desktop/images/15122025/02/08/image_15122025_02_08_15_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":["1399425156","1399425159","1399425161","1399425158","1399425157","1399425160"],"photo_ids_order":["1399425156","1399425157","1399425158","1399425159","1399425160","1399425161"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2734786faae26c99d0986c155920c2df.jpg","text":"TemporaryFile(/tmp/multipartBody92287773358766646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761604092,"filename":"image_15122025_02_07_24_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b90c4b6de960bfd1145d1bb2c1766213.jpg","text":"TemporaryFile(/tmp/multipartBody2959020428921565352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761604092,"filename":"image_15122025_02_07_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/15/4760ae463078c06613cadd7f73a2838f.jpg","text":"TemporaryFile(/tmp/multipartBody1379743905778597476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761604092,"filename":"image_15122025_02_08_15_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bd49ba30c07a9a725711e1b8f467e75b.jpg","text":"TemporaryFile(/tmp/multipartBody2140548411365529264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761604092,"filename":"image_15122025_02_07_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/15/9e95ca0f593c6fc2d3a65080494bfdca.jpg","text":"TemporaryFile(/tmp/multipartBody1376651589885691357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761604092,"filename":"image_15122025_02_07_35_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/15/d92811c9d3adbc47f92744796b9eafc9.jpg","text":"TemporaryFile(/tmp/multipartBody6756316031945051350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761604092,"filename":"image_15122025_02_08_04_9876.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425158","file1":"1399425157","file0":"1399425156","file4":"1399425160","file5":"1399425161","file3":"1399425159"},"map_files_photo_id_array":[{"photo_id":"1399425161","filename":"file5"},{"photo_id":"1399425158","filename":"file2"},{"photo_id":"1399425160","filename":"file4"},{"photo_id":"1399425157","filename":"file1"},{"photo_id":"1399425156","filename":"file0"},{"photo_id":"1399425159","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425156":["hashtag1","hashtag2"]},{"1399425159":["hashtag1","hashtag2"]},{"1399425161":["hashtag1","hashtag2"]},{"1399425158":["hashtag1","hashtag2"]},{"1399425157":["hashtag1","hashtag2"]},{"1399425160":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425156, 1399425159, 1399425161, 1399425158, 1399425157, 1399425160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.527428150177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 02:19:42.375526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_16_2738.jpg', '/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_19_3482.jpg', '/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_22_2689.jpg', '/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_25_2658.jpg', '/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_28_3751.jpg', '/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_31_2778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_16_2738.jpg
/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_19_3482.jpg
/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_22_2689.jpg
/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_25_2658.jpg
/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_28_3751.jpg
/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_31_2778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425162","1399425165","1399425167","1399425164","1399425163","1399425166"],"photo_ids_order":["1399425162","1399425163","1399425164","1399425165","1399425166","1399425167"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f4b29bc4be85baec693168ce732f0c0c.jpg","text":"TemporaryFile(/tmp/multipartBody3222805781447231972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761643091,"filename":"image_05112025_12_40_16_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/15/ceea80e0f64b5f89cca3f1482ad4488d.jpg","text":"TemporaryFile(/tmp/multipartBody2405615329600933553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761643091,"filename":"image_05112025_12_40_25_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/15/e05e78cf50ebb644c4eab77ac00bd873.jpg","text":"TemporaryFile(/tmp/multipartBody8240810476735640669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761643091,"filename":"image_05112025_12_40_31_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/15/8260c48b2df0f56a4c3336a1d7b1f53f.jpg","text":"TemporaryFile(/tmp/multipartBody4172108468494160115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761643091,"filename":"image_05112025_12_40_22_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a426857538cdd02e4d21556b27d52291.jpg","text":"TemporaryFile(/tmp/multipartBody5726513165281805630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761643091,"filename":"image_05112025_12_40_19_3482.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4e102550a144e0c8fa3928bd5e0c1ee1.jpg","text":"TemporaryFile(/tmp/multipartBody9140151974617297537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761643091,"filename":"image_05112025_12_40_28_3751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425164","file1":"1399425163","file0":"1399425162","file4":"1399425166","file5":"1399425167","file3":"1399425165"},"map_files_photo_id_array":[{"photo_id":"1399425167","filename":"file5"},{"photo_id":"1399425164","filename":"file2"},{"photo_id":"1399425166","filename":"file4"},{"photo_id":"1399425163","filename":"file1"},{"photo_id":"1399425162","filename":"file0"},{"photo_id":"1399425165","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399425162":["hashtag1","hashtag2"]},{"1399425165":["hashtag1","hashtag2"]},{"1399425167":["hashtag1","hashtag2"]},{"1399425164":["hashtag1","hashtag2"]},{"1399425163":["hashtag1","hashtag2"]},{"1399425166":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399425162, 1399425165, 1399425167, 1399425164, 1399425163, 1399425166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53955912590027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 02:20:22.623027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/08/image_15122025_02_08_24_9662.jpg', '/home/pi/Desktop/images/15122025/02/08/image_15122025_02_08_34_9670.jpg', '/home/pi/Desktop/images/15122025/02/08/image_15122025_02_08_44_9738.jpg', '/home/pi/Desktop/images/15122025/02/08/image_15122025_02_08_54_10723.jpg', '/home/pi/Desktop/images/15122025/02/08/image_15122025_02_09_04_9765.jpg', '/home/pi/Desktop/images/15122025/02/09/image_15122025_02_09_14_9781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/08/image_15122025_02_08_24_9662.jpg
/home/pi/Desktop/images/15122025/02/08/image_15122025_02_08_34_9670.jpg
/home/pi/Desktop/images/15122025/02/08/image_15122025_02_08_44_9738.jpg
/home/pi/Desktop/images/15122025/02/08/image_15122025_02_08_54_10723.jpg
/home/pi/Desktop/images/15122025/02/08/image_15122025_02_09_04_9765.jpg
/home/pi/Desktop/images/15122025/02/09/image_15122025_02_09_14_9781.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425168","1399425171","1399425170","1399425175","1399425172","1399425169"],"photo_ids_order":["1399425168","1399425169","1399425170","1399425171","1399425172","1399425175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/31be1ec9bad9eee312e56c3f56bab07e.jpg","text":"TemporaryFile(/tmp/multipartBody2171707188696961021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761683245,"filename":"image_15122025_02_08_24_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/37c86872bc3dfb60114562d268058739.jpg","text":"TemporaryFile(/tmp/multipartBody480535538311095968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761683245,"filename":"image_15122025_02_08_54_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/15/694bb16975afcdfcbf536c4110a14ef3.jpg","text":"TemporaryFile(/tmp/multipartBody7247933916319956123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761683245,"filename":"image_15122025_02_08_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/15/7951d2ae6951b0ad3e590c2ba8a63797.jpg","text":"TemporaryFile(/tmp/multipartBody7558757458624233457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761683245,"filename":"image_15122025_02_09_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/15/f708cfe06ac5bee946c7a60ae55a8622.jpg","text":"TemporaryFile(/tmp/multipartBody7051078742455649880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761683245,"filename":"image_15122025_02_09_04_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e4b064ba756e4e8022f02b65f3210767.jpg","text":"TemporaryFile(/tmp/multipartBody4825264713302091663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761683245,"filename":"image_15122025_02_08_34_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425170","file1":"1399425169","file0":"1399425168","file4":"1399425172","file5":"1399425175","file3":"1399425171"},"map_files_photo_id_array":[{"photo_id":"1399425175","filename":"file5"},{"photo_id":"1399425170","filename":"file2"},{"photo_id":"1399425172","filename":"file4"},{"photo_id":"1399425169","filename":"file1"},{"photo_id":"1399425168","filename":"file0"},{"photo_id":"1399425171","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425168":["hashtag1","hashtag2"]},{"1399425171":["hashtag1","hashtag2"]},{"1399425170":["hashtag1","hashtag2"]},{"1399425175":["hashtag1","hashtag2"]},{"1399425172":["hashtag1","hashtag2"]},{"1399425169":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425168, 1399425171, 1399425170, 1399425175, 1399425172, 1399425169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.953866958618164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 02:21:02.418691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/09/image_15122025_02_09_24_9873.jpg', '/home/pi/Desktop/images/15122025/02/09/image_15122025_02_09_35_10658.jpg', '/home/pi/Desktop/images/15122025/02/09/image_15122025_02_09_44_9799.jpg', '/home/pi/Desktop/images/15122025/02/09/image_15122025_02_09_54_9707.jpg', '/home/pi/Desktop/images/15122025/02/09/image_15122025_02_10_04_9746.jpg', '/home/pi/Desktop/images/15122025/02/10/image_15122025_02_10_15_10806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/09/image_15122025_02_09_24_9873.jpg
/home/pi/Desktop/images/15122025/02/09/image_15122025_02_09_35_10658.jpg
/home/pi/Desktop/images/15122025/02/09/image_15122025_02_09_44_9799.jpg
/home/pi/Desktop/images/15122025/02/09/image_15122025_02_09_54_9707.jpg
/home/pi/Desktop/images/15122025/02/09/image_15122025_02_10_04_9746.jpg
/home/pi/Desktop/images/15122025/02/10/image_15122025_02_10_15_10806.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425180","1399425177","1399425179","1399425176","1399425181","1399425178"],"photo_ids_order":["1399425176","1399425177","1399425178","1399425179","1399425180","1399425181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/700b4d0f4a10e36d12b37831bd6d5ac5.jpg","text":"TemporaryFile(/tmp/multipartBody958978185780390510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761723189,"filename":"image_15122025_02_10_04_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/31feb701ecf618417ac24700c0b7a21e.jpg","text":"TemporaryFile(/tmp/multipartBody6169788131186502793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761723189,"filename":"image_15122025_02_09_35_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/55d70b52f8fe1af6878defebc038ce8b.jpg","text":"TemporaryFile(/tmp/multipartBody7996323966591521776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761723189,"filename":"image_15122025_02_09_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/15/7eaa423379aac382d98e0e97b42071f5.jpg","text":"TemporaryFile(/tmp/multipartBody5814597378760491256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761723189,"filename":"image_15122025_02_09_24_9873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/05d037e0420f5851eff038332a8e41e3.jpg","text":"TemporaryFile(/tmp/multipartBody475997985976070350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761723189,"filename":"image_15122025_02_10_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/15/48bc577e51942d3f13c3ce21f925573f.jpg","text":"TemporaryFile(/tmp/multipartBody7422412488781587455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761723189,"filename":"image_15122025_02_09_44_9799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425178","file1":"1399425177","file0":"1399425176","file4":"1399425180","file5":"1399425181","file3":"1399425179"},"map_files_photo_id_array":[{"photo_id":"1399425181","filename":"file5"},{"photo_id":"1399425178","filename":"file2"},{"photo_id":"1399425180","filename":"file4"},{"photo_id":"1399425177","filename":"file1"},{"photo_id":"1399425176","filename":"file0"},{"photo_id":"1399425179","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425180":["hashtag1","hashtag2"]},{"1399425177":["hashtag1","hashtag2"]},{"1399425179":["hashtag1","hashtag2"]},{"1399425176":["hashtag1","hashtag2"]},{"1399425181":["hashtag1","hashtag2"]},{"1399425178":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425180, 1399425177, 1399425179, 1399425176, 1399425181, 1399425178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49129247665405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 02:21:41.895909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_34_2674.jpg', '/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_37_3549.jpg', '/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_40_2689.jpg', '/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_43_2621.jpg', '/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_45_2817.jpg', '/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_49_3629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_34_2674.jpg
/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_37_3549.jpg
/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_40_2689.jpg
/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_43_2621.jpg
/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_45_2817.jpg
/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_49_3629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425186","1399425183","1399425185","1399425182","1399425184","1399425187"],"photo_ids_order":["1399425182","1399425183","1399425184","1399425185","1399425186","1399425187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/96fd25cffd28ee1d0646d3628df519ad.jpg","text":"TemporaryFile(/tmp/multipartBody6324585638275189892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761762612,"filename":"image_05112025_12_40_45_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fd60f9dce77990a4c92a335650dd807c.jpg","text":"TemporaryFile(/tmp/multipartBody402259285264103989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761762612,"filename":"image_05112025_12_40_37_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/15/bc98da119932fcdaa5b9a390de5952fa.jpg","text":"TemporaryFile(/tmp/multipartBody115166666644967065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761762612,"filename":"image_05112025_12_40_43_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/539ca488bd9142438eb76dbf8ed4f1a2.jpg","text":"TemporaryFile(/tmp/multipartBody5896759767603480346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761762612,"filename":"image_05112025_12_40_34_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/15/148f98e37e26c9049bff425265deb0b1.jpg","text":"TemporaryFile(/tmp/multipartBody8182459982850672408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761762612,"filename":"image_05112025_12_40_40_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/15/93a6c690faf8620634995eb14581316e.jpg","text":"TemporaryFile(/tmp/multipartBody2718267766110979310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761762612,"filename":"image_05112025_12_40_49_3629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425184","file1":"1399425183","file0":"1399425182","file4":"1399425186","file5":"1399425187","file3":"1399425185"},"map_files_photo_id_array":[{"photo_id":"1399425187","filename":"file5"},{"photo_id":"1399425184","filename":"file2"},{"photo_id":"1399425186","filename":"file4"},{"photo_id":"1399425183","filename":"file1"},{"photo_id":"1399425182","filename":"file0"},{"photo_id":"1399425185","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399425186":["hashtag1","hashtag2"]},{"1399425183":["hashtag1","hashtag2"]},{"1399425185":["hashtag1","hashtag2"]},{"1399425182":["hashtag1","hashtag2"]},{"1399425184":["hashtag1","hashtag2"]},{"1399425187":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399425186, 1399425183, 1399425185, 1399425182, 1399425184, 1399425187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53568983078003 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 02:22:22.135936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/10/image_15122025_02_10_24_9714.jpg', '/home/pi/Desktop/images/15122025/02/10/image_15122025_02_10_34_9674.jpg', '/home/pi/Desktop/images/15122025/02/10/image_15122025_02_10_44_9747.jpg', '/home/pi/Desktop/images/15122025/02/10/image_15122025_02_11_04_9704.jpg', '/home/pi/Desktop/images/15122025/02/11/image_15122025_02_11_14_9704.jpg', '/home/pi/Desktop/images/15122025/02/11/image_15122025_02_11_25_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/10/image_15122025_02_10_24_9714.jpg
/home/pi/Desktop/images/15122025/02/10/image_15122025_02_10_34_9674.jpg
/home/pi/Desktop/images/15122025/02/10/image_15122025_02_10_44_9747.jpg
/home/pi/Desktop/images/15122025/02/10/image_15122025_02_11_04_9704.jpg
/home/pi/Desktop/images/15122025/02/11/image_15122025_02_11_14_9704.jpg
/home/pi/Desktop/images/15122025/02/11/image_15122025_02_11_25_10667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425192","1399425189","1399425191","1399425188","1399425193","1399425190"],"photo_ids_order":["1399425188","1399425189","1399425190","1399425191","1399425192","1399425193"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e5dd0fbc0a180bd9c2e7547e919194b0.jpg","text":"TemporaryFile(/tmp/multipartBody946080423792043528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761802756,"filename":"image_15122025_02_11_14_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ff44c28b083608ea5ac4b278a2d199e6.jpg","text":"TemporaryFile(/tmp/multipartBody5430959534075840225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761802756,"filename":"image_15122025_02_10_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/15/890cf280cef4903d7834a71b84734163.jpg","text":"TemporaryFile(/tmp/multipartBody7280368444665088385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761802756,"filename":"image_15122025_02_11_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/15/d87c918af25f3f415c547c6450311163.jpg","text":"TemporaryFile(/tmp/multipartBody8675121521885272553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761802756,"filename":"image_15122025_02_10_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/15/b42391d6016a2ecbcf6ee835728b8ea6.jpg","text":"TemporaryFile(/tmp/multipartBody8636308570444528714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761802756,"filename":"image_15122025_02_11_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/15/595ca8954b09bcadedb41bff8b39ca59.jpg","text":"TemporaryFile(/tmp/multipartBody6581409223976027943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761802756,"filename":"image_15122025_02_10_44_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425190","file1":"1399425189","file0":"1399425188","file4":"1399425192","file5":"1399425193","file3":"1399425191"},"map_files_photo_id_array":[{"photo_id":"1399425193","filename":"file5"},{"photo_id":"1399425190","filename":"file2"},{"photo_id":"1399425192","filename":"file4"},{"photo_id":"1399425189","filename":"file1"},{"photo_id":"1399425188","filename":"file0"},{"photo_id":"1399425191","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425192":["hashtag1","hashtag2"]},{"1399425189":["hashtag1","hashtag2"]},{"1399425191":["hashtag1","hashtag2"]},{"1399425188":["hashtag1","hashtag2"]},{"1399425193":["hashtag1","hashtag2"]},{"1399425190":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425192, 1399425189, 1399425191, 1399425188, 1399425193, 1399425190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41762161254883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 02:23:03.078879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/11/image_15122025_02_11_44_9786.jpg', '/home/pi/Desktop/images/15122025/02/11/image_15122025_02_11_54_9698.jpg', '/home/pi/Desktop/images/15122025/02/11/image_15122025_02_12_05_10805.jpg', '/home/pi/Desktop/images/15122025/02/12/image_15122025_02_12_14_9867.jpg', '/home/pi/Desktop/images/15122025/02/12/image_15122025_02_12_24_9829.jpg', '/home/pi/Desktop/images/15122025/02/12/image_15122025_02_12_34_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/11/image_15122025_02_11_44_9786.jpg
/home/pi/Desktop/images/15122025/02/11/image_15122025_02_11_54_9698.jpg
/home/pi/Desktop/images/15122025/02/11/image_15122025_02_12_05_10805.jpg
/home/pi/Desktop/images/15122025/02/12/image_15122025_02_12_14_9867.jpg
/home/pi/Desktop/images/15122025/02/12/image_15122025_02_12_24_9829.jpg
/home/pi/Desktop/images/15122025/02/12/image_15122025_02_12_34_9597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425195","1399425198","1399425197","1399425194","1399425196","1399425199"],"photo_ids_order":["1399425194","1399425195","1399425196","1399425197","1399425198","1399425199"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ebebb6c6a90447721807664e3d3c37f3.jpg","text":"TemporaryFile(/tmp/multipartBody1913880133559845627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761843746,"filename":"image_15122025_02_11_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/15/76b718128b629800f7e4311ac9fd27af.jpg","text":"TemporaryFile(/tmp/multipartBody5400010282157125269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761843746,"filename":"image_15122025_02_12_24_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/631bfc5baac020d95fdaff907999166c.jpg","text":"TemporaryFile(/tmp/multipartBody1692000189460792183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761843746,"filename":"image_15122025_02_12_14_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7d256e3f8d736066235b4107c52f28e5.jpg","text":"TemporaryFile(/tmp/multipartBody2103872603446347403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761843746,"filename":"image_15122025_02_11_44_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9cee66941677e067dbe18df934de1231.jpg","text":"TemporaryFile(/tmp/multipartBody508084225706060869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761843746,"filename":"image_15122025_02_12_05_10805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9a6bdbb3262f1b8d37a26ae93170e499.jpg","text":"TemporaryFile(/tmp/multipartBody3759826039163638780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761843746,"filename":"image_15122025_02_12_34_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425196","file1":"1399425195","file0":"1399425194","file4":"1399425198","file5":"1399425199","file3":"1399425197"},"map_files_photo_id_array":[{"photo_id":"1399425199","filename":"file5"},{"photo_id":"1399425196","filename":"file2"},{"photo_id":"1399425198","filename":"file4"},{"photo_id":"1399425195","filename":"file1"},{"photo_id":"1399425194","filename":"file0"},{"photo_id":"1399425197","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425195":["hashtag1","hashtag2"]},{"1399425198":["hashtag1","hashtag2"]},{"1399425197":["hashtag1","hashtag2"]},{"1399425194":["hashtag1","hashtag2"]},{"1399425196":["hashtag1","hashtag2"]},{"1399425199":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425195, 1399425198, 1399425197, 1399425194, 1399425196, 1399425199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94479489326477 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 02:23:42.302174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_52_2567.jpg', '/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_55_3684.jpg', '/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_58_2512.jpg', '/home/pi/Desktop/images/05112025/12/40/image_05112025_12_41_00_2623.jpg', '/home/pi/Desktop/images/05112025/12/41/image_05112025_12_41_04_3517.jpg', '/home/pi/Desktop/images/05112025/12/41/image_05112025_12_41_07_2704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_52_2567.jpg
/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_55_3684.jpg
/home/pi/Desktop/images/05112025/12/40/image_05112025_12_40_58_2512.jpg
/home/pi/Desktop/images/05112025/12/40/image_05112025_12_41_00_2623.jpg
/home/pi/Desktop/images/05112025/12/41/image_05112025_12_41_04_3517.jpg
/home/pi/Desktop/images/05112025/12/41/image_05112025_12_41_07_2704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425210","1399425204","1399425209","1399425200","1399425211","1399425208"],"photo_ids_order":["1399425200","1399425204","1399425208","1399425209","1399425210","1399425211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/468391fbd1285ea1f1fcab11eacea04b.jpg","text":"TemporaryFile(/tmp/multipartBody6367046894027143082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761883016,"filename":"image_05112025_12_41_04_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/15/0510a134180ded217b690ea6e95a45bd.jpg","text":"TemporaryFile(/tmp/multipartBody8131318873094170803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761883016,"filename":"image_05112025_12_40_55_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1ef47cad6fc991af85812d514e32b557.jpg","text":"TemporaryFile(/tmp/multipartBody7719401070301127279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761883016,"filename":"image_05112025_12_41_00_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/15/7538f32faee33b56bb525bdbc95f1e99.jpg","text":"TemporaryFile(/tmp/multipartBody6842699792593525893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761883016,"filename":"image_05112025_12_40_52_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/15/7c477992ba7514cdd5f7754b1f9e63ad.jpg","text":"TemporaryFile(/tmp/multipartBody2146227365238825085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761883016,"filename":"image_05112025_12_41_07_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/76acdd61f9ea4cdb37728d366f183637.jpg","text":"TemporaryFile(/tmp/multipartBody4134460929119001010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761883016,"filename":"image_05112025_12_40_58_2512.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425208","file1":"1399425204","file0":"1399425200","file4":"1399425210","file5":"1399425211","file3":"1399425209"},"map_files_photo_id_array":[{"photo_id":"1399425211","filename":"file5"},{"photo_id":"1399425208","filename":"file2"},{"photo_id":"1399425210","filename":"file4"},{"photo_id":"1399425204","filename":"file1"},{"photo_id":"1399425200","filename":"file0"},{"photo_id":"1399425209","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399425210":["hashtag1","hashtag2"]},{"1399425204":["hashtag1","hashtag2"]},{"1399425209":["hashtag1","hashtag2"]},{"1399425200":["hashtag1","hashtag2"]},{"1399425211":["hashtag1","hashtag2"]},{"1399425208":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399425210, 1399425204, 1399425209, 1399425200, 1399425211, 1399425208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.728760719299316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 02:24:22.548566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/12/image_15122025_02_12_44_10613.jpg', '/home/pi/Desktop/images/15122025/02/12/image_15122025_02_12_54_9918.jpg', '/home/pi/Desktop/images/15122025/02/13/image_15122025_02_13_24_9947.jpg', '/home/pi/Desktop/images/15122025/02/13/image_15122025_02_13_35_10650.jpg', '/home/pi/Desktop/images/15122025/02/13/image_15122025_02_13_45_9897.jpg', '/home/pi/Desktop/images/15122025/02/13/image_15122025_02_13_54_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/12/image_15122025_02_12_44_10613.jpg
/home/pi/Desktop/images/15122025/02/12/image_15122025_02_12_54_9918.jpg
/home/pi/Desktop/images/15122025/02/13/image_15122025_02_13_24_9947.jpg
/home/pi/Desktop/images/15122025/02/13/image_15122025_02_13_35_10650.jpg
/home/pi/Desktop/images/15122025/02/13/image_15122025_02_13_45_9897.jpg
/home/pi/Desktop/images/15122025/02/13/image_15122025_02_13_54_9715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425217","1399425213","1399425216","1399425215","1399425212","1399425214"],"photo_ids_order":["1399425212","1399425213","1399425214","1399425215","1399425216","1399425217"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6be1c5f541f6e87de0792ea96e9e6147.jpg","text":"TemporaryFile(/tmp/multipartBody6209022572410174171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761923162,"filename":"image_15122025_02_13_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/15/a3a978dfa93d0a1915a002cb1070a66f.jpg","text":"TemporaryFile(/tmp/multipartBody5189138309483305273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761923162,"filename":"image_15122025_02_12_54_9918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cbd116023f6e47aa237cd01c8a8a0657.jpg","text":"TemporaryFile(/tmp/multipartBody1951719300889273995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761923162,"filename":"image_15122025_02_13_45_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/15/418a88baf1dbbc54766b35c70aa85834.jpg","text":"TemporaryFile(/tmp/multipartBody3443949513325597293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761923162,"filename":"image_15122025_02_13_35_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/37a13508841b54a192d58c4d5b4c6e51.jpg","text":"TemporaryFile(/tmp/multipartBody3433365748096281609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761923162,"filename":"image_15122025_02_12_44_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/15/ccf86eab926bea67c38c8277ccd85b75.jpg","text":"TemporaryFile(/tmp/multipartBody4505876907735888204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761923162,"filename":"image_15122025_02_13_24_9947.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425214","file1":"1399425213","file0":"1399425212","file4":"1399425216","file5":"1399425217","file3":"1399425215"},"map_files_photo_id_array":[{"photo_id":"1399425217","filename":"file5"},{"photo_id":"1399425214","filename":"file2"},{"photo_id":"1399425216","filename":"file4"},{"photo_id":"1399425213","filename":"file1"},{"photo_id":"1399425212","filename":"file0"},{"photo_id":"1399425215","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425217":["hashtag1","hashtag2"]},{"1399425213":["hashtag1","hashtag2"]},{"1399425216":["hashtag1","hashtag2"]},{"1399425215":["hashtag1","hashtag2"]},{"1399425212":["hashtag1","hashtag2"]},{"1399425214":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425217, 1399425213, 1399425216, 1399425215, 1399425212, 1399425214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51779270172119 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 02:25:02.602550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/13/image_15122025_02_14_04_9718.jpg', '/home/pi/Desktop/images/15122025/02/14/image_15122025_02_14_24_9587.jpg', '/home/pi/Desktop/images/15122025/02/14/image_15122025_02_14_34_9682.jpg', '/home/pi/Desktop/images/15122025/02/14/image_15122025_02_14_45_10709.jpg', '/home/pi/Desktop/images/15122025/02/14/image_15122025_02_14_54_9597.jpg', '/home/pi/Desktop/images/15122025/02/15/image_15122025_02_15_15_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/13/image_15122025_02_14_04_9718.jpg
/home/pi/Desktop/images/15122025/02/14/image_15122025_02_14_24_9587.jpg
/home/pi/Desktop/images/15122025/02/14/image_15122025_02_14_34_9682.jpg
/home/pi/Desktop/images/15122025/02/14/image_15122025_02_14_45_10709.jpg
/home/pi/Desktop/images/15122025/02/14/image_15122025_02_14_54_9597.jpg
/home/pi/Desktop/images/15122025/02/15/image_15122025_02_15_15_10641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425223","1399425222","1399425219","1399425221","1399425218","1399425220"],"photo_ids_order":["1399425218","1399425219","1399425220","1399425221","1399425222","1399425223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/453ffd84681fed1961f9ca8ea7acc8d0.jpg","text":"TemporaryFile(/tmp/multipartBody3659315216310548970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761963272,"filename":"image_15122025_02_15_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/15/d4b22b34468ef7c034716fe296858af9.jpg","text":"TemporaryFile(/tmp/multipartBody3181655638059121712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761963272,"filename":"image_15122025_02_14_54_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/51fb15740156f7de8094626acfde45b3.jpg","text":"TemporaryFile(/tmp/multipartBody1561601701398771795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761963272,"filename":"image_15122025_02_14_24_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/02ff094f21ef2ef338cb18e98b731d9f.jpg","text":"TemporaryFile(/tmp/multipartBody2486384944374797860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761963272,"filename":"image_15122025_02_14_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/15/3c58e72bb98e69fd5cc9e62a91c97a2e.jpg","text":"TemporaryFile(/tmp/multipartBody5584351977612360104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761963272,"filename":"image_15122025_02_14_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/15/58cbb4297dc048bd281963ec9551b3fe.jpg","text":"TemporaryFile(/tmp/multipartBody1839670191033860996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765761963272,"filename":"image_15122025_02_14_34_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425220","file1":"1399425219","file0":"1399425218","file4":"1399425222","file5":"1399425223","file3":"1399425221"},"map_files_photo_id_array":[{"photo_id":"1399425223","filename":"file5"},{"photo_id":"1399425220","filename":"file2"},{"photo_id":"1399425222","filename":"file4"},{"photo_id":"1399425219","filename":"file1"},{"photo_id":"1399425218","filename":"file0"},{"photo_id":"1399425221","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425223":["hashtag1","hashtag2"]},{"1399425222":["hashtag1","hashtag2"]},{"1399425219":["hashtag1","hashtag2"]},{"1399425221":["hashtag1","hashtag2"]},{"1399425218":["hashtag1","hashtag2"]},{"1399425220":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425223, 1399425222, 1399425219, 1399425221, 1399425218, 1399425220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.421053409576416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 02:25:41.923960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/41/image_05112025_12_41_10_3631.jpg', '/home/pi/Desktop/images/05112025/12/41/image_05112025_12_41_13_2694.jpg', '/home/pi/Desktop/images/05112025/12/41/image_05112025_12_41_16_3247.jpg', '/home/pi/Desktop/images/05112025/12/41/image_05112025_12_41_19_2666.jpg', '/home/pi/Desktop/images/05112025/12/41/image_05112025_12_41_23_4208.jpg', '/home/pi/Desktop/images/05112025/12/41/image_05112025_12_41_25_1736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/41/image_05112025_12_41_10_3631.jpg
/home/pi/Desktop/images/05112025/12/41/image_05112025_12_41_13_2694.jpg
/home/pi/Desktop/images/05112025/12/41/image_05112025_12_41_16_3247.jpg
/home/pi/Desktop/images/05112025/12/41/image_05112025_12_41_19_2666.jpg
/home/pi/Desktop/images/05112025/12/41/image_05112025_12_41_23_4208.jpg
/home/pi/Desktop/images/05112025/12/41/image_05112025_12_41_25_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":["1399425225","1399425228","1399425227","1399425224","1399425226","1399425229"],"photo_ids_order":["1399425224","1399425225","1399425226","1399425227","1399425228","1399425229"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5bc485e50cef12ebd05ac0f55b9dcb91.jpg","text":"TemporaryFile(/tmp/multipartBody1274426932571995307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762002644,"filename":"image_05112025_12_41_13_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/15/74b12602244dd66e45e6e1e88b8cbe6e.jpg","text":"TemporaryFile(/tmp/multipartBody4580308151949603449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762002644,"filename":"image_05112025_12_41_23_4208.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0f5193650c0764e86934d157d48db426.jpg","text":"TemporaryFile(/tmp/multipartBody7039308524711066384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762002644,"filename":"image_05112025_12_41_19_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/15/81caeea392aa6d7b7d77149ae44e2eac.jpg","text":"TemporaryFile(/tmp/multipartBody1699357942351626300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762002644,"filename":"image_05112025_12_41_10_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/15/7ed1ae072c36377056300859d30ee682.jpg","text":"TemporaryFile(/tmp/multipartBody1042699567331384559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762002644,"filename":"image_05112025_12_41_16_3247.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b6e2888c9bb2f462cc3e4fd7c2a01a40.jpg","text":"TemporaryFile(/tmp/multipartBody8454712695241920019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762002644,"filename":"image_05112025_12_41_25_1736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425226","file1":"1399425225","file0":"1399425224","file4":"1399425228","file5":"1399425229","file3":"1399425227"},"map_files_photo_id_array":[{"photo_id":"1399425229","filename":"file5"},{"photo_id":"1399425226","filename":"file2"},{"photo_id":"1399425228","filename":"file4"},{"photo_id":"1399425225","filename":"file1"},{"photo_id":"1399425224","filename":"file0"},{"photo_id":"1399425227","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399425225":["hashtag1","hashtag2"]},{"1399425228":["hashtag1","hashtag2"]},{"1399425227":["hashtag1","hashtag2"]},{"1399425224":["hashtag1","hashtag2"]},{"1399425226":["hashtag1","hashtag2"]},{"1399425229":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399425225, 1399425228, 1399425227, 1399425224, 1399425226, 1399425229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48304891586304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 02:26:22.159761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/15/image_15122025_02_15_24_9658.jpg', '/home/pi/Desktop/images/15122025/02/15/image_15122025_02_15_34_9710.jpg', '/home/pi/Desktop/images/15122025/02/15/image_15122025_02_15_54_9598.jpg', '/home/pi/Desktop/images/15122025/02/15/image_15122025_02_16_04_9650.jpg', '/home/pi/Desktop/images/15122025/02/16/image_15122025_02_16_15_10709.jpg', '/home/pi/Desktop/images/15122025/02/16/image_15122025_02_16_24_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/15/image_15122025_02_15_24_9658.jpg
/home/pi/Desktop/images/15122025/02/15/image_15122025_02_15_34_9710.jpg
/home/pi/Desktop/images/15122025/02/15/image_15122025_02_15_54_9598.jpg
/home/pi/Desktop/images/15122025/02/15/image_15122025_02_16_04_9650.jpg
/home/pi/Desktop/images/15122025/02/16/image_15122025_02_16_15_10709.jpg
/home/pi/Desktop/images/15122025/02/16/image_15122025_02_16_24_9595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425231","1399425234","1399425233","1399425230","1399425232","1399425241"],"photo_ids_order":["1399425230","1399425231","1399425232","1399425233","1399425234","1399425241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8ad8db4a9af45275c48f6e62ee1a51b9.jpg","text":"TemporaryFile(/tmp/multipartBody5224237309635720455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762042783,"filename":"image_15122025_02_15_34_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c5fc217d9693de8571e41e4fa7d888b7.jpg","text":"TemporaryFile(/tmp/multipartBody3282152897172952253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762042783,"filename":"image_15122025_02_16_15_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4d48f5f24b4fa4627a4e75ef3f2064e4.jpg","text":"TemporaryFile(/tmp/multipartBody361813171779841958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762042783,"filename":"image_15122025_02_16_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/15/dd653d8d985c559a3e1803564eb42923.jpg","text":"TemporaryFile(/tmp/multipartBody7596207491385784155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762042783,"filename":"image_15122025_02_15_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/15/826921bce2754a4ed837fb0f2cd87374.jpg","text":"TemporaryFile(/tmp/multipartBody2463838292155603647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762042783,"filename":"image_15122025_02_15_54_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/93a5dd1facb12c87553c2e4759f4db96.jpg","text":"TemporaryFile(/tmp/multipartBody2959993227985773596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762042783,"filename":"image_15122025_02_16_24_9595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425232","file1":"1399425231","file0":"1399425230","file4":"1399425234","file5":"1399425241","file3":"1399425233"},"map_files_photo_id_array":[{"photo_id":"1399425241","filename":"file5"},{"photo_id":"1399425232","filename":"file2"},{"photo_id":"1399425234","filename":"file4"},{"photo_id":"1399425231","filename":"file1"},{"photo_id":"1399425230","filename":"file0"},{"photo_id":"1399425233","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425231":["hashtag1","hashtag2"]},{"1399425234":["hashtag1","hashtag2"]},{"1399425233":["hashtag1","hashtag2"]},{"1399425230":["hashtag1","hashtag2"]},{"1399425232":["hashtag1","hashtag2"]},{"1399425241":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425231, 1399425234, 1399425233, 1399425230, 1399425232, 1399425241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65869140625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 02:27:03.228785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/16/image_15122025_02_16_34_9621.jpg', '/home/pi/Desktop/images/15122025/02/16/image_15122025_02_16_44_10613.jpg', '/home/pi/Desktop/images/15122025/02/16/image_15122025_02_17_04_9621.jpg', '/home/pi/Desktop/images/15122025/02/17/image_15122025_02_17_24_9754.jpg', '/home/pi/Desktop/images/15122025/02/17/image_15122025_02_17_34_9645.jpg', '/home/pi/Desktop/images/15122025/02/17/image_15122025_02_17_45_10756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/16/image_15122025_02_16_34_9621.jpg
/home/pi/Desktop/images/15122025/02/16/image_15122025_02_16_44_10613.jpg
/home/pi/Desktop/images/15122025/02/16/image_15122025_02_17_04_9621.jpg
/home/pi/Desktop/images/15122025/02/17/image_15122025_02_17_24_9754.jpg
/home/pi/Desktop/images/15122025/02/17/image_15122025_02_17_34_9645.jpg
/home/pi/Desktop/images/15122025/02/17/image_15122025_02_17_45_10756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425243","1399425246","1399425245","1399425242","1399425244","1399425247"],"photo_ids_order":["1399425242","1399425243","1399425244","1399425245","1399425246","1399425247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0f848459819dc37d0baf9e6aa026eab6.jpg","text":"TemporaryFile(/tmp/multipartBody3891247058423132247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762083933,"filename":"image_15122025_02_16_44_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/15/4cfd2a09f7fe4a094a0d6624add997fe.jpg","text":"TemporaryFile(/tmp/multipartBody7259129023349722153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762083933,"filename":"image_15122025_02_17_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/15/98366b76683c63e1b963d929ed6b0a11.jpg","text":"TemporaryFile(/tmp/multipartBody5299307560955681323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762083933,"filename":"image_15122025_02_17_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/15/f7e5ccf02d59475606fe2837d8cd7aa4.jpg","text":"TemporaryFile(/tmp/multipartBody7818833468482703835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762083933,"filename":"image_15122025_02_16_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/15/a6b270e57f6b3d35c49befeffe207e47.jpg","text":"TemporaryFile(/tmp/multipartBody881444799396412200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762083933,"filename":"image_15122025_02_17_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/15/2a4e765fbc7dee3bbd8015b83b73928f.jpg","text":"TemporaryFile(/tmp/multipartBody2809799357517796223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762083933,"filename":"image_15122025_02_17_45_10756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425244","file1":"1399425243","file0":"1399425242","file4":"1399425246","file5":"1399425247","file3":"1399425245"},"map_files_photo_id_array":[{"photo_id":"1399425247","filename":"file5"},{"photo_id":"1399425244","filename":"file2"},{"photo_id":"1399425246","filename":"file4"},{"photo_id":"1399425243","filename":"file1"},{"photo_id":"1399425242","filename":"file0"},{"photo_id":"1399425245","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425243":["hashtag1","hashtag2"]},{"1399425246":["hashtag1","hashtag2"]},{"1399425245":["hashtag1","hashtag2"]},{"1399425242":["hashtag1","hashtag2"]},{"1399425244":["hashtag1","hashtag2"]},{"1399425247":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425243, 1399425246, 1399425245, 1399425242, 1399425244, 1399425247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88648200035095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 02:27:42.402973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/41/image_05112025_12_41_28_2674.jpg', '/home/pi/Desktop/images/05112025/12/41/image_05112025_12_41_31_3646.jpg', '/home/pi/Desktop/images/05112025/12/41/image_05112025_12_41_54_23167.jpg', '/home/pi/Desktop/images/05112025/12/42/image_05112025_12_42_18_23611.jpg', '/home/pi/Desktop/images/05112025/12/42/image_05112025_12_42_20_1618.jpg', '/home/pi/Desktop/images/05112025/12/42/image_05112025_12_42_21_1773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/41/image_05112025_12_41_28_2674.jpg
/home/pi/Desktop/images/05112025/12/41/image_05112025_12_41_31_3646.jpg
/home/pi/Desktop/images/05112025/12/41/image_05112025_12_41_54_23167.jpg
/home/pi/Desktop/images/05112025/12/42/image_05112025_12_42_18_23611.jpg
/home/pi/Desktop/images/05112025/12/42/image_05112025_12_42_20_1618.jpg
/home/pi/Desktop/images/05112025/12/42/image_05112025_12_42_21_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":["1399425249","1399425252","1399425251","1399425248","1399425250","1399425253"],"photo_ids_order":["1399425248","1399425249","1399425250","1399425251","1399425252","1399425253"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c66f9564cfdc6bfdd3df4d2859f159f8.jpg","text":"TemporaryFile(/tmp/multipartBody3991978650763830681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762123102,"filename":"image_05112025_12_41_31_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3b5d36fca387334fa4e947092f28e7df.jpg","text":"TemporaryFile(/tmp/multipartBody927221669168011774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762123102,"filename":"image_05112025_12_42_20_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/15/bb0d75f0d4865c618ebe1d61d3ccd1a9.jpg","text":"TemporaryFile(/tmp/multipartBody1392719913474195431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762123102,"filename":"image_05112025_12_42_18_23611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fe2388111822ffc752227a0e6e63496d.jpg","text":"TemporaryFile(/tmp/multipartBody184429349248685488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762123102,"filename":"image_05112025_12_41_28_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/15/f3b77a8a57c37e5f03fe1faaa971604a.jpg","text":"TemporaryFile(/tmp/multipartBody8613135605344336389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762123102,"filename":"image_05112025_12_41_54_23167.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/176477e3bdc83bfcdecf5d17fe3d9cb6.jpg","text":"TemporaryFile(/tmp/multipartBody8402302474312839716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762123102,"filename":"image_05112025_12_42_21_1773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425250","file1":"1399425249","file0":"1399425248","file4":"1399425252","file5":"1399425253","file3":"1399425251"},"map_files_photo_id_array":[{"photo_id":"1399425253","filename":"file5"},{"photo_id":"1399425250","filename":"file2"},{"photo_id":"1399425252","filename":"file4"},{"photo_id":"1399425249","filename":"file1"},{"photo_id":"1399425248","filename":"file0"},{"photo_id":"1399425251","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399425249":["hashtag1","hashtag2"]},{"1399425252":["hashtag1","hashtag2"]},{"1399425251":["hashtag1","hashtag2"]},{"1399425248":["hashtag1","hashtag2"]},{"1399425250":["hashtag1","hashtag2"]},{"1399425253":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399425249, 1399425252, 1399425251, 1399425248, 1399425250, 1399425253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5912880897522 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 02:28:22.653490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/17/image_15122025_02_17_54_9682.jpg', '/home/pi/Desktop/images/15122025/02/17/image_15122025_02_18_04_9607.jpg', '/home/pi/Desktop/images/15122025/02/18/image_15122025_02_18_14_9777.jpg', '/home/pi/Desktop/images/15122025/02/18/image_15122025_02_18_34_9630.jpg', '/home/pi/Desktop/images/15122025/02/18/image_15122025_02_18_44_9680.jpg', '/home/pi/Desktop/images/15122025/02/18/image_15122025_02_18_54_10689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/17/image_15122025_02_17_54_9682.jpg
/home/pi/Desktop/images/15122025/02/17/image_15122025_02_18_04_9607.jpg
/home/pi/Desktop/images/15122025/02/18/image_15122025_02_18_14_9777.jpg
/home/pi/Desktop/images/15122025/02/18/image_15122025_02_18_34_9630.jpg
/home/pi/Desktop/images/15122025/02/18/image_15122025_02_18_44_9680.jpg
/home/pi/Desktop/images/15122025/02/18/image_15122025_02_18_54_10689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425255","1399425258","1399425254","1399425257","1399425256","1399425259"],"photo_ids_order":["1399425254","1399425255","1399425256","1399425257","1399425258","1399425259"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fdb49bebbce0b186ec5f20fac8ae9229.jpg","text":"TemporaryFile(/tmp/multipartBody8882912891139808363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762163302,"filename":"image_15122025_02_18_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/15/d5bf7a3a357416226fff06bec6dad52b.jpg","text":"TemporaryFile(/tmp/multipartBody538964094195381224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762163302,"filename":"image_15122025_02_18_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/15/56c22a3afe3025eca1d0ffe6dd6a74b4.jpg","text":"TemporaryFile(/tmp/multipartBody1933988938097701919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762163302,"filename":"image_15122025_02_17_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/15/f1a3a817fd1384089ce17df98ec6a584.jpg","text":"TemporaryFile(/tmp/multipartBody676811496006068058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762163302,"filename":"image_15122025_02_18_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/15/58be2fcb12184547fe35e9063cee1553.jpg","text":"TemporaryFile(/tmp/multipartBody7777916193775664901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762163302,"filename":"image_15122025_02_18_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/15/27e6bdd36e39abd7dae699d793106ef9.jpg","text":"TemporaryFile(/tmp/multipartBody8419994425475486628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762163302,"filename":"image_15122025_02_18_54_10689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425256","file1":"1399425255","file0":"1399425254","file4":"1399425258","file5":"1399425259","file3":"1399425257"},"map_files_photo_id_array":[{"photo_id":"1399425259","filename":"file5"},{"photo_id":"1399425256","filename":"file2"},{"photo_id":"1399425258","filename":"file4"},{"photo_id":"1399425255","filename":"file1"},{"photo_id":"1399425254","filename":"file0"},{"photo_id":"1399425257","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425255":["hashtag1","hashtag2"]},{"1399425258":["hashtag1","hashtag2"]},{"1399425254":["hashtag1","hashtag2"]},{"1399425257":["hashtag1","hashtag2"]},{"1399425256":["hashtag1","hashtag2"]},{"1399425259":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425255, 1399425258, 1399425254, 1399425257, 1399425256, 1399425259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47080445289612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 02:29:02.870161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/18/image_15122025_02_19_04_9603.jpg', '/home/pi/Desktop/images/15122025/02/19/image_15122025_02_19_14_9730.jpg', '/home/pi/Desktop/images/15122025/02/19/image_15122025_02_19_25_10784.jpg', '/home/pi/Desktop/images/15122025/02/19/image_15122025_02_19_34_9791.jpg', '/home/pi/Desktop/images/15122025/02/19/image_15122025_02_19_44_9896.jpg', '/home/pi/Desktop/images/15122025/02/19/image_15122025_02_19_54_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/18/image_15122025_02_19_04_9603.jpg
/home/pi/Desktop/images/15122025/02/19/image_15122025_02_19_14_9730.jpg
/home/pi/Desktop/images/15122025/02/19/image_15122025_02_19_25_10784.jpg
/home/pi/Desktop/images/15122025/02/19/image_15122025_02_19_34_9791.jpg
/home/pi/Desktop/images/15122025/02/19/image_15122025_02_19_44_9896.jpg
/home/pi/Desktop/images/15122025/02/19/image_15122025_02_19_54_9681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425261","1399425264","1399425266","1399425260","1399425262","1399425265"],"photo_ids_order":["1399425260","1399425261","1399425262","1399425264","1399425265","1399425266"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d37ef2575d483db03ca3b1a2669c3420.jpg","text":"TemporaryFile(/tmp/multipartBody5386850012293921224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762203632,"filename":"image_15122025_02_19_14_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f245efd5bb490da9dd58bfa37bd562eb.jpg","text":"TemporaryFile(/tmp/multipartBody7945033430208260974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762203632,"filename":"image_15122025_02_19_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/15/ba8016592142da7fce6fb34661bcf489.jpg","text":"TemporaryFile(/tmp/multipartBody3633301742984078001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762203632,"filename":"image_15122025_02_19_54_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2694dae078fb6a54c26cf504fbbc44d4.jpg","text":"TemporaryFile(/tmp/multipartBody8171881942455440991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762203632,"filename":"image_15122025_02_19_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/15/417e09bec85bca226e74ce8f4296a8bc.jpg","text":"TemporaryFile(/tmp/multipartBody7384031856602825116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762203632,"filename":"image_15122025_02_19_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/15/bff263a2df138cfed1ef8a0f9da10362.jpg","text":"TemporaryFile(/tmp/multipartBody8661153729476886241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762203632,"filename":"image_15122025_02_19_44_9896.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425262","file1":"1399425261","file0":"1399425260","file4":"1399425265","file5":"1399425266","file3":"1399425264"},"map_files_photo_id_array":[{"photo_id":"1399425266","filename":"file5"},{"photo_id":"1399425262","filename":"file2"},{"photo_id":"1399425265","filename":"file4"},{"photo_id":"1399425261","filename":"file1"},{"photo_id":"1399425260","filename":"file0"},{"photo_id":"1399425264","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425261":["hashtag1","hashtag2"]},{"1399425264":["hashtag1","hashtag2"]},{"1399425266":["hashtag1","hashtag2"]},{"1399425260":["hashtag1","hashtag2"]},{"1399425262":["hashtag1","hashtag2"]},{"1399425265":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425261, 1399425264, 1399425266, 1399425260, 1399425262, 1399425265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.420408964157104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 02:29:41.962441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/42/image_05112025_12_42_23_1625.jpg', '/home/pi/Desktop/images/05112025/12/42/image_05112025_12_42_25_1818.jpg', '/home/pi/Desktop/images/05112025/12/42/image_05112025_12_42_26_1523.jpg', '/home/pi/Desktop/images/05112025/12/42/image_05112025_12_42_28_1732.jpg', '/home/pi/Desktop/images/05112025/12/42/image_05112025_12_42_30_1626.jpg', '/home/pi/Desktop/images/05112025/12/42/image_05112025_12_42_31_1651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/42/image_05112025_12_42_23_1625.jpg
/home/pi/Desktop/images/05112025/12/42/image_05112025_12_42_25_1818.jpg
/home/pi/Desktop/images/05112025/12/42/image_05112025_12_42_26_1523.jpg
/home/pi/Desktop/images/05112025/12/42/image_05112025_12_42_28_1732.jpg
/home/pi/Desktop/images/05112025/12/42/image_05112025_12_42_30_1626.jpg
/home/pi/Desktop/images/05112025/12/42/image_05112025_12_42_31_1651.jpg
 val : 1 : upload photos 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":["1399425273","1399425276","1399425275","1399425274","1399425277","1399425268"],"photo_ids_order":["1399425268","1399425273","1399425274","1399425275","1399425276","1399425277"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cf27eb749711acadd825141f8a2039e7.jpg","text":"TemporaryFile(/tmp/multipartBody3018733363300774916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762242666,"filename":"image_05112025_12_42_25_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/15/a8d0148619b6ca1ac7bd87fb632f56ee.jpg","text":"TemporaryFile(/tmp/multipartBody8322819131652244705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762242666,"filename":"image_05112025_12_42_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/15/d7eb479c19d4c6db2d477f63636f8f35.jpg","text":"TemporaryFile(/tmp/multipartBody6112998237174931276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762242666,"filename":"image_05112025_12_42_28_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/15/24a00d6df98aaaa15b5254f46897c73f.jpg","text":"TemporaryFile(/tmp/multipartBody1239670116335847078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762242666,"filename":"image_05112025_12_42_26_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/15/2e92a995f767a614f709aadbb0ac578a.jpg","text":"TemporaryFile(/tmp/multipartBody6433645325574085528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762242666,"filename":"image_05112025_12_42_31_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/15/7bf9e666c46f9814ac2f5989115f9bfe.jpg","text":"TemporaryFile(/tmp/multipartBody6115172989629028975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762242666,"filename":"image_05112025_12_42_23_1625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425274","file1":"1399425273","file0":"1399425268","file4":"1399425276","file5":"1399425277","file3":"1399425275"},"map_files_photo_id_array":[{"photo_id":"1399425277","filename":"file5"},{"photo_id":"1399425274","filename":"file2"},{"photo_id":"1399425276","filename":"file4"},{"photo_id":"1399425273","filename":"file1"},{"photo_id":"1399425268","filename":"file0"},{"photo_id":"1399425275","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399425273":["hashtag1","hashtag2"]},{"1399425276":["hashtag1","hashtag2"]},{"1399425275":["hashtag1","hashtag2"]},{"1399425274":["hashtag1","hashtag2"]},{"1399425277":["hashtag1","hashtag2"]},{"1399425268":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399425273, 1399425276, 1399425275, 1399425274, 1399425277, 1399425268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.9432122707367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 02:31:03.221199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/19/image_15122025_02_20_05_10603.jpg', '/home/pi/Desktop/images/15122025/02/20/image_15122025_02_20_14_9661.jpg', '/home/pi/Desktop/images/15122025/02/20/image_15122025_02_20_24_9738.jpg', '/home/pi/Desktop/images/15122025/02/20/image_15122025_02_20_35_10689.jpg', '/home/pi/Desktop/images/15122025/02/20/image_15122025_02_20_44_9692.jpg', '/home/pi/Desktop/images/15122025/02/20/image_15122025_02_20_54_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/19/image_15122025_02_20_05_10603.jpg
/home/pi/Desktop/images/15122025/02/20/image_15122025_02_20_14_9661.jpg
/home/pi/Desktop/images/15122025/02/20/image_15122025_02_20_24_9738.jpg
/home/pi/Desktop/images/15122025/02/20/image_15122025_02_20_35_10689.jpg
/home/pi/Desktop/images/15122025/02/20/image_15122025_02_20_44_9692.jpg
/home/pi/Desktop/images/15122025/02/20/image_15122025_02_20_54_9750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425279","1399425282","1399425281","1399425278","1399425280","1399425283"],"photo_ids_order":["1399425278","1399425279","1399425280","1399425281","1399425282","1399425283"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5c6cb255729c45f9a9265474baafabb2.jpg","text":"TemporaryFile(/tmp/multipartBody1174397737859620555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762323899,"filename":"image_15122025_02_20_14_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/53dd9fe4e89737528c9bec158197fad0.jpg","text":"TemporaryFile(/tmp/multipartBody4427521643058318849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762323899,"filename":"image_15122025_02_20_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/15/19e367e86c7fa61be62f5fab79612ae3.jpg","text":"TemporaryFile(/tmp/multipartBody9026314400677463225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762323899,"filename":"image_15122025_02_20_35_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/976ab8a4d91a9543ee3c17b35a2d2c79.jpg","text":"TemporaryFile(/tmp/multipartBody6396059532865474573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762323899,"filename":"image_15122025_02_20_05_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9b8df07b9309436ce0438bc27b15e77e.jpg","text":"TemporaryFile(/tmp/multipartBody8536087018703844239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762323899,"filename":"image_15122025_02_20_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/15/9306d2784e67fb60839001e6d83b7f68.jpg","text":"TemporaryFile(/tmp/multipartBody5329315392310593709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762323899,"filename":"image_15122025_02_20_54_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425280","file1":"1399425279","file0":"1399425278","file4":"1399425282","file5":"1399425283","file3":"1399425281"},"map_files_photo_id_array":[{"photo_id":"1399425283","filename":"file5"},{"photo_id":"1399425280","filename":"file2"},{"photo_id":"1399425282","filename":"file4"},{"photo_id":"1399425279","filename":"file1"},{"photo_id":"1399425278","filename":"file0"},{"photo_id":"1399425281","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425279":["hashtag1","hashtag2"]},{"1399425282":["hashtag1","hashtag2"]},{"1399425281":["hashtag1","hashtag2"]},{"1399425278":["hashtag1","hashtag2"]},{"1399425280":["hashtag1","hashtag2"]},{"1399425283":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425279, 1399425282, 1399425281, 1399425278, 1399425280, 1399425283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35846757888794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 02:31:42.404388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/42/image_05112025_12_42_41_9681.jpg', '/home/pi/Desktop/images/05112025/12/42/image_05112025_12_42_44_2985.jpg', '/home/pi/Desktop/images/05112025/12/42/image_05112025_12_42_46_1723.jpg', '/home/pi/Desktop/images/05112025/12/42/image_05112025_12_42_47_1705.jpg', '/home/pi/Desktop/images/05112025/12/42/image_05112025_12_42_49_1652.jpg', '/home/pi/Desktop/images/05112025/12/42/image_05112025_12_42_51_1625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/42/image_05112025_12_42_41_9681.jpg
/home/pi/Desktop/images/05112025/12/42/image_05112025_12_42_44_2985.jpg
/home/pi/Desktop/images/05112025/12/42/image_05112025_12_42_46_1723.jpg
/home/pi/Desktop/images/05112025/12/42/image_05112025_12_42_47_1705.jpg
/home/pi/Desktop/images/05112025/12/42/image_05112025_12_42_49_1652.jpg
/home/pi/Desktop/images/05112025/12/42/image_05112025_12_42_51_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":["1399425285","1399425288","1399425284","1399425287","1399425289","1399425286"],"photo_ids_order":["1399425284","1399425285","1399425286","1399425287","1399425288","1399425289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b04eb1f713cfd7486a390d449c6dbfb4.jpg","text":"TemporaryFile(/tmp/multipartBody5172440124433655492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762363114,"filename":"image_05112025_12_42_44_2985.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e97fe1dc8c93799e7bc01352f19bcf15.jpg","text":"TemporaryFile(/tmp/multipartBody3229593421261404212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762363114,"filename":"image_05112025_12_42_49_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/15/b4c7176b265fe0c95090fc8aea994fd5.jpg","text":"TemporaryFile(/tmp/multipartBody8503038233575159029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762363114,"filename":"image_05112025_12_42_41_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/15/12d4040694d143738a876c51c9ece828.jpg","text":"TemporaryFile(/tmp/multipartBody7113470055181650709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762363114,"filename":"image_05112025_12_42_47_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/15/76499614799d472eafd137b8aa570a97.jpg","text":"TemporaryFile(/tmp/multipartBody1047412480273927742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762363114,"filename":"image_05112025_12_42_51_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/15/7828a4bea9af7cd5eaeef6afeb6d29a4.jpg","text":"TemporaryFile(/tmp/multipartBody513524993365424483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762363114,"filename":"image_05112025_12_42_46_1723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425286","file1":"1399425285","file0":"1399425284","file4":"1399425288","file5":"1399425289","file3":"1399425287"},"map_files_photo_id_array":[{"photo_id":"1399425289","filename":"file5"},{"photo_id":"1399425286","filename":"file2"},{"photo_id":"1399425288","filename":"file4"},{"photo_id":"1399425285","filename":"file1"},{"photo_id":"1399425284","filename":"file0"},{"photo_id":"1399425287","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399425285":["hashtag1","hashtag2"]},{"1399425288":["hashtag1","hashtag2"]},{"1399425284":["hashtag1","hashtag2"]},{"1399425287":["hashtag1","hashtag2"]},{"1399425289":["hashtag1","hashtag2"]},{"1399425286":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399425285, 1399425288, 1399425284, 1399425287, 1399425289, 1399425286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.378703117370605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 02:32:22.687416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/20/image_15122025_02_21_04_9647.jpg', '/home/pi/Desktop/images/15122025/02/21/image_15122025_02_21_15_10889.jpg', '/home/pi/Desktop/images/15122025/02/21/image_15122025_02_21_24_9645.jpg', '/home/pi/Desktop/images/15122025/02/21/image_15122025_02_21_34_9667.jpg', '/home/pi/Desktop/images/15122025/02/21/image_15122025_02_21_44_9817.jpg', '/home/pi/Desktop/images/15122025/02/21/image_15122025_02_22_04_9579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/20/image_15122025_02_21_04_9647.jpg
/home/pi/Desktop/images/15122025/02/21/image_15122025_02_21_15_10889.jpg
/home/pi/Desktop/images/15122025/02/21/image_15122025_02_21_24_9645.jpg
/home/pi/Desktop/images/15122025/02/21/image_15122025_02_21_34_9667.jpg
/home/pi/Desktop/images/15122025/02/21/image_15122025_02_21_44_9817.jpg
/home/pi/Desktop/images/15122025/02/21/image_15122025_02_22_04_9579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425291","1399425294","1399425290","1399425293","1399425292","1399425295"],"photo_ids_order":["1399425290","1399425291","1399425292","1399425293","1399425294","1399425295"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8659c07aa6d03ee8cc2795ec1f849e9b.jpg","text":"TemporaryFile(/tmp/multipartBody3600936233141797621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762403339,"filename":"image_15122025_02_21_15_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/15/5df25a746f22a6e1729d1a581ff6b1d6.jpg","text":"TemporaryFile(/tmp/multipartBody6624878490436842681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762403339,"filename":"image_15122025_02_21_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/15/0bf29c24275dbc6cdada1f92b6b267aa.jpg","text":"TemporaryFile(/tmp/multipartBody7903204072613521818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762403339,"filename":"image_15122025_02_21_04_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a1e36f0044a8c2c116fe330593df6f40.jpg","text":"TemporaryFile(/tmp/multipartBody6397689262415867421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762403339,"filename":"image_15122025_02_21_34_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8e12794d256afe29d9541fd19088ef59.jpg","text":"TemporaryFile(/tmp/multipartBody2882881828000597770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762403339,"filename":"image_15122025_02_21_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/15/9197d256f06a950e8a6538f44e49f080.jpg","text":"TemporaryFile(/tmp/multipartBody4267069670726149554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762403339,"filename":"image_15122025_02_22_04_9579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425292","file1":"1399425291","file0":"1399425290","file4":"1399425294","file5":"1399425295","file3":"1399425293"},"map_files_photo_id_array":[{"photo_id":"1399425295","filename":"file5"},{"photo_id":"1399425292","filename":"file2"},{"photo_id":"1399425294","filename":"file4"},{"photo_id":"1399425291","filename":"file1"},{"photo_id":"1399425290","filename":"file0"},{"photo_id":"1399425293","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425291":["hashtag1","hashtag2"]},{"1399425294":["hashtag1","hashtag2"]},{"1399425290":["hashtag1","hashtag2"]},{"1399425293":["hashtag1","hashtag2"]},{"1399425292":["hashtag1","hashtag2"]},{"1399425295":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425291, 1399425294, 1399425290, 1399425293, 1399425292, 1399425295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85114932060242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 02:33:02.468766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/22/image_15122025_02_22_14_9604.jpg', '/home/pi/Desktop/images/15122025/02/22/image_15122025_02_22_24_10690.jpg', '/home/pi/Desktop/images/15122025/02/22/image_15122025_02_22_34_9644.jpg', '/home/pi/Desktop/images/15122025/02/22/image_15122025_02_22_44_9704.jpg', '/home/pi/Desktop/images/15122025/02/22/image_15122025_02_22_54_10654.jpg', '/home/pi/Desktop/images/15122025/02/22/image_15122025_02_23_04_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/22/image_15122025_02_22_14_9604.jpg
/home/pi/Desktop/images/15122025/02/22/image_15122025_02_22_24_10690.jpg
/home/pi/Desktop/images/15122025/02/22/image_15122025_02_22_34_9644.jpg
/home/pi/Desktop/images/15122025/02/22/image_15122025_02_22_44_9704.jpg
/home/pi/Desktop/images/15122025/02/22/image_15122025_02_22_54_10654.jpg
/home/pi/Desktop/images/15122025/02/22/image_15122025_02_23_04_9614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425301","1399425304","1399425303","1399425300","1399425302","1399425305"],"photo_ids_order":["1399425300","1399425301","1399425302","1399425303","1399425304","1399425305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a7fb63a3c903e615c54775f332aa3b62.jpg","text":"TemporaryFile(/tmp/multipartBody4035589685169436350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762443133,"filename":"image_15122025_02_22_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/15/bc6b1b1a7e7ec22e49a7950cfa83a2cd.jpg","text":"TemporaryFile(/tmp/multipartBody259435855258003892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762443133,"filename":"image_15122025_02_22_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/15/0aa656b9e4776630c858404ac9c6bc8c.jpg","text":"TemporaryFile(/tmp/multipartBody8759692719351584954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762443133,"filename":"image_15122025_02_22_44_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3837d47d93f3a698bb98e2baa0601f3e.jpg","text":"TemporaryFile(/tmp/multipartBody5166635853207560267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762443133,"filename":"image_15122025_02_22_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/15/0981fd7d49696b061cf8bb0264b14113.jpg","text":"TemporaryFile(/tmp/multipartBody963527884980149956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762443133,"filename":"image_15122025_02_22_34_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/46a14850924e9dab30c8b7d930496cb5.jpg","text":"TemporaryFile(/tmp/multipartBody7016899483448723966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762443133,"filename":"image_15122025_02_23_04_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425302","file1":"1399425301","file0":"1399425300","file4":"1399425304","file5":"1399425305","file3":"1399425303"},"map_files_photo_id_array":[{"photo_id":"1399425305","filename":"file5"},{"photo_id":"1399425302","filename":"file2"},{"photo_id":"1399425304","filename":"file4"},{"photo_id":"1399425301","filename":"file1"},{"photo_id":"1399425300","filename":"file0"},{"photo_id":"1399425303","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425301":["hashtag1","hashtag2"]},{"1399425304":["hashtag1","hashtag2"]},{"1399425303":["hashtag1","hashtag2"]},{"1399425300":["hashtag1","hashtag2"]},{"1399425302":["hashtag1","hashtag2"]},{"1399425305":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425301, 1399425304, 1399425303, 1399425300, 1399425302, 1399425305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.475831508636475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 02:33:41.848752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/42/image_05112025_12_42_52_1724.jpg', '/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_03_10214.jpg', '/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_04_1813.jpg', '/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_06_1650.jpg', '/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_08_1544.jpg', '/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_09_1620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/42/image_05112025_12_42_52_1724.jpg
/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_03_10214.jpg
/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_04_1813.jpg
/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_06_1650.jpg
/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_08_1544.jpg
/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_09_1620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425306","1399425309","1399425308","1399425311","1399425310","1399425307"],"photo_ids_order":["1399425306","1399425307","1399425308","1399425309","1399425310","1399425311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d1e9996f8c68571715681f2fe603dd28.jpg","text":"TemporaryFile(/tmp/multipartBody7721477965810370003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762482565,"filename":"image_05112025_12_42_52_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/15/d3effa23ccff06f18f21e7b28c2f2e2e.jpg","text":"TemporaryFile(/tmp/multipartBody4553342548940743164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762482565,"filename":"image_05112025_12_43_06_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/15/38f19c3356bd32f5c2cd3f9418875446.jpg","text":"TemporaryFile(/tmp/multipartBody3647439382861074564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762482565,"filename":"image_05112025_12_43_04_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/15/869bd104dece1002f360f09d26a9abf8.jpg","text":"TemporaryFile(/tmp/multipartBody6116136608984919919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762482565,"filename":"image_05112025_12_43_09_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/15/6ecf5cc97b7b9b1a4679108eb6a5f1eb.jpg","text":"TemporaryFile(/tmp/multipartBody792028783365691022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762482565,"filename":"image_05112025_12_43_08_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/15/d02756590a420b7fabf4ad93a277cc99.jpg","text":"TemporaryFile(/tmp/multipartBody7013089023653295756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762482565,"filename":"image_05112025_12_43_03_10214.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425308","file1":"1399425307","file0":"1399425306","file4":"1399425310","file5":"1399425311","file3":"1399425309"},"map_files_photo_id_array":[{"photo_id":"1399425311","filename":"file5"},{"photo_id":"1399425308","filename":"file2"},{"photo_id":"1399425310","filename":"file4"},{"photo_id":"1399425307","filename":"file1"},{"photo_id":"1399425306","filename":"file0"},{"photo_id":"1399425309","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399425306":["hashtag1","hashtag2"]},{"1399425309":["hashtag1","hashtag2"]},{"1399425308":["hashtag1","hashtag2"]},{"1399425311":["hashtag1","hashtag2"]},{"1399425310":["hashtag1","hashtag2"]},{"1399425307":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399425306, 1399425309, 1399425308, 1399425311, 1399425310, 1399425307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33722734451294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 02:34:22.075569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/23/image_15122025_02_23_15_10655.jpg', '/home/pi/Desktop/images/15122025/02/23/image_15122025_02_23_24_9719.jpg', '/home/pi/Desktop/images/15122025/02/23/image_15122025_02_23_34_9766.jpg', '/home/pi/Desktop/images/15122025/02/23/image_15122025_02_23_44_9700.jpg', '/home/pi/Desktop/images/15122025/02/23/image_15122025_02_23_55_10733.jpg', '/home/pi/Desktop/images/15122025/02/23/image_15122025_02_24_04_9765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/23/image_15122025_02_23_15_10655.jpg
/home/pi/Desktop/images/15122025/02/23/image_15122025_02_23_24_9719.jpg
/home/pi/Desktop/images/15122025/02/23/image_15122025_02_23_34_9766.jpg
/home/pi/Desktop/images/15122025/02/23/image_15122025_02_23_44_9700.jpg
/home/pi/Desktop/images/15122025/02/23/image_15122025_02_23_55_10733.jpg
/home/pi/Desktop/images/15122025/02/23/image_15122025_02_24_04_9765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425316","1399425312","1399425315","1399425314","1399425317","1399425313"],"photo_ids_order":["1399425312","1399425313","1399425314","1399425315","1399425316","1399425317"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c0d9e565a89e1b64bbe24dcb6a1c5e45.jpg","text":"TemporaryFile(/tmp/multipartBody8585088059007291653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762522691,"filename":"image_15122025_02_23_55_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bdfee1afda64e0e21e4970ea5629a945.jpg","text":"TemporaryFile(/tmp/multipartBody5144756281955799335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762522691,"filename":"image_15122025_02_23_15_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/34712f490018a4fed628a6f5b7ce8ef5.jpg","text":"TemporaryFile(/tmp/multipartBody7392621755238450823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762522691,"filename":"image_15122025_02_23_44_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8c4c2bfc886b4846af82334b00e3c4b1.jpg","text":"TemporaryFile(/tmp/multipartBody5366978220290763666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762522691,"filename":"image_15122025_02_23_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/15/486ed439c93e0844bf4be203e09c17f8.jpg","text":"TemporaryFile(/tmp/multipartBody1214788034736804082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762522691,"filename":"image_15122025_02_24_04_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c61a3d7b39b4ff3bf070561516c4809b.jpg","text":"TemporaryFile(/tmp/multipartBody8719226874758489226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762522691,"filename":"image_15122025_02_23_24_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425314","file1":"1399425313","file0":"1399425312","file4":"1399425316","file5":"1399425317","file3":"1399425315"},"map_files_photo_id_array":[{"photo_id":"1399425317","filename":"file5"},{"photo_id":"1399425314","filename":"file2"},{"photo_id":"1399425316","filename":"file4"},{"photo_id":"1399425313","filename":"file1"},{"photo_id":"1399425312","filename":"file0"},{"photo_id":"1399425315","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425316":["hashtag1","hashtag2"]},{"1399425312":["hashtag1","hashtag2"]},{"1399425315":["hashtag1","hashtag2"]},{"1399425314":["hashtag1","hashtag2"]},{"1399425317":["hashtag1","hashtag2"]},{"1399425313":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425316, 1399425312, 1399425315, 1399425314, 1399425317, 1399425313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.030574321746826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 02:35:02.758805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/24/image_15122025_02_24_14_9600.jpg', '/home/pi/Desktop/images/15122025/02/24/image_15122025_02_24_24_9888.jpg', '/home/pi/Desktop/images/15122025/02/24/image_15122025_02_24_35_10629.jpg', '/home/pi/Desktop/images/15122025/02/24/image_15122025_02_24_44_9759.jpg', '/home/pi/Desktop/images/15122025/02/24/image_15122025_02_24_54_9678.jpg', '/home/pi/Desktop/images/15122025/02/24/image_15122025_02_25_05_10624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/24/image_15122025_02_24_14_9600.jpg
/home/pi/Desktop/images/15122025/02/24/image_15122025_02_24_24_9888.jpg
/home/pi/Desktop/images/15122025/02/24/image_15122025_02_24_35_10629.jpg
/home/pi/Desktop/images/15122025/02/24/image_15122025_02_24_44_9759.jpg
/home/pi/Desktop/images/15122025/02/24/image_15122025_02_24_54_9678.jpg
/home/pi/Desktop/images/15122025/02/24/image_15122025_02_25_05_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":["1399425322","1399425321","1399425318","1399425320","1399425323","1399425319"],"photo_ids_order":["1399425318","1399425319","1399425320","1399425321","1399425322","1399425323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/00a44bcd465c57506074448385dbae46.jpg","text":"TemporaryFile(/tmp/multipartBody6457550217245020426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762563422,"filename":"image_15122025_02_24_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/15/082aa5c37c26ceed1db0568e2058e800.jpg","text":"TemporaryFile(/tmp/multipartBody1879849616893855434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762563422,"filename":"image_15122025_02_24_44_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1985a01cb87985f9ca3f2919e775e690.jpg","text":"TemporaryFile(/tmp/multipartBody1771706654376886540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762563422,"filename":"image_15122025_02_24_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/15/f97c92cc2118b630edb67b044c50c1f6.jpg","text":"TemporaryFile(/tmp/multipartBody3689889257606603662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762563422,"filename":"image_15122025_02_24_35_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9760bfd00cfe2f29edf377780d5986cd.jpg","text":"TemporaryFile(/tmp/multipartBody8612867427172386666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762563422,"filename":"image_15122025_02_25_05_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a177dff4ac247eac22f93fd48a21fc62.jpg","text":"TemporaryFile(/tmp/multipartBody8145570038445426982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762563422,"filename":"image_15122025_02_24_24_9888.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425320","file1":"1399425319","file0":"1399425318","file4":"1399425322","file5":"1399425323","file3":"1399425321"},"map_files_photo_id_array":[{"photo_id":"1399425323","filename":"file5"},{"photo_id":"1399425320","filename":"file2"},{"photo_id":"1399425322","filename":"file4"},{"photo_id":"1399425319","filename":"file1"},{"photo_id":"1399425318","filename":"file0"},{"photo_id":"1399425321","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425322":["hashtag1","hashtag2"]},{"1399425321":["hashtag1","hashtag2"]},{"1399425318":["hashtag1","hashtag2"]},{"1399425320":["hashtag1","hashtag2"]},{"1399425323":["hashtag1","hashtag2"]},{"1399425319":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425322, 1399425321, 1399425318, 1399425320, 1399425323, 1399425319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.849642515182495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 02:35:42.212009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_11_1863.jpg', '/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_13_1638.jpg', '/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_14_1646.jpg', '/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_16_1552.jpg', '/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_18_1839.jpg', '/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_19_1569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_11_1863.jpg
/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_13_1638.jpg
/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_14_1646.jpg
/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_16_1552.jpg
/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_18_1839.jpg
/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_19_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":["1399425330","1399425324","1399425333","1399425332","1399425331","1399425334"],"photo_ids_order":["1399425324","1399425330","1399425331","1399425332","1399425333","1399425334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/aa0547586960661a6764f91fb241605f.jpg","text":"TemporaryFile(/tmp/multipartBody6784222987853502507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762602931,"filename":"image_05112025_12_43_13_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/15/2f652197e22b438ae84c7598b8459cc4.jpg","text":"TemporaryFile(/tmp/multipartBody1157818431388697998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762602931,"filename":"image_05112025_12_43_11_1863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b054336332e7143bf682bdc0ad1fe815.jpg","text":"TemporaryFile(/tmp/multipartBody4552310516302471722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762602931,"filename":"image_05112025_12_43_18_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/15/2c87d04f7e858c01c89dc7cd2f52f4a1.jpg","text":"TemporaryFile(/tmp/multipartBody2817705125066573000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762602931,"filename":"image_05112025_12_43_16_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/15/1ba22e777cc2354b339adc65c415e200.jpg","text":"TemporaryFile(/tmp/multipartBody5100250679282906377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762602931,"filename":"image_05112025_12_43_14_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/15/d9f41648bc53d810ed1ef0386779e6f6.jpg","text":"TemporaryFile(/tmp/multipartBody5523386007927514955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762602931,"filename":"image_05112025_12_43_19_1569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425331","file1":"1399425330","file0":"1399425324","file4":"1399425333","file5":"1399425334","file3":"1399425332"},"map_files_photo_id_array":[{"photo_id":"1399425334","filename":"file5"},{"photo_id":"1399425331","filename":"file2"},{"photo_id":"1399425333","filename":"file4"},{"photo_id":"1399425330","filename":"file1"},{"photo_id":"1399425324","filename":"file0"},{"photo_id":"1399425332","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399425330":["hashtag1","hashtag2"]},{"1399425324":["hashtag1","hashtag2"]},{"1399425333":["hashtag1","hashtag2"]},{"1399425332":["hashtag1","hashtag2"]},{"1399425331":["hashtag1","hashtag2"]},{"1399425334":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399425330, 1399425324, 1399425333, 1399425332, 1399425331, 1399425334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.729557514190674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 02:36:22.482945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/25/image_15122025_02_25_14_9590.jpg', '/home/pi/Desktop/images/15122025/02/25/image_15122025_02_25_24_9824.jpg', '/home/pi/Desktop/images/15122025/02/25/image_15122025_02_25_34_10014.jpg', '/home/pi/Desktop/images/15122025/02/25/image_15122025_02_25_45_10656.jpg', '/home/pi/Desktop/images/15122025/02/25/image_15122025_02_25_54_9719.jpg', '/home/pi/Desktop/images/15122025/02/25/image_15122025_02_26_04_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/25/image_15122025_02_25_14_9590.jpg
/home/pi/Desktop/images/15122025/02/25/image_15122025_02_25_24_9824.jpg
/home/pi/Desktop/images/15122025/02/25/image_15122025_02_25_34_10014.jpg
/home/pi/Desktop/images/15122025/02/25/image_15122025_02_25_45_10656.jpg
/home/pi/Desktop/images/15122025/02/25/image_15122025_02_25_54_9719.jpg
/home/pi/Desktop/images/15122025/02/25/image_15122025_02_26_04_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.5146880149841309 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 02:36:32.526867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_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/54/image_14122025_23_55_04_9823.jpg', '/home/pi/Desktop/images/14122025/23/55/image_14122025_23_55_14_9663.jpg', '/home/pi/Desktop/images/14122025/23/55/image_14122025_23_55_25_10706.jpg', '/home/pi/Desktop/images/14122025/23/55/image_14122025_23_55_44_9601.jpg', '/home/pi/Desktop/images/14122025/23/55/image_14122025_23_55_55_10496.jpg', '/home/pi/Desktop/images/14122025/23/55/image_14122025_23_56_04_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/23/54/image_14122025_23_55_04_9823.jpg
/home/pi/Desktop/images/14122025/23/55/image_14122025_23_55_14_9663.jpg
/home/pi/Desktop/images/14122025/23/55/image_14122025_23_55_25_10706.jpg
/home/pi/Desktop/images/14122025/23/55/image_14122025_23_55_44_9601.jpg
/home/pi/Desktop/images/14122025/23/55/image_14122025_23_55_55_10496.jpg
/home/pi/Desktop/images/14122025/23/55/image_14122025_23_56_04_9565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425342","1399425345","1399425344","1399425338","1399425343","1399425340"],"photo_ids_order":["1399425338","1399425340","1399425342","1399425343","1399425344","1399425345"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4023eb6c7f6c93903966a3a68656a87e.jpg","text":"TemporaryFile(/tmp/multipartBody8132108527863484181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762654175,"filename":"image_14122025_23_55_25_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cd8e3a549dfaf5376f240cece6eee6ce.jpg","text":"TemporaryFile(/tmp/multipartBody3388839846966313534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762654175,"filename":"image_14122025_23_56_04_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b0f11438c95cc08d8369ed98acedf994.jpg","text":"TemporaryFile(/tmp/multipartBody7376087648312963839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762654175,"filename":"image_14122025_23_55_55_10496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/83a96008741c13259fbd06e69ce7ccfa.jpg","text":"TemporaryFile(/tmp/multipartBody3192928074554494502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762654175,"filename":"image_14122025_23_55_04_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/15/03d020ba84f874948f23a09ca30c057f.jpg","text":"TemporaryFile(/tmp/multipartBody7508542944260994424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762654175,"filename":"image_14122025_23_55_44_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/07f1212f889026c025a87ab021ce08f0.jpg","text":"TemporaryFile(/tmp/multipartBody2951810665630683853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762654175,"filename":"image_14122025_23_55_14_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425342","file1":"1399425340","file0":"1399425338","file4":"1399425344","file5":"1399425345","file3":"1399425343"},"map_files_photo_id_array":[{"photo_id":"1399425345","filename":"file5"},{"photo_id":"1399425342","filename":"file2"},{"photo_id":"1399425344","filename":"file4"},{"photo_id":"1399425340","filename":"file1"},{"photo_id":"1399425338","filename":"file0"},{"photo_id":"1399425343","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399425342":["hashtag1","hashtag2"]},{"1399425345":["hashtag1","hashtag2"]},{"1399425344":["hashtag1","hashtag2"]},{"1399425338":["hashtag1","hashtag2"]},{"1399425343":["hashtag1","hashtag2"]},{"1399425340":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399425342, 1399425345, 1399425344, 1399425338, 1399425343, 1399425340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.84336733818054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 02:37:12.587829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_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/56/image_14122025_23_56_14_9639.jpg', '/home/pi/Desktop/images/14122025/23/56/image_14122025_23_56_34_9637.jpg', '/home/pi/Desktop/images/14122025/23/56/image_14122025_23_56_45_10425.jpg', '/home/pi/Desktop/images/14122025/23/56/image_14122025_23_56_54_9653.jpg', '/home/pi/Desktop/images/14122025/23/56/image_14122025_23_57_04_10061.jpg', '/home/pi/Desktop/images/14122025/23/57/image_14122025_23_57_14_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/23/56/image_14122025_23_56_14_9639.jpg
/home/pi/Desktop/images/14122025/23/56/image_14122025_23_56_34_9637.jpg
/home/pi/Desktop/images/14122025/23/56/image_14122025_23_56_45_10425.jpg
/home/pi/Desktop/images/14122025/23/56/image_14122025_23_56_54_9653.jpg
/home/pi/Desktop/images/14122025/23/56/image_14122025_23_57_04_10061.jpg
/home/pi/Desktop/images/14122025/23/57/image_14122025_23_57_14_9630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425348","1399425351","1399425350","1399425347","1399425346","1399425349"],"photo_ids_order":["1399425346","1399425347","1399425348","1399425349","1399425350","1399425351"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5fcfdf22c9d1576042dc24edbdfbdb39.jpg","text":"TemporaryFile(/tmp/multipartBody4810940447850298015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762694133,"filename":"image_14122025_23_56_45_10425.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b7ab7d62dfbf0d36f0fca226e300825c.jpg","text":"TemporaryFile(/tmp/multipartBody7410544544514089865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762694133,"filename":"image_14122025_23_57_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/15/9c1b21519eaa2e87a1d8a26e6fadc8b3.jpg","text":"TemporaryFile(/tmp/multipartBody7489059190005205402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762694133,"filename":"image_14122025_23_57_04_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/15/7589abf98c97bcd9f03acd65b882adab.jpg","text":"TemporaryFile(/tmp/multipartBody1970800858301213597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762694133,"filename":"image_14122025_23_56_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/15/6c3d14757540dedf2a7e5c0128e09ac8.jpg","text":"TemporaryFile(/tmp/multipartBody1159271579843954278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762694133,"filename":"image_14122025_23_56_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/15/7a45c8f86dd82961f484ad6cae326b9e.jpg","text":"TemporaryFile(/tmp/multipartBody3088453354044385686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762694133,"filename":"image_14122025_23_56_54_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425348","file1":"1399425347","file0":"1399425346","file4":"1399425350","file5":"1399425351","file3":"1399425349"},"map_files_photo_id_array":[{"photo_id":"1399425351","filename":"file5"},{"photo_id":"1399425348","filename":"file2"},{"photo_id":"1399425350","filename":"file4"},{"photo_id":"1399425347","filename":"file1"},{"photo_id":"1399425346","filename":"file0"},{"photo_id":"1399425349","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399425348":["hashtag1","hashtag2"]},{"1399425351":["hashtag1","hashtag2"]},{"1399425350":["hashtag1","hashtag2"]},{"1399425347":["hashtag1","hashtag2"]},{"1399425346":["hashtag1","hashtag2"]},{"1399425349":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399425348, 1399425351, 1399425350, 1399425347, 1399425346, 1399425349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.299904346466064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 02:38:02.145390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/25/image_15122025_02_25_14_9590.jpg', '/home/pi/Desktop/images/15122025/02/25/image_15122025_02_25_24_9824.jpg', '/home/pi/Desktop/images/15122025/02/25/image_15122025_02_25_34_10014.jpg', '/home/pi/Desktop/images/15122025/02/25/image_15122025_02_25_45_10656.jpg', '/home/pi/Desktop/images/15122025/02/25/image_15122025_02_25_54_9719.jpg', '/home/pi/Desktop/images/15122025/02/25/image_15122025_02_26_04_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/25/image_15122025_02_25_14_9590.jpg
/home/pi/Desktop/images/15122025/02/25/image_15122025_02_25_24_9824.jpg
/home/pi/Desktop/images/15122025/02/25/image_15122025_02_25_34_10014.jpg
/home/pi/Desktop/images/15122025/02/25/image_15122025_02_25_45_10656.jpg
/home/pi/Desktop/images/15122025/02/25/image_15122025_02_25_54_9719.jpg
/home/pi/Desktop/images/15122025/02/25/image_15122025_02_26_04_9680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425354","1399425357","1399425353","1399425356","1399425355","1399425352"],"photo_ids_order":["1399425352","1399425353","1399425354","1399425355","1399425356","1399425357"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a17ccd8988a11d15719aa34e1a5c7c77.jpg","text":"TemporaryFile(/tmp/multipartBody6363335688644566576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762742836,"filename":"image_15122025_02_25_34_10014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/31858aa2c81c7c891730dafc77a92f4a.jpg","text":"TemporaryFile(/tmp/multipartBody4337021768394814814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762742836,"filename":"image_15122025_02_26_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/15/5841f692b003adf9368fe75b1bc57503.jpg","text":"TemporaryFile(/tmp/multipartBody8013625743912233739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762742836,"filename":"image_15122025_02_25_24_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/84b863ff35d455a9d9fcfd33266b001e.jpg","text":"TemporaryFile(/tmp/multipartBody4971116314358345571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762742836,"filename":"image_15122025_02_25_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/15/32190592b0a32e465fdd3a01ff637c70.jpg","text":"TemporaryFile(/tmp/multipartBody3371279504066053099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762742836,"filename":"image_15122025_02_25_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/15/77b34899badebac4dd7a656be8e3e9d7.jpg","text":"TemporaryFile(/tmp/multipartBody2837331010951110378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762742836,"filename":"image_15122025_02_25_14_9590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425354","file1":"1399425353","file0":"1399425352","file4":"1399425356","file5":"1399425357","file3":"1399425355"},"map_files_photo_id_array":[{"photo_id":"1399425357","filename":"file5"},{"photo_id":"1399425354","filename":"file2"},{"photo_id":"1399425356","filename":"file4"},{"photo_id":"1399425353","filename":"file1"},{"photo_id":"1399425352","filename":"file0"},{"photo_id":"1399425355","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425354":["hashtag1","hashtag2"]},{"1399425357":["hashtag1","hashtag2"]},{"1399425353":["hashtag1","hashtag2"]},{"1399425356":["hashtag1","hashtag2"]},{"1399425355":["hashtag1","hashtag2"]},{"1399425352":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425354, 1399425357, 1399425353, 1399425356, 1399425355, 1399425352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.201512813568115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 02:38:41.796051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_21_1678.jpg', '/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_23_1573.jpg', '/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_24_1608.jpg', '/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_26_1608.jpg', '/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_27_1604.jpg', '/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_29_1792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_21_1678.jpg
/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_23_1573.jpg
/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_24_1608.jpg
/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_26_1608.jpg
/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_27_1604.jpg
/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_29_1792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425366","1399425363","1399425362","1399425365","1399425364","1399425358"],"photo_ids_order":["1399425358","1399425362","1399425363","1399425364","1399425365","1399425366"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/57280a3173c1c6c49a487676d6fb8bdd.jpg","text":"TemporaryFile(/tmp/multipartBody6045189730588392525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762782739,"filename":"image_05112025_12_43_29_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/15/7a9fbd62f8eed6f7e921a1b132a8c970.jpg","text":"TemporaryFile(/tmp/multipartBody8210388560013301571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762782739,"filename":"image_05112025_12_43_24_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/15/3746d8d899ed0177722b626ed5b1e6f8.jpg","text":"TemporaryFile(/tmp/multipartBody3488945613877659534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762782739,"filename":"image_05112025_12_43_23_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/15/b4ad42faf03dc3c6217fc099401db54f.jpg","text":"TemporaryFile(/tmp/multipartBody3261541083370339507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762782739,"filename":"image_05112025_12_43_27_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/15/7a7e2809e09fa886325d758f75222cae.jpg","text":"TemporaryFile(/tmp/multipartBody8407381727779334103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762782739,"filename":"image_05112025_12_43_26_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/15/8f48429df5d809fa13fc2ad176ad8f94.jpg","text":"TemporaryFile(/tmp/multipartBody3673621263783057768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762782739,"filename":"image_05112025_12_43_21_1678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425363","file1":"1399425362","file0":"1399425358","file4":"1399425365","file5":"1399425366","file3":"1399425364"},"map_files_photo_id_array":[{"photo_id":"1399425366","filename":"file5"},{"photo_id":"1399425363","filename":"file2"},{"photo_id":"1399425365","filename":"file4"},{"photo_id":"1399425362","filename":"file1"},{"photo_id":"1399425358","filename":"file0"},{"photo_id":"1399425364","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399425366":["hashtag1","hashtag2"]},{"1399425363":["hashtag1","hashtag2"]},{"1399425362":["hashtag1","hashtag2"]},{"1399425365":["hashtag1","hashtag2"]},{"1399425364":["hashtag1","hashtag2"]},{"1399425358":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399425366, 1399425363, 1399425362, 1399425365, 1399425364, 1399425358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.719154357910156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 02:39:22.097924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/26/image_15122025_02_26_14_9718.jpg', '/home/pi/Desktop/images/15122025/02/26/image_15122025_02_26_24_10550.jpg', '/home/pi/Desktop/images/15122025/02/26/image_15122025_02_26_34_9682.jpg', '/home/pi/Desktop/images/15122025/02/26/image_15122025_02_26_45_10694.jpg', '/home/pi/Desktop/images/15122025/02/26/image_15122025_02_26_55_9838.jpg', '/home/pi/Desktop/images/15122025/02/26/image_15122025_02_27_04_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/26/image_15122025_02_26_14_9718.jpg
/home/pi/Desktop/images/15122025/02/26/image_15122025_02_26_24_10550.jpg
/home/pi/Desktop/images/15122025/02/26/image_15122025_02_26_34_9682.jpg
/home/pi/Desktop/images/15122025/02/26/image_15122025_02_26_45_10694.jpg
/home/pi/Desktop/images/15122025/02/26/image_15122025_02_26_55_9838.jpg
/home/pi/Desktop/images/15122025/02/26/image_15122025_02_27_04_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":["1399425372","1399425369","1399425371","1399425368","1399425370","1399425367"],"photo_ids_order":["1399425367","1399425368","1399425369","1399425370","1399425371","1399425372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6b143ed32109ee4e92e8dab69866a815.jpg","text":"TemporaryFile(/tmp/multipartBody7622318141074492347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762822724,"filename":"image_15122025_02_27_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/15/98e383ad8a0bee12dc8c350db8c10603.jpg","text":"TemporaryFile(/tmp/multipartBody5650184827260192499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762822724,"filename":"image_15122025_02_26_34_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/61df049954f95a75d472e4c2d66cad1b.jpg","text":"TemporaryFile(/tmp/multipartBody2079990121786112994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762822724,"filename":"image_15122025_02_26_55_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/75ae9d32ea09a7d7be959bb22aa267f3.jpg","text":"TemporaryFile(/tmp/multipartBody4456932055694773594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762822724,"filename":"image_15122025_02_26_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/15/2ea6c4baf9536e0a736fd12d32679a4e.jpg","text":"TemporaryFile(/tmp/multipartBody4056723881125957130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762822724,"filename":"image_15122025_02_26_45_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/047468c67981cd62c5a9c94043954da4.jpg","text":"TemporaryFile(/tmp/multipartBody2232546677033058100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762822724,"filename":"image_15122025_02_26_14_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425369","file1":"1399425368","file0":"1399425367","file4":"1399425371","file5":"1399425372","file3":"1399425370"},"map_files_photo_id_array":[{"photo_id":"1399425372","filename":"file5"},{"photo_id":"1399425369","filename":"file2"},{"photo_id":"1399425371","filename":"file4"},{"photo_id":"1399425368","filename":"file1"},{"photo_id":"1399425367","filename":"file0"},{"photo_id":"1399425370","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425372":["hashtag1","hashtag2"]},{"1399425369":["hashtag1","hashtag2"]},{"1399425371":["hashtag1","hashtag2"]},{"1399425368":["hashtag1","hashtag2"]},{"1399425370":["hashtag1","hashtag2"]},{"1399425367":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425372, 1399425369, 1399425371, 1399425368, 1399425370, 1399425367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.713857889175415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 02:40:02.676107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/27/image_15122025_02_27_14_9577.jpg', '/home/pi/Desktop/images/15122025/02/27/image_15122025_02_27_25_10730.jpg', '/home/pi/Desktop/images/15122025/02/27/image_15122025_02_27_34_9687.jpg', '/home/pi/Desktop/images/15122025/02/27/image_15122025_02_27_44_9799.jpg', '/home/pi/Desktop/images/15122025/02/27/image_15122025_02_27_54_9649.jpg', '/home/pi/Desktop/images/15122025/02/27/image_15122025_02_28_05_10872.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/27/image_15122025_02_27_14_9577.jpg
/home/pi/Desktop/images/15122025/02/27/image_15122025_02_27_25_10730.jpg
/home/pi/Desktop/images/15122025/02/27/image_15122025_02_27_34_9687.jpg
/home/pi/Desktop/images/15122025/02/27/image_15122025_02_27_44_9799.jpg
/home/pi/Desktop/images/15122025/02/27/image_15122025_02_27_54_9649.jpg
/home/pi/Desktop/images/15122025/02/27/image_15122025_02_28_05_10872.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425378","1399425375","1399425377","1399425374","1399425373","1399425376"],"photo_ids_order":["1399425373","1399425374","1399425375","1399425376","1399425377","1399425378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f702704329d57c96e6596e6158b678e6.jpg","text":"TemporaryFile(/tmp/multipartBody1014243558576070419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762863315,"filename":"image_15122025_02_28_05_10872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/65b921c5ec8905ba59387eef63490f58.jpg","text":"TemporaryFile(/tmp/multipartBody3672666145409734079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762863315,"filename":"image_15122025_02_27_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/15/9617ca790cc6b6ebce706865b62d2be8.jpg","text":"TemporaryFile(/tmp/multipartBody7778006177264427463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762863315,"filename":"image_15122025_02_27_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/15/eccad0a2785951fc91352ea8d73ea8e4.jpg","text":"TemporaryFile(/tmp/multipartBody3460310370045491511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762863315,"filename":"image_15122025_02_27_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/15/0fe2300ebdf8f4089f8ee9ee8f90c8ae.jpg","text":"TemporaryFile(/tmp/multipartBody1373770843492715167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762863315,"filename":"image_15122025_02_27_14_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a5ebf78d3f3f7fe9157bdf4855859b31.jpg","text":"TemporaryFile(/tmp/multipartBody1782815009795349404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762863315,"filename":"image_15122025_02_27_44_9799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425375","file1":"1399425374","file0":"1399425373","file4":"1399425377","file5":"1399425378","file3":"1399425376"},"map_files_photo_id_array":[{"photo_id":"1399425378","filename":"file5"},{"photo_id":"1399425375","filename":"file2"},{"photo_id":"1399425377","filename":"file4"},{"photo_id":"1399425374","filename":"file1"},{"photo_id":"1399425373","filename":"file0"},{"photo_id":"1399425376","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425378":["hashtag1","hashtag2"]},{"1399425375":["hashtag1","hashtag2"]},{"1399425377":["hashtag1","hashtag2"]},{"1399425374":["hashtag1","hashtag2"]},{"1399425373":["hashtag1","hashtag2"]},{"1399425376":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425378, 1399425375, 1399425377, 1399425374, 1399425373, 1399425376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53283405303955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 02:40:42.322270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_31_1649.jpg', '/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_58_27142.jpg', '/home/pi/Desktop/images/05112025/12/43/image_05112025_12_44_00_1839.jpg', '/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_02_1613.jpg', '/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_03_1679.jpg', '/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_05_1553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_31_1649.jpg
/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_58_27142.jpg
/home/pi/Desktop/images/05112025/12/43/image_05112025_12_44_00_1839.jpg
/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_02_1613.jpg
/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_03_1679.jpg
/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_05_1553.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6099681854248047 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 02:41:03.328763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/28/image_15122025_02_28_14_9861.jpg', '/home/pi/Desktop/images/15122025/02/28/image_15122025_02_28_34_9589.jpg', '/home/pi/Desktop/images/15122025/02/28/image_15122025_02_28_45_10809.jpg', '/home/pi/Desktop/images/15122025/02/28/image_15122025_02_28_54_9683.jpg', '/home/pi/Desktop/images/15122025/02/28/image_15122025_02_29_04_9678.jpg', '/home/pi/Desktop/images/15122025/02/29/image_15122025_02_29_15_10682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/28/image_15122025_02_28_14_9861.jpg
/home/pi/Desktop/images/15122025/02/28/image_15122025_02_28_34_9589.jpg
/home/pi/Desktop/images/15122025/02/28/image_15122025_02_28_45_10809.jpg
/home/pi/Desktop/images/15122025/02/28/image_15122025_02_28_54_9683.jpg
/home/pi/Desktop/images/15122025/02/28/image_15122025_02_29_04_9678.jpg
/home/pi/Desktop/images/15122025/02/29/image_15122025_02_29_15_10682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425384","1399425387","1399425389","1399425386","1399425388","1399425385"],"photo_ids_order":["1399425384","1399425385","1399425386","1399425387","1399425388","1399425389"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/246264946277495cf5fb436bc517100d.jpg","text":"TemporaryFile(/tmp/multipartBody8714152575733144896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762924023,"filename":"image_15122025_02_28_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/15/769f51b0ee3bc101eba38dd8b310c61f.jpg","text":"TemporaryFile(/tmp/multipartBody3051535519827069283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762924023,"filename":"image_15122025_02_28_54_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2e2a50a6d0956ee7f1ea2b3d5eec13ca.jpg","text":"TemporaryFile(/tmp/multipartBody7684714998424085579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762924023,"filename":"image_15122025_02_29_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/15/00434ec852dca03445a432025864a590.jpg","text":"TemporaryFile(/tmp/multipartBody7627821312215926685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762924023,"filename":"image_15122025_02_28_45_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/15/512cfea3fd902669d99dfa16090dcb76.jpg","text":"TemporaryFile(/tmp/multipartBody7841003350205016258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762924023,"filename":"image_15122025_02_29_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/15/2730eb7c1f16239b9274a0ccf543d494.jpg","text":"TemporaryFile(/tmp/multipartBody3239173327269779031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762924023,"filename":"image_15122025_02_28_34_9589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425386","file1":"1399425385","file0":"1399425384","file4":"1399425388","file5":"1399425389","file3":"1399425387"},"map_files_photo_id_array":[{"photo_id":"1399425389","filename":"file5"},{"photo_id":"1399425386","filename":"file2"},{"photo_id":"1399425388","filename":"file4"},{"photo_id":"1399425385","filename":"file1"},{"photo_id":"1399425384","filename":"file0"},{"photo_id":"1399425387","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425384":["hashtag1","hashtag2"]},{"1399425387":["hashtag1","hashtag2"]},{"1399425389":["hashtag1","hashtag2"]},{"1399425386":["hashtag1","hashtag2"]},{"1399425388":["hashtag1","hashtag2"]},{"1399425385":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425384, 1399425387, 1399425389, 1399425386, 1399425388, 1399425385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89235162734985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 02:41:42.563635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_31_1649.jpg', '/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_58_27142.jpg', '/home/pi/Desktop/images/05112025/12/43/image_05112025_12_44_00_1839.jpg', '/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_02_1613.jpg', '/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_03_1679.jpg', '/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_05_1553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_31_1649.jpg
/home/pi/Desktop/images/05112025/12/43/image_05112025_12_43_58_27142.jpg
/home/pi/Desktop/images/05112025/12/43/image_05112025_12_44_00_1839.jpg
/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_02_1613.jpg
/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_03_1679.jpg
/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_05_1553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425390","1399425393","1399425395","1399425392","1399425394","1399425396"],"photo_ids_order":["1399425390","1399425392","1399425393","1399425394","1399425395","1399425396"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/452f64b2bf22228fb78277f6f6b7a5d1.jpg","text":"TemporaryFile(/tmp/multipartBody6599483501645021857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762963155,"filename":"image_05112025_12_43_31_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/15/cebfcf6f8eb8225543c94ee1b1a2b398.jpg","text":"TemporaryFile(/tmp/multipartBody6320355381827876377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762963155,"filename":"image_05112025_12_44_00_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/15/272d827950a0fe3111f245dddd90d900.jpg","text":"TemporaryFile(/tmp/multipartBody2694592960664216662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762963155,"filename":"image_05112025_12_44_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/15/ce535e48307093535fb216df29a2649e.jpg","text":"TemporaryFile(/tmp/multipartBody4448467342980767276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762963155,"filename":"image_05112025_12_43_58_27142.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/74d7494bc7f18c1487d47fa7c1368ccd.jpg","text":"TemporaryFile(/tmp/multipartBody5265459742838267727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762963155,"filename":"image_05112025_12_44_02_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/15/bb04a5145076643a72bdb29698de3adb.jpg","text":"TemporaryFile(/tmp/multipartBody6499111972016153490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765762963155,"filename":"image_05112025_12_44_05_1553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425393","file1":"1399425392","file0":"1399425390","file4":"1399425395","file5":"1399425396","file3":"1399425394"},"map_files_photo_id_array":[{"photo_id":"1399425396","filename":"file5"},{"photo_id":"1399425393","filename":"file2"},{"photo_id":"1399425395","filename":"file4"},{"photo_id":"1399425392","filename":"file1"},{"photo_id":"1399425390","filename":"file0"},{"photo_id":"1399425394","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399425390":["hashtag1","hashtag2"]},{"1399425393":["hashtag1","hashtag2"]},{"1399425395":["hashtag1","hashtag2"]},{"1399425392":["hashtag1","hashtag2"]},{"1399425394":["hashtag1","hashtag2"]},{"1399425396":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399425390, 1399425393, 1399425395, 1399425392, 1399425394, 1399425396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71641159057617 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 02:42:21.823615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/29/image_15122025_02_29_24_9806.jpg', '/home/pi/Desktop/images/15122025/02/29/image_15122025_02_29_34_9706.jpg', '/home/pi/Desktop/images/15122025/02/29/image_15122025_02_29_44_9700.jpg', '/home/pi/Desktop/images/15122025/02/29/image_15122025_02_29_55_10783.jpg', '/home/pi/Desktop/images/15122025/02/29/image_15122025_02_30_04_9855.jpg', '/home/pi/Desktop/images/15122025/02/30/image_15122025_02_30_14_9569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/29/image_15122025_02_29_24_9806.jpg
/home/pi/Desktop/images/15122025/02/29/image_15122025_02_29_34_9706.jpg
/home/pi/Desktop/images/15122025/02/29/image_15122025_02_29_44_9700.jpg
/home/pi/Desktop/images/15122025/02/29/image_15122025_02_29_55_10783.jpg
/home/pi/Desktop/images/15122025/02/29/image_15122025_02_30_04_9855.jpg
/home/pi/Desktop/images/15122025/02/30/image_15122025_02_30_14_9569.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5550100803375244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 02:42:31.859746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
  port_id : 29410858
  datou_current_id : 4220795
in upload_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/57/image_14122025_23_57_35_10802.jpg', '/home/pi/Desktop/images/14122025/23/57/image_14122025_23_57_44_9783.jpg', '/home/pi/Desktop/images/14122025/23/57/image_14122025_23_57_54_9658.jpg', '/home/pi/Desktop/images/14122025/23/57/image_14122025_23_58_04_9696.jpg', '/home/pi/Desktop/images/14122025/23/58/image_14122025_23_58_15_10805.jpg', '/home/pi/Desktop/images/14122025/23/58/image_14122025_23_58_24_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/23/57/image_14122025_23_57_35_10802.jpg
/home/pi/Desktop/images/14122025/23/57/image_14122025_23_57_44_9783.jpg
/home/pi/Desktop/images/14122025/23/57/image_14122025_23_57_54_9658.jpg
/home/pi/Desktop/images/14122025/23/57/image_14122025_23_58_04_9696.jpg
/home/pi/Desktop/images/14122025/23/58/image_14122025_23_58_15_10805.jpg
/home/pi/Desktop/images/14122025/23/58/image_14122025_23_58_24_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":["1399425400","1399425402","1399425405","1399425407","1399425404","1399425406"],"photo_ids_order":["1399425400","1399425402","1399425404","1399425405","1399425406","1399425407"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bb2af75aed6790a42fa73de88b1ab6c3.jpg","text":"TemporaryFile(/tmp/multipartBody9190167694694228014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763013487,"filename":"image_14122025_23_57_35_10802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/52743abf54060b6c635161efe43c3308.jpg","text":"TemporaryFile(/tmp/multipartBody2028762167720347503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763013487,"filename":"image_14122025_23_57_44_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/df6a821380ba7ee14c6da006ed75c7e5.jpg","text":"TemporaryFile(/tmp/multipartBody7384238972992093699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763013487,"filename":"image_14122025_23_58_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/15/5f2227f3cad1e20ef63f0cc7d4803ca6.jpg","text":"TemporaryFile(/tmp/multipartBody1213955237120165705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763013487,"filename":"image_14122025_23_58_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/15/99709a700ad9c9e130d34c7517163f93.jpg","text":"TemporaryFile(/tmp/multipartBody7098360813966380895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763013487,"filename":"image_14122025_23_57_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/15/eb2d0b93cef13a488a79926175f6ea70.jpg","text":"TemporaryFile(/tmp/multipartBody5908698708958128202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763013487,"filename":"image_14122025_23_58_15_10805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425404","file1":"1399425402","file0":"1399425400","file4":"1399425406","file5":"1399425407","file3":"1399425405"},"map_files_photo_id_array":[{"photo_id":"1399425407","filename":"file5"},{"photo_id":"1399425404","filename":"file2"},{"photo_id":"1399425406","filename":"file4"},{"photo_id":"1399425402","filename":"file1"},{"photo_id":"1399425400","filename":"file0"},{"photo_id":"1399425405","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399425400":["hashtag1","hashtag2"]},{"1399425402":["hashtag1","hashtag2"]},{"1399425405":["hashtag1","hashtag2"]},{"1399425407":["hashtag1","hashtag2"]},{"1399425404":["hashtag1","hashtag2"]},{"1399425406":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399425400, 1399425402, 1399425405, 1399425407, 1399425404, 1399425406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35967421531677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 02:43:12.123426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local 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/23/58/image_14122025_23_58_34_9586.jpg', '/home/pi/Desktop/images/14122025/23/58/image_14122025_23_58_54_9746.jpg', '/home/pi/Desktop/images/14122025/23/59/image_14122025_23_59_34_9817.jpg', '/home/pi/Desktop/images/14122025/23/59/image_14122025_23_59_44_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/23/58/image_14122025_23_58_34_9586.jpg
/home/pi/Desktop/images/14122025/23/58/image_14122025_23_58_54_9746.jpg
/home/pi/Desktop/images/14122025/23/59/image_14122025_23_59_34_9817.jpg
/home/pi/Desktop/images/14122025/23/59/image_14122025_23_59_44_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":["1399425409","1399425411","1399425408","1399425410"],"photo_ids_order":["1399425408","1399425409","1399425410","1399425411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/76d5ef4b337ddccfb5ad993f2ee56ee8.jpg","text":"TemporaryFile(/tmp/multipartBody9153712729109319724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763053626,"filename":"image_14122025_23_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/15/5c0351fc4f209b225af0c1c59da530fe.jpg","text":"TemporaryFile(/tmp/multipartBody8065829978443610776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763053626,"filename":"image_14122025_23_59_44_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b318bada93900e3a981e7b8daa2e07c6.jpg","text":"TemporaryFile(/tmp/multipartBody7853429891653065799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763053626,"filename":"image_14122025_23_58_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/15/e541dd839d54b91f0da807a54ab0eb20.jpg","text":"TemporaryFile(/tmp/multipartBody7816122904108487235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763053626,"filename":"image_14122025_23_59_34_9817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425410","file1":"1399425409","file0":"1399425408","file3":"1399425411"},"map_files_photo_id_array":[{"photo_id":"1399425410","filename":"file2"},{"photo_id":"1399425409","filename":"file1"},{"photo_id":"1399425408","filename":"file0"},{"photo_id":"1399425411","filename":"file3"}],"portfolio_id":29410858,"hashtag_by_photo_ids":[{"1399425409":["hashtag1","hashtag2"]},{"1399425411":["hashtag1","hashtag2"]},{"1399425408":["hashtag1","hashtag2"]},{"1399425410":["hashtag1","hashtag2"]}],"comms":"Portfolio 29410858 used, photo_id : ArrayBuffer(1399425409, 1399425411, 1399425408, 1399425410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.650509119033813 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 02:43:42.044049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_07_1828.jpg', '/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_08_1656.jpg', '/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_10_1646.jpg', '/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_11_1612.jpg', '/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_13_1653.jpg', '/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_15_1639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_07_1828.jpg
/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_08_1656.jpg
/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_10_1646.jpg
/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_11_1612.jpg
/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_13_1653.jpg
/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_15_1639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425415","1399425414","1399425417","1399425413","1399425416","1399425412"],"photo_ids_order":["1399425412","1399425413","1399425414","1399425415","1399425416","1399425417"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/24fb756554c788330b65f8a1b3c15828.jpg","text":"TemporaryFile(/tmp/multipartBody2591433176311236501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763082765,"filename":"image_05112025_12_44_11_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/15/00577bcfb2a704d169ac833ac2bbe6dd.jpg","text":"TemporaryFile(/tmp/multipartBody6283208852339166852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763082765,"filename":"image_05112025_12_44_10_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/15/d091eadf7f2b9890a348b005d10ac6c9.jpg","text":"TemporaryFile(/tmp/multipartBody2740642493462175687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763082765,"filename":"image_05112025_12_44_15_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/15/70cd66755be79d225291b4c4832d2204.jpg","text":"TemporaryFile(/tmp/multipartBody6307652939860977878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763082765,"filename":"image_05112025_12_44_08_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/15/fd1053d99c62df2900f280fd3127b892.jpg","text":"TemporaryFile(/tmp/multipartBody7138125296688640038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763082765,"filename":"image_05112025_12_44_13_1653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/603e3cd813bfe5bd2df2e9ac222bc7f5.jpg","text":"TemporaryFile(/tmp/multipartBody7225075366971726840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763082765,"filename":"image_05112025_12_44_07_1828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425414","file1":"1399425413","file0":"1399425412","file4":"1399425416","file5":"1399425417","file3":"1399425415"},"map_files_photo_id_array":[{"photo_id":"1399425417","filename":"file5"},{"photo_id":"1399425414","filename":"file2"},{"photo_id":"1399425416","filename":"file4"},{"photo_id":"1399425413","filename":"file1"},{"photo_id":"1399425412","filename":"file0"},{"photo_id":"1399425415","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399425415":["hashtag1","hashtag2"]},{"1399425414":["hashtag1","hashtag2"]},{"1399425417":["hashtag1","hashtag2"]},{"1399425413":["hashtag1","hashtag2"]},{"1399425416":["hashtag1","hashtag2"]},{"1399425412":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399425415, 1399425414, 1399425417, 1399425413, 1399425416, 1399425412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.673743724823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 02:44:22.326316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/29/image_15122025_02_29_24_9806.jpg', '/home/pi/Desktop/images/15122025/02/29/image_15122025_02_29_34_9706.jpg', '/home/pi/Desktop/images/15122025/02/29/image_15122025_02_29_44_9700.jpg', '/home/pi/Desktop/images/15122025/02/29/image_15122025_02_29_55_10783.jpg', '/home/pi/Desktop/images/15122025/02/29/image_15122025_02_30_04_9855.jpg', '/home/pi/Desktop/images/15122025/02/30/image_15122025_02_30_14_9569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/29/image_15122025_02_29_24_9806.jpg
/home/pi/Desktop/images/15122025/02/29/image_15122025_02_29_34_9706.jpg
/home/pi/Desktop/images/15122025/02/29/image_15122025_02_29_44_9700.jpg
/home/pi/Desktop/images/15122025/02/29/image_15122025_02_29_55_10783.jpg
/home/pi/Desktop/images/15122025/02/29/image_15122025_02_30_04_9855.jpg
/home/pi/Desktop/images/15122025/02/30/image_15122025_02_30_14_9569.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5440981388092041 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 02:44:32.391886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 02:44:42.290870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_16_1669.jpg', '/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_18_1768.jpg', '/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_20_1694.jpg', '/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_22_1582.jpg', '/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_23_1644.jpg', '/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_25_1543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_16_1669.jpg
/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_18_1768.jpg
/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_20_1694.jpg
/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_22_1582.jpg
/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_23_1644.jpg
/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_25_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":["1399425429","1399425431","1399425425","1399425428","1399425430","1399425427"],"photo_ids_order":["1399425425","1399425427","1399425428","1399425429","1399425430","1399425431"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e319c837301f8cbb37a91d5fe36acaf3.jpg","text":"TemporaryFile(/tmp/multipartBody6204384709414612624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763143011,"filename":"image_05112025_12_44_22_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/15/8a9fc56dbb0ab405910dde7663e8d7fb.jpg","text":"TemporaryFile(/tmp/multipartBody1889082812460944160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763143011,"filename":"image_05112025_12_44_25_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/15/3343cfffc018cf294bb056690407e29e.jpg","text":"TemporaryFile(/tmp/multipartBody6093010614092471881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763143011,"filename":"image_05112025_12_44_16_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/15/7c6f64302db382d321c43d3f16b1b607.jpg","text":"TemporaryFile(/tmp/multipartBody9011676657066154686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763143011,"filename":"image_05112025_12_44_20_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/15/31eeae345239b85aa3170f0fbb153019.jpg","text":"TemporaryFile(/tmp/multipartBody7528690048465898713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763143011,"filename":"image_05112025_12_44_23_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/15/1ef0e568cad1d6642f8f74ccd0810824.jpg","text":"TemporaryFile(/tmp/multipartBody3883360515018865952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763143011,"filename":"image_05112025_12_44_18_1768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425428","file1":"1399425427","file0":"1399425425","file4":"1399425430","file5":"1399425431","file3":"1399425429"},"map_files_photo_id_array":[{"photo_id":"1399425431","filename":"file5"},{"photo_id":"1399425428","filename":"file2"},{"photo_id":"1399425430","filename":"file4"},{"photo_id":"1399425427","filename":"file1"},{"photo_id":"1399425425","filename":"file0"},{"photo_id":"1399425429","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399425429":["hashtag1","hashtag2"]},{"1399425431":["hashtag1","hashtag2"]},{"1399425425":["hashtag1","hashtag2"]},{"1399425428":["hashtag1","hashtag2"]},{"1399425430":["hashtag1","hashtag2"]},{"1399425427":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399425429, 1399425431, 1399425425, 1399425428, 1399425430, 1399425427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2547025680542 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 02:45:22.577514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/29/image_15122025_02_29_24_9806.jpg', '/home/pi/Desktop/images/15122025/02/29/image_15122025_02_29_34_9706.jpg', '/home/pi/Desktop/images/15122025/02/29/image_15122025_02_29_44_9700.jpg', '/home/pi/Desktop/images/15122025/02/29/image_15122025_02_29_55_10783.jpg', '/home/pi/Desktop/images/15122025/02/29/image_15122025_02_30_04_9855.jpg', '/home/pi/Desktop/images/15122025/02/30/image_15122025_02_30_14_9569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/29/image_15122025_02_29_24_9806.jpg
/home/pi/Desktop/images/15122025/02/29/image_15122025_02_29_34_9706.jpg
/home/pi/Desktop/images/15122025/02/29/image_15122025_02_29_44_9700.jpg
/home/pi/Desktop/images/15122025/02/29/image_15122025_02_29_55_10783.jpg
/home/pi/Desktop/images/15122025/02/29/image_15122025_02_30_04_9855.jpg
/home/pi/Desktop/images/15122025/02/30/image_15122025_02_30_14_9569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425432","1399425435","1399425434","1399425437","1399425436","1399425433"],"photo_ids_order":["1399425432","1399425433","1399425434","1399425435","1399425436","1399425437"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/56d18ef4bc036eee843b3b2822bab368.jpg","text":"TemporaryFile(/tmp/multipartBody2133011240907550057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763183235,"filename":"image_15122025_02_29_24_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8a3903447ab93e9bb6882893386411c1.jpg","text":"TemporaryFile(/tmp/multipartBody8292669351904925773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763183235,"filename":"image_15122025_02_29_55_10783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/895fe46ea740491287d6ecce4569e79b.jpg","text":"TemporaryFile(/tmp/multipartBody1802877940988253654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763183235,"filename":"image_15122025_02_29_44_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/87954b37b04e9b699e89707195a668b9.jpg","text":"TemporaryFile(/tmp/multipartBody8538095669123535835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763183235,"filename":"image_15122025_02_30_14_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ff284dfc688b6201ba28fa5d049ce9f9.jpg","text":"TemporaryFile(/tmp/multipartBody4560378696957940838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763183235,"filename":"image_15122025_02_30_04_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2c6236e6aef9b05b4835c1a46b43d53d.jpg","text":"TemporaryFile(/tmp/multipartBody9003160632144299541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763183235,"filename":"image_15122025_02_29_34_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425434","file1":"1399425433","file0":"1399425432","file4":"1399425436","file5":"1399425437","file3":"1399425435"},"map_files_photo_id_array":[{"photo_id":"1399425437","filename":"file5"},{"photo_id":"1399425434","filename":"file2"},{"photo_id":"1399425436","filename":"file4"},{"photo_id":"1399425433","filename":"file1"},{"photo_id":"1399425432","filename":"file0"},{"photo_id":"1399425435","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425432":["hashtag1","hashtag2"]},{"1399425435":["hashtag1","hashtag2"]},{"1399425434":["hashtag1","hashtag2"]},{"1399425437":["hashtag1","hashtag2"]},{"1399425436":["hashtag1","hashtag2"]},{"1399425433":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425432, 1399425435, 1399425434, 1399425437, 1399425436, 1399425433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98556160926819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 02:46:03.275557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/30/image_15122025_02_30_24_9801.jpg', '/home/pi/Desktop/images/15122025/02/30/image_15122025_02_30_34_10707.jpg', '/home/pi/Desktop/images/15122025/02/30/image_15122025_02_30_44_9564.jpg', '/home/pi/Desktop/images/15122025/02/30/image_15122025_02_30_54_9823.jpg', '/home/pi/Desktop/images/15122025/02/30/image_15122025_02_31_05_10748.jpg', '/home/pi/Desktop/images/15122025/02/31/image_15122025_02_31_14_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/30/image_15122025_02_30_24_9801.jpg
/home/pi/Desktop/images/15122025/02/30/image_15122025_02_30_34_10707.jpg
/home/pi/Desktop/images/15122025/02/30/image_15122025_02_30_44_9564.jpg
/home/pi/Desktop/images/15122025/02/30/image_15122025_02_30_54_9823.jpg
/home/pi/Desktop/images/15122025/02/30/image_15122025_02_31_05_10748.jpg
/home/pi/Desktop/images/15122025/02/31/image_15122025_02_31_14_9796.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5468587875366211 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 02:46:12.800512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 02:46:22.809336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/30/image_15122025_02_30_24_9801.jpg', '/home/pi/Desktop/images/15122025/02/30/image_15122025_02_30_34_10707.jpg', '/home/pi/Desktop/images/15122025/02/30/image_15122025_02_30_44_9564.jpg', '/home/pi/Desktop/images/15122025/02/30/image_15122025_02_30_54_9823.jpg', '/home/pi/Desktop/images/15122025/02/30/image_15122025_02_31_05_10748.jpg', '/home/pi/Desktop/images/15122025/02/31/image_15122025_02_31_14_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/30/image_15122025_02_30_24_9801.jpg
/home/pi/Desktop/images/15122025/02/30/image_15122025_02_30_34_10707.jpg
/home/pi/Desktop/images/15122025/02/30/image_15122025_02_30_44_9564.jpg
/home/pi/Desktop/images/15122025/02/30/image_15122025_02_30_54_9823.jpg
/home/pi/Desktop/images/15122025/02/30/image_15122025_02_31_05_10748.jpg
/home/pi/Desktop/images/15122025/02/31/image_15122025_02_31_14_9796.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425447","1399425444","1399425443","1399425446","1399425445","1399425448"],"photo_ids_order":["1399425443","1399425444","1399425445","1399425446","1399425447","1399425448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1486878256ff4bc33a7234480874a079.jpg","text":"TemporaryFile(/tmp/multipartBody669387090729948437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763243428,"filename":"image_15122025_02_31_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/15/d3ecbc5a7d4c411bfa6c3d7acddac2dd.jpg","text":"TemporaryFile(/tmp/multipartBody8589410229267505195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763243428,"filename":"image_15122025_02_30_34_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0044b9e96cc64b966d56512a03f69a17.jpg","text":"TemporaryFile(/tmp/multipartBody7051592926991113613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763243428,"filename":"image_15122025_02_30_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/15/aa75269803a2ddd3ab1ea304955c06ab.jpg","text":"TemporaryFile(/tmp/multipartBody6126011647753548943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763243428,"filename":"image_15122025_02_30_54_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/78672df4820a676f86dee024c3dbc9fa.jpg","text":"TemporaryFile(/tmp/multipartBody6130111314596701603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763243428,"filename":"image_15122025_02_30_44_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/67b4cbd77b5cf64eca249270ece01fee.jpg","text":"TemporaryFile(/tmp/multipartBody9112257307216912191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763243428,"filename":"image_15122025_02_31_14_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425445","file1":"1399425444","file0":"1399425443","file4":"1399425447","file5":"1399425448","file3":"1399425446"},"map_files_photo_id_array":[{"photo_id":"1399425448","filename":"file5"},{"photo_id":"1399425445","filename":"file2"},{"photo_id":"1399425447","filename":"file4"},{"photo_id":"1399425444","filename":"file1"},{"photo_id":"1399425443","filename":"file0"},{"photo_id":"1399425446","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425447":["hashtag1","hashtag2"]},{"1399425444":["hashtag1","hashtag2"]},{"1399425443":["hashtag1","hashtag2"]},{"1399425446":["hashtag1","hashtag2"]},{"1399425445":["hashtag1","hashtag2"]},{"1399425448":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425447, 1399425444, 1399425443, 1399425446, 1399425445, 1399425448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38160467147827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 02:47:02.662713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/31/image_15122025_02_31_24_9596.jpg', '/home/pi/Desktop/images/15122025/02/31/image_15122025_02_31_35_10671.jpg', '/home/pi/Desktop/images/15122025/02/31/image_15122025_02_31_44_9715.jpg', '/home/pi/Desktop/images/15122025/02/31/image_15122025_02_32_04_9681.jpg', '/home/pi/Desktop/images/15122025/02/32/image_15122025_02_32_15_10851.jpg', '/home/pi/Desktop/images/15122025/02/32/image_15122025_02_32_34_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/31/image_15122025_02_31_24_9596.jpg
/home/pi/Desktop/images/15122025/02/31/image_15122025_02_31_35_10671.jpg
/home/pi/Desktop/images/15122025/02/31/image_15122025_02_31_44_9715.jpg
/home/pi/Desktop/images/15122025/02/31/image_15122025_02_32_04_9681.jpg
/home/pi/Desktop/images/15122025/02/32/image_15122025_02_32_15_10851.jpg
/home/pi/Desktop/images/15122025/02/32/image_15122025_02_32_34_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":["1399425450","1399425453","1399425452","1399425449","1399425454","1399425451"],"photo_ids_order":["1399425449","1399425450","1399425451","1399425452","1399425453","1399425454"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0341ee21b5cfa96abf12aca54288dbb4.jpg","text":"TemporaryFile(/tmp/multipartBody5227501705734635234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763283364,"filename":"image_15122025_02_31_35_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7c49446369d03ce642faf9d43aa76507.jpg","text":"TemporaryFile(/tmp/multipartBody4080290966022925039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763283364,"filename":"image_15122025_02_32_15_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/15/456eb3410e540785e30fd339372c2536.jpg","text":"TemporaryFile(/tmp/multipartBody7006382162840191484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763283364,"filename":"image_15122025_02_32_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/15/f70ffc3e199cb5266d0bf5494e2721b6.jpg","text":"TemporaryFile(/tmp/multipartBody1492892205368826360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763283364,"filename":"image_15122025_02_31_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/15/463cb92af1d36878f59bb3d956f5d142.jpg","text":"TemporaryFile(/tmp/multipartBody3572497731095493098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763283364,"filename":"image_15122025_02_32_34_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8c4d5ef05b1e0fff255b3bfa78f07982.jpg","text":"TemporaryFile(/tmp/multipartBody6516362930966985213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763283364,"filename":"image_15122025_02_31_44_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425451","file1":"1399425450","file0":"1399425449","file4":"1399425453","file5":"1399425454","file3":"1399425452"},"map_files_photo_id_array":[{"photo_id":"1399425454","filename":"file5"},{"photo_id":"1399425451","filename":"file2"},{"photo_id":"1399425453","filename":"file4"},{"photo_id":"1399425450","filename":"file1"},{"photo_id":"1399425449","filename":"file0"},{"photo_id":"1399425452","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425450":["hashtag1","hashtag2"]},{"1399425453":["hashtag1","hashtag2"]},{"1399425452":["hashtag1","hashtag2"]},{"1399425449":["hashtag1","hashtag2"]},{"1399425454":["hashtag1","hashtag2"]},{"1399425451":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425450, 1399425453, 1399425452, 1399425449, 1399425454, 1399425451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85515570640564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 02:47:42.076851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_26_1726.jpg', '/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_28_1622.jpg', '/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_30_1592.jpg', '/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_31_1598.jpg', '/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_33_1622.jpg', '/home/pi/Desktop/images/05112025/12/49/image_05112025_12_49_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_26_1726.jpg
/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_28_1622.jpg
/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_30_1592.jpg
/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_31_1598.jpg
/home/pi/Desktop/images/05112025/12/44/image_05112025_12_44_33_1622.jpg
/home/pi/Desktop/images/05112025/12/49/image_05112025_12_49_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":["1399425462","1399425461","1399425464","1399425455","1399425460","1399425463"],"photo_ids_order":["1399425455","1399425460","1399425461","1399425462","1399425463","1399425464"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e7bd5abd41e5c9549f832b6bbb9164af.jpg","text":"TemporaryFile(/tmp/multipartBody2744408832650062218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763322800,"filename":"image_05112025_12_44_31_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/15/07641985c7f2ecbe74db0ac28f653f89.jpg","text":"TemporaryFile(/tmp/multipartBody7103735805510212831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763322800,"filename":"image_05112025_12_44_30_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/15/8f217690c8b24c0c09035b7247f073a4.jpg","text":"TemporaryFile(/tmp/multipartBody6067463497849492328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763322800,"filename":"image_05112025_12_49_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/15/4ee79f131a62a8714f877e3917728dbf.jpg","text":"TemporaryFile(/tmp/multipartBody4791107769716234512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763322800,"filename":"image_05112025_12_44_26_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/15/46c8234dbe9ddade85f172f779dc0eba.jpg","text":"TemporaryFile(/tmp/multipartBody917109502572006146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763322800,"filename":"image_05112025_12_44_28_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/15/8d76088b6082caca9d3e41d2642cfdfd.jpg","text":"TemporaryFile(/tmp/multipartBody1234646624331480035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763322800,"filename":"image_05112025_12_44_33_1622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425461","file1":"1399425460","file0":"1399425455","file4":"1399425463","file5":"1399425464","file3":"1399425462"},"map_files_photo_id_array":[{"photo_id":"1399425464","filename":"file5"},{"photo_id":"1399425461","filename":"file2"},{"photo_id":"1399425463","filename":"file4"},{"photo_id":"1399425460","filename":"file1"},{"photo_id":"1399425455","filename":"file0"},{"photo_id":"1399425462","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399425462":["hashtag1","hashtag2"]},{"1399425461":["hashtag1","hashtag2"]},{"1399425464":["hashtag1","hashtag2"]},{"1399425455":["hashtag1","hashtag2"]},{"1399425460":["hashtag1","hashtag2"]},{"1399425463":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399425462, 1399425461, 1399425464, 1399425455, 1399425460, 1399425463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27626371383667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 02:48:22.379384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/32/image_15122025_02_32_45_10663.jpg', '/home/pi/Desktop/images/15122025/02/32/image_15122025_02_32_54_9660.jpg', '/home/pi/Desktop/images/15122025/02/32/image_15122025_02_33_04_9809.jpg', '/home/pi/Desktop/images/15122025/02/33/image_15122025_02_33_14_9743.jpg', '/home/pi/Desktop/images/15122025/02/33/image_15122025_02_33_25_10797.jpg', '/home/pi/Desktop/images/15122025/02/33/image_15122025_02_33_34_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/32/image_15122025_02_32_45_10663.jpg
/home/pi/Desktop/images/15122025/02/32/image_15122025_02_32_54_9660.jpg
/home/pi/Desktop/images/15122025/02/32/image_15122025_02_33_04_9809.jpg
/home/pi/Desktop/images/15122025/02/33/image_15122025_02_33_14_9743.jpg
/home/pi/Desktop/images/15122025/02/33/image_15122025_02_33_25_10797.jpg
/home/pi/Desktop/images/15122025/02/33/image_15122025_02_33_34_9727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425465","1399425468","1399425470","1399425467","1399425469","1399425466"],"photo_ids_order":["1399425465","1399425466","1399425467","1399425468","1399425469","1399425470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/03d89b33acc153fffa1271213b3c4d32.jpg","text":"TemporaryFile(/tmp/multipartBody6263885736043428575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763363007,"filename":"image_15122025_02_32_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/15/f78bd57e5b91a78ff99f966c5770e28e.jpg","text":"TemporaryFile(/tmp/multipartBody1866849776231670482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763363007,"filename":"image_15122025_02_33_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/15/c50f77504553591c186eacc156f5a846.jpg","text":"TemporaryFile(/tmp/multipartBody6043512179271430076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763363007,"filename":"image_15122025_02_33_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/15/2b21dedc272f445e8dd6894c6864a117.jpg","text":"TemporaryFile(/tmp/multipartBody6832498347952658110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763363007,"filename":"image_15122025_02_33_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/15/f49b3ec8be1a2967286f1e1da0cfd4e2.jpg","text":"TemporaryFile(/tmp/multipartBody2741973496419802898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763363007,"filename":"image_15122025_02_33_25_10797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e6154d0c16c7557b17533492e6b9eb89.jpg","text":"TemporaryFile(/tmp/multipartBody4346971553982922218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763363007,"filename":"image_15122025_02_32_54_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425467","file1":"1399425466","file0":"1399425465","file4":"1399425469","file5":"1399425470","file3":"1399425468"},"map_files_photo_id_array":[{"photo_id":"1399425470","filename":"file5"},{"photo_id":"1399425467","filename":"file2"},{"photo_id":"1399425469","filename":"file4"},{"photo_id":"1399425466","filename":"file1"},{"photo_id":"1399425465","filename":"file0"},{"photo_id":"1399425468","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425465":["hashtag1","hashtag2"]},{"1399425468":["hashtag1","hashtag2"]},{"1399425470":["hashtag1","hashtag2"]},{"1399425467":["hashtag1","hashtag2"]},{"1399425469":["hashtag1","hashtag2"]},{"1399425466":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425465, 1399425468, 1399425470, 1399425467, 1399425469, 1399425466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.476972579956055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 02:49:03.212691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/33/image_15122025_02_33_44_9829.jpg', '/home/pi/Desktop/images/15122025/02/33/image_15122025_02_33_54_9622.jpg', '/home/pi/Desktop/images/15122025/02/33/image_15122025_02_34_05_10851.jpg', '/home/pi/Desktop/images/15122025/02/34/image_15122025_02_34_14_9674.jpg', '/home/pi/Desktop/images/15122025/02/34/image_15122025_02_34_24_9677.jpg', '/home/pi/Desktop/images/15122025/02/34/image_15122025_02_34_35_10714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/33/image_15122025_02_33_44_9829.jpg
/home/pi/Desktop/images/15122025/02/33/image_15122025_02_33_54_9622.jpg
/home/pi/Desktop/images/15122025/02/33/image_15122025_02_34_05_10851.jpg
/home/pi/Desktop/images/15122025/02/34/image_15122025_02_34_14_9674.jpg
/home/pi/Desktop/images/15122025/02/34/image_15122025_02_34_24_9677.jpg
/home/pi/Desktop/images/15122025/02/34/image_15122025_02_34_35_10714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425471","1399425474","1399425476","1399425473","1399425472","1399425475"],"photo_ids_order":["1399425471","1399425472","1399425473","1399425474","1399425475","1399425476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/70ad18b6df68092bd8e06a43a7cb0500.jpg","text":"TemporaryFile(/tmp/multipartBody2389356427957603828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763404117,"filename":"image_15122025_02_33_44_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/15/1b32bbc22c5327e79f9147ace2b801c2.jpg","text":"TemporaryFile(/tmp/multipartBody68781475508070316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763404117,"filename":"image_15122025_02_34_14_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/15/781ae3f13d30e5fb219977af4908603b.jpg","text":"TemporaryFile(/tmp/multipartBody8819497358851137974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763404117,"filename":"image_15122025_02_34_35_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d2ec5ff00dff60917d040cb450f72cf9.jpg","text":"TemporaryFile(/tmp/multipartBody772675247436092164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763404117,"filename":"image_15122025_02_34_05_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/15/6138bf90fc61fd02fc00a7312b728c07.jpg","text":"TemporaryFile(/tmp/multipartBody6850195854817239937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763404117,"filename":"image_15122025_02_33_54_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a5c9b7ebe5e00c5536251b738356c17c.jpg","text":"TemporaryFile(/tmp/multipartBody5201650008099865632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763404117,"filename":"image_15122025_02_34_24_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425473","file1":"1399425472","file0":"1399425471","file4":"1399425475","file5":"1399425476","file3":"1399425474"},"map_files_photo_id_array":[{"photo_id":"1399425476","filename":"file5"},{"photo_id":"1399425473","filename":"file2"},{"photo_id":"1399425475","filename":"file4"},{"photo_id":"1399425472","filename":"file1"},{"photo_id":"1399425471","filename":"file0"},{"photo_id":"1399425474","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425471":["hashtag1","hashtag2"]},{"1399425474":["hashtag1","hashtag2"]},{"1399425476":["hashtag1","hashtag2"]},{"1399425473":["hashtag1","hashtag2"]},{"1399425472":["hashtag1","hashtag2"]},{"1399425475":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425471, 1399425474, 1399425476, 1399425473, 1399425472, 1399425475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74211668968201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 02:49:42.570379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/49/image_05112025_12_49_10_3569.jpg', '/home/pi/Desktop/images/05112025/12/49/image_05112025_12_49_13_2773.jpg', '/home/pi/Desktop/images/05112025/12/49/image_05112025_12_49_17_3572.jpg', '/home/pi/Desktop/images/05112025/12/49/image_05112025_12_49_19_2721.jpg', '/home/pi/Desktop/images/05112025/12/49/image_05112025_12_49_22_2715.jpg', '/home/pi/Desktop/images/05112025/12/49/image_05112025_12_49_25_2714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/49/image_05112025_12_49_10_3569.jpg
/home/pi/Desktop/images/05112025/12/49/image_05112025_12_49_13_2773.jpg
/home/pi/Desktop/images/05112025/12/49/image_05112025_12_49_17_3572.jpg
/home/pi/Desktop/images/05112025/12/49/image_05112025_12_49_19_2721.jpg
/home/pi/Desktop/images/05112025/12/49/image_05112025_12_49_22_2715.jpg
/home/pi/Desktop/images/05112025/12/49/image_05112025_12_49_25_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":["1399425477","1399425480","1399425482","1399425479","1399425481","1399425478"],"photo_ids_order":["1399425477","1399425478","1399425479","1399425480","1399425481","1399425482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3eba7cb9192fac2004480bc43e61af56.jpg","text":"TemporaryFile(/tmp/multipartBody8365825097965607563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763443310,"filename":"image_05112025_12_49_10_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/15/2682aa2297ac62fa0c7c863420d15cd9.jpg","text":"TemporaryFile(/tmp/multipartBody2807393137955014935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763443310,"filename":"image_05112025_12_49_19_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/15/1e8bd64753e9aad97bba72ef447dad44.jpg","text":"TemporaryFile(/tmp/multipartBody112162916517391439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763443310,"filename":"image_05112025_12_49_25_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/15/736a3677b582fd284b43457c92c54c0e.jpg","text":"TemporaryFile(/tmp/multipartBody2943852572051675575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763443310,"filename":"image_05112025_12_49_17_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/15/d32ddc92efc02b84434044ac4ec58a3b.jpg","text":"TemporaryFile(/tmp/multipartBody7335468436365730360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763443310,"filename":"image_05112025_12_49_22_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/15/62c5315df762ce06d27ea9ba9fc7cfd1.jpg","text":"TemporaryFile(/tmp/multipartBody2533202463134077018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763443310,"filename":"image_05112025_12_49_13_2773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425479","file1":"1399425478","file0":"1399425477","file4":"1399425481","file5":"1399425482","file3":"1399425480"},"map_files_photo_id_array":[{"photo_id":"1399425482","filename":"file5"},{"photo_id":"1399425479","filename":"file2"},{"photo_id":"1399425481","filename":"file4"},{"photo_id":"1399425478","filename":"file1"},{"photo_id":"1399425477","filename":"file0"},{"photo_id":"1399425480","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399425477":["hashtag1","hashtag2"]},{"1399425480":["hashtag1","hashtag2"]},{"1399425482":["hashtag1","hashtag2"]},{"1399425479":["hashtag1","hashtag2"]},{"1399425481":["hashtag1","hashtag2"]},{"1399425478":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399425477, 1399425480, 1399425482, 1399425479, 1399425481, 1399425478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03136324882507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 02:50:21.835281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/34/image_15122025_02_34_44_9732.jpg', '/home/pi/Desktop/images/15122025/02/34/image_15122025_02_34_54_9637.jpg', '/home/pi/Desktop/images/15122025/02/34/image_15122025_02_35_04_9720.jpg', '/home/pi/Desktop/images/15122025/02/35/image_15122025_02_35_15_10749.jpg', '/home/pi/Desktop/images/15122025/02/35/image_15122025_02_35_24_9586.jpg', '/home/pi/Desktop/images/15122025/02/35/image_15122025_02_35_34_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/34/image_15122025_02_34_44_9732.jpg
/home/pi/Desktop/images/15122025/02/34/image_15122025_02_34_54_9637.jpg
/home/pi/Desktop/images/15122025/02/34/image_15122025_02_35_04_9720.jpg
/home/pi/Desktop/images/15122025/02/35/image_15122025_02_35_15_10749.jpg
/home/pi/Desktop/images/15122025/02/35/image_15122025_02_35_24_9586.jpg
/home/pi/Desktop/images/15122025/02/35/image_15122025_02_35_34_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425483","1399425486","1399425491","1399425485","1399425487","1399425484"],"photo_ids_order":["1399425483","1399425484","1399425485","1399425486","1399425487","1399425491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/072cd82c378145167aa192bc6e8b252b.jpg","text":"TemporaryFile(/tmp/multipartBody8109808900209902433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763482448,"filename":"image_15122025_02_34_44_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a634f107330405e7919c9c2da007d562.jpg","text":"TemporaryFile(/tmp/multipartBody6638841361130860475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763482448,"filename":"image_15122025_02_35_15_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/81066dd6bceffcdcc468fcce18a59081.jpg","text":"TemporaryFile(/tmp/multipartBody4251688085391129019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763482448,"filename":"image_15122025_02_35_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/15/a45a3a059b6fe5bd27d700f92cd9e2da.jpg","text":"TemporaryFile(/tmp/multipartBody6511773307416479593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763482448,"filename":"image_15122025_02_35_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/15/f8c6041ecba06d11f049ae0613764813.jpg","text":"TemporaryFile(/tmp/multipartBody5439479259106753071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763482448,"filename":"image_15122025_02_35_24_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7cdae5a2d4c9b2a1595e6152c9388f82.jpg","text":"TemporaryFile(/tmp/multipartBody2919017877154453444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763482448,"filename":"image_15122025_02_34_54_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425485","file1":"1399425484","file0":"1399425483","file4":"1399425487","file5":"1399425491","file3":"1399425486"},"map_files_photo_id_array":[{"photo_id":"1399425491","filename":"file5"},{"photo_id":"1399425485","filename":"file2"},{"photo_id":"1399425487","filename":"file4"},{"photo_id":"1399425484","filename":"file1"},{"photo_id":"1399425483","filename":"file0"},{"photo_id":"1399425486","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425483":["hashtag1","hashtag2"]},{"1399425486":["hashtag1","hashtag2"]},{"1399425491":["hashtag1","hashtag2"]},{"1399425485":["hashtag1","hashtag2"]},{"1399425487":["hashtag1","hashtag2"]},{"1399425484":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425483, 1399425486, 1399425491, 1399425485, 1399425487, 1399425484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75429940223694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 02:51:02.825198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/35/image_15122025_02_35_44_10553.jpg', '/home/pi/Desktop/images/15122025/02/35/image_15122025_02_35_54_9850.jpg', '/home/pi/Desktop/images/15122025/02/36/image_15122025_02_36_24_10608.jpg', '/home/pi/Desktop/images/15122025/02/36/image_15122025_02_36_34_9804.jpg', '/home/pi/Desktop/images/15122025/02/36/image_15122025_02_36_44_9779.jpg', '/home/pi/Desktop/images/15122025/02/36/image_15122025_02_36_55_10585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/35/image_15122025_02_35_44_10553.jpg
/home/pi/Desktop/images/15122025/02/35/image_15122025_02_35_54_9850.jpg
/home/pi/Desktop/images/15122025/02/36/image_15122025_02_36_24_10608.jpg
/home/pi/Desktop/images/15122025/02/36/image_15122025_02_36_34_9804.jpg
/home/pi/Desktop/images/15122025/02/36/image_15122025_02_36_44_9779.jpg
/home/pi/Desktop/images/15122025/02/36/image_15122025_02_36_55_10585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425492","1399425494","1399425497","1399425493","1399425496","1399425495"],"photo_ids_order":["1399425492","1399425493","1399425494","1399425495","1399425496","1399425497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b9a8727a22113d4669a4e5e021db7e2e.jpg","text":"TemporaryFile(/tmp/multipartBody30971854180125272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763523506,"filename":"image_15122025_02_35_44_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/15/a3881c9c4209aa4c933722abb867f90d.jpg","text":"TemporaryFile(/tmp/multipartBody7130807581120794216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763523506,"filename":"image_15122025_02_36_24_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7822e130459e0700f8863fd17200f078.jpg","text":"TemporaryFile(/tmp/multipartBody6847309753148154459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763523506,"filename":"image_15122025_02_36_55_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0df0a49e25db069ed1fcd46e4b06501e.jpg","text":"TemporaryFile(/tmp/multipartBody6451052387023412015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763523506,"filename":"image_15122025_02_35_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/15/340a042216a5ca721e9e6351d05d519b.jpg","text":"TemporaryFile(/tmp/multipartBody1239851810470924682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763523506,"filename":"image_15122025_02_36_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/15/5d51c87acab364bb396708f68328f99c.jpg","text":"TemporaryFile(/tmp/multipartBody6517432067200733033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763523506,"filename":"image_15122025_02_36_34_9804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425494","file1":"1399425493","file0":"1399425492","file4":"1399425496","file5":"1399425497","file3":"1399425495"},"map_files_photo_id_array":[{"photo_id":"1399425497","filename":"file5"},{"photo_id":"1399425494","filename":"file2"},{"photo_id":"1399425496","filename":"file4"},{"photo_id":"1399425493","filename":"file1"},{"photo_id":"1399425492","filename":"file0"},{"photo_id":"1399425495","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425492":["hashtag1","hashtag2"]},{"1399425494":["hashtag1","hashtag2"]},{"1399425497":["hashtag1","hashtag2"]},{"1399425493":["hashtag1","hashtag2"]},{"1399425496":["hashtag1","hashtag2"]},{"1399425495":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425492, 1399425494, 1399425497, 1399425493, 1399425496, 1399425495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.720465660095215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 02:51:42.162266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/49/image_05112025_12_49_29_3742.jpg', '/home/pi/Desktop/images/05112025/12/49/image_05112025_12_49_31_2629.jpg', '/home/pi/Desktop/images/05112025/12/49/image_05112025_12_49_34_2806.jpg', '/home/pi/Desktop/images/05112025/12/49/image_05112025_12_49_37_2710.jpg', '/home/pi/Desktop/images/05112025/12/49/image_05112025_12_49_40_3633.jpg', '/home/pi/Desktop/images/05112025/12/49/image_05112025_12_49_43_2774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/49/image_05112025_12_49_29_3742.jpg
/home/pi/Desktop/images/05112025/12/49/image_05112025_12_49_31_2629.jpg
/home/pi/Desktop/images/05112025/12/49/image_05112025_12_49_34_2806.jpg
/home/pi/Desktop/images/05112025/12/49/image_05112025_12_49_37_2710.jpg
/home/pi/Desktop/images/05112025/12/49/image_05112025_12_49_40_3633.jpg
/home/pi/Desktop/images/05112025/12/49/image_05112025_12_49_43_2774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425498","1399425502","1399425501","1399425500","1399425499","1399425503"],"photo_ids_order":["1399425498","1399425499","1399425500","1399425501","1399425502","1399425503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fd03e2c85b7fa663735eefb6ff671d40.jpg","text":"TemporaryFile(/tmp/multipartBody2275632169341949642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763562892,"filename":"image_05112025_12_49_29_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ad039eb6bbd310079cb1483b59715730.jpg","text":"TemporaryFile(/tmp/multipartBody6204388642258295154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763562892,"filename":"image_05112025_12_49_40_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/15/816cfd8ffd62afdc965b2ffae13d19c6.jpg","text":"TemporaryFile(/tmp/multipartBody5539360625083016497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763562892,"filename":"image_05112025_12_49_37_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/15/1d80012a1b13f7943e79b2bc712891a3.jpg","text":"TemporaryFile(/tmp/multipartBody8761699457453689721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763562892,"filename":"image_05112025_12_49_34_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/52b3ce0bba5e24245123e4f171b35b96.jpg","text":"TemporaryFile(/tmp/multipartBody8727294486086611822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763562892,"filename":"image_05112025_12_49_31_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/15/adcadf919bd4b1dec04fd54afdfb9a53.jpg","text":"TemporaryFile(/tmp/multipartBody8524006002347124658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763562892,"filename":"image_05112025_12_49_43_2774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425500","file1":"1399425499","file0":"1399425498","file4":"1399425502","file5":"1399425503","file3":"1399425501"},"map_files_photo_id_array":[{"photo_id":"1399425503","filename":"file5"},{"photo_id":"1399425500","filename":"file2"},{"photo_id":"1399425502","filename":"file4"},{"photo_id":"1399425499","filename":"file1"},{"photo_id":"1399425498","filename":"file0"},{"photo_id":"1399425501","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399425498":["hashtag1","hashtag2"]},{"1399425502":["hashtag1","hashtag2"]},{"1399425501":["hashtag1","hashtag2"]},{"1399425500":["hashtag1","hashtag2"]},{"1399425499":["hashtag1","hashtag2"]},{"1399425503":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399425498, 1399425502, 1399425501, 1399425500, 1399425499, 1399425503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72948694229126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 02:52:22.382884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/36/image_15122025_02_37_04_9681.jpg', '/home/pi/Desktop/images/15122025/02/37/image_15122025_02_37_14_9707.jpg', '/home/pi/Desktop/images/15122025/02/37/image_15122025_02_37_24_9800.jpg', '/home/pi/Desktop/images/15122025/02/37/image_15122025_02_37_34_10686.jpg', '/home/pi/Desktop/images/15122025/02/37/image_15122025_02_37_44_9725.jpg', '/home/pi/Desktop/images/15122025/02/37/image_15122025_02_37_54_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/36/image_15122025_02_37_04_9681.jpg
/home/pi/Desktop/images/15122025/02/37/image_15122025_02_37_14_9707.jpg
/home/pi/Desktop/images/15122025/02/37/image_15122025_02_37_24_9800.jpg
/home/pi/Desktop/images/15122025/02/37/image_15122025_02_37_34_10686.jpg
/home/pi/Desktop/images/15122025/02/37/image_15122025_02_37_44_9725.jpg
/home/pi/Desktop/images/15122025/02/37/image_15122025_02_37_54_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425508","1399425504","1399425507","1399425506","1399425509","1399425505"],"photo_ids_order":["1399425504","1399425505","1399425506","1399425507","1399425508","1399425509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/800e862e7430aac87a933bf894cba03e.jpg","text":"TemporaryFile(/tmp/multipartBody1371244568297208453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763603012,"filename":"image_15122025_02_37_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/15/4106b9a649d6673c2f801b8da34bbf95.jpg","text":"TemporaryFile(/tmp/multipartBody8338439905839538754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763603012,"filename":"image_15122025_02_37_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/15/34bf526bc80313f810fbe19a4b92493e.jpg","text":"TemporaryFile(/tmp/multipartBody8043706133530031921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763603012,"filename":"image_15122025_02_37_34_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5ec1bb1562b9ecb241db5cf2b6e00896.jpg","text":"TemporaryFile(/tmp/multipartBody6733449821844982073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763603012,"filename":"image_15122025_02_37_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/15/ee0ae1b66745d2be30db8fcb5fd07ddd.jpg","text":"TemporaryFile(/tmp/multipartBody1018998574987368218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763603012,"filename":"image_15122025_02_37_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/15/6bf4d327f69a159f375377e1c9f80570.jpg","text":"TemporaryFile(/tmp/multipartBody2891553764018963939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763603012,"filename":"image_15122025_02_37_14_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425506","file1":"1399425505","file0":"1399425504","file4":"1399425508","file5":"1399425509","file3":"1399425507"},"map_files_photo_id_array":[{"photo_id":"1399425509","filename":"file5"},{"photo_id":"1399425506","filename":"file2"},{"photo_id":"1399425508","filename":"file4"},{"photo_id":"1399425505","filename":"file1"},{"photo_id":"1399425504","filename":"file0"},{"photo_id":"1399425507","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425508":["hashtag1","hashtag2"]},{"1399425504":["hashtag1","hashtag2"]},{"1399425507":["hashtag1","hashtag2"]},{"1399425506":["hashtag1","hashtag2"]},{"1399425509":["hashtag1","hashtag2"]},{"1399425505":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425508, 1399425504, 1399425507, 1399425506, 1399425509, 1399425505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6076979637146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 02:53:03.436897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/37/image_15122025_02_38_05_10834.jpg', '/home/pi/Desktop/images/15122025/02/38/image_15122025_02_38_14_9844.jpg', '/home/pi/Desktop/images/15122025/02/38/image_15122025_02_38_24_9724.jpg', '/home/pi/Desktop/images/15122025/02/38/image_15122025_02_38_34_9793.jpg', '/home/pi/Desktop/images/15122025/02/38/image_15122025_02_38_44_9714.jpg', '/home/pi/Desktop/images/15122025/02/38/image_15122025_02_38_54_10770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/37/image_15122025_02_38_05_10834.jpg
/home/pi/Desktop/images/15122025/02/38/image_15122025_02_38_14_9844.jpg
/home/pi/Desktop/images/15122025/02/38/image_15122025_02_38_24_9724.jpg
/home/pi/Desktop/images/15122025/02/38/image_15122025_02_38_34_9793.jpg
/home/pi/Desktop/images/15122025/02/38/image_15122025_02_38_44_9714.jpg
/home/pi/Desktop/images/15122025/02/38/image_15122025_02_38_54_10770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425514","1399425513","1399425510","1399425512","1399425515","1399425511"],"photo_ids_order":["1399425510","1399425511","1399425512","1399425513","1399425514","1399425515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f4b3735b626e8e14af10788f4433df6a.jpg","text":"TemporaryFile(/tmp/multipartBody296274837829041766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763644108,"filename":"image_15122025_02_38_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/15/835204fea905bef1690124484127c46e.jpg","text":"TemporaryFile(/tmp/multipartBody6329772210234067118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763644108,"filename":"image_15122025_02_38_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/15/c43e9880d367363c5bedc83fcc71c53f.jpg","text":"TemporaryFile(/tmp/multipartBody948739014339067813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763644108,"filename":"image_15122025_02_38_05_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/15/dbabd5ef10ed49890127b9c5cb025d29.jpg","text":"TemporaryFile(/tmp/multipartBody2925475321606508374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763644108,"filename":"image_15122025_02_38_24_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8441052e6c93956edc20532323adbf95.jpg","text":"TemporaryFile(/tmp/multipartBody7783769796492897024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763644108,"filename":"image_15122025_02_38_54_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/15/a6cf07efd13a084421ecddb346987ca3.jpg","text":"TemporaryFile(/tmp/multipartBody5916744041078074571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763644108,"filename":"image_15122025_02_38_14_9844.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425512","file1":"1399425511","file0":"1399425510","file4":"1399425514","file5":"1399425515","file3":"1399425513"},"map_files_photo_id_array":[{"photo_id":"1399425515","filename":"file5"},{"photo_id":"1399425512","filename":"file2"},{"photo_id":"1399425514","filename":"file4"},{"photo_id":"1399425511","filename":"file1"},{"photo_id":"1399425510","filename":"file0"},{"photo_id":"1399425513","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425514":["hashtag1","hashtag2"]},{"1399425513":["hashtag1","hashtag2"]},{"1399425510":["hashtag1","hashtag2"]},{"1399425512":["hashtag1","hashtag2"]},{"1399425515":["hashtag1","hashtag2"]},{"1399425511":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425514, 1399425513, 1399425510, 1399425512, 1399425515, 1399425511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83285212516785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 02:53:42.729980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/49/image_05112025_12_49_46_2614.jpg', '/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_06_3019.jpg', '/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_10_3642.jpg', '/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_12_2581.jpg', '/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_15_2780.jpg', '/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_19_3645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/49/image_05112025_12_49_46_2614.jpg
/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_06_3019.jpg
/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_10_3642.jpg
/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_12_2581.jpg
/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_15_2780.jpg
/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_19_3645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425520","1399425522","1399425516","1399425524","1399425521","1399425523"],"photo_ids_order":["1399425516","1399425520","1399425521","1399425522","1399425523","1399425524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0c9f7f5278823818c7dee84ba64b5b35.jpg","text":"TemporaryFile(/tmp/multipartBody6731859635642049485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763683455,"filename":"image_05112025_12_51_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/15/642d83a0a00ed8fff80bbc0062cf4f7a.jpg","text":"TemporaryFile(/tmp/multipartBody6001761186665842674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763683455,"filename":"image_05112025_12_51_12_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/353143e55a13989cf30368eb83388998.jpg","text":"TemporaryFile(/tmp/multipartBody1063496962225233963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763683455,"filename":"image_05112025_12_49_46_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/15/878415162959016b4ad8586549bed6fe.jpg","text":"TemporaryFile(/tmp/multipartBody521675331648594782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763683455,"filename":"image_05112025_12_51_19_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/91c18f9fce882aeadeb2d43575bc6631.jpg","text":"TemporaryFile(/tmp/multipartBody3990542774511203645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763683455,"filename":"image_05112025_12_51_10_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b6e9fdb54e79ad15fcf9fe211f53af80.jpg","text":"TemporaryFile(/tmp/multipartBody6823938441046058697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763683455,"filename":"image_05112025_12_51_15_2780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425521","file1":"1399425520","file0":"1399425516","file4":"1399425523","file5":"1399425524","file3":"1399425522"},"map_files_photo_id_array":[{"photo_id":"1399425524","filename":"file5"},{"photo_id":"1399425521","filename":"file2"},{"photo_id":"1399425523","filename":"file4"},{"photo_id":"1399425520","filename":"file1"},{"photo_id":"1399425516","filename":"file0"},{"photo_id":"1399425522","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399425520":["hashtag1","hashtag2"]},{"1399425522":["hashtag1","hashtag2"]},{"1399425516":["hashtag1","hashtag2"]},{"1399425524":["hashtag1","hashtag2"]},{"1399425521":["hashtag1","hashtag2"]},{"1399425523":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399425520, 1399425522, 1399425516, 1399425524, 1399425521, 1399425523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73115611076355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 02:54:21.960195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/38/image_15122025_02_39_04_9868.jpg', '/home/pi/Desktop/images/15122025/02/39/image_15122025_02_39_14_9780.jpg', '/home/pi/Desktop/images/15122025/02/39/image_15122025_02_39_34_10568.jpg', '/home/pi/Desktop/images/15122025/02/39/image_15122025_02_39_44_9608.jpg', '/home/pi/Desktop/images/15122025/02/39/image_15122025_02_39_55_10724.jpg', '/home/pi/Desktop/images/15122025/02/39/image_15122025_02_40_04_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/38/image_15122025_02_39_04_9868.jpg
/home/pi/Desktop/images/15122025/02/39/image_15122025_02_39_14_9780.jpg
/home/pi/Desktop/images/15122025/02/39/image_15122025_02_39_34_10568.jpg
/home/pi/Desktop/images/15122025/02/39/image_15122025_02_39_44_9608.jpg
/home/pi/Desktop/images/15122025/02/39/image_15122025_02_39_55_10724.jpg
/home/pi/Desktop/images/15122025/02/39/image_15122025_02_40_04_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":["1399425528","1399425525","1399425530","1399425527","1399425529","1399425526"],"photo_ids_order":["1399425525","1399425526","1399425527","1399425528","1399425529","1399425530"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9479790c58301ee2ef07eecaad5ab642.jpg","text":"TemporaryFile(/tmp/multipartBody8320893474133786974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763722578,"filename":"image_15122025_02_39_44_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bfe6bfa45b94633256bf31aee5d8b66e.jpg","text":"TemporaryFile(/tmp/multipartBody3122831413996285999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763722578,"filename":"image_15122025_02_39_04_9868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ffcf29e580187bc2d2831496314d7881.jpg","text":"TemporaryFile(/tmp/multipartBody905297122725813302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763722578,"filename":"image_15122025_02_40_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/15/ffe08697a9d5f9379c3b4d3072ebb5ee.jpg","text":"TemporaryFile(/tmp/multipartBody6246267529998652953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763722578,"filename":"image_15122025_02_39_34_10568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/de0d76086cb7695fe18fd8347e5ea686.jpg","text":"TemporaryFile(/tmp/multipartBody5901477965135805687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763722578,"filename":"image_15122025_02_39_55_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b56bdf9a6774ffc0a18e13f3e0dd4564.jpg","text":"TemporaryFile(/tmp/multipartBody255266514365708628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763722578,"filename":"image_15122025_02_39_14_9780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425527","file1":"1399425526","file0":"1399425525","file4":"1399425529","file5":"1399425530","file3":"1399425528"},"map_files_photo_id_array":[{"photo_id":"1399425530","filename":"file5"},{"photo_id":"1399425527","filename":"file2"},{"photo_id":"1399425529","filename":"file4"},{"photo_id":"1399425526","filename":"file1"},{"photo_id":"1399425525","filename":"file0"},{"photo_id":"1399425528","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425528":["hashtag1","hashtag2"]},{"1399425525":["hashtag1","hashtag2"]},{"1399425530":["hashtag1","hashtag2"]},{"1399425527":["hashtag1","hashtag2"]},{"1399425529":["hashtag1","hashtag2"]},{"1399425526":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425528, 1399425525, 1399425530, 1399425527, 1399425529, 1399425526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.911601066589355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 02:55:03.000935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/40/image_15122025_02_40_14_9657.jpg', '/home/pi/Desktop/images/15122025/02/40/image_15122025_02_40_24_9684.jpg', '/home/pi/Desktop/images/15122025/02/40/image_15122025_02_40_34_10749.jpg', '/home/pi/Desktop/images/15122025/02/40/image_15122025_02_40_44_9611.jpg', '/home/pi/Desktop/images/15122025/02/40/image_15122025_02_40_54_9748.jpg', '/home/pi/Desktop/images/15122025/02/40/image_15122025_02_41_05_10669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/40/image_15122025_02_40_14_9657.jpg
/home/pi/Desktop/images/15122025/02/40/image_15122025_02_40_24_9684.jpg
/home/pi/Desktop/images/15122025/02/40/image_15122025_02_40_34_10749.jpg
/home/pi/Desktop/images/15122025/02/40/image_15122025_02_40_44_9611.jpg
/home/pi/Desktop/images/15122025/02/40/image_15122025_02_40_54_9748.jpg
/home/pi/Desktop/images/15122025/02/40/image_15122025_02_41_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":["1399425531","1399425534","1399425533","1399425536","1399425535","1399425532"],"photo_ids_order":["1399425531","1399425532","1399425533","1399425534","1399425535","1399425536"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/195061ae153eb4f7f2f8222bb0bce66d.jpg","text":"TemporaryFile(/tmp/multipartBody1488520803454945244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763763695,"filename":"image_15122025_02_40_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/15/02a1b5f979593d8b167eff6cf93ac6b1.jpg","text":"TemporaryFile(/tmp/multipartBody2739752477355677027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763763695,"filename":"image_15122025_02_40_44_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3c1b7d0770857968f8a6a9dd812d42e5.jpg","text":"TemporaryFile(/tmp/multipartBody3174139798688980320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763763695,"filename":"image_15122025_02_40_34_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/15/30ae775fa7732abb9749be7eb3a9d01f.jpg","text":"TemporaryFile(/tmp/multipartBody2929768145148370022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763763695,"filename":"image_15122025_02_41_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/15/1491aa1fad76be1fb72e2b665d8ea4be.jpg","text":"TemporaryFile(/tmp/multipartBody2777667487559934764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763763695,"filename":"image_15122025_02_40_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/15/e4365064e6fb0b27bf9271d52981a505.jpg","text":"TemporaryFile(/tmp/multipartBody4749510887387093787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763763695,"filename":"image_15122025_02_40_24_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425533","file1":"1399425532","file0":"1399425531","file4":"1399425535","file5":"1399425536","file3":"1399425534"},"map_files_photo_id_array":[{"photo_id":"1399425536","filename":"file5"},{"photo_id":"1399425533","filename":"file2"},{"photo_id":"1399425535","filename":"file4"},{"photo_id":"1399425532","filename":"file1"},{"photo_id":"1399425531","filename":"file0"},{"photo_id":"1399425534","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425531":["hashtag1","hashtag2"]},{"1399425534":["hashtag1","hashtag2"]},{"1399425533":["hashtag1","hashtag2"]},{"1399425536":["hashtag1","hashtag2"]},{"1399425535":["hashtag1","hashtag2"]},{"1399425532":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425531, 1399425534, 1399425533, 1399425536, 1399425535, 1399425532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61715888977051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 02:55:42.169317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_22_2619.jpg', '/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_25_3566.jpg', '/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_28_2662.jpg', '/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_32_4487.jpg', '/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_34_1663.jpg', '/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_41_7126.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_22_2619.jpg
/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_25_3566.jpg
/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_28_2662.jpg
/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_32_4487.jpg
/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_34_1663.jpg
/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_41_7126.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425540","1399425537","1399425542","1399425539","1399425541","1399425538"],"photo_ids_order":["1399425537","1399425538","1399425539","1399425540","1399425541","1399425542"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5cdeba14a478b1f8776ab93f1a465ec4.jpg","text":"TemporaryFile(/tmp/multipartBody2947464302034734090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763802916,"filename":"image_05112025_12_51_32_4487.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5963fcd4dd6f4dc846988ae95957366e.jpg","text":"TemporaryFile(/tmp/multipartBody8085850507340358456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763802916,"filename":"image_05112025_12_51_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/15/ac2bca37c9305867a5c6b6b2b52b3117.jpg","text":"TemporaryFile(/tmp/multipartBody4306195209181204050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763802916,"filename":"image_05112025_12_51_41_7126.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/295ca40aeb59c1cb341dd70734211334.jpg","text":"TemporaryFile(/tmp/multipartBody6532370609657824351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763802916,"filename":"image_05112025_12_51_28_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/173d0a59a3f0f4428a562fd160dc7e55.jpg","text":"TemporaryFile(/tmp/multipartBody3002616170954033087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763802916,"filename":"image_05112025_12_51_34_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/15/eba842e1337807a1f387ba92573973cd.jpg","text":"TemporaryFile(/tmp/multipartBody6084479600165682879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763802916,"filename":"image_05112025_12_51_25_3566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425539","file1":"1399425538","file0":"1399425537","file4":"1399425541","file5":"1399425542","file3":"1399425540"},"map_files_photo_id_array":[{"photo_id":"1399425542","filename":"file5"},{"photo_id":"1399425539","filename":"file2"},{"photo_id":"1399425541","filename":"file4"},{"photo_id":"1399425538","filename":"file1"},{"photo_id":"1399425537","filename":"file0"},{"photo_id":"1399425540","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399425540":["hashtag1","hashtag2"]},{"1399425537":["hashtag1","hashtag2"]},{"1399425542":["hashtag1","hashtag2"]},{"1399425539":["hashtag1","hashtag2"]},{"1399425541":["hashtag1","hashtag2"]},{"1399425538":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399425540, 1399425537, 1399425542, 1399425539, 1399425541, 1399425538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50459408760071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 02:56:22.474276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/41/image_15122025_02_41_14_9693.jpg', '/home/pi/Desktop/images/15122025/02/41/image_15122025_02_41_24_9797.jpg', '/home/pi/Desktop/images/15122025/02/41/image_15122025_02_41_34_9763.jpg', '/home/pi/Desktop/images/15122025/02/41/image_15122025_02_41_44_10644.jpg', '/home/pi/Desktop/images/15122025/02/41/image_15122025_02_41_54_9695.jpg', '/home/pi/Desktop/images/15122025/02/41/image_15122025_02_42_04_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/41/image_15122025_02_41_14_9693.jpg
/home/pi/Desktop/images/15122025/02/41/image_15122025_02_41_24_9797.jpg
/home/pi/Desktop/images/15122025/02/41/image_15122025_02_41_34_9763.jpg
/home/pi/Desktop/images/15122025/02/41/image_15122025_02_41_44_10644.jpg
/home/pi/Desktop/images/15122025/02/41/image_15122025_02_41_54_9695.jpg
/home/pi/Desktop/images/15122025/02/41/image_15122025_02_42_04_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425546","1399425543","1399425545","1399425547","1399425550","1399425544"],"photo_ids_order":["1399425543","1399425544","1399425545","1399425546","1399425547","1399425550"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/79ad8ea83507613ec49f21ab0745feca.jpg","text":"TemporaryFile(/tmp/multipartBody3393299940555928408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763843132,"filename":"image_15122025_02_41_44_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/15/d01790717f43bca8f00d61b06a489bf1.jpg","text":"TemporaryFile(/tmp/multipartBody2039922102107672890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763843132,"filename":"image_15122025_02_41_14_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/026a5f784a67a5c64d6c9f3daa16e031.jpg","text":"TemporaryFile(/tmp/multipartBody7137500335316906719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763843132,"filename":"image_15122025_02_41_34_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d20ad252aae110195ea45959d99d0536.jpg","text":"TemporaryFile(/tmp/multipartBody8003425066406627077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763843132,"filename":"image_15122025_02_41_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/15/3a02489c0a54addd5fbd4e12c4b19f5f.jpg","text":"TemporaryFile(/tmp/multipartBody7697844947078094121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763843132,"filename":"image_15122025_02_42_04_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d28a50107274265c26b506fa91ed73a8.jpg","text":"TemporaryFile(/tmp/multipartBody3442530150183996085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763843132,"filename":"image_15122025_02_41_24_9797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425545","file1":"1399425544","file0":"1399425543","file4":"1399425547","file5":"1399425550","file3":"1399425546"},"map_files_photo_id_array":[{"photo_id":"1399425550","filename":"file5"},{"photo_id":"1399425545","filename":"file2"},{"photo_id":"1399425547","filename":"file4"},{"photo_id":"1399425544","filename":"file1"},{"photo_id":"1399425543","filename":"file0"},{"photo_id":"1399425546","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425546":["hashtag1","hashtag2"]},{"1399425543":["hashtag1","hashtag2"]},{"1399425545":["hashtag1","hashtag2"]},{"1399425547":["hashtag1","hashtag2"]},{"1399425550":["hashtag1","hashtag2"]},{"1399425544":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425546, 1399425543, 1399425545, 1399425547, 1399425550, 1399425544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.561827421188354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 02:57:03.291709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/42/image_15122025_02_42_14_10696.jpg', '/home/pi/Desktop/images/15122025/02/42/image_15122025_02_42_24_9704.jpg', '/home/pi/Desktop/images/15122025/02/42/image_15122025_02_42_34_9715.jpg', '/home/pi/Desktop/images/15122025/02/42/image_15122025_02_42_44_10571.jpg', '/home/pi/Desktop/images/15122025/02/42/image_15122025_02_42_54_9787.jpg', '/home/pi/Desktop/images/15122025/02/42/image_15122025_02_43_04_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/42/image_15122025_02_42_14_10696.jpg
/home/pi/Desktop/images/15122025/02/42/image_15122025_02_42_24_9704.jpg
/home/pi/Desktop/images/15122025/02/42/image_15122025_02_42_34_9715.jpg
/home/pi/Desktop/images/15122025/02/42/image_15122025_02_42_44_10571.jpg
/home/pi/Desktop/images/15122025/02/42/image_15122025_02_42_54_9787.jpg
/home/pi/Desktop/images/15122025/02/42/image_15122025_02_43_04_9691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399425558","1399425555","1399425557","1399425554","1399425553","1399425556"],"photo_ids_order":["1399425553","1399425554","1399425555","1399425556","1399425557","1399425558"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b5fbad5ff7190bf2125007d37b8574e3.jpg","text":"TemporaryFile(/tmp/multipartBody4887470244273144191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763884030,"filename":"image_15122025_02_43_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/15/0712669a8fc309ea1e3d376da5266e05.jpg","text":"TemporaryFile(/tmp/multipartBody3060555402347355503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763884030,"filename":"image_15122025_02_42_34_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f081c42405c2c56dd1a5cd54810bf9b8.jpg","text":"TemporaryFile(/tmp/multipartBody3806598675130033568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763884030,"filename":"image_15122025_02_42_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/15/6548b007fbf878c3bb45bf269f4a2379.jpg","text":"TemporaryFile(/tmp/multipartBody7448518713180910729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763884030,"filename":"image_15122025_02_42_24_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cb6e6d25665f6d6689fbf6037f934d8b.jpg","text":"TemporaryFile(/tmp/multipartBody5964376462516563351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763884030,"filename":"image_15122025_02_42_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/15/36d551ed85b4626e607aae95f63a4f92.jpg","text":"TemporaryFile(/tmp/multipartBody4714335371235015958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765763884030,"filename":"image_15122025_02_42_44_10571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399425555","file1":"1399425554","file0":"1399425553","file4":"1399425557","file5":"1399425558","file3":"1399425556"},"map_files_photo_id_array":[{"photo_id":"1399425558","filename":"file5"},{"photo_id":"1399425555","filename":"file2"},{"photo_id":"1399425557","filename":"file4"},{"photo_id":"1399425554","filename":"file1"},{"photo_id":"1399425553","filename":"file0"},{"photo_id":"1399425556","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399425558":["hashtag1","hashtag2"]},{"1399425555":["hashtag1","hashtag2"]},{"1399425557":["hashtag1","hashtag2"]},{"1399425554":["hashtag1","hashtag2"]},{"1399425553":["hashtag1","hashtag2"]},{"1399425556":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399425558, 1399425555, 1399425557, 1399425554, 1399425553, 1399425556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05763530731201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 02:57:42.598553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_43_1606.jpg', '/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_44_1634.jpg', '/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_46_1806.jpg', '/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_49_2846.jpg', '/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_52_2792.jpg', '/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_54_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_43_1606.jpg
/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_44_1634.jpg
/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_46_1806.jpg
/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_49_2846.jpg
/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_52_2792.jpg
/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_54_2611.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6104960441589355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 02:59:03.003219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/43/image_15122025_02_43_14_9838.jpg', '/home/pi/Desktop/images/15122025/02/43/image_15122025_02_43_24_10668.jpg', '/home/pi/Desktop/images/15122025/02/43/image_15122025_02_43_34_9604.jpg', '/home/pi/Desktop/images/15122025/02/43/image_15122025_02_43_45_10671.jpg', '/home/pi/Desktop/images/15122025/02/43/image_15122025_02_43_55_9934.jpg', '/home/pi/Desktop/images/15122025/02/43/image_15122025_02_44_04_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/43/image_15122025_02_43_14_9838.jpg
/home/pi/Desktop/images/15122025/02/43/image_15122025_02_43_24_10668.jpg
/home/pi/Desktop/images/15122025/02/43/image_15122025_02_43_34_9604.jpg
/home/pi/Desktop/images/15122025/02/43/image_15122025_02_43_45_10671.jpg
/home/pi/Desktop/images/15122025/02/43/image_15122025_02_43_55_9934.jpg
/home/pi/Desktop/images/15122025/02/43/image_15122025_02_44_04_9713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399426320","1399426391","1399426172","1399426285","1399426240","1399426357"],"photo_ids_order":["1399426172","1399426240","1399426285","1399426320","1399426357","1399426391"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9e2795d33033dfe4d509d0e74a9558db.jpg","text":"TemporaryFile(/tmp/multipartBody1691588061855539314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764003809,"filename":"image_15122025_02_43_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/15/28e847d7210ce0acbc892d11e1c0c67c.jpg","text":"TemporaryFile(/tmp/multipartBody1352536426628892932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764003809,"filename":"image_15122025_02_44_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/15/80262dde5a0e3909e7164f35f0483ecd.jpg","text":"TemporaryFile(/tmp/multipartBody3039381173573142244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764003809,"filename":"image_15122025_02_43_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/15/d54f51d5180c2d16490c5469109f3ae0.jpg","text":"TemporaryFile(/tmp/multipartBody8349057481155602428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764003809,"filename":"image_15122025_02_43_34_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e2e00b80d43e17eb47046fb487d88e8b.jpg","text":"TemporaryFile(/tmp/multipartBody9055590345572123686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764003809,"filename":"image_15122025_02_43_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/15/d9a9055ccb61ef7992fd3732de99818e.jpg","text":"TemporaryFile(/tmp/multipartBody4701073521549882249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764003809,"filename":"image_15122025_02_43_55_9934.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399426285","file1":"1399426240","file0":"1399426172","file4":"1399426357","file5":"1399426391","file3":"1399426320"},"map_files_photo_id_array":[{"photo_id":"1399426391","filename":"file5"},{"photo_id":"1399426285","filename":"file2"},{"photo_id":"1399426357","filename":"file4"},{"photo_id":"1399426240","filename":"file1"},{"photo_id":"1399426172","filename":"file0"},{"photo_id":"1399426320","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399426320":["hashtag1","hashtag2"]},{"1399426391":["hashtag1","hashtag2"]},{"1399426172":["hashtag1","hashtag2"]},{"1399426285":["hashtag1","hashtag2"]},{"1399426240":["hashtag1","hashtag2"]},{"1399426357":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399426320, 1399426391, 1399426172, 1399426285, 1399426240, 1399426357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85025978088379 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 02:59:42.036063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_43_1606.jpg', '/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_44_1634.jpg', '/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_46_1806.jpg', '/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_49_2846.jpg', '/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_52_2792.jpg', '/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_54_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_43_1606.jpg
/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_44_1634.jpg
/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_46_1806.jpg
/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_49_2846.jpg
/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_52_2792.jpg
/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_54_2611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399426772","1399426616","1399426675","1399426516","1399426596","1399426557"],"photo_ids_order":["1399426516","1399426557","1399426596","1399426616","1399426675","1399426772"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/874709ecaac585f23a21bbc5bece206d.jpg","text":"TemporaryFile(/tmp/multipartBody5782400083898208045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764042630,"filename":"image_05112025_12_51_54_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/15/14d6741571e5bf6755e5a321b751157f.jpg","text":"TemporaryFile(/tmp/multipartBody8489479057605844645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764042630,"filename":"image_05112025_12_51_49_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/15/e83b3554617a646763abd88eee56c588.jpg","text":"TemporaryFile(/tmp/multipartBody996275258154906489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764042630,"filename":"image_05112025_12_51_52_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/35d407a2612d729644f1f412658ffb0a.jpg","text":"TemporaryFile(/tmp/multipartBody4777205629981334154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764042630,"filename":"image_05112025_12_51_43_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/15/fc00869bf7997d63d682a140027dbbac.jpg","text":"TemporaryFile(/tmp/multipartBody6538651702271002561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764042630,"filename":"image_05112025_12_51_46_1806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7f0717455b0391a30968ebbecfbe43c3.jpg","text":"TemporaryFile(/tmp/multipartBody7609728096590628577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764042630,"filename":"image_05112025_12_51_44_1634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399426596","file1":"1399426557","file0":"1399426516","file4":"1399426675","file5":"1399426772","file3":"1399426616"},"map_files_photo_id_array":[{"photo_id":"1399426772","filename":"file5"},{"photo_id":"1399426596","filename":"file2"},{"photo_id":"1399426675","filename":"file4"},{"photo_id":"1399426557","filename":"file1"},{"photo_id":"1399426516","filename":"file0"},{"photo_id":"1399426616","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399426772":["hashtag1","hashtag2"]},{"1399426616":["hashtag1","hashtag2"]},{"1399426675":["hashtag1","hashtag2"]},{"1399426516":["hashtag1","hashtag2"]},{"1399426596":["hashtag1","hashtag2"]},{"1399426557":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399426772, 1399426616, 1399426675, 1399426516, 1399426596, 1399426557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6614830493927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 03:00:22.280858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/44/image_15122025_02_44_14_9709.jpg', '/home/pi/Desktop/images/15122025/02/44/image_15122025_02_44_25_10629.jpg', '/home/pi/Desktop/images/15122025/02/44/image_15122025_02_44_34_9694.jpg', '/home/pi/Desktop/images/15122025/02/44/image_15122025_02_44_44_9646.jpg', '/home/pi/Desktop/images/15122025/02/44/image_15122025_02_44_54_9787.jpg', '/home/pi/Desktop/images/15122025/02/44/image_15122025_02_45_05_10752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/44/image_15122025_02_44_14_9709.jpg
/home/pi/Desktop/images/15122025/02/44/image_15122025_02_44_25_10629.jpg
/home/pi/Desktop/images/15122025/02/44/image_15122025_02_44_34_9694.jpg
/home/pi/Desktop/images/15122025/02/44/image_15122025_02_44_44_9646.jpg
/home/pi/Desktop/images/15122025/02/44/image_15122025_02_44_54_9787.jpg
/home/pi/Desktop/images/15122025/02/44/image_15122025_02_45_05_10752.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5521647930145264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 03:00:32.249021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 03:00:42.360549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_58_3720.jpg', '/home/pi/Desktop/images/05112025/12/52/image_05112025_12_52_01_2730.jpg', '/home/pi/Desktop/images/05112025/12/52/image_05112025_12_52_03_2680.jpg', '/home/pi/Desktop/images/05112025/12/52/image_05112025_12_52_07_3294.jpg', '/home/pi/Desktop/images/05112025/12/52/image_05112025_12_52_13_6024.jpg', '/home/pi/Desktop/images/05112025/12/52/image_05112025_12_52_15_1762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/51/image_05112025_12_51_58_3720.jpg
/home/pi/Desktop/images/05112025/12/52/image_05112025_12_52_01_2730.jpg
/home/pi/Desktop/images/05112025/12/52/image_05112025_12_52_03_2680.jpg
/home/pi/Desktop/images/05112025/12/52/image_05112025_12_52_07_3294.jpg
/home/pi/Desktop/images/05112025/12/52/image_05112025_12_52_13_6024.jpg
/home/pi/Desktop/images/05112025/12/52/image_05112025_12_52_15_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":["1399427153","1399427120","1399427098","1399427128","1399427154","1399427142"],"photo_ids_order":["1399427098","1399427120","1399427128","1399427142","1399427153","1399427154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/02a678f529199e2c107d8a8d9be8374d.jpg","text":"TemporaryFile(/tmp/multipartBody8300211552545377594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764103103,"filename":"image_05112025_12_52_13_6024.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4331ab76382ab6fe96001a6a5f22a818.jpg","text":"TemporaryFile(/tmp/multipartBody7936501397358892125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764103103,"filename":"image_05112025_12_52_01_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/15/0c7e3f19451ebb7799a19a2a6b53bd25.jpg","text":"TemporaryFile(/tmp/multipartBody5267585150573414173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764103103,"filename":"image_05112025_12_51_58_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/15/3a0717faecbc2c5d14c129f50eb0575b.jpg","text":"TemporaryFile(/tmp/multipartBody223350936986484289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764103103,"filename":"image_05112025_12_52_03_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c94c20850c80569a76e73ff4492c66d7.jpg","text":"TemporaryFile(/tmp/multipartBody6109258197918811404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764103103,"filename":"image_05112025_12_52_15_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/15/166d2975998cb261e61e206587dd6add.jpg","text":"TemporaryFile(/tmp/multipartBody10974421099733845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764103103,"filename":"image_05112025_12_52_07_3294.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427128","file1":"1399427120","file0":"1399427098","file4":"1399427153","file5":"1399427154","file3":"1399427142"},"map_files_photo_id_array":[{"photo_id":"1399427154","filename":"file5"},{"photo_id":"1399427128","filename":"file2"},{"photo_id":"1399427153","filename":"file4"},{"photo_id":"1399427120","filename":"file1"},{"photo_id":"1399427098","filename":"file0"},{"photo_id":"1399427142","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399427153":["hashtag1","hashtag2"]},{"1399427120":["hashtag1","hashtag2"]},{"1399427098":["hashtag1","hashtag2"]},{"1399427128":["hashtag1","hashtag2"]},{"1399427154":["hashtag1","hashtag2"]},{"1399427142":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399427153, 1399427120, 1399427098, 1399427128, 1399427154, 1399427142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.250417947769165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 03:01:22.568297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/44/image_15122025_02_44_14_9709.jpg', '/home/pi/Desktop/images/15122025/02/44/image_15122025_02_44_25_10629.jpg', '/home/pi/Desktop/images/15122025/02/44/image_15122025_02_44_34_9694.jpg', '/home/pi/Desktop/images/15122025/02/44/image_15122025_02_44_44_9646.jpg', '/home/pi/Desktop/images/15122025/02/44/image_15122025_02_44_54_9787.jpg', '/home/pi/Desktop/images/15122025/02/44/image_15122025_02_45_05_10752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/44/image_15122025_02_44_14_9709.jpg
/home/pi/Desktop/images/15122025/02/44/image_15122025_02_44_25_10629.jpg
/home/pi/Desktop/images/15122025/02/44/image_15122025_02_44_34_9694.jpg
/home/pi/Desktop/images/15122025/02/44/image_15122025_02_44_44_9646.jpg
/home/pi/Desktop/images/15122025/02/44/image_15122025_02_44_54_9787.jpg
/home/pi/Desktop/images/15122025/02/44/image_15122025_02_45_05_10752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427156","1399427159","1399427155","1399427158","1399427157","1399427160"],"photo_ids_order":["1399427155","1399427156","1399427157","1399427158","1399427159","1399427160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b42d874def131a84abb6294fad5f47cc.jpg","text":"TemporaryFile(/tmp/multipartBody4790790217270078130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764143184,"filename":"image_15122025_02_44_25_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/000f55017b3ff30f4f8026e2bd3a1b1f.jpg","text":"TemporaryFile(/tmp/multipartBody3842068922162765317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764143184,"filename":"image_15122025_02_44_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/15/13eb1df9f220cef3ac64f8b1862d20c7.jpg","text":"TemporaryFile(/tmp/multipartBody5416565642704378735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764143184,"filename":"image_15122025_02_44_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/15/97f52fe7a0b9955570ebf90163bbaf25.jpg","text":"TemporaryFile(/tmp/multipartBody4798343736393813418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764143184,"filename":"image_15122025_02_44_44_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9ca0659eecb84c066f41900890117dca.jpg","text":"TemporaryFile(/tmp/multipartBody2958646685352322442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764143184,"filename":"image_15122025_02_44_34_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5818528c4b5de42f93ce86ceac78f6ae.jpg","text":"TemporaryFile(/tmp/multipartBody7699377036783263815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764143184,"filename":"image_15122025_02_45_05_10752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427157","file1":"1399427156","file0":"1399427155","file4":"1399427159","file5":"1399427160","file3":"1399427158"},"map_files_photo_id_array":[{"photo_id":"1399427160","filename":"file5"},{"photo_id":"1399427157","filename":"file2"},{"photo_id":"1399427159","filename":"file4"},{"photo_id":"1399427156","filename":"file1"},{"photo_id":"1399427155","filename":"file0"},{"photo_id":"1399427158","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427156":["hashtag1","hashtag2"]},{"1399427159":["hashtag1","hashtag2"]},{"1399427155":["hashtag1","hashtag2"]},{"1399427158":["hashtag1","hashtag2"]},{"1399427157":["hashtag1","hashtag2"]},{"1399427160":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427156, 1399427159, 1399427155, 1399427158, 1399427157, 1399427160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88675570487976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 03:02:02.286580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/45/image_15122025_02_45_14_9799.jpg', '/home/pi/Desktop/images/15122025/02/45/image_15122025_02_45_24_9882.jpg', '/home/pi/Desktop/images/15122025/02/45/image_15122025_02_45_34_9641.jpg', '/home/pi/Desktop/images/15122025/02/45/image_15122025_02_45_44_10562.jpg', '/home/pi/Desktop/images/15122025/02/45/image_15122025_02_45_54_9859.jpg', '/home/pi/Desktop/images/15122025/02/45/image_15122025_02_46_04_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/45/image_15122025_02_45_14_9799.jpg
/home/pi/Desktop/images/15122025/02/45/image_15122025_02_45_24_9882.jpg
/home/pi/Desktop/images/15122025/02/45/image_15122025_02_45_34_9641.jpg
/home/pi/Desktop/images/15122025/02/45/image_15122025_02_45_44_10562.jpg
/home/pi/Desktop/images/15122025/02/45/image_15122025_02_45_54_9859.jpg
/home/pi/Desktop/images/15122025/02/45/image_15122025_02_46_04_9639.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5381424427032471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 03:02:11.839766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 03:02:21.922910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/45/image_15122025_02_45_14_9799.jpg', '/home/pi/Desktop/images/15122025/02/45/image_15122025_02_45_24_9882.jpg', '/home/pi/Desktop/images/15122025/02/45/image_15122025_02_45_34_9641.jpg', '/home/pi/Desktop/images/15122025/02/45/image_15122025_02_45_44_10562.jpg', '/home/pi/Desktop/images/15122025/02/45/image_15122025_02_45_54_9859.jpg', '/home/pi/Desktop/images/15122025/02/45/image_15122025_02_46_04_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/45/image_15122025_02_45_14_9799.jpg
/home/pi/Desktop/images/15122025/02/45/image_15122025_02_45_24_9882.jpg
/home/pi/Desktop/images/15122025/02/45/image_15122025_02_45_34_9641.jpg
/home/pi/Desktop/images/15122025/02/45/image_15122025_02_45_44_10562.jpg
/home/pi/Desktop/images/15122025/02/45/image_15122025_02_45_54_9859.jpg
/home/pi/Desktop/images/15122025/02/45/image_15122025_02_46_04_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":["1399427171","1399427168","1399427170","1399427167","1399427166","1399427169"],"photo_ids_order":["1399427166","1399427167","1399427168","1399427169","1399427170","1399427171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/699f3d8f9d616f7b148f47af178f1d5a.jpg","text":"TemporaryFile(/tmp/multipartBody2457030819162250144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764202537,"filename":"image_15122025_02_46_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/15/899cb64223573d71a6fd92f6e115188c.jpg","text":"TemporaryFile(/tmp/multipartBody8723804040100400209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764202537,"filename":"image_15122025_02_45_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/15/4c614e41cd0219ae9721d399debc9f7a.jpg","text":"TemporaryFile(/tmp/multipartBody851119432480885234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764202537,"filename":"image_15122025_02_45_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/15/2749caddeb33bb09aa58112eead37b8d.jpg","text":"TemporaryFile(/tmp/multipartBody3737194288051046069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764202537,"filename":"image_15122025_02_45_24_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dafa68ae6ddac899712dc6c1e33178d9.jpg","text":"TemporaryFile(/tmp/multipartBody1715671594486487441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764202537,"filename":"image_15122025_02_45_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/15/c7cc787046c8babf32dcfea5107ae0ac.jpg","text":"TemporaryFile(/tmp/multipartBody7391341172351712041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764202537,"filename":"image_15122025_02_45_44_10562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427168","file1":"1399427167","file0":"1399427166","file4":"1399427170","file5":"1399427171","file3":"1399427169"},"map_files_photo_id_array":[{"photo_id":"1399427171","filename":"file5"},{"photo_id":"1399427168","filename":"file2"},{"photo_id":"1399427170","filename":"file4"},{"photo_id":"1399427167","filename":"file1"},{"photo_id":"1399427166","filename":"file0"},{"photo_id":"1399427169","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427171":["hashtag1","hashtag2"]},{"1399427168":["hashtag1","hashtag2"]},{"1399427170":["hashtag1","hashtag2"]},{"1399427167":["hashtag1","hashtag2"]},{"1399427166":["hashtag1","hashtag2"]},{"1399427169":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427171, 1399427168, 1399427170, 1399427167, 1399427166, 1399427169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01721525192261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 03:03:02.874270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/46/image_15122025_02_46_14_9832.jpg', '/home/pi/Desktop/images/15122025/02/46/image_15122025_02_46_34_9600.jpg', '/home/pi/Desktop/images/15122025/02/46/image_15122025_02_46_44_9715.jpg', '/home/pi/Desktop/images/15122025/02/46/image_15122025_02_46_55_10822.jpg', '/home/pi/Desktop/images/15122025/02/46/image_15122025_02_47_04_9732.jpg', '/home/pi/Desktop/images/15122025/02/47/image_15122025_02_47_14_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/46/image_15122025_02_46_14_9832.jpg
/home/pi/Desktop/images/15122025/02/46/image_15122025_02_46_34_9600.jpg
/home/pi/Desktop/images/15122025/02/46/image_15122025_02_46_44_9715.jpg
/home/pi/Desktop/images/15122025/02/46/image_15122025_02_46_55_10822.jpg
/home/pi/Desktop/images/15122025/02/46/image_15122025_02_47_04_9732.jpg
/home/pi/Desktop/images/15122025/02/47/image_15122025_02_47_14_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":["1399427174","1399427177","1399427173","1399427176","1399427175","1399427172"],"photo_ids_order":["1399427172","1399427173","1399427174","1399427175","1399427176","1399427177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bdb0e0a8d6301412830070f388c0c901.jpg","text":"TemporaryFile(/tmp/multipartBody641831182003089393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764243579,"filename":"image_15122025_02_46_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/15/4061f5b94fff282668d351ddd8e31531.jpg","text":"TemporaryFile(/tmp/multipartBody4195655956055393767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764243579,"filename":"image_15122025_02_47_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/15/c52edaf1728e299b2a73759d44c5201f.jpg","text":"TemporaryFile(/tmp/multipartBody4861961738992002171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764243579,"filename":"image_15122025_02_46_34_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e25addcfab9a6b248580f27236ebac06.jpg","text":"TemporaryFile(/tmp/multipartBody7169724918528675131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764243579,"filename":"image_15122025_02_47_04_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5c051843a8b4032e3dc8d49fcdcb75e6.jpg","text":"TemporaryFile(/tmp/multipartBody223505811346720402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764243579,"filename":"image_15122025_02_46_55_10822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a5ce029fa037abbf55347679e3760e00.jpg","text":"TemporaryFile(/tmp/multipartBody3218106785581807913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764243579,"filename":"image_15122025_02_46_14_9832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427174","file1":"1399427173","file0":"1399427172","file4":"1399427176","file5":"1399427177","file3":"1399427175"},"map_files_photo_id_array":[{"photo_id":"1399427177","filename":"file5"},{"photo_id":"1399427174","filename":"file2"},{"photo_id":"1399427176","filename":"file4"},{"photo_id":"1399427173","filename":"file1"},{"photo_id":"1399427172","filename":"file0"},{"photo_id":"1399427175","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427174":["hashtag1","hashtag2"]},{"1399427177":["hashtag1","hashtag2"]},{"1399427173":["hashtag1","hashtag2"]},{"1399427176":["hashtag1","hashtag2"]},{"1399427175":["hashtag1","hashtag2"]},{"1399427172":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427174, 1399427177, 1399427173, 1399427176, 1399427175, 1399427172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.576517820358276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 03:03:42.154151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/52/image_05112025_12_52_16_1553.jpg', '/home/pi/Desktop/images/05112025/12/52/image_05112025_12_52_19_2813.jpg', '/home/pi/Desktop/images/05112025/12/52/image_05112025_12_52_21_2597.jpg', '/home/pi/Desktop/images/05112025/12/52/image_05112025_12_52_56_34724.jpg', '/home/pi/Desktop/images/05112025/12/52/image_05112025_12_52_58_1595.jpg', '/home/pi/Desktop/images/05112025/12/52/image_05112025_12_53_00_1915.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/52/image_05112025_12_52_16_1553.jpg
/home/pi/Desktop/images/05112025/12/52/image_05112025_12_52_19_2813.jpg
/home/pi/Desktop/images/05112025/12/52/image_05112025_12_52_21_2597.jpg
/home/pi/Desktop/images/05112025/12/52/image_05112025_12_52_56_34724.jpg
/home/pi/Desktop/images/05112025/12/52/image_05112025_12_52_58_1595.jpg
/home/pi/Desktop/images/05112025/12/52/image_05112025_12_53_00_1915.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427180","1399427183","1399427182","1399427179","1399427181","1399427178"],"photo_ids_order":["1399427178","1399427179","1399427180","1399427181","1399427182","1399427183"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9fb769400611da9bdcdced48138b414a.jpg","text":"TemporaryFile(/tmp/multipartBody859573766910204640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764282889,"filename":"image_05112025_12_52_21_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/15/bf2e18732a743aff7174ad1d19072cfc.jpg","text":"TemporaryFile(/tmp/multipartBody5461137888112907575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764282889,"filename":"image_05112025_12_53_00_1915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d03fd8972a103920f3f9685d8ae74c89.jpg","text":"TemporaryFile(/tmp/multipartBody2587684002218403177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764282889,"filename":"image_05112025_12_52_58_1595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/324b87b4898700ff7cd9cd0f957e0e91.jpg","text":"TemporaryFile(/tmp/multipartBody9209886283706466048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764282889,"filename":"image_05112025_12_52_19_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/abe89c6b02637f5e58b8f6b376960b47.jpg","text":"TemporaryFile(/tmp/multipartBody9207116667688386049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764282889,"filename":"image_05112025_12_52_56_34724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3332024c8db24cf88d9b204f4f58fe27.jpg","text":"TemporaryFile(/tmp/multipartBody4610236946474359077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764282889,"filename":"image_05112025_12_52_16_1553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427180","file1":"1399427179","file0":"1399427178","file4":"1399427182","file5":"1399427183","file3":"1399427181"},"map_files_photo_id_array":[{"photo_id":"1399427183","filename":"file5"},{"photo_id":"1399427180","filename":"file2"},{"photo_id":"1399427182","filename":"file4"},{"photo_id":"1399427179","filename":"file1"},{"photo_id":"1399427178","filename":"file0"},{"photo_id":"1399427181","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399427180":["hashtag1","hashtag2"]},{"1399427183":["hashtag1","hashtag2"]},{"1399427182":["hashtag1","hashtag2"]},{"1399427179":["hashtag1","hashtag2"]},{"1399427181":["hashtag1","hashtag2"]},{"1399427178":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399427180, 1399427183, 1399427182, 1399427179, 1399427181, 1399427178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19251465797424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 03:04:22.536837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/47/image_15122025_02_47_24_9702.jpg', '/home/pi/Desktop/images/15122025/02/47/image_15122025_02_47_34_10787.jpg', '/home/pi/Desktop/images/15122025/02/47/image_15122025_02_47_44_9667.jpg', '/home/pi/Desktop/images/15122025/02/47/image_15122025_02_47_54_9584.jpg', '/home/pi/Desktop/images/15122025/02/47/image_15122025_02_48_04_10614.jpg', '/home/pi/Desktop/images/15122025/02/48/image_15122025_02_48_14_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/47/image_15122025_02_47_24_9702.jpg
/home/pi/Desktop/images/15122025/02/47/image_15122025_02_47_34_10787.jpg
/home/pi/Desktop/images/15122025/02/47/image_15122025_02_47_44_9667.jpg
/home/pi/Desktop/images/15122025/02/47/image_15122025_02_47_54_9584.jpg
/home/pi/Desktop/images/15122025/02/47/image_15122025_02_48_04_10614.jpg
/home/pi/Desktop/images/15122025/02/48/image_15122025_02_48_14_9668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427186","1399427189","1399427185","1399427188","1399427184","1399427187"],"photo_ids_order":["1399427184","1399427185","1399427186","1399427187","1399427188","1399427189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7e159ba275aeaf4ce549fdaa98db57bd.jpg","text":"TemporaryFile(/tmp/multipartBody4664903033053673672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764323148,"filename":"image_15122025_02_47_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/15/661f6dffea08c6793e543d406b1e0b31.jpg","text":"TemporaryFile(/tmp/multipartBody3065912852597834319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764323148,"filename":"image_15122025_02_48_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/15/84522c7abd0620b53386722a23bd2807.jpg","text":"TemporaryFile(/tmp/multipartBody842052217495247866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764323148,"filename":"image_15122025_02_47_34_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/15/1ec0ef39424640a237293b40a9f20a62.jpg","text":"TemporaryFile(/tmp/multipartBody7084520008519678686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764323148,"filename":"image_15122025_02_48_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/15/3ef4ab3425873f92cf2e51699715b000.jpg","text":"TemporaryFile(/tmp/multipartBody955354620689786084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764323148,"filename":"image_15122025_02_47_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/15/f964fa3365d2a0cee5e4fc41d588cc67.jpg","text":"TemporaryFile(/tmp/multipartBody7618636259858652837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764323148,"filename":"image_15122025_02_47_54_9584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427186","file1":"1399427185","file0":"1399427184","file4":"1399427188","file5":"1399427189","file3":"1399427187"},"map_files_photo_id_array":[{"photo_id":"1399427189","filename":"file5"},{"photo_id":"1399427186","filename":"file2"},{"photo_id":"1399427188","filename":"file4"},{"photo_id":"1399427185","filename":"file1"},{"photo_id":"1399427184","filename":"file0"},{"photo_id":"1399427187","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427186":["hashtag1","hashtag2"]},{"1399427189":["hashtag1","hashtag2"]},{"1399427185":["hashtag1","hashtag2"]},{"1399427188":["hashtag1","hashtag2"]},{"1399427184":["hashtag1","hashtag2"]},{"1399427187":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427186, 1399427189, 1399427185, 1399427188, 1399427184, 1399427187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38287544250488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 03:05:03.372407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/48/image_15122025_02_48_25_10644.jpg', '/home/pi/Desktop/images/15122025/02/48/image_15122025_02_48_34_9511.jpg', '/home/pi/Desktop/images/15122025/02/48/image_15122025_02_48_44_9746.jpg', '/home/pi/Desktop/images/15122025/02/48/image_15122025_02_49_04_9627.jpg', '/home/pi/Desktop/images/15122025/02/49/image_15122025_02_49_14_9629.jpg', '/home/pi/Desktop/images/15122025/02/49/image_15122025_02_49_25_10677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/48/image_15122025_02_48_25_10644.jpg
/home/pi/Desktop/images/15122025/02/48/image_15122025_02_48_34_9511.jpg
/home/pi/Desktop/images/15122025/02/48/image_15122025_02_48_44_9746.jpg
/home/pi/Desktop/images/15122025/02/48/image_15122025_02_49_04_9627.jpg
/home/pi/Desktop/images/15122025/02/49/image_15122025_02_49_14_9629.jpg
/home/pi/Desktop/images/15122025/02/49/image_15122025_02_49_25_10677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427192","1399427195","1399427191","1399427194","1399427193","1399427190"],"photo_ids_order":["1399427190","1399427191","1399427192","1399427193","1399427194","1399427195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8879755ea5720a8b34a0f31835d8f6a7.jpg","text":"TemporaryFile(/tmp/multipartBody227037722325475116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764364029,"filename":"image_15122025_02_48_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/15/9a295d0a7ff7731d5d42e3f086d2ced1.jpg","text":"TemporaryFile(/tmp/multipartBody1557876552050604057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764364029,"filename":"image_15122025_02_49_25_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/15/3475b7d15ae2b50c332781eb83f4a723.jpg","text":"TemporaryFile(/tmp/multipartBody8861010645076949559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764364029,"filename":"image_15122025_02_48_34_9511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/412e8748002cc3d4e2be1ec46cf5f140.jpg","text":"TemporaryFile(/tmp/multipartBody5060455256823612796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764364029,"filename":"image_15122025_02_49_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/15/901e3dd698d6d12242b85e1a3d7d6571.jpg","text":"TemporaryFile(/tmp/multipartBody7078677311976022892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764364029,"filename":"image_15122025_02_49_04_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9f1e4bcc273f0a72b70e1e2d6ce4ec67.jpg","text":"TemporaryFile(/tmp/multipartBody5334685825388966069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764364029,"filename":"image_15122025_02_48_25_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427192","file1":"1399427191","file0":"1399427190","file4":"1399427194","file5":"1399427195","file3":"1399427193"},"map_files_photo_id_array":[{"photo_id":"1399427195","filename":"file5"},{"photo_id":"1399427192","filename":"file2"},{"photo_id":"1399427194","filename":"file4"},{"photo_id":"1399427191","filename":"file1"},{"photo_id":"1399427190","filename":"file0"},{"photo_id":"1399427193","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427192":["hashtag1","hashtag2"]},{"1399427195":["hashtag1","hashtag2"]},{"1399427191":["hashtag1","hashtag2"]},{"1399427194":["hashtag1","hashtag2"]},{"1399427193":["hashtag1","hashtag2"]},{"1399427190":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427192, 1399427195, 1399427191, 1399427194, 1399427193, 1399427190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49086546897888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 03:05:42.632441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_01_1657.jpg', '/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_03_1673.jpg', '/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_05_1787.jpg', '/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_06_1525.jpg', '/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_08_1571.jpg', '/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_10_1678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_01_1657.jpg
/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_03_1673.jpg
/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_05_1787.jpg
/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_06_1525.jpg
/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_08_1571.jpg
/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_10_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":["1399427202","1399427204","1399427201","1399427200","1399427203","1399427196"],"photo_ids_order":["1399427196","1399427200","1399427201","1399427202","1399427203","1399427204"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d751fc644d348c4ecb2962548d71f4ce.jpg","text":"TemporaryFile(/tmp/multipartBody2155372500368481792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764403339,"filename":"image_05112025_12_53_06_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/15/3367ab273d66ce94df0df54ce558b0dd.jpg","text":"TemporaryFile(/tmp/multipartBody4851558270912112763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764403339,"filename":"image_05112025_12_53_10_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/15/db9ae13000363ebd51653c5af28100b3.jpg","text":"TemporaryFile(/tmp/multipartBody2610418361516675417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764403339,"filename":"image_05112025_12_53_05_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/15/fe9cb33a1a44ffa404d1b11e81864651.jpg","text":"TemporaryFile(/tmp/multipartBody3781543133259800477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764403339,"filename":"image_05112025_12_53_03_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/15/549dfec12c86bb8b5da634d9533744ef.jpg","text":"TemporaryFile(/tmp/multipartBody7543616744781567689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764403339,"filename":"image_05112025_12_53_08_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/15/0eb16c9233e11aec30cd948d2d46ceaa.jpg","text":"TemporaryFile(/tmp/multipartBody2434528401637530337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764403339,"filename":"image_05112025_12_53_01_1657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427201","file1":"1399427200","file0":"1399427196","file4":"1399427203","file5":"1399427204","file3":"1399427202"},"map_files_photo_id_array":[{"photo_id":"1399427204","filename":"file5"},{"photo_id":"1399427201","filename":"file2"},{"photo_id":"1399427203","filename":"file4"},{"photo_id":"1399427200","filename":"file1"},{"photo_id":"1399427196","filename":"file0"},{"photo_id":"1399427202","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399427202":["hashtag1","hashtag2"]},{"1399427204":["hashtag1","hashtag2"]},{"1399427201":["hashtag1","hashtag2"]},{"1399427200":["hashtag1","hashtag2"]},{"1399427203":["hashtag1","hashtag2"]},{"1399427196":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399427202, 1399427204, 1399427201, 1399427200, 1399427203, 1399427196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43334126472473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 03:06:21.845348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/49/image_15122025_02_49_34_9608.jpg', '/home/pi/Desktop/images/15122025/02/49/image_15122025_02_49_55_10673.jpg', '/home/pi/Desktop/images/15122025/02/49/image_15122025_02_50_04_9662.jpg', '/home/pi/Desktop/images/15122025/02/50/image_15122025_02_50_14_9625.jpg', '/home/pi/Desktop/images/15122025/02/50/image_15122025_02_50_25_10780.jpg', '/home/pi/Desktop/images/15122025/02/50/image_15122025_02_50_34_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/49/image_15122025_02_49_34_9608.jpg
/home/pi/Desktop/images/15122025/02/49/image_15122025_02_49_55_10673.jpg
/home/pi/Desktop/images/15122025/02/49/image_15122025_02_50_04_9662.jpg
/home/pi/Desktop/images/15122025/02/50/image_15122025_02_50_14_9625.jpg
/home/pi/Desktop/images/15122025/02/50/image_15122025_02_50_25_10780.jpg
/home/pi/Desktop/images/15122025/02/50/image_15122025_02_50_34_9652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427205","1399427210","1399427207","1399427209","1399427206","1399427208"],"photo_ids_order":["1399427205","1399427206","1399427207","1399427208","1399427209","1399427210"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a11bfbf2375bb2e7df483e132896a14b.jpg","text":"TemporaryFile(/tmp/multipartBody5999965707722625267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764442462,"filename":"image_15122025_02_49_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/15/cf9ef90900c33d4139bb027342c55786.jpg","text":"TemporaryFile(/tmp/multipartBody8192271302553295168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764442462,"filename":"image_15122025_02_50_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/15/2e9616ba9b7b32d37bf4b3a2de9613b8.jpg","text":"TemporaryFile(/tmp/multipartBody8028552824356922740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764442462,"filename":"image_15122025_02_50_04_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/241919108282950becf0d66944215d60.jpg","text":"TemporaryFile(/tmp/multipartBody9123193842674527181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764442462,"filename":"image_15122025_02_50_25_10780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6b07981728b7ad2c3cb81caff42f3205.jpg","text":"TemporaryFile(/tmp/multipartBody2905075582286519586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764442462,"filename":"image_15122025_02_49_55_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7e2a7d0e28e593e91050c943e51750bc.jpg","text":"TemporaryFile(/tmp/multipartBody2666810769190046285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764442462,"filename":"image_15122025_02_50_14_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427207","file1":"1399427206","file0":"1399427205","file4":"1399427209","file5":"1399427210","file3":"1399427208"},"map_files_photo_id_array":[{"photo_id":"1399427210","filename":"file5"},{"photo_id":"1399427207","filename":"file2"},{"photo_id":"1399427209","filename":"file4"},{"photo_id":"1399427206","filename":"file1"},{"photo_id":"1399427205","filename":"file0"},{"photo_id":"1399427208","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427205":["hashtag1","hashtag2"]},{"1399427210":["hashtag1","hashtag2"]},{"1399427207":["hashtag1","hashtag2"]},{"1399427209":["hashtag1","hashtag2"]},{"1399427206":["hashtag1","hashtag2"]},{"1399427208":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427205, 1399427210, 1399427207, 1399427209, 1399427206, 1399427208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94980192184448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 03:07:02.801488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/50/image_15122025_02_50_44_9686.jpg', '/home/pi/Desktop/images/15122025/02/50/image_15122025_02_50_55_10629.jpg', '/home/pi/Desktop/images/15122025/02/50/image_15122025_02_51_04_9726.jpg', '/home/pi/Desktop/images/15122025/02/51/image_15122025_02_51_14_9716.jpg', '/home/pi/Desktop/images/15122025/02/51/image_15122025_02_51_24_9794.jpg', '/home/pi/Desktop/images/15122025/02/51/image_15122025_02_51_35_10803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/50/image_15122025_02_50_44_9686.jpg
/home/pi/Desktop/images/15122025/02/50/image_15122025_02_50_55_10629.jpg
/home/pi/Desktop/images/15122025/02/50/image_15122025_02_51_04_9726.jpg
/home/pi/Desktop/images/15122025/02/51/image_15122025_02_51_14_9716.jpg
/home/pi/Desktop/images/15122025/02/51/image_15122025_02_51_24_9794.jpg
/home/pi/Desktop/images/15122025/02/51/image_15122025_02_51_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":["1399427216","1399427213","1399427215","1399427212","1399427211","1399427214"],"photo_ids_order":["1399427211","1399427212","1399427213","1399427214","1399427215","1399427216"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b6f15aafbeeb84fc66fb4974711b1b58.jpg","text":"TemporaryFile(/tmp/multipartBody8234808027980577836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764483502,"filename":"image_15122025_02_51_35_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/15/27bee9b7238532c2da212189fc98af76.jpg","text":"TemporaryFile(/tmp/multipartBody537517386000787907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764483502,"filename":"image_15122025_02_51_04_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/21a09f02dced2264e746542ffef2ae47.jpg","text":"TemporaryFile(/tmp/multipartBody6025078669436965148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764483502,"filename":"image_15122025_02_51_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/15/efb2669fb4e5d3e53256c62ea13512db.jpg","text":"TemporaryFile(/tmp/multipartBody2202203950451975697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764483502,"filename":"image_15122025_02_50_55_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8270ae01461581f3c6e93c5c8cddcc5b.jpg","text":"TemporaryFile(/tmp/multipartBody8210877780587246149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764483502,"filename":"image_15122025_02_50_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/15/c27eabf0772baaf80ac235ca32653bb0.jpg","text":"TemporaryFile(/tmp/multipartBody6822234684470391540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764483502,"filename":"image_15122025_02_51_14_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427213","file1":"1399427212","file0":"1399427211","file4":"1399427215","file5":"1399427216","file3":"1399427214"},"map_files_photo_id_array":[{"photo_id":"1399427216","filename":"file5"},{"photo_id":"1399427213","filename":"file2"},{"photo_id":"1399427215","filename":"file4"},{"photo_id":"1399427212","filename":"file1"},{"photo_id":"1399427211","filename":"file0"},{"photo_id":"1399427214","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427216":["hashtag1","hashtag2"]},{"1399427213":["hashtag1","hashtag2"]},{"1399427215":["hashtag1","hashtag2"]},{"1399427212":["hashtag1","hashtag2"]},{"1399427211":["hashtag1","hashtag2"]},{"1399427214":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427216, 1399427213, 1399427215, 1399427212, 1399427211, 1399427214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30015778541565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 03:07:42.166582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_11_1644.jpg', '/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_13_1520.jpg', '/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_14_1619.jpg', '/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_16_1772.jpg', '/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_18_1570.jpg', '/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_19_1567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_11_1644.jpg
/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_13_1520.jpg
/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_14_1619.jpg
/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_16_1772.jpg
/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_18_1570.jpg
/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_19_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":["1399427217","1399427222","1399427219","1399427221","1399427218","1399427220"],"photo_ids_order":["1399427217","1399427218","1399427219","1399427220","1399427221","1399427222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/adcf464c744209746a8841936c861941.jpg","text":"TemporaryFile(/tmp/multipartBody7082779101628210089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764522867,"filename":"image_05112025_12_53_11_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/15/90c7dbb63c3d93fdd1a6fa0b1e86bc06.jpg","text":"TemporaryFile(/tmp/multipartBody6352248681173412588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764522867,"filename":"image_05112025_12_53_19_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/15/a6e3054b04177e37cdecba6c390d9ed8.jpg","text":"TemporaryFile(/tmp/multipartBody4570011752167956143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764522867,"filename":"image_05112025_12_53_14_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/15/2ca79561c62d0e1b65b2ef252587baa4.jpg","text":"TemporaryFile(/tmp/multipartBody3314850775295420340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764522867,"filename":"image_05112025_12_53_18_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/15/497305c4f59ef0b218dc80f921cce1f8.jpg","text":"TemporaryFile(/tmp/multipartBody255101408288350198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764522867,"filename":"image_05112025_12_53_13_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/15/6660d4d3e2e703602a846463542f66a6.jpg","text":"TemporaryFile(/tmp/multipartBody4483187050027274426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764522867,"filename":"image_05112025_12_53_16_1772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427219","file1":"1399427218","file0":"1399427217","file4":"1399427221","file5":"1399427222","file3":"1399427220"},"map_files_photo_id_array":[{"photo_id":"1399427222","filename":"file5"},{"photo_id":"1399427219","filename":"file2"},{"photo_id":"1399427221","filename":"file4"},{"photo_id":"1399427218","filename":"file1"},{"photo_id":"1399427217","filename":"file0"},{"photo_id":"1399427220","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399427217":["hashtag1","hashtag2"]},{"1399427222":["hashtag1","hashtag2"]},{"1399427219":["hashtag1","hashtag2"]},{"1399427221":["hashtag1","hashtag2"]},{"1399427218":["hashtag1","hashtag2"]},{"1399427220":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399427217, 1399427222, 1399427219, 1399427221, 1399427218, 1399427220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.378830671310425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 03:08:22.442679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/51/image_15122025_02_51_44_9634.jpg', '/home/pi/Desktop/images/15122025/02/51/image_15122025_02_51_54_9717.jpg', '/home/pi/Desktop/images/15122025/02/52/image_15122025_02_52_14_10661.jpg', '/home/pi/Desktop/images/15122025/02/52/image_15122025_02_52_24_9662.jpg', '/home/pi/Desktop/images/15122025/02/52/image_15122025_02_52_34_9642.jpg', '/home/pi/Desktop/images/15122025/02/52/image_15122025_02_52_44_10759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/51/image_15122025_02_51_44_9634.jpg
/home/pi/Desktop/images/15122025/02/51/image_15122025_02_51_54_9717.jpg
/home/pi/Desktop/images/15122025/02/52/image_15122025_02_52_14_10661.jpg
/home/pi/Desktop/images/15122025/02/52/image_15122025_02_52_24_9662.jpg
/home/pi/Desktop/images/15122025/02/52/image_15122025_02_52_34_9642.jpg
/home/pi/Desktop/images/15122025/02/52/image_15122025_02_52_44_10759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427223","1399427225","1399427228","1399427227","1399427224","1399427226"],"photo_ids_order":["1399427223","1399427224","1399427225","1399427226","1399427227","1399427228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/968fb40c9d6a9e612c189e1cf71d66ff.jpg","text":"TemporaryFile(/tmp/multipartBody8750029268807970578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764563059,"filename":"image_15122025_02_51_44_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/71ae8026443f53304c1956aa8bc47bdf.jpg","text":"TemporaryFile(/tmp/multipartBody360647879481583194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764563059,"filename":"image_15122025_02_52_14_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9c189f21c88ecf5354ce1a9c6f73d3a2.jpg","text":"TemporaryFile(/tmp/multipartBody3393567267632541378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764563059,"filename":"image_15122025_02_52_44_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/15/1e2ecd1de542158320975675ab710856.jpg","text":"TemporaryFile(/tmp/multipartBody8841088453737876211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764563059,"filename":"image_15122025_02_52_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/15/7df2a597adf10c7488a8960aa980c726.jpg","text":"TemporaryFile(/tmp/multipartBody3223271882977890204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764563059,"filename":"image_15122025_02_51_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/15/f2cb4f4d04ceeeca98d59b3dd96eb746.jpg","text":"TemporaryFile(/tmp/multipartBody8223323715078304526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764563059,"filename":"image_15122025_02_52_24_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427225","file1":"1399427224","file0":"1399427223","file4":"1399427227","file5":"1399427228","file3":"1399427226"},"map_files_photo_id_array":[{"photo_id":"1399427228","filename":"file5"},{"photo_id":"1399427225","filename":"file2"},{"photo_id":"1399427227","filename":"file4"},{"photo_id":"1399427224","filename":"file1"},{"photo_id":"1399427223","filename":"file0"},{"photo_id":"1399427226","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427223":["hashtag1","hashtag2"]},{"1399427225":["hashtag1","hashtag2"]},{"1399427228":["hashtag1","hashtag2"]},{"1399427227":["hashtag1","hashtag2"]},{"1399427224":["hashtag1","hashtag2"]},{"1399427226":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427223, 1399427225, 1399427228, 1399427227, 1399427224, 1399427226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33776330947876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 03:09:03.721915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/52/image_15122025_02_52_54_9799.jpg', '/home/pi/Desktop/images/15122025/02/52/image_15122025_02_53_04_9740.jpg', '/home/pi/Desktop/images/15122025/02/53/image_15122025_02_53_15_10661.jpg', '/home/pi/Desktop/images/15122025/02/53/image_15122025_02_53_24_9572.jpg', '/home/pi/Desktop/images/15122025/02/53/image_15122025_02_53_45_10621.jpg', '/home/pi/Desktop/images/15122025/02/53/image_15122025_02_53_54_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/52/image_15122025_02_52_54_9799.jpg
/home/pi/Desktop/images/15122025/02/52/image_15122025_02_53_04_9740.jpg
/home/pi/Desktop/images/15122025/02/53/image_15122025_02_53_15_10661.jpg
/home/pi/Desktop/images/15122025/02/53/image_15122025_02_53_24_9572.jpg
/home/pi/Desktop/images/15122025/02/53/image_15122025_02_53_45_10621.jpg
/home/pi/Desktop/images/15122025/02/53/image_15122025_02_53_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":["1399427240","1399427237","1399427236","1399427239","1399427238","1399427241"],"photo_ids_order":["1399427236","1399427237","1399427238","1399427239","1399427240","1399427241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f7973ff36438ce7af843b3bda2ab1063.jpg","text":"TemporaryFile(/tmp/multipartBody1228083778757419008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764604521,"filename":"image_15122025_02_53_45_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a1b9ed4ed4738bffd5de5e1ee3f39e8b.jpg","text":"TemporaryFile(/tmp/multipartBody8321217451693997476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764604521,"filename":"image_15122025_02_53_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/15/769ad3df005405cbac4aed747753a345.jpg","text":"TemporaryFile(/tmp/multipartBody7163902548039584463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764604521,"filename":"image_15122025_02_52_54_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/15/9b623d4970588e764cdbae5e649d757d.jpg","text":"TemporaryFile(/tmp/multipartBody7251525912543425374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764604521,"filename":"image_15122025_02_53_24_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/df96004187d11b9f8d504c77659fc5b6.jpg","text":"TemporaryFile(/tmp/multipartBody3916754272242899579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764604521,"filename":"image_15122025_02_53_15_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7cc6f9f2ec93129ba0d97323658da4de.jpg","text":"TemporaryFile(/tmp/multipartBody7503025498720775164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764604521,"filename":"image_15122025_02_53_54_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427238","file1":"1399427237","file0":"1399427236","file4":"1399427240","file5":"1399427241","file3":"1399427239"},"map_files_photo_id_array":[{"photo_id":"1399427241","filename":"file5"},{"photo_id":"1399427238","filename":"file2"},{"photo_id":"1399427240","filename":"file4"},{"photo_id":"1399427237","filename":"file1"},{"photo_id":"1399427236","filename":"file0"},{"photo_id":"1399427239","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427240":["hashtag1","hashtag2"]},{"1399427237":["hashtag1","hashtag2"]},{"1399427236":["hashtag1","hashtag2"]},{"1399427239":["hashtag1","hashtag2"]},{"1399427238":["hashtag1","hashtag2"]},{"1399427241":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427240, 1399427237, 1399427236, 1399427239, 1399427238, 1399427241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.790889501571655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 03:09:42.616922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_21_1635.jpg', '/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_23_1667.jpg', '/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_24_1604.jpg', '/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_26_1652.jpg', '/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_28_1661.jpg', '/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_37_9047.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_21_1635.jpg
/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_23_1667.jpg
/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_24_1604.jpg
/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_26_1652.jpg
/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_28_1661.jpg
/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_37_9047.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427243","1399427246","1399427245","1399427242","1399427244","1399427247"],"photo_ids_order":["1399427242","1399427243","1399427244","1399427245","1399427246","1399427247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5e9f1f11394a6e463b32b830f91c8bf6.jpg","text":"TemporaryFile(/tmp/multipartBody11921527732381225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764643318,"filename":"image_05112025_12_53_23_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/15/273cad1c119b808c58bafb1e0b063034.jpg","text":"TemporaryFile(/tmp/multipartBody8996968181069805798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764643318,"filename":"image_05112025_12_53_28_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/15/d6b6ac586fcc193d5334c72f31743e7a.jpg","text":"TemporaryFile(/tmp/multipartBody8245318710471034945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764643318,"filename":"image_05112025_12_53_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/15/1ce3983895f1098258d76fa98bc710d8.jpg","text":"TemporaryFile(/tmp/multipartBody1520147277546198399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764643318,"filename":"image_05112025_12_53_21_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/15/bcb5ef7f60766779f25f5e351f97e64a.jpg","text":"TemporaryFile(/tmp/multipartBody7495671063211621358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764643318,"filename":"image_05112025_12_53_24_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/15/79eb6d105ae1421610f2ede1f386c746.jpg","text":"TemporaryFile(/tmp/multipartBody6106097067445792754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764643318,"filename":"image_05112025_12_53_37_9047.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427244","file1":"1399427243","file0":"1399427242","file4":"1399427246","file5":"1399427247","file3":"1399427245"},"map_files_photo_id_array":[{"photo_id":"1399427247","filename":"file5"},{"photo_id":"1399427244","filename":"file2"},{"photo_id":"1399427246","filename":"file4"},{"photo_id":"1399427243","filename":"file1"},{"photo_id":"1399427242","filename":"file0"},{"photo_id":"1399427245","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399427243":["hashtag1","hashtag2"]},{"1399427246":["hashtag1","hashtag2"]},{"1399427245":["hashtag1","hashtag2"]},{"1399427242":["hashtag1","hashtag2"]},{"1399427244":["hashtag1","hashtag2"]},{"1399427247":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399427243, 1399427246, 1399427245, 1399427242, 1399427244, 1399427247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71518158912659 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 03:10:21.869526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/53/image_15122025_02_54_04_9758.jpg', '/home/pi/Desktop/images/15122025/02/54/image_15122025_02_54_15_10634.jpg', '/home/pi/Desktop/images/15122025/02/54/image_15122025_02_54_24_9698.jpg', '/home/pi/Desktop/images/15122025/02/54/image_15122025_02_54_34_9673.jpg', '/home/pi/Desktop/images/15122025/02/54/image_15122025_02_54_44_9771.jpg', '/home/pi/Desktop/images/15122025/02/54/image_15122025_02_54_55_10795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/53/image_15122025_02_54_04_9758.jpg
/home/pi/Desktop/images/15122025/02/54/image_15122025_02_54_15_10634.jpg
/home/pi/Desktop/images/15122025/02/54/image_15122025_02_54_24_9698.jpg
/home/pi/Desktop/images/15122025/02/54/image_15122025_02_54_34_9673.jpg
/home/pi/Desktop/images/15122025/02/54/image_15122025_02_54_44_9771.jpg
/home/pi/Desktop/images/15122025/02/54/image_15122025_02_54_55_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":["1399427252","1399427249","1399427251","1399427248","1399427250","1399427253"],"photo_ids_order":["1399427248","1399427249","1399427250","1399427251","1399427252","1399427253"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d4cbc9f9fa6e2f4be64968663f449feb.jpg","text":"TemporaryFile(/tmp/multipartBody4442952141608949121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764682486,"filename":"image_15122025_02_54_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/15/f13f447d8f51f6e1d961253b7cd99590.jpg","text":"TemporaryFile(/tmp/multipartBody4876872866566449625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764682486,"filename":"image_15122025_02_54_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/15/d2dc6805414c7ed6742aa27591b20e21.jpg","text":"TemporaryFile(/tmp/multipartBody7858148834288591281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764682486,"filename":"image_15122025_02_54_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/15/aae35c51c60345ccaf4cff6f2082788e.jpg","text":"TemporaryFile(/tmp/multipartBody8784968249588164157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764682486,"filename":"image_15122025_02_54_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/15/22beb0c2abdf867b4af310817fe932fa.jpg","text":"TemporaryFile(/tmp/multipartBody2684975845075472628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764682486,"filename":"image_15122025_02_54_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/15/1fc41727d31557d186b54be425f933b5.jpg","text":"TemporaryFile(/tmp/multipartBody2915301729800458280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764682486,"filename":"image_15122025_02_54_55_10795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427250","file1":"1399427249","file0":"1399427248","file4":"1399427252","file5":"1399427253","file3":"1399427251"},"map_files_photo_id_array":[{"photo_id":"1399427253","filename":"file5"},{"photo_id":"1399427250","filename":"file2"},{"photo_id":"1399427252","filename":"file4"},{"photo_id":"1399427249","filename":"file1"},{"photo_id":"1399427248","filename":"file0"},{"photo_id":"1399427251","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427252":["hashtag1","hashtag2"]},{"1399427249":["hashtag1","hashtag2"]},{"1399427251":["hashtag1","hashtag2"]},{"1399427248":["hashtag1","hashtag2"]},{"1399427250":["hashtag1","hashtag2"]},{"1399427253":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427252, 1399427249, 1399427251, 1399427248, 1399427250, 1399427253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.773727893829346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 03:11:02.679688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/54/image_15122025_02_55_04_9622.jpg', '/home/pi/Desktop/images/15122025/02/55/image_15122025_02_55_14_9651.jpg', '/home/pi/Desktop/images/15122025/02/55/image_15122025_02_55_25_10744.jpg', '/home/pi/Desktop/images/15122025/02/55/image_15122025_02_55_34_9836.jpg', '/home/pi/Desktop/images/15122025/02/55/image_15122025_02_55_44_9628.jpg', '/home/pi/Desktop/images/15122025/02/55/image_15122025_02_55_55_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/54/image_15122025_02_55_04_9622.jpg
/home/pi/Desktop/images/15122025/02/55/image_15122025_02_55_14_9651.jpg
/home/pi/Desktop/images/15122025/02/55/image_15122025_02_55_25_10744.jpg
/home/pi/Desktop/images/15122025/02/55/image_15122025_02_55_34_9836.jpg
/home/pi/Desktop/images/15122025/02/55/image_15122025_02_55_44_9628.jpg
/home/pi/Desktop/images/15122025/02/55/image_15122025_02_55_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":["1399427255","1399427258","1399427254","1399427257","1399427256","1399427259"],"photo_ids_order":["1399427254","1399427255","1399427256","1399427257","1399427258","1399427259"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6ae3f925eb7a95abb06a7174de257038.jpg","text":"TemporaryFile(/tmp/multipartBody6924480784941156242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764723408,"filename":"image_15122025_02_55_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/15/f5848c37d36a7c71dcbb6031514df922.jpg","text":"TemporaryFile(/tmp/multipartBody8938761587029828155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764723408,"filename":"image_15122025_02_55_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/15/10291efd5fad31316583255acfe8b0fd.jpg","text":"TemporaryFile(/tmp/multipartBody914570892260649598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764723408,"filename":"image_15122025_02_55_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/15/b551706eed703b0af4b16268c3dced54.jpg","text":"TemporaryFile(/tmp/multipartBody2523750727664495323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764723408,"filename":"image_15122025_02_55_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/15/f2d29a1d934e579a63cc83826d1b0925.jpg","text":"TemporaryFile(/tmp/multipartBody1962927888057935843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764723408,"filename":"image_15122025_02_55_25_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/83a7d5589cdae0e9f78eaf5d6194640b.jpg","text":"TemporaryFile(/tmp/multipartBody6560082505103930985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764723408,"filename":"image_15122025_02_55_55_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427256","file1":"1399427255","file0":"1399427254","file4":"1399427258","file5":"1399427259","file3":"1399427257"},"map_files_photo_id_array":[{"photo_id":"1399427259","filename":"file5"},{"photo_id":"1399427256","filename":"file2"},{"photo_id":"1399427258","filename":"file4"},{"photo_id":"1399427255","filename":"file1"},{"photo_id":"1399427254","filename":"file0"},{"photo_id":"1399427257","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427255":["hashtag1","hashtag2"]},{"1399427258":["hashtag1","hashtag2"]},{"1399427254":["hashtag1","hashtag2"]},{"1399427257":["hashtag1","hashtag2"]},{"1399427256":["hashtag1","hashtag2"]},{"1399427259":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427255, 1399427258, 1399427254, 1399427257, 1399427256, 1399427259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.541768074035645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 03:11:42.095095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_38_1609.jpg', '/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_40_1779.jpg', '/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_42_1544.jpg', '/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_49_7391.jpg', '/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_51_1643.jpg', '/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_52_1508.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_38_1609.jpg
/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_40_1779.jpg
/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_42_1544.jpg
/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_49_7391.jpg
/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_51_1643.jpg
/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_52_1508.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427270","1399427267","1399427266","1399427269","1399427260","1399427268"],"photo_ids_order":["1399427260","1399427266","1399427267","1399427268","1399427269","1399427270"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8c097c666a76588a741cab11d1b36962.jpg","text":"TemporaryFile(/tmp/multipartBody604477524637931385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764762793,"filename":"image_05112025_12_53_52_1508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1d9cd9364239691b061add330bdf34d2.jpg","text":"TemporaryFile(/tmp/multipartBody3241484020324055645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764762793,"filename":"image_05112025_12_53_42_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/15/f29b19beb29699b6d7dfdc564f4743a3.jpg","text":"TemporaryFile(/tmp/multipartBody5575070539566952426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764762793,"filename":"image_05112025_12_53_40_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/15/bb4a572370ef4a99f6a33fee3e9c47fc.jpg","text":"TemporaryFile(/tmp/multipartBody1756386382837234458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764762793,"filename":"image_05112025_12_53_51_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/15/6e972166028f1469b684310eed6246a1.jpg","text":"TemporaryFile(/tmp/multipartBody3822115790059243872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764762793,"filename":"image_05112025_12_53_38_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/15/51c06370b66295b74387f90a73deee5f.jpg","text":"TemporaryFile(/tmp/multipartBody8464902583402047252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764762793,"filename":"image_05112025_12_53_49_7391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427267","file1":"1399427266","file0":"1399427260","file4":"1399427269","file5":"1399427270","file3":"1399427268"},"map_files_photo_id_array":[{"photo_id":"1399427270","filename":"file5"},{"photo_id":"1399427267","filename":"file2"},{"photo_id":"1399427269","filename":"file4"},{"photo_id":"1399427266","filename":"file1"},{"photo_id":"1399427260","filename":"file0"},{"photo_id":"1399427268","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399427270":["hashtag1","hashtag2"]},{"1399427267":["hashtag1","hashtag2"]},{"1399427266":["hashtag1","hashtag2"]},{"1399427269":["hashtag1","hashtag2"]},{"1399427260":["hashtag1","hashtag2"]},{"1399427268":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399427270, 1399427267, 1399427266, 1399427269, 1399427260, 1399427268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.101181745529175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 03:12:22.342600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/55/image_15122025_02_56_04_9593.jpg', '/home/pi/Desktop/images/15122025/02/56/image_15122025_02_56_14_9777.jpg', '/home/pi/Desktop/images/15122025/02/56/image_15122025_02_56_24_9698.jpg', '/home/pi/Desktop/images/15122025/02/56/image_15122025_02_56_34_10708.jpg', '/home/pi/Desktop/images/15122025/02/56/image_15122025_02_56_44_9833.jpg', '/home/pi/Desktop/images/15122025/02/56/image_15122025_02_56_54_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/55/image_15122025_02_56_04_9593.jpg
/home/pi/Desktop/images/15122025/02/56/image_15122025_02_56_14_9777.jpg
/home/pi/Desktop/images/15122025/02/56/image_15122025_02_56_24_9698.jpg
/home/pi/Desktop/images/15122025/02/56/image_15122025_02_56_34_10708.jpg
/home/pi/Desktop/images/15122025/02/56/image_15122025_02_56_44_9833.jpg
/home/pi/Desktop/images/15122025/02/56/image_15122025_02_56_54_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":["1399427273","1399427276","1399427272","1399427275","1399427274","1399427271"],"photo_ids_order":["1399427271","1399427272","1399427273","1399427274","1399427275","1399427276"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bf56998659dfcc7110c42037f4df7641.jpg","text":"TemporaryFile(/tmp/multipartBody5457491633589939786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764802958,"filename":"image_15122025_02_56_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/15/5788a07310fbd010751a361025c1ca93.jpg","text":"TemporaryFile(/tmp/multipartBody2339544973661660888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764802958,"filename":"image_15122025_02_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/15/989e97c01a11e4c52a93b372f8b0634f.jpg","text":"TemporaryFile(/tmp/multipartBody1230970683301453502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764802958,"filename":"image_15122025_02_56_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/15/95a7cbc2caf632497c33c612859972f8.jpg","text":"TemporaryFile(/tmp/multipartBody5012802613334737949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764802958,"filename":"image_15122025_02_56_44_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/15/a65c3837a96d471355929d17f8a88bd0.jpg","text":"TemporaryFile(/tmp/multipartBody6691796613597475225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764802958,"filename":"image_15122025_02_56_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/15/909cbfa869b7c632de5c29feb16cbc38.jpg","text":"TemporaryFile(/tmp/multipartBody4956034709592804183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764802958,"filename":"image_15122025_02_56_04_9593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427273","file1":"1399427272","file0":"1399427271","file4":"1399427275","file5":"1399427276","file3":"1399427274"},"map_files_photo_id_array":[{"photo_id":"1399427276","filename":"file5"},{"photo_id":"1399427273","filename":"file2"},{"photo_id":"1399427275","filename":"file4"},{"photo_id":"1399427272","filename":"file1"},{"photo_id":"1399427271","filename":"file0"},{"photo_id":"1399427274","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427273":["hashtag1","hashtag2"]},{"1399427276":["hashtag1","hashtag2"]},{"1399427272":["hashtag1","hashtag2"]},{"1399427275":["hashtag1","hashtag2"]},{"1399427274":["hashtag1","hashtag2"]},{"1399427271":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427273, 1399427276, 1399427272, 1399427275, 1399427274, 1399427271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92310905456543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 03:13:02.991229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/56/image_15122025_02_57_04_9790.jpg', '/home/pi/Desktop/images/15122025/02/57/image_15122025_02_57_14_10644.jpg', '/home/pi/Desktop/images/15122025/02/57/image_15122025_02_57_24_9835.jpg', '/home/pi/Desktop/images/15122025/02/57/image_15122025_02_57_34_9852.jpg', '/home/pi/Desktop/images/15122025/02/57/image_15122025_02_57_44_9659.jpg', '/home/pi/Desktop/images/15122025/02/57/image_15122025_02_57_54_10772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/56/image_15122025_02_57_04_9790.jpg
/home/pi/Desktop/images/15122025/02/57/image_15122025_02_57_14_10644.jpg
/home/pi/Desktop/images/15122025/02/57/image_15122025_02_57_24_9835.jpg
/home/pi/Desktop/images/15122025/02/57/image_15122025_02_57_34_9852.jpg
/home/pi/Desktop/images/15122025/02/57/image_15122025_02_57_44_9659.jpg
/home/pi/Desktop/images/15122025/02/57/image_15122025_02_57_54_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":["1399427279","1399427282","1399427281","1399427278","1399427280","1399427277"],"photo_ids_order":["1399427277","1399427278","1399427279","1399427280","1399427281","1399427282"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/501ffaeafbf5eda58eeefc65dd6d5ea4.jpg","text":"TemporaryFile(/tmp/multipartBody190924367098341407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764843685,"filename":"image_15122025_02_57_24_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/28d019074de2c07c5654cec9290b1835.jpg","text":"TemporaryFile(/tmp/multipartBody9182750949696714149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764843685,"filename":"image_15122025_02_57_54_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/15/96809aeed199bd2f36577ecc6616cc09.jpg","text":"TemporaryFile(/tmp/multipartBody3389294111978045866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764843685,"filename":"image_15122025_02_57_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/15/e85a327d8142459c25bcf72e5dd5e4fe.jpg","text":"TemporaryFile(/tmp/multipartBody9121995670918566494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764843685,"filename":"image_15122025_02_57_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/15/70d931c11860d48ad69ec69bad188707.jpg","text":"TemporaryFile(/tmp/multipartBody7896181048931631556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764843685,"filename":"image_15122025_02_57_34_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2761b97482c68a7fe5b3cd0c8115ec19.jpg","text":"TemporaryFile(/tmp/multipartBody2284113724776313611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764843685,"filename":"image_15122025_02_57_04_9790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427279","file1":"1399427278","file0":"1399427277","file4":"1399427281","file5":"1399427282","file3":"1399427280"},"map_files_photo_id_array":[{"photo_id":"1399427282","filename":"file5"},{"photo_id":"1399427279","filename":"file2"},{"photo_id":"1399427281","filename":"file4"},{"photo_id":"1399427278","filename":"file1"},{"photo_id":"1399427277","filename":"file0"},{"photo_id":"1399427280","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427279":["hashtag1","hashtag2"]},{"1399427282":["hashtag1","hashtag2"]},{"1399427281":["hashtag1","hashtag2"]},{"1399427278":["hashtag1","hashtag2"]},{"1399427280":["hashtag1","hashtag2"]},{"1399427277":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427279, 1399427282, 1399427281, 1399427278, 1399427280, 1399427277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.484392404556274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 03:13:42.455714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_54_1559.jpg', '/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_55_1676.jpg', '/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_57_1630.jpg', '/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_59_1688.jpg', '/home/pi/Desktop/images/05112025/12/53/image_05112025_12_54_00_1507.jpg', '/home/pi/Desktop/images/05112025/12/54/image_05112025_12_54_02_1677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_54_1559.jpg
/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_55_1676.jpg
/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_57_1630.jpg
/home/pi/Desktop/images/05112025/12/53/image_05112025_12_53_59_1688.jpg
/home/pi/Desktop/images/05112025/12/53/image_05112025_12_54_00_1507.jpg
/home/pi/Desktop/images/05112025/12/54/image_05112025_12_54_02_1677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427285","1399427288","1399427284","1399427287","1399427286","1399427283"],"photo_ids_order":["1399427283","1399427284","1399427285","1399427286","1399427287","1399427288"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b74d0d52114ba49a9e601f30a5a3fc55.jpg","text":"TemporaryFile(/tmp/multipartBody3602695680796512925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764883152,"filename":"image_05112025_12_53_57_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/15/26897af77d70efdf14d914dc68e6a45f.jpg","text":"TemporaryFile(/tmp/multipartBody3048366479150142594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764883152,"filename":"image_05112025_12_54_02_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/15/529459d752a6265293670d8894fa82cb.jpg","text":"TemporaryFile(/tmp/multipartBody339336635698751814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764883152,"filename":"image_05112025_12_53_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/15/5e2695133334cf8756390cca74f153b5.jpg","text":"TemporaryFile(/tmp/multipartBody3834010606062194077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764883152,"filename":"image_05112025_12_54_00_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/15/90b0c66bcb76c2c2533979b69ada22a5.jpg","text":"TemporaryFile(/tmp/multipartBody8224708908290007713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764883152,"filename":"image_05112025_12_53_59_1688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b20c1e8afed4ee34557ab157f197386c.jpg","text":"TemporaryFile(/tmp/multipartBody3481069617188475503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764883152,"filename":"image_05112025_12_53_54_1559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427285","file1":"1399427284","file0":"1399427283","file4":"1399427287","file5":"1399427288","file3":"1399427286"},"map_files_photo_id_array":[{"photo_id":"1399427288","filename":"file5"},{"photo_id":"1399427285","filename":"file2"},{"photo_id":"1399427287","filename":"file4"},{"photo_id":"1399427284","filename":"file1"},{"photo_id":"1399427283","filename":"file0"},{"photo_id":"1399427286","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399427285":["hashtag1","hashtag2"]},{"1399427288":["hashtag1","hashtag2"]},{"1399427284":["hashtag1","hashtag2"]},{"1399427287":["hashtag1","hashtag2"]},{"1399427286":["hashtag1","hashtag2"]},{"1399427283":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399427285, 1399427288, 1399427284, 1399427287, 1399427286, 1399427283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16175293922424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 03:14:22.867306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/57/image_15122025_02_58_04_9606.jpg', '/home/pi/Desktop/images/15122025/02/58/image_15122025_02_58_14_9659.jpg', '/home/pi/Desktop/images/15122025/02/58/image_15122025_02_58_24_10571.jpg', '/home/pi/Desktop/images/15122025/02/58/image_15122025_02_58_34_9619.jpg', '/home/pi/Desktop/images/15122025/02/58/image_15122025_02_58_44_10547.jpg', '/home/pi/Desktop/images/15122025/02/58/image_15122025_02_58_54_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/57/image_15122025_02_58_04_9606.jpg
/home/pi/Desktop/images/15122025/02/58/image_15122025_02_58_14_9659.jpg
/home/pi/Desktop/images/15122025/02/58/image_15122025_02_58_24_10571.jpg
/home/pi/Desktop/images/15122025/02/58/image_15122025_02_58_34_9619.jpg
/home/pi/Desktop/images/15122025/02/58/image_15122025_02_58_44_10547.jpg
/home/pi/Desktop/images/15122025/02/58/image_15122025_02_58_54_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":["1399427291","1399427294","1399427299","1399427290","1399427293","1399427295"],"photo_ids_order":["1399427290","1399427291","1399427293","1399427294","1399427295","1399427299"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6b3897bab819806075e98d3b8613b7b7.jpg","text":"TemporaryFile(/tmp/multipartBody2069603314637679788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764923477,"filename":"image_15122025_02_58_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/15/e312efa33f9ed94916394e89955faaa3.jpg","text":"TemporaryFile(/tmp/multipartBody5401648200761836495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764923477,"filename":"image_15122025_02_58_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/15/b4089ba023de8c139412a764f6ca5ead.jpg","text":"TemporaryFile(/tmp/multipartBody6390963816647299194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764923477,"filename":"image_15122025_02_58_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/15/ffd67debafdaf60affe7dc910b7be955.jpg","text":"TemporaryFile(/tmp/multipartBody8096617452334506189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764923477,"filename":"image_15122025_02_58_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/15/b7b8d4d73c90bb792055340c532d7a2e.jpg","text":"TemporaryFile(/tmp/multipartBody6117163780299800143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764923477,"filename":"image_15122025_02_58_24_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/15/3d1de75e31b58065aa987f84d98bf079.jpg","text":"TemporaryFile(/tmp/multipartBody9065378155671130110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764923477,"filename":"image_15122025_02_58_44_10547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427293","file1":"1399427291","file0":"1399427290","file4":"1399427295","file5":"1399427299","file3":"1399427294"},"map_files_photo_id_array":[{"photo_id":"1399427299","filename":"file5"},{"photo_id":"1399427293","filename":"file2"},{"photo_id":"1399427295","filename":"file4"},{"photo_id":"1399427291","filename":"file1"},{"photo_id":"1399427290","filename":"file0"},{"photo_id":"1399427294","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427291":["hashtag1","hashtag2"]},{"1399427294":["hashtag1","hashtag2"]},{"1399427299":["hashtag1","hashtag2"]},{"1399427290":["hashtag1","hashtag2"]},{"1399427293":["hashtag1","hashtag2"]},{"1399427295":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427291, 1399427294, 1399427299, 1399427290, 1399427293, 1399427295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.670016288757324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 03:15:02.740441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/58/image_15122025_02_59_04_9709.jpg', '/home/pi/Desktop/images/15122025/02/59/image_15122025_02_59_15_10784.jpg', '/home/pi/Desktop/images/15122025/02/59/image_15122025_02_59_24_9665.jpg', '/home/pi/Desktop/images/15122025/02/59/image_15122025_02_59_34_9756.jpg', '/home/pi/Desktop/images/15122025/02/59/image_15122025_02_59_45_10647.jpg', '/home/pi/Desktop/images/15122025/02/59/image_15122025_02_59_54_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/58/image_15122025_02_59_04_9709.jpg
/home/pi/Desktop/images/15122025/02/59/image_15122025_02_59_15_10784.jpg
/home/pi/Desktop/images/15122025/02/59/image_15122025_02_59_24_9665.jpg
/home/pi/Desktop/images/15122025/02/59/image_15122025_02_59_34_9756.jpg
/home/pi/Desktop/images/15122025/02/59/image_15122025_02_59_45_10647.jpg
/home/pi/Desktop/images/15122025/02/59/image_15122025_02_59_54_9699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427301","1399427304","1399427303","1399427300","1399427302","1399427305"],"photo_ids_order":["1399427300","1399427301","1399427302","1399427303","1399427304","1399427305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c98b2f74b1efd34e1c93bb5290c43561.jpg","text":"TemporaryFile(/tmp/multipartBody6052794209680292456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764963407,"filename":"image_15122025_02_59_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/15/9df76f283e3fbca2776f1ce5514b6242.jpg","text":"TemporaryFile(/tmp/multipartBody4350063400976180547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764963407,"filename":"image_15122025_02_59_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/15/965ee09fcec951868f914613af02f444.jpg","text":"TemporaryFile(/tmp/multipartBody5857375138405665233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764963407,"filename":"image_15122025_02_59_34_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/02fc930cc67a9196a03bfeb4d7a5c7a7.jpg","text":"TemporaryFile(/tmp/multipartBody3027863287906075027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764963407,"filename":"image_15122025_02_59_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/15/e9c62de0c5cf2cb90da97be49c56cb8f.jpg","text":"TemporaryFile(/tmp/multipartBody491595900894286925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764963407,"filename":"image_15122025_02_59_24_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ee270d1a417579d822c1d949b94902e1.jpg","text":"TemporaryFile(/tmp/multipartBody713722482187659313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765764963407,"filename":"image_15122025_02_59_54_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427302","file1":"1399427301","file0":"1399427300","file4":"1399427304","file5":"1399427305","file3":"1399427303"},"map_files_photo_id_array":[{"photo_id":"1399427305","filename":"file5"},{"photo_id":"1399427302","filename":"file2"},{"photo_id":"1399427304","filename":"file4"},{"photo_id":"1399427301","filename":"file1"},{"photo_id":"1399427300","filename":"file0"},{"photo_id":"1399427303","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427301":["hashtag1","hashtag2"]},{"1399427304":["hashtag1","hashtag2"]},{"1399427303":["hashtag1","hashtag2"]},{"1399427300":["hashtag1","hashtag2"]},{"1399427302":["hashtag1","hashtag2"]},{"1399427305":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427301, 1399427304, 1399427303, 1399427300, 1399427302, 1399427305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48764133453369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 03:15:41.956660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/54/image_05112025_12_54_03_1602.jpg', '/home/pi/Desktop/images/05112025/12/54/image_05112025_12_54_06_2536.jpg', '/home/pi/Desktop/images/05112025/12/54/image_05112025_12_54_10_3780.jpg', '/home/pi/Desktop/images/05112025/12/54/image_05112025_12_54_12_2609.jpg', '/home/pi/Desktop/images/05112025/12/54/image_05112025_12_54_15_2574.jpg', '/home/pi/Desktop/images/05112025/12/54/image_05112025_12_54_19_3854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/54/image_05112025_12_54_03_1602.jpg
/home/pi/Desktop/images/05112025/12/54/image_05112025_12_54_06_2536.jpg
/home/pi/Desktop/images/05112025/12/54/image_05112025_12_54_10_3780.jpg
/home/pi/Desktop/images/05112025/12/54/image_05112025_12_54_12_2609.jpg
/home/pi/Desktop/images/05112025/12/54/image_05112025_12_54_15_2574.jpg
/home/pi/Desktop/images/05112025/12/54/image_05112025_12_54_19_3854.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427306","1399427309","1399427308","1399427311","1399427310","1399427307"],"photo_ids_order":["1399427306","1399427307","1399427308","1399427309","1399427310","1399427311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e74b746c59b9d9127c9efd2515bb8464.jpg","text":"TemporaryFile(/tmp/multipartBody3455428994404604420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765002663,"filename":"image_05112025_12_54_03_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/15/5ff5c261e99d402e7d705afa90ccdc7b.jpg","text":"TemporaryFile(/tmp/multipartBody109552617977781048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765002663,"filename":"image_05112025_12_54_12_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/15/f0755d9b240fce9dbf2806fc68e3b7ec.jpg","text":"TemporaryFile(/tmp/multipartBody2162909190039585738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765002663,"filename":"image_05112025_12_54_10_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/15/88ff587ef52eceec87ab7b89b0fb693c.jpg","text":"TemporaryFile(/tmp/multipartBody2659673093840164755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765002663,"filename":"image_05112025_12_54_19_3854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8b78d4d40964d7605c098335bec62745.jpg","text":"TemporaryFile(/tmp/multipartBody8666720385248197171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765002663,"filename":"image_05112025_12_54_15_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/15/022f9629d48d58a12ed91b2d95c3bb24.jpg","text":"TemporaryFile(/tmp/multipartBody388005200010824092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765002663,"filename":"image_05112025_12_54_06_2536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427308","file1":"1399427307","file0":"1399427306","file4":"1399427310","file5":"1399427311","file3":"1399427309"},"map_files_photo_id_array":[{"photo_id":"1399427311","filename":"file5"},{"photo_id":"1399427308","filename":"file2"},{"photo_id":"1399427310","filename":"file4"},{"photo_id":"1399427307","filename":"file1"},{"photo_id":"1399427306","filename":"file0"},{"photo_id":"1399427309","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399427306":["hashtag1","hashtag2"]},{"1399427309":["hashtag1","hashtag2"]},{"1399427308":["hashtag1","hashtag2"]},{"1399427311":["hashtag1","hashtag2"]},{"1399427310":["hashtag1","hashtag2"]},{"1399427307":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399427306, 1399427309, 1399427308, 1399427311, 1399427310, 1399427307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5312762260437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 03:16:22.260156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/02/59/image_15122025_03_00_04_9676.jpg', '/home/pi/Desktop/images/15122025/03/00/image_15122025_03_00_14_9697.jpg', '/home/pi/Desktop/images/15122025/03/00/image_15122025_03_00_24_10675.jpg', '/home/pi/Desktop/images/15122025/03/00/image_15122025_03_00_34_9632.jpg', '/home/pi/Desktop/images/15122025/03/00/image_15122025_03_00_44_9726.jpg', '/home/pi/Desktop/images/15122025/03/00/image_15122025_03_00_55_10898.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/02/59/image_15122025_03_00_04_9676.jpg
/home/pi/Desktop/images/15122025/03/00/image_15122025_03_00_14_9697.jpg
/home/pi/Desktop/images/15122025/03/00/image_15122025_03_00_24_10675.jpg
/home/pi/Desktop/images/15122025/03/00/image_15122025_03_00_34_9632.jpg
/home/pi/Desktop/images/15122025/03/00/image_15122025_03_00_44_9726.jpg
/home/pi/Desktop/images/15122025/03/00/image_15122025_03_00_55_10898.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427316","1399427315","1399427312","1399427314","1399427317","1399427313"],"photo_ids_order":["1399427312","1399427313","1399427314","1399427315","1399427316","1399427317"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5f9470a39a95d92e87027a6ad511079b.jpg","text":"TemporaryFile(/tmp/multipartBody5568931257399165417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765042878,"filename":"image_15122025_03_00_44_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d817280ad2ff2cd86efc083626e3f1b1.jpg","text":"TemporaryFile(/tmp/multipartBody2318524893055565980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765042878,"filename":"image_15122025_03_00_34_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cbec402844442007905facb8aa807632.jpg","text":"TemporaryFile(/tmp/multipartBody2098634302135399813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765042878,"filename":"image_15122025_03_00_04_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a71603cdba816d310baa5736c6a97f97.jpg","text":"TemporaryFile(/tmp/multipartBody7855258332251578661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765042878,"filename":"image_15122025_03_00_24_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/15/b36b68b94c2891e77c296a840fed4e68.jpg","text":"TemporaryFile(/tmp/multipartBody5414148885540191774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765042878,"filename":"image_15122025_03_00_55_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/15/15b215696bd8234a350afac94c1692d1.jpg","text":"TemporaryFile(/tmp/multipartBody495266758330169716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765042878,"filename":"image_15122025_03_00_14_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427314","file1":"1399427313","file0":"1399427312","file4":"1399427316","file5":"1399427317","file3":"1399427315"},"map_files_photo_id_array":[{"photo_id":"1399427317","filename":"file5"},{"photo_id":"1399427314","filename":"file2"},{"photo_id":"1399427316","filename":"file4"},{"photo_id":"1399427313","filename":"file1"},{"photo_id":"1399427312","filename":"file0"},{"photo_id":"1399427315","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427316":["hashtag1","hashtag2"]},{"1399427315":["hashtag1","hashtag2"]},{"1399427312":["hashtag1","hashtag2"]},{"1399427314":["hashtag1","hashtag2"]},{"1399427317":["hashtag1","hashtag2"]},{"1399427313":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427316, 1399427315, 1399427312, 1399427314, 1399427317, 1399427313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13884091377258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 03:17:03.107194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/00/image_15122025_03_01_04_9626.jpg', '/home/pi/Desktop/images/15122025/03/01/image_15122025_03_01_14_9687.jpg', '/home/pi/Desktop/images/15122025/03/01/image_15122025_03_01_24_9761.jpg', '/home/pi/Desktop/images/15122025/03/01/image_15122025_03_01_34_10662.jpg', '/home/pi/Desktop/images/15122025/03/01/image_15122025_03_01_44_9538.jpg', '/home/pi/Desktop/images/15122025/03/01/image_15122025_03_02_04_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/00/image_15122025_03_01_04_9626.jpg
/home/pi/Desktop/images/15122025/03/01/image_15122025_03_01_14_9687.jpg
/home/pi/Desktop/images/15122025/03/01/image_15122025_03_01_24_9761.jpg
/home/pi/Desktop/images/15122025/03/01/image_15122025_03_01_34_10662.jpg
/home/pi/Desktop/images/15122025/03/01/image_15122025_03_01_44_9538.jpg
/home/pi/Desktop/images/15122025/03/01/image_15122025_03_02_04_9688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427322","1399427321","1399427318","1399427320","1399427323","1399427319"],"photo_ids_order":["1399427318","1399427319","1399427320","1399427321","1399427322","1399427323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a9c00e588a5b97e2324098a576e33430.jpg","text":"TemporaryFile(/tmp/multipartBody2881330661862736200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765083869,"filename":"image_15122025_03_01_44_9538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4cc9383e7e9c60ed3c8e556d27633208.jpg","text":"TemporaryFile(/tmp/multipartBody9093259040290039231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765083869,"filename":"image_15122025_03_01_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/15/edabfd9631e75b778d4f94a920eb0913.jpg","text":"TemporaryFile(/tmp/multipartBody2639745444454322240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765083869,"filename":"image_15122025_03_01_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/15/ceaf40b7c7fa6c169ed4bd7c223d64ba.jpg","text":"TemporaryFile(/tmp/multipartBody1978139815591694201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765083869,"filename":"image_15122025_03_01_24_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/707e29be8268ee82b41d9e33b02bfcc1.jpg","text":"TemporaryFile(/tmp/multipartBody3265201003728247706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765083869,"filename":"image_15122025_03_02_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/15/244cabbcfb69dd90dd317a64644363f4.jpg","text":"TemporaryFile(/tmp/multipartBody6499019676620466949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765083869,"filename":"image_15122025_03_01_14_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427320","file1":"1399427319","file0":"1399427318","file4":"1399427322","file5":"1399427323","file3":"1399427321"},"map_files_photo_id_array":[{"photo_id":"1399427323","filename":"file5"},{"photo_id":"1399427320","filename":"file2"},{"photo_id":"1399427322","filename":"file4"},{"photo_id":"1399427319","filename":"file1"},{"photo_id":"1399427318","filename":"file0"},{"photo_id":"1399427321","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427322":["hashtag1","hashtag2"]},{"1399427321":["hashtag1","hashtag2"]},{"1399427318":["hashtag1","hashtag2"]},{"1399427320":["hashtag1","hashtag2"]},{"1399427323":["hashtag1","hashtag2"]},{"1399427319":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427322, 1399427321, 1399427318, 1399427320, 1399427323, 1399427319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88317918777466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 03:17:42.474280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/54/image_05112025_12_54_21_2655.jpg', '/home/pi/Desktop/images/05112025/12/54/image_05112025_12_54_24_2610.jpg', '/home/pi/Desktop/images/05112025/12/54/image_05112025_12_54_28_3641.jpg', '/home/pi/Desktop/images/05112025/12/54/image_05112025_12_54_33_5227.jpg', '/home/pi/Desktop/images/05112025/12/54/image_05112025_12_54_34_1512.jpg', '/home/pi/Desktop/images/05112025/12/54/image_05112025_12_54_50_15771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/54/image_05112025_12_54_21_2655.jpg
/home/pi/Desktop/images/05112025/12/54/image_05112025_12_54_24_2610.jpg
/home/pi/Desktop/images/05112025/12/54/image_05112025_12_54_28_3641.jpg
/home/pi/Desktop/images/05112025/12/54/image_05112025_12_54_33_5227.jpg
/home/pi/Desktop/images/05112025/12/54/image_05112025_12_54_34_1512.jpg
/home/pi/Desktop/images/05112025/12/54/image_05112025_12_54_50_15771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427333","1399427324","1399427332","1399427335","1399427325","1399427334"],"photo_ids_order":["1399427324","1399427325","1399427332","1399427333","1399427334","1399427335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/69005ffdc2bb18257177ca6934380a79.jpg","text":"TemporaryFile(/tmp/multipartBody4485190113056024697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765123203,"filename":"image_05112025_12_54_33_5227.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a0b195600c868470e554543497de709b.jpg","text":"TemporaryFile(/tmp/multipartBody2202970982602824230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765123203,"filename":"image_05112025_12_54_21_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/15/873686763ffcaac47eef48351a58a82b.jpg","text":"TemporaryFile(/tmp/multipartBody5607430299000827912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765123203,"filename":"image_05112025_12_54_28_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/15/67400ed1c0b5ef165530dfcd80905fd6.jpg","text":"TemporaryFile(/tmp/multipartBody6313858804742611295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765123203,"filename":"image_05112025_12_54_50_15771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a465447cf36ddf983d1a0715ac4df88b.jpg","text":"TemporaryFile(/tmp/multipartBody2033985671732801221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765123203,"filename":"image_05112025_12_54_24_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1d8339920d4d859438d1672ee40228cd.jpg","text":"TemporaryFile(/tmp/multipartBody2657654465691753239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765123203,"filename":"image_05112025_12_54_34_1512.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427332","file1":"1399427325","file0":"1399427324","file4":"1399427334","file5":"1399427335","file3":"1399427333"},"map_files_photo_id_array":[{"photo_id":"1399427335","filename":"file5"},{"photo_id":"1399427332","filename":"file2"},{"photo_id":"1399427334","filename":"file4"},{"photo_id":"1399427325","filename":"file1"},{"photo_id":"1399427324","filename":"file0"},{"photo_id":"1399427333","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399427333":["hashtag1","hashtag2"]},{"1399427324":["hashtag1","hashtag2"]},{"1399427332":["hashtag1","hashtag2"]},{"1399427335":["hashtag1","hashtag2"]},{"1399427325":["hashtag1","hashtag2"]},{"1399427334":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399427333, 1399427324, 1399427332, 1399427335, 1399427325, 1399427334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.639893531799316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 03:18:22.716272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/02/image_15122025_03_02_14_9624.jpg', '/home/pi/Desktop/images/15122025/03/02/image_15122025_03_02_25_10709.jpg', '/home/pi/Desktop/images/15122025/03/02/image_15122025_03_02_34_9625.jpg', '/home/pi/Desktop/images/15122025/03/02/image_15122025_03_02_44_9700.jpg', '/home/pi/Desktop/images/15122025/03/03/image_15122025_03_03_14_10690.jpg', '/home/pi/Desktop/images/15122025/03/03/image_15122025_03_03_24_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/02/image_15122025_03_02_14_9624.jpg
/home/pi/Desktop/images/15122025/03/02/image_15122025_03_02_25_10709.jpg
/home/pi/Desktop/images/15122025/03/02/image_15122025_03_02_34_9625.jpg
/home/pi/Desktop/images/15122025/03/02/image_15122025_03_02_44_9700.jpg
/home/pi/Desktop/images/15122025/03/03/image_15122025_03_03_14_10690.jpg
/home/pi/Desktop/images/15122025/03/03/image_15122025_03_03_24_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":["1399427336","1399427339","1399427341","1399427338","1399427337","1399427340"],"photo_ids_order":["1399427336","1399427337","1399427338","1399427339","1399427340","1399427341"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1fdd0712f098ac1b78aaacf58e1d73b2.jpg","text":"TemporaryFile(/tmp/multipartBody6872805122656634625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765163331,"filename":"image_15122025_03_02_14_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/15/b7edd87c93c3232a90e23e72eed35fc4.jpg","text":"TemporaryFile(/tmp/multipartBody3956756138349272240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765163331,"filename":"image_15122025_03_02_44_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/05d52b220b55fe0a26a1cc3117cd7f4a.jpg","text":"TemporaryFile(/tmp/multipartBody5817728864386698838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765163331,"filename":"image_15122025_03_03_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/15/802e1bbef747fa1caa830d356d844b8b.jpg","text":"TemporaryFile(/tmp/multipartBody982998011488697524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765163331,"filename":"image_15122025_03_02_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/15/56b16e3f602fa8715ee1501280b00d0d.jpg","text":"TemporaryFile(/tmp/multipartBody4347115819787010295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765163331,"filename":"image_15122025_03_02_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/15/f7da5d919f86f18a1f674af494902b5b.jpg","text":"TemporaryFile(/tmp/multipartBody1239397497792968708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765163331,"filename":"image_15122025_03_03_14_10690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427338","file1":"1399427337","file0":"1399427336","file4":"1399427340","file5":"1399427341","file3":"1399427339"},"map_files_photo_id_array":[{"photo_id":"1399427341","filename":"file5"},{"photo_id":"1399427338","filename":"file2"},{"photo_id":"1399427340","filename":"file4"},{"photo_id":"1399427337","filename":"file1"},{"photo_id":"1399427336","filename":"file0"},{"photo_id":"1399427339","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427336":["hashtag1","hashtag2"]},{"1399427339":["hashtag1","hashtag2"]},{"1399427341":["hashtag1","hashtag2"]},{"1399427338":["hashtag1","hashtag2"]},{"1399427337":["hashtag1","hashtag2"]},{"1399427340":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427336, 1399427339, 1399427341, 1399427338, 1399427337, 1399427340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49043679237366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 03:19:02.896877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/03/image_15122025_03_03_34_9706.jpg', '/home/pi/Desktop/images/15122025/03/03/image_15122025_03_03_44_10634.jpg', '/home/pi/Desktop/images/15122025/03/03/image_15122025_03_03_54_9590.jpg', '/home/pi/Desktop/images/15122025/03/03/image_15122025_03_04_04_9768.jpg', '/home/pi/Desktop/images/15122025/03/04/image_15122025_03_04_14_10656.jpg', '/home/pi/Desktop/images/15122025/03/04/image_15122025_03_04_24_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/03/image_15122025_03_03_34_9706.jpg
/home/pi/Desktop/images/15122025/03/03/image_15122025_03_03_44_10634.jpg
/home/pi/Desktop/images/15122025/03/03/image_15122025_03_03_54_9590.jpg
/home/pi/Desktop/images/15122025/03/03/image_15122025_03_04_04_9768.jpg
/home/pi/Desktop/images/15122025/03/04/image_15122025_03_04_14_10656.jpg
/home/pi/Desktop/images/15122025/03/04/image_15122025_03_04_24_9786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427342","1399427345","1399427344","1399427347","1399427343","1399427346"],"photo_ids_order":["1399427342","1399427343","1399427344","1399427345","1399427346","1399427347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4b3da0237cf9aca389133b6545d1d6c0.jpg","text":"TemporaryFile(/tmp/multipartBody2630050541978771080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765203678,"filename":"image_15122025_03_03_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/15/90903e0fadc45839a58f80f21fa4c691.jpg","text":"TemporaryFile(/tmp/multipartBody2720807189218491542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765203678,"filename":"image_15122025_03_04_04_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e25755b6bca643328637a2b8da003fdd.jpg","text":"TemporaryFile(/tmp/multipartBody1058556995879301662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765203678,"filename":"image_15122025_03_03_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/15/fce99d398a212121f3f93af35d3cc408.jpg","text":"TemporaryFile(/tmp/multipartBody8942565294675589015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765203678,"filename":"image_15122025_03_04_24_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/462ef4444123bbc4d7217d6a0d221581.jpg","text":"TemporaryFile(/tmp/multipartBody7321296264262773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765203678,"filename":"image_15122025_03_03_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/15/f661c0a08c276b2ac58afb0f2ddc063f.jpg","text":"TemporaryFile(/tmp/multipartBody1511584496453590921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765203678,"filename":"image_15122025_03_04_14_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427344","file1":"1399427343","file0":"1399427342","file4":"1399427346","file5":"1399427347","file3":"1399427345"},"map_files_photo_id_array":[{"photo_id":"1399427347","filename":"file5"},{"photo_id":"1399427344","filename":"file2"},{"photo_id":"1399427346","filename":"file4"},{"photo_id":"1399427343","filename":"file1"},{"photo_id":"1399427342","filename":"file0"},{"photo_id":"1399427345","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427342":["hashtag1","hashtag2"]},{"1399427345":["hashtag1","hashtag2"]},{"1399427344":["hashtag1","hashtag2"]},{"1399427347":["hashtag1","hashtag2"]},{"1399427343":["hashtag1","hashtag2"]},{"1399427346":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427342, 1399427345, 1399427344, 1399427347, 1399427343, 1399427346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98869490623474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 03:19:42.006718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/54/image_05112025_12_54_53_2999.jpg', '/home/pi/Desktop/images/05112025/12/54/image_05112025_12_54_55_1616.jpg', '/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_05_10301.jpg', '/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_07_1650.jpg', '/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_08_1568.jpg', '/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_14_5550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/54/image_05112025_12_54_53_2999.jpg
/home/pi/Desktop/images/05112025/12/54/image_05112025_12_54_55_1616.jpg
/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_05_10301.jpg
/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_07_1650.jpg
/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_08_1568.jpg
/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_14_5550.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427351","1399427348","1399427350","1399427353","1399427349","1399427352"],"photo_ids_order":["1399427348","1399427349","1399427350","1399427351","1399427352","1399427353"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d140a37d4867b815f962665e367233b4.jpg","text":"TemporaryFile(/tmp/multipartBody7526974358553208409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765242720,"filename":"image_05112025_12_55_07_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/15/724edfd33cd18fe5d080bc19bc6d1335.jpg","text":"TemporaryFile(/tmp/multipartBody7502696939180707098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765242720,"filename":"image_05112025_12_54_53_2999.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/71d8cd2ade869122a8a3943e67f66c7b.jpg","text":"TemporaryFile(/tmp/multipartBody8824199340890177763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765242720,"filename":"image_05112025_12_55_05_10301.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ba1a8587b6eea2f1d771391f395e75da.jpg","text":"TemporaryFile(/tmp/multipartBody1826910179733477491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765242720,"filename":"image_05112025_12_55_14_5550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0bf134ed31705ba3a3bc03c8961ee92c.jpg","text":"TemporaryFile(/tmp/multipartBody4076844286472587602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765242720,"filename":"image_05112025_12_54_55_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/15/29b7287ab103f29d07136f5b9099622b.jpg","text":"TemporaryFile(/tmp/multipartBody7230447861238968345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765242720,"filename":"image_05112025_12_55_08_1568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427350","file1":"1399427349","file0":"1399427348","file4":"1399427352","file5":"1399427353","file3":"1399427351"},"map_files_photo_id_array":[{"photo_id":"1399427353","filename":"file5"},{"photo_id":"1399427350","filename":"file2"},{"photo_id":"1399427352","filename":"file4"},{"photo_id":"1399427349","filename":"file1"},{"photo_id":"1399427348","filename":"file0"},{"photo_id":"1399427351","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399427351":["hashtag1","hashtag2"]},{"1399427348":["hashtag1","hashtag2"]},{"1399427350":["hashtag1","hashtag2"]},{"1399427353":["hashtag1","hashtag2"]},{"1399427349":["hashtag1","hashtag2"]},{"1399427352":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399427351, 1399427348, 1399427350, 1399427353, 1399427349, 1399427352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82878804206848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 03:20:22.326853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/04/image_15122025_03_04_34_9744.jpg', '/home/pi/Desktop/images/15122025/03/04/image_15122025_03_04_45_10698.jpg', '/home/pi/Desktop/images/15122025/03/04/image_15122025_03_04_54_9807.jpg', '/home/pi/Desktop/images/15122025/03/04/image_15122025_03_05_04_9729.jpg', '/home/pi/Desktop/images/15122025/03/05/image_15122025_03_05_14_9680.jpg', '/home/pi/Desktop/images/15122025/03/05/image_15122025_03_05_25_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/04/image_15122025_03_04_34_9744.jpg
/home/pi/Desktop/images/15122025/03/04/image_15122025_03_04_45_10698.jpg
/home/pi/Desktop/images/15122025/03/04/image_15122025_03_04_54_9807.jpg
/home/pi/Desktop/images/15122025/03/04/image_15122025_03_05_04_9729.jpg
/home/pi/Desktop/images/15122025/03/05/image_15122025_03_05_14_9680.jpg
/home/pi/Desktop/images/15122025/03/05/image_15122025_03_05_25_10646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427354","1399427357","1399427362","1399427356","1399427361","1399427355"],"photo_ids_order":["1399427354","1399427355","1399427356","1399427357","1399427361","1399427362"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cbb92cdc8f268d1b340d25e59306045f.jpg","text":"TemporaryFile(/tmp/multipartBody2133516366928234563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765282940,"filename":"image_15122025_03_04_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/15/ba51f9037da28ecd14726fb8cf7e7ef0.jpg","text":"TemporaryFile(/tmp/multipartBody3201611895706580810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765282940,"filename":"image_15122025_03_05_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/15/7844f01e0feee0f7c77a0e40d8a704ce.jpg","text":"TemporaryFile(/tmp/multipartBody1867559897918056191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765282940,"filename":"image_15122025_03_05_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/15/1eebff5bf2c14340eaaac0b878b0adff.jpg","text":"TemporaryFile(/tmp/multipartBody5944814306899193553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765282940,"filename":"image_15122025_03_04_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/15/c1447fb68a2a9596f6f1394ab5cde218.jpg","text":"TemporaryFile(/tmp/multipartBody3605224836467209034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765282940,"filename":"image_15122025_03_05_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/15/382211cf1d39cfdbac74b73f52f0a26b.jpg","text":"TemporaryFile(/tmp/multipartBody3966235052305653077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765282940,"filename":"image_15122025_03_04_45_10698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427356","file1":"1399427355","file0":"1399427354","file4":"1399427361","file5":"1399427362","file3":"1399427357"},"map_files_photo_id_array":[{"photo_id":"1399427362","filename":"file5"},{"photo_id":"1399427356","filename":"file2"},{"photo_id":"1399427361","filename":"file4"},{"photo_id":"1399427355","filename":"file1"},{"photo_id":"1399427354","filename":"file0"},{"photo_id":"1399427357","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427354":["hashtag1","hashtag2"]},{"1399427357":["hashtag1","hashtag2"]},{"1399427362":["hashtag1","hashtag2"]},{"1399427356":["hashtag1","hashtag2"]},{"1399427361":["hashtag1","hashtag2"]},{"1399427355":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427354, 1399427357, 1399427362, 1399427356, 1399427361, 1399427355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.354514598846436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 03:21:12.455196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 03:21:22.499828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/05/image_15122025_03_05_34_9558.jpg', '/home/pi/Desktop/images/15122025/03/05/image_15122025_03_05_44_9632.jpg', '/home/pi/Desktop/images/15122025/03/05/image_15122025_03_05_55_10776.jpg', '/home/pi/Desktop/images/15122025/03/05/image_15122025_03_06_04_9691.jpg', '/home/pi/Desktop/images/15122025/03/06/image_15122025_03_06_14_9827.jpg', '/home/pi/Desktop/images/15122025/03/06/image_15122025_03_06_24_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/05/image_15122025_03_05_34_9558.jpg
/home/pi/Desktop/images/15122025/03/05/image_15122025_03_05_44_9632.jpg
/home/pi/Desktop/images/15122025/03/05/image_15122025_03_05_55_10776.jpg
/home/pi/Desktop/images/15122025/03/05/image_15122025_03_06_04_9691.jpg
/home/pi/Desktop/images/15122025/03/06/image_15122025_03_06_14_9827.jpg
/home/pi/Desktop/images/15122025/03/06/image_15122025_03_06_24_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":["1399427366","1399427363","1399427365","1399427368","1399427367","1399427364"],"photo_ids_order":["1399427363","1399427364","1399427365","1399427366","1399427367","1399427368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2a511bc9527b072c418c565a48dd4ff7.jpg","text":"TemporaryFile(/tmp/multipartBody3000384475110636868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765343154,"filename":"image_15122025_03_06_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/15/698e662824e44ddad0451d8f6229c34d.jpg","text":"TemporaryFile(/tmp/multipartBody5935931113911287347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765343154,"filename":"image_15122025_03_05_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/15/98fc25640f99499e4dd512719137ccbb.jpg","text":"TemporaryFile(/tmp/multipartBody2143753286460078779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765343154,"filename":"image_15122025_03_05_55_10776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/78316ac1cc69a077a80bc8cad0add6d7.jpg","text":"TemporaryFile(/tmp/multipartBody7490448893867074948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765343154,"filename":"image_15122025_03_06_24_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1438997f57477186000307b5863a5f27.jpg","text":"TemporaryFile(/tmp/multipartBody1411701788120582090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765343154,"filename":"image_15122025_03_06_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/15/4911ff19d06011bd13fcf0d6fb7d4bbc.jpg","text":"TemporaryFile(/tmp/multipartBody5825212334603682370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765343154,"filename":"image_15122025_03_05_44_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427365","file1":"1399427364","file0":"1399427363","file4":"1399427367","file5":"1399427368","file3":"1399427366"},"map_files_photo_id_array":[{"photo_id":"1399427368","filename":"file5"},{"photo_id":"1399427365","filename":"file2"},{"photo_id":"1399427367","filename":"file4"},{"photo_id":"1399427364","filename":"file1"},{"photo_id":"1399427363","filename":"file0"},{"photo_id":"1399427366","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427366":["hashtag1","hashtag2"]},{"1399427363":["hashtag1","hashtag2"]},{"1399427365":["hashtag1","hashtag2"]},{"1399427368":["hashtag1","hashtag2"]},{"1399427367":["hashtag1","hashtag2"]},{"1399427364":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427366, 1399427363, 1399427365, 1399427368, 1399427367, 1399427364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01955246925354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 03:22:03.182424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/06/image_15122025_03_06_35_10828.jpg', '/home/pi/Desktop/images/15122025/03/06/image_15122025_03_06_44_9663.jpg', '/home/pi/Desktop/images/15122025/03/06/image_15122025_03_06_54_9718.jpg', '/home/pi/Desktop/images/15122025/03/06/image_15122025_03_07_04_9771.jpg', '/home/pi/Desktop/images/15122025/03/07/image_15122025_03_07_14_10667.jpg', '/home/pi/Desktop/images/15122025/03/07/image_15122025_03_07_24_9781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/06/image_15122025_03_06_35_10828.jpg
/home/pi/Desktop/images/15122025/03/06/image_15122025_03_06_44_9663.jpg
/home/pi/Desktop/images/15122025/03/06/image_15122025_03_06_54_9718.jpg
/home/pi/Desktop/images/15122025/03/06/image_15122025_03_07_04_9771.jpg
/home/pi/Desktop/images/15122025/03/07/image_15122025_03_07_14_10667.jpg
/home/pi/Desktop/images/15122025/03/07/image_15122025_03_07_24_9781.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427372","1399427369","1399427371","1399427374","1399427373","1399427370"],"photo_ids_order":["1399427369","1399427370","1399427371","1399427372","1399427373","1399427374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b1d6c4f2fb4f59a3a7393965cbafc434.jpg","text":"TemporaryFile(/tmp/multipartBody5992410558656095149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765383834,"filename":"image_15122025_03_07_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/15/9c5eb13959ec9c5cf824ea2985745b40.jpg","text":"TemporaryFile(/tmp/multipartBody6117210161343100147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765383834,"filename":"image_15122025_03_06_35_10828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/777860119cd5e7b3d7da621945c8e379.jpg","text":"TemporaryFile(/tmp/multipartBody139944363469821752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765383834,"filename":"image_15122025_03_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/15/f1d039a7cbdfa9849b0cad7a00e3cee7.jpg","text":"TemporaryFile(/tmp/multipartBody1076453076911686314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765383834,"filename":"image_15122025_03_07_24_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bebe6c8d6ace7dfae512b4a44ea14474.jpg","text":"TemporaryFile(/tmp/multipartBody8652873413688942518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765383834,"filename":"image_15122025_03_07_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/15/ee222648aa30d1124e1b380953db23f8.jpg","text":"TemporaryFile(/tmp/multipartBody2696561366146957846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765383834,"filename":"image_15122025_03_06_44_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427371","file1":"1399427370","file0":"1399427369","file4":"1399427373","file5":"1399427374","file3":"1399427372"},"map_files_photo_id_array":[{"photo_id":"1399427374","filename":"file5"},{"photo_id":"1399427371","filename":"file2"},{"photo_id":"1399427373","filename":"file4"},{"photo_id":"1399427370","filename":"file1"},{"photo_id":"1399427369","filename":"file0"},{"photo_id":"1399427372","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427372":["hashtag1","hashtag2"]},{"1399427369":["hashtag1","hashtag2"]},{"1399427371":["hashtag1","hashtag2"]},{"1399427374":["hashtag1","hashtag2"]},{"1399427373":["hashtag1","hashtag2"]},{"1399427370":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427372, 1399427369, 1399427371, 1399427374, 1399427373, 1399427370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36882925033569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 03:22:42.776752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_15_1483.jpg', '/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_17_1648.jpg', '/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_18_1488.jpg', '/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_20_1641.jpg', '/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_22_1617.jpg', '/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_23_1645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_15_1483.jpg
/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_17_1648.jpg
/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_18_1488.jpg
/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_20_1641.jpg
/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_22_1617.jpg
/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_23_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.628411054611206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 03:23:02.682901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/07/image_15122025_03_07_34_9654.jpg', '/home/pi/Desktop/images/15122025/03/07/image_15122025_03_07_44_9890.jpg', '/home/pi/Desktop/images/15122025/03/07/image_15122025_03_07_55_10872.jpg', '/home/pi/Desktop/images/15122025/03/07/image_15122025_03_08_04_9618.jpg', '/home/pi/Desktop/images/15122025/03/08/image_15122025_03_08_24_9810.jpg', '/home/pi/Desktop/images/15122025/03/08/image_15122025_03_08_34_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/07/image_15122025_03_07_34_9654.jpg
/home/pi/Desktop/images/15122025/03/07/image_15122025_03_07_44_9890.jpg
/home/pi/Desktop/images/15122025/03/07/image_15122025_03_07_55_10872.jpg
/home/pi/Desktop/images/15122025/03/07/image_15122025_03_08_04_9618.jpg
/home/pi/Desktop/images/15122025/03/08/image_15122025_03_08_24_9810.jpg
/home/pi/Desktop/images/15122025/03/08/image_15122025_03_08_34_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":["1399427384","1399427381","1399427380","1399427383","1399427385","1399427382"],"photo_ids_order":["1399427380","1399427381","1399427382","1399427383","1399427384","1399427385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0d51153f330a1542aca0e45d66a3570e.jpg","text":"TemporaryFile(/tmp/multipartBody7986556768541200114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765443368,"filename":"image_15122025_03_08_24_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9b8c1fdca77dc58b87c5f860edf16678.jpg","text":"TemporaryFile(/tmp/multipartBody4835926734563802588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765443368,"filename":"image_15122025_03_07_44_9890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/62b156595534b12c7adcce046567acd8.jpg","text":"TemporaryFile(/tmp/multipartBody337956502975316708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765443368,"filename":"image_15122025_03_07_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/15/96b8e1fb39559993f4dfa8c97b77892b.jpg","text":"TemporaryFile(/tmp/multipartBody6816001086422522753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765443368,"filename":"image_15122025_03_08_04_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9db40db1701cf6557aa98f4e5d7521e4.jpg","text":"TemporaryFile(/tmp/multipartBody659960280047103224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765443368,"filename":"image_15122025_03_08_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/15/f8422c01098403efa60f1448e07d7502.jpg","text":"TemporaryFile(/tmp/multipartBody2790645963148974557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765443368,"filename":"image_15122025_03_07_55_10872.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427382","file1":"1399427381","file0":"1399427380","file4":"1399427384","file5":"1399427385","file3":"1399427383"},"map_files_photo_id_array":[{"photo_id":"1399427385","filename":"file5"},{"photo_id":"1399427382","filename":"file2"},{"photo_id":"1399427384","filename":"file4"},{"photo_id":"1399427381","filename":"file1"},{"photo_id":"1399427380","filename":"file0"},{"photo_id":"1399427383","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427384":["hashtag1","hashtag2"]},{"1399427381":["hashtag1","hashtag2"]},{"1399427380":["hashtag1","hashtag2"]},{"1399427383":["hashtag1","hashtag2"]},{"1399427385":["hashtag1","hashtag2"]},{"1399427382":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427384, 1399427381, 1399427380, 1399427383, 1399427385, 1399427382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.752782583236694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 03:23:42.022769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_15_1483.jpg', '/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_17_1648.jpg', '/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_18_1488.jpg', '/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_20_1641.jpg', '/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_22_1617.jpg', '/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_23_1645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_15_1483.jpg
/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_17_1648.jpg
/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_18_1488.jpg
/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_20_1641.jpg
/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_22_1617.jpg
/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_23_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":["1399427393","1399427395","1399427386","1399427394","1399427397","1399427396"],"photo_ids_order":["1399427386","1399427393","1399427394","1399427395","1399427396","1399427397"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3a7559dd99da3752ba7d755a9fa9b67c.jpg","text":"TemporaryFile(/tmp/multipartBody752345780861307666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765482615,"filename":"image_05112025_12_55_17_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/15/17e9d98cf35c1ce048e7a2c9d11cf965.jpg","text":"TemporaryFile(/tmp/multipartBody8257436266082126920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765482615,"filename":"image_05112025_12_55_20_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/15/0d99dfed9f5e75d494437d2237725b40.jpg","text":"TemporaryFile(/tmp/multipartBody7390919526926475415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765482615,"filename":"image_05112025_12_55_15_1483.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9858eec56cbb0d4e77653fe49537921b.jpg","text":"TemporaryFile(/tmp/multipartBody2567788623793232414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765482615,"filename":"image_05112025_12_55_18_1488.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/472bdd77cf7ae3492326110750773703.jpg","text":"TemporaryFile(/tmp/multipartBody4381681416475158714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765482615,"filename":"image_05112025_12_55_23_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/15/fc975af0e14b5a9cf9fcd3cc782f4ed7.jpg","text":"TemporaryFile(/tmp/multipartBody6079262356356844361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765482615,"filename":"image_05112025_12_55_22_1617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427394","file1":"1399427393","file0":"1399427386","file4":"1399427396","file5":"1399427397","file3":"1399427395"},"map_files_photo_id_array":[{"photo_id":"1399427397","filename":"file5"},{"photo_id":"1399427394","filename":"file2"},{"photo_id":"1399427396","filename":"file4"},{"photo_id":"1399427393","filename":"file1"},{"photo_id":"1399427386","filename":"file0"},{"photo_id":"1399427395","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399427393":["hashtag1","hashtag2"]},{"1399427395":["hashtag1","hashtag2"]},{"1399427386":["hashtag1","hashtag2"]},{"1399427394":["hashtag1","hashtag2"]},{"1399427397":["hashtag1","hashtag2"]},{"1399427396":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399427393, 1399427395, 1399427386, 1399427394, 1399427397, 1399427396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.855095624923706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 03:24:22.237107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/08/image_15122025_03_08_54_9588.jpg', '/home/pi/Desktop/images/15122025/03/08/image_15122025_03_09_04_10625.jpg', '/home/pi/Desktop/images/15122025/03/09/image_15122025_03_09_14_9673.jpg', '/home/pi/Desktop/images/15122025/03/09/image_15122025_03_09_25_10665.jpg', '/home/pi/Desktop/images/15122025/03/09/image_15122025_03_09_34_9782.jpg', '/home/pi/Desktop/images/15122025/03/09/image_15122025_03_09_44_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/08/image_15122025_03_08_54_9588.jpg
/home/pi/Desktop/images/15122025/03/08/image_15122025_03_09_04_10625.jpg
/home/pi/Desktop/images/15122025/03/09/image_15122025_03_09_14_9673.jpg
/home/pi/Desktop/images/15122025/03/09/image_15122025_03_09_25_10665.jpg
/home/pi/Desktop/images/15122025/03/09/image_15122025_03_09_34_9782.jpg
/home/pi/Desktop/images/15122025/03/09/image_15122025_03_09_44_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":["1399427400","1399427399","1399427402","1399427398","1399427401","1399427403"],"photo_ids_order":["1399427398","1399427399","1399427400","1399427401","1399427402","1399427403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5637a4034bab833252c3f5ba7cd9b7b4.jpg","text":"TemporaryFile(/tmp/multipartBody5826132992878910521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765522851,"filename":"image_15122025_03_09_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/15/4520dc6daf8088692e3e9e86e358df22.jpg","text":"TemporaryFile(/tmp/multipartBody496850519249556034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765522851,"filename":"image_15122025_03_09_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/15/38849014b65b3e964281596a1c4a63f8.jpg","text":"TemporaryFile(/tmp/multipartBody3080739624044861006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765522851,"filename":"image_15122025_03_09_34_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/15/c5fe73857a006b71bfc857b26570903b.jpg","text":"TemporaryFile(/tmp/multipartBody5146899505308064920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765522851,"filename":"image_15122025_03_08_54_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/91f55eb1e925e961a180761fbba766a7.jpg","text":"TemporaryFile(/tmp/multipartBody4254621033269086662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765522851,"filename":"image_15122025_03_09_25_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3689a7d64ab68597350e6ba26a5ab817.jpg","text":"TemporaryFile(/tmp/multipartBody5602641184027524898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765522851,"filename":"image_15122025_03_09_44_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427400","file1":"1399427399","file0":"1399427398","file4":"1399427402","file5":"1399427403","file3":"1399427401"},"map_files_photo_id_array":[{"photo_id":"1399427403","filename":"file5"},{"photo_id":"1399427400","filename":"file2"},{"photo_id":"1399427402","filename":"file4"},{"photo_id":"1399427399","filename":"file1"},{"photo_id":"1399427398","filename":"file0"},{"photo_id":"1399427401","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427400":["hashtag1","hashtag2"]},{"1399427399":["hashtag1","hashtag2"]},{"1399427402":["hashtag1","hashtag2"]},{"1399427398":["hashtag1","hashtag2"]},{"1399427401":["hashtag1","hashtag2"]},{"1399427403":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427400, 1399427399, 1399427402, 1399427398, 1399427401, 1399427403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6935076713562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 03:25:03.083656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/09/image_15122025_03_09_54_9677.jpg', '/home/pi/Desktop/images/15122025/03/10/image_15122025_03_10_24_9682.jpg', '/home/pi/Desktop/images/15122025/03/10/image_15122025_03_10_35_10657.jpg', '/home/pi/Desktop/images/15122025/03/10/image_15122025_03_10_44_9687.jpg', '/home/pi/Desktop/images/15122025/03/10/image_15122025_03_10_54_9737.jpg', '/home/pi/Desktop/images/15122025/03/11/image_15122025_03_11_15_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/09/image_15122025_03_09_54_9677.jpg
/home/pi/Desktop/images/15122025/03/10/image_15122025_03_10_24_9682.jpg
/home/pi/Desktop/images/15122025/03/10/image_15122025_03_10_35_10657.jpg
/home/pi/Desktop/images/15122025/03/10/image_15122025_03_10_44_9687.jpg
/home/pi/Desktop/images/15122025/03/10/image_15122025_03_10_54_9737.jpg
/home/pi/Desktop/images/15122025/03/11/image_15122025_03_11_15_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":["1399427409","1399427405","1399427408","1399427407","1399427404","1399427406"],"photo_ids_order":["1399427404","1399427405","1399427406","1399427407","1399427408","1399427409"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f85b77ff580fcfb6094177f281a37cc4.jpg","text":"TemporaryFile(/tmp/multipartBody1969295152135565864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765563804,"filename":"image_15122025_03_11_15_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ede2bdc9d60270d43fbf6a19d420912d.jpg","text":"TemporaryFile(/tmp/multipartBody6321157453116062677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765563804,"filename":"image_15122025_03_10_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/15/635502eb201037bcbf1589b37847a551.jpg","text":"TemporaryFile(/tmp/multipartBody1247273446650912376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765563804,"filename":"image_15122025_03_10_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/15/4307e384facb4ba719bb7d9e7796391d.jpg","text":"TemporaryFile(/tmp/multipartBody4951655600780036344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765563804,"filename":"image_15122025_03_10_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/15/cc40fe2ec8702e7602b3f6a86647ade8.jpg","text":"TemporaryFile(/tmp/multipartBody6249813772628695824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765563804,"filename":"image_15122025_03_09_54_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9c8b89aefd8f25a14b0883e5500122f0.jpg","text":"TemporaryFile(/tmp/multipartBody6931026780383634632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765563804,"filename":"image_15122025_03_10_35_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427406","file1":"1399427405","file0":"1399427404","file4":"1399427408","file5":"1399427409","file3":"1399427407"},"map_files_photo_id_array":[{"photo_id":"1399427409","filename":"file5"},{"photo_id":"1399427406","filename":"file2"},{"photo_id":"1399427408","filename":"file4"},{"photo_id":"1399427405","filename":"file1"},{"photo_id":"1399427404","filename":"file0"},{"photo_id":"1399427407","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427409":["hashtag1","hashtag2"]},{"1399427405":["hashtag1","hashtag2"]},{"1399427408":["hashtag1","hashtag2"]},{"1399427407":["hashtag1","hashtag2"]},{"1399427404":["hashtag1","hashtag2"]},{"1399427406":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427409, 1399427405, 1399427408, 1399427407, 1399427404, 1399427406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2913818359375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 03:25:42.495052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_25_1742.jpg', '/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_29_3743.jpg', '/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_31_1827.jpg', '/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_32_1686.jpg', '/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_34_1807.jpg', '/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_36_1571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_25_1742.jpg
/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_29_3743.jpg
/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_31_1827.jpg
/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_32_1686.jpg
/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_34_1807.jpg
/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_36_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":["1399427415","1399427414","1399427411","1399427413","1399427410","1399427412"],"photo_ids_order":["1399427410","1399427411","1399427412","1399427413","1399427414","1399427415"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9009ba6ba5d7287e9360f61ccd5bb25c.jpg","text":"TemporaryFile(/tmp/multipartBody1917142612871056056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765603193,"filename":"image_05112025_12_55_36_1571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e9ac81f88170228f18a46d1ab52b5bcd.jpg","text":"TemporaryFile(/tmp/multipartBody3303291952317010360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765603193,"filename":"image_05112025_12_55_34_1807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/19eabb903ccb464177303c571226841d.jpg","text":"TemporaryFile(/tmp/multipartBody5452372104901942972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765603193,"filename":"image_05112025_12_55_29_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/15/71ac595b0471f745cac04d8a413927e3.jpg","text":"TemporaryFile(/tmp/multipartBody7952334637072216746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765603193,"filename":"image_05112025_12_55_32_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/15/ce77fdd7551c3c78d7a80a4862b19477.jpg","text":"TemporaryFile(/tmp/multipartBody9172063431831223354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765603193,"filename":"image_05112025_12_55_25_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/15/db0f0123dc97a5471947528ea2dcf9f9.jpg","text":"TemporaryFile(/tmp/multipartBody5406202313603723597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765603193,"filename":"image_05112025_12_55_31_1827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427412","file1":"1399427411","file0":"1399427410","file4":"1399427414","file5":"1399427415","file3":"1399427413"},"map_files_photo_id_array":[{"photo_id":"1399427415","filename":"file5"},{"photo_id":"1399427412","filename":"file2"},{"photo_id":"1399427414","filename":"file4"},{"photo_id":"1399427411","filename":"file1"},{"photo_id":"1399427410","filename":"file0"},{"photo_id":"1399427413","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399427415":["hashtag1","hashtag2"]},{"1399427414":["hashtag1","hashtag2"]},{"1399427411":["hashtag1","hashtag2"]},{"1399427413":["hashtag1","hashtag2"]},{"1399427410":["hashtag1","hashtag2"]},{"1399427412":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399427415, 1399427414, 1399427411, 1399427413, 1399427410, 1399427412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.620309352874756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 03:26:22.911983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/11/image_15122025_03_11_24_9753.jpg', '/home/pi/Desktop/images/15122025/03/11/image_15122025_03_11_34_9665.jpg', '/home/pi/Desktop/images/15122025/03/11/image_15122025_03_11_44_9707.jpg', '/home/pi/Desktop/images/15122025/03/11/image_15122025_03_11_55_10669.jpg', '/home/pi/Desktop/images/15122025/03/11/image_15122025_03_12_04_9762.jpg', '/home/pi/Desktop/images/15122025/03/12/image_15122025_03_12_14_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/11/image_15122025_03_11_24_9753.jpg
/home/pi/Desktop/images/15122025/03/11/image_15122025_03_11_34_9665.jpg
/home/pi/Desktop/images/15122025/03/11/image_15122025_03_11_44_9707.jpg
/home/pi/Desktop/images/15122025/03/11/image_15122025_03_11_55_10669.jpg
/home/pi/Desktop/images/15122025/03/11/image_15122025_03_12_04_9762.jpg
/home/pi/Desktop/images/15122025/03/12/image_15122025_03_12_14_9596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427420","1399427417","1399427416","1399427419","1399427421","1399427418"],"photo_ids_order":["1399427416","1399427417","1399427418","1399427419","1399427420","1399427421"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/67bdbc4c5af66ebf8b31bbd63b77c48f.jpg","text":"TemporaryFile(/tmp/multipartBody5367701556307315735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765643579,"filename":"image_15122025_03_12_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/15/1f3d46c189c4509a9a6372aa92657cf1.jpg","text":"TemporaryFile(/tmp/multipartBody4707043383992091931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765643579,"filename":"image_15122025_03_11_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/15/80519af1e18e988b3d48b7636d87cfb1.jpg","text":"TemporaryFile(/tmp/multipartBody5863011478133028816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765643579,"filename":"image_15122025_03_11_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/15/3c31f3f4e6e36833a7eacf278e0832b7.jpg","text":"TemporaryFile(/tmp/multipartBody5585728080786155017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765643579,"filename":"image_15122025_03_11_55_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/77ad9e1b300559cfa8514821d9523da2.jpg","text":"TemporaryFile(/tmp/multipartBody332051915642667854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765643579,"filename":"image_15122025_03_12_14_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/15/d4d1a4d569336fe3333fc2af719c687a.jpg","text":"TemporaryFile(/tmp/multipartBody3827415825266306175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765643579,"filename":"image_15122025_03_11_44_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427418","file1":"1399427417","file0":"1399427416","file4":"1399427420","file5":"1399427421","file3":"1399427419"},"map_files_photo_id_array":[{"photo_id":"1399427421","filename":"file5"},{"photo_id":"1399427418","filename":"file2"},{"photo_id":"1399427420","filename":"file4"},{"photo_id":"1399427417","filename":"file1"},{"photo_id":"1399427416","filename":"file0"},{"photo_id":"1399427419","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427420":["hashtag1","hashtag2"]},{"1399427417":["hashtag1","hashtag2"]},{"1399427416":["hashtag1","hashtag2"]},{"1399427419":["hashtag1","hashtag2"]},{"1399427421":["hashtag1","hashtag2"]},{"1399427418":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427420, 1399427417, 1399427416, 1399427419, 1399427421, 1399427418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2767698764801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 03:27:02.808961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/12/image_15122025_03_12_25_10720.jpg', '/home/pi/Desktop/images/15122025/03/12/image_15122025_03_12_44_9709.jpg', '/home/pi/Desktop/images/15122025/03/12/image_15122025_03_12_54_9739.jpg', '/home/pi/Desktop/images/15122025/03/13/image_15122025_03_13_14_9685.jpg', '/home/pi/Desktop/images/15122025/03/13/image_15122025_03_13_34_10707.jpg', '/home/pi/Desktop/images/15122025/03/13/image_15122025_03_13_44_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/12/image_15122025_03_12_25_10720.jpg
/home/pi/Desktop/images/15122025/03/12/image_15122025_03_12_44_9709.jpg
/home/pi/Desktop/images/15122025/03/12/image_15122025_03_12_54_9739.jpg
/home/pi/Desktop/images/15122025/03/13/image_15122025_03_13_14_9685.jpg
/home/pi/Desktop/images/15122025/03/13/image_15122025_03_13_34_10707.jpg
/home/pi/Desktop/images/15122025/03/13/image_15122025_03_13_44_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":["1399427432","1399427429","1399427431","1399427428","1399427430","1399427433"],"photo_ids_order":["1399427428","1399427429","1399427430","1399427431","1399427432","1399427433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b194335954c44d673cbbd3fa3b250798.jpg","text":"TemporaryFile(/tmp/multipartBody2268057295540639573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765683495,"filename":"image_15122025_03_13_34_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/01e8e9e787008fb8c105bd8c5c69fab5.jpg","text":"TemporaryFile(/tmp/multipartBody2358343456736558598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765683495,"filename":"image_15122025_03_12_44_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7d23f421e22ecd6c5f9b10d80ca5f899.jpg","text":"TemporaryFile(/tmp/multipartBody2295604932957467833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765683495,"filename":"image_15122025_03_13_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/15/4314ae1ce363ad085a7be0624a205ba4.jpg","text":"TemporaryFile(/tmp/multipartBody1350288598673869763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765683495,"filename":"image_15122025_03_12_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/15/87fd39a0de2d92fcd5580a826a5eac94.jpg","text":"TemporaryFile(/tmp/multipartBody723954509844133532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765683495,"filename":"image_15122025_03_12_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/15/dcb6708025ba9eef4cde77c0c33947dc.jpg","text":"TemporaryFile(/tmp/multipartBody6013186198782449220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765683495,"filename":"image_15122025_03_13_44_9598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427430","file1":"1399427429","file0":"1399427428","file4":"1399427432","file5":"1399427433","file3":"1399427431"},"map_files_photo_id_array":[{"photo_id":"1399427433","filename":"file5"},{"photo_id":"1399427430","filename":"file2"},{"photo_id":"1399427432","filename":"file4"},{"photo_id":"1399427429","filename":"file1"},{"photo_id":"1399427428","filename":"file0"},{"photo_id":"1399427431","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427432":["hashtag1","hashtag2"]},{"1399427429":["hashtag1","hashtag2"]},{"1399427431":["hashtag1","hashtag2"]},{"1399427428":["hashtag1","hashtag2"]},{"1399427430":["hashtag1","hashtag2"]},{"1399427433":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427432, 1399427429, 1399427431, 1399427428, 1399427430, 1399427433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06961703300476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 03:27:42.065938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_37_1697.jpg', '/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_39_1737.jpg', '/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_41_1751.jpg', '/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_44_2680.jpg', '/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_45_1604.jpg', '/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_48_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_37_1697.jpg
/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_39_1737.jpg
/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_41_1751.jpg
/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_44_2680.jpg
/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_45_1604.jpg
/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_48_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":["1399427435","1399427438","1399427434","1399427437","1399427436","1399427439"],"photo_ids_order":["1399427434","1399427435","1399427436","1399427437","1399427438","1399427439"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/505ab0ffd0945a5b87d700cf4fd7896e.jpg","text":"TemporaryFile(/tmp/multipartBody7042535766305960881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765722770,"filename":"image_05112025_12_55_39_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/15/40545d5748c679556687068ce1b016ef.jpg","text":"TemporaryFile(/tmp/multipartBody7867460371511944176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765722770,"filename":"image_05112025_12_55_45_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/15/a886513ef05d2ae4fe3e100c38d94a43.jpg","text":"TemporaryFile(/tmp/multipartBody7429171303975343749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765722770,"filename":"image_05112025_12_55_37_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/15/683c9c43975e504dc57c68d7336f1b35.jpg","text":"TemporaryFile(/tmp/multipartBody2813503202104921321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765722770,"filename":"image_05112025_12_55_44_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/15/3d2e8fea304c5fada82a8ba599709bf3.jpg","text":"TemporaryFile(/tmp/multipartBody645373681564778882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765722770,"filename":"image_05112025_12_55_41_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/15/66e871364ae8c67427c9afdaad2e770a.jpg","text":"TemporaryFile(/tmp/multipartBody7181264883476634300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765722770,"filename":"image_05112025_12_55_48_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427436","file1":"1399427435","file0":"1399427434","file4":"1399427438","file5":"1399427439","file3":"1399427437"},"map_files_photo_id_array":[{"photo_id":"1399427439","filename":"file5"},{"photo_id":"1399427436","filename":"file2"},{"photo_id":"1399427438","filename":"file4"},{"photo_id":"1399427435","filename":"file1"},{"photo_id":"1399427434","filename":"file0"},{"photo_id":"1399427437","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399427435":["hashtag1","hashtag2"]},{"1399427438":["hashtag1","hashtag2"]},{"1399427434":["hashtag1","hashtag2"]},{"1399427437":["hashtag1","hashtag2"]},{"1399427436":["hashtag1","hashtag2"]},{"1399427439":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399427435, 1399427438, 1399427434, 1399427437, 1399427436, 1399427439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21193885803223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 03:28:22.370878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/13/image_15122025_03_13_55_10643.jpg', '/home/pi/Desktop/images/15122025/03/13/image_15122025_03_14_04_9736.jpg', '/home/pi/Desktop/images/15122025/03/14/image_15122025_03_14_14_9723.jpg', '/home/pi/Desktop/images/15122025/03/14/image_15122025_03_14_24_9672.jpg', '/home/pi/Desktop/images/15122025/03/14/image_15122025_03_14_35_10736.jpg', '/home/pi/Desktop/images/15122025/03/14/image_15122025_03_14_44_9537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/13/image_15122025_03_13_55_10643.jpg
/home/pi/Desktop/images/15122025/03/13/image_15122025_03_14_04_9736.jpg
/home/pi/Desktop/images/15122025/03/14/image_15122025_03_14_14_9723.jpg
/home/pi/Desktop/images/15122025/03/14/image_15122025_03_14_24_9672.jpg
/home/pi/Desktop/images/15122025/03/14/image_15122025_03_14_35_10736.jpg
/home/pi/Desktop/images/15122025/03/14/image_15122025_03_14_44_9537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427441","1399427444","1399427443","1399427440","1399427442","1399427445"],"photo_ids_order":["1399427440","1399427441","1399427442","1399427443","1399427444","1399427445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d84288ea408460675cf7d285a6248542.jpg","text":"TemporaryFile(/tmp/multipartBody8595737292740196896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765763028,"filename":"image_15122025_03_14_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/15/9e1accd39f5444a58eac0b062fa1e50d.jpg","text":"TemporaryFile(/tmp/multipartBody1571650381776763492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765763028,"filename":"image_15122025_03_14_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/15/2831c8af9516c7be01b0853c6d4ccedc.jpg","text":"TemporaryFile(/tmp/multipartBody7155540945946491845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765763028,"filename":"image_15122025_03_14_24_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/82f560daa05b273fb2cf4c3047864415.jpg","text":"TemporaryFile(/tmp/multipartBody3715692807099226637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765763028,"filename":"image_15122025_03_13_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/15/1cde5b5cbc369b26bbf17f93e4732322.jpg","text":"TemporaryFile(/tmp/multipartBody8470718349691022181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765763028,"filename":"image_15122025_03_14_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/15/f810707fc426072009a557c875c8c46d.jpg","text":"TemporaryFile(/tmp/multipartBody237112322072020889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765763028,"filename":"image_15122025_03_14_44_9537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427442","file1":"1399427441","file0":"1399427440","file4":"1399427444","file5":"1399427445","file3":"1399427443"},"map_files_photo_id_array":[{"photo_id":"1399427445","filename":"file5"},{"photo_id":"1399427442","filename":"file2"},{"photo_id":"1399427444","filename":"file4"},{"photo_id":"1399427441","filename":"file1"},{"photo_id":"1399427440","filename":"file0"},{"photo_id":"1399427443","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427441":["hashtag1","hashtag2"]},{"1399427444":["hashtag1","hashtag2"]},{"1399427443":["hashtag1","hashtag2"]},{"1399427440":["hashtag1","hashtag2"]},{"1399427442":["hashtag1","hashtag2"]},{"1399427445":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427441, 1399427444, 1399427443, 1399427440, 1399427442, 1399427445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93800449371338 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 03:29:03.698942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/14/image_15122025_03_14_54_9729.jpg', '/home/pi/Desktop/images/15122025/03/14/image_15122025_03_15_04_10637.jpg', '/home/pi/Desktop/images/15122025/03/15/image_15122025_03_15_14_9778.jpg', '/home/pi/Desktop/images/15122025/03/16/image_15122025_03_16_24_9730.jpg', '/home/pi/Desktop/images/15122025/03/16/image_15122025_03_16_34_9727.jpg', '/home/pi/Desktop/images/15122025/03/16/image_15122025_03_16_44_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/14/image_15122025_03_14_54_9729.jpg
/home/pi/Desktop/images/15122025/03/14/image_15122025_03_15_04_10637.jpg
/home/pi/Desktop/images/15122025/03/15/image_15122025_03_15_14_9778.jpg
/home/pi/Desktop/images/15122025/03/16/image_15122025_03_16_24_9730.jpg
/home/pi/Desktop/images/15122025/03/16/image_15122025_03_16_34_9727.jpg
/home/pi/Desktop/images/15122025/03/16/image_15122025_03_16_44_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427450","1399427447","1399427452","1399427446","1399427448","1399427451"],"photo_ids_order":["1399427446","1399427447","1399427448","1399427450","1399427451","1399427452"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8d48d67c27645ba2e3c2d2a5743393f4.jpg","text":"TemporaryFile(/tmp/multipartBody5278455602357809728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765804428,"filename":"image_15122025_03_16_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/15/3a335e3b8e613e42664fe2c4928903a5.jpg","text":"TemporaryFile(/tmp/multipartBody2523462588026091579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765804428,"filename":"image_15122025_03_15_04_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d24bd4e9e4db69f1e6c4d0308ce6bc46.jpg","text":"TemporaryFile(/tmp/multipartBody437306614071220590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765804428,"filename":"image_15122025_03_16_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/15/e4a370bf0c1d8f16a5f20d6307d1d255.jpg","text":"TemporaryFile(/tmp/multipartBody8498632297766744170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765804428,"filename":"image_15122025_03_14_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/15/8f127c47c19d6e9ed851d54eb52be734.jpg","text":"TemporaryFile(/tmp/multipartBody4487185600984246801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765804428,"filename":"image_15122025_03_15_14_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/697abf56b0889c14301631bd8c8f34f6.jpg","text":"TemporaryFile(/tmp/multipartBody1977717890986213565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765804428,"filename":"image_15122025_03_16_34_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427448","file1":"1399427447","file0":"1399427446","file4":"1399427451","file5":"1399427452","file3":"1399427450"},"map_files_photo_id_array":[{"photo_id":"1399427452","filename":"file5"},{"photo_id":"1399427448","filename":"file2"},{"photo_id":"1399427451","filename":"file4"},{"photo_id":"1399427447","filename":"file1"},{"photo_id":"1399427446","filename":"file0"},{"photo_id":"1399427450","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427450":["hashtag1","hashtag2"]},{"1399427447":["hashtag1","hashtag2"]},{"1399427452":["hashtag1","hashtag2"]},{"1399427446":["hashtag1","hashtag2"]},{"1399427448":["hashtag1","hashtag2"]},{"1399427451":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427450, 1399427447, 1399427452, 1399427446, 1399427448, 1399427451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30167031288147 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 03:29:42.542023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_54_2643.jpg', '/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_58_3607.jpg', '/home/pi/Desktop/images/05112025/12/55/image_05112025_12_56_00_2635.jpg', '/home/pi/Desktop/images/05112025/12/56/image_05112025_12_56_03_2702.jpg', '/home/pi/Desktop/images/05112025/12/56/image_05112025_12_56_06_2669.jpg', '/home/pi/Desktop/images/05112025/12/56/image_05112025_12_56_10_3816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_54_2643.jpg
/home/pi/Desktop/images/05112025/12/55/image_05112025_12_55_58_3607.jpg
/home/pi/Desktop/images/05112025/12/55/image_05112025_12_56_00_2635.jpg
/home/pi/Desktop/images/05112025/12/56/image_05112025_12_56_03_2702.jpg
/home/pi/Desktop/images/05112025/12/56/image_05112025_12_56_06_2669.jpg
/home/pi/Desktop/images/05112025/12/56/image_05112025_12_56_10_3816.jpg
 val : 1 : upload photos 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":["1399427459","1399427461","1399427458","1399427460","1399427454","1399427457"],"photo_ids_order":["1399427454","1399427457","1399427458","1399427459","1399427460","1399427461"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/449d12ac869b61fb50543fc264453bd2.jpg","text":"TemporaryFile(/tmp/multipartBody1132550591380025302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765843280,"filename":"image_05112025_12_56_03_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/15/7ad9a569e6e04e70ba59ef2ba5ee1b55.jpg","text":"TemporaryFile(/tmp/multipartBody6427767213439277397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765843280,"filename":"image_05112025_12_56_10_3816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5a5d53ff24b1f54c745fb34fc9c4cf5f.jpg","text":"TemporaryFile(/tmp/multipartBody3870522847183904100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765843280,"filename":"image_05112025_12_56_00_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/15/944499a6aca1774507429dd2af57df0b.jpg","text":"TemporaryFile(/tmp/multipartBody7442061278203216283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765843280,"filename":"image_05112025_12_56_06_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/15/86893ddaf8bb8edc0344c63c8f33a7b3.jpg","text":"TemporaryFile(/tmp/multipartBody7659550353961491460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765843280,"filename":"image_05112025_12_55_54_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/209be5067e3cf020ed642843df3c7537.jpg","text":"TemporaryFile(/tmp/multipartBody3382465117981426677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765843280,"filename":"image_05112025_12_55_58_3607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427458","file1":"1399427457","file0":"1399427454","file4":"1399427460","file5":"1399427461","file3":"1399427459"},"map_files_photo_id_array":[{"photo_id":"1399427461","filename":"file5"},{"photo_id":"1399427458","filename":"file2"},{"photo_id":"1399427460","filename":"file4"},{"photo_id":"1399427457","filename":"file1"},{"photo_id":"1399427454","filename":"file0"},{"photo_id":"1399427459","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399427459":["hashtag1","hashtag2"]},{"1399427461":["hashtag1","hashtag2"]},{"1399427458":["hashtag1","hashtag2"]},{"1399427460":["hashtag1","hashtag2"]},{"1399427454":["hashtag1","hashtag2"]},{"1399427457":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399427459, 1399427461, 1399427458, 1399427460, 1399427454, 1399427457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.36365294456482 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 03:31:02.799873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/16/image_15122025_03_17_04_9770.jpg', '/home/pi/Desktop/images/15122025/03/17/image_15122025_03_17_14_9732.jpg', '/home/pi/Desktop/images/15122025/03/17/image_15122025_03_17_24_9733.jpg', '/home/pi/Desktop/images/15122025/03/17/image_15122025_03_17_34_10555.jpg', '/home/pi/Desktop/images/15122025/03/17/image_15122025_03_17_44_9640.jpg', '/home/pi/Desktop/images/15122025/03/17/image_15122025_03_18_05_10848.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/16/image_15122025_03_17_04_9770.jpg
/home/pi/Desktop/images/15122025/03/17/image_15122025_03_17_14_9732.jpg
/home/pi/Desktop/images/15122025/03/17/image_15122025_03_17_24_9733.jpg
/home/pi/Desktop/images/15122025/03/17/image_15122025_03_17_34_10555.jpg
/home/pi/Desktop/images/15122025/03/17/image_15122025_03_17_44_9640.jpg
/home/pi/Desktop/images/15122025/03/17/image_15122025_03_18_05_10848.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427465","1399427462","1399427464","1399427467","1399427466","1399427463"],"photo_ids_order":["1399427462","1399427463","1399427464","1399427465","1399427466","1399427467"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c8466b86f5489e973cc210a0a7d60763.jpg","text":"TemporaryFile(/tmp/multipartBody8242616579768149806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765923479,"filename":"image_15122025_03_17_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/15/874a1ee23c77c455d32ec1131ba4c40f.jpg","text":"TemporaryFile(/tmp/multipartBody3800124552343204081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765923479,"filename":"image_15122025_03_17_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/15/be5bfacae2f6b117bd4d9979e25ae90d.jpg","text":"TemporaryFile(/tmp/multipartBody1096468973802864615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765923479,"filename":"image_15122025_03_17_24_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0d03d52efa3dff7206925a5f5f1c7624.jpg","text":"TemporaryFile(/tmp/multipartBody5187732021363322015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765923479,"filename":"image_15122025_03_18_05_10848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4a76770151dce88fb3edc5023b399adb.jpg","text":"TemporaryFile(/tmp/multipartBody1100455318546653464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765923479,"filename":"image_15122025_03_17_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/15/cae9fedbda8e95fbb7b7f904f5413859.jpg","text":"TemporaryFile(/tmp/multipartBody2432340323961371026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765923479,"filename":"image_15122025_03_17_14_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427464","file1":"1399427463","file0":"1399427462","file4":"1399427466","file5":"1399427467","file3":"1399427465"},"map_files_photo_id_array":[{"photo_id":"1399427467","filename":"file5"},{"photo_id":"1399427464","filename":"file2"},{"photo_id":"1399427466","filename":"file4"},{"photo_id":"1399427463","filename":"file1"},{"photo_id":"1399427462","filename":"file0"},{"photo_id":"1399427465","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427465":["hashtag1","hashtag2"]},{"1399427462":["hashtag1","hashtag2"]},{"1399427464":["hashtag1","hashtag2"]},{"1399427467":["hashtag1","hashtag2"]},{"1399427466":["hashtag1","hashtag2"]},{"1399427463":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427465, 1399427462, 1399427464, 1399427467, 1399427466, 1399427463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13019347190857 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 03:31:42.079193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/56/image_05112025_12_56_27_17035.jpg', '/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_02_35116.jpg', '/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_03_1576.jpg', '/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_13_10046.jpg', '/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_15_1527.jpg', '/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_28_13501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/56/image_05112025_12_56_27_17035.jpg
/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_02_35116.jpg
/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_03_1576.jpg
/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_13_10046.jpg
/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_15_1527.jpg
/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_28_13501.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427471","1399427468","1399427473","1399427470","1399427472","1399427469"],"photo_ids_order":["1399427468","1399427469","1399427470","1399427471","1399427472","1399427473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/35819b461216abe997aa464562031e8f.jpg","text":"TemporaryFile(/tmp/multipartBody4334914528775162226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765962801,"filename":"image_05112025_12_57_13_10046.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/37c1afae3d470f152b3619248ab68d77.jpg","text":"TemporaryFile(/tmp/multipartBody7082638977959168802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765962801,"filename":"image_05112025_12_56_27_17035.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5f04ab6345d8bb9056ca5a495b637146.jpg","text":"TemporaryFile(/tmp/multipartBody2679995840874519147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765962801,"filename":"image_05112025_12_57_28_13501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f09c174b16565245c4293405fa7f2f88.jpg","text":"TemporaryFile(/tmp/multipartBody7976559819878600168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765962801,"filename":"image_05112025_12_57_03_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/15/2e6c75e62996280ea0541e1d209c12d0.jpg","text":"TemporaryFile(/tmp/multipartBody7351951448251868428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765962801,"filename":"image_05112025_12_57_15_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/15/9512061426cd2b77a029077f0fd89f5c.jpg","text":"TemporaryFile(/tmp/multipartBody2230098809112448003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765765962801,"filename":"image_05112025_12_57_02_35116.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427470","file1":"1399427469","file0":"1399427468","file4":"1399427472","file5":"1399427473","file3":"1399427471"},"map_files_photo_id_array":[{"photo_id":"1399427473","filename":"file5"},{"photo_id":"1399427470","filename":"file2"},{"photo_id":"1399427472","filename":"file4"},{"photo_id":"1399427469","filename":"file1"},{"photo_id":"1399427468","filename":"file0"},{"photo_id":"1399427471","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399427471":["hashtag1","hashtag2"]},{"1399427468":["hashtag1","hashtag2"]},{"1399427473":["hashtag1","hashtag2"]},{"1399427470":["hashtag1","hashtag2"]},{"1399427472":["hashtag1","hashtag2"]},{"1399427469":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399427471, 1399427468, 1399427473, 1399427470, 1399427472, 1399427469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.484538078308105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 03:32:22.391475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/18/image_15122025_03_18_14_9770.jpg', '/home/pi/Desktop/images/15122025/03/18/image_15122025_03_18_24_9652.jpg', '/home/pi/Desktop/images/15122025/03/18/image_15122025_03_18_35_10644.jpg', '/home/pi/Desktop/images/15122025/03/18/image_15122025_03_18_44_9684.jpg', '/home/pi/Desktop/images/15122025/03/18/image_15122025_03_18_54_9705.jpg', '/home/pi/Desktop/images/15122025/03/18/image_15122025_03_19_04_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/18/image_15122025_03_18_14_9770.jpg
/home/pi/Desktop/images/15122025/03/18/image_15122025_03_18_24_9652.jpg
/home/pi/Desktop/images/15122025/03/18/image_15122025_03_18_35_10644.jpg
/home/pi/Desktop/images/15122025/03/18/image_15122025_03_18_44_9684.jpg
/home/pi/Desktop/images/15122025/03/18/image_15122025_03_18_54_9705.jpg
/home/pi/Desktop/images/15122025/03/18/image_15122025_03_19_04_9713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427477","1399427474","1399427482","1399427476","1399427475","1399427478"],"photo_ids_order":["1399427474","1399427475","1399427476","1399427477","1399427478","1399427482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/459f77c7093645b21765b3fb96293e5d.jpg","text":"TemporaryFile(/tmp/multipartBody4263665795097994474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766003050,"filename":"image_15122025_03_18_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/15/5769c4b614981b626cd78169ef3206d5.jpg","text":"TemporaryFile(/tmp/multipartBody703681833342175574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766003050,"filename":"image_15122025_03_18_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/15/3d5538502a6177f1d71232bb42303082.jpg","text":"TemporaryFile(/tmp/multipartBody7324059359319535279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766003050,"filename":"image_15122025_03_19_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/15/21e00172e7ac7c6ecbc3da60c7093142.jpg","text":"TemporaryFile(/tmp/multipartBody3145368118713797396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766003050,"filename":"image_15122025_03_18_35_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3732c55d9ec33f9be42db65e42ca7620.jpg","text":"TemporaryFile(/tmp/multipartBody6190423774208633765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766003050,"filename":"image_15122025_03_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/15/220269d9dd7e5534730e4d80141e82b2.jpg","text":"TemporaryFile(/tmp/multipartBody2850864566954734605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766003050,"filename":"image_15122025_03_18_54_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427476","file1":"1399427475","file0":"1399427474","file4":"1399427478","file5":"1399427482","file3":"1399427477"},"map_files_photo_id_array":[{"photo_id":"1399427482","filename":"file5"},{"photo_id":"1399427476","filename":"file2"},{"photo_id":"1399427478","filename":"file4"},{"photo_id":"1399427475","filename":"file1"},{"photo_id":"1399427474","filename":"file0"},{"photo_id":"1399427477","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427477":["hashtag1","hashtag2"]},{"1399427474":["hashtag1","hashtag2"]},{"1399427482":["hashtag1","hashtag2"]},{"1399427476":["hashtag1","hashtag2"]},{"1399427475":["hashtag1","hashtag2"]},{"1399427478":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427477, 1399427474, 1399427482, 1399427476, 1399427475, 1399427478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.617517709732056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 03:33:03.212037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/19/image_15122025_03_19_15_10801.jpg', '/home/pi/Desktop/images/15122025/03/19/image_15122025_03_19_24_9680.jpg', '/home/pi/Desktop/images/15122025/03/19/image_15122025_03_19_34_9671.jpg', '/home/pi/Desktop/images/15122025/03/19/image_15122025_03_19_44_9967.jpg', '/home/pi/Desktop/images/15122025/03/19/image_15122025_03_19_54_9773.jpg', '/home/pi/Desktop/images/15122025/03/19/image_15122025_03_20_04_10686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/19/image_15122025_03_19_15_10801.jpg
/home/pi/Desktop/images/15122025/03/19/image_15122025_03_19_24_9680.jpg
/home/pi/Desktop/images/15122025/03/19/image_15122025_03_19_34_9671.jpg
/home/pi/Desktop/images/15122025/03/19/image_15122025_03_19_44_9967.jpg
/home/pi/Desktop/images/15122025/03/19/image_15122025_03_19_54_9773.jpg
/home/pi/Desktop/images/15122025/03/19/image_15122025_03_20_04_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":["1399427483","1399427486","1399427488","1399427485","1399427484","1399427487"],"photo_ids_order":["1399427483","1399427484","1399427485","1399427486","1399427487","1399427488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bf3191374aa2291eca5e78c58deaa85d.jpg","text":"TemporaryFile(/tmp/multipartBody4412136891252173107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766043946,"filename":"image_15122025_03_19_15_10801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ea2c88ae74191290839166d5323811b2.jpg","text":"TemporaryFile(/tmp/multipartBody2972563281984212381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766043946,"filename":"image_15122025_03_19_44_9967.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d628e4c7eba1bb5e651b71e4375f3926.jpg","text":"TemporaryFile(/tmp/multipartBody3576954453982642613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766043946,"filename":"image_15122025_03_20_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/15/0f12795d047290e8868f6c8e0b34594a.jpg","text":"TemporaryFile(/tmp/multipartBody6222567453788540979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766043946,"filename":"image_15122025_03_19_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/15/2f0db64620cdfdfe3e7ef1bcababe872.jpg","text":"TemporaryFile(/tmp/multipartBody7622188720635013015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766043946,"filename":"image_15122025_03_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/15/272a9d9159ba6c17678700f0e3a7daba.jpg","text":"TemporaryFile(/tmp/multipartBody2929267716450840085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766043946,"filename":"image_15122025_03_19_54_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427485","file1":"1399427484","file0":"1399427483","file4":"1399427487","file5":"1399427488","file3":"1399427486"},"map_files_photo_id_array":[{"photo_id":"1399427488","filename":"file5"},{"photo_id":"1399427485","filename":"file2"},{"photo_id":"1399427487","filename":"file4"},{"photo_id":"1399427484","filename":"file1"},{"photo_id":"1399427483","filename":"file0"},{"photo_id":"1399427486","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427483":["hashtag1","hashtag2"]},{"1399427486":["hashtag1","hashtag2"]},{"1399427488":["hashtag1","hashtag2"]},{"1399427485":["hashtag1","hashtag2"]},{"1399427484":["hashtag1","hashtag2"]},{"1399427487":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427483, 1399427486, 1399427488, 1399427485, 1399427484, 1399427487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43377661705017 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 03:33:42.572162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_30_1638.jpg', '/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_32_1672.jpg', '/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_33_1667.jpg', '/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_35_1635.jpg', '/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_36_1517.jpg', '/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_38_1577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_30_1638.jpg
/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_32_1672.jpg
/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_33_1667.jpg
/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_35_1635.jpg
/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_36_1517.jpg
/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_38_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":["1399427492","1399427489","1399427491","1399427494","1399427490","1399427493"],"photo_ids_order":["1399427489","1399427490","1399427491","1399427492","1399427493","1399427494"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a807a317ce613e019eadcf924291fc81.jpg","text":"TemporaryFile(/tmp/multipartBody361918987939119397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766083273,"filename":"image_05112025_12_57_35_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c8f346e093bbb12a90f85aa8d216d3f5.jpg","text":"TemporaryFile(/tmp/multipartBody4004818083720686733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766083273,"filename":"image_05112025_12_57_30_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9e147af617afff8dc6a442cd77fb298d.jpg","text":"TemporaryFile(/tmp/multipartBody6193172422283851356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766083273,"filename":"image_05112025_12_57_33_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/15/fd39e284053940f102f945eefab5c835.jpg","text":"TemporaryFile(/tmp/multipartBody40697058786559994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766083273,"filename":"image_05112025_12_57_38_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/15/ac6a591fc7e9015759670191f0d0829c.jpg","text":"TemporaryFile(/tmp/multipartBody2493178098872010878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766083273,"filename":"image_05112025_12_57_32_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/15/962888b729f8a0b299298ed66331f2a6.jpg","text":"TemporaryFile(/tmp/multipartBody2889510190670281933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766083273,"filename":"image_05112025_12_57_36_1517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427491","file1":"1399427490","file0":"1399427489","file4":"1399427493","file5":"1399427494","file3":"1399427492"},"map_files_photo_id_array":[{"photo_id":"1399427494","filename":"file5"},{"photo_id":"1399427491","filename":"file2"},{"photo_id":"1399427493","filename":"file4"},{"photo_id":"1399427490","filename":"file1"},{"photo_id":"1399427489","filename":"file0"},{"photo_id":"1399427492","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399427492":["hashtag1","hashtag2"]},{"1399427489":["hashtag1","hashtag2"]},{"1399427491":["hashtag1","hashtag2"]},{"1399427494":["hashtag1","hashtag2"]},{"1399427490":["hashtag1","hashtag2"]},{"1399427493":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399427492, 1399427489, 1399427491, 1399427494, 1399427490, 1399427493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.472060203552246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 03:34:21.831144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/20/image_15122025_03_20_14_9659.jpg', '/home/pi/Desktop/images/15122025/03/20/image_15122025_03_20_25_10647.jpg', '/home/pi/Desktop/images/15122025/03/20/image_15122025_03_20_34_9010.jpg', '/home/pi/Desktop/images/15122025/03/20/image_15122025_03_20_45_10850.jpg', '/home/pi/Desktop/images/15122025/03/20/image_15122025_03_20_54_9611.jpg', '/home/pi/Desktop/images/15122025/03/21/image_15122025_03_21_14_10567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/20/image_15122025_03_20_14_9659.jpg
/home/pi/Desktop/images/15122025/03/20/image_15122025_03_20_25_10647.jpg
/home/pi/Desktop/images/15122025/03/20/image_15122025_03_20_34_9010.jpg
/home/pi/Desktop/images/15122025/03/20/image_15122025_03_20_45_10850.jpg
/home/pi/Desktop/images/15122025/03/20/image_15122025_03_20_54_9611.jpg
/home/pi/Desktop/images/15122025/03/21/image_15122025_03_21_14_10567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427498","1399427497","1399427500","1399427499","1399427496","1399427495"],"photo_ids_order":["1399427495","1399427496","1399427497","1399427498","1399427499","1399427500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1b902685819fcfab7fe99f2d327dae9b.jpg","text":"TemporaryFile(/tmp/multipartBody2031023502939119193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766122484,"filename":"image_15122025_03_20_45_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/15/f67e190ef5f352625c84e19f30419778.jpg","text":"TemporaryFile(/tmp/multipartBody5932881433715659567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766122484,"filename":"image_15122025_03_20_34_9010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ba23706b648c3a645a082ebf8443b6f3.jpg","text":"TemporaryFile(/tmp/multipartBody1070772253600137432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766122484,"filename":"image_15122025_03_21_14_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/15/7b00d12880ea96c5f1e6df23e2f10f31.jpg","text":"TemporaryFile(/tmp/multipartBody1463456129545854909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766122484,"filename":"image_15122025_03_20_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/15/519df5ed49b2088af439e44c983b79ba.jpg","text":"TemporaryFile(/tmp/multipartBody3376824640977151580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766122484,"filename":"image_15122025_03_20_25_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bf834b5f91ba6e54ec0f177047c9d09a.jpg","text":"TemporaryFile(/tmp/multipartBody8302657928746934627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766122484,"filename":"image_15122025_03_20_14_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427497","file1":"1399427496","file0":"1399427495","file4":"1399427499","file5":"1399427500","file3":"1399427498"},"map_files_photo_id_array":[{"photo_id":"1399427500","filename":"file5"},{"photo_id":"1399427497","filename":"file2"},{"photo_id":"1399427499","filename":"file4"},{"photo_id":"1399427496","filename":"file1"},{"photo_id":"1399427495","filename":"file0"},{"photo_id":"1399427498","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427498":["hashtag1","hashtag2"]},{"1399427497":["hashtag1","hashtag2"]},{"1399427500":["hashtag1","hashtag2"]},{"1399427499":["hashtag1","hashtag2"]},{"1399427496":["hashtag1","hashtag2"]},{"1399427495":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427498, 1399427497, 1399427500, 1399427499, 1399427496, 1399427495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8230676651001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 03:35:02.973977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/21/image_15122025_03_21_24_9922.jpg', '/home/pi/Desktop/images/15122025/03/21/image_15122025_03_21_34_9712.jpg', '/home/pi/Desktop/images/15122025/03/21/image_15122025_03_21_45_10634.jpg', '/home/pi/Desktop/images/15122025/03/21/image_15122025_03_21_54_9656.jpg', '/home/pi/Desktop/images/15122025/03/21/image_15122025_03_22_04_9646.jpg', '/home/pi/Desktop/images/15122025/03/22/image_15122025_03_22_15_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/21/image_15122025_03_21_24_9922.jpg
/home/pi/Desktop/images/15122025/03/21/image_15122025_03_21_34_9712.jpg
/home/pi/Desktop/images/15122025/03/21/image_15122025_03_21_45_10634.jpg
/home/pi/Desktop/images/15122025/03/21/image_15122025_03_21_54_9656.jpg
/home/pi/Desktop/images/15122025/03/21/image_15122025_03_22_04_9646.jpg
/home/pi/Desktop/images/15122025/03/22/image_15122025_03_22_15_10631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427501","1399427504","1399427506","1399427503","1399427502","1399427505"],"photo_ids_order":["1399427501","1399427502","1399427503","1399427504","1399427505","1399427506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b43ae84beeb313c3a06c0e10c45cd65f.jpg","text":"TemporaryFile(/tmp/multipartBody5370192817939023616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766163691,"filename":"image_15122025_03_21_24_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/15/f9d9781f75d53c972eb480c96d64466e.jpg","text":"TemporaryFile(/tmp/multipartBody8340869414686800945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766163691,"filename":"image_15122025_03_21_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/15/bce325e3fa15d21723a47c6564ba6a48.jpg","text":"TemporaryFile(/tmp/multipartBody1018201530506013644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766163691,"filename":"image_15122025_03_22_15_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/773252197ea41c1e9a0cca64317a19ca.jpg","text":"TemporaryFile(/tmp/multipartBody5269994451710548003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766163691,"filename":"image_15122025_03_21_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/15/32d7727a4112d6bdff937bd21e074c46.jpg","text":"TemporaryFile(/tmp/multipartBody3853920539648871931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766163691,"filename":"image_15122025_03_21_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/15/145754e65ff4e6b0b314b959b62f9777.jpg","text":"TemporaryFile(/tmp/multipartBody7110354995051386920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766163691,"filename":"image_15122025_03_22_04_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427503","file1":"1399427502","file0":"1399427501","file4":"1399427505","file5":"1399427506","file3":"1399427504"},"map_files_photo_id_array":[{"photo_id":"1399427506","filename":"file5"},{"photo_id":"1399427503","filename":"file2"},{"photo_id":"1399427505","filename":"file4"},{"photo_id":"1399427502","filename":"file1"},{"photo_id":"1399427501","filename":"file0"},{"photo_id":"1399427504","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427501":["hashtag1","hashtag2"]},{"1399427504":["hashtag1","hashtag2"]},{"1399427506":["hashtag1","hashtag2"]},{"1399427503":["hashtag1","hashtag2"]},{"1399427502":["hashtag1","hashtag2"]},{"1399427505":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427501, 1399427504, 1399427506, 1399427503, 1399427502, 1399427505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.297770738601685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 03:35:42.381641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_42_4292.jpg', '/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_44_1799.jpg', '/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_46_1675.jpg', '/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_48_1680.jpg', '/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_52_4295.jpg', '/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_53_1591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_42_4292.jpg
/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_44_1799.jpg
/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_46_1675.jpg
/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_48_1680.jpg
/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_52_4295.jpg
/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_53_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":["1399427514","1399427513","1399427510","1399427507","1399427512","1399427511"],"photo_ids_order":["1399427507","1399427510","1399427511","1399427512","1399427513","1399427514"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4be37609e6b212257afa5e7b213a184a.jpg","text":"TemporaryFile(/tmp/multipartBody3703948743137342460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766203090,"filename":"image_05112025_12_57_53_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/15/0dc1b694b1728bba742f8b4431cc7f49.jpg","text":"TemporaryFile(/tmp/multipartBody716045078018997807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766203090,"filename":"image_05112025_12_57_52_4295.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9b41cb8965e2cd5423fb9561644f318e.jpg","text":"TemporaryFile(/tmp/multipartBody4980054903459776594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766203090,"filename":"image_05112025_12_57_44_1799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/381d68397f24c735ca04406859f0001c.jpg","text":"TemporaryFile(/tmp/multipartBody8720487181769016138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766203090,"filename":"image_05112025_12_57_42_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/15/7ce78c45c3018590f827affdd4faaaf5.jpg","text":"TemporaryFile(/tmp/multipartBody678054171035501750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766203090,"filename":"image_05112025_12_57_48_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/15/cdba18f09c85e34befc1930880901d1d.jpg","text":"TemporaryFile(/tmp/multipartBody7769950643277977645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766203090,"filename":"image_05112025_12_57_46_1675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427511","file1":"1399427510","file0":"1399427507","file4":"1399427513","file5":"1399427514","file3":"1399427512"},"map_files_photo_id_array":[{"photo_id":"1399427514","filename":"file5"},{"photo_id":"1399427511","filename":"file2"},{"photo_id":"1399427513","filename":"file4"},{"photo_id":"1399427510","filename":"file1"},{"photo_id":"1399427507","filename":"file0"},{"photo_id":"1399427512","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399427514":["hashtag1","hashtag2"]},{"1399427513":["hashtag1","hashtag2"]},{"1399427510":["hashtag1","hashtag2"]},{"1399427507":["hashtag1","hashtag2"]},{"1399427512":["hashtag1","hashtag2"]},{"1399427511":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399427514, 1399427513, 1399427510, 1399427507, 1399427512, 1399427511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88412570953369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 03:36:22.620948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/22/image_15122025_03_22_24_9666.jpg', '/home/pi/Desktop/images/15122025/03/22/image_15122025_03_22_34_9649.jpg', '/home/pi/Desktop/images/15122025/03/22/image_15122025_03_22_44_9836.jpg', '/home/pi/Desktop/images/15122025/03/22/image_15122025_03_22_54_10686.jpg', '/home/pi/Desktop/images/15122025/03/22/image_15122025_03_23_04_9789.jpg', '/home/pi/Desktop/images/15122025/03/23/image_15122025_03_23_14_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/22/image_15122025_03_22_24_9666.jpg
/home/pi/Desktop/images/15122025/03/22/image_15122025_03_22_34_9649.jpg
/home/pi/Desktop/images/15122025/03/22/image_15122025_03_22_44_9836.jpg
/home/pi/Desktop/images/15122025/03/22/image_15122025_03_22_54_10686.jpg
/home/pi/Desktop/images/15122025/03/22/image_15122025_03_23_04_9789.jpg
/home/pi/Desktop/images/15122025/03/23/image_15122025_03_23_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":["1399427516","1399427519","1399427518","1399427515","1399427520","1399427517"],"photo_ids_order":["1399427515","1399427516","1399427517","1399427518","1399427519","1399427520"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/68e8a5d316b573352c57b884a2f1b71e.jpg","text":"TemporaryFile(/tmp/multipartBody2446434673260518695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766243242,"filename":"image_15122025_03_22_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/15/9b02ed84dd9de358b68846bef1079b54.jpg","text":"TemporaryFile(/tmp/multipartBody4365719557764713088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766243242,"filename":"image_15122025_03_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/15/deb3233de6a161ad142e64d9da0d976e.jpg","text":"TemporaryFile(/tmp/multipartBody4405812564006635295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766243242,"filename":"image_15122025_03_22_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/15/0fcdeff3ab09aeb6211f7bbe160c1070.jpg","text":"TemporaryFile(/tmp/multipartBody9138521800712744234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766243242,"filename":"image_15122025_03_22_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/15/ee070ebd1712cce1cc93468b45e87f99.jpg","text":"TemporaryFile(/tmp/multipartBody8372352332094121581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766243242,"filename":"image_15122025_03_23_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/15/9daa6c42cf9778c2640bbdd47224a541.jpg","text":"TemporaryFile(/tmp/multipartBody8363682681660204352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766243242,"filename":"image_15122025_03_22_44_9836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427517","file1":"1399427516","file0":"1399427515","file4":"1399427519","file5":"1399427520","file3":"1399427518"},"map_files_photo_id_array":[{"photo_id":"1399427520","filename":"file5"},{"photo_id":"1399427517","filename":"file2"},{"photo_id":"1399427519","filename":"file4"},{"photo_id":"1399427516","filename":"file1"},{"photo_id":"1399427515","filename":"file0"},{"photo_id":"1399427518","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427516":["hashtag1","hashtag2"]},{"1399427519":["hashtag1","hashtag2"]},{"1399427518":["hashtag1","hashtag2"]},{"1399427515":["hashtag1","hashtag2"]},{"1399427520":["hashtag1","hashtag2"]},{"1399427517":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427516, 1399427519, 1399427518, 1399427515, 1399427520, 1399427517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.284425258636475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 03:37:02.407806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/23/image_15122025_03_23_25_10686.jpg', '/home/pi/Desktop/images/15122025/03/23/image_15122025_03_23_34_9683.jpg', '/home/pi/Desktop/images/15122025/03/23/image_15122025_03_23_44_9677.jpg', '/home/pi/Desktop/images/15122025/03/23/image_15122025_03_24_04_9695.jpg', '/home/pi/Desktop/images/15122025/03/24/image_15122025_03_24_14_9664.jpg', '/home/pi/Desktop/images/15122025/03/24/image_15122025_03_24_24_9753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/23/image_15122025_03_23_25_10686.jpg
/home/pi/Desktop/images/15122025/03/23/image_15122025_03_23_34_9683.jpg
/home/pi/Desktop/images/15122025/03/23/image_15122025_03_23_44_9677.jpg
/home/pi/Desktop/images/15122025/03/23/image_15122025_03_24_04_9695.jpg
/home/pi/Desktop/images/15122025/03/24/image_15122025_03_24_14_9664.jpg
/home/pi/Desktop/images/15122025/03/24/image_15122025_03_24_24_9753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427522","1399427525","1399427524","1399427521","1399427523","1399427526"],"photo_ids_order":["1399427521","1399427522","1399427523","1399427524","1399427525","1399427526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d961660b76736b01d55d153765ad5e17.jpg","text":"TemporaryFile(/tmp/multipartBody6733382131063501309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766283127,"filename":"image_15122025_03_23_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/15/97865141b9ae7a276eeb6571bf118f70.jpg","text":"TemporaryFile(/tmp/multipartBody8761655291413994891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766283127,"filename":"image_15122025_03_24_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/15/d6e608e9021bd92e70342a76674ba5d1.jpg","text":"TemporaryFile(/tmp/multipartBody8455276127520959619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766283127,"filename":"image_15122025_03_24_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/15/0dab02a624ede5e6c055e33208d29b12.jpg","text":"TemporaryFile(/tmp/multipartBody1878882573321999338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766283127,"filename":"image_15122025_03_23_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/15/7a1fdba49b2f06be7ae92a7161c10dd1.jpg","text":"TemporaryFile(/tmp/multipartBody1405406191406932491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766283127,"filename":"image_15122025_03_23_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/15/b7b70807ed3d7aea872408886d277217.jpg","text":"TemporaryFile(/tmp/multipartBody173931868276080391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766283127,"filename":"image_15122025_03_24_24_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427523","file1":"1399427522","file0":"1399427521","file4":"1399427525","file5":"1399427526","file3":"1399427524"},"map_files_photo_id_array":[{"photo_id":"1399427526","filename":"file5"},{"photo_id":"1399427523","filename":"file2"},{"photo_id":"1399427525","filename":"file4"},{"photo_id":"1399427522","filename":"file1"},{"photo_id":"1399427521","filename":"file0"},{"photo_id":"1399427524","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427522":["hashtag1","hashtag2"]},{"1399427525":["hashtag1","hashtag2"]},{"1399427524":["hashtag1","hashtag2"]},{"1399427521":["hashtag1","hashtag2"]},{"1399427523":["hashtag1","hashtag2"]},{"1399427526":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427522, 1399427525, 1399427524, 1399427521, 1399427523, 1399427526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.972224712371826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 03:37:42.005240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_55_1606.jpg', '/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_57_1551.jpg', '/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_58_1609.jpg', '/home/pi/Desktop/images/05112025/12/57/image_05112025_12_58_00_1856.jpg', '/home/pi/Desktop/images/05112025/12/58/image_05112025_12_58_02_1675.jpg', '/home/pi/Desktop/images/05112025/12/58/image_05112025_12_58_03_1626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_55_1606.jpg
/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_57_1551.jpg
/home/pi/Desktop/images/05112025/12/57/image_05112025_12_57_58_1609.jpg
/home/pi/Desktop/images/05112025/12/57/image_05112025_12_58_00_1856.jpg
/home/pi/Desktop/images/05112025/12/58/image_05112025_12_58_02_1675.jpg
/home/pi/Desktop/images/05112025/12/58/image_05112025_12_58_03_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":["1399427531","1399427528","1399427530","1399427527","1399427529","1399427532"],"photo_ids_order":["1399427527","1399427528","1399427529","1399427530","1399427531","1399427532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/13a52e035ef46ae19379930f337c66a1.jpg","text":"TemporaryFile(/tmp/multipartBody2467102664377046980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766322728,"filename":"image_05112025_12_58_02_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/15/49cc1b4b2c652558452f3bb6e91561e9.jpg","text":"TemporaryFile(/tmp/multipartBody1584575217181167746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766322728,"filename":"image_05112025_12_57_57_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/15/618980fc3a289c431805962708273498.jpg","text":"TemporaryFile(/tmp/multipartBody6661121219317687403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766322728,"filename":"image_05112025_12_58_00_1856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/149f8b7d4e134b732396a0ab6e528734.jpg","text":"TemporaryFile(/tmp/multipartBody336900587089816917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766322728,"filename":"image_05112025_12_57_55_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/15/3d1e91312fd05102d4c31fec7eadac7b.jpg","text":"TemporaryFile(/tmp/multipartBody2618344791673842857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766322728,"filename":"image_05112025_12_57_58_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/15/57ba52b573003af95644606d7753953e.jpg","text":"TemporaryFile(/tmp/multipartBody4470098073040023526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766322728,"filename":"image_05112025_12_58_03_1626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427529","file1":"1399427528","file0":"1399427527","file4":"1399427531","file5":"1399427532","file3":"1399427530"},"map_files_photo_id_array":[{"photo_id":"1399427532","filename":"file5"},{"photo_id":"1399427529","filename":"file2"},{"photo_id":"1399427531","filename":"file4"},{"photo_id":"1399427528","filename":"file1"},{"photo_id":"1399427527","filename":"file0"},{"photo_id":"1399427530","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399427531":["hashtag1","hashtag2"]},{"1399427528":["hashtag1","hashtag2"]},{"1399427530":["hashtag1","hashtag2"]},{"1399427527":["hashtag1","hashtag2"]},{"1399427529":["hashtag1","hashtag2"]},{"1399427532":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399427531, 1399427528, 1399427530, 1399427527, 1399427529, 1399427532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13869333267212 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 03:38:22.290577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/24/image_15122025_03_24_34_10717.jpg', '/home/pi/Desktop/images/15122025/03/24/image_15122025_03_24_44_9704.jpg', '/home/pi/Desktop/images/15122025/03/24/image_15122025_03_24_54_9718.jpg', '/home/pi/Desktop/images/15122025/03/25/image_15122025_03_25_14_9695.jpg', '/home/pi/Desktop/images/15122025/03/25/image_15122025_03_25_24_9778.jpg', '/home/pi/Desktop/images/15122025/03/25/image_15122025_03_25_44_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/24/image_15122025_03_24_34_10717.jpg
/home/pi/Desktop/images/15122025/03/24/image_15122025_03_24_44_9704.jpg
/home/pi/Desktop/images/15122025/03/24/image_15122025_03_24_54_9718.jpg
/home/pi/Desktop/images/15122025/03/25/image_15122025_03_25_14_9695.jpg
/home/pi/Desktop/images/15122025/03/25/image_15122025_03_25_24_9778.jpg
/home/pi/Desktop/images/15122025/03/25/image_15122025_03_25_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":["1399427534","1399427537","1399427536","1399427533","1399427541","1399427535"],"photo_ids_order":["1399427533","1399427534","1399427535","1399427536","1399427537","1399427541"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d64aa71eeec26ef180d8ba649efe4190.jpg","text":"TemporaryFile(/tmp/multipartBody2294887457922801509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766362912,"filename":"image_15122025_03_24_44_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1c7565852099672c8c3c38edd95d1b65.jpg","text":"TemporaryFile(/tmp/multipartBody7062268961602243197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766362912,"filename":"image_15122025_03_25_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/15/942cb7932c073f0eceb440c553b84ab2.jpg","text":"TemporaryFile(/tmp/multipartBody4303529413624202751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766362912,"filename":"image_15122025_03_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/15/c502e539cfe9673989e9176c6926840d.jpg","text":"TemporaryFile(/tmp/multipartBody6674082984896561597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766362912,"filename":"image_15122025_03_24_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/15/067d01b0e3977a449629f3872bd50f25.jpg","text":"TemporaryFile(/tmp/multipartBody4452778780356321003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766362912,"filename":"image_15122025_03_25_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/15/266d8c62c0038507b632379ade385f1b.jpg","text":"TemporaryFile(/tmp/multipartBody4465142503874323971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766362912,"filename":"image_15122025_03_24_54_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427535","file1":"1399427534","file0":"1399427533","file4":"1399427537","file5":"1399427541","file3":"1399427536"},"map_files_photo_id_array":[{"photo_id":"1399427541","filename":"file5"},{"photo_id":"1399427535","filename":"file2"},{"photo_id":"1399427537","filename":"file4"},{"photo_id":"1399427534","filename":"file1"},{"photo_id":"1399427533","filename":"file0"},{"photo_id":"1399427536","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427534":["hashtag1","hashtag2"]},{"1399427537":["hashtag1","hashtag2"]},{"1399427536":["hashtag1","hashtag2"]},{"1399427533":["hashtag1","hashtag2"]},{"1399427541":["hashtag1","hashtag2"]},{"1399427535":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427534, 1399427537, 1399427536, 1399427533, 1399427541, 1399427535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.029417276382446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 03:39:03.115910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/25/image_15122025_03_25_54_9787.jpg', '/home/pi/Desktop/images/15122025/03/25/image_15122025_03_26_04_9585.jpg', '/home/pi/Desktop/images/15122025/03/26/image_15122025_03_26_14_10742.jpg', '/home/pi/Desktop/images/15122025/03/26/image_15122025_03_26_24_9751.jpg', '/home/pi/Desktop/images/15122025/03/26/image_15122025_03_26_34_9779.jpg', '/home/pi/Desktop/images/15122025/03/26/image_15122025_03_26_55_10744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/25/image_15122025_03_25_54_9787.jpg
/home/pi/Desktop/images/15122025/03/25/image_15122025_03_26_04_9585.jpg
/home/pi/Desktop/images/15122025/03/26/image_15122025_03_26_14_10742.jpg
/home/pi/Desktop/images/15122025/03/26/image_15122025_03_26_24_9751.jpg
/home/pi/Desktop/images/15122025/03/26/image_15122025_03_26_34_9779.jpg
/home/pi/Desktop/images/15122025/03/26/image_15122025_03_26_55_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":["1399427546","1399427543","1399427542","1399427545","1399427547","1399427544"],"photo_ids_order":["1399427542","1399427543","1399427544","1399427545","1399427546","1399427547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c6025869332d9e8a422c5966daa384a8.jpg","text":"TemporaryFile(/tmp/multipartBody8804173772200895699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766403881,"filename":"image_15122025_03_26_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/15/ce8fdbabf2cb430e8ee348ba7b1d5d44.jpg","text":"TemporaryFile(/tmp/multipartBody5969955623623059186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766403881,"filename":"image_15122025_03_26_04_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/adac1dba42dc2e42d8f010a870f1dd16.jpg","text":"TemporaryFile(/tmp/multipartBody8294436643875785032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766403881,"filename":"image_15122025_03_25_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/15/b353cebd394e5bad6e4249585da0c5d2.jpg","text":"TemporaryFile(/tmp/multipartBody4770188375474750743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766403881,"filename":"image_15122025_03_26_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/15/e6a4843e39d172d513c472ae7c80b170.jpg","text":"TemporaryFile(/tmp/multipartBody1074149040103464489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766403881,"filename":"image_15122025_03_26_55_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/31231941b5bddb2c5cd3c3fac90cb2db.jpg","text":"TemporaryFile(/tmp/multipartBody7467830231175654481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766403881,"filename":"image_15122025_03_26_14_10742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427544","file1":"1399427543","file0":"1399427542","file4":"1399427546","file5":"1399427547","file3":"1399427545"},"map_files_photo_id_array":[{"photo_id":"1399427547","filename":"file5"},{"photo_id":"1399427544","filename":"file2"},{"photo_id":"1399427546","filename":"file4"},{"photo_id":"1399427543","filename":"file1"},{"photo_id":"1399427542","filename":"file0"},{"photo_id":"1399427545","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427546":["hashtag1","hashtag2"]},{"1399427543":["hashtag1","hashtag2"]},{"1399427542":["hashtag1","hashtag2"]},{"1399427545":["hashtag1","hashtag2"]},{"1399427547":["hashtag1","hashtag2"]},{"1399427544":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427546, 1399427543, 1399427542, 1399427545, 1399427547, 1399427544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47721767425537 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 03:39:42.423999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/58/image_05112025_12_58_05_1597.jpg', '/home/pi/Desktop/images/05112025/12/58/image_05112025_12_58_07_2027.jpg', '/home/pi/Desktop/images/05112025/12/58/image_05112025_12_58_09_1833.jpg', '/home/pi/Desktop/images/05112025/12/58/image_05112025_12_58_13_3875.jpg', '/home/pi/Desktop/images/05112025/12/58/image_05112025_12_58_14_1647.jpg', '/home/pi/Desktop/images/05112025/12/58/image_05112025_12_58_30_15893.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/58/image_05112025_12_58_05_1597.jpg
/home/pi/Desktop/images/05112025/12/58/image_05112025_12_58_07_2027.jpg
/home/pi/Desktop/images/05112025/12/58/image_05112025_12_58_09_1833.jpg
/home/pi/Desktop/images/05112025/12/58/image_05112025_12_58_13_3875.jpg
/home/pi/Desktop/images/05112025/12/58/image_05112025_12_58_14_1647.jpg
/home/pi/Desktop/images/05112025/12/58/image_05112025_12_58_30_15893.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427552","1399427549","1399427551","1399427548","1399427553","1399427550"],"photo_ids_order":["1399427548","1399427549","1399427550","1399427551","1399427552","1399427553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9f6b8508a6049d5bc9c3fc7c8dd8bce0.jpg","text":"TemporaryFile(/tmp/multipartBody6996235359850157136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766443130,"filename":"image_05112025_12_58_14_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/15/168f1ca1e382b8884c53d9c0da64a9cb.jpg","text":"TemporaryFile(/tmp/multipartBody6259349495707770624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766443130,"filename":"image_05112025_12_58_07_2027.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/95c1801f8640ce5a2ceeac8bcd041756.jpg","text":"TemporaryFile(/tmp/multipartBody6718349175929569264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766443130,"filename":"image_05112025_12_58_13_3875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d424c465f22bdeb981bf9829bd2ff8ea.jpg","text":"TemporaryFile(/tmp/multipartBody4445271955408061182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766443130,"filename":"image_05112025_12_58_05_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/15/6d1347332b758d15c0dc5c06203b2a67.jpg","text":"TemporaryFile(/tmp/multipartBody4545720886654331223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766443130,"filename":"image_05112025_12_58_30_15893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cd8ac686dab29714b64991c5e1c245f3.jpg","text":"TemporaryFile(/tmp/multipartBody5554032782819025830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766443130,"filename":"image_05112025_12_58_09_1833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427550","file1":"1399427549","file0":"1399427548","file4":"1399427552","file5":"1399427553","file3":"1399427551"},"map_files_photo_id_array":[{"photo_id":"1399427553","filename":"file5"},{"photo_id":"1399427550","filename":"file2"},{"photo_id":"1399427552","filename":"file4"},{"photo_id":"1399427549","filename":"file1"},{"photo_id":"1399427548","filename":"file0"},{"photo_id":"1399427551","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399427552":["hashtag1","hashtag2"]},{"1399427549":["hashtag1","hashtag2"]},{"1399427551":["hashtag1","hashtag2"]},{"1399427548":["hashtag1","hashtag2"]},{"1399427553":["hashtag1","hashtag2"]},{"1399427550":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399427552, 1399427549, 1399427551, 1399427548, 1399427553, 1399427550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54382538795471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 03:40:22.756382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/26/image_15122025_03_27_04_9665.jpg', '/home/pi/Desktop/images/15122025/03/27/image_15122025_03_27_14_9614.jpg', '/home/pi/Desktop/images/15122025/03/27/image_15122025_03_27_25_10803.jpg', '/home/pi/Desktop/images/15122025/03/27/image_15122025_03_27_34_9621.jpg', '/home/pi/Desktop/images/15122025/03/27/image_15122025_03_27_44_9597.jpg', '/home/pi/Desktop/images/15122025/03/27/image_15122025_03_28_04_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/26/image_15122025_03_27_04_9665.jpg
/home/pi/Desktop/images/15122025/03/27/image_15122025_03_27_14_9614.jpg
/home/pi/Desktop/images/15122025/03/27/image_15122025_03_27_25_10803.jpg
/home/pi/Desktop/images/15122025/03/27/image_15122025_03_27_34_9621.jpg
/home/pi/Desktop/images/15122025/03/27/image_15122025_03_27_44_9597.jpg
/home/pi/Desktop/images/15122025/03/27/image_15122025_03_28_04_9748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427558","1399427555","1399427554","1399427557","1399427556","1399427559"],"photo_ids_order":["1399427554","1399427555","1399427556","1399427557","1399427558","1399427559"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a63f443758dec4907856ef3e37bd543b.jpg","text":"TemporaryFile(/tmp/multipartBody880001310352347114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766483370,"filename":"image_15122025_03_27_44_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bec20e864108e4d5ee35d06d890b198e.jpg","text":"TemporaryFile(/tmp/multipartBody3183698766811488606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766483370,"filename":"image_15122025_03_27_14_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3c528b4bec08681e64c3cd37685a9095.jpg","text":"TemporaryFile(/tmp/multipartBody3187220878498425526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766483370,"filename":"image_15122025_03_27_04_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/47b794fd9d5482e62466372260ec650c.jpg","text":"TemporaryFile(/tmp/multipartBody5945730936407624759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766483370,"filename":"image_15122025_03_27_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/15/bd48f3167ecdd9a0230a45147e783134.jpg","text":"TemporaryFile(/tmp/multipartBody1926235763862735859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766483370,"filename":"image_15122025_03_27_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/15/e86b76c8e8f3f5f39acb42fd9c317d8f.jpg","text":"TemporaryFile(/tmp/multipartBody3350473868850555794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766483370,"filename":"image_15122025_03_28_04_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427556","file1":"1399427555","file0":"1399427554","file4":"1399427558","file5":"1399427559","file3":"1399427557"},"map_files_photo_id_array":[{"photo_id":"1399427559","filename":"file5"},{"photo_id":"1399427556","filename":"file2"},{"photo_id":"1399427558","filename":"file4"},{"photo_id":"1399427555","filename":"file1"},{"photo_id":"1399427554","filename":"file0"},{"photo_id":"1399427557","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427558":["hashtag1","hashtag2"]},{"1399427555":["hashtag1","hashtag2"]},{"1399427554":["hashtag1","hashtag2"]},{"1399427557":["hashtag1","hashtag2"]},{"1399427556":["hashtag1","hashtag2"]},{"1399427559":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427558, 1399427555, 1399427554, 1399427557, 1399427556, 1399427559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.857518434524536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 03:41:02.641591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/28/image_15122025_03_28_14_9788.jpg', '/home/pi/Desktop/images/15122025/03/28/image_15122025_03_28_24_9576.jpg', '/home/pi/Desktop/images/15122025/03/28/image_15122025_03_28_34_10626.jpg', '/home/pi/Desktop/images/15122025/03/28/image_15122025_03_28_44_9689.jpg', '/home/pi/Desktop/images/15122025/03/28/image_15122025_03_28_54_9632.jpg', '/home/pi/Desktop/images/15122025/03/28/image_15122025_03_29_04_10761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/28/image_15122025_03_28_14_9788.jpg
/home/pi/Desktop/images/15122025/03/28/image_15122025_03_28_24_9576.jpg
/home/pi/Desktop/images/15122025/03/28/image_15122025_03_28_34_10626.jpg
/home/pi/Desktop/images/15122025/03/28/image_15122025_03_28_44_9689.jpg
/home/pi/Desktop/images/15122025/03/28/image_15122025_03_28_54_9632.jpg
/home/pi/Desktop/images/15122025/03/28/image_15122025_03_29_04_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":["1399427564","1399427561","1399427560","1399427563","1399427565","1399427562"],"photo_ids_order":["1399427560","1399427561","1399427562","1399427563","1399427564","1399427565"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a5a78fab777bd7c436600098f92a0f0e.jpg","text":"TemporaryFile(/tmp/multipartBody8482992003549771745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766523315,"filename":"image_15122025_03_28_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/15/646756b1cb77d1cfafa29e6de3681fca.jpg","text":"TemporaryFile(/tmp/multipartBody1093130057167248173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766523315,"filename":"image_15122025_03_28_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/15/6291d73c9c5a79bdefd1445ab9bffedc.jpg","text":"TemporaryFile(/tmp/multipartBody5918398366293358734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766523315,"filename":"image_15122025_03_28_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/15/a09dc3c25f16d365ec13cc6aa58296ff.jpg","text":"TemporaryFile(/tmp/multipartBody7321065595749503107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766523315,"filename":"image_15122025_03_28_44_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/33fd40ac9e1171a2dd4bb3b2900a97d1.jpg","text":"TemporaryFile(/tmp/multipartBody8952557543715775671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766523315,"filename":"image_15122025_03_29_04_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/15/439d08a3e24159937eebc07b44740e3f.jpg","text":"TemporaryFile(/tmp/multipartBody8127093775389318514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766523315,"filename":"image_15122025_03_28_34_10626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427562","file1":"1399427561","file0":"1399427560","file4":"1399427564","file5":"1399427565","file3":"1399427563"},"map_files_photo_id_array":[{"photo_id":"1399427565","filename":"file5"},{"photo_id":"1399427562","filename":"file2"},{"photo_id":"1399427564","filename":"file4"},{"photo_id":"1399427561","filename":"file1"},{"photo_id":"1399427560","filename":"file0"},{"photo_id":"1399427563","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427564":["hashtag1","hashtag2"]},{"1399427561":["hashtag1","hashtag2"]},{"1399427560":["hashtag1","hashtag2"]},{"1399427563":["hashtag1","hashtag2"]},{"1399427565":["hashtag1","hashtag2"]},{"1399427562":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427564, 1399427561, 1399427560, 1399427563, 1399427565, 1399427562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.202149391174316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 03:41:41.818649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/58/image_05112025_12_58_42_11930.jpg', '/home/pi/Desktop/images/05112025/12/58/image_05112025_12_58_44_1758.jpg', '/home/pi/Desktop/images/05112025/12/58/image_05112025_12_58_57_13040.jpg', '/home/pi/Desktop/images/05112025/12/58/image_05112025_12_58_59_1647.jpg', '/home/pi/Desktop/images/05112025/12/58/image_05112025_12_59_00_1607.jpg', '/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_02_1788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/58/image_05112025_12_58_42_11930.jpg
/home/pi/Desktop/images/05112025/12/58/image_05112025_12_58_44_1758.jpg
/home/pi/Desktop/images/05112025/12/58/image_05112025_12_58_57_13040.jpg
/home/pi/Desktop/images/05112025/12/58/image_05112025_12_58_59_1647.jpg
/home/pi/Desktop/images/05112025/12/58/image_05112025_12_59_00_1607.jpg
/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_02_1788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427570","1399427573","1399427572","1399427569","1399427566","1399427571"],"photo_ids_order":["1399427566","1399427569","1399427570","1399427571","1399427572","1399427573"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/891a88a2ba06db60df2989c3d8ad25e5.jpg","text":"TemporaryFile(/tmp/multipartBody7550037526798791861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766562520,"filename":"image_05112025_12_58_57_13040.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3a456bc48f9bfdd18492fe8243eb30ca.jpg","text":"TemporaryFile(/tmp/multipartBody1646238702763453845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766562520,"filename":"image_05112025_12_59_02_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/15/19247ed3f1d12edc6994bbd78a23cf1e.jpg","text":"TemporaryFile(/tmp/multipartBody3273985941828323953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766562520,"filename":"image_05112025_12_59_00_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/15/24991ebd0ebed11ba0aefd7eb5c30ce8.jpg","text":"TemporaryFile(/tmp/multipartBody2933246568572252639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766562520,"filename":"image_05112025_12_58_44_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/15/442f3994b6b6515abc7a7a16bf1e6133.jpg","text":"TemporaryFile(/tmp/multipartBody5699843893103354312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766562520,"filename":"image_05112025_12_58_42_11930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1d855f9ab11eff7ec13030da4072440b.jpg","text":"TemporaryFile(/tmp/multipartBody842098314900400197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766562520,"filename":"image_05112025_12_58_59_1647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427570","file1":"1399427569","file0":"1399427566","file4":"1399427572","file5":"1399427573","file3":"1399427571"},"map_files_photo_id_array":[{"photo_id":"1399427573","filename":"file5"},{"photo_id":"1399427570","filename":"file2"},{"photo_id":"1399427572","filename":"file4"},{"photo_id":"1399427569","filename":"file1"},{"photo_id":"1399427566","filename":"file0"},{"photo_id":"1399427571","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399427570":["hashtag1","hashtag2"]},{"1399427573":["hashtag1","hashtag2"]},{"1399427572":["hashtag1","hashtag2"]},{"1399427569":["hashtag1","hashtag2"]},{"1399427566":["hashtag1","hashtag2"]},{"1399427571":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399427570, 1399427573, 1399427572, 1399427569, 1399427566, 1399427571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.973732233047485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 03:42:22.107396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/29/image_15122025_03_29_34_10726.jpg', '/home/pi/Desktop/images/15122025/03/29/image_15122025_03_29_44_9772.jpg', '/home/pi/Desktop/images/15122025/03/29/image_15122025_03_29_54_9637.jpg', '/home/pi/Desktop/images/15122025/03/29/image_15122025_03_30_05_10697.jpg', '/home/pi/Desktop/images/15122025/03/30/image_15122025_03_30_14_9578.jpg', '/home/pi/Desktop/images/15122025/03/30/image_15122025_03_30_24_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/29/image_15122025_03_29_34_10726.jpg
/home/pi/Desktop/images/15122025/03/29/image_15122025_03_29_44_9772.jpg
/home/pi/Desktop/images/15122025/03/29/image_15122025_03_29_54_9637.jpg
/home/pi/Desktop/images/15122025/03/29/image_15122025_03_30_05_10697.jpg
/home/pi/Desktop/images/15122025/03/30/image_15122025_03_30_14_9578.jpg
/home/pi/Desktop/images/15122025/03/30/image_15122025_03_30_24_9684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427576","1399427579","1399427575","1399427578","1399427574","1399427577"],"photo_ids_order":["1399427574","1399427575","1399427576","1399427577","1399427578","1399427579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b82019b4f0a08eae8e09be3b9fa0970c.jpg","text":"TemporaryFile(/tmp/multipartBody7308407937821193718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766602757,"filename":"image_15122025_03_29_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/15/6a12cb893daa65e67cb336e50b8ee3ef.jpg","text":"TemporaryFile(/tmp/multipartBody652587057657475377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766602757,"filename":"image_15122025_03_30_24_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3a18ef012ad0e5c0c00ad9693203921e.jpg","text":"TemporaryFile(/tmp/multipartBody7368053099115525207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766602757,"filename":"image_15122025_03_29_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/15/21ac57ec43f5277c11301cb30e45c0d3.jpg","text":"TemporaryFile(/tmp/multipartBody8107904089571170879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766602757,"filename":"image_15122025_03_30_14_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/15/81dd50e9c768dc6f07fe7040a87bd474.jpg","text":"TemporaryFile(/tmp/multipartBody2350067029522012495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766602757,"filename":"image_15122025_03_29_34_10726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/35c8f769cf23b3a43d1f82f55e40add9.jpg","text":"TemporaryFile(/tmp/multipartBody2973314461533082341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766602757,"filename":"image_15122025_03_30_05_10697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427576","file1":"1399427575","file0":"1399427574","file4":"1399427578","file5":"1399427579","file3":"1399427577"},"map_files_photo_id_array":[{"photo_id":"1399427579","filename":"file5"},{"photo_id":"1399427576","filename":"file2"},{"photo_id":"1399427578","filename":"file4"},{"photo_id":"1399427575","filename":"file1"},{"photo_id":"1399427574","filename":"file0"},{"photo_id":"1399427577","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427576":["hashtag1","hashtag2"]},{"1399427579":["hashtag1","hashtag2"]},{"1399427575":["hashtag1","hashtag2"]},{"1399427578":["hashtag1","hashtag2"]},{"1399427574":["hashtag1","hashtag2"]},{"1399427577":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427576, 1399427579, 1399427575, 1399427578, 1399427574, 1399427577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17553377151489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 03:43:02.923633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/30/image_15122025_03_30_34_10628.jpg', '/home/pi/Desktop/images/15122025/03/30/image_15122025_03_30_44_9628.jpg', '/home/pi/Desktop/images/15122025/03/30/image_15122025_03_30_54_9613.jpg', '/home/pi/Desktop/images/15122025/03/30/image_15122025_03_31_04_10653.jpg', '/home/pi/Desktop/images/15122025/03/31/image_15122025_03_31_14_9741.jpg', '/home/pi/Desktop/images/15122025/03/31/image_15122025_03_31_24_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/30/image_15122025_03_30_34_10628.jpg
/home/pi/Desktop/images/15122025/03/30/image_15122025_03_30_44_9628.jpg
/home/pi/Desktop/images/15122025/03/30/image_15122025_03_30_54_9613.jpg
/home/pi/Desktop/images/15122025/03/30/image_15122025_03_31_04_10653.jpg
/home/pi/Desktop/images/15122025/03/31/image_15122025_03_31_14_9741.jpg
/home/pi/Desktop/images/15122025/03/31/image_15122025_03_31_24_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":["1399427582","1399427585","1399427581","1399427584","1399427583","1399427580"],"photo_ids_order":["1399427580","1399427581","1399427582","1399427583","1399427584","1399427585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7055630338931221c9e0956c30c358f2.jpg","text":"TemporaryFile(/tmp/multipartBody1336595444355907484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766643572,"filename":"image_15122025_03_30_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/15/fc7fc4edd82a74784703d8ac764325b6.jpg","text":"TemporaryFile(/tmp/multipartBody6133916979881116997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766643572,"filename":"image_15122025_03_31_24_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4676c99d6d694d15ae099c3cf59ced5e.jpg","text":"TemporaryFile(/tmp/multipartBody4749569012847386146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766643572,"filename":"image_15122025_03_30_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/15/9b44771b2d656c1544e0dc3c064fcd10.jpg","text":"TemporaryFile(/tmp/multipartBody7380557977358557184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766643572,"filename":"image_15122025_03_31_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/15/343783b437ad868efb748be0b9df602e.jpg","text":"TemporaryFile(/tmp/multipartBody5608867832058846994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766643572,"filename":"image_15122025_03_31_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/15/d89c6a1b0949950fc1ee74a6c0d6e252.jpg","text":"TemporaryFile(/tmp/multipartBody539685249651984043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766643572,"filename":"image_15122025_03_30_34_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427582","file1":"1399427581","file0":"1399427580","file4":"1399427584","file5":"1399427585","file3":"1399427583"},"map_files_photo_id_array":[{"photo_id":"1399427585","filename":"file5"},{"photo_id":"1399427582","filename":"file2"},{"photo_id":"1399427584","filename":"file4"},{"photo_id":"1399427581","filename":"file1"},{"photo_id":"1399427580","filename":"file0"},{"photo_id":"1399427583","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427582":["hashtag1","hashtag2"]},{"1399427585":["hashtag1","hashtag2"]},{"1399427581":["hashtag1","hashtag2"]},{"1399427584":["hashtag1","hashtag2"]},{"1399427583":["hashtag1","hashtag2"]},{"1399427580":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427582, 1399427585, 1399427581, 1399427584, 1399427583, 1399427580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4559326171875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 03:43:42.254008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_04_1684.jpg', '/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_05_1703.jpg', '/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_07_1648.jpg', '/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_09_1649.jpg', '/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_10_1649.jpg', '/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_12_1661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_04_1684.jpg
/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_05_1703.jpg
/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_07_1648.jpg
/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_09_1649.jpg
/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_10_1649.jpg
/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_12_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":["1399427591","1399427590","1399427587","1399427586","1399427589","1399427588"],"photo_ids_order":["1399427586","1399427587","1399427588","1399427589","1399427590","1399427591"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9960977ee42cb0293cd1d6ab7b760499.jpg","text":"TemporaryFile(/tmp/multipartBody9095303966948409102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766682967,"filename":"image_05112025_12_59_12_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/15/0fd98c568af9a05bff545b2785d5ef87.jpg","text":"TemporaryFile(/tmp/multipartBody7157686506399141086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766682967,"filename":"image_05112025_12_59_10_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/15/aed0f2aa3a8ad98085ce2d45409390b8.jpg","text":"TemporaryFile(/tmp/multipartBody8207183430017803780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766682967,"filename":"image_05112025_12_59_05_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/15/da9b78b3d22e7600b8720b0096ce0a72.jpg","text":"TemporaryFile(/tmp/multipartBody7559748837481311131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766682967,"filename":"image_05112025_12_59_04_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/15/ecc741370c694ab696f1611ada5647d8.jpg","text":"TemporaryFile(/tmp/multipartBody6867812723355680114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766682967,"filename":"image_05112025_12_59_09_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/15/1f6b88bdf16b8e04630dcdc63ab6d130.jpg","text":"TemporaryFile(/tmp/multipartBody8085414700714633058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766682967,"filename":"image_05112025_12_59_07_1648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427588","file1":"1399427587","file0":"1399427586","file4":"1399427590","file5":"1399427591","file3":"1399427589"},"map_files_photo_id_array":[{"photo_id":"1399427591","filename":"file5"},{"photo_id":"1399427588","filename":"file2"},{"photo_id":"1399427590","filename":"file4"},{"photo_id":"1399427587","filename":"file1"},{"photo_id":"1399427586","filename":"file0"},{"photo_id":"1399427589","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399427591":["hashtag1","hashtag2"]},{"1399427590":["hashtag1","hashtag2"]},{"1399427587":["hashtag1","hashtag2"]},{"1399427586":["hashtag1","hashtag2"]},{"1399427589":["hashtag1","hashtag2"]},{"1399427588":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399427591, 1399427590, 1399427587, 1399427586, 1399427589, 1399427588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95232844352722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 03:44:22.506551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/31/image_15122025_03_31_35_10644.jpg', '/home/pi/Desktop/images/15122025/03/31/image_15122025_03_31_44_9624.jpg', '/home/pi/Desktop/images/15122025/03/31/image_15122025_03_31_54_9644.jpg', '/home/pi/Desktop/images/15122025/03/31/image_15122025_03_32_05_10784.jpg', '/home/pi/Desktop/images/15122025/03/32/image_15122025_03_32_14_9694.jpg', '/home/pi/Desktop/images/15122025/03/32/image_15122025_03_32_24_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/31/image_15122025_03_31_35_10644.jpg
/home/pi/Desktop/images/15122025/03/31/image_15122025_03_31_44_9624.jpg
/home/pi/Desktop/images/15122025/03/31/image_15122025_03_31_54_9644.jpg
/home/pi/Desktop/images/15122025/03/31/image_15122025_03_32_05_10784.jpg
/home/pi/Desktop/images/15122025/03/32/image_15122025_03_32_14_9694.jpg
/home/pi/Desktop/images/15122025/03/32/image_15122025_03_32_24_9600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427597","1399427593","1399427596","1399427598","1399427602","1399427594"],"photo_ids_order":["1399427593","1399427594","1399427596","1399427597","1399427598","1399427602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5cfa79dc52bf4e0a0e4ffa3b724a3931.jpg","text":"TemporaryFile(/tmp/multipartBody4199170975974437541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766723125,"filename":"image_15122025_03_32_05_10784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5beaf615cdbff5e5b11b78568079deeb.jpg","text":"TemporaryFile(/tmp/multipartBody8544699960234519297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766723125,"filename":"image_15122025_03_31_35_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/264a1ddadf9e532ca472a25048b6d6ab.jpg","text":"TemporaryFile(/tmp/multipartBody1539624417099505934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766723125,"filename":"image_15122025_03_31_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/15/43b43a5981cab17fe8802dfa6662255d.jpg","text":"TemporaryFile(/tmp/multipartBody7858378417378911629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766723125,"filename":"image_15122025_03_32_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/15/1fbeae96a459537dcec02d88ccb9190e.jpg","text":"TemporaryFile(/tmp/multipartBody4716836251311854808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766723125,"filename":"image_15122025_03_32_24_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ca9bff0ec5bada2d6c19d6881d0cb364.jpg","text":"TemporaryFile(/tmp/multipartBody2245425143763534835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766723125,"filename":"image_15122025_03_31_44_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427596","file1":"1399427594","file0":"1399427593","file4":"1399427598","file5":"1399427602","file3":"1399427597"},"map_files_photo_id_array":[{"photo_id":"1399427602","filename":"file5"},{"photo_id":"1399427596","filename":"file2"},{"photo_id":"1399427598","filename":"file4"},{"photo_id":"1399427594","filename":"file1"},{"photo_id":"1399427593","filename":"file0"},{"photo_id":"1399427597","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427597":["hashtag1","hashtag2"]},{"1399427593":["hashtag1","hashtag2"]},{"1399427596":["hashtag1","hashtag2"]},{"1399427598":["hashtag1","hashtag2"]},{"1399427602":["hashtag1","hashtag2"]},{"1399427594":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427597, 1399427593, 1399427596, 1399427598, 1399427602, 1399427594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38267803192139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 03:45:03.399419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/32/image_15122025_03_32_35_10731.jpg', '/home/pi/Desktop/images/15122025/03/32/image_15122025_03_32_44_9681.jpg', '/home/pi/Desktop/images/15122025/03/32/image_15122025_03_32_54_9696.jpg', '/home/pi/Desktop/images/15122025/03/32/image_15122025_03_33_05_10564.jpg', '/home/pi/Desktop/images/15122025/03/33/image_15122025_03_33_14_9884.jpg', '/home/pi/Desktop/images/15122025/03/33/image_15122025_03_33_24_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/32/image_15122025_03_32_35_10731.jpg
/home/pi/Desktop/images/15122025/03/32/image_15122025_03_32_44_9681.jpg
/home/pi/Desktop/images/15122025/03/32/image_15122025_03_32_54_9696.jpg
/home/pi/Desktop/images/15122025/03/32/image_15122025_03_33_05_10564.jpg
/home/pi/Desktop/images/15122025/03/33/image_15122025_03_33_14_9884.jpg
/home/pi/Desktop/images/15122025/03/33/image_15122025_03_33_24_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":["1399427607","1399427609","1399427606","1399427611","1399427608","1399427610"],"photo_ids_order":["1399427606","1399427607","1399427608","1399427609","1399427610","1399427611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4dcfafbb34123aa7bec11e7602f511cb.jpg","text":"TemporaryFile(/tmp/multipartBody8421924751005974858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766764075,"filename":"image_15122025_03_32_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/15/9ffb3afe076c61a8ba7e20b426e854d7.jpg","text":"TemporaryFile(/tmp/multipartBody97722647194873138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766764075,"filename":"image_15122025_03_33_05_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/15/921e8bc07ea398e9ea70b7878316cd8b.jpg","text":"TemporaryFile(/tmp/multipartBody3721604118949512145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766764075,"filename":"image_15122025_03_32_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/15/e699c57c087dfc3598e5eef9f79a7a9c.jpg","text":"TemporaryFile(/tmp/multipartBody1492843876790308004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766764075,"filename":"image_15122025_03_33_24_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6fcb3b2c2379183069cc89106bfbd291.jpg","text":"TemporaryFile(/tmp/multipartBody7064664818708404266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766764075,"filename":"image_15122025_03_32_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/15/2d5bf0d5a49e7e83d4af33be03d78ef9.jpg","text":"TemporaryFile(/tmp/multipartBody2474142990365760892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766764075,"filename":"image_15122025_03_33_14_9884.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427608","file1":"1399427607","file0":"1399427606","file4":"1399427610","file5":"1399427611","file3":"1399427609"},"map_files_photo_id_array":[{"photo_id":"1399427611","filename":"file5"},{"photo_id":"1399427608","filename":"file2"},{"photo_id":"1399427610","filename":"file4"},{"photo_id":"1399427607","filename":"file1"},{"photo_id":"1399427606","filename":"file0"},{"photo_id":"1399427609","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427607":["hashtag1","hashtag2"]},{"1399427609":["hashtag1","hashtag2"]},{"1399427606":["hashtag1","hashtag2"]},{"1399427611":["hashtag1","hashtag2"]},{"1399427608":["hashtag1","hashtag2"]},{"1399427610":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427607, 1399427609, 1399427606, 1399427611, 1399427608, 1399427610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.692349433898926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 03:45:42.696958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_14_1690.jpg', '/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_15_1519.jpg', '/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_17_1767.jpg', '/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_19_1630.jpg', '/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_20_1714.jpg', '/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_29_8472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_14_1690.jpg
/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_15_1519.jpg
/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_17_1767.jpg
/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_19_1630.jpg
/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_20_1714.jpg
/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_29_8472.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427613","1399427612","1399427615","1399427617","1399427614","1399427616"],"photo_ids_order":["1399427612","1399427613","1399427614","1399427615","1399427616","1399427617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4be8be2b1894f4a94d079555e1ce4cc2.jpg","text":"TemporaryFile(/tmp/multipartBody8718449490299500491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766803405,"filename":"image_05112025_12_59_15_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/15/4f5f5e5ed3d3cfcdaaf240f168937d14.jpg","text":"TemporaryFile(/tmp/multipartBody3938360689631420658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766803405,"filename":"image_05112025_12_59_14_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/15/898034674cd62786c2a193a34e754e57.jpg","text":"TemporaryFile(/tmp/multipartBody1917471664606788559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766803405,"filename":"image_05112025_12_59_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/15/3f0cbbc722b2a7e47f18fe6a840ec87d.jpg","text":"TemporaryFile(/tmp/multipartBody5760485984044900587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766803405,"filename":"image_05112025_12_59_29_8472.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0fa9d8f2255abb5837d4bbed5190c4c5.jpg","text":"TemporaryFile(/tmp/multipartBody6371807536469039701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766803405,"filename":"image_05112025_12_59_17_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/15/ec742c7882d009c63e64aae166ccfb78.jpg","text":"TemporaryFile(/tmp/multipartBody3296857130209275517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766803405,"filename":"image_05112025_12_59_20_1714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427614","file1":"1399427613","file0":"1399427612","file4":"1399427616","file5":"1399427617","file3":"1399427615"},"map_files_photo_id_array":[{"photo_id":"1399427617","filename":"file5"},{"photo_id":"1399427614","filename":"file2"},{"photo_id":"1399427616","filename":"file4"},{"photo_id":"1399427613","filename":"file1"},{"photo_id":"1399427612","filename":"file0"},{"photo_id":"1399427615","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399427613":["hashtag1","hashtag2"]},{"1399427612":["hashtag1","hashtag2"]},{"1399427615":["hashtag1","hashtag2"]},{"1399427617":["hashtag1","hashtag2"]},{"1399427614":["hashtag1","hashtag2"]},{"1399427616":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399427613, 1399427612, 1399427615, 1399427617, 1399427614, 1399427616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.640235900878906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 03:46:21.969282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/33/image_15122025_03_33_35_10641.jpg', '/home/pi/Desktop/images/15122025/03/33/image_15122025_03_33_44_9752.jpg', '/home/pi/Desktop/images/15122025/03/33/image_15122025_03_33_54_9789.jpg', '/home/pi/Desktop/images/15122025/03/33/image_15122025_03_34_04_9607.jpg', '/home/pi/Desktop/images/15122025/03/34/image_15122025_03_34_14_10669.jpg', '/home/pi/Desktop/images/15122025/03/34/image_15122025_03_34_24_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/33/image_15122025_03_33_35_10641.jpg
/home/pi/Desktop/images/15122025/03/33/image_15122025_03_33_44_9752.jpg
/home/pi/Desktop/images/15122025/03/33/image_15122025_03_33_54_9789.jpg
/home/pi/Desktop/images/15122025/03/33/image_15122025_03_34_04_9607.jpg
/home/pi/Desktop/images/15122025/03/34/image_15122025_03_34_14_10669.jpg
/home/pi/Desktop/images/15122025/03/34/image_15122025_03_34_24_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":["1399427621","1399427618","1399427623","1399427620","1399427622","1399427619"],"photo_ids_order":["1399427618","1399427619","1399427620","1399427621","1399427622","1399427623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/88f8e854de52fe19fa1a815b1ff86e71.jpg","text":"TemporaryFile(/tmp/multipartBody5303504073715163537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766842594,"filename":"image_15122025_03_34_04_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/da61139f1866ff1f5d8c74f0a756a87d.jpg","text":"TemporaryFile(/tmp/multipartBody1248386496320232869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766842594,"filename":"image_15122025_03_33_35_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8ae4142b218fedd804dfe9ae4ab0406e.jpg","text":"TemporaryFile(/tmp/multipartBody2447009830613020900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766842594,"filename":"image_15122025_03_34_24_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0db84f50e5b8cb7f8fd9f74da03a219a.jpg","text":"TemporaryFile(/tmp/multipartBody1533211530316734902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766842594,"filename":"image_15122025_03_33_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/15/a872167b609c9afcae79fa7881a75c66.jpg","text":"TemporaryFile(/tmp/multipartBody4233188887311562027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766842594,"filename":"image_15122025_03_34_14_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cc4311bd1b9dbce171117f73cee6fb77.jpg","text":"TemporaryFile(/tmp/multipartBody8022367590874037551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766842594,"filename":"image_15122025_03_33_44_9752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427620","file1":"1399427619","file0":"1399427618","file4":"1399427622","file5":"1399427623","file3":"1399427621"},"map_files_photo_id_array":[{"photo_id":"1399427623","filename":"file5"},{"photo_id":"1399427620","filename":"file2"},{"photo_id":"1399427622","filename":"file4"},{"photo_id":"1399427619","filename":"file1"},{"photo_id":"1399427618","filename":"file0"},{"photo_id":"1399427621","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427621":["hashtag1","hashtag2"]},{"1399427618":["hashtag1","hashtag2"]},{"1399427623":["hashtag1","hashtag2"]},{"1399427620":["hashtag1","hashtag2"]},{"1399427622":["hashtag1","hashtag2"]},{"1399427619":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427621, 1399427618, 1399427623, 1399427620, 1399427622, 1399427619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9440860748291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 03:47:02.820439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/34/image_15122025_03_34_34_9794.jpg', '/home/pi/Desktop/images/15122025/03/34/image_15122025_03_34_45_10631.jpg', '/home/pi/Desktop/images/15122025/03/34/image_15122025_03_34_54_9735.jpg', '/home/pi/Desktop/images/15122025/03/34/image_15122025_03_35_04_9668.jpg', '/home/pi/Desktop/images/15122025/03/35/image_15122025_03_35_15_10667.jpg', '/home/pi/Desktop/images/15122025/03/35/image_15122025_03_35_24_9582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/34/image_15122025_03_34_34_9794.jpg
/home/pi/Desktop/images/15122025/03/34/image_15122025_03_34_45_10631.jpg
/home/pi/Desktop/images/15122025/03/34/image_15122025_03_34_54_9735.jpg
/home/pi/Desktop/images/15122025/03/34/image_15122025_03_35_04_9668.jpg
/home/pi/Desktop/images/15122025/03/35/image_15122025_03_35_15_10667.jpg
/home/pi/Desktop/images/15122025/03/35/image_15122025_03_35_24_9582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427627","1399427624","1399427626","1399427629","1399427628","1399427625"],"photo_ids_order":["1399427624","1399427625","1399427626","1399427627","1399427628","1399427629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b9177ec5089454a701264e27408249e9.jpg","text":"TemporaryFile(/tmp/multipartBody5932233631264482238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766883490,"filename":"image_15122025_03_35_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/15/c064121bd0fd8015f2d78482564c45de.jpg","text":"TemporaryFile(/tmp/multipartBody2262712353167227050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766883490,"filename":"image_15122025_03_34_34_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a7e50e5c4e55f56c5e71faa3da885aff.jpg","text":"TemporaryFile(/tmp/multipartBody6070015570265512811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766883490,"filename":"image_15122025_03_34_54_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7497b920a684c47db79a31c15dbe007a.jpg","text":"TemporaryFile(/tmp/multipartBody5380100845165261194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766883490,"filename":"image_15122025_03_35_24_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/13fb8926bfaf665c2d677ffed5fe3788.jpg","text":"TemporaryFile(/tmp/multipartBody3719972003351038187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766883490,"filename":"image_15122025_03_35_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/15/1ea0a5e00ce58d6b8b733a059a05c923.jpg","text":"TemporaryFile(/tmp/multipartBody8658415639880512219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766883490,"filename":"image_15122025_03_34_45_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427626","file1":"1399427625","file0":"1399427624","file4":"1399427628","file5":"1399427629","file3":"1399427627"},"map_files_photo_id_array":[{"photo_id":"1399427629","filename":"file5"},{"photo_id":"1399427626","filename":"file2"},{"photo_id":"1399427628","filename":"file4"},{"photo_id":"1399427625","filename":"file1"},{"photo_id":"1399427624","filename":"file0"},{"photo_id":"1399427627","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427627":["hashtag1","hashtag2"]},{"1399427624":["hashtag1","hashtag2"]},{"1399427626":["hashtag1","hashtag2"]},{"1399427629":["hashtag1","hashtag2"]},{"1399427628":["hashtag1","hashtag2"]},{"1399427625":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427627, 1399427624, 1399427626, 1399427629, 1399427628, 1399427625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07748007774353 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 03:47:42.191575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_30_1607.jpg', '/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_32_1572.jpg', '/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_34_1792.jpg', '/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_37_3121.jpg', '/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_38_1513.jpg', '/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_50_11955.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_30_1607.jpg
/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_32_1572.jpg
/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_34_1792.jpg
/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_37_3121.jpg
/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_38_1513.jpg
/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_50_11955.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427630","1399427633","1399427636","1399427635","1399427634","1399427637"],"photo_ids_order":["1399427630","1399427633","1399427634","1399427635","1399427636","1399427637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4817b1bc0ff8e312c5510659f7880538.jpg","text":"TemporaryFile(/tmp/multipartBody7485473333754425537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766922895,"filename":"image_05112025_12_59_30_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/15/3a1457a6c87ae521f56ae704b0e79a8c.jpg","text":"TemporaryFile(/tmp/multipartBody9024631760614039202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766922895,"filename":"image_05112025_12_59_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/15/072bfe3dec002fd539cb3d40b0e953d0.jpg","text":"TemporaryFile(/tmp/multipartBody6630639477669088869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766922895,"filename":"image_05112025_12_59_38_1513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6a9151e66e6aaa6b90d097fdf85b1bfd.jpg","text":"TemporaryFile(/tmp/multipartBody3985816716886880174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766922895,"filename":"image_05112025_12_59_37_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/15/c46b90a9f12dd99febcce83c81382d42.jpg","text":"TemporaryFile(/tmp/multipartBody9172764065980229446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766922895,"filename":"image_05112025_12_59_34_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/15/3439914536e88864b951b7ac3bd9ec07.jpg","text":"TemporaryFile(/tmp/multipartBody1669873410998927131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766922895,"filename":"image_05112025_12_59_50_11955.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427634","file1":"1399427633","file0":"1399427630","file4":"1399427636","file5":"1399427637","file3":"1399427635"},"map_files_photo_id_array":[{"photo_id":"1399427637","filename":"file5"},{"photo_id":"1399427634","filename":"file2"},{"photo_id":"1399427636","filename":"file4"},{"photo_id":"1399427633","filename":"file1"},{"photo_id":"1399427630","filename":"file0"},{"photo_id":"1399427635","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399427630":["hashtag1","hashtag2"]},{"1399427633":["hashtag1","hashtag2"]},{"1399427636":["hashtag1","hashtag2"]},{"1399427635":["hashtag1","hashtag2"]},{"1399427634":["hashtag1","hashtag2"]},{"1399427637":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399427630, 1399427633, 1399427636, 1399427635, 1399427634, 1399427637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.969438791275024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 03:48:22.531478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/35/image_15122025_03_35_34_9651.jpg', '/home/pi/Desktop/images/15122025/03/35/image_15122025_03_35_44_10628.jpg', '/home/pi/Desktop/images/15122025/03/35/image_15122025_03_35_54_9721.jpg', '/home/pi/Desktop/images/15122025/03/35/image_15122025_03_36_04_9709.jpg', '/home/pi/Desktop/images/15122025/03/36/image_15122025_03_36_15_10805.jpg', '/home/pi/Desktop/images/15122025/03/36/image_15122025_03_36_24_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/35/image_15122025_03_35_34_9651.jpg
/home/pi/Desktop/images/15122025/03/35/image_15122025_03_35_44_10628.jpg
/home/pi/Desktop/images/15122025/03/35/image_15122025_03_35_54_9721.jpg
/home/pi/Desktop/images/15122025/03/35/image_15122025_03_36_04_9709.jpg
/home/pi/Desktop/images/15122025/03/36/image_15122025_03_36_15_10805.jpg
/home/pi/Desktop/images/15122025/03/36/image_15122025_03_36_24_9762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427639","1399427642","1399427641","1399427638","1399427640","1399427643"],"photo_ids_order":["1399427638","1399427639","1399427640","1399427641","1399427642","1399427643"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5901fc89eb95b78d95f82447031ee473.jpg","text":"TemporaryFile(/tmp/multipartBody7415624455955772717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766963159,"filename":"image_15122025_03_35_44_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/15/5feedb6ebd55e0d90d41c766e726b6e3.jpg","text":"TemporaryFile(/tmp/multipartBody5853370227369646484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766963159,"filename":"image_15122025_03_36_15_10805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e667784788ddbf2c996e5e61ee9279d3.jpg","text":"TemporaryFile(/tmp/multipartBody7867931231448879055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766963159,"filename":"image_15122025_03_36_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/15/d8c4219670192a85117a61d6fc44502e.jpg","text":"TemporaryFile(/tmp/multipartBody5266041601235230496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766963159,"filename":"image_15122025_03_35_34_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c03eaa6af43bc5b60f006488feec8428.jpg","text":"TemporaryFile(/tmp/multipartBody662618943722324203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766963159,"filename":"image_15122025_03_35_54_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ccb7017235540e8eca17590d38309ad3.jpg","text":"TemporaryFile(/tmp/multipartBody4250298408579123277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765766963159,"filename":"image_15122025_03_36_24_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427640","file1":"1399427639","file0":"1399427638","file4":"1399427642","file5":"1399427643","file3":"1399427641"},"map_files_photo_id_array":[{"photo_id":"1399427643","filename":"file5"},{"photo_id":"1399427640","filename":"file2"},{"photo_id":"1399427642","filename":"file4"},{"photo_id":"1399427639","filename":"file1"},{"photo_id":"1399427638","filename":"file0"},{"photo_id":"1399427641","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427639":["hashtag1","hashtag2"]},{"1399427642":["hashtag1","hashtag2"]},{"1399427641":["hashtag1","hashtag2"]},{"1399427638":["hashtag1","hashtag2"]},{"1399427640":["hashtag1","hashtag2"]},{"1399427643":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427639, 1399427642, 1399427641, 1399427638, 1399427640, 1399427643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65778946876526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 03:49:03.611737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/36/image_15122025_03_36_34_9674.jpg', '/home/pi/Desktop/images/15122025/03/36/image_15122025_03_36_44_10029.jpg', '/home/pi/Desktop/images/15122025/03/36/image_15122025_03_37_04_9829.jpg', '/home/pi/Desktop/images/15122025/03/37/image_15122025_03_37_15_10814.jpg', '/home/pi/Desktop/images/15122025/03/37/image_15122025_03_37_24_9922.jpg', '/home/pi/Desktop/images/15122025/03/37/image_15122025_03_37_44_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/36/image_15122025_03_36_34_9674.jpg
/home/pi/Desktop/images/15122025/03/36/image_15122025_03_36_44_10029.jpg
/home/pi/Desktop/images/15122025/03/36/image_15122025_03_37_04_9829.jpg
/home/pi/Desktop/images/15122025/03/37/image_15122025_03_37_15_10814.jpg
/home/pi/Desktop/images/15122025/03/37/image_15122025_03_37_24_9922.jpg
/home/pi/Desktop/images/15122025/03/37/image_15122025_03_37_44_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":["1399427645","1399427648","1399427644","1399427647","1399427646","1399427649"],"photo_ids_order":["1399427644","1399427645","1399427646","1399427647","1399427648","1399427649"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7789db2a7c69ba10d5beed877bb5f58f.jpg","text":"TemporaryFile(/tmp/multipartBody1854334766114850077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767004342,"filename":"image_15122025_03_36_44_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/15/4629635235d6f15d4dbb3efbffa8305a.jpg","text":"TemporaryFile(/tmp/multipartBody9106862794593316784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767004342,"filename":"image_15122025_03_37_24_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/15/dc3a69ad28048cfa5b09218ccb3ca2a7.jpg","text":"TemporaryFile(/tmp/multipartBody1913335968054208231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767004342,"filename":"image_15122025_03_36_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/15/b2d7704acb00915003eaaebff3f5ca81.jpg","text":"TemporaryFile(/tmp/multipartBody4550844607116733749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767004342,"filename":"image_15122025_03_37_15_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/15/fac443cb8cb9def0be81342d7056c46f.jpg","text":"TemporaryFile(/tmp/multipartBody6142686282731448700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767004342,"filename":"image_15122025_03_37_04_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/edb799a0881c63e90044e7c0c52512eb.jpg","text":"TemporaryFile(/tmp/multipartBody8232934925851599420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767004342,"filename":"image_15122025_03_37_44_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427646","file1":"1399427645","file0":"1399427644","file4":"1399427648","file5":"1399427649","file3":"1399427647"},"map_files_photo_id_array":[{"photo_id":"1399427649","filename":"file5"},{"photo_id":"1399427646","filename":"file2"},{"photo_id":"1399427648","filename":"file4"},{"photo_id":"1399427645","filename":"file1"},{"photo_id":"1399427644","filename":"file0"},{"photo_id":"1399427647","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427645":["hashtag1","hashtag2"]},{"1399427648":["hashtag1","hashtag2"]},{"1399427644":["hashtag1","hashtag2"]},{"1399427647":["hashtag1","hashtag2"]},{"1399427646":["hashtag1","hashtag2"]},{"1399427649":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427645, 1399427648, 1399427644, 1399427647, 1399427646, 1399427649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94443917274475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 03:49:42.674894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_52_1994.jpg', '/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_07_3013.jpg', '/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_11_3680.jpg', '/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_13_2679.jpg', '/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_21_7492.jpg', '/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_23_1645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/12/59/image_05112025_12_59_52_1994.jpg
/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_07_3013.jpg
/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_11_3680.jpg
/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_13_2679.jpg
/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_21_7492.jpg
/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_23_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":["1399427651","1399427654","1399427653","1399427650","1399427652","1399427655"],"photo_ids_order":["1399427650","1399427651","1399427652","1399427653","1399427654","1399427655"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0d41a7309b69a0edb3646e40bc4459db.jpg","text":"TemporaryFile(/tmp/multipartBody464338665743836255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767043386,"filename":"image_05112025_13_01_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/15/d52934ab2b14ca6732f1d5b4be0b2939.jpg","text":"TemporaryFile(/tmp/multipartBody6608074293120214511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767043386,"filename":"image_05112025_13_01_21_7492.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a3ff428bc0028f8358af51f432aee427.jpg","text":"TemporaryFile(/tmp/multipartBody6407408767191368599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767043386,"filename":"image_05112025_13_01_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/15/b37f6ed4ff5d8283988ec40b330dad75.jpg","text":"TemporaryFile(/tmp/multipartBody3639159728494814721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767043386,"filename":"image_05112025_12_59_52_1994.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/df604dca4daa300f062fc2b887387bdd.jpg","text":"TemporaryFile(/tmp/multipartBody7141303218800026715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767043386,"filename":"image_05112025_13_01_11_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/15/5170b7420c9bbe3ae79f76e215e5dc65.jpg","text":"TemporaryFile(/tmp/multipartBody3093180384553606880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767043386,"filename":"image_05112025_13_01_23_1645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427652","file1":"1399427651","file0":"1399427650","file4":"1399427654","file5":"1399427655","file3":"1399427653"},"map_files_photo_id_array":[{"photo_id":"1399427655","filename":"file5"},{"photo_id":"1399427652","filename":"file2"},{"photo_id":"1399427654","filename":"file4"},{"photo_id":"1399427651","filename":"file1"},{"photo_id":"1399427650","filename":"file0"},{"photo_id":"1399427653","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399427651":["hashtag1","hashtag2"]},{"1399427654":["hashtag1","hashtag2"]},{"1399427653":["hashtag1","hashtag2"]},{"1399427650":["hashtag1","hashtag2"]},{"1399427652":["hashtag1","hashtag2"]},{"1399427655":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399427651, 1399427654, 1399427653, 1399427650, 1399427652, 1399427655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98445200920105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 03:50:21.952069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/37/image_15122025_03_37_55_10850.jpg', '/home/pi/Desktop/images/15122025/03/37/image_15122025_03_38_04_9577.jpg', '/home/pi/Desktop/images/15122025/03/38/image_15122025_03_38_14_9738.jpg', '/home/pi/Desktop/images/15122025/03/38/image_15122025_03_38_24_9916.jpg', '/home/pi/Desktop/images/15122025/03/38/image_15122025_03_38_35_10766.jpg', '/home/pi/Desktop/images/15122025/03/38/image_15122025_03_38_44_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/37/image_15122025_03_37_55_10850.jpg
/home/pi/Desktop/images/15122025/03/37/image_15122025_03_38_04_9577.jpg
/home/pi/Desktop/images/15122025/03/38/image_15122025_03_38_14_9738.jpg
/home/pi/Desktop/images/15122025/03/38/image_15122025_03_38_24_9916.jpg
/home/pi/Desktop/images/15122025/03/38/image_15122025_03_38_35_10766.jpg
/home/pi/Desktop/images/15122025/03/38/image_15122025_03_38_44_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":["1399427657","1399427660","1399427656","1399427659","1399427661","1399427658"],"photo_ids_order":["1399427656","1399427657","1399427658","1399427659","1399427660","1399427661"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b6d0d8eb6a1e5fa7d665e92d63fb1554.jpg","text":"TemporaryFile(/tmp/multipartBody434000454370496163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767082618,"filename":"image_15122025_03_38_04_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/44e11f9832df3c6e8df4fc500aebdc4e.jpg","text":"TemporaryFile(/tmp/multipartBody6553913407397972065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767082618,"filename":"image_15122025_03_38_35_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/15/161a996ec4ade231c53a42cd7509c795.jpg","text":"TemporaryFile(/tmp/multipartBody2724556350438704789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767082618,"filename":"image_15122025_03_37_55_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/15/c031d7968d1a83e53cbe2947df1556a5.jpg","text":"TemporaryFile(/tmp/multipartBody8066026910840615467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767082618,"filename":"image_15122025_03_38_24_9916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/00b5dc1de68f2ef39e6de08e4119b612.jpg","text":"TemporaryFile(/tmp/multipartBody2400451183044376434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767082618,"filename":"image_15122025_03_38_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/15/a2783b7e9b83689aed236d96114cce1a.jpg","text":"TemporaryFile(/tmp/multipartBody4091898788725039400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767082618,"filename":"image_15122025_03_38_14_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427658","file1":"1399427657","file0":"1399427656","file4":"1399427660","file5":"1399427661","file3":"1399427659"},"map_files_photo_id_array":[{"photo_id":"1399427661","filename":"file5"},{"photo_id":"1399427658","filename":"file2"},{"photo_id":"1399427660","filename":"file4"},{"photo_id":"1399427657","filename":"file1"},{"photo_id":"1399427656","filename":"file0"},{"photo_id":"1399427659","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427657":["hashtag1","hashtag2"]},{"1399427660":["hashtag1","hashtag2"]},{"1399427656":["hashtag1","hashtag2"]},{"1399427659":["hashtag1","hashtag2"]},{"1399427661":["hashtag1","hashtag2"]},{"1399427658":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427657, 1399427660, 1399427656, 1399427659, 1399427661, 1399427658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.241626024246216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 03:51:02.867020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/38/image_15122025_03_38_54_9759.jpg', '/home/pi/Desktop/images/15122025/03/39/image_15122025_03_39_15_10783.jpg', '/home/pi/Desktop/images/15122025/03/39/image_15122025_03_39_25_9842.jpg', '/home/pi/Desktop/images/15122025/03/39/image_15122025_03_39_34_9666.jpg', '/home/pi/Desktop/images/15122025/03/39/image_15122025_03_39_44_9636.jpg', '/home/pi/Desktop/images/15122025/03/39/image_15122025_03_39_55_10765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/38/image_15122025_03_38_54_9759.jpg
/home/pi/Desktop/images/15122025/03/39/image_15122025_03_39_15_10783.jpg
/home/pi/Desktop/images/15122025/03/39/image_15122025_03_39_25_9842.jpg
/home/pi/Desktop/images/15122025/03/39/image_15122025_03_39_34_9666.jpg
/home/pi/Desktop/images/15122025/03/39/image_15122025_03_39_44_9636.jpg
/home/pi/Desktop/images/15122025/03/39/image_15122025_03_39_55_10765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427663","1399427666","1399427668","1399427665","1399427664","1399427667"],"photo_ids_order":["1399427663","1399427664","1399427665","1399427666","1399427667","1399427668"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/622aaa082195ad8f7591eb1ce61c38b6.jpg","text":"TemporaryFile(/tmp/multipartBody6321600387887206447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767123590,"filename":"image_15122025_03_38_54_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/75a622ec5ee2ade85e9f77727e982904.jpg","text":"TemporaryFile(/tmp/multipartBody1122522221659720389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767123590,"filename":"image_15122025_03_39_34_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f6d1504865d02eaca418567941591a8d.jpg","text":"TemporaryFile(/tmp/multipartBody3056911331045905718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767123590,"filename":"image_15122025_03_39_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/15/540313b1a729f091850a101695b91e3e.jpg","text":"TemporaryFile(/tmp/multipartBody6418061874377677246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767123590,"filename":"image_15122025_03_39_25_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a1537ac89e5a56eff47402c8748f9eff.jpg","text":"TemporaryFile(/tmp/multipartBody5200809076770144797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767123590,"filename":"image_15122025_03_39_15_10783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a9afe8aeb14dc2931a87c0c50c5de8ab.jpg","text":"TemporaryFile(/tmp/multipartBody4070126232937107756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767123590,"filename":"image_15122025_03_39_44_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427665","file1":"1399427664","file0":"1399427663","file4":"1399427667","file5":"1399427668","file3":"1399427666"},"map_files_photo_id_array":[{"photo_id":"1399427668","filename":"file5"},{"photo_id":"1399427665","filename":"file2"},{"photo_id":"1399427667","filename":"file4"},{"photo_id":"1399427664","filename":"file1"},{"photo_id":"1399427663","filename":"file0"},{"photo_id":"1399427666","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427663":["hashtag1","hashtag2"]},{"1399427666":["hashtag1","hashtag2"]},{"1399427668":["hashtag1","hashtag2"]},{"1399427665":["hashtag1","hashtag2"]},{"1399427664":["hashtag1","hashtag2"]},{"1399427667":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427663, 1399427666, 1399427668, 1399427665, 1399427664, 1399427667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74366021156311 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 03:51:42.207657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_24_1569.jpg', '/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_26_1761.jpg', '/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_29_2589.jpg', '/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_31_2668.jpg', '/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_35_3668.jpg', '/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_38_2729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_24_1569.jpg
/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_26_1761.jpg
/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_29_2589.jpg
/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_31_2668.jpg
/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_35_3668.jpg
/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_38_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":["1399427669","1399427672","1399427671","1399427674","1399427670","1399427673"],"photo_ids_order":["1399427669","1399427670","1399427671","1399427672","1399427673","1399427674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3ea6a635a8c2c321592a3a49c6790031.jpg","text":"TemporaryFile(/tmp/multipartBody3825224517884524126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767162923,"filename":"image_05112025_13_01_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/15/22ac2b717154295430a33ea9d8b7fc1c.jpg","text":"TemporaryFile(/tmp/multipartBody2016517752004378551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767162923,"filename":"image_05112025_13_01_31_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/acc021450dfc7f4bda7570a31a73fa6e.jpg","text":"TemporaryFile(/tmp/multipartBody9148216594525955841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767162923,"filename":"image_05112025_13_01_29_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/73f30342cbc226c20159c8f1bca2dfc9.jpg","text":"TemporaryFile(/tmp/multipartBody8181511858455516830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767162923,"filename":"image_05112025_13_01_38_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/15/2dcd3e8464b0f753db6e784754af4249.jpg","text":"TemporaryFile(/tmp/multipartBody8140371164876958384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767162923,"filename":"image_05112025_13_01_26_1761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/97be53b798f5e22abc43b6e49c6cee1b.jpg","text":"TemporaryFile(/tmp/multipartBody361440784617844298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767162923,"filename":"image_05112025_13_01_35_3668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427671","file1":"1399427670","file0":"1399427669","file4":"1399427673","file5":"1399427674","file3":"1399427672"},"map_files_photo_id_array":[{"photo_id":"1399427674","filename":"file5"},{"photo_id":"1399427671","filename":"file2"},{"photo_id":"1399427673","filename":"file4"},{"photo_id":"1399427670","filename":"file1"},{"photo_id":"1399427669","filename":"file0"},{"photo_id":"1399427672","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399427669":["hashtag1","hashtag2"]},{"1399427672":["hashtag1","hashtag2"]},{"1399427671":["hashtag1","hashtag2"]},{"1399427674":["hashtag1","hashtag2"]},{"1399427670":["hashtag1","hashtag2"]},{"1399427673":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399427669, 1399427672, 1399427671, 1399427674, 1399427670, 1399427673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04840016365051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 03:52:22.481231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/40/image_15122025_03_40_14_9801.jpg', '/home/pi/Desktop/images/15122025/03/40/image_15122025_03_40_25_10615.jpg', '/home/pi/Desktop/images/15122025/03/40/image_15122025_03_40_34_9695.jpg', '/home/pi/Desktop/images/15122025/03/40/image_15122025_03_40_54_9769.jpg', '/home/pi/Desktop/images/15122025/03/40/image_15122025_03_41_04_10659.jpg', '/home/pi/Desktop/images/15122025/03/41/image_15122025_03_41_14_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/40/image_15122025_03_40_14_9801.jpg
/home/pi/Desktop/images/15122025/03/40/image_15122025_03_40_25_10615.jpg
/home/pi/Desktop/images/15122025/03/40/image_15122025_03_40_34_9695.jpg
/home/pi/Desktop/images/15122025/03/40/image_15122025_03_40_54_9769.jpg
/home/pi/Desktop/images/15122025/03/40/image_15122025_03_41_04_10659.jpg
/home/pi/Desktop/images/15122025/03/41/image_15122025_03_41_14_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":["1399427675","1399427678","1399427680","1399427677","1399427679","1399427676"],"photo_ids_order":["1399427675","1399427676","1399427677","1399427678","1399427679","1399427680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c290b0c1329f201dc90a4146581c6e60.jpg","text":"TemporaryFile(/tmp/multipartBody828991302962370064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767203105,"filename":"image_15122025_03_40_14_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/46fa962f5903fbc46a02c076d2563f66.jpg","text":"TemporaryFile(/tmp/multipartBody5356561792702911177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767203105,"filename":"image_15122025_03_40_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/15/54edfb7049c0042512a1f89e571a72b1.jpg","text":"TemporaryFile(/tmp/multipartBody4349024640102479853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767203105,"filename":"image_15122025_03_41_14_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/15/3e73c33e2cc53b90625eaad0bcc36f0e.jpg","text":"TemporaryFile(/tmp/multipartBody5823105441929257070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767203105,"filename":"image_15122025_03_40_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/15/4cadbc457cd60f6132fbf5804fed6397.jpg","text":"TemporaryFile(/tmp/multipartBody7954255898091944318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767203105,"filename":"image_15122025_03_41_04_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/15/17b9006a412cdf9c3285e8dab73bfecc.jpg","text":"TemporaryFile(/tmp/multipartBody8068139793643615782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767203105,"filename":"image_15122025_03_40_25_10615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427677","file1":"1399427676","file0":"1399427675","file4":"1399427679","file5":"1399427680","file3":"1399427678"},"map_files_photo_id_array":[{"photo_id":"1399427680","filename":"file5"},{"photo_id":"1399427677","filename":"file2"},{"photo_id":"1399427679","filename":"file4"},{"photo_id":"1399427676","filename":"file1"},{"photo_id":"1399427675","filename":"file0"},{"photo_id":"1399427678","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427675":["hashtag1","hashtag2"]},{"1399427678":["hashtag1","hashtag2"]},{"1399427680":["hashtag1","hashtag2"]},{"1399427677":["hashtag1","hashtag2"]},{"1399427679":["hashtag1","hashtag2"]},{"1399427676":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427675, 1399427678, 1399427680, 1399427677, 1399427679, 1399427676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50255608558655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 03:53:03.204517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/41/image_15122025_03_41_24_9787.jpg', '/home/pi/Desktop/images/15122025/03/41/image_15122025_03_41_34_10668.jpg', '/home/pi/Desktop/images/15122025/03/41/image_15122025_03_41_44_9680.jpg', '/home/pi/Desktop/images/15122025/03/41/image_15122025_03_41_54_9661.jpg', '/home/pi/Desktop/images/15122025/03/41/image_15122025_03_42_05_10682.jpg', '/home/pi/Desktop/images/15122025/03/42/image_15122025_03_42_14_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/41/image_15122025_03_41_24_9787.jpg
/home/pi/Desktop/images/15122025/03/41/image_15122025_03_41_34_10668.jpg
/home/pi/Desktop/images/15122025/03/41/image_15122025_03_41_44_9680.jpg
/home/pi/Desktop/images/15122025/03/41/image_15122025_03_41_54_9661.jpg
/home/pi/Desktop/images/15122025/03/41/image_15122025_03_42_05_10682.jpg
/home/pi/Desktop/images/15122025/03/42/image_15122025_03_42_14_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":["1399427681","1399427684","1399427686","1399427683","1399427682","1399427685"],"photo_ids_order":["1399427681","1399427682","1399427683","1399427684","1399427685","1399427686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7f33343199a1b9039b5a32c3a1535cb8.jpg","text":"TemporaryFile(/tmp/multipartBody302981593506759210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767243888,"filename":"image_15122025_03_41_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/15/d1eb938ab9fc799ff68eb3a04ddcf605.jpg","text":"TemporaryFile(/tmp/multipartBody5451755506815935142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767243888,"filename":"image_15122025_03_41_54_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/eace584bdcfaf8275ef8d9520e929ddc.jpg","text":"TemporaryFile(/tmp/multipartBody1875643510666053215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767243888,"filename":"image_15122025_03_42_14_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/499f515058153ae8b34d591a227109c8.jpg","text":"TemporaryFile(/tmp/multipartBody7311934619314277617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767243888,"filename":"image_15122025_03_41_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/15/e5649669d300439e33775d57c4706019.jpg","text":"TemporaryFile(/tmp/multipartBody9111295480526812070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767243888,"filename":"image_15122025_03_41_34_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/15/9021fe3b062f121c42bd936832c87416.jpg","text":"TemporaryFile(/tmp/multipartBody1879557115881771290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767243888,"filename":"image_15122025_03_42_05_10682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427683","file1":"1399427682","file0":"1399427681","file4":"1399427685","file5":"1399427686","file3":"1399427684"},"map_files_photo_id_array":[{"photo_id":"1399427686","filename":"file5"},{"photo_id":"1399427683","filename":"file2"},{"photo_id":"1399427685","filename":"file4"},{"photo_id":"1399427682","filename":"file1"},{"photo_id":"1399427681","filename":"file0"},{"photo_id":"1399427684","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427681":["hashtag1","hashtag2"]},{"1399427684":["hashtag1","hashtag2"]},{"1399427686":["hashtag1","hashtag2"]},{"1399427683":["hashtag1","hashtag2"]},{"1399427682":["hashtag1","hashtag2"]},{"1399427685":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427681, 1399427684, 1399427686, 1399427683, 1399427682, 1399427685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52150845527649 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 03:53:42.752720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_40_2550.jpg', '/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_44_3740.jpg', '/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_47_3083.jpg', '/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_50_2750.jpg', '/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_52_2574.jpg', '/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_56_3704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_40_2550.jpg
/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_44_3740.jpg
/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_47_3083.jpg
/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_50_2750.jpg
/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_52_2574.jpg
/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_56_3704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427690","1399427692","1399427689","1399427691","1399427693","1399427687"],"photo_ids_order":["1399427687","1399427689","1399427690","1399427691","1399427692","1399427693"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/746dea31ccd84d54be7f4eec5d8f1a22.jpg","text":"TemporaryFile(/tmp/multipartBody2260984632567100551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767283502,"filename":"image_05112025_13_01_47_3083.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7a8b6e6424c1319bec2edbf55c823a33.jpg","text":"TemporaryFile(/tmp/multipartBody3242390582115917039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767283502,"filename":"image_05112025_13_01_52_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/15/23fd2f0511407a9a3aad32f45fd8794c.jpg","text":"TemporaryFile(/tmp/multipartBody3878112089923967541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767283502,"filename":"image_05112025_13_01_44_3740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1267fade7f32244389756dbca4be45a4.jpg","text":"TemporaryFile(/tmp/multipartBody7332385758378409197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767283502,"filename":"image_05112025_13_01_50_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/15/716d6ac18b11be3bf916887b16729aab.jpg","text":"TemporaryFile(/tmp/multipartBody2426883280259122448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767283502,"filename":"image_05112025_13_01_56_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/15/942a481db064c3847bf40a0ddd8eabd9.jpg","text":"TemporaryFile(/tmp/multipartBody2857799739095018531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767283502,"filename":"image_05112025_13_01_40_2550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427690","file1":"1399427689","file0":"1399427687","file4":"1399427692","file5":"1399427693","file3":"1399427691"},"map_files_photo_id_array":[{"photo_id":"1399427693","filename":"file5"},{"photo_id":"1399427690","filename":"file2"},{"photo_id":"1399427692","filename":"file4"},{"photo_id":"1399427689","filename":"file1"},{"photo_id":"1399427687","filename":"file0"},{"photo_id":"1399427691","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399427690":["hashtag1","hashtag2"]},{"1399427692":["hashtag1","hashtag2"]},{"1399427689":["hashtag1","hashtag2"]},{"1399427691":["hashtag1","hashtag2"]},{"1399427693":["hashtag1","hashtag2"]},{"1399427687":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399427690, 1399427692, 1399427689, 1399427691, 1399427693, 1399427687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.520031213760376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 03:54:22.005991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/42/image_15122025_03_42_24_9805.jpg', '/home/pi/Desktop/images/15122025/03/42/image_15122025_03_42_35_10615.jpg', '/home/pi/Desktop/images/15122025/03/42/image_15122025_03_42_44_9786.jpg', '/home/pi/Desktop/images/15122025/03/42/image_15122025_03_42_54_9701.jpg', '/home/pi/Desktop/images/15122025/03/42/image_15122025_03_43_04_9615.jpg', '/home/pi/Desktop/images/15122025/03/43/image_15122025_03_43_14_10544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/42/image_15122025_03_42_24_9805.jpg
/home/pi/Desktop/images/15122025/03/42/image_15122025_03_42_35_10615.jpg
/home/pi/Desktop/images/15122025/03/42/image_15122025_03_42_44_9786.jpg
/home/pi/Desktop/images/15122025/03/42/image_15122025_03_42_54_9701.jpg
/home/pi/Desktop/images/15122025/03/42/image_15122025_03_43_04_9615.jpg
/home/pi/Desktop/images/15122025/03/43/image_15122025_03_43_14_10544.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427696","1399427699","1399427698","1399427695","1399427697","1399427694"],"photo_ids_order":["1399427694","1399427695","1399427696","1399427697","1399427698","1399427699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0cf0071c05d4ed155e7a5f2715fd9575.jpg","text":"TemporaryFile(/tmp/multipartBody4326536794051770695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767322623,"filename":"image_15122025_03_42_44_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/15d1b94832e0309d7b736b1f0b8081b0.jpg","text":"TemporaryFile(/tmp/multipartBody6235733723107559950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767322623,"filename":"image_15122025_03_43_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/15/00614d2a279cc8a34f4c87eeb9266367.jpg","text":"TemporaryFile(/tmp/multipartBody376972171014292928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767322623,"filename":"image_15122025_03_43_04_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c8d77511e437fb31cdec5c98aed24e45.jpg","text":"TemporaryFile(/tmp/multipartBody4259914305415466120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767322623,"filename":"image_15122025_03_42_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/15/9be6dd4a01cd63ece8b8975345b0a46c.jpg","text":"TemporaryFile(/tmp/multipartBody2094961069413617847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767322623,"filename":"image_15122025_03_42_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/15/3953bf42c912a2ad8752b57cf10fb8c5.jpg","text":"TemporaryFile(/tmp/multipartBody6665037195763916388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767322623,"filename":"image_15122025_03_42_24_9805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427696","file1":"1399427695","file0":"1399427694","file4":"1399427698","file5":"1399427699","file3":"1399427697"},"map_files_photo_id_array":[{"photo_id":"1399427699","filename":"file5"},{"photo_id":"1399427696","filename":"file2"},{"photo_id":"1399427698","filename":"file4"},{"photo_id":"1399427695","filename":"file1"},{"photo_id":"1399427694","filename":"file0"},{"photo_id":"1399427697","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427696":["hashtag1","hashtag2"]},{"1399427699":["hashtag1","hashtag2"]},{"1399427698":["hashtag1","hashtag2"]},{"1399427695":["hashtag1","hashtag2"]},{"1399427697":["hashtag1","hashtag2"]},{"1399427694":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427696, 1399427699, 1399427698, 1399427695, 1399427697, 1399427694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52402091026306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 03:55:02.831578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/43/image_15122025_03_43_24_10006.jpg', '/home/pi/Desktop/images/15122025/03/43/image_15122025_03_43_34_9720.jpg', '/home/pi/Desktop/images/15122025/03/43/image_15122025_03_43_44_9691.jpg', '/home/pi/Desktop/images/15122025/03/43/image_15122025_03_43_54_10765.jpg', '/home/pi/Desktop/images/15122025/03/43/image_15122025_03_44_04_9725.jpg', '/home/pi/Desktop/images/15122025/03/44/image_15122025_03_44_14_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/43/image_15122025_03_43_24_10006.jpg
/home/pi/Desktop/images/15122025/03/43/image_15122025_03_43_34_9720.jpg
/home/pi/Desktop/images/15122025/03/43/image_15122025_03_43_44_9691.jpg
/home/pi/Desktop/images/15122025/03/43/image_15122025_03_43_54_10765.jpg
/home/pi/Desktop/images/15122025/03/43/image_15122025_03_44_04_9725.jpg
/home/pi/Desktop/images/15122025/03/44/image_15122025_03_44_14_9700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427705","1399427702","1399427704","1399427701","1399427700","1399427703"],"photo_ids_order":["1399427700","1399427701","1399427702","1399427703","1399427704","1399427705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/63b66f293da21924d3ee45ad598ad4fe.jpg","text":"TemporaryFile(/tmp/multipartBody4850838086802864650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767363505,"filename":"image_15122025_03_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/15/796190f427e691e0c566b6ecc49d3f57.jpg","text":"TemporaryFile(/tmp/multipartBody2540613273912070224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767363505,"filename":"image_15122025_03_43_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/15/83c68accba5e853b3c4df7a4e0d8b664.jpg","text":"TemporaryFile(/tmp/multipartBody6747023363806338132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767363505,"filename":"image_15122025_03_44_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/15/ef28ec87390183c0e3585fd9059a3c82.jpg","text":"TemporaryFile(/tmp/multipartBody6407053854027378313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767363505,"filename":"image_15122025_03_43_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/15/4832fbf158424f6b1236d427cd3ad994.jpg","text":"TemporaryFile(/tmp/multipartBody6913414821719218544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767363505,"filename":"image_15122025_03_43_24_10006.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7df67878d0cc6b3b12baf0b37a82d85f.jpg","text":"TemporaryFile(/tmp/multipartBody6815868842271514315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767363505,"filename":"image_15122025_03_43_54_10765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427702","file1":"1399427701","file0":"1399427700","file4":"1399427704","file5":"1399427705","file3":"1399427703"},"map_files_photo_id_array":[{"photo_id":"1399427705","filename":"file5"},{"photo_id":"1399427702","filename":"file2"},{"photo_id":"1399427704","filename":"file4"},{"photo_id":"1399427701","filename":"file1"},{"photo_id":"1399427700","filename":"file0"},{"photo_id":"1399427703","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427705":["hashtag1","hashtag2"]},{"1399427702":["hashtag1","hashtag2"]},{"1399427704":["hashtag1","hashtag2"]},{"1399427701":["hashtag1","hashtag2"]},{"1399427700":["hashtag1","hashtag2"]},{"1399427703":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427705, 1399427702, 1399427704, 1399427701, 1399427700, 1399427703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80496406555176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 03:55:42.255936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_59_2695.jpg', '/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_01_2636.jpg', '/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_04_2798.jpg', '/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_08_3555.jpg', '/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_10_2652.jpg', '/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_13_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/01/image_05112025_13_01_59_2695.jpg
/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_01_2636.jpg
/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_04_2798.jpg
/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_08_3555.jpg
/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_10_2652.jpg
/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_13_2651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427706","1399427711","1399427708","1399427710","1399427707","1399427709"],"photo_ids_order":["1399427706","1399427707","1399427708","1399427709","1399427710","1399427711"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fff951b83fc4e4e9b9cf377ebaeb3bdd.jpg","text":"TemporaryFile(/tmp/multipartBody8306030321888066205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767402984,"filename":"image_05112025_13_01_59_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3e690b54ca5d8582f82d35d63dcc46f3.jpg","text":"TemporaryFile(/tmp/multipartBody3527847513361499353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767402984,"filename":"image_05112025_13_02_13_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2da9eac68c33057de5911c7e88349044.jpg","text":"TemporaryFile(/tmp/multipartBody3960376036952258119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767402984,"filename":"image_05112025_13_02_04_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/15/b157875fcd602c0281f72433a54ace7c.jpg","text":"TemporaryFile(/tmp/multipartBody6264623244135155361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767402984,"filename":"image_05112025_13_02_10_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/15/39178cd15b223ace8dc1d794a2052d35.jpg","text":"TemporaryFile(/tmp/multipartBody3867838864698756387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767402984,"filename":"image_05112025_13_02_01_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/15/7494ae2f1da14e5e9a2d1ce59cd4e6fd.jpg","text":"TemporaryFile(/tmp/multipartBody2431484155224259157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767402984,"filename":"image_05112025_13_02_08_3555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427708","file1":"1399427707","file0":"1399427706","file4":"1399427710","file5":"1399427711","file3":"1399427709"},"map_files_photo_id_array":[{"photo_id":"1399427711","filename":"file5"},{"photo_id":"1399427708","filename":"file2"},{"photo_id":"1399427710","filename":"file4"},{"photo_id":"1399427707","filename":"file1"},{"photo_id":"1399427706","filename":"file0"},{"photo_id":"1399427709","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399427706":["hashtag1","hashtag2"]},{"1399427711":["hashtag1","hashtag2"]},{"1399427708":["hashtag1","hashtag2"]},{"1399427710":["hashtag1","hashtag2"]},{"1399427707":["hashtag1","hashtag2"]},{"1399427709":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399427706, 1399427711, 1399427708, 1399427710, 1399427707, 1399427709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44955921173096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 03:56:22.487660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/44/image_15122025_03_44_25_10699.jpg', '/home/pi/Desktop/images/15122025/03/44/image_15122025_03_44_34_9789.jpg', '/home/pi/Desktop/images/15122025/03/44/image_15122025_03_44_44_9661.jpg', '/home/pi/Desktop/images/15122025/03/44/image_15122025_03_44_54_9715.jpg', '/home/pi/Desktop/images/15122025/03/45/image_15122025_03_45_14_9685.jpg', '/home/pi/Desktop/images/15122025/03/45/image_15122025_03_45_24_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/44/image_15122025_03_44_25_10699.jpg
/home/pi/Desktop/images/15122025/03/44/image_15122025_03_44_34_9789.jpg
/home/pi/Desktop/images/15122025/03/44/image_15122025_03_44_44_9661.jpg
/home/pi/Desktop/images/15122025/03/44/image_15122025_03_44_54_9715.jpg
/home/pi/Desktop/images/15122025/03/45/image_15122025_03_45_14_9685.jpg
/home/pi/Desktop/images/15122025/03/45/image_15122025_03_45_24_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.5506410598754883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 03:56:32.557408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 03:56:42.477908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_17_3814.jpg', '/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_19_2624.jpg', '/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_23_3537.jpg', '/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_26_2676.jpg', '/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_28_2570.jpg', '/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_32_3685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_17_3814.jpg
/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_19_2624.jpg
/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_23_3537.jpg
/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_26_2676.jpg
/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_28_2570.jpg
/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_32_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":["1399427723","1399427720","1399427717","1399427722","1399427719","1399427721"],"photo_ids_order":["1399427717","1399427719","1399427720","1399427721","1399427722","1399427723"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7e129a77a5dba0537928dfeb9dbef71b.jpg","text":"TemporaryFile(/tmp/multipartBody698863499937830228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767463224,"filename":"image_05112025_13_02_32_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/15/62d9211a207851a0721fbedd7a598dc3.jpg","text":"TemporaryFile(/tmp/multipartBody6680669049826978187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767463224,"filename":"image_05112025_13_02_23_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/15/6fa34f8a2a81cfffa6039a04d16e471f.jpg","text":"TemporaryFile(/tmp/multipartBody5808035507624495010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767463224,"filename":"image_05112025_13_02_17_3814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9089cd5a501e72212856c796072ecd5b.jpg","text":"TemporaryFile(/tmp/multipartBody4688983401392674114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767463224,"filename":"image_05112025_13_02_28_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/15/65b778bbe8ed2677f2a1b4756f18b508.jpg","text":"TemporaryFile(/tmp/multipartBody8390695303544571254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767463224,"filename":"image_05112025_13_02_19_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/15/196acb4584c0f961a777bdceb7f38886.jpg","text":"TemporaryFile(/tmp/multipartBody3326734115809385779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767463224,"filename":"image_05112025_13_02_26_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427720","file1":"1399427719","file0":"1399427717","file4":"1399427722","file5":"1399427723","file3":"1399427721"},"map_files_photo_id_array":[{"photo_id":"1399427723","filename":"file5"},{"photo_id":"1399427720","filename":"file2"},{"photo_id":"1399427722","filename":"file4"},{"photo_id":"1399427719","filename":"file1"},{"photo_id":"1399427717","filename":"file0"},{"photo_id":"1399427721","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399427723":["hashtag1","hashtag2"]},{"1399427720":["hashtag1","hashtag2"]},{"1399427717":["hashtag1","hashtag2"]},{"1399427722":["hashtag1","hashtag2"]},{"1399427719":["hashtag1","hashtag2"]},{"1399427721":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399427723, 1399427720, 1399427717, 1399427722, 1399427719, 1399427721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93675136566162 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 03:57:22.843420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/44/image_15122025_03_44_25_10699.jpg', '/home/pi/Desktop/images/15122025/03/44/image_15122025_03_44_34_9789.jpg', '/home/pi/Desktop/images/15122025/03/44/image_15122025_03_44_44_9661.jpg', '/home/pi/Desktop/images/15122025/03/44/image_15122025_03_44_54_9715.jpg', '/home/pi/Desktop/images/15122025/03/45/image_15122025_03_45_14_9685.jpg', '/home/pi/Desktop/images/15122025/03/45/image_15122025_03_45_24_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/44/image_15122025_03_44_25_10699.jpg
/home/pi/Desktop/images/15122025/03/44/image_15122025_03_44_34_9789.jpg
/home/pi/Desktop/images/15122025/03/44/image_15122025_03_44_44_9661.jpg
/home/pi/Desktop/images/15122025/03/44/image_15122025_03_44_54_9715.jpg
/home/pi/Desktop/images/15122025/03/45/image_15122025_03_45_14_9685.jpg
/home/pi/Desktop/images/15122025/03/45/image_15122025_03_45_24_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":["1399427726","1399427729","1399427725","1399427728","1399427727","1399427724"],"photo_ids_order":["1399427724","1399427725","1399427726","1399427727","1399427728","1399427729"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fbd0d2f9d2afd0252e07f4eb9b4f8c53.jpg","text":"TemporaryFile(/tmp/multipartBody9163046639774114985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767503462,"filename":"image_15122025_03_44_44_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/96b8f2640bde3459bc408773b6a86231.jpg","text":"TemporaryFile(/tmp/multipartBody7376902364492368472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767503462,"filename":"image_15122025_03_45_24_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1fcad013967720bd7e64713ca99c6cf5.jpg","text":"TemporaryFile(/tmp/multipartBody762169458109212865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767503462,"filename":"image_15122025_03_44_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/15/59fa86dbddc1b620976b806df83d3819.jpg","text":"TemporaryFile(/tmp/multipartBody432017221813486693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767503462,"filename":"image_15122025_03_45_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/15/edc4ba8aca6297beb0e9f4572714cde7.jpg","text":"TemporaryFile(/tmp/multipartBody5139004525248995716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767503462,"filename":"image_15122025_03_44_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/15/8a98489a211428d322acb128e1ea5a43.jpg","text":"TemporaryFile(/tmp/multipartBody3008658804452980618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767503462,"filename":"image_15122025_03_44_25_10699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427726","file1":"1399427725","file0":"1399427724","file4":"1399427728","file5":"1399427729","file3":"1399427727"},"map_files_photo_id_array":[{"photo_id":"1399427729","filename":"file5"},{"photo_id":"1399427726","filename":"file2"},{"photo_id":"1399427728","filename":"file4"},{"photo_id":"1399427725","filename":"file1"},{"photo_id":"1399427724","filename":"file0"},{"photo_id":"1399427727","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427726":["hashtag1","hashtag2"]},{"1399427729":["hashtag1","hashtag2"]},{"1399427725":["hashtag1","hashtag2"]},{"1399427728":["hashtag1","hashtag2"]},{"1399427727":["hashtag1","hashtag2"]},{"1399427724":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427726, 1399427729, 1399427725, 1399427728, 1399427727, 1399427724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.143794536590576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 03:59:03.052554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/45/image_15122025_03_45_35_10704.jpg', '/home/pi/Desktop/images/15122025/03/45/image_15122025_03_45_44_9673.jpg', '/home/pi/Desktop/images/15122025/03/45/image_15122025_03_45_54_9675.jpg', '/home/pi/Desktop/images/15122025/03/45/image_15122025_03_46_05_10642.jpg', '/home/pi/Desktop/images/15122025/03/46/image_15122025_03_46_14_9800.jpg', '/home/pi/Desktop/images/15122025/03/46/image_15122025_03_46_24_9880.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/45/image_15122025_03_45_35_10704.jpg
/home/pi/Desktop/images/15122025/03/45/image_15122025_03_45_44_9673.jpg
/home/pi/Desktop/images/15122025/03/45/image_15122025_03_45_54_9675.jpg
/home/pi/Desktop/images/15122025/03/45/image_15122025_03_46_05_10642.jpg
/home/pi/Desktop/images/15122025/03/46/image_15122025_03_46_14_9800.jpg
/home/pi/Desktop/images/15122025/03/46/image_15122025_03_46_24_9880.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399427735","1399427734","1399427731","1399427760","1399427733","1399427730"],"photo_ids_order":["1399427730","1399427731","1399427733","1399427734","1399427735","1399427760"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a39e0cf25f9af2c4d1ecb062c59aec75.jpg","text":"TemporaryFile(/tmp/multipartBody2231395458424606811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767603856,"filename":"image_15122025_03_46_14_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9dbf5fb6cf0f4df34e2ca2db394b4f13.jpg","text":"TemporaryFile(/tmp/multipartBody685006267098302900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767603856,"filename":"image_15122025_03_46_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/15/ff73175a6f89d8d72a4408843445ee90.jpg","text":"TemporaryFile(/tmp/multipartBody1359964054468510004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767603856,"filename":"image_15122025_03_45_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/15/50c52404944b4bb9a130a768f4c958d6.jpg","text":"TemporaryFile(/tmp/multipartBody1697138078563428210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767603856,"filename":"image_15122025_03_46_24_9880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dcd768cf104265a1eba30e4c9814a7a5.jpg","text":"TemporaryFile(/tmp/multipartBody1044635871511539756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767603856,"filename":"image_15122025_03_45_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/15/bc8fb0f351d771d668aaf6a05573e16d.jpg","text":"TemporaryFile(/tmp/multipartBody755786529463517104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767603856,"filename":"image_15122025_03_45_35_10704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399427733","file1":"1399427731","file0":"1399427730","file4":"1399427735","file5":"1399427760","file3":"1399427734"},"map_files_photo_id_array":[{"photo_id":"1399427760","filename":"file5"},{"photo_id":"1399427733","filename":"file2"},{"photo_id":"1399427735","filename":"file4"},{"photo_id":"1399427731","filename":"file1"},{"photo_id":"1399427730","filename":"file0"},{"photo_id":"1399427734","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399427735":["hashtag1","hashtag2"]},{"1399427734":["hashtag1","hashtag2"]},{"1399427731":["hashtag1","hashtag2"]},{"1399427760":["hashtag1","hashtag2"]},{"1399427733":["hashtag1","hashtag2"]},{"1399427730":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399427735, 1399427734, 1399427731, 1399427760, 1399427733, 1399427730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.121047496795654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 03:59:42.185937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_35_2698.jpg', '/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_37_2841.jpg', '/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_40_2622.jpg', '/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_44_3571.jpg', '/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_47_2879.jpg', '/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_49_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_35_2698.jpg
/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_37_2841.jpg
/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_40_2622.jpg
/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_44_3571.jpg
/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_47_2879.jpg
/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_49_2650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399428077","1399428289","1399428148","1399428222","1399428003","1399428359"],"photo_ids_order":["1399428003","1399428077","1399428148","1399428222","1399428289","1399428359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7a38fd0a5a08ebc42fb30d9ded72c26e.jpg","text":"TemporaryFile(/tmp/multipartBody158129347408093635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767642880,"filename":"image_05112025_13_02_37_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/15/e44246801fdbb9cfd2e996ec46abf1d4.jpg","text":"TemporaryFile(/tmp/multipartBody6637207220057382581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767642880,"filename":"image_05112025_13_02_47_2879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/efa773d047deb51906a556678929feda.jpg","text":"TemporaryFile(/tmp/multipartBody127944793135062722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767642880,"filename":"image_05112025_13_02_40_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/15/f8e51fd64680c7d64afce5a935b71461.jpg","text":"TemporaryFile(/tmp/multipartBody7174720392861443270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767642880,"filename":"image_05112025_13_02_44_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/15/22e74c6e6718f87f0c6f41fe7f931cfb.jpg","text":"TemporaryFile(/tmp/multipartBody5515865363346641022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767642880,"filename":"image_05112025_13_02_35_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/15/0581552abb340691843e4d2cf2af8fa7.jpg","text":"TemporaryFile(/tmp/multipartBody1464007654187400492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767642880,"filename":"image_05112025_13_02_49_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399428148","file1":"1399428077","file0":"1399428003","file4":"1399428289","file5":"1399428359","file3":"1399428222"},"map_files_photo_id_array":[{"photo_id":"1399428359","filename":"file5"},{"photo_id":"1399428148","filename":"file2"},{"photo_id":"1399428289","filename":"file4"},{"photo_id":"1399428077","filename":"file1"},{"photo_id":"1399428003","filename":"file0"},{"photo_id":"1399428222","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399428077":["hashtag1","hashtag2"]},{"1399428289":["hashtag1","hashtag2"]},{"1399428148":["hashtag1","hashtag2"]},{"1399428222":["hashtag1","hashtag2"]},{"1399428003":["hashtag1","hashtag2"]},{"1399428359":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399428077, 1399428289, 1399428148, 1399428222, 1399428003, 1399428359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33653426170349 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 04:00:22.457406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/46/image_15122025_03_46_44_9818.jpg', '/home/pi/Desktop/images/15122025/03/46/image_15122025_03_46_55_10683.jpg', '/home/pi/Desktop/images/15122025/03/47/image_15122025_03_47_14_9843.jpg', '/home/pi/Desktop/images/15122025/03/47/image_15122025_03_47_25_10658.jpg', '/home/pi/Desktop/images/15122025/03/47/image_15122025_03_47_34_9766.jpg', '/home/pi/Desktop/images/15122025/03/47/image_15122025_03_47_44_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/46/image_15122025_03_46_44_9818.jpg
/home/pi/Desktop/images/15122025/03/46/image_15122025_03_46_55_10683.jpg
/home/pi/Desktop/images/15122025/03/47/image_15122025_03_47_14_9843.jpg
/home/pi/Desktop/images/15122025/03/47/image_15122025_03_47_25_10658.jpg
/home/pi/Desktop/images/15122025/03/47/image_15122025_03_47_34_9766.jpg
/home/pi/Desktop/images/15122025/03/47/image_15122025_03_47_44_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":["1399428842","1399428911","1399428701","1399428634","1399428774","1399428968"],"photo_ids_order":["1399428634","1399428701","1399428774","1399428842","1399428911","1399428968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1048961fe6bfe3d81624f9e331b260f4.jpg","text":"TemporaryFile(/tmp/multipartBody7851459518754924056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767683071,"filename":"image_15122025_03_47_25_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/246cfa879e6a293daf974b4fe521058f.jpg","text":"TemporaryFile(/tmp/multipartBody7679051388521495317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767683071,"filename":"image_15122025_03_47_34_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1db354ffb9c437098a71f597d2aa5927.jpg","text":"TemporaryFile(/tmp/multipartBody2006302287662372714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767683071,"filename":"image_15122025_03_46_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/15/51eab9e87353f02136b7509b8af50ead.jpg","text":"TemporaryFile(/tmp/multipartBody122419230863001551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767683071,"filename":"image_15122025_03_46_44_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/15/022b0c4b6de405e701c9013e5cc36510.jpg","text":"TemporaryFile(/tmp/multipartBody6753019809405282756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767683071,"filename":"image_15122025_03_47_14_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/64d012ea2a861b671e4d3aa3a60f3e67.jpg","text":"TemporaryFile(/tmp/multipartBody8822737122762921863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767683071,"filename":"image_15122025_03_47_44_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399428774","file1":"1399428701","file0":"1399428634","file4":"1399428911","file5":"1399428968","file3":"1399428842"},"map_files_photo_id_array":[{"photo_id":"1399428968","filename":"file5"},{"photo_id":"1399428774","filename":"file2"},{"photo_id":"1399428911","filename":"file4"},{"photo_id":"1399428701","filename":"file1"},{"photo_id":"1399428634","filename":"file0"},{"photo_id":"1399428842","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399428842":["hashtag1","hashtag2"]},{"1399428911":["hashtag1","hashtag2"]},{"1399428701":["hashtag1","hashtag2"]},{"1399428634":["hashtag1","hashtag2"]},{"1399428774":["hashtag1","hashtag2"]},{"1399428968":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399428842, 1399428911, 1399428701, 1399428634, 1399428774, 1399428968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22806787490845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 04:01:03.357866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/47/image_15122025_03_47_54_9669.jpg', '/home/pi/Desktop/images/15122025/03/47/image_15122025_03_48_04_10647.jpg', '/home/pi/Desktop/images/15122025/03/48/image_15122025_03_48_14_9648.jpg', '/home/pi/Desktop/images/15122025/03/48/image_15122025_03_48_25_10557.jpg', '/home/pi/Desktop/images/15122025/03/48/image_15122025_03_48_34_9671.jpg', '/home/pi/Desktop/images/15122025/03/48/image_15122025_03_48_44_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/47/image_15122025_03_47_54_9669.jpg
/home/pi/Desktop/images/15122025/03/47/image_15122025_03_48_04_10647.jpg
/home/pi/Desktop/images/15122025/03/48/image_15122025_03_48_14_9648.jpg
/home/pi/Desktop/images/15122025/03/48/image_15122025_03_48_25_10557.jpg
/home/pi/Desktop/images/15122025/03/48/image_15122025_03_48_34_9671.jpg
/home/pi/Desktop/images/15122025/03/48/image_15122025_03_48_44_9695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399429285","1399429270","1399429168","1399429111","1399429284","1399429236"],"photo_ids_order":["1399429111","1399429168","1399429236","1399429270","1399429284","1399429285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f1e3888fcb585e30aea6ce902e129d74.jpg","text":"TemporaryFile(/tmp/multipartBody2632658559697553313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767724046,"filename":"image_15122025_03_48_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/15/36cd5635c505b9ac862a97282e5e31e4.jpg","text":"TemporaryFile(/tmp/multipartBody1899247015730340528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767724046,"filename":"image_15122025_03_48_25_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/29dbb9f73dd0c44724943c667ab932e7.jpg","text":"TemporaryFile(/tmp/multipartBody6941074199122077936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767724046,"filename":"image_15122025_03_48_04_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bc09e2003991b2ee139a1b438c73db6b.jpg","text":"TemporaryFile(/tmp/multipartBody6246933374749826110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767724046,"filename":"image_15122025_03_47_54_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/49277cfcd7357f065cf86e1f72ee50a4.jpg","text":"TemporaryFile(/tmp/multipartBody4475992647082661163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767724046,"filename":"image_15122025_03_48_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/15/6c9a4f0ab8ffc5054c7a0424f6e408d9.jpg","text":"TemporaryFile(/tmp/multipartBody6767660091122732667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767724046,"filename":"image_15122025_03_48_14_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399429236","file1":"1399429168","file0":"1399429111","file4":"1399429284","file5":"1399429285","file3":"1399429270"},"map_files_photo_id_array":[{"photo_id":"1399429285","filename":"file5"},{"photo_id":"1399429236","filename":"file2"},{"photo_id":"1399429284","filename":"file4"},{"photo_id":"1399429168","filename":"file1"},{"photo_id":"1399429111","filename":"file0"},{"photo_id":"1399429270","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399429285":["hashtag1","hashtag2"]},{"1399429270":["hashtag1","hashtag2"]},{"1399429168":["hashtag1","hashtag2"]},{"1399429111":["hashtag1","hashtag2"]},{"1399429284":["hashtag1","hashtag2"]},{"1399429236":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399429285, 1399429270, 1399429168, 1399429111, 1399429284, 1399429236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20511198043823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 04:01:42.614240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_52_2789.jpg', '/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_56_3601.jpg', '/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_58_2798.jpg', '/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_01_2701.jpg', '/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_05_3693.jpg', '/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_07_2527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_52_2789.jpg
/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_56_3601.jpg
/home/pi/Desktop/images/05112025/13/02/image_05112025_13_02_58_2798.jpg
/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_01_2701.jpg
/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_05_3693.jpg
/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_07_2527.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399429366","1399429362","1399429368","1399429370","1399429364","1399429337"],"photo_ids_order":["1399429337","1399429362","1399429364","1399429366","1399429368","1399429370"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b45b5b0e7e0b03756a0957a99a5322ec.jpg","text":"TemporaryFile(/tmp/multipartBody7953864573915865704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767763348,"filename":"image_05112025_13_03_01_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f8d655c1b37a74de46cb05c695dc90cf.jpg","text":"TemporaryFile(/tmp/multipartBody7331743438481130129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767763348,"filename":"image_05112025_13_02_56_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/15/44b30438611da95fb36fa66f2455046a.jpg","text":"TemporaryFile(/tmp/multipartBody4344318953464354340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767763348,"filename":"image_05112025_13_03_05_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6ea9ec0ca907a5ba65d3413c214e085d.jpg","text":"TemporaryFile(/tmp/multipartBody5896419831850602131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767763348,"filename":"image_05112025_13_03_07_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/87704b5761d69cf79f569b9e5d3aa2a8.jpg","text":"TemporaryFile(/tmp/multipartBody316671201241106724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767763348,"filename":"image_05112025_13_02_58_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cca225f84a3b9cd442165a955551cac8.jpg","text":"TemporaryFile(/tmp/multipartBody2059019052261972997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767763348,"filename":"image_05112025_13_02_52_2789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399429364","file1":"1399429362","file0":"1399429337","file4":"1399429368","file5":"1399429370","file3":"1399429366"},"map_files_photo_id_array":[{"photo_id":"1399429370","filename":"file5"},{"photo_id":"1399429364","filename":"file2"},{"photo_id":"1399429368","filename":"file4"},{"photo_id":"1399429362","filename":"file1"},{"photo_id":"1399429337","filename":"file0"},{"photo_id":"1399429366","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399429366":["hashtag1","hashtag2"]},{"1399429362":["hashtag1","hashtag2"]},{"1399429368":["hashtag1","hashtag2"]},{"1399429370":["hashtag1","hashtag2"]},{"1399429364":["hashtag1","hashtag2"]},{"1399429337":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399429366, 1399429362, 1399429368, 1399429370, 1399429364, 1399429337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23015570640564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 04:02:21.938725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/48/image_15122025_03_48_54_9778.jpg', '/home/pi/Desktop/images/15122025/03/48/image_15122025_03_49_04_10667.jpg', '/home/pi/Desktop/images/15122025/03/49/image_15122025_03_49_34_9661.jpg', '/home/pi/Desktop/images/15122025/03/49/image_15122025_03_49_44_9544.jpg', '/home/pi/Desktop/images/15122025/03/49/image_15122025_03_49_55_10768.jpg', '/home/pi/Desktop/images/15122025/03/49/image_15122025_03_50_04_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/48/image_15122025_03_48_54_9778.jpg
/home/pi/Desktop/images/15122025/03/48/image_15122025_03_49_04_10667.jpg
/home/pi/Desktop/images/15122025/03/49/image_15122025_03_49_34_9661.jpg
/home/pi/Desktop/images/15122025/03/49/image_15122025_03_49_44_9544.jpg
/home/pi/Desktop/images/15122025/03/49/image_15122025_03_49_55_10768.jpg
/home/pi/Desktop/images/15122025/03/49/image_15122025_03_50_04_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":["1399429630","1399429590","1399429493","1399429460","1399429535","1399429421"],"photo_ids_order":["1399429421","1399429460","1399429493","1399429535","1399429590","1399429630"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e46cbd484e05133513e6995008ee869b.jpg","text":"TemporaryFile(/tmp/multipartBody9186426008549716157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767802555,"filename":"image_15122025_03_50_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/15/125be3d43da730e99bfd553d67b253ca.jpg","text":"TemporaryFile(/tmp/multipartBody8079219887113562961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767802555,"filename":"image_15122025_03_49_55_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/15/7d54fcc1af4aef1c72687ce17f2b28b2.jpg","text":"TemporaryFile(/tmp/multipartBody3320965708025766402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767802555,"filename":"image_15122025_03_49_34_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5355d94bebdd4e0a7188b0e24ef9bc2b.jpg","text":"TemporaryFile(/tmp/multipartBody60928651574415977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767802555,"filename":"image_15122025_03_49_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/15/c27e5f91ebf00bf3b8b37fcb0bb08933.jpg","text":"TemporaryFile(/tmp/multipartBody11337162056976249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767802555,"filename":"image_15122025_03_49_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/15/e4427b137d9a15208aa04821e0821ee3.jpg","text":"TemporaryFile(/tmp/multipartBody6104678856295727446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767802555,"filename":"image_15122025_03_48_54_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399429493","file1":"1399429460","file0":"1399429421","file4":"1399429590","file5":"1399429630","file3":"1399429535"},"map_files_photo_id_array":[{"photo_id":"1399429630","filename":"file5"},{"photo_id":"1399429493","filename":"file2"},{"photo_id":"1399429590","filename":"file4"},{"photo_id":"1399429460","filename":"file1"},{"photo_id":"1399429421","filename":"file0"},{"photo_id":"1399429535","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399429630":["hashtag1","hashtag2"]},{"1399429590":["hashtag1","hashtag2"]},{"1399429493":["hashtag1","hashtag2"]},{"1399429460":["hashtag1","hashtag2"]},{"1399429535":["hashtag1","hashtag2"]},{"1399429421":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399429630, 1399429590, 1399429493, 1399429460, 1399429535, 1399429421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.449426889419556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 04:03:02.901967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/50/image_15122025_03_50_14_9806.jpg', '/home/pi/Desktop/images/15122025/03/50/image_15122025_03_50_24_9883.jpg', '/home/pi/Desktop/images/15122025/03/50/image_15122025_03_50_35_10601.jpg', '/home/pi/Desktop/images/15122025/03/50/image_15122025_03_50_44_9661.jpg', '/home/pi/Desktop/images/15122025/03/50/image_15122025_03_50_54_9714.jpg', '/home/pi/Desktop/images/15122025/03/51/image_15122025_03_51_14_10721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/50/image_15122025_03_50_14_9806.jpg
/home/pi/Desktop/images/15122025/03/50/image_15122025_03_50_24_9883.jpg
/home/pi/Desktop/images/15122025/03/50/image_15122025_03_50_35_10601.jpg
/home/pi/Desktop/images/15122025/03/50/image_15122025_03_50_44_9661.jpg
/home/pi/Desktop/images/15122025/03/50/image_15122025_03_50_54_9714.jpg
/home/pi/Desktop/images/15122025/03/51/image_15122025_03_51_14_10721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399429741","1399429671","1399429746","1399429674","1399429748","1399429703"],"photo_ids_order":["1399429671","1399429674","1399429703","1399429741","1399429746","1399429748"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/aff462fd88307fe0cb7859c18a835d51.jpg","text":"TemporaryFile(/tmp/multipartBody1291701268503292029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767843593,"filename":"image_15122025_03_50_44_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4a546c9ff610c87b087fd824a4ae2896.jpg","text":"TemporaryFile(/tmp/multipartBody3940977437324656099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767843593,"filename":"image_15122025_03_50_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/15/5c2e2a8489eb95d444dd8e3721e962b6.jpg","text":"TemporaryFile(/tmp/multipartBody5518933603699278350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767843593,"filename":"image_15122025_03_50_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/15/f9755b9bc41d8b03ec0258d053bba003.jpg","text":"TemporaryFile(/tmp/multipartBody8136823589831341377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767843593,"filename":"image_15122025_03_50_24_9883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/041afd3b886668a235b5dae78f905968.jpg","text":"TemporaryFile(/tmp/multipartBody4566901504790880764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767843593,"filename":"image_15122025_03_51_14_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9811a7648c259fd86da9208cecfcb11b.jpg","text":"TemporaryFile(/tmp/multipartBody7273107816759467654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767843593,"filename":"image_15122025_03_50_35_10601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399429703","file1":"1399429674","file0":"1399429671","file4":"1399429746","file5":"1399429748","file3":"1399429741"},"map_files_photo_id_array":[{"photo_id":"1399429748","filename":"file5"},{"photo_id":"1399429703","filename":"file2"},{"photo_id":"1399429746","filename":"file4"},{"photo_id":"1399429674","filename":"file1"},{"photo_id":"1399429671","filename":"file0"},{"photo_id":"1399429741","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399429741":["hashtag1","hashtag2"]},{"1399429671":["hashtag1","hashtag2"]},{"1399429746":["hashtag1","hashtag2"]},{"1399429674":["hashtag1","hashtag2"]},{"1399429748":["hashtag1","hashtag2"]},{"1399429703":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399429741, 1399429671, 1399429746, 1399429674, 1399429748, 1399429703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45023250579834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 04:03:42.327389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_10_2845.jpg', '/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_14_3526.jpg', '/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_16_2672.jpg', '/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_19_2604.jpg', '/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_22_3567.jpg', '/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_25_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_10_2845.jpg
/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_14_3526.jpg
/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_16_2672.jpg
/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_19_2604.jpg
/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_22_3567.jpg
/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_25_2694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399429819","1399429810","1399429812","1399429814","1399429808","1399429817"],"photo_ids_order":["1399429808","1399429810","1399429812","1399429814","1399429817","1399429819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2bf24f6ce84dae7a32a4cd639a7a98c2.jpg","text":"TemporaryFile(/tmp/multipartBody4516720207103136016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767883022,"filename":"image_05112025_13_03_25_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/15/35ad93e38b79e801eb604343a89036a7.jpg","text":"TemporaryFile(/tmp/multipartBody6044140831509522470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767883022,"filename":"image_05112025_13_03_14_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9a2b4f43c369f5e744d31e6676c3785f.jpg","text":"TemporaryFile(/tmp/multipartBody7953863648757105390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767883022,"filename":"image_05112025_13_03_16_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/42b8496fd841d7ecf145803b18901fec.jpg","text":"TemporaryFile(/tmp/multipartBody8695865290430331033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767883022,"filename":"image_05112025_13_03_19_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/15/5fe3d48ab086ace5c1ddc13524481bfb.jpg","text":"TemporaryFile(/tmp/multipartBody1545311613149704775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767883022,"filename":"image_05112025_13_03_10_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f1b88212c6c12227e3dd79642f156cb6.jpg","text":"TemporaryFile(/tmp/multipartBody2700774553316480827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767883022,"filename":"image_05112025_13_03_22_3567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399429812","file1":"1399429810","file0":"1399429808","file4":"1399429817","file5":"1399429819","file3":"1399429814"},"map_files_photo_id_array":[{"photo_id":"1399429819","filename":"file5"},{"photo_id":"1399429812","filename":"file2"},{"photo_id":"1399429817","filename":"file4"},{"photo_id":"1399429810","filename":"file1"},{"photo_id":"1399429808","filename":"file0"},{"photo_id":"1399429814","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399429819":["hashtag1","hashtag2"]},{"1399429810":["hashtag1","hashtag2"]},{"1399429812":["hashtag1","hashtag2"]},{"1399429814":["hashtag1","hashtag2"]},{"1399429808":["hashtag1","hashtag2"]},{"1399429817":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399429819, 1399429810, 1399429812, 1399429814, 1399429808, 1399429817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87562680244446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 04:04:22.573131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/51/image_15122025_03_51_24_9820.jpg', '/home/pi/Desktop/images/15122025/03/51/image_15122025_03_51_34_9641.jpg', '/home/pi/Desktop/images/15122025/03/51/image_15122025_03_51_45_10660.jpg', '/home/pi/Desktop/images/15122025/03/51/image_15122025_03_51_54_9662.jpg', '/home/pi/Desktop/images/15122025/03/51/image_15122025_03_52_04_9840.jpg', '/home/pi/Desktop/images/15122025/03/52/image_15122025_03_52_15_10588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/51/image_15122025_03_51_24_9820.jpg
/home/pi/Desktop/images/15122025/03/51/image_15122025_03_51_34_9641.jpg
/home/pi/Desktop/images/15122025/03/51/image_15122025_03_51_45_10660.jpg
/home/pi/Desktop/images/15122025/03/51/image_15122025_03_51_54_9662.jpg
/home/pi/Desktop/images/15122025/03/51/image_15122025_03_52_04_9840.jpg
/home/pi/Desktop/images/15122025/03/52/image_15122025_03_52_15_10588.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5437006950378418 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 04:04:32.585972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 04:04:42.552023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_28_2845.jpg', '/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_32_3823.jpg', '/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_34_2616.jpg', '/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_37_2876.jpg', '/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_40_2635.jpg', '/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_44_3768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_28_2845.jpg
/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_32_3823.jpg
/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_34_2616.jpg
/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_37_2876.jpg
/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_40_2635.jpg
/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_44_3768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399429834","1399429828","1399429836","1399429830","1399429832","1399429826"],"photo_ids_order":["1399429826","1399429828","1399429830","1399429832","1399429834","1399429836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ffa4113ce4c29994b74864334c150fb4.jpg","text":"TemporaryFile(/tmp/multipartBody2105894781809400789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767943250,"filename":"image_05112025_13_03_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/15/0020df6ad4ded392ab845d0bbad3f724.jpg","text":"TemporaryFile(/tmp/multipartBody5094997169066432460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767943250,"filename":"image_05112025_13_03_32_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/15/155160dfbd529dfa3e7e32984b8b531e.jpg","text":"TemporaryFile(/tmp/multipartBody2078091564824687391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767943250,"filename":"image_05112025_13_03_44_3768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/eda6f6e09f2402a721b4237121da03d0.jpg","text":"TemporaryFile(/tmp/multipartBody5984724733328979223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767943250,"filename":"image_05112025_13_03_34_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/15/2d2406a81a3019902953f9b243bc0953.jpg","text":"TemporaryFile(/tmp/multipartBody4766732637194151420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767943250,"filename":"image_05112025_13_03_37_2876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7bb4c58efa983fc1adcc1dacc55c0e2e.jpg","text":"TemporaryFile(/tmp/multipartBody454957504195709888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767943250,"filename":"image_05112025_13_03_28_2845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399429830","file1":"1399429828","file0":"1399429826","file4":"1399429834","file5":"1399429836","file3":"1399429832"},"map_files_photo_id_array":[{"photo_id":"1399429836","filename":"file5"},{"photo_id":"1399429830","filename":"file2"},{"photo_id":"1399429834","filename":"file4"},{"photo_id":"1399429828","filename":"file1"},{"photo_id":"1399429826","filename":"file0"},{"photo_id":"1399429832","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399429834":["hashtag1","hashtag2"]},{"1399429828":["hashtag1","hashtag2"]},{"1399429836":["hashtag1","hashtag2"]},{"1399429830":["hashtag1","hashtag2"]},{"1399429832":["hashtag1","hashtag2"]},{"1399429826":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399429834, 1399429828, 1399429836, 1399429830, 1399429832, 1399429826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99603033065796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 04:05:22.808216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/51/image_15122025_03_51_24_9820.jpg', '/home/pi/Desktop/images/15122025/03/51/image_15122025_03_51_34_9641.jpg', '/home/pi/Desktop/images/15122025/03/51/image_15122025_03_51_45_10660.jpg', '/home/pi/Desktop/images/15122025/03/51/image_15122025_03_51_54_9662.jpg', '/home/pi/Desktop/images/15122025/03/51/image_15122025_03_52_04_9840.jpg', '/home/pi/Desktop/images/15122025/03/52/image_15122025_03_52_15_10588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/51/image_15122025_03_51_24_9820.jpg
/home/pi/Desktop/images/15122025/03/51/image_15122025_03_51_34_9641.jpg
/home/pi/Desktop/images/15122025/03/51/image_15122025_03_51_45_10660.jpg
/home/pi/Desktop/images/15122025/03/51/image_15122025_03_51_54_9662.jpg
/home/pi/Desktop/images/15122025/03/51/image_15122025_03_52_04_9840.jpg
/home/pi/Desktop/images/15122025/03/52/image_15122025_03_52_15_10588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399429840","1399429843","1399429837","1399429839","1399429838","1399429841"],"photo_ids_order":["1399429837","1399429838","1399429839","1399429840","1399429841","1399429843"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/38130a22e35bcb18cd9f21cb86ee1e28.jpg","text":"TemporaryFile(/tmp/multipartBody8078951304909499148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767983423,"filename":"image_15122025_03_51_54_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a4321f8f2e50546c2baa541a9a267828.jpg","text":"TemporaryFile(/tmp/multipartBody8325642908514114829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767983423,"filename":"image_15122025_03_52_15_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/79eb420420d281b83940d90f3f1d78c0.jpg","text":"TemporaryFile(/tmp/multipartBody8648158131682774517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767983423,"filename":"image_15122025_03_51_24_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3b5b823ce790ee8d190df7cd7ff4cb81.jpg","text":"TemporaryFile(/tmp/multipartBody4550154266499856836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767983423,"filename":"image_15122025_03_51_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/15/a373be9257ad197d318f9fb00a9a0f7d.jpg","text":"TemporaryFile(/tmp/multipartBody4745772255189704378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767983423,"filename":"image_15122025_03_51_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/15/fb8175ad2daba32699d51e8de66243d1.jpg","text":"TemporaryFile(/tmp/multipartBody982838804500521800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765767983423,"filename":"image_15122025_03_52_04_9840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399429839","file1":"1399429838","file0":"1399429837","file4":"1399429841","file5":"1399429843","file3":"1399429840"},"map_files_photo_id_array":[{"photo_id":"1399429843","filename":"file5"},{"photo_id":"1399429839","filename":"file2"},{"photo_id":"1399429841","filename":"file4"},{"photo_id":"1399429838","filename":"file1"},{"photo_id":"1399429837","filename":"file0"},{"photo_id":"1399429840","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399429840":["hashtag1","hashtag2"]},{"1399429843":["hashtag1","hashtag2"]},{"1399429837":["hashtag1","hashtag2"]},{"1399429839":["hashtag1","hashtag2"]},{"1399429838":["hashtag1","hashtag2"]},{"1399429841":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399429840, 1399429843, 1399429837, 1399429839, 1399429838, 1399429841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44484734535217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 04:06:02.457875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/52/image_15122025_03_52_24_9669.jpg', '/home/pi/Desktop/images/15122025/03/52/image_15122025_03_52_34_9571.jpg', '/home/pi/Desktop/images/15122025/03/52/image_15122025_03_52_54_10753.jpg', '/home/pi/Desktop/images/15122025/03/52/image_15122025_03_53_04_9907.jpg', '/home/pi/Desktop/images/15122025/03/53/image_15122025_03_53_14_9748.jpg', '/home/pi/Desktop/images/15122025/03/53/image_15122025_03_53_24_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/52/image_15122025_03_52_24_9669.jpg
/home/pi/Desktop/images/15122025/03/52/image_15122025_03_52_34_9571.jpg
/home/pi/Desktop/images/15122025/03/52/image_15122025_03_52_54_10753.jpg
/home/pi/Desktop/images/15122025/03/52/image_15122025_03_53_04_9907.jpg
/home/pi/Desktop/images/15122025/03/53/image_15122025_03_53_14_9748.jpg
/home/pi/Desktop/images/15122025/03/53/image_15122025_03_53_24_9702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399429858","1399429852","1399429860","1399429854","1399429848","1399429856"],"photo_ids_order":["1399429848","1399429852","1399429854","1399429856","1399429858","1399429860"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0b5ab42089da4e69582ed8fd2c574ea8.jpg","text":"TemporaryFile(/tmp/multipartBody1010710586911894964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768023102,"filename":"image_15122025_03_53_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/15/e452fe35c8eb284a94a75fb01a44c47d.jpg","text":"TemporaryFile(/tmp/multipartBody5902663848059628352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768023102,"filename":"image_15122025_03_52_34_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/06f7bfb8b09ccba0fa78209b7bb00e87.jpg","text":"TemporaryFile(/tmp/multipartBody3564767462526477736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768023102,"filename":"image_15122025_03_53_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/15/88ef1ab046cba5da62b4730d82f486e2.jpg","text":"TemporaryFile(/tmp/multipartBody140953152378637248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768023102,"filename":"image_15122025_03_52_54_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/15/951898ef28fb76a6e94a1aa4a95a5429.jpg","text":"TemporaryFile(/tmp/multipartBody58458842286325554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768023102,"filename":"image_15122025_03_52_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/15/4f93f02efd1c491fc064196e4a64d3e5.jpg","text":"TemporaryFile(/tmp/multipartBody1218608979308231257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768023102,"filename":"image_15122025_03_53_04_9907.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399429854","file1":"1399429852","file0":"1399429848","file4":"1399429858","file5":"1399429860","file3":"1399429856"},"map_files_photo_id_array":[{"photo_id":"1399429860","filename":"file5"},{"photo_id":"1399429854","filename":"file2"},{"photo_id":"1399429858","filename":"file4"},{"photo_id":"1399429852","filename":"file1"},{"photo_id":"1399429848","filename":"file0"},{"photo_id":"1399429856","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399429858":["hashtag1","hashtag2"]},{"1399429852":["hashtag1","hashtag2"]},{"1399429860":["hashtag1","hashtag2"]},{"1399429854":["hashtag1","hashtag2"]},{"1399429848":["hashtag1","hashtag2"]},{"1399429856":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399429858, 1399429852, 1399429860, 1399429854, 1399429848, 1399429856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18030524253845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 04:06:42.019236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_46_2732.jpg', '/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_49_2630.jpg', '/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_53_3692.jpg', '/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_55_2563.jpg', '/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_58_2749.jpg', '/home/pi/Desktop/images/05112025/13/04/image_05112025_13_04_01_2777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_46_2732.jpg
/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_49_2630.jpg
/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_53_3692.jpg
/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_55_2563.jpg
/home/pi/Desktop/images/05112025/13/03/image_05112025_13_03_58_2749.jpg
/home/pi/Desktop/images/05112025/13/04/image_05112025_13_04_01_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":["1399429861","1399429870","1399429863","1399429872","1399429866","1399429868"],"photo_ids_order":["1399429861","1399429863","1399429866","1399429868","1399429870","1399429872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f29da4473d32d67dca4f49930349228b.jpg","text":"TemporaryFile(/tmp/multipartBody1450931163241013522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768062708,"filename":"image_05112025_13_03_46_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/15/a10a2fba24e493783b597af761c213b4.jpg","text":"TemporaryFile(/tmp/multipartBody8827826359217142909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768062708,"filename":"image_05112025_13_03_58_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/15/d423265bc61e1b2d4eb6b29d724ee1ec.jpg","text":"TemporaryFile(/tmp/multipartBody2878342831112396563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768062708,"filename":"image_05112025_13_03_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/15/17429478f1219b327f9f7cd5489a5152.jpg","text":"TemporaryFile(/tmp/multipartBody8149054914617040103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768062708,"filename":"image_05112025_13_04_01_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/15/0ebf2e30c509defbc5ca3fed3d81f4ec.jpg","text":"TemporaryFile(/tmp/multipartBody9006528689945907193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768062708,"filename":"image_05112025_13_03_53_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/15/95f0fbebe4c0c62c1390b87e36e50d3d.jpg","text":"TemporaryFile(/tmp/multipartBody5702404140034831443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768062708,"filename":"image_05112025_13_03_55_2563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399429866","file1":"1399429863","file0":"1399429861","file4":"1399429870","file5":"1399429872","file3":"1399429868"},"map_files_photo_id_array":[{"photo_id":"1399429872","filename":"file5"},{"photo_id":"1399429866","filename":"file2"},{"photo_id":"1399429870","filename":"file4"},{"photo_id":"1399429863","filename":"file1"},{"photo_id":"1399429861","filename":"file0"},{"photo_id":"1399429868","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399429861":["hashtag1","hashtag2"]},{"1399429870":["hashtag1","hashtag2"]},{"1399429863":["hashtag1","hashtag2"]},{"1399429872":["hashtag1","hashtag2"]},{"1399429866":["hashtag1","hashtag2"]},{"1399429868":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399429861, 1399429870, 1399429863, 1399429872, 1399429866, 1399429868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.684327125549316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 04:07:22.264460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/53/image_15122025_03_53_35_10789.jpg', '/home/pi/Desktop/images/15122025/03/53/image_15122025_03_53_44_9666.jpg', '/home/pi/Desktop/images/15122025/03/53/image_15122025_03_53_54_9766.jpg', '/home/pi/Desktop/images/15122025/03/53/image_15122025_03_54_05_10625.jpg', '/home/pi/Desktop/images/15122025/03/54/image_15122025_03_54_14_9597.jpg', '/home/pi/Desktop/images/15122025/03/54/image_15122025_03_54_34_10599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/53/image_15122025_03_53_35_10789.jpg
/home/pi/Desktop/images/15122025/03/53/image_15122025_03_53_44_9666.jpg
/home/pi/Desktop/images/15122025/03/53/image_15122025_03_53_54_9766.jpg
/home/pi/Desktop/images/15122025/03/53/image_15122025_03_54_05_10625.jpg
/home/pi/Desktop/images/15122025/03/54/image_15122025_03_54_14_9597.jpg
/home/pi/Desktop/images/15122025/03/54/image_15122025_03_54_34_10599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399429873","1399429876","1399429875","1399429874","1399429877","1399429879"],"photo_ids_order":["1399429873","1399429874","1399429875","1399429876","1399429877","1399429879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1ba63692ef5974e20f9a5d66113a3ae3.jpg","text":"TemporaryFile(/tmp/multipartBody2648665525488559685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768102875,"filename":"image_15122025_03_53_35_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/15/3ed928238b99fe00151cf8902967f850.jpg","text":"TemporaryFile(/tmp/multipartBody8308772734524092589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768102875,"filename":"image_15122025_03_54_05_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/51e7e24e6ac993c2630aa0e3c2358b0c.jpg","text":"TemporaryFile(/tmp/multipartBody4686223738400197255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768102875,"filename":"image_15122025_03_53_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/15/e0c1bc4127575f4e25093addef4ecc68.jpg","text":"TemporaryFile(/tmp/multipartBody7974377110024252626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768102875,"filename":"image_15122025_03_53_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/15/049368792eaca6753ec117d77f79cad7.jpg","text":"TemporaryFile(/tmp/multipartBody5556289197141351915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768102875,"filename":"image_15122025_03_54_14_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2c44916fbaf7031d1a9a5b1b4b9e6f81.jpg","text":"TemporaryFile(/tmp/multipartBody434024802047777481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768102875,"filename":"image_15122025_03_54_34_10599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399429875","file1":"1399429874","file0":"1399429873","file4":"1399429877","file5":"1399429879","file3":"1399429876"},"map_files_photo_id_array":[{"photo_id":"1399429879","filename":"file5"},{"photo_id":"1399429875","filename":"file2"},{"photo_id":"1399429877","filename":"file4"},{"photo_id":"1399429874","filename":"file1"},{"photo_id":"1399429873","filename":"file0"},{"photo_id":"1399429876","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399429873":["hashtag1","hashtag2"]},{"1399429876":["hashtag1","hashtag2"]},{"1399429875":["hashtag1","hashtag2"]},{"1399429874":["hashtag1","hashtag2"]},{"1399429877":["hashtag1","hashtag2"]},{"1399429879":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399429873, 1399429876, 1399429875, 1399429874, 1399429877, 1399429879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86970090866089 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 04:08:02.893603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/54/image_15122025_03_54_44_9752.jpg', '/home/pi/Desktop/images/15122025/03/54/image_15122025_03_54_54_9596.jpg', '/home/pi/Desktop/images/15122025/03/54/image_15122025_03_55_05_10670.jpg', '/home/pi/Desktop/images/15122025/03/55/image_15122025_03_55_14_9769.jpg', '/home/pi/Desktop/images/15122025/03/55/image_15122025_03_55_24_9663.jpg', '/home/pi/Desktop/images/15122025/03/55/image_15122025_03_55_35_10729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/54/image_15122025_03_54_44_9752.jpg
/home/pi/Desktop/images/15122025/03/54/image_15122025_03_54_54_9596.jpg
/home/pi/Desktop/images/15122025/03/54/image_15122025_03_55_05_10670.jpg
/home/pi/Desktop/images/15122025/03/55/image_15122025_03_55_14_9769.jpg
/home/pi/Desktop/images/15122025/03/55/image_15122025_03_55_24_9663.jpg
/home/pi/Desktop/images/15122025/03/55/image_15122025_03_55_35_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":["1399429888","1399429890","1399429887","1399429889","1399429886","1399429885"],"photo_ids_order":["1399429885","1399429886","1399429887","1399429888","1399429889","1399429890"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6f6fe907d8e063228484be661c67f2b2.jpg","text":"TemporaryFile(/tmp/multipartBody9014056317080852461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768143522,"filename":"image_15122025_03_55_14_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/00751dae7379862cd0fc67ce9e529851.jpg","text":"TemporaryFile(/tmp/multipartBody2541581080788000200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768143522,"filename":"image_15122025_03_55_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/15/9f8a17b0d39e8e1a254a6bbcae3862b0.jpg","text":"TemporaryFile(/tmp/multipartBody2500674503780140804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768143522,"filename":"image_15122025_03_55_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/15/658753d840d2c307721004d775f32015.jpg","text":"TemporaryFile(/tmp/multipartBody6798305544204929460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768143522,"filename":"image_15122025_03_55_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/15/20b847aa14a71c0e81337a9ff06d5a57.jpg","text":"TemporaryFile(/tmp/multipartBody699714748266030826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768143522,"filename":"image_15122025_03_54_54_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/06520fecc887ecd687bcf1d84c13f534.jpg","text":"TemporaryFile(/tmp/multipartBody3016546275639114866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768143522,"filename":"image_15122025_03_54_44_9752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399429887","file1":"1399429886","file0":"1399429885","file4":"1399429889","file5":"1399429890","file3":"1399429888"},"map_files_photo_id_array":[{"photo_id":"1399429890","filename":"file5"},{"photo_id":"1399429887","filename":"file2"},{"photo_id":"1399429889","filename":"file4"},{"photo_id":"1399429886","filename":"file1"},{"photo_id":"1399429885","filename":"file0"},{"photo_id":"1399429888","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399429888":["hashtag1","hashtag2"]},{"1399429890":["hashtag1","hashtag2"]},{"1399429887":["hashtag1","hashtag2"]},{"1399429889":["hashtag1","hashtag2"]},{"1399429886":["hashtag1","hashtag2"]},{"1399429885":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399429888, 1399429890, 1399429887, 1399429889, 1399429886, 1399429885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.289451599121094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 04:08:42.566826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/04/image_05112025_13_04_05_3653.jpg', '/home/pi/Desktop/images/05112025/13/04/image_05112025_13_04_07_2880.jpg', '/home/pi/Desktop/images/05112025/13/04/image_05112025_13_04_10_2790.jpg', '/home/pi/Desktop/images/05112025/13/04/image_05112025_13_04_13_2691.jpg', '/home/pi/Desktop/images/05112025/13/04/image_05112025_13_04_17_3632.jpg', '/home/pi/Desktop/images/05112025/13/04/image_05112025_13_04_19_2708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/04/image_05112025_13_04_05_3653.jpg
/home/pi/Desktop/images/05112025/13/04/image_05112025_13_04_07_2880.jpg
/home/pi/Desktop/images/05112025/13/04/image_05112025_13_04_10_2790.jpg
/home/pi/Desktop/images/05112025/13/04/image_05112025_13_04_13_2691.jpg
/home/pi/Desktop/images/05112025/13/04/image_05112025_13_04_17_3632.jpg
/home/pi/Desktop/images/05112025/13/04/image_05112025_13_04_19_2708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399429904","1399429900","1399429902","1399429907","1399429897","1399429891"],"photo_ids_order":["1399429891","1399429897","1399429900","1399429902","1399429904","1399429907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3d0041f8b80170aac118897a0efe1bc1.jpg","text":"TemporaryFile(/tmp/multipartBody1545614740306201658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768183283,"filename":"image_05112025_13_04_17_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/15/e5ba58c11a48195e148385aab6a5c0ef.jpg","text":"TemporaryFile(/tmp/multipartBody2988502231590797521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768183283,"filename":"image_05112025_13_04_10_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/15/07cea4bb6b488cad35acce488d63cc2c.jpg","text":"TemporaryFile(/tmp/multipartBody8374630864784956130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768183283,"filename":"image_05112025_13_04_13_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ece23ad36c083f9cb3ba5ce94f6d4277.jpg","text":"TemporaryFile(/tmp/multipartBody9025569012904998738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768183283,"filename":"image_05112025_13_04_19_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/15/d98e6461e2acbbd7f89d34967a161e5b.jpg","text":"TemporaryFile(/tmp/multipartBody8861928945492808793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768183283,"filename":"image_05112025_13_04_07_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/15/494cd5a6c5536e071dc5f67b1454163f.jpg","text":"TemporaryFile(/tmp/multipartBody8069782480940135345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768183283,"filename":"image_05112025_13_04_05_3653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399429900","file1":"1399429897","file0":"1399429891","file4":"1399429904","file5":"1399429907","file3":"1399429902"},"map_files_photo_id_array":[{"photo_id":"1399429907","filename":"file5"},{"photo_id":"1399429900","filename":"file2"},{"photo_id":"1399429904","filename":"file4"},{"photo_id":"1399429897","filename":"file1"},{"photo_id":"1399429891","filename":"file0"},{"photo_id":"1399429902","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399429904":["hashtag1","hashtag2"]},{"1399429900":["hashtag1","hashtag2"]},{"1399429902":["hashtag1","hashtag2"]},{"1399429907":["hashtag1","hashtag2"]},{"1399429897":["hashtag1","hashtag2"]},{"1399429891":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399429904, 1399429900, 1399429902, 1399429907, 1399429897, 1399429891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76994013786316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 04:09:21.902070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/55/image_15122025_03_55_44_9597.jpg', '/home/pi/Desktop/images/15122025/03/55/image_15122025_03_55_54_9604.jpg', '/home/pi/Desktop/images/15122025/03/55/image_15122025_03_56_05_10671.jpg', '/home/pi/Desktop/images/15122025/03/56/image_15122025_03_56_14_9810.jpg', '/home/pi/Desktop/images/15122025/03/56/image_15122025_03_56_24_9681.jpg', '/home/pi/Desktop/images/15122025/03/56/image_15122025_03_56_35_10568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/55/image_15122025_03_55_44_9597.jpg
/home/pi/Desktop/images/15122025/03/55/image_15122025_03_55_54_9604.jpg
/home/pi/Desktop/images/15122025/03/55/image_15122025_03_56_05_10671.jpg
/home/pi/Desktop/images/15122025/03/56/image_15122025_03_56_14_9810.jpg
/home/pi/Desktop/images/15122025/03/56/image_15122025_03_56_24_9681.jpg
/home/pi/Desktop/images/15122025/03/56/image_15122025_03_56_35_10568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399429912","1399429915","1399429914","1399429917","1399429919","1399429916"],"photo_ids_order":["1399429912","1399429914","1399429915","1399429916","1399429917","1399429919"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/305f4b652d75f703a52912ed797e2d49.jpg","text":"TemporaryFile(/tmp/multipartBody4401395040793669193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768222525,"filename":"image_15122025_03_55_44_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ccce272f95c38570a8024ab3d4a47d3b.jpg","text":"TemporaryFile(/tmp/multipartBody2029011408376397171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768222525,"filename":"image_15122025_03_56_05_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/349f5bf2ef8108c436256bc65492b162.jpg","text":"TemporaryFile(/tmp/multipartBody8567333741297115493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768222525,"filename":"image_15122025_03_55_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/15/a7b21a054342ad59df99f980390fe048.jpg","text":"TemporaryFile(/tmp/multipartBody2274217369554713457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768222525,"filename":"image_15122025_03_56_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/15/7511b2681e6d3810dab29f70f99e1150.jpg","text":"TemporaryFile(/tmp/multipartBody8839732313130460102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768222525,"filename":"image_15122025_03_56_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/15/0379f39ba5f3d89124edd1a1f0e549f1.jpg","text":"TemporaryFile(/tmp/multipartBody9052917783627326360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768222525,"filename":"image_15122025_03_56_14_9810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399429915","file1":"1399429914","file0":"1399429912","file4":"1399429917","file5":"1399429919","file3":"1399429916"},"map_files_photo_id_array":[{"photo_id":"1399429919","filename":"file5"},{"photo_id":"1399429915","filename":"file2"},{"photo_id":"1399429917","filename":"file4"},{"photo_id":"1399429914","filename":"file1"},{"photo_id":"1399429912","filename":"file0"},{"photo_id":"1399429916","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399429912":["hashtag1","hashtag2"]},{"1399429915":["hashtag1","hashtag2"]},{"1399429914":["hashtag1","hashtag2"]},{"1399429917":["hashtag1","hashtag2"]},{"1399429919":["hashtag1","hashtag2"]},{"1399429916":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399429912, 1399429915, 1399429914, 1399429917, 1399429919, 1399429916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.104403257369995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 04:10:02.445785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/56/image_15122025_03_56_44_9665.jpg', '/home/pi/Desktop/images/15122025/03/56/image_15122025_03_56_54_9858.jpg', '/home/pi/Desktop/images/15122025/03/56/image_15122025_03_57_04_9923.jpg', '/home/pi/Desktop/images/15122025/03/57/image_15122025_03_57_24_10650.jpg', '/home/pi/Desktop/images/15122025/03/57/image_15122025_03_57_34_9635.jpg', '/home/pi/Desktop/images/15122025/03/57/image_15122025_03_57_44_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/56/image_15122025_03_56_44_9665.jpg
/home/pi/Desktop/images/15122025/03/56/image_15122025_03_56_54_9858.jpg
/home/pi/Desktop/images/15122025/03/56/image_15122025_03_57_04_9923.jpg
/home/pi/Desktop/images/15122025/03/57/image_15122025_03_57_24_10650.jpg
/home/pi/Desktop/images/15122025/03/57/image_15122025_03_57_34_9635.jpg
/home/pi/Desktop/images/15122025/03/57/image_15122025_03_57_44_9712.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5382347106933594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 04:10:12.059819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 04:10:22.053570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/56/image_15122025_03_56_44_9665.jpg', '/home/pi/Desktop/images/15122025/03/56/image_15122025_03_56_54_9858.jpg', '/home/pi/Desktop/images/15122025/03/56/image_15122025_03_57_04_9923.jpg', '/home/pi/Desktop/images/15122025/03/57/image_15122025_03_57_24_10650.jpg', '/home/pi/Desktop/images/15122025/03/57/image_15122025_03_57_34_9635.jpg', '/home/pi/Desktop/images/15122025/03/57/image_15122025_03_57_44_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/56/image_15122025_03_56_44_9665.jpg
/home/pi/Desktop/images/15122025/03/56/image_15122025_03_56_54_9858.jpg
/home/pi/Desktop/images/15122025/03/56/image_15122025_03_57_04_9923.jpg
/home/pi/Desktop/images/15122025/03/57/image_15122025_03_57_24_10650.jpg
/home/pi/Desktop/images/15122025/03/57/image_15122025_03_57_34_9635.jpg
/home/pi/Desktop/images/15122025/03/57/image_15122025_03_57_44_9712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399429936","1399429930","1399429933","1399429932","1399429931","1399429934"],"photo_ids_order":["1399429930","1399429931","1399429932","1399429933","1399429934","1399429936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9a222570784edceee37e4f5bea01c6e9.jpg","text":"TemporaryFile(/tmp/multipartBody8440900196766641814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768282667,"filename":"image_15122025_03_57_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/15/0b94b6545ded3be2c5d7a7864342aae4.jpg","text":"TemporaryFile(/tmp/multipartBody2867138203842446530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768282667,"filename":"image_15122025_03_56_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/15/bb31cf8444e2acde0dc0eb2bb0f31a84.jpg","text":"TemporaryFile(/tmp/multipartBody4673439345720719811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768282667,"filename":"image_15122025_03_57_24_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/15/35a00ca81aa523b6390f324156b92599.jpg","text":"TemporaryFile(/tmp/multipartBody4365945029792015889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768282667,"filename":"image_15122025_03_57_04_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/15/201c6c495ce795d4c3544f64168ca1d7.jpg","text":"TemporaryFile(/tmp/multipartBody4994177727820772392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768282667,"filename":"image_15122025_03_56_54_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a08613aa35b420d78216672484619e53.jpg","text":"TemporaryFile(/tmp/multipartBody7540294917623662077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768282667,"filename":"image_15122025_03_57_34_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399429932","file1":"1399429931","file0":"1399429930","file4":"1399429934","file5":"1399429936","file3":"1399429933"},"map_files_photo_id_array":[{"photo_id":"1399429936","filename":"file5"},{"photo_id":"1399429932","filename":"file2"},{"photo_id":"1399429934","filename":"file4"},{"photo_id":"1399429931","filename":"file1"},{"photo_id":"1399429930","filename":"file0"},{"photo_id":"1399429933","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399429936":["hashtag1","hashtag2"]},{"1399429930":["hashtag1","hashtag2"]},{"1399429933":["hashtag1","hashtag2"]},{"1399429932":["hashtag1","hashtag2"]},{"1399429931":["hashtag1","hashtag2"]},{"1399429934":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399429936, 1399429930, 1399429933, 1399429932, 1399429931, 1399429934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70658731460571 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 04:11:02.992685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/57/image_15122025_03_57_55_10900.jpg', '/home/pi/Desktop/images/15122025/03/57/image_15122025_03_58_04_9845.jpg', '/home/pi/Desktop/images/15122025/03/58/image_15122025_03_58_14_9556.jpg', '/home/pi/Desktop/images/15122025/03/58/image_15122025_03_58_25_10609.jpg', '/home/pi/Desktop/images/15122025/03/58/image_15122025_03_58_34_9727.jpg', '/home/pi/Desktop/images/15122025/03/58/image_15122025_03_58_44_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/57/image_15122025_03_57_55_10900.jpg
/home/pi/Desktop/images/15122025/03/57/image_15122025_03_58_04_9845.jpg
/home/pi/Desktop/images/15122025/03/58/image_15122025_03_58_14_9556.jpg
/home/pi/Desktop/images/15122025/03/58/image_15122025_03_58_25_10609.jpg
/home/pi/Desktop/images/15122025/03/58/image_15122025_03_58_34_9727.jpg
/home/pi/Desktop/images/15122025/03/58/image_15122025_03_58_44_9672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399429942","1399429945","1399429944","1399429947","1399429943","1399429946"],"photo_ids_order":["1399429942","1399429943","1399429944","1399429945","1399429946","1399429947"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/832f02411dc25b468cfcdd71be361117.jpg","text":"TemporaryFile(/tmp/multipartBody2159438422776193072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768323739,"filename":"image_15122025_03_57_55_10900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4675c7549f9b424d93928488284bbc38.jpg","text":"TemporaryFile(/tmp/multipartBody4214738413923976881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768323739,"filename":"image_15122025_03_58_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/15/2005ea07f9ce571df8c93797c67f6eb0.jpg","text":"TemporaryFile(/tmp/multipartBody2928915581639018525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768323739,"filename":"image_15122025_03_58_14_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bd91fc00bdc4a9b1904081eca3c01b71.jpg","text":"TemporaryFile(/tmp/multipartBody40651903137065592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768323739,"filename":"image_15122025_03_58_44_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5bfebec30e3075cdcd716857bd2ed841.jpg","text":"TemporaryFile(/tmp/multipartBody7064759799455213491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768323739,"filename":"image_15122025_03_58_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/15/0924abe95358aba859e217f67e2754fc.jpg","text":"TemporaryFile(/tmp/multipartBody3698737063960652019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768323739,"filename":"image_15122025_03_58_34_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399429944","file1":"1399429943","file0":"1399429942","file4":"1399429946","file5":"1399429947","file3":"1399429945"},"map_files_photo_id_array":[{"photo_id":"1399429947","filename":"file5"},{"photo_id":"1399429944","filename":"file2"},{"photo_id":"1399429946","filename":"file4"},{"photo_id":"1399429943","filename":"file1"},{"photo_id":"1399429942","filename":"file0"},{"photo_id":"1399429945","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399429942":["hashtag1","hashtag2"]},{"1399429945":["hashtag1","hashtag2"]},{"1399429944":["hashtag1","hashtag2"]},{"1399429947":["hashtag1","hashtag2"]},{"1399429943":["hashtag1","hashtag2"]},{"1399429946":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399429942, 1399429945, 1399429944, 1399429947, 1399429943, 1399429946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16299104690552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 04:11:42.283313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/04/image_05112025_13_04_22_2824.jpg', '/home/pi/Desktop/images/05112025/13/04/image_05112025_13_04_43_14852.jpg', '/home/pi/Desktop/images/05112025/13/04/image_05112025_13_04_45_1683.jpg', '/home/pi/Desktop/images/05112025/13/04/image_05112025_13_04_46_1743.jpg', '/home/pi/Desktop/images/05112025/13/04/image_05112025_13_04_48_1784.jpg', '/home/pi/Desktop/images/05112025/13/04/image_05112025_13_05_00_12387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/04/image_05112025_13_04_22_2824.jpg
/home/pi/Desktop/images/05112025/13/04/image_05112025_13_04_43_14852.jpg
/home/pi/Desktop/images/05112025/13/04/image_05112025_13_04_45_1683.jpg
/home/pi/Desktop/images/05112025/13/04/image_05112025_13_04_46_1743.jpg
/home/pi/Desktop/images/05112025/13/04/image_05112025_13_04_48_1784.jpg
/home/pi/Desktop/images/05112025/13/04/image_05112025_13_05_00_12387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399429960","1399429948","1399429962","1399429955","1399429964","1399429958"],"photo_ids_order":["1399429948","1399429955","1399429958","1399429960","1399429962","1399429964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/48ea2fba033002f463eb41db03f0329e.jpg","text":"TemporaryFile(/tmp/multipartBody6953537872472733619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768362966,"filename":"image_05112025_13_04_46_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/15/f3eb4641dcce1d68f5f1fb21ec3a1df7.jpg","text":"TemporaryFile(/tmp/multipartBody5400507068221211791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768362966,"filename":"image_05112025_13_04_22_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/15/aed8122acf083f48324f3c6d758133ba.jpg","text":"TemporaryFile(/tmp/multipartBody488661771589061219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768362966,"filename":"image_05112025_13_04_48_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/15/6abe2ee6278456aa186fb820144d9103.jpg","text":"TemporaryFile(/tmp/multipartBody8004969362442032693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768362966,"filename":"image_05112025_13_04_43_14852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c77770ae8534ff9cf3aa13671649d0b2.jpg","text":"TemporaryFile(/tmp/multipartBody5653595197674604619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768362966,"filename":"image_05112025_13_05_00_12387.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b1e108715fd3a0ac18fa64c31a827b0e.jpg","text":"TemporaryFile(/tmp/multipartBody8300801607393029539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768362966,"filename":"image_05112025_13_04_45_1683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399429958","file1":"1399429955","file0":"1399429948","file4":"1399429962","file5":"1399429964","file3":"1399429960"},"map_files_photo_id_array":[{"photo_id":"1399429964","filename":"file5"},{"photo_id":"1399429958","filename":"file2"},{"photo_id":"1399429962","filename":"file4"},{"photo_id":"1399429955","filename":"file1"},{"photo_id":"1399429948","filename":"file0"},{"photo_id":"1399429960","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399429960":["hashtag1","hashtag2"]},{"1399429948":["hashtag1","hashtag2"]},{"1399429962":["hashtag1","hashtag2"]},{"1399429955":["hashtag1","hashtag2"]},{"1399429964":["hashtag1","hashtag2"]},{"1399429958":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399429960, 1399429948, 1399429962, 1399429955, 1399429964, 1399429958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46007418632507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 04:12:22.598857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/58/image_15122025_03_58_54_9802.jpg', '/home/pi/Desktop/images/15122025/03/58/image_15122025_03_59_04_9882.jpg', '/home/pi/Desktop/images/15122025/03/59/image_15122025_03_59_14_10688.jpg', '/home/pi/Desktop/images/15122025/03/59/image_15122025_03_59_24_9824.jpg', '/home/pi/Desktop/images/15122025/03/59/image_15122025_03_59_34_9705.jpg', '/home/pi/Desktop/images/15122025/03/59/image_15122025_03_59_44_9834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/58/image_15122025_03_58_54_9802.jpg
/home/pi/Desktop/images/15122025/03/58/image_15122025_03_59_04_9882.jpg
/home/pi/Desktop/images/15122025/03/59/image_15122025_03_59_14_10688.jpg
/home/pi/Desktop/images/15122025/03/59/image_15122025_03_59_24_9824.jpg
/home/pi/Desktop/images/15122025/03/59/image_15122025_03_59_34_9705.jpg
/home/pi/Desktop/images/15122025/03/59/image_15122025_03_59_44_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":["1399429966","1399429969","1399429965","1399429968","1399429970","1399429967"],"photo_ids_order":["1399429965","1399429966","1399429967","1399429968","1399429969","1399429970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6ff8a6cb8a9fefcc065ffcd5b4d75d00.jpg","text":"TemporaryFile(/tmp/multipartBody854493134876213761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768403212,"filename":"image_15122025_03_59_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/15/07fa6f0daa421fb0373c64877e7b0da5.jpg","text":"TemporaryFile(/tmp/multipartBody7028148205696976235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768403212,"filename":"image_15122025_03_59_34_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3684397908812a32d6fbd14f43c0f76c.jpg","text":"TemporaryFile(/tmp/multipartBody4088360021042669272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768403212,"filename":"image_15122025_03_58_54_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6c1ca321765ba95d2ae8678ffd9efc3c.jpg","text":"TemporaryFile(/tmp/multipartBody820105033943713589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768403212,"filename":"image_15122025_03_59_24_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d041e8e44ef32a1bd957fc5a5a40f138.jpg","text":"TemporaryFile(/tmp/multipartBody1041216986201938269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768403212,"filename":"image_15122025_03_59_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/15/77ac9c42777edb467137fb3f20ee8346.jpg","text":"TemporaryFile(/tmp/multipartBody2227459153498303194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768403212,"filename":"image_15122025_03_59_14_10688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399429967","file1":"1399429966","file0":"1399429965","file4":"1399429969","file5":"1399429970","file3":"1399429968"},"map_files_photo_id_array":[{"photo_id":"1399429970","filename":"file5"},{"photo_id":"1399429967","filename":"file2"},{"photo_id":"1399429969","filename":"file4"},{"photo_id":"1399429966","filename":"file1"},{"photo_id":"1399429965","filename":"file0"},{"photo_id":"1399429968","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399429966":["hashtag1","hashtag2"]},{"1399429969":["hashtag1","hashtag2"]},{"1399429965":["hashtag1","hashtag2"]},{"1399429968":["hashtag1","hashtag2"]},{"1399429970":["hashtag1","hashtag2"]},{"1399429967":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399429966, 1399429969, 1399429965, 1399429968, 1399429970, 1399429967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6557092666626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 04:13:03.549614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/03/59/image_15122025_03_59_55_10737.jpg', '/home/pi/Desktop/images/15122025/03/59/image_15122025_04_00_04_9717.jpg', '/home/pi/Desktop/images/15122025/04/00/image_15122025_04_00_14_9650.jpg', '/home/pi/Desktop/images/15122025/04/00/image_15122025_04_00_24_10597.jpg', '/home/pi/Desktop/images/15122025/04/00/image_15122025_04_00_34_9684.jpg', '/home/pi/Desktop/images/15122025/04/00/image_15122025_04_00_44_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/03/59/image_15122025_03_59_55_10737.jpg
/home/pi/Desktop/images/15122025/03/59/image_15122025_04_00_04_9717.jpg
/home/pi/Desktop/images/15122025/04/00/image_15122025_04_00_14_9650.jpg
/home/pi/Desktop/images/15122025/04/00/image_15122025_04_00_24_10597.jpg
/home/pi/Desktop/images/15122025/04/00/image_15122025_04_00_34_9684.jpg
/home/pi/Desktop/images/15122025/04/00/image_15122025_04_00_44_9665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399429987","1399429975","1399429980","1399429983","1399429985","1399429978"],"photo_ids_order":["1399429975","1399429978","1399429980","1399429983","1399429985","1399429987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/44e662b563b7c78ddfdf3721faff0576.jpg","text":"TemporaryFile(/tmp/multipartBody6208420897330325151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768444235,"filename":"image_15122025_04_00_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/15/7038be62885ab061ac4b37402cfe0597.jpg","text":"TemporaryFile(/tmp/multipartBody5366296188297348343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768444235,"filename":"image_15122025_03_59_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/15/1f42f573063d24d6d0028fba77b142af.jpg","text":"TemporaryFile(/tmp/multipartBody1588942254454001759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768444235,"filename":"image_15122025_04_00_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/15/edca071bba72e241455c5bb322f24d42.jpg","text":"TemporaryFile(/tmp/multipartBody2210320353492646567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768444235,"filename":"image_15122025_04_00_24_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/15/bfb40713e82dacd9e9933362ab58919b.jpg","text":"TemporaryFile(/tmp/multipartBody2410501273489292178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768444235,"filename":"image_15122025_04_00_34_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ad985860e75759119e5e39599bb0a195.jpg","text":"TemporaryFile(/tmp/multipartBody2301827752900185850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768444235,"filename":"image_15122025_04_00_04_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399429980","file1":"1399429978","file0":"1399429975","file4":"1399429985","file5":"1399429987","file3":"1399429983"},"map_files_photo_id_array":[{"photo_id":"1399429987","filename":"file5"},{"photo_id":"1399429980","filename":"file2"},{"photo_id":"1399429985","filename":"file4"},{"photo_id":"1399429978","filename":"file1"},{"photo_id":"1399429975","filename":"file0"},{"photo_id":"1399429983","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399429987":["hashtag1","hashtag2"]},{"1399429975":["hashtag1","hashtag2"]},{"1399429980":["hashtag1","hashtag2"]},{"1399429983":["hashtag1","hashtag2"]},{"1399429985":["hashtag1","hashtag2"]},{"1399429978":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399429987, 1399429975, 1399429980, 1399429983, 1399429985, 1399429978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12979578971863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 04:13:42.654812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_02_1625.jpg', '/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_04_1568.jpg', '/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_05_1555.jpg', '/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_07_2055.jpg', '/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_09_2136.jpg', '/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_11_1610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_02_1625.jpg
/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_04_1568.jpg
/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_05_1555.jpg
/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_07_2055.jpg
/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_09_2136.jpg
/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_11_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":["1399429993","1399429995","1399429988","1399429997","1399429999","1399429990"],"photo_ids_order":["1399429988","1399429990","1399429993","1399429995","1399429997","1399429999"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d1615a248d921ef1dcec4d18e377bc48.jpg","text":"TemporaryFile(/tmp/multipartBody850301666441258548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768483342,"filename":"image_05112025_13_05_05_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/15/7eefb1714b4476d504f35684d4266ecd.jpg","text":"TemporaryFile(/tmp/multipartBody8800416555441473805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768483342,"filename":"image_05112025_13_05_07_2055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9011a6665f9b20f5f0de209d9806a0fd.jpg","text":"TemporaryFile(/tmp/multipartBody7719872702066950388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768483342,"filename":"image_05112025_13_05_02_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/15/c004b623b08b48f272af91a8819ec94f.jpg","text":"TemporaryFile(/tmp/multipartBody7301697938603269527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768483342,"filename":"image_05112025_13_05_09_2136.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2ae6cd13beb2c72d389a4c439351344f.jpg","text":"TemporaryFile(/tmp/multipartBody5494920995160428314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768483342,"filename":"image_05112025_13_05_11_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/15/0147e589e95d0dd3512cee23ec7e277a.jpg","text":"TemporaryFile(/tmp/multipartBody8324155292350517671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768483342,"filename":"image_05112025_13_05_04_1568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399429993","file1":"1399429990","file0":"1399429988","file4":"1399429997","file5":"1399429999","file3":"1399429995"},"map_files_photo_id_array":[{"photo_id":"1399429999","filename":"file5"},{"photo_id":"1399429993","filename":"file2"},{"photo_id":"1399429997","filename":"file4"},{"photo_id":"1399429990","filename":"file1"},{"photo_id":"1399429988","filename":"file0"},{"photo_id":"1399429995","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399429993":["hashtag1","hashtag2"]},{"1399429995":["hashtag1","hashtag2"]},{"1399429988":["hashtag1","hashtag2"]},{"1399429997":["hashtag1","hashtag2"]},{"1399429999":["hashtag1","hashtag2"]},{"1399429990":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399429993, 1399429995, 1399429988, 1399429997, 1399429999, 1399429990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93463373184204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 04:14:21.923633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/00/image_15122025_04_00_55_10818.jpg', '/home/pi/Desktop/images/15122025/04/00/image_15122025_04_01_04_9657.jpg', '/home/pi/Desktop/images/15122025/04/01/image_15122025_04_01_14_9728.jpg', '/home/pi/Desktop/images/15122025/04/01/image_15122025_04_01_25_10582.jpg', '/home/pi/Desktop/images/15122025/04/01/image_15122025_04_01_34_9638.jpg', '/home/pi/Desktop/images/15122025/04/01/image_15122025_04_01_44_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/00/image_15122025_04_00_55_10818.jpg
/home/pi/Desktop/images/15122025/04/00/image_15122025_04_01_04_9657.jpg
/home/pi/Desktop/images/15122025/04/01/image_15122025_04_01_14_9728.jpg
/home/pi/Desktop/images/15122025/04/01/image_15122025_04_01_25_10582.jpg
/home/pi/Desktop/images/15122025/04/01/image_15122025_04_01_34_9638.jpg
/home/pi/Desktop/images/15122025/04/01/image_15122025_04_01_44_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.5092289447784424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 04:14:31.890493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 04:14:41.901632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_13_1798.jpg', '/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_14_1626.jpg', '/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_16_1611.jpg', '/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_18_1707.jpg', '/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_19_1622.jpg', '/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_22_2192.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_13_1798.jpg
/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_14_1626.jpg
/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_16_1611.jpg
/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_18_1707.jpg
/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_19_1622.jpg
/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_22_2192.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430021","1399430015","1399430017","1399430013","1399430019","1399430007"],"photo_ids_order":["1399430007","1399430013","1399430015","1399430017","1399430019","1399430021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/13313ba281af52260d7ef9642813dfce.jpg","text":"TemporaryFile(/tmp/multipartBody3067807706298344398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768542587,"filename":"image_05112025_13_05_22_2192.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/159fdb249e8f602bff6f35e114ab403a.jpg","text":"TemporaryFile(/tmp/multipartBody3051361001048964777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768542587,"filename":"image_05112025_13_05_16_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/15/17df94ccd54320b64d57ab146edcb898.jpg","text":"TemporaryFile(/tmp/multipartBody8498571409129356543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768542587,"filename":"image_05112025_13_05_18_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/15/35b290fb220308a61b4c090335413383.jpg","text":"TemporaryFile(/tmp/multipartBody2352560761636612310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768542587,"filename":"image_05112025_13_05_14_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/15/3b3907fd6e59122ced369f7cd7ec383e.jpg","text":"TemporaryFile(/tmp/multipartBody6190596063726922376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768542587,"filename":"image_05112025_13_05_19_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/15/7dd560798f51af4cc9628849db3faaa9.jpg","text":"TemporaryFile(/tmp/multipartBody3869838756018869410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768542587,"filename":"image_05112025_13_05_13_1798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430015","file1":"1399430013","file0":"1399430007","file4":"1399430019","file5":"1399430021","file3":"1399430017"},"map_files_photo_id_array":[{"photo_id":"1399430021","filename":"file5"},{"photo_id":"1399430015","filename":"file2"},{"photo_id":"1399430019","filename":"file4"},{"photo_id":"1399430013","filename":"file1"},{"photo_id":"1399430007","filename":"file0"},{"photo_id":"1399430017","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399430021":["hashtag1","hashtag2"]},{"1399430015":["hashtag1","hashtag2"]},{"1399430017":["hashtag1","hashtag2"]},{"1399430013":["hashtag1","hashtag2"]},{"1399430019":["hashtag1","hashtag2"]},{"1399430007":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399430021, 1399430015, 1399430017, 1399430013, 1399430019, 1399430007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.994953870773315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 04:15:22.254224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/00/image_15122025_04_00_55_10818.jpg', '/home/pi/Desktop/images/15122025/04/00/image_15122025_04_01_04_9657.jpg', '/home/pi/Desktop/images/15122025/04/01/image_15122025_04_01_14_9728.jpg', '/home/pi/Desktop/images/15122025/04/01/image_15122025_04_01_25_10582.jpg', '/home/pi/Desktop/images/15122025/04/01/image_15122025_04_01_34_9638.jpg', '/home/pi/Desktop/images/15122025/04/01/image_15122025_04_01_44_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/00/image_15122025_04_00_55_10818.jpg
/home/pi/Desktop/images/15122025/04/00/image_15122025_04_01_04_9657.jpg
/home/pi/Desktop/images/15122025/04/01/image_15122025_04_01_14_9728.jpg
/home/pi/Desktop/images/15122025/04/01/image_15122025_04_01_25_10582.jpg
/home/pi/Desktop/images/15122025/04/01/image_15122025_04_01_34_9638.jpg
/home/pi/Desktop/images/15122025/04/01/image_15122025_04_01_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":["1399430024","1399430027","1399430023","1399430026","1399430022","1399430025"],"photo_ids_order":["1399430022","1399430023","1399430024","1399430025","1399430026","1399430027"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d87304fb9971ff733c1dd4e3b7d85514.jpg","text":"TemporaryFile(/tmp/multipartBody6443914319777658351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768582906,"filename":"image_15122025_04_01_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/15/fd4f684bc819d99a9d250544c82c75eb.jpg","text":"TemporaryFile(/tmp/multipartBody1408585481818362007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768582906,"filename":"image_15122025_04_01_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/15/7a5c33ecba88753c4d4ba61dea36b33f.jpg","text":"TemporaryFile(/tmp/multipartBody6823095033842391711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768582906,"filename":"image_15122025_04_01_04_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/efb52ddb34a898dbfbcad83942c298d8.jpg","text":"TemporaryFile(/tmp/multipartBody9183196990504155372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768582906,"filename":"image_15122025_04_01_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6a1d14b8f0f78310a2b06903ab366680.jpg","text":"TemporaryFile(/tmp/multipartBody6309296075894653057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768582906,"filename":"image_15122025_04_00_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/15/52b98696eee5b6e45a566f1ddd41b97c.jpg","text":"TemporaryFile(/tmp/multipartBody7500130059324713871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768582906,"filename":"image_15122025_04_01_25_10582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430024","file1":"1399430023","file0":"1399430022","file4":"1399430026","file5":"1399430027","file3":"1399430025"},"map_files_photo_id_array":[{"photo_id":"1399430027","filename":"file5"},{"photo_id":"1399430024","filename":"file2"},{"photo_id":"1399430026","filename":"file4"},{"photo_id":"1399430023","filename":"file1"},{"photo_id":"1399430022","filename":"file0"},{"photo_id":"1399430025","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430024":["hashtag1","hashtag2"]},{"1399430027":["hashtag1","hashtag2"]},{"1399430023":["hashtag1","hashtag2"]},{"1399430026":["hashtag1","hashtag2"]},{"1399430022":["hashtag1","hashtag2"]},{"1399430025":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430024, 1399430027, 1399430023, 1399430026, 1399430022, 1399430025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62718439102173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 04:16:02.896184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/01/image_15122025_04_01_55_10764.jpg', '/home/pi/Desktop/images/15122025/04/01/image_15122025_04_02_04_9549.jpg', '/home/pi/Desktop/images/15122025/04/02/image_15122025_04_02_14_9787.jpg', '/home/pi/Desktop/images/15122025/04/02/image_15122025_04_02_25_10602.jpg', '/home/pi/Desktop/images/15122025/04/02/image_15122025_04_02_34_9586.jpg', '/home/pi/Desktop/images/15122025/04/02/image_15122025_04_02_44_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/01/image_15122025_04_01_55_10764.jpg
/home/pi/Desktop/images/15122025/04/01/image_15122025_04_02_04_9549.jpg
/home/pi/Desktop/images/15122025/04/02/image_15122025_04_02_14_9787.jpg
/home/pi/Desktop/images/15122025/04/02/image_15122025_04_02_25_10602.jpg
/home/pi/Desktop/images/15122025/04/02/image_15122025_04_02_34_9586.jpg
/home/pi/Desktop/images/15122025/04/02/image_15122025_04_02_44_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":["1399430036","1399430044","1399430038","1399430032","1399430040","1399430042"],"photo_ids_order":["1399430032","1399430036","1399430038","1399430040","1399430042","1399430044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/50cc14cc1057a072ad54be5cea660dff.jpg","text":"TemporaryFile(/tmp/multipartBody3127885750886176696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768623520,"filename":"image_15122025_04_02_04_9549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/eef92e02cdd735ba7103da27390dda40.jpg","text":"TemporaryFile(/tmp/multipartBody4869439778296390540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768623520,"filename":"image_15122025_04_02_44_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/13cd07bf2f67044ae6c2514043bcf8bb.jpg","text":"TemporaryFile(/tmp/multipartBody5541276344679826659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768623520,"filename":"image_15122025_04_02_14_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/468b6c16bbc2e42414fe06c17c830868.jpg","text":"TemporaryFile(/tmp/multipartBody1076344776182912675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768623520,"filename":"image_15122025_04_01_55_10764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/baa2a2a851de02e0392ebb971f66dbd5.jpg","text":"TemporaryFile(/tmp/multipartBody4037726391609691149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768623520,"filename":"image_15122025_04_02_25_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/14bbc6d7aa0831d270c9933a1dd99764.jpg","text":"TemporaryFile(/tmp/multipartBody627753087036164588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768623520,"filename":"image_15122025_04_02_34_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430038","file1":"1399430036","file0":"1399430032","file4":"1399430042","file5":"1399430044","file3":"1399430040"},"map_files_photo_id_array":[{"photo_id":"1399430044","filename":"file5"},{"photo_id":"1399430038","filename":"file2"},{"photo_id":"1399430042","filename":"file4"},{"photo_id":"1399430036","filename":"file1"},{"photo_id":"1399430032","filename":"file0"},{"photo_id":"1399430040","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430036":["hashtag1","hashtag2"]},{"1399430044":["hashtag1","hashtag2"]},{"1399430038":["hashtag1","hashtag2"]},{"1399430032":["hashtag1","hashtag2"]},{"1399430040":["hashtag1","hashtag2"]},{"1399430042":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430036, 1399430044, 1399430038, 1399430032, 1399430040, 1399430042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94270730018616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 04:16:42.352702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_23_1690.jpg', '/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_25_1767.jpg', '/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_27_2283.jpg', '/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_29_1847.jpg', '/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_31_1647.jpg', '/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_35_4440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_23_1690.jpg
/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_25_1767.jpg
/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_27_2283.jpg
/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_29_1847.jpg
/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_31_1647.jpg
/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_35_4440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430045","1399430054","1399430048","1399430056","1399430050","1399430052"],"photo_ids_order":["1399430045","1399430048","1399430050","1399430052","1399430054","1399430056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4d3fbedb3e6052651fb03eeb4a3e0d11.jpg","text":"TemporaryFile(/tmp/multipartBody1432062196261264634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768663038,"filename":"image_05112025_13_05_23_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/15/f46638adb496ee5d827fd5c3283090ff.jpg","text":"TemporaryFile(/tmp/multipartBody3657325993355400128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768663038,"filename":"image_05112025_13_05_31_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7ca54848def59cf1220a1a551488efcb.jpg","text":"TemporaryFile(/tmp/multipartBody2580101839125389422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768663038,"filename":"image_05112025_13_05_25_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/15/5f47aa2e1ae6ed0744330595460d3e7d.jpg","text":"TemporaryFile(/tmp/multipartBody577345768611065101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768663038,"filename":"image_05112025_13_05_35_4440.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/708861b8a9853c914dcb957e047ed1ef.jpg","text":"TemporaryFile(/tmp/multipartBody4540190109739822354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768663038,"filename":"image_05112025_13_05_27_2283.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cd3ac1befc9958723924aae747668d68.jpg","text":"TemporaryFile(/tmp/multipartBody978929706522287990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768663038,"filename":"image_05112025_13_05_29_1847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430050","file1":"1399430048","file0":"1399430045","file4":"1399430054","file5":"1399430056","file3":"1399430052"},"map_files_photo_id_array":[{"photo_id":"1399430056","filename":"file5"},{"photo_id":"1399430050","filename":"file2"},{"photo_id":"1399430054","filename":"file4"},{"photo_id":"1399430048","filename":"file1"},{"photo_id":"1399430045","filename":"file0"},{"photo_id":"1399430052","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399430045":["hashtag1","hashtag2"]},{"1399430054":["hashtag1","hashtag2"]},{"1399430048":["hashtag1","hashtag2"]},{"1399430056":["hashtag1","hashtag2"]},{"1399430050":["hashtag1","hashtag2"]},{"1399430052":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399430045, 1399430054, 1399430048, 1399430056, 1399430050, 1399430052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.715232849121094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 04:17:22.632569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/02/image_15122025_04_02_55_10781.jpg', '/home/pi/Desktop/images/15122025/04/02/image_15122025_04_03_04_9728.jpg', '/home/pi/Desktop/images/15122025/04/03/image_15122025_04_03_14_9743.jpg', '/home/pi/Desktop/images/15122025/04/03/image_15122025_04_03_24_9735.jpg', '/home/pi/Desktop/images/15122025/04/03/image_15122025_04_03_34_9867.jpg', '/home/pi/Desktop/images/15122025/04/03/image_15122025_04_03_44_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/02/image_15122025_04_02_55_10781.jpg
/home/pi/Desktop/images/15122025/04/02/image_15122025_04_03_04_9728.jpg
/home/pi/Desktop/images/15122025/04/03/image_15122025_04_03_14_9743.jpg
/home/pi/Desktop/images/15122025/04/03/image_15122025_04_03_24_9735.jpg
/home/pi/Desktop/images/15122025/04/03/image_15122025_04_03_34_9867.jpg
/home/pi/Desktop/images/15122025/04/03/image_15122025_04_03_44_10625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430059","1399430058","1399430061","1399430060","1399430063","1399430057"],"photo_ids_order":["1399430057","1399430058","1399430059","1399430060","1399430061","1399430063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c65650e8ed6e905cf5b53f9d665678bd.jpg","text":"TemporaryFile(/tmp/multipartBody2418016212994162845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768703290,"filename":"image_15122025_04_03_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/15/2ae40be285d24d9b6a7b296d65fa5ee9.jpg","text":"TemporaryFile(/tmp/multipartBody8922519980935131356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768703290,"filename":"image_15122025_04_03_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/15/404037fd3822e484b24f31cbc2cc7916.jpg","text":"TemporaryFile(/tmp/multipartBody570115359040797950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768703290,"filename":"image_15122025_04_03_34_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/15/6b35921859f93702db6566de8d475b2c.jpg","text":"TemporaryFile(/tmp/multipartBody8439381681057127210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768703290,"filename":"image_15122025_04_03_24_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7050100e522530a3f4371c34e5d4f129.jpg","text":"TemporaryFile(/tmp/multipartBody2409225264487455662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768703290,"filename":"image_15122025_04_03_44_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/15/c5dd2c8fb82fbe5063c5866aeb85a206.jpg","text":"TemporaryFile(/tmp/multipartBody9040663124809346751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768703290,"filename":"image_15122025_04_02_55_10781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430059","file1":"1399430058","file0":"1399430057","file4":"1399430061","file5":"1399430063","file3":"1399430060"},"map_files_photo_id_array":[{"photo_id":"1399430063","filename":"file5"},{"photo_id":"1399430059","filename":"file2"},{"photo_id":"1399430061","filename":"file4"},{"photo_id":"1399430058","filename":"file1"},{"photo_id":"1399430057","filename":"file0"},{"photo_id":"1399430060","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430059":["hashtag1","hashtag2"]},{"1399430058":["hashtag1","hashtag2"]},{"1399430061":["hashtag1","hashtag2"]},{"1399430060":["hashtag1","hashtag2"]},{"1399430063":["hashtag1","hashtag2"]},{"1399430057":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430059, 1399430058, 1399430061, 1399430060, 1399430063, 1399430057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.922250509262085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 04:18:02.336237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/03/image_15122025_04_03_54_9760.jpg', '/home/pi/Desktop/images/15122025/04/03/image_15122025_04_04_04_9682.jpg', '/home/pi/Desktop/images/15122025/04/04/image_15122025_04_04_15_10697.jpg', '/home/pi/Desktop/images/15122025/04/04/image_15122025_04_04_34_9648.jpg', '/home/pi/Desktop/images/15122025/04/04/image_15122025_04_04_44_9897.jpg', '/home/pi/Desktop/images/15122025/04/04/image_15122025_04_04_55_10867.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/03/image_15122025_04_03_54_9760.jpg
/home/pi/Desktop/images/15122025/04/03/image_15122025_04_04_04_9682.jpg
/home/pi/Desktop/images/15122025/04/04/image_15122025_04_04_15_10697.jpg
/home/pi/Desktop/images/15122025/04/04/image_15122025_04_04_34_9648.jpg
/home/pi/Desktop/images/15122025/04/04/image_15122025_04_04_44_9897.jpg
/home/pi/Desktop/images/15122025/04/04/image_15122025_04_04_55_10867.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430071","1399430074","1399430077","1399430076","1399430073","1399430075"],"photo_ids_order":["1399430071","1399430073","1399430074","1399430075","1399430076","1399430077"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/84976f055848974647025d5582469108.jpg","text":"TemporaryFile(/tmp/multipartBody2236839411493219621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768742979,"filename":"image_15122025_04_03_54_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/574c174730a85e18b6edb7f1ab40648e.jpg","text":"TemporaryFile(/tmp/multipartBody6911883889753748987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768742979,"filename":"image_15122025_04_04_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/15/46f71b5a5fb20ef7f8462b532776af2a.jpg","text":"TemporaryFile(/tmp/multipartBody6024369734310921850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768742979,"filename":"image_15122025_04_04_55_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/15/0a2c265da3613ba58246a94e2452833b.jpg","text":"TemporaryFile(/tmp/multipartBody6958994220613619894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768742979,"filename":"image_15122025_04_04_44_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/15/f4be27e63f88a4020df92b14fe95f91b.jpg","text":"TemporaryFile(/tmp/multipartBody2964704224436569717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768742979,"filename":"image_15122025_04_04_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/15/c73e70d5973c6dee5da1684eb8043829.jpg","text":"TemporaryFile(/tmp/multipartBody6100549739475110521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768742979,"filename":"image_15122025_04_04_34_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430074","file1":"1399430073","file0":"1399430071","file4":"1399430076","file5":"1399430077","file3":"1399430075"},"map_files_photo_id_array":[{"photo_id":"1399430077","filename":"file5"},{"photo_id":"1399430074","filename":"file2"},{"photo_id":"1399430076","filename":"file4"},{"photo_id":"1399430073","filename":"file1"},{"photo_id":"1399430071","filename":"file0"},{"photo_id":"1399430075","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430071":["hashtag1","hashtag2"]},{"1399430074":["hashtag1","hashtag2"]},{"1399430077":["hashtag1","hashtag2"]},{"1399430076":["hashtag1","hashtag2"]},{"1399430073":["hashtag1","hashtag2"]},{"1399430075":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430071, 1399430074, 1399430077, 1399430076, 1399430073, 1399430075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93671369552612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 04:18:41.933723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_51_16110.jpg', '/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_53_1883.jpg', '/home/pi/Desktop/images/05112025/13/06/image_05112025_13_06_09_15597.jpg', '/home/pi/Desktop/images/05112025/13/06/image_05112025_13_06_30_20703.jpg', '/home/pi/Desktop/images/05112025/13/06/image_05112025_13_06_31_1714.jpg', '/home/pi/Desktop/images/05112025/13/06/image_05112025_13_06_33_1642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_51_16110.jpg
/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_53_1883.jpg
/home/pi/Desktop/images/05112025/13/06/image_05112025_13_06_09_15597.jpg
/home/pi/Desktop/images/05112025/13/06/image_05112025_13_06_30_20703.jpg
/home/pi/Desktop/images/05112025/13/06/image_05112025_13_06_31_1714.jpg
/home/pi/Desktop/images/05112025/13/06/image_05112025_13_06_33_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.5788309574127197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 04:19:03.210499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/04/image_15122025_04_05_04_9556.jpg', '/home/pi/Desktop/images/15122025/04/05/image_15122025_04_05_14_9820.jpg', '/home/pi/Desktop/images/15122025/04/05/image_15122025_04_05_25_10664.jpg', '/home/pi/Desktop/images/15122025/04/05/image_15122025_04_05_34_9703.jpg', '/home/pi/Desktop/images/15122025/04/05/image_15122025_04_05_55_10694.jpg', '/home/pi/Desktop/images/15122025/04/06/image_15122025_04_06_14_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/04/image_15122025_04_05_04_9556.jpg
/home/pi/Desktop/images/15122025/04/05/image_15122025_04_05_14_9820.jpg
/home/pi/Desktop/images/15122025/04/05/image_15122025_04_05_25_10664.jpg
/home/pi/Desktop/images/15122025/04/05/image_15122025_04_05_34_9703.jpg
/home/pi/Desktop/images/15122025/04/05/image_15122025_04_05_55_10694.jpg
/home/pi/Desktop/images/15122025/04/06/image_15122025_04_06_14_9630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430092","1399430089","1399430094","1399430091","1399430093","1399430090"],"photo_ids_order":["1399430089","1399430090","1399430091","1399430092","1399430093","1399430094"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f54a1040c28860fcf5c0d0bf58715855.jpg","text":"TemporaryFile(/tmp/multipartBody646112985082958339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768803992,"filename":"image_15122025_04_05_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/15/5e667b20bd897d9de5e397bc61b74232.jpg","text":"TemporaryFile(/tmp/multipartBody3244264800944278628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768803992,"filename":"image_15122025_04_05_04_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/15/60ce659f25df0835c8ed8f8b08795d15.jpg","text":"TemporaryFile(/tmp/multipartBody6119962619494290864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768803992,"filename":"image_15122025_04_06_14_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6c833193e48f8e776d07725debb506a6.jpg","text":"TemporaryFile(/tmp/multipartBody6247582347164800358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768803992,"filename":"image_15122025_04_05_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/15/9b47293d6275978c8c6a6772f708a1a2.jpg","text":"TemporaryFile(/tmp/multipartBody4389461799468767066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768803992,"filename":"image_15122025_04_05_55_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a094d6944cd0414baaf8e9340befb991.jpg","text":"TemporaryFile(/tmp/multipartBody8914347664561488869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768803992,"filename":"image_15122025_04_05_14_9820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430091","file1":"1399430090","file0":"1399430089","file4":"1399430093","file5":"1399430094","file3":"1399430092"},"map_files_photo_id_array":[{"photo_id":"1399430094","filename":"file5"},{"photo_id":"1399430091","filename":"file2"},{"photo_id":"1399430093","filename":"file4"},{"photo_id":"1399430090","filename":"file1"},{"photo_id":"1399430089","filename":"file0"},{"photo_id":"1399430092","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430092":["hashtag1","hashtag2"]},{"1399430089":["hashtag1","hashtag2"]},{"1399430094":["hashtag1","hashtag2"]},{"1399430091":["hashtag1","hashtag2"]},{"1399430093":["hashtag1","hashtag2"]},{"1399430090":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430092, 1399430089, 1399430094, 1399430091, 1399430093, 1399430090)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.45380735397339 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 04:20:02.864337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/06/image_15122025_04_06_24_9892.jpg', '/home/pi/Desktop/images/15122025/04/06/image_15122025_04_06_35_10795.jpg', '/home/pi/Desktop/images/15122025/04/06/image_15122025_04_06_44_9558.jpg', '/home/pi/Desktop/images/15122025/04/06/image_15122025_04_06_54_9633.jpg', '/home/pi/Desktop/images/15122025/04/06/image_15122025_04_07_05_10704.jpg', '/home/pi/Desktop/images/15122025/04/07/image_15122025_04_07_14_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/06/image_15122025_04_06_24_9892.jpg
/home/pi/Desktop/images/15122025/04/06/image_15122025_04_06_35_10795.jpg
/home/pi/Desktop/images/15122025/04/06/image_15122025_04_06_44_9558.jpg
/home/pi/Desktop/images/15122025/04/06/image_15122025_04_06_54_9633.jpg
/home/pi/Desktop/images/15122025/04/06/image_15122025_04_07_05_10704.jpg
/home/pi/Desktop/images/15122025/04/07/image_15122025_04_07_14_9633.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5855419635772705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 04:20:12.444195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 04:20:22.431420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/06/image_15122025_04_06_24_9892.jpg', '/home/pi/Desktop/images/15122025/04/06/image_15122025_04_06_35_10795.jpg', '/home/pi/Desktop/images/15122025/04/06/image_15122025_04_06_44_9558.jpg', '/home/pi/Desktop/images/15122025/04/06/image_15122025_04_06_54_9633.jpg', '/home/pi/Desktop/images/15122025/04/06/image_15122025_04_07_05_10704.jpg', '/home/pi/Desktop/images/15122025/04/07/image_15122025_04_07_14_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/06/image_15122025_04_06_24_9892.jpg
/home/pi/Desktop/images/15122025/04/06/image_15122025_04_06_35_10795.jpg
/home/pi/Desktop/images/15122025/04/06/image_15122025_04_06_44_9558.jpg
/home/pi/Desktop/images/15122025/04/06/image_15122025_04_06_54_9633.jpg
/home/pi/Desktop/images/15122025/04/06/image_15122025_04_07_05_10704.jpg
/home/pi/Desktop/images/15122025/04/07/image_15122025_04_07_14_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430108","1399430110","1399430113","1399430107","1399430109","1399430106"],"photo_ids_order":["1399430106","1399430107","1399430108","1399430109","1399430110","1399430113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e7083a7aa007e22bca1b00443ad8df5f.jpg","text":"TemporaryFile(/tmp/multipartBody5103822404257356986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768883046,"filename":"image_15122025_04_06_44_9558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0be2e2a96ce913c9332cbaed82a91884.jpg","text":"TemporaryFile(/tmp/multipartBody637650138500280097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768883046,"filename":"image_15122025_04_07_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/15/64877beec4a8128d7118e848b2c3f15e.jpg","text":"TemporaryFile(/tmp/multipartBody3374271717759411265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768883046,"filename":"image_15122025_04_07_14_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a593e86a35d061ac5dc6cdb51641e954.jpg","text":"TemporaryFile(/tmp/multipartBody8183473504996443476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768883046,"filename":"image_15122025_04_06_35_10795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d374af2aa9db0564cee17673abb9dc59.jpg","text":"TemporaryFile(/tmp/multipartBody4086085671427931179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768883046,"filename":"image_15122025_04_06_54_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/12d7a5beaa11c796a5c911b012467c3c.jpg","text":"TemporaryFile(/tmp/multipartBody1644540098282737269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768883046,"filename":"image_15122025_04_06_24_9892.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430108","file1":"1399430107","file0":"1399430106","file4":"1399430110","file5":"1399430113","file3":"1399430109"},"map_files_photo_id_array":[{"photo_id":"1399430113","filename":"file5"},{"photo_id":"1399430108","filename":"file2"},{"photo_id":"1399430110","filename":"file4"},{"photo_id":"1399430107","filename":"file1"},{"photo_id":"1399430106","filename":"file0"},{"photo_id":"1399430109","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430108":["hashtag1","hashtag2"]},{"1399430110":["hashtag1","hashtag2"]},{"1399430113":["hashtag1","hashtag2"]},{"1399430107":["hashtag1","hashtag2"]},{"1399430109":["hashtag1","hashtag2"]},{"1399430106":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430108, 1399430110, 1399430113, 1399430107, 1399430109, 1399430106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7221405506134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 04:21:03.500425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/07/image_15122025_04_07_24_9708.jpg', '/home/pi/Desktop/images/15122025/04/07/image_15122025_04_07_34_10588.jpg', '/home/pi/Desktop/images/15122025/04/07/image_15122025_04_07_44_9731.jpg', '/home/pi/Desktop/images/15122025/04/07/image_15122025_04_07_54_9721.jpg', '/home/pi/Desktop/images/15122025/04/07/image_15122025_04_08_05_10740.jpg', '/home/pi/Desktop/images/15122025/04/08/image_15122025_04_08_14_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/07/image_15122025_04_07_24_9708.jpg
/home/pi/Desktop/images/15122025/04/07/image_15122025_04_07_34_10588.jpg
/home/pi/Desktop/images/15122025/04/07/image_15122025_04_07_44_9731.jpg
/home/pi/Desktop/images/15122025/04/07/image_15122025_04_07_54_9721.jpg
/home/pi/Desktop/images/15122025/04/07/image_15122025_04_08_05_10740.jpg
/home/pi/Desktop/images/15122025/04/08/image_15122025_04_08_14_9762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430126","1399430129","1399430128","1399430130","1399430127","1399430124"],"photo_ids_order":["1399430124","1399430126","1399430127","1399430128","1399430129","1399430130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7faa5818694e4eb3deb1eb0a7411c5cd.jpg","text":"TemporaryFile(/tmp/multipartBody8444120547231218598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768924169,"filename":"image_15122025_04_07_34_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/15/ac81bc995ff0c4b15f06733d1c29a600.jpg","text":"TemporaryFile(/tmp/multipartBody1007749661374530420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768924169,"filename":"image_15122025_04_08_05_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e8f8754d7200c5d1340743c7abaa9814.jpg","text":"TemporaryFile(/tmp/multipartBody4416855798489320231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768924169,"filename":"image_15122025_04_07_54_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/11223947d37647a242fe5ff4a69c1770.jpg","text":"TemporaryFile(/tmp/multipartBody8458873292790359598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768924169,"filename":"image_15122025_04_08_14_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/849e64b97be37a268c8334707206aaf1.jpg","text":"TemporaryFile(/tmp/multipartBody7802406454941071803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768924169,"filename":"image_15122025_04_07_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/15/c50f2aa160aa6e402259f158e677ee35.jpg","text":"TemporaryFile(/tmp/multipartBody3938787063528592402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768924169,"filename":"image_15122025_04_07_24_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430127","file1":"1399430126","file0":"1399430124","file4":"1399430129","file5":"1399430130","file3":"1399430128"},"map_files_photo_id_array":[{"photo_id":"1399430130","filename":"file5"},{"photo_id":"1399430127","filename":"file2"},{"photo_id":"1399430129","filename":"file4"},{"photo_id":"1399430126","filename":"file1"},{"photo_id":"1399430124","filename":"file0"},{"photo_id":"1399430128","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430126":["hashtag1","hashtag2"]},{"1399430129":["hashtag1","hashtag2"]},{"1399430128":["hashtag1","hashtag2"]},{"1399430130":["hashtag1","hashtag2"]},{"1399430127":["hashtag1","hashtag2"]},{"1399430124":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430126, 1399430129, 1399430128, 1399430130, 1399430127, 1399430124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83996391296387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 04:21:42.879232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_51_16110.jpg', '/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_53_1883.jpg', '/home/pi/Desktop/images/05112025/13/06/image_05112025_13_06_09_15597.jpg', '/home/pi/Desktop/images/05112025/13/06/image_05112025_13_06_30_20703.jpg', '/home/pi/Desktop/images/05112025/13/06/image_05112025_13_06_31_1714.jpg', '/home/pi/Desktop/images/05112025/13/06/image_05112025_13_06_33_1642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_51_16110.jpg
/home/pi/Desktop/images/05112025/13/05/image_05112025_13_05_53_1883.jpg
/home/pi/Desktop/images/05112025/13/06/image_05112025_13_06_09_15597.jpg
/home/pi/Desktop/images/05112025/13/06/image_05112025_13_06_30_20703.jpg
/home/pi/Desktop/images/05112025/13/06/image_05112025_13_06_31_1714.jpg
/home/pi/Desktop/images/05112025/13/06/image_05112025_13_06_33_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":["1399430138","1399430132","1399430140","1399430134","1399430142","1399430136"],"photo_ids_order":["1399430132","1399430134","1399430136","1399430138","1399430140","1399430142"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/623eeb7e19e19bc890636a001b934884.jpg","text":"TemporaryFile(/tmp/multipartBody3648469125754337153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768963456,"filename":"image_05112025_13_06_30_20703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/be299c4d9965a219f67448ef8aa78e36.jpg","text":"TemporaryFile(/tmp/multipartBody5222975376626933709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768963456,"filename":"image_05112025_13_05_51_16110.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/45fa6fcafbaa72810650f7ebf6a99f91.jpg","text":"TemporaryFile(/tmp/multipartBody520465246806494167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768963456,"filename":"image_05112025_13_06_31_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/15/7c8d53deb8a21998624b4f29d4d3b92c.jpg","text":"TemporaryFile(/tmp/multipartBody610910522710877312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768963456,"filename":"image_05112025_13_05_53_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/15/2e2342ea6751982c2ed2770f396135e9.jpg","text":"TemporaryFile(/tmp/multipartBody6944043033467277807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768963456,"filename":"image_05112025_13_06_33_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/15/0bbee33e3011d214329cd20de0902f84.jpg","text":"TemporaryFile(/tmp/multipartBody2333313205550150396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765768963456,"filename":"image_05112025_13_06_09_15597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430136","file1":"1399430134","file0":"1399430132","file4":"1399430140","file5":"1399430142","file3":"1399430138"},"map_files_photo_id_array":[{"photo_id":"1399430142","filename":"file5"},{"photo_id":"1399430136","filename":"file2"},{"photo_id":"1399430140","filename":"file4"},{"photo_id":"1399430134","filename":"file1"},{"photo_id":"1399430132","filename":"file0"},{"photo_id":"1399430138","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399430138":["hashtag1","hashtag2"]},{"1399430132":["hashtag1","hashtag2"]},{"1399430140":["hashtag1","hashtag2"]},{"1399430134":["hashtag1","hashtag2"]},{"1399430142":["hashtag1","hashtag2"]},{"1399430136":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399430138, 1399430132, 1399430140, 1399430134, 1399430142, 1399430136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54901957511902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 04:22:22.116317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/08/image_15122025_04_08_24_9750.jpg', '/home/pi/Desktop/images/15122025/04/08/image_15122025_04_08_34_9837.jpg', '/home/pi/Desktop/images/15122025/04/08/image_15122025_04_08_45_10708.jpg', '/home/pi/Desktop/images/15122025/04/08/image_15122025_04_08_54_9592.jpg', '/home/pi/Desktop/images/15122025/04/09/image_15122025_04_09_14_9808.jpg', '/home/pi/Desktop/images/15122025/04/09/image_15122025_04_09_25_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/08/image_15122025_04_08_24_9750.jpg
/home/pi/Desktop/images/15122025/04/08/image_15122025_04_08_34_9837.jpg
/home/pi/Desktop/images/15122025/04/08/image_15122025_04_08_45_10708.jpg
/home/pi/Desktop/images/15122025/04/08/image_15122025_04_08_54_9592.jpg
/home/pi/Desktop/images/15122025/04/09/image_15122025_04_09_14_9808.jpg
/home/pi/Desktop/images/15122025/04/09/image_15122025_04_09_25_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":["1399430144","1399430147","1399430146","1399430143","1399430145","1399430148"],"photo_ids_order":["1399430143","1399430144","1399430145","1399430146","1399430147","1399430148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/209715e8ce363ba08c2806ed814ae6c7.jpg","text":"TemporaryFile(/tmp/multipartBody2151796005003677688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769002725,"filename":"image_15122025_04_08_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/15/5b1ee77dd9d9b97e6b70852890eb4b9a.jpg","text":"TemporaryFile(/tmp/multipartBody9060916524044065024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769002725,"filename":"image_15122025_04_09_14_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b9bef86ca15ddc4165c68d0bc0fa50ce.jpg","text":"TemporaryFile(/tmp/multipartBody3859275531335385833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769002725,"filename":"image_15122025_04_08_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/15/406e985c6ffd0c6b3d0d41fed55d2dca.jpg","text":"TemporaryFile(/tmp/multipartBody2993959679223709219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769002725,"filename":"image_15122025_04_08_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/15/479ad72d7da2dfb8289285cb5b721e9a.jpg","text":"TemporaryFile(/tmp/multipartBody8322717742376751248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769002725,"filename":"image_15122025_04_08_45_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/359bd070e16bec00a9a46daa585db6b2.jpg","text":"TemporaryFile(/tmp/multipartBody2384502228045263190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769002725,"filename":"image_15122025_04_09_25_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430145","file1":"1399430144","file0":"1399430143","file4":"1399430147","file5":"1399430148","file3":"1399430146"},"map_files_photo_id_array":[{"photo_id":"1399430148","filename":"file5"},{"photo_id":"1399430145","filename":"file2"},{"photo_id":"1399430147","filename":"file4"},{"photo_id":"1399430144","filename":"file1"},{"photo_id":"1399430143","filename":"file0"},{"photo_id":"1399430146","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430144":["hashtag1","hashtag2"]},{"1399430147":["hashtag1","hashtag2"]},{"1399430146":["hashtag1","hashtag2"]},{"1399430143":["hashtag1","hashtag2"]},{"1399430145":["hashtag1","hashtag2"]},{"1399430148":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430144, 1399430147, 1399430146, 1399430143, 1399430145, 1399430148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7415132522583 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 04:23:03.147947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/09/image_15122025_04_09_34_9548.jpg', '/home/pi/Desktop/images/15122025/04/09/image_15122025_04_09_44_9618.jpg', '/home/pi/Desktop/images/15122025/04/09/image_15122025_04_09_54_9952.jpg', '/home/pi/Desktop/images/15122025/04/09/image_15122025_04_10_04_10702.jpg', '/home/pi/Desktop/images/15122025/04/10/image_15122025_04_10_14_9676.jpg', '/home/pi/Desktop/images/15122025/04/10/image_15122025_04_10_24_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/09/image_15122025_04_09_34_9548.jpg
/home/pi/Desktop/images/15122025/04/09/image_15122025_04_09_44_9618.jpg
/home/pi/Desktop/images/15122025/04/09/image_15122025_04_09_54_9952.jpg
/home/pi/Desktop/images/15122025/04/09/image_15122025_04_10_04_10702.jpg
/home/pi/Desktop/images/15122025/04/10/image_15122025_04_10_14_9676.jpg
/home/pi/Desktop/images/15122025/04/10/image_15122025_04_10_24_9735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430165","1399430159","1399430153","1399430161","1399430163","1399430156"],"photo_ids_order":["1399430153","1399430156","1399430159","1399430161","1399430163","1399430165"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4981c0b0c35a7037eaec4bb44c91ae9c.jpg","text":"TemporaryFile(/tmp/multipartBody8672622085057850346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769043839,"filename":"image_15122025_04_10_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/15/a558182b8ff5563eaa82240bb749cd98.jpg","text":"TemporaryFile(/tmp/multipartBody5327789469775642022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769043839,"filename":"image_15122025_04_09_54_9952.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1201f4fbc486121b0b64862e3674da82.jpg","text":"TemporaryFile(/tmp/multipartBody8909021725145658459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769043839,"filename":"image_15122025_04_09_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/15/5700f7a0dde7c4751eb688a691b73e1c.jpg","text":"TemporaryFile(/tmp/multipartBody5565448300200806588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769043839,"filename":"image_15122025_04_10_04_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/50a3ab2f1991346c526ab90154c9d3c5.jpg","text":"TemporaryFile(/tmp/multipartBody3828150254409061172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769043839,"filename":"image_15122025_04_10_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/15/f35e7f91107693d21f53d23d04fb7964.jpg","text":"TemporaryFile(/tmp/multipartBody3440673552702976260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769043839,"filename":"image_15122025_04_09_44_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430159","file1":"1399430156","file0":"1399430153","file4":"1399430163","file5":"1399430165","file3":"1399430161"},"map_files_photo_id_array":[{"photo_id":"1399430165","filename":"file5"},{"photo_id":"1399430159","filename":"file2"},{"photo_id":"1399430163","filename":"file4"},{"photo_id":"1399430156","filename":"file1"},{"photo_id":"1399430153","filename":"file0"},{"photo_id":"1399430161","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430165":["hashtag1","hashtag2"]},{"1399430159":["hashtag1","hashtag2"]},{"1399430153":["hashtag1","hashtag2"]},{"1399430161":["hashtag1","hashtag2"]},{"1399430163":["hashtag1","hashtag2"]},{"1399430156":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430165, 1399430159, 1399430153, 1399430161, 1399430163, 1399430156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7464394569397 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 04:23:42.316559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/06/image_05112025_13_06_35_1612.jpg', '/home/pi/Desktop/images/05112025/13/06/image_05112025_13_06_47_12605.jpg', '/home/pi/Desktop/images/05112025/13/06/image_05112025_13_06_49_1654.jpg', '/home/pi/Desktop/images/05112025/13/06/image_05112025_13_06_50_1682.jpg', '/home/pi/Desktop/images/05112025/13/06/image_05112025_13_06_52_1688.jpg', '/home/pi/Desktop/images/05112025/13/06/image_05112025_13_06_54_1665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/06/image_05112025_13_06_35_1612.jpg
/home/pi/Desktop/images/05112025/13/06/image_05112025_13_06_47_12605.jpg
/home/pi/Desktop/images/05112025/13/06/image_05112025_13_06_49_1654.jpg
/home/pi/Desktop/images/05112025/13/06/image_05112025_13_06_50_1682.jpg
/home/pi/Desktop/images/05112025/13/06/image_05112025_13_06_52_1688.jpg
/home/pi/Desktop/images/05112025/13/06/image_05112025_13_06_54_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":["1399430171","1399430179","1399430176","1399430166","1399430169","1399430174"],"photo_ids_order":["1399430166","1399430169","1399430171","1399430174","1399430176","1399430179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f966b163f4dc6a85a78ccbbd4962c96e.jpg","text":"TemporaryFile(/tmp/multipartBody2362959919221615163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769083001,"filename":"image_05112025_13_06_49_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/82a1fed24948fa8cb32fba8425259d27.jpg","text":"TemporaryFile(/tmp/multipartBody1750018508622692806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769083001,"filename":"image_05112025_13_06_54_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/15/3685a665bb1ee55d606a11cca17e3b8a.jpg","text":"TemporaryFile(/tmp/multipartBody64169215104119152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769083001,"filename":"image_05112025_13_06_52_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/15/e368391c93ff78b28620166f5fc75dad.jpg","text":"TemporaryFile(/tmp/multipartBody9011481452451169704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769083001,"filename":"image_05112025_13_06_35_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/15/e05b7fbe8d91d9fa3305371e4b57dded.jpg","text":"TemporaryFile(/tmp/multipartBody5519869015908006259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769083001,"filename":"image_05112025_13_06_47_12605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cf153f7953306b908deb82288dce0a26.jpg","text":"TemporaryFile(/tmp/multipartBody7902470289942578976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769083001,"filename":"image_05112025_13_06_50_1682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430171","file1":"1399430169","file0":"1399430166","file4":"1399430176","file5":"1399430179","file3":"1399430174"},"map_files_photo_id_array":[{"photo_id":"1399430179","filename":"file5"},{"photo_id":"1399430171","filename":"file2"},{"photo_id":"1399430176","filename":"file4"},{"photo_id":"1399430169","filename":"file1"},{"photo_id":"1399430166","filename":"file0"},{"photo_id":"1399430174","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399430171":["hashtag1","hashtag2"]},{"1399430179":["hashtag1","hashtag2"]},{"1399430176":["hashtag1","hashtag2"]},{"1399430166":["hashtag1","hashtag2"]},{"1399430169":["hashtag1","hashtag2"]},{"1399430174":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399430171, 1399430179, 1399430176, 1399430166, 1399430169, 1399430174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.968679904937744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 04:24:22.513907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/10/image_15122025_04_10_44_9563.jpg', '/home/pi/Desktop/images/15122025/04/10/image_15122025_04_10_54_9667.jpg', '/home/pi/Desktop/images/15122025/04/10/image_15122025_04_11_05_10691.jpg', '/home/pi/Desktop/images/15122025/04/11/image_15122025_04_11_14_9901.jpg', '/home/pi/Desktop/images/15122025/04/11/image_15122025_04_11_24_9715.jpg', '/home/pi/Desktop/images/15122025/04/11/image_15122025_04_11_34_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/10/image_15122025_04_10_44_9563.jpg
/home/pi/Desktop/images/15122025/04/10/image_15122025_04_10_54_9667.jpg
/home/pi/Desktop/images/15122025/04/10/image_15122025_04_11_05_10691.jpg
/home/pi/Desktop/images/15122025/04/11/image_15122025_04_11_14_9901.jpg
/home/pi/Desktop/images/15122025/04/11/image_15122025_04_11_24_9715.jpg
/home/pi/Desktop/images/15122025/04/11/image_15122025_04_11_34_9618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430191","1399430188","1399430184","1399430187","1399430186","1399430189"],"photo_ids_order":["1399430184","1399430186","1399430187","1399430188","1399430189","1399430191"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/764acf568963947e3e0947373a6f2bda.jpg","text":"TemporaryFile(/tmp/multipartBody3788203659799205838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769123125,"filename":"image_15122025_04_11_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/15/1fa05fe34971e964ca038e16c411cdda.jpg","text":"TemporaryFile(/tmp/multipartBody1911872990416718033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769123125,"filename":"image_15122025_04_11_14_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/15/b5f3179731d6b27a40880e10d4dd9e8c.jpg","text":"TemporaryFile(/tmp/multipartBody8724430467092555298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769123125,"filename":"image_15122025_04_10_44_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bcb0ab9e1dadc6970dba38f3865adf5f.jpg","text":"TemporaryFile(/tmp/multipartBody30987825241940369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769123125,"filename":"image_15122025_04_11_05_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7077eeada742b2f19f42329b1f7841e4.jpg","text":"TemporaryFile(/tmp/multipartBody2804924103888683612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769123125,"filename":"image_15122025_04_10_54_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e7a9d9393b4e54856829da5581782b50.jpg","text":"TemporaryFile(/tmp/multipartBody6826705229776463447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769123125,"filename":"image_15122025_04_11_24_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430187","file1":"1399430186","file0":"1399430184","file4":"1399430189","file5":"1399430191","file3":"1399430188"},"map_files_photo_id_array":[{"photo_id":"1399430191","filename":"file5"},{"photo_id":"1399430187","filename":"file2"},{"photo_id":"1399430189","filename":"file4"},{"photo_id":"1399430186","filename":"file1"},{"photo_id":"1399430184","filename":"file0"},{"photo_id":"1399430188","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430191":["hashtag1","hashtag2"]},{"1399430188":["hashtag1","hashtag2"]},{"1399430184":["hashtag1","hashtag2"]},{"1399430187":["hashtag1","hashtag2"]},{"1399430186":["hashtag1","hashtag2"]},{"1399430189":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430191, 1399430188, 1399430184, 1399430187, 1399430186, 1399430189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.366063833236694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 04:25:03.218572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/11/image_15122025_04_11_54_9661.jpg', '/home/pi/Desktop/images/15122025/04/11/image_15122025_04_12_04_9804.jpg', '/home/pi/Desktop/images/15122025/04/12/image_15122025_04_12_15_10743.jpg', '/home/pi/Desktop/images/15122025/04/12/image_15122025_04_12_24_9644.jpg', '/home/pi/Desktop/images/15122025/04/12/image_15122025_04_12_34_9801.jpg', '/home/pi/Desktop/images/15122025/04/12/image_15122025_04_12_55_10844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/11/image_15122025_04_11_54_9661.jpg
/home/pi/Desktop/images/15122025/04/11/image_15122025_04_12_04_9804.jpg
/home/pi/Desktop/images/15122025/04/12/image_15122025_04_12_15_10743.jpg
/home/pi/Desktop/images/15122025/04/12/image_15122025_04_12_24_9644.jpg
/home/pi/Desktop/images/15122025/04/12/image_15122025_04_12_34_9801.jpg
/home/pi/Desktop/images/15122025/04/12/image_15122025_04_12_55_10844.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430201","1399430200","1399430196","1399430199","1399430198","1399430202"],"photo_ids_order":["1399430196","1399430198","1399430199","1399430200","1399430201","1399430202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b886102b82b8fe9bb00be1fecac4c652.jpg","text":"TemporaryFile(/tmp/multipartBody4875245464149364684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769163901,"filename":"image_15122025_04_12_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/15/6aa2b2dee9fa1b232db9915408ecbd0f.jpg","text":"TemporaryFile(/tmp/multipartBody4256864166350598174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769163901,"filename":"image_15122025_04_12_24_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e57495c5f657102e7d2bcab58dd91a85.jpg","text":"TemporaryFile(/tmp/multipartBody812179445077885507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769163901,"filename":"image_15122025_04_11_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/15/400c007a2a0a358f6bb2c34e4f9dca5a.jpg","text":"TemporaryFile(/tmp/multipartBody3468135776665618516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769163901,"filename":"image_15122025_04_12_15_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/15/ec4955a49d8c75c722292084b187d4d9.jpg","text":"TemporaryFile(/tmp/multipartBody3136820966858137411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769163901,"filename":"image_15122025_04_12_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/15/666218ca9d01acdcf988bb24c13377d3.jpg","text":"TemporaryFile(/tmp/multipartBody5029063468447474689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769163901,"filename":"image_15122025_04_12_55_10844.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430199","file1":"1399430198","file0":"1399430196","file4":"1399430201","file5":"1399430202","file3":"1399430200"},"map_files_photo_id_array":[{"photo_id":"1399430202","filename":"file5"},{"photo_id":"1399430199","filename":"file2"},{"photo_id":"1399430201","filename":"file4"},{"photo_id":"1399430198","filename":"file1"},{"photo_id":"1399430196","filename":"file0"},{"photo_id":"1399430200","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430201":["hashtag1","hashtag2"]},{"1399430200":["hashtag1","hashtag2"]},{"1399430196":["hashtag1","hashtag2"]},{"1399430199":["hashtag1","hashtag2"]},{"1399430198":["hashtag1","hashtag2"]},{"1399430202":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430201, 1399430200, 1399430196, 1399430199, 1399430198, 1399430202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.397414684295654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 04:25:42.732605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/06/image_05112025_13_06_55_1556.jpg', '/home/pi/Desktop/images/05112025/13/06/image_05112025_13_06_57_1721.jpg', '/home/pi/Desktop/images/05112025/13/06/image_05112025_13_06_59_1592.jpg', '/home/pi/Desktop/images/05112025/13/06/image_05112025_13_07_00_1714.jpg', '/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_02_1762.jpg', '/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_04_1652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/06/image_05112025_13_06_55_1556.jpg
/home/pi/Desktop/images/05112025/13/06/image_05112025_13_06_57_1721.jpg
/home/pi/Desktop/images/05112025/13/06/image_05112025_13_06_59_1592.jpg
/home/pi/Desktop/images/05112025/13/06/image_05112025_13_07_00_1714.jpg
/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_02_1762.jpg
/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_04_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":["1399430210","1399430203","1399430212","1399430206","1399430214","1399430208"],"photo_ids_order":["1399430203","1399430206","1399430208","1399430210","1399430212","1399430214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3d08f74d7b395b7006d3a953d8bbdf07.jpg","text":"TemporaryFile(/tmp/multipartBody4290996430073179202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769203401,"filename":"image_05112025_13_07_00_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/15/05b8856a742cfdb547bc49920e07e928.jpg","text":"TemporaryFile(/tmp/multipartBody7258890975383168867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769203401,"filename":"image_05112025_13_06_55_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/15/6401b05dfdbf9207642878a6b2a8f81e.jpg","text":"TemporaryFile(/tmp/multipartBody5841660456573318841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769203401,"filename":"image_05112025_13_07_02_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/15/023ca6cace77e7f739fcac257449fd9b.jpg","text":"TemporaryFile(/tmp/multipartBody243666438503681616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769203401,"filename":"image_05112025_13_06_57_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/15/2c67b49b75ed84a7421f74d7ca9c8fc3.jpg","text":"TemporaryFile(/tmp/multipartBody5455427391214671390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769203401,"filename":"image_05112025_13_07_04_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/15/9a397cd77841df9121ff9808e0cfa8f2.jpg","text":"TemporaryFile(/tmp/multipartBody7986854451322448348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769203401,"filename":"image_05112025_13_06_59_1592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430208","file1":"1399430206","file0":"1399430203","file4":"1399430212","file5":"1399430214","file3":"1399430210"},"map_files_photo_id_array":[{"photo_id":"1399430214","filename":"file5"},{"photo_id":"1399430208","filename":"file2"},{"photo_id":"1399430212","filename":"file4"},{"photo_id":"1399430206","filename":"file1"},{"photo_id":"1399430203","filename":"file0"},{"photo_id":"1399430210","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399430210":["hashtag1","hashtag2"]},{"1399430203":["hashtag1","hashtag2"]},{"1399430212":["hashtag1","hashtag2"]},{"1399430206":["hashtag1","hashtag2"]},{"1399430214":["hashtag1","hashtag2"]},{"1399430208":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399430210, 1399430203, 1399430212, 1399430206, 1399430214, 1399430208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.413761138916016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 04:26:22.112430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/12/image_15122025_04_13_04_9667.jpg', '/home/pi/Desktop/images/15122025/04/13/image_15122025_04_13_14_9577.jpg', '/home/pi/Desktop/images/15122025/04/13/image_15122025_04_13_25_10681.jpg', '/home/pi/Desktop/images/15122025/04/13/image_15122025_04_13_34_9661.jpg', '/home/pi/Desktop/images/15122025/04/13/image_15122025_04_13_44_9882.jpg', '/home/pi/Desktop/images/15122025/04/13/image_15122025_04_13_54_10027.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/12/image_15122025_04_13_04_9667.jpg
/home/pi/Desktop/images/15122025/04/13/image_15122025_04_13_14_9577.jpg
/home/pi/Desktop/images/15122025/04/13/image_15122025_04_13_25_10681.jpg
/home/pi/Desktop/images/15122025/04/13/image_15122025_04_13_34_9661.jpg
/home/pi/Desktop/images/15122025/04/13/image_15122025_04_13_44_9882.jpg
/home/pi/Desktop/images/15122025/04/13/image_15122025_04_13_54_10027.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430216","1399430219","1399430215","1399430218","1399430220","1399430217"],"photo_ids_order":["1399430215","1399430216","1399430217","1399430218","1399430219","1399430220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c6a5facccd825f2485b1f223b9f8a709.jpg","text":"TemporaryFile(/tmp/multipartBody158967492467420300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769242761,"filename":"image_15122025_04_13_14_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c908f76708aa078d67b71e08b7062cce.jpg","text":"TemporaryFile(/tmp/multipartBody7150755700156547008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769242761,"filename":"image_15122025_04_13_44_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bd90c48893b81c39a82c3101a5539dec.jpg","text":"TemporaryFile(/tmp/multipartBody1000717760417805752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769242761,"filename":"image_15122025_04_13_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/15/b9ab4cd09661aa44495d7a48ca3cb7ad.jpg","text":"TemporaryFile(/tmp/multipartBody6386256665604335245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769242761,"filename":"image_15122025_04_13_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/15/33bdb6f10d0f70618de9baa658db144d.jpg","text":"TemporaryFile(/tmp/multipartBody3659646363745121160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769242761,"filename":"image_15122025_04_13_54_10027.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9386c7d6c396910090baaf904156cb48.jpg","text":"TemporaryFile(/tmp/multipartBody5401680779916222092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769242761,"filename":"image_15122025_04_13_25_10681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430217","file1":"1399430216","file0":"1399430215","file4":"1399430219","file5":"1399430220","file3":"1399430218"},"map_files_photo_id_array":[{"photo_id":"1399430220","filename":"file5"},{"photo_id":"1399430217","filename":"file2"},{"photo_id":"1399430219","filename":"file4"},{"photo_id":"1399430216","filename":"file1"},{"photo_id":"1399430215","filename":"file0"},{"photo_id":"1399430218","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430216":["hashtag1","hashtag2"]},{"1399430219":["hashtag1","hashtag2"]},{"1399430215":["hashtag1","hashtag2"]},{"1399430218":["hashtag1","hashtag2"]},{"1399430220":["hashtag1","hashtag2"]},{"1399430217":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430216, 1399430219, 1399430215, 1399430218, 1399430220, 1399430217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.871350049972534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 04:27:02.924079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/13/image_15122025_04_14_04_9791.jpg', '/home/pi/Desktop/images/15122025/04/14/image_15122025_04_14_15_10770.jpg', '/home/pi/Desktop/images/15122025/04/14/image_15122025_04_14_24_9664.jpg', '/home/pi/Desktop/images/15122025/04/14/image_15122025_04_14_34_9634.jpg', '/home/pi/Desktop/images/15122025/04/14/image_15122025_04_14_44_9824.jpg', '/home/pi/Desktop/images/15122025/04/14/image_15122025_04_14_54_10724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/13/image_15122025_04_14_04_9791.jpg
/home/pi/Desktop/images/15122025/04/14/image_15122025_04_14_15_10770.jpg
/home/pi/Desktop/images/15122025/04/14/image_15122025_04_14_24_9664.jpg
/home/pi/Desktop/images/15122025/04/14/image_15122025_04_14_34_9634.jpg
/home/pi/Desktop/images/15122025/04/14/image_15122025_04_14_44_9824.jpg
/home/pi/Desktop/images/15122025/04/14/image_15122025_04_14_54_10724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430231","1399430233","1399430236","1399430238","1399430226","1399430229"],"photo_ids_order":["1399430226","1399430229","1399430231","1399430233","1399430236","1399430238"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b9b41dadadca5dc555cbe0214e625bf8.jpg","text":"TemporaryFile(/tmp/multipartBody7732045940968884478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769283638,"filename":"image_15122025_04_14_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/15/9a235020beea363bbf620355e9b28fb9.jpg","text":"TemporaryFile(/tmp/multipartBody56055632392355170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769283638,"filename":"image_15122025_04_14_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/15/1ca01e454d3afaa6313507dee01d818d.jpg","text":"TemporaryFile(/tmp/multipartBody2860482662796773473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769283638,"filename":"image_15122025_04_14_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/15/ef69d26f602c9347c8424c3c657aa726.jpg","text":"TemporaryFile(/tmp/multipartBody7881067135505996767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769283638,"filename":"image_15122025_04_14_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/15/b9a5f8182200e17b69ffef5eafaf7ebd.jpg","text":"TemporaryFile(/tmp/multipartBody7411147570626686879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769283638,"filename":"image_15122025_04_14_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/15/1c65126175acdcbdb27deeb1e70aa9d3.jpg","text":"TemporaryFile(/tmp/multipartBody364180655425669175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769283638,"filename":"image_15122025_04_14_15_10770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430231","file1":"1399430229","file0":"1399430226","file4":"1399430236","file5":"1399430238","file3":"1399430233"},"map_files_photo_id_array":[{"photo_id":"1399430238","filename":"file5"},{"photo_id":"1399430231","filename":"file2"},{"photo_id":"1399430236","filename":"file4"},{"photo_id":"1399430229","filename":"file1"},{"photo_id":"1399430226","filename":"file0"},{"photo_id":"1399430233","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430231":["hashtag1","hashtag2"]},{"1399430233":["hashtag1","hashtag2"]},{"1399430236":["hashtag1","hashtag2"]},{"1399430238":["hashtag1","hashtag2"]},{"1399430226":["hashtag1","hashtag2"]},{"1399430229":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430231, 1399430233, 1399430236, 1399430238, 1399430226, 1399430229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63019871711731 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 04:27:42.332944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_06_1729.jpg', '/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_07_1640.jpg', '/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_10_3293.jpg', '/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_12_1617.jpg', '/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_14_1677.jpg', '/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_15_1514.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_06_1729.jpg
/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_07_1640.jpg
/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_10_3293.jpg
/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_12_1617.jpg
/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_14_1677.jpg
/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_15_1514.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430246","1399430248","1399430242","1399430250","1399430244","1399430240"],"photo_ids_order":["1399430240","1399430242","1399430244","1399430246","1399430248","1399430250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/20bd7bf3696221757b592c7ec3726c9c.jpg","text":"TemporaryFile(/tmp/multipartBody7997211110105121836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769323010,"filename":"image_05112025_13_07_12_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/15/dec7c3dbf784d08ab078178d8afde503.jpg","text":"TemporaryFile(/tmp/multipartBody1264128489320754785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769323010,"filename":"image_05112025_13_07_14_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/15/4696aab667284464586aee50e594ffb1.jpg","text":"TemporaryFile(/tmp/multipartBody8288242636896890188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769323010,"filename":"image_05112025_13_07_07_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/15/493f8544134ec033b39f222435301b44.jpg","text":"TemporaryFile(/tmp/multipartBody3339354652286106007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769323010,"filename":"image_05112025_13_07_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/15/03ffb15f18ca1e5dd8b64789b7e6ee53.jpg","text":"TemporaryFile(/tmp/multipartBody131853224776883313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769323010,"filename":"image_05112025_13_07_10_3293.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/931194c6f3de59d0214194f4c296b7b8.jpg","text":"TemporaryFile(/tmp/multipartBody1050089226483354124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769323010,"filename":"image_05112025_13_07_06_1729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430244","file1":"1399430242","file0":"1399430240","file4":"1399430248","file5":"1399430250","file3":"1399430246"},"map_files_photo_id_array":[{"photo_id":"1399430250","filename":"file5"},{"photo_id":"1399430244","filename":"file2"},{"photo_id":"1399430248","filename":"file4"},{"photo_id":"1399430242","filename":"file1"},{"photo_id":"1399430240","filename":"file0"},{"photo_id":"1399430246","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399430246":["hashtag1","hashtag2"]},{"1399430248":["hashtag1","hashtag2"]},{"1399430242":["hashtag1","hashtag2"]},{"1399430250":["hashtag1","hashtag2"]},{"1399430244":["hashtag1","hashtag2"]},{"1399430240":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399430246, 1399430248, 1399430242, 1399430250, 1399430244, 1399430240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.104867696762085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 04:28:22.617819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/14/image_15122025_04_15_04_9739.jpg', '/home/pi/Desktop/images/15122025/04/15/image_15122025_04_15_14_9777.jpg', '/home/pi/Desktop/images/15122025/04/15/image_15122025_04_15_25_10577.jpg', '/home/pi/Desktop/images/15122025/04/15/image_15122025_04_15_34_9732.jpg', '/home/pi/Desktop/images/15122025/04/15/image_15122025_04_15_44_9544.jpg', '/home/pi/Desktop/images/15122025/04/15/image_15122025_04_15_55_10737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/14/image_15122025_04_15_04_9739.jpg
/home/pi/Desktop/images/15122025/04/15/image_15122025_04_15_14_9777.jpg
/home/pi/Desktop/images/15122025/04/15/image_15122025_04_15_25_10577.jpg
/home/pi/Desktop/images/15122025/04/15/image_15122025_04_15_34_9732.jpg
/home/pi/Desktop/images/15122025/04/15/image_15122025_04_15_44_9544.jpg
/home/pi/Desktop/images/15122025/04/15/image_15122025_04_15_55_10737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430251","1399430254","1399430256","1399430253","1399430252","1399430255"],"photo_ids_order":["1399430251","1399430252","1399430253","1399430254","1399430255","1399430256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/318d68786690b0bab0ec75e11a0049dd.jpg","text":"TemporaryFile(/tmp/multipartBody7689429184089389243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769363229,"filename":"image_15122025_04_15_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/15/87310f02af06f85a6e617172966e7f06.jpg","text":"TemporaryFile(/tmp/multipartBody1832861916831210162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769363229,"filename":"image_15122025_04_15_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/15/1ab04d89588cec06135ac2a7a4d93d61.jpg","text":"TemporaryFile(/tmp/multipartBody8554533926480084673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769363229,"filename":"image_15122025_04_15_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/15/88c417cf2ef91219c3ec5a1e14c24448.jpg","text":"TemporaryFile(/tmp/multipartBody3074635873937639852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769363229,"filename":"image_15122025_04_15_25_10577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ba75792bb17ab6bf00b7d9b514ad3853.jpg","text":"TemporaryFile(/tmp/multipartBody7509676152660954143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769363229,"filename":"image_15122025_04_15_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/15/bf3149ff49c5b9e40ec6e6376c8e54ed.jpg","text":"TemporaryFile(/tmp/multipartBody4904814279462892699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769363229,"filename":"image_15122025_04_15_44_9544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430253","file1":"1399430252","file0":"1399430251","file4":"1399430255","file5":"1399430256","file3":"1399430254"},"map_files_photo_id_array":[{"photo_id":"1399430256","filename":"file5"},{"photo_id":"1399430253","filename":"file2"},{"photo_id":"1399430255","filename":"file4"},{"photo_id":"1399430252","filename":"file1"},{"photo_id":"1399430251","filename":"file0"},{"photo_id":"1399430254","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430251":["hashtag1","hashtag2"]},{"1399430254":["hashtag1","hashtag2"]},{"1399430256":["hashtag1","hashtag2"]},{"1399430253":["hashtag1","hashtag2"]},{"1399430252":["hashtag1","hashtag2"]},{"1399430255":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430251, 1399430254, 1399430256, 1399430253, 1399430252, 1399430255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93638873100281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 04:29:02.933946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/15/image_15122025_04_16_04_9629.jpg', '/home/pi/Desktop/images/15122025/04/16/image_15122025_04_16_14_9709.jpg', '/home/pi/Desktop/images/15122025/04/16/image_15122025_04_16_25_10705.jpg', '/home/pi/Desktop/images/15122025/04/16/image_15122025_04_16_34_9642.jpg', '/home/pi/Desktop/images/15122025/04/16/image_15122025_04_16_44_9834.jpg', '/home/pi/Desktop/images/15122025/04/16/image_15122025_04_16_54_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/15/image_15122025_04_16_04_9629.jpg
/home/pi/Desktop/images/15122025/04/16/image_15122025_04_16_14_9709.jpg
/home/pi/Desktop/images/15122025/04/16/image_15122025_04_16_25_10705.jpg
/home/pi/Desktop/images/15122025/04/16/image_15122025_04_16_34_9642.jpg
/home/pi/Desktop/images/15122025/04/16/image_15122025_04_16_44_9834.jpg
/home/pi/Desktop/images/15122025/04/16/image_15122025_04_16_54_9747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430264","1399430272","1399430274","1399430270","1399430267","1399430261"],"photo_ids_order":["1399430261","1399430264","1399430267","1399430270","1399430272","1399430274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1d70cd67ca1bd6d4cfe2072acf7606a3.jpg","text":"TemporaryFile(/tmp/multipartBody1172365232133601357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769403741,"filename":"image_15122025_04_16_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/15/7fe36af23ee77c689a82126e5e0f256c.jpg","text":"TemporaryFile(/tmp/multipartBody5564493791372780170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769403741,"filename":"image_15122025_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/15/544ab42a5a6133d202daa88a0c775393.jpg","text":"TemporaryFile(/tmp/multipartBody4407242013893593094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769403741,"filename":"image_15122025_04_16_54_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/15/c78ecf62437731e02e4fe861bdb9c8cd.jpg","text":"TemporaryFile(/tmp/multipartBody3352001756468930764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769403741,"filename":"image_15122025_04_16_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/15/6d19b7d9b33b18e8d3ec8bfd846bcc8a.jpg","text":"TemporaryFile(/tmp/multipartBody8759091962922042699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769403741,"filename":"image_15122025_04_16_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/15/a4e1d59e8d3748858ed5a3e9e828b944.jpg","text":"TemporaryFile(/tmp/multipartBody63000006316788759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769403741,"filename":"image_15122025_04_16_04_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430267","file1":"1399430264","file0":"1399430261","file4":"1399430272","file5":"1399430274","file3":"1399430270"},"map_files_photo_id_array":[{"photo_id":"1399430274","filename":"file5"},{"photo_id":"1399430267","filename":"file2"},{"photo_id":"1399430272","filename":"file4"},{"photo_id":"1399430264","filename":"file1"},{"photo_id":"1399430261","filename":"file0"},{"photo_id":"1399430270","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430264":["hashtag1","hashtag2"]},{"1399430272":["hashtag1","hashtag2"]},{"1399430274":["hashtag1","hashtag2"]},{"1399430270":["hashtag1","hashtag2"]},{"1399430267":["hashtag1","hashtag2"]},{"1399430261":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430264, 1399430272, 1399430274, 1399430270, 1399430267, 1399430261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.14791393280029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 04:30:02.515402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/16/image_15122025_04_17_05_10665.jpg', '/home/pi/Desktop/images/15122025/04/17/image_15122025_04_17_14_9659.jpg', '/home/pi/Desktop/images/15122025/04/17/image_15122025_04_17_24_9785.jpg', '/home/pi/Desktop/images/15122025/04/17/image_15122025_04_17_34_9768.jpg', '/home/pi/Desktop/images/15122025/04/17/image_15122025_04_17_45_10837.jpg', '/home/pi/Desktop/images/15122025/04/17/image_15122025_04_17_54_9570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/16/image_15122025_04_17_05_10665.jpg
/home/pi/Desktop/images/15122025/04/17/image_15122025_04_17_14_9659.jpg
/home/pi/Desktop/images/15122025/04/17/image_15122025_04_17_24_9785.jpg
/home/pi/Desktop/images/15122025/04/17/image_15122025_04_17_34_9768.jpg
/home/pi/Desktop/images/15122025/04/17/image_15122025_04_17_45_10837.jpg
/home/pi/Desktop/images/15122025/04/17/image_15122025_04_17_54_9570.jpg
 val : 1 : upload photos 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":["1399430293","1399430292","1399430295","1399430289","1399430291","1399430294"],"photo_ids_order":["1399430289","1399430291","1399430292","1399430293","1399430294","1399430295"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2316c9f560b8b6b604a7811b65e29707.jpg","text":"TemporaryFile(/tmp/multipartBody4195613368231947737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769488083,"filename":"image_15122025_04_17_34_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/34901a876d5360dc97ef30280a97d186.jpg","text":"TemporaryFile(/tmp/multipartBody4518796252552263322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769488083,"filename":"image_15122025_04_17_24_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/30541f6b4454ea8f174b70d916a971fd.jpg","text":"TemporaryFile(/tmp/multipartBody3767493755931624297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769488083,"filename":"image_15122025_04_17_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/15/b122840a5faf401268b9b17038a159ef.jpg","text":"TemporaryFile(/tmp/multipartBody6368385533800388977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769488083,"filename":"image_15122025_04_17_05_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ff746278c0dbde13db42027420e58185.jpg","text":"TemporaryFile(/tmp/multipartBody2983662889981284219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769488083,"filename":"image_15122025_04_17_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/15/f31cea0703f808871de697f0807ca598.jpg","text":"TemporaryFile(/tmp/multipartBody2992815644113854475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769488083,"filename":"image_15122025_04_17_45_10837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430292","file1":"1399430291","file0":"1399430289","file4":"1399430294","file5":"1399430295","file3":"1399430293"},"map_files_photo_id_array":[{"photo_id":"1399430295","filename":"file5"},{"photo_id":"1399430292","filename":"file2"},{"photo_id":"1399430294","filename":"file4"},{"photo_id":"1399430291","filename":"file1"},{"photo_id":"1399430289","filename":"file0"},{"photo_id":"1399430293","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430293":["hashtag1","hashtag2"]},{"1399430292":["hashtag1","hashtag2"]},{"1399430295":["hashtag1","hashtag2"]},{"1399430289":["hashtag1","hashtag2"]},{"1399430291":["hashtag1","hashtag2"]},{"1399430294":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430293, 1399430292, 1399430295, 1399430289, 1399430291, 1399430294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.649996519088745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 04:31:12.395593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 04:31:22.512388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/17/image_15122025_04_18_04_9678.jpg', '/home/pi/Desktop/images/15122025/04/18/image_15122025_04_18_24_9634.jpg', '/home/pi/Desktop/images/15122025/04/18/image_15122025_04_18_34_9790.jpg', '/home/pi/Desktop/images/15122025/04/18/image_15122025_04_18_45_10622.jpg', '/home/pi/Desktop/images/15122025/04/18/image_15122025_04_18_54_9722.jpg', '/home/pi/Desktop/images/15122025/04/18/image_15122025_04_19_04_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/17/image_15122025_04_18_04_9678.jpg
/home/pi/Desktop/images/15122025/04/18/image_15122025_04_18_24_9634.jpg
/home/pi/Desktop/images/15122025/04/18/image_15122025_04_18_34_9790.jpg
/home/pi/Desktop/images/15122025/04/18/image_15122025_04_18_45_10622.jpg
/home/pi/Desktop/images/15122025/04/18/image_15122025_04_18_54_9722.jpg
/home/pi/Desktop/images/15122025/04/18/image_15122025_04_19_04_9738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430303","1399430306","1399430308","1399430305","1399430301","1399430304"],"photo_ids_order":["1399430301","1399430303","1399430304","1399430305","1399430306","1399430308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a5d3ade3a6d3d30c1ab49ac1daf84130.jpg","text":"TemporaryFile(/tmp/multipartBody928753419366610109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769543176,"filename":"image_15122025_04_18_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/15/018ffe00fd4a761e9d296c04eb6fb54a.jpg","text":"TemporaryFile(/tmp/multipartBody4638332932333059703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769543176,"filename":"image_15122025_04_18_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/15/8e0924bc9c7c2f87b3d23f5bbfd55c4f.jpg","text":"TemporaryFile(/tmp/multipartBody6413241472726801246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769543176,"filename":"image_15122025_04_19_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/15/181dc0514038e88e0f0a681068a1d6b9.jpg","text":"TemporaryFile(/tmp/multipartBody2531540748705644279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769543176,"filename":"image_15122025_04_18_45_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/15/d869b61425d2e3b6e4072a52e14327c6.jpg","text":"TemporaryFile(/tmp/multipartBody6515288690528800182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769543176,"filename":"image_15122025_04_18_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/15/4c0cbe7b10f83faa704a52bf7aa7430c.jpg","text":"TemporaryFile(/tmp/multipartBody8658693550128857110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769543176,"filename":"image_15122025_04_18_34_9790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430304","file1":"1399430303","file0":"1399430301","file4":"1399430306","file5":"1399430308","file3":"1399430305"},"map_files_photo_id_array":[{"photo_id":"1399430308","filename":"file5"},{"photo_id":"1399430304","filename":"file2"},{"photo_id":"1399430306","filename":"file4"},{"photo_id":"1399430303","filename":"file1"},{"photo_id":"1399430301","filename":"file0"},{"photo_id":"1399430305","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430303":["hashtag1","hashtag2"]},{"1399430306":["hashtag1","hashtag2"]},{"1399430308":["hashtag1","hashtag2"]},{"1399430305":["hashtag1","hashtag2"]},{"1399430301":["hashtag1","hashtag2"]},{"1399430304":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430303, 1399430306, 1399430308, 1399430305, 1399430301, 1399430304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23269534111023 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 04:32:03.148382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/19/image_15122025_04_19_15_10570.jpg', '/home/pi/Desktop/images/15122025/04/19/image_15122025_04_19_24_9747.jpg', '/home/pi/Desktop/images/15122025/04/19/image_15122025_04_19_34_9907.jpg', '/home/pi/Desktop/images/15122025/04/19/image_15122025_04_19_44_9652.jpg', '/home/pi/Desktop/images/15122025/04/19/image_15122025_04_19_55_10746.jpg', '/home/pi/Desktop/images/15122025/04/19/image_15122025_04_20_04_9580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/19/image_15122025_04_19_15_10570.jpg
/home/pi/Desktop/images/15122025/04/19/image_15122025_04_19_24_9747.jpg
/home/pi/Desktop/images/15122025/04/19/image_15122025_04_19_34_9907.jpg
/home/pi/Desktop/images/15122025/04/19/image_15122025_04_19_44_9652.jpg
/home/pi/Desktop/images/15122025/04/19/image_15122025_04_19_55_10746.jpg
/home/pi/Desktop/images/15122025/04/19/image_15122025_04_20_04_9580.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5563559532165527 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 04:32:12.627987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 04:32:22.647159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/19/image_15122025_04_19_15_10570.jpg', '/home/pi/Desktop/images/15122025/04/19/image_15122025_04_19_24_9747.jpg', '/home/pi/Desktop/images/15122025/04/19/image_15122025_04_19_34_9907.jpg', '/home/pi/Desktop/images/15122025/04/19/image_15122025_04_19_44_9652.jpg', '/home/pi/Desktop/images/15122025/04/19/image_15122025_04_19_55_10746.jpg', '/home/pi/Desktop/images/15122025/04/19/image_15122025_04_20_04_9580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/19/image_15122025_04_19_15_10570.jpg
/home/pi/Desktop/images/15122025/04/19/image_15122025_04_19_24_9747.jpg
/home/pi/Desktop/images/15122025/04/19/image_15122025_04_19_34_9907.jpg
/home/pi/Desktop/images/15122025/04/19/image_15122025_04_19_44_9652.jpg
/home/pi/Desktop/images/15122025/04/19/image_15122025_04_19_55_10746.jpg
/home/pi/Desktop/images/15122025/04/19/image_15122025_04_20_04_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":["1399430321","1399430330","1399430320","1399430323","1399430319","1399430322"],"photo_ids_order":["1399430319","1399430320","1399430321","1399430322","1399430323","1399430330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c4d9b9d74147d716ef467613ff2f6c34.jpg","text":"TemporaryFile(/tmp/multipartBody258418424879220436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769603275,"filename":"image_15122025_04_19_34_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/15/20553e31fdb7b5671329eb460bfb940d.jpg","text":"TemporaryFile(/tmp/multipartBody1346091102738521088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769603275,"filename":"image_15122025_04_20_04_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9b011dc69f82a0344abdee4621cdf006.jpg","text":"TemporaryFile(/tmp/multipartBody3177369109801972205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769603275,"filename":"image_15122025_04_19_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/15/d3eb0c9cc4c743f6ab97d4c1ec0db9d7.jpg","text":"TemporaryFile(/tmp/multipartBody7916346905288300316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769603275,"filename":"image_15122025_04_19_55_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/73ca8cc6eee0e7870a2a40416c9356ea.jpg","text":"TemporaryFile(/tmp/multipartBody8566700107107735354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769603275,"filename":"image_15122025_04_19_15_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/28e6a4d1ffb573f62f44f1a69803e751.jpg","text":"TemporaryFile(/tmp/multipartBody2445395226223843236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769603275,"filename":"image_15122025_04_19_44_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430321","file1":"1399430320","file0":"1399430319","file4":"1399430323","file5":"1399430330","file3":"1399430322"},"map_files_photo_id_array":[{"photo_id":"1399430330","filename":"file5"},{"photo_id":"1399430321","filename":"file2"},{"photo_id":"1399430323","filename":"file4"},{"photo_id":"1399430320","filename":"file1"},{"photo_id":"1399430319","filename":"file0"},{"photo_id":"1399430322","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430321":["hashtag1","hashtag2"]},{"1399430330":["hashtag1","hashtag2"]},{"1399430320":["hashtag1","hashtag2"]},{"1399430323":["hashtag1","hashtag2"]},{"1399430319":["hashtag1","hashtag2"]},{"1399430322":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430321, 1399430330, 1399430320, 1399430323, 1399430319, 1399430322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46068000793457 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 04:33:02.631560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/20/image_15122025_04_20_14_9721.jpg', '/home/pi/Desktop/images/15122025/04/20/image_15122025_04_20_25_10617.jpg', '/home/pi/Desktop/images/15122025/04/20/image_15122025_04_20_34_9689.jpg', '/home/pi/Desktop/images/15122025/04/20/image_15122025_04_20_44_9582.jpg', '/home/pi/Desktop/images/15122025/04/20/image_15122025_04_20_54_9868.jpg', '/home/pi/Desktop/images/15122025/04/20/image_15122025_04_21_04_10723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/20/image_15122025_04_20_14_9721.jpg
/home/pi/Desktop/images/15122025/04/20/image_15122025_04_20_25_10617.jpg
/home/pi/Desktop/images/15122025/04/20/image_15122025_04_20_34_9689.jpg
/home/pi/Desktop/images/15122025/04/20/image_15122025_04_20_44_9582.jpg
/home/pi/Desktop/images/15122025/04/20/image_15122025_04_20_54_9868.jpg
/home/pi/Desktop/images/15122025/04/20/image_15122025_04_21_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":["1399430336","1399430339","1399430341","1399430338","1399430337","1399430340"],"photo_ids_order":["1399430336","1399430337","1399430338","1399430339","1399430340","1399430341"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/55291a21902e34bf0c49991831fb6615.jpg","text":"TemporaryFile(/tmp/multipartBody7753050378959637007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769643327,"filename":"image_15122025_04_20_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/15/7f83767f5025d4dc7169f401624ee383.jpg","text":"TemporaryFile(/tmp/multipartBody8575919784357367934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769643327,"filename":"image_15122025_04_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/15/c714c2f4f88dbdef31e5c01f531576d1.jpg","text":"TemporaryFile(/tmp/multipartBody1138347605956844719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769643327,"filename":"image_15122025_04_21_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/15/cabfda4663e743be99f8677862b9b5dd.jpg","text":"TemporaryFile(/tmp/multipartBody5674678402955903690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769643327,"filename":"image_15122025_04_20_34_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f2f03876d749152705656d09f67c47bb.jpg","text":"TemporaryFile(/tmp/multipartBody9145722500927820456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769643327,"filename":"image_15122025_04_20_25_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6e15e92734ad579ffaf2103b4c17fc34.jpg","text":"TemporaryFile(/tmp/multipartBody2922408450435438356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769643327,"filename":"image_15122025_04_20_54_9868.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430338","file1":"1399430337","file0":"1399430336","file4":"1399430340","file5":"1399430341","file3":"1399430339"},"map_files_photo_id_array":[{"photo_id":"1399430341","filename":"file5"},{"photo_id":"1399430338","filename":"file2"},{"photo_id":"1399430340","filename":"file4"},{"photo_id":"1399430337","filename":"file1"},{"photo_id":"1399430336","filename":"file0"},{"photo_id":"1399430339","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430336":["hashtag1","hashtag2"]},{"1399430339":["hashtag1","hashtag2"]},{"1399430341":["hashtag1","hashtag2"]},{"1399430338":["hashtag1","hashtag2"]},{"1399430337":["hashtag1","hashtag2"]},{"1399430340":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430336, 1399430339, 1399430341, 1399430338, 1399430337, 1399430340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28785943984985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 04:33:41.961947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_17_1580.jpg', '/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_19_1714.jpg', '/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_20_1580.jpg', '/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_22_1647.jpg', '/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_24_1724.jpg', '/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_25_1680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_17_1580.jpg
/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_19_1714.jpg
/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_20_1580.jpg
/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_22_1647.jpg
/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_24_1724.jpg
/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_25_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":["1399430342","1399430345","1399430353","1399430347","1399430349","1399430351"],"photo_ids_order":["1399430342","1399430345","1399430347","1399430349","1399430351","1399430353"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f28986752b5d897c4711177428888936.jpg","text":"TemporaryFile(/tmp/multipartBody3832797470954182446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769682660,"filename":"image_05112025_13_07_17_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/15/1a16d84314179ecf352b5c468a283941.jpg","text":"TemporaryFile(/tmp/multipartBody5666916276446350897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769682660,"filename":"image_05112025_13_07_19_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/15/5bd3f8ee2a334402e30cb9087518c0d2.jpg","text":"TemporaryFile(/tmp/multipartBody2182310879493244861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769682660,"filename":"image_05112025_13_07_25_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/15/d1c1baa602d72627f2cb00e24fdbe7c5.jpg","text":"TemporaryFile(/tmp/multipartBody814256320271473053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769682660,"filename":"image_05112025_13_07_20_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/15/935ae8e335ca38342843aa0291c4c688.jpg","text":"TemporaryFile(/tmp/multipartBody1270320082621908289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769682660,"filename":"image_05112025_13_07_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/15/4b72f3e7fa5f5ee630bbb4f99060c6eb.jpg","text":"TemporaryFile(/tmp/multipartBody4498139380308504078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769682660,"filename":"image_05112025_13_07_24_1724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430347","file1":"1399430345","file0":"1399430342","file4":"1399430351","file5":"1399430353","file3":"1399430349"},"map_files_photo_id_array":[{"photo_id":"1399430353","filename":"file5"},{"photo_id":"1399430347","filename":"file2"},{"photo_id":"1399430351","filename":"file4"},{"photo_id":"1399430345","filename":"file1"},{"photo_id":"1399430342","filename":"file0"},{"photo_id":"1399430349","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399430342":["hashtag1","hashtag2"]},{"1399430345":["hashtag1","hashtag2"]},{"1399430353":["hashtag1","hashtag2"]},{"1399430347":["hashtag1","hashtag2"]},{"1399430349":["hashtag1","hashtag2"]},{"1399430351":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399430342, 1399430345, 1399430353, 1399430347, 1399430349, 1399430351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3592267036438 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 04:34:22.304290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/21/image_15122025_04_21_14_9620.jpg', '/home/pi/Desktop/images/15122025/04/21/image_15122025_04_21_24_9778.jpg', '/home/pi/Desktop/images/15122025/04/21/image_15122025_04_21_35_10749.jpg', '/home/pi/Desktop/images/15122025/04/21/image_15122025_04_21_44_9797.jpg', '/home/pi/Desktop/images/15122025/04/21/image_15122025_04_21_54_9655.jpg', '/home/pi/Desktop/images/15122025/04/22/image_15122025_04_22_15_10737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/21/image_15122025_04_21_14_9620.jpg
/home/pi/Desktop/images/15122025/04/21/image_15122025_04_21_24_9778.jpg
/home/pi/Desktop/images/15122025/04/21/image_15122025_04_21_35_10749.jpg
/home/pi/Desktop/images/15122025/04/21/image_15122025_04_21_44_9797.jpg
/home/pi/Desktop/images/15122025/04/21/image_15122025_04_21_54_9655.jpg
/home/pi/Desktop/images/15122025/04/22/image_15122025_04_22_15_10737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430357","1399430359","1399430356","1399430355","1399430358","1399430354"],"photo_ids_order":["1399430354","1399430355","1399430356","1399430357","1399430358","1399430359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f140a9fb312fcea08c00f02232a1e68e.jpg","text":"TemporaryFile(/tmp/multipartBody3733817521131915492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769722923,"filename":"image_15122025_04_21_44_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/75b02dbd4b19bd96120e187739c35aa3.jpg","text":"TemporaryFile(/tmp/multipartBody867197523285096425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769722923,"filename":"image_15122025_04_22_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/15/a46acaf10d95d129510781718d957fd1.jpg","text":"TemporaryFile(/tmp/multipartBody6442002031241691003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769722923,"filename":"image_15122025_04_21_35_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/296abd236d957e41d7b643d841815870.jpg","text":"TemporaryFile(/tmp/multipartBody9146408561829399928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769722923,"filename":"image_15122025_04_21_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/15/6cfff3be8b914885b00ed227258cb64e.jpg","text":"TemporaryFile(/tmp/multipartBody2064683365204017455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769722923,"filename":"image_15122025_04_21_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/15/45a604aa6b4ed36864822407768e4866.jpg","text":"TemporaryFile(/tmp/multipartBody8381514776541307273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769722923,"filename":"image_15122025_04_21_14_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430356","file1":"1399430355","file0":"1399430354","file4":"1399430358","file5":"1399430359","file3":"1399430357"},"map_files_photo_id_array":[{"photo_id":"1399430359","filename":"file5"},{"photo_id":"1399430356","filename":"file2"},{"photo_id":"1399430358","filename":"file4"},{"photo_id":"1399430355","filename":"file1"},{"photo_id":"1399430354","filename":"file0"},{"photo_id":"1399430357","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430357":["hashtag1","hashtag2"]},{"1399430359":["hashtag1","hashtag2"]},{"1399430356":["hashtag1","hashtag2"]},{"1399430355":["hashtag1","hashtag2"]},{"1399430358":["hashtag1","hashtag2"]},{"1399430354":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430357, 1399430359, 1399430356, 1399430355, 1399430358, 1399430354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19337868690491 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 04:35:03.040537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/22/image_15122025_04_22_24_9598.jpg', '/home/pi/Desktop/images/15122025/04/22/image_15122025_04_22_34_9692.jpg', '/home/pi/Desktop/images/15122025/04/22/image_15122025_04_22_45_10738.jpg', '/home/pi/Desktop/images/15122025/04/22/image_15122025_04_22_54_9717.jpg', '/home/pi/Desktop/images/15122025/04/22/image_15122025_04_23_04_9597.jpg', '/home/pi/Desktop/images/15122025/04/23/image_15122025_04_23_15_10741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/22/image_15122025_04_22_24_9598.jpg
/home/pi/Desktop/images/15122025/04/22/image_15122025_04_22_34_9692.jpg
/home/pi/Desktop/images/15122025/04/22/image_15122025_04_22_45_10738.jpg
/home/pi/Desktop/images/15122025/04/22/image_15122025_04_22_54_9717.jpg
/home/pi/Desktop/images/15122025/04/22/image_15122025_04_23_04_9597.jpg
/home/pi/Desktop/images/15122025/04/23/image_15122025_04_23_15_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":["1399430371","1399430373","1399430367","1399430376","1399430364","1399430369"],"photo_ids_order":["1399430364","1399430367","1399430369","1399430371","1399430373","1399430376"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dd7a82347e2f41b648efb35d12fc4b29.jpg","text":"TemporaryFile(/tmp/multipartBody3890804656903365640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769763721,"filename":"image_15122025_04_22_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/15/94c666a323fdf21fc278bcb418c120a7.jpg","text":"TemporaryFile(/tmp/multipartBody9152147205163240505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769763721,"filename":"image_15122025_04_23_04_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/714d90593e5840ddb39e122e948d2776.jpg","text":"TemporaryFile(/tmp/multipartBody7192562517353964149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769763721,"filename":"image_15122025_04_22_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/15/5fc287be2c99ec65f32aced3fcb0587c.jpg","text":"TemporaryFile(/tmp/multipartBody1746837937771093489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769763721,"filename":"image_15122025_04_23_15_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/15/361cc45f54c9fa8c2988417ab2464119.jpg","text":"TemporaryFile(/tmp/multipartBody2633356338245272314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769763721,"filename":"image_15122025_04_22_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/15/7e0d2517f0a0f3981b35283ef1039991.jpg","text":"TemporaryFile(/tmp/multipartBody8154825241318480460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769763721,"filename":"image_15122025_04_22_45_10738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430369","file1":"1399430367","file0":"1399430364","file4":"1399430373","file5":"1399430376","file3":"1399430371"},"map_files_photo_id_array":[{"photo_id":"1399430376","filename":"file5"},{"photo_id":"1399430369","filename":"file2"},{"photo_id":"1399430373","filename":"file4"},{"photo_id":"1399430367","filename":"file1"},{"photo_id":"1399430364","filename":"file0"},{"photo_id":"1399430371","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430371":["hashtag1","hashtag2"]},{"1399430373":["hashtag1","hashtag2"]},{"1399430367":["hashtag1","hashtag2"]},{"1399430376":["hashtag1","hashtag2"]},{"1399430364":["hashtag1","hashtag2"]},{"1399430369":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430371, 1399430373, 1399430367, 1399430376, 1399430364, 1399430369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.479992151260376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 04:35:42.489793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_28_3276.jpg', '/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_30_1871.jpg', '/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_37_6977.jpg', '/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_41_3220.jpg', '/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_42_1601.jpg', '/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_44_1665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_28_3276.jpg
/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_30_1871.jpg
/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_37_6977.jpg
/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_41_3220.jpg
/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_42_1601.jpg
/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_44_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":["1399430389","1399430377","1399430391","1399430385","1399430393","1399430387"],"photo_ids_order":["1399430377","1399430385","1399430387","1399430389","1399430391","1399430393"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7a340ba5f50a435d0456fbf7de03e653.jpg","text":"TemporaryFile(/tmp/multipartBody3668183505329092367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769803169,"filename":"image_05112025_13_07_41_3220.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d32f5860d8fb953a4f8c7407fef25039.jpg","text":"TemporaryFile(/tmp/multipartBody8731376956810797423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769803169,"filename":"image_05112025_13_07_28_3276.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/982690f36544f4246233a022d2c24f3a.jpg","text":"TemporaryFile(/tmp/multipartBody6395357699902693055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769803169,"filename":"image_05112025_13_07_42_1601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/08931da696d5000dc871ff6ba85fe09d.jpg","text":"TemporaryFile(/tmp/multipartBody5695444627481327213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769803169,"filename":"image_05112025_13_07_30_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/15/a80005e3cd11c7f8de384f0fd2890bd0.jpg","text":"TemporaryFile(/tmp/multipartBody5511430312953048864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769803169,"filename":"image_05112025_13_07_44_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/15/f1e11eb1b81c9f4ebc3528471f773407.jpg","text":"TemporaryFile(/tmp/multipartBody4538900778919299417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769803169,"filename":"image_05112025_13_07_37_6977.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430387","file1":"1399430385","file0":"1399430377","file4":"1399430391","file5":"1399430393","file3":"1399430389"},"map_files_photo_id_array":[{"photo_id":"1399430393","filename":"file5"},{"photo_id":"1399430387","filename":"file2"},{"photo_id":"1399430391","filename":"file4"},{"photo_id":"1399430385","filename":"file1"},{"photo_id":"1399430377","filename":"file0"},{"photo_id":"1399430389","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399430389":["hashtag1","hashtag2"]},{"1399430377":["hashtag1","hashtag2"]},{"1399430391":["hashtag1","hashtag2"]},{"1399430385":["hashtag1","hashtag2"]},{"1399430393":["hashtag1","hashtag2"]},{"1399430387":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399430389, 1399430377, 1399430391, 1399430385, 1399430393, 1399430387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.791215896606445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 04:36:22.773713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/23/image_15122025_04_23_24_9627.jpg', '/home/pi/Desktop/images/15122025/04/23/image_15122025_04_23_34_9593.jpg', '/home/pi/Desktop/images/15122025/04/23/image_15122025_04_23_44_10635.jpg', '/home/pi/Desktop/images/15122025/04/23/image_15122025_04_23_54_9850.jpg', '/home/pi/Desktop/images/15122025/04/23/image_15122025_04_24_04_9613.jpg', '/home/pi/Desktop/images/15122025/04/24/image_15122025_04_24_15_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/23/image_15122025_04_23_24_9627.jpg
/home/pi/Desktop/images/15122025/04/23/image_15122025_04_23_34_9593.jpg
/home/pi/Desktop/images/15122025/04/23/image_15122025_04_23_44_10635.jpg
/home/pi/Desktop/images/15122025/04/23/image_15122025_04_23_54_9850.jpg
/home/pi/Desktop/images/15122025/04/23/image_15122025_04_24_04_9613.jpg
/home/pi/Desktop/images/15122025/04/24/image_15122025_04_24_15_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.5089669227600098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 04:36:32.734331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 04:36:42.775442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_45_1624.jpg', '/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_47_1605.jpg', '/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_49_1629.jpg', '/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_50_1711.jpg', '/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_53_2882.jpg', '/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_55_1732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_45_1624.jpg
/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_47_1605.jpg
/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_49_1629.jpg
/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_50_1711.jpg
/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_53_2882.jpg
/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_55_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":["1399430402","1399430408","1399430410","1399430404","1399430406","1399430400"],"photo_ids_order":["1399430400","1399430402","1399430404","1399430406","1399430408","1399430410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c4d4ab3e47923f08c587673ec6181e36.jpg","text":"TemporaryFile(/tmp/multipartBody5255086457474478592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769863492,"filename":"image_05112025_13_07_47_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/15/3103292ca1470ecc6abe892a3c9e49e3.jpg","text":"TemporaryFile(/tmp/multipartBody4779247234198834796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769863492,"filename":"image_05112025_13_07_53_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/15/11e5a3c7199fcba43855ff1d5cf2c86b.jpg","text":"TemporaryFile(/tmp/multipartBody6044354127818597014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769863492,"filename":"image_05112025_13_07_55_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/15/317c206f4789eb23fcfcc70181dd840e.jpg","text":"TemporaryFile(/tmp/multipartBody211009148445336103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769863492,"filename":"image_05112025_13_07_49_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/15/cfe8e9f42ecf0b361fe710eb7eb8ff97.jpg","text":"TemporaryFile(/tmp/multipartBody8602085607756701341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769863492,"filename":"image_05112025_13_07_50_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/15/0fdb854ec16922359941d827d4defdc7.jpg","text":"TemporaryFile(/tmp/multipartBody8276882708217761337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769863492,"filename":"image_05112025_13_07_45_1624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430404","file1":"1399430402","file0":"1399430400","file4":"1399430408","file5":"1399430410","file3":"1399430406"},"map_files_photo_id_array":[{"photo_id":"1399430410","filename":"file5"},{"photo_id":"1399430404","filename":"file2"},{"photo_id":"1399430408","filename":"file4"},{"photo_id":"1399430402","filename":"file1"},{"photo_id":"1399430400","filename":"file0"},{"photo_id":"1399430406","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399430402":["hashtag1","hashtag2"]},{"1399430408":["hashtag1","hashtag2"]},{"1399430410":["hashtag1","hashtag2"]},{"1399430404":["hashtag1","hashtag2"]},{"1399430406":["hashtag1","hashtag2"]},{"1399430400":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399430402, 1399430408, 1399430410, 1399430404, 1399430406, 1399430400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.949931621551514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 04:37:22.059140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/23/image_15122025_04_23_24_9627.jpg', '/home/pi/Desktop/images/15122025/04/23/image_15122025_04_23_34_9593.jpg', '/home/pi/Desktop/images/15122025/04/23/image_15122025_04_23_44_10635.jpg', '/home/pi/Desktop/images/15122025/04/23/image_15122025_04_23_54_9850.jpg', '/home/pi/Desktop/images/15122025/04/23/image_15122025_04_24_04_9613.jpg', '/home/pi/Desktop/images/15122025/04/24/image_15122025_04_24_15_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/23/image_15122025_04_23_24_9627.jpg
/home/pi/Desktop/images/15122025/04/23/image_15122025_04_23_34_9593.jpg
/home/pi/Desktop/images/15122025/04/23/image_15122025_04_23_44_10635.jpg
/home/pi/Desktop/images/15122025/04/23/image_15122025_04_23_54_9850.jpg
/home/pi/Desktop/images/15122025/04/23/image_15122025_04_24_04_9613.jpg
/home/pi/Desktop/images/15122025/04/24/image_15122025_04_24_15_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":["1399430414","1399430417","1399430411","1399430413","1399430412","1399430415"],"photo_ids_order":["1399430411","1399430412","1399430413","1399430414","1399430415","1399430417"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/32319955d0bb215d9874caea818d648d.jpg","text":"TemporaryFile(/tmp/multipartBody32968450180064492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769902711,"filename":"image_15122025_04_23_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/15/34d2fbc0d218f58c5fed42b7025b31a1.jpg","text":"TemporaryFile(/tmp/multipartBody3435115068040322643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769902711,"filename":"image_15122025_04_24_15_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1ce5c93a15844a619f1bfd3e2a226c2c.jpg","text":"TemporaryFile(/tmp/multipartBody5813296439253177706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769902711,"filename":"image_15122025_04_23_24_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8a21783603cb4d581e82d9be1d1ffba0.jpg","text":"TemporaryFile(/tmp/multipartBody8661654689488226851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769902711,"filename":"image_15122025_04_23_44_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9e0d502d398a2aa25bc99ce33dab4de2.jpg","text":"TemporaryFile(/tmp/multipartBody2586271136644753551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769902711,"filename":"image_15122025_04_23_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/15/533a2a9e5a901e75bdba9f7698276da7.jpg","text":"TemporaryFile(/tmp/multipartBody3097768766140622851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769902711,"filename":"image_15122025_04_24_04_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430413","file1":"1399430412","file0":"1399430411","file4":"1399430415","file5":"1399430417","file3":"1399430414"},"map_files_photo_id_array":[{"photo_id":"1399430417","filename":"file5"},{"photo_id":"1399430413","filename":"file2"},{"photo_id":"1399430415","filename":"file4"},{"photo_id":"1399430412","filename":"file1"},{"photo_id":"1399430411","filename":"file0"},{"photo_id":"1399430414","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430414":["hashtag1","hashtag2"]},{"1399430417":["hashtag1","hashtag2"]},{"1399430411":["hashtag1","hashtag2"]},{"1399430413":["hashtag1","hashtag2"]},{"1399430412":["hashtag1","hashtag2"]},{"1399430415":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430414, 1399430417, 1399430411, 1399430413, 1399430412, 1399430415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24289083480835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 04:38:02.715695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/24/image_15122025_04_24_24_9785.jpg', '/home/pi/Desktop/images/15122025/04/24/image_15122025_04_24_34_9700.jpg', '/home/pi/Desktop/images/15122025/04/24/image_15122025_04_24_44_9688.jpg', '/home/pi/Desktop/images/15122025/04/24/image_15122025_04_24_55_10768.jpg', '/home/pi/Desktop/images/15122025/04/25/image_15122025_04_25_14_9872.jpg', '/home/pi/Desktop/images/15122025/04/25/image_15122025_04_25_24_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/24/image_15122025_04_24_24_9785.jpg
/home/pi/Desktop/images/15122025/04/24/image_15122025_04_24_34_9700.jpg
/home/pi/Desktop/images/15122025/04/24/image_15122025_04_24_44_9688.jpg
/home/pi/Desktop/images/15122025/04/24/image_15122025_04_24_55_10768.jpg
/home/pi/Desktop/images/15122025/04/25/image_15122025_04_25_14_9872.jpg
/home/pi/Desktop/images/15122025/04/25/image_15122025_04_25_24_9719.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.562946081161499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 04:38:12.294587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 04:38:22.301513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/24/image_15122025_04_24_24_9785.jpg', '/home/pi/Desktop/images/15122025/04/24/image_15122025_04_24_34_9700.jpg', '/home/pi/Desktop/images/15122025/04/24/image_15122025_04_24_44_9688.jpg', '/home/pi/Desktop/images/15122025/04/24/image_15122025_04_24_55_10768.jpg', '/home/pi/Desktop/images/15122025/04/25/image_15122025_04_25_14_9872.jpg', '/home/pi/Desktop/images/15122025/04/25/image_15122025_04_25_24_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/24/image_15122025_04_24_24_9785.jpg
/home/pi/Desktop/images/15122025/04/24/image_15122025_04_24_34_9700.jpg
/home/pi/Desktop/images/15122025/04/24/image_15122025_04_24_44_9688.jpg
/home/pi/Desktop/images/15122025/04/24/image_15122025_04_24_55_10768.jpg
/home/pi/Desktop/images/15122025/04/25/image_15122025_04_25_14_9872.jpg
/home/pi/Desktop/images/15122025/04/25/image_15122025_04_25_24_9719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430429","1399430431","1399430434","1399430428","1399430430","1399430432"],"photo_ids_order":["1399430428","1399430429","1399430430","1399430431","1399430432","1399430434"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e33bc6b1ac73e59da54eac79f1112980.jpg","text":"TemporaryFile(/tmp/multipartBody2194311563232367740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769962953,"filename":"image_15122025_04_24_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/15/af28200200747dba7875f9db55386325.jpg","text":"TemporaryFile(/tmp/multipartBody289589687979005224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769962953,"filename":"image_15122025_04_24_55_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/15/e99ebfc4779902519d2cf0356765d09b.jpg","text":"TemporaryFile(/tmp/multipartBody3134355220317745371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769962953,"filename":"image_15122025_04_25_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/15/d0c27e687a6b1e78967430d70f545296.jpg","text":"TemporaryFile(/tmp/multipartBody3101487826420714811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769962953,"filename":"image_15122025_04_24_24_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3ee329b2b34e53357785b4fcb5be1f94.jpg","text":"TemporaryFile(/tmp/multipartBody8966845061347931932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769962953,"filename":"image_15122025_04_24_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/15/f7841aa81192c9af753b94ef79bca9d2.jpg","text":"TemporaryFile(/tmp/multipartBody1615604043077054570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765769962953,"filename":"image_15122025_04_25_14_9872.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430430","file1":"1399430429","file0":"1399430428","file4":"1399430432","file5":"1399430434","file3":"1399430431"},"map_files_photo_id_array":[{"photo_id":"1399430434","filename":"file5"},{"photo_id":"1399430430","filename":"file2"},{"photo_id":"1399430432","filename":"file4"},{"photo_id":"1399430429","filename":"file1"},{"photo_id":"1399430428","filename":"file0"},{"photo_id":"1399430431","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430429":["hashtag1","hashtag2"]},{"1399430431":["hashtag1","hashtag2"]},{"1399430434":["hashtag1","hashtag2"]},{"1399430428":["hashtag1","hashtag2"]},{"1399430430":["hashtag1","hashtag2"]},{"1399430432":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430429, 1399430431, 1399430434, 1399430428, 1399430430, 1399430432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52436661720276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 04:39:03.481446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/25/image_15122025_04_25_35_10623.jpg', '/home/pi/Desktop/images/15122025/04/25/image_15122025_04_25_44_9715.jpg', '/home/pi/Desktop/images/15122025/04/25/image_15122025_04_25_54_9857.jpg', '/home/pi/Desktop/images/15122025/04/25/image_15122025_04_26_04_9725.jpg', '/home/pi/Desktop/images/15122025/04/26/image_15122025_04_26_15_10709.jpg', '/home/pi/Desktop/images/15122025/04/26/image_15122025_04_26_24_9551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/25/image_15122025_04_25_35_10623.jpg
/home/pi/Desktop/images/15122025/04/25/image_15122025_04_25_44_9715.jpg
/home/pi/Desktop/images/15122025/04/25/image_15122025_04_25_54_9857.jpg
/home/pi/Desktop/images/15122025/04/25/image_15122025_04_26_04_9725.jpg
/home/pi/Desktop/images/15122025/04/26/image_15122025_04_26_15_10709.jpg
/home/pi/Desktop/images/15122025/04/26/image_15122025_04_26_24_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":["1399430444","1399430446","1399430449","1399430448","1399430450","1399430447"],"photo_ids_order":["1399430444","1399430446","1399430447","1399430448","1399430449","1399430450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/951bdc47f4cfbc664be103c94f5ac7f9.jpg","text":"TemporaryFile(/tmp/multipartBody1188524975279511310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770004237,"filename":"image_15122025_04_25_35_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2904c10112e7f2ad69b371e6db1cb5c1.jpg","text":"TemporaryFile(/tmp/multipartBody6226907876907922212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770004237,"filename":"image_15122025_04_25_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/15/313663c8859fe2304b3edc2b9184eb69.jpg","text":"TemporaryFile(/tmp/multipartBody6150467620282801689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770004237,"filename":"image_15122025_04_26_15_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f2a748e5f0372e687fb5641f72da5c55.jpg","text":"TemporaryFile(/tmp/multipartBody4940094601834891659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770004237,"filename":"image_15122025_04_26_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/15/0da0efc99c66de31cfe1e2513f590c50.jpg","text":"TemporaryFile(/tmp/multipartBody5589724198235054016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770004237,"filename":"image_15122025_04_26_24_9551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/42103467eecea1b5ef152799abdd8a82.jpg","text":"TemporaryFile(/tmp/multipartBody3922562107195384083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770004237,"filename":"image_15122025_04_25_54_9857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430447","file1":"1399430446","file0":"1399430444","file4":"1399430449","file5":"1399430450","file3":"1399430448"},"map_files_photo_id_array":[{"photo_id":"1399430450","filename":"file5"},{"photo_id":"1399430447","filename":"file2"},{"photo_id":"1399430449","filename":"file4"},{"photo_id":"1399430446","filename":"file1"},{"photo_id":"1399430444","filename":"file0"},{"photo_id":"1399430448","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430444":["hashtag1","hashtag2"]},{"1399430446":["hashtag1","hashtag2"]},{"1399430449":["hashtag1","hashtag2"]},{"1399430448":["hashtag1","hashtag2"]},{"1399430450":["hashtag1","hashtag2"]},{"1399430447":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430444, 1399430446, 1399430449, 1399430448, 1399430450, 1399430447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.455063581466675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 04:39:42.592665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_57_1757.jpg', '/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_02_5396.jpg', '/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_14_12104.jpg', '/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_16_1629.jpg', '/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_17_1569.jpg', '/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_19_1548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/07/image_05112025_13_07_57_1757.jpg
/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_02_5396.jpg
/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_14_12104.jpg
/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_16_1629.jpg
/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_17_1569.jpg
/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_19_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":["1399430462","1399430456","1399430458","1399430452","1399430460","1399430454"],"photo_ids_order":["1399430452","1399430454","1399430456","1399430458","1399430460","1399430462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/936739081693fbd14c8f9fc42c07f221.jpg","text":"TemporaryFile(/tmp/multipartBody4684664408127550930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770043307,"filename":"image_05112025_13_08_19_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/15/f0c9542793541ef62f50573dde8178f0.jpg","text":"TemporaryFile(/tmp/multipartBody8979423210211938153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770043307,"filename":"image_05112025_13_08_14_12104.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c78e876765b9fb8e4aabf1193d3ce781.jpg","text":"TemporaryFile(/tmp/multipartBody8699750475473421656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770043307,"filename":"image_05112025_13_08_16_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/15/7dc9b4c9d9fe3ae72678ce0b84a033d3.jpg","text":"TemporaryFile(/tmp/multipartBody8864685193768449938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770043307,"filename":"image_05112025_13_07_57_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/15/8e6955da64c1826840053e0d0d7b7ce1.jpg","text":"TemporaryFile(/tmp/multipartBody5298038514880797034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770043307,"filename":"image_05112025_13_08_17_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/15/5a36f8316ed5dc41c7582441a4b00c7f.jpg","text":"TemporaryFile(/tmp/multipartBody6871171196136561383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770043307,"filename":"image_05112025_13_08_02_5396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430456","file1":"1399430454","file0":"1399430452","file4":"1399430460","file5":"1399430462","file3":"1399430458"},"map_files_photo_id_array":[{"photo_id":"1399430462","filename":"file5"},{"photo_id":"1399430456","filename":"file2"},{"photo_id":"1399430460","filename":"file4"},{"photo_id":"1399430454","filename":"file1"},{"photo_id":"1399430452","filename":"file0"},{"photo_id":"1399430458","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399430462":["hashtag1","hashtag2"]},{"1399430456":["hashtag1","hashtag2"]},{"1399430458":["hashtag1","hashtag2"]},{"1399430452":["hashtag1","hashtag2"]},{"1399430460":["hashtag1","hashtag2"]},{"1399430454":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399430462, 1399430456, 1399430458, 1399430452, 1399430460, 1399430454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80493879318237 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 04:40:21.916658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/26/image_15122025_04_26_34_9687.jpg', '/home/pi/Desktop/images/15122025/04/26/image_15122025_04_26_45_10768.jpg', '/home/pi/Desktop/images/15122025/04/26/image_15122025_04_26_54_9635.jpg', '/home/pi/Desktop/images/15122025/04/26/image_15122025_04_27_04_9693.jpg', '/home/pi/Desktop/images/15122025/04/27/image_15122025_04_27_15_10701.jpg', '/home/pi/Desktop/images/15122025/04/27/image_15122025_04_27_24_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/26/image_15122025_04_26_34_9687.jpg
/home/pi/Desktop/images/15122025/04/26/image_15122025_04_26_45_10768.jpg
/home/pi/Desktop/images/15122025/04/26/image_15122025_04_26_54_9635.jpg
/home/pi/Desktop/images/15122025/04/26/image_15122025_04_27_04_9693.jpg
/home/pi/Desktop/images/15122025/04/27/image_15122025_04_27_15_10701.jpg
/home/pi/Desktop/images/15122025/04/27/image_15122025_04_27_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":["1399430464","1399430467","1399430466","1399430463","1399430465","1399430468"],"photo_ids_order":["1399430463","1399430464","1399430465","1399430466","1399430467","1399430468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9ec9b3a072cf4414ebb234e8733de013.jpg","text":"TemporaryFile(/tmp/multipartBody3824651767888296490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770082530,"filename":"image_15122025_04_26_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/15/3914ab422ec08853762ffb3b817805c7.jpg","text":"TemporaryFile(/tmp/multipartBody7026379526145952843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770082530,"filename":"image_15122025_04_27_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/15/55f7c28a38392df9916e14cecf0fcaf5.jpg","text":"TemporaryFile(/tmp/multipartBody7823746325517261676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770082530,"filename":"image_15122025_04_27_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/15/125808ff3723d56fbd637e9af5c2d161.jpg","text":"TemporaryFile(/tmp/multipartBody8534716896795646832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770082530,"filename":"image_15122025_04_26_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/15/aaf31c71f345ea0a086bffbde3925381.jpg","text":"TemporaryFile(/tmp/multipartBody4486470113557985573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770082530,"filename":"image_15122025_04_26_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/15/5f9a5bce3d6af2d91bd9498c03c93671.jpg","text":"TemporaryFile(/tmp/multipartBody2106492700178436110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770082530,"filename":"image_15122025_04_27_24_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430465","file1":"1399430464","file0":"1399430463","file4":"1399430467","file5":"1399430468","file3":"1399430466"},"map_files_photo_id_array":[{"photo_id":"1399430468","filename":"file5"},{"photo_id":"1399430465","filename":"file2"},{"photo_id":"1399430467","filename":"file4"},{"photo_id":"1399430464","filename":"file1"},{"photo_id":"1399430463","filename":"file0"},{"photo_id":"1399430466","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430464":["hashtag1","hashtag2"]},{"1399430467":["hashtag1","hashtag2"]},{"1399430466":["hashtag1","hashtag2"]},{"1399430463":["hashtag1","hashtag2"]},{"1399430465":["hashtag1","hashtag2"]},{"1399430468":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430464, 1399430467, 1399430466, 1399430463, 1399430465, 1399430468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57358169555664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 04:41:02.765018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/27/image_15122025_04_27_34_9739.jpg', '/home/pi/Desktop/images/15122025/04/27/image_15122025_04_27_44_9716.jpg', '/home/pi/Desktop/images/15122025/04/27/image_15122025_04_27_55_10714.jpg', '/home/pi/Desktop/images/15122025/04/27/image_15122025_04_28_04_9799.jpg', '/home/pi/Desktop/images/15122025/04/28/image_15122025_04_28_24_9762.jpg', '/home/pi/Desktop/images/15122025/04/28/image_15122025_04_28_35_10851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/27/image_15122025_04_27_34_9739.jpg
/home/pi/Desktop/images/15122025/04/27/image_15122025_04_27_44_9716.jpg
/home/pi/Desktop/images/15122025/04/27/image_15122025_04_27_55_10714.jpg
/home/pi/Desktop/images/15122025/04/27/image_15122025_04_28_04_9799.jpg
/home/pi/Desktop/images/15122025/04/28/image_15122025_04_28_24_9762.jpg
/home/pi/Desktop/images/15122025/04/28/image_15122025_04_28_35_10851.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430476","1399430485","1399430473","1399430478","1399430483","1399430480"],"photo_ids_order":["1399430473","1399430476","1399430478","1399430480","1399430483","1399430485"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f5ad3f84881d665f6acf76e825286ee4.jpg","text":"TemporaryFile(/tmp/multipartBody7056440249552744171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770123456,"filename":"image_15122025_04_27_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/15/87afc7339c6eba9a2385644e8e0a5dfd.jpg","text":"TemporaryFile(/tmp/multipartBody8249721417256064491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770123456,"filename":"image_15122025_04_28_35_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/15/cd707f6815eb13228a53b4217cedcd43.jpg","text":"TemporaryFile(/tmp/multipartBody2618736897497239821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770123456,"filename":"image_15122025_04_27_34_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6254db6fbe14dc104ca451175ea9fcb9.jpg","text":"TemporaryFile(/tmp/multipartBody5592141111892172796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770123456,"filename":"image_15122025_04_27_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/15/81dd8a857ead2fda61df3431f678ffbc.jpg","text":"TemporaryFile(/tmp/multipartBody8241915294226095921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770123456,"filename":"image_15122025_04_28_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/15/4941c7156439411cc1891dbc99a745bc.jpg","text":"TemporaryFile(/tmp/multipartBody6000600291346062402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770123456,"filename":"image_15122025_04_28_04_9799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430478","file1":"1399430476","file0":"1399430473","file4":"1399430483","file5":"1399430485","file3":"1399430480"},"map_files_photo_id_array":[{"photo_id":"1399430485","filename":"file5"},{"photo_id":"1399430478","filename":"file2"},{"photo_id":"1399430483","filename":"file4"},{"photo_id":"1399430476","filename":"file1"},{"photo_id":"1399430473","filename":"file0"},{"photo_id":"1399430480","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430476":["hashtag1","hashtag2"]},{"1399430485":["hashtag1","hashtag2"]},{"1399430473":["hashtag1","hashtag2"]},{"1399430478":["hashtag1","hashtag2"]},{"1399430483":["hashtag1","hashtag2"]},{"1399430480":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430476, 1399430485, 1399430473, 1399430478, 1399430483, 1399430480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34990429878235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 04:41:42.054620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_22_3012.jpg', '/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_24_1569.jpg', '/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_25_1614.jpg', '/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_27_1543.jpg', '/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_29_1754.jpg', '/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_30_1854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_22_3012.jpg
/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_24_1569.jpg
/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_25_1614.jpg
/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_27_1543.jpg
/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_29_1754.jpg
/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_30_1854.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430500","1399430493","1399430496","1399430502","1399430498","1399430486"],"photo_ids_order":["1399430486","1399430493","1399430496","1399430498","1399430500","1399430502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5c464d42d61030f753884dec853a6c9c.jpg","text":"TemporaryFile(/tmp/multipartBody1891159795468291306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770162747,"filename":"image_05112025_13_08_29_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/15/a6ee0984390aba83722bfabc40bc3e4f.jpg","text":"TemporaryFile(/tmp/multipartBody5777195399833082766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770162747,"filename":"image_05112025_13_08_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/15/5fb273d98387edd3d128a547bc315ce3.jpg","text":"TemporaryFile(/tmp/multipartBody1152044847984748547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770162747,"filename":"image_05112025_13_08_25_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/15/b82cceaac1dfbb9415fe2a152d61cc90.jpg","text":"TemporaryFile(/tmp/multipartBody4162791215438778086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770162747,"filename":"image_05112025_13_08_30_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/15/85d259c5d725721c2216adff0acbc6b3.jpg","text":"TemporaryFile(/tmp/multipartBody8999116719055432077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770162747,"filename":"image_05112025_13_08_27_1543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3e2c2cc80327252db78cd05c6ac3861a.jpg","text":"TemporaryFile(/tmp/multipartBody7732947157790776255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770162747,"filename":"image_05112025_13_08_22_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430496","file1":"1399430493","file0":"1399430486","file4":"1399430500","file5":"1399430502","file3":"1399430498"},"map_files_photo_id_array":[{"photo_id":"1399430502","filename":"file5"},{"photo_id":"1399430496","filename":"file2"},{"photo_id":"1399430500","filename":"file4"},{"photo_id":"1399430493","filename":"file1"},{"photo_id":"1399430486","filename":"file0"},{"photo_id":"1399430498","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399430500":["hashtag1","hashtag2"]},{"1399430493":["hashtag1","hashtag2"]},{"1399430496":["hashtag1","hashtag2"]},{"1399430502":["hashtag1","hashtag2"]},{"1399430498":["hashtag1","hashtag2"]},{"1399430486":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399430500, 1399430493, 1399430496, 1399430502, 1399430498, 1399430486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7746844291687 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 04:42:22.309352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/28/image_15122025_04_28_44_9777.jpg', '/home/pi/Desktop/images/15122025/04/28/image_15122025_04_28_54_9677.jpg', '/home/pi/Desktop/images/15122025/04/28/image_15122025_04_29_05_10555.jpg', '/home/pi/Desktop/images/15122025/04/29/image_15122025_04_29_14_9669.jpg', '/home/pi/Desktop/images/15122025/04/29/image_15122025_04_29_24_9678.jpg', '/home/pi/Desktop/images/15122025/04/29/image_15122025_04_29_34_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/28/image_15122025_04_28_44_9777.jpg
/home/pi/Desktop/images/15122025/04/28/image_15122025_04_28_54_9677.jpg
/home/pi/Desktop/images/15122025/04/28/image_15122025_04_29_05_10555.jpg
/home/pi/Desktop/images/15122025/04/29/image_15122025_04_29_14_9669.jpg
/home/pi/Desktop/images/15122025/04/29/image_15122025_04_29_24_9678.jpg
/home/pi/Desktop/images/15122025/04/29/image_15122025_04_29_34_9701.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5221555233001709 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 04:42:32.340270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 04:42:42.312517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_32_1568.jpg', '/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_34_1725.jpg', '/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_35_1672.jpg', '/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_37_1594.jpg', '/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_39_1629.jpg', '/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_40_1518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_32_1568.jpg
/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_34_1725.jpg
/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_35_1672.jpg
/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_37_1594.jpg
/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_39_1629.jpg
/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_40_1518.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430513","1399430519","1399430515","1399430517","1399430511","1399430508"],"photo_ids_order":["1399430508","1399430511","1399430513","1399430515","1399430517","1399430519"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cea54c2e3f708c5db609902bc41e821c.jpg","text":"TemporaryFile(/tmp/multipartBody5311581706910850624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770223014,"filename":"image_05112025_13_08_35_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/15/ae41b84fa8b261baf8f93aacbcb46e3f.jpg","text":"TemporaryFile(/tmp/multipartBody1228519239201232740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770223014,"filename":"image_05112025_13_08_40_1518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/16fc43d5f719f741d50c31f2c6e717d3.jpg","text":"TemporaryFile(/tmp/multipartBody1976865550380987332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770223014,"filename":"image_05112025_13_08_37_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/15/0c720220007b4c51606ccb3582b7f6dc.jpg","text":"TemporaryFile(/tmp/multipartBody3407178660538218553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770223014,"filename":"image_05112025_13_08_39_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/15/89d6cb48ceb91750968608f2d8378aa5.jpg","text":"TemporaryFile(/tmp/multipartBody614516316119541479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770223014,"filename":"image_05112025_13_08_34_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/15/ef78db3bb6c857034731170d1a8c7cc8.jpg","text":"TemporaryFile(/tmp/multipartBody6761158299737963489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770223014,"filename":"image_05112025_13_08_32_1568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430513","file1":"1399430511","file0":"1399430508","file4":"1399430517","file5":"1399430519","file3":"1399430515"},"map_files_photo_id_array":[{"photo_id":"1399430519","filename":"file5"},{"photo_id":"1399430513","filename":"file2"},{"photo_id":"1399430517","filename":"file4"},{"photo_id":"1399430511","filename":"file1"},{"photo_id":"1399430508","filename":"file0"},{"photo_id":"1399430515","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399430513":["hashtag1","hashtag2"]},{"1399430519":["hashtag1","hashtag2"]},{"1399430515":["hashtag1","hashtag2"]},{"1399430517":["hashtag1","hashtag2"]},{"1399430511":["hashtag1","hashtag2"]},{"1399430508":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399430513, 1399430519, 1399430515, 1399430517, 1399430511, 1399430508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16214442253113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 04:43:22.581666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/28/image_15122025_04_28_44_9777.jpg', '/home/pi/Desktop/images/15122025/04/28/image_15122025_04_28_54_9677.jpg', '/home/pi/Desktop/images/15122025/04/28/image_15122025_04_29_05_10555.jpg', '/home/pi/Desktop/images/15122025/04/29/image_15122025_04_29_14_9669.jpg', '/home/pi/Desktop/images/15122025/04/29/image_15122025_04_29_24_9678.jpg', '/home/pi/Desktop/images/15122025/04/29/image_15122025_04_29_34_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/28/image_15122025_04_28_44_9777.jpg
/home/pi/Desktop/images/15122025/04/28/image_15122025_04_28_54_9677.jpg
/home/pi/Desktop/images/15122025/04/28/image_15122025_04_29_05_10555.jpg
/home/pi/Desktop/images/15122025/04/29/image_15122025_04_29_14_9669.jpg
/home/pi/Desktop/images/15122025/04/29/image_15122025_04_29_24_9678.jpg
/home/pi/Desktop/images/15122025/04/29/image_15122025_04_29_34_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":["1399430522","1399430525","1399430524","1399430521","1399430520","1399430523"],"photo_ids_order":["1399430520","1399430521","1399430522","1399430523","1399430524","1399430525"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dfcaefcdec15afa7c0072972d6cfcf7f.jpg","text":"TemporaryFile(/tmp/multipartBody6753395086397546073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770263202,"filename":"image_15122025_04_29_05_10555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c66ce1b96e4bd34f77824aca67652352.jpg","text":"TemporaryFile(/tmp/multipartBody8389294974171417430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770263202,"filename":"image_15122025_04_29_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/15/88cc04e0d2052d216d9e3bcc1b62bd70.jpg","text":"TemporaryFile(/tmp/multipartBody6380016666973037730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770263202,"filename":"image_15122025_04_29_24_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/839449c213f46abcdac82fd71bc3c160.jpg","text":"TemporaryFile(/tmp/multipartBody2252314738844609680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770263202,"filename":"image_15122025_04_28_54_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/db42dcbf9a4587130d4450b6e3515bfa.jpg","text":"TemporaryFile(/tmp/multipartBody2118786618111020151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770263202,"filename":"image_15122025_04_28_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/15/310e2d460bafa832ab5ce3f7634b0752.jpg","text":"TemporaryFile(/tmp/multipartBody1920376274813230621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770263202,"filename":"image_15122025_04_29_14_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430522","file1":"1399430521","file0":"1399430520","file4":"1399430524","file5":"1399430525","file3":"1399430523"},"map_files_photo_id_array":[{"photo_id":"1399430525","filename":"file5"},{"photo_id":"1399430522","filename":"file2"},{"photo_id":"1399430524","filename":"file4"},{"photo_id":"1399430521","filename":"file1"},{"photo_id":"1399430520","filename":"file0"},{"photo_id":"1399430523","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430522":["hashtag1","hashtag2"]},{"1399430525":["hashtag1","hashtag2"]},{"1399430524":["hashtag1","hashtag2"]},{"1399430521":["hashtag1","hashtag2"]},{"1399430520":["hashtag1","hashtag2"]},{"1399430523":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430522, 1399430525, 1399430524, 1399430521, 1399430520, 1399430523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.516993045806885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 04:44:03.446970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/29/image_15122025_04_29_45_10878.jpg', '/home/pi/Desktop/images/15122025/04/29/image_15122025_04_29_54_9693.jpg', '/home/pi/Desktop/images/15122025/04/29/image_15122025_04_30_04_9721.jpg', '/home/pi/Desktop/images/15122025/04/30/image_15122025_04_30_14_9705.jpg', '/home/pi/Desktop/images/15122025/04/30/image_15122025_04_30_25_10870.jpg', '/home/pi/Desktop/images/15122025/04/30/image_15122025_04_30_34_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/29/image_15122025_04_29_45_10878.jpg
/home/pi/Desktop/images/15122025/04/29/image_15122025_04_29_54_9693.jpg
/home/pi/Desktop/images/15122025/04/29/image_15122025_04_30_04_9721.jpg
/home/pi/Desktop/images/15122025/04/30/image_15122025_04_30_14_9705.jpg
/home/pi/Desktop/images/15122025/04/30/image_15122025_04_30_25_10870.jpg
/home/pi/Desktop/images/15122025/04/30/image_15122025_04_30_34_9721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430537","1399430539","1399430541","1399430535","1399430544","1399430531"],"photo_ids_order":["1399430531","1399430535","1399430537","1399430539","1399430541","1399430544"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c0ab9c66823a884ab06b55e6dc0503e8.jpg","text":"TemporaryFile(/tmp/multipartBody3782295967066341696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770304118,"filename":"image_15122025_04_30_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/15/8470a84bc4c32cfaf16f94ed1285b282.jpg","text":"TemporaryFile(/tmp/multipartBody4748416307690574846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770304118,"filename":"image_15122025_04_30_14_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f87ecc76e4d4fa097a3ee7bee6b26988.jpg","text":"TemporaryFile(/tmp/multipartBody7724065531767622092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770304118,"filename":"image_15122025_04_30_25_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/15/58d2ea529b8e350b7bc144e2d7c2927e.jpg","text":"TemporaryFile(/tmp/multipartBody1035572573923348884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770304118,"filename":"image_15122025_04_29_54_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cb0eb2f1ad3dee195f1a859b48671093.jpg","text":"TemporaryFile(/tmp/multipartBody8828060874554081847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770304118,"filename":"image_15122025_04_30_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/15/37743c578bd3aac5c02cc9bede05579a.jpg","text":"TemporaryFile(/tmp/multipartBody709796153361116551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770304118,"filename":"image_15122025_04_29_45_10878.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430537","file1":"1399430535","file0":"1399430531","file4":"1399430541","file5":"1399430544","file3":"1399430539"},"map_files_photo_id_array":[{"photo_id":"1399430544","filename":"file5"},{"photo_id":"1399430537","filename":"file2"},{"photo_id":"1399430541","filename":"file4"},{"photo_id":"1399430535","filename":"file1"},{"photo_id":"1399430531","filename":"file0"},{"photo_id":"1399430539","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430537":["hashtag1","hashtag2"]},{"1399430539":["hashtag1","hashtag2"]},{"1399430541":["hashtag1","hashtag2"]},{"1399430535":["hashtag1","hashtag2"]},{"1399430544":["hashtag1","hashtag2"]},{"1399430531":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430537, 1399430539, 1399430541, 1399430535, 1399430544, 1399430531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.176427364349365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 04:44:42.770351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_42_1989.jpg', '/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_44_1614.jpg', '/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_45_1654.jpg', '/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_47_1522.jpg', '/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_50_3338.jpg', '/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_52_1681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_42_1989.jpg
/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_44_1614.jpg
/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_45_1654.jpg
/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_47_1522.jpg
/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_50_3338.jpg
/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_52_1681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430560","1399430554","1399430547","1399430556","1399430558","1399430552"],"photo_ids_order":["1399430547","1399430552","1399430554","1399430556","1399430558","1399430560"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/16b9b9d8519315745c23d2010fbc711f.jpg","text":"TemporaryFile(/tmp/multipartBody8182494997299340048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770343455,"filename":"image_05112025_13_08_52_1681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/47536bf9d9b8114d3c0374af2c3d0be0.jpg","text":"TemporaryFile(/tmp/multipartBody8264729055532780632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770343455,"filename":"image_05112025_13_08_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/15/6598e669e16b49b2b388cdbcd639f125.jpg","text":"TemporaryFile(/tmp/multipartBody3582543830945252136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770343455,"filename":"image_05112025_13_08_42_1989.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cae81d02130e84699bd9793f6bf7849d.jpg","text":"TemporaryFile(/tmp/multipartBody5751775982185901584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770343455,"filename":"image_05112025_13_08_47_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/15/ccd4cc7a32a60115e98eaccf3770faf9.jpg","text":"TemporaryFile(/tmp/multipartBody356481201364093550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770343455,"filename":"image_05112025_13_08_50_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/15/caf9f49a053ca2f221e30fff5917dc0a.jpg","text":"TemporaryFile(/tmp/multipartBody5976165042467313604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770343455,"filename":"image_05112025_13_08_44_1614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430554","file1":"1399430552","file0":"1399430547","file4":"1399430558","file5":"1399430560","file3":"1399430556"},"map_files_photo_id_array":[{"photo_id":"1399430560","filename":"file5"},{"photo_id":"1399430554","filename":"file2"},{"photo_id":"1399430558","filename":"file4"},{"photo_id":"1399430552","filename":"file1"},{"photo_id":"1399430547","filename":"file0"},{"photo_id":"1399430556","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399430560":["hashtag1","hashtag2"]},{"1399430554":["hashtag1","hashtag2"]},{"1399430547":["hashtag1","hashtag2"]},{"1399430556":["hashtag1","hashtag2"]},{"1399430558":["hashtag1","hashtag2"]},{"1399430552":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399430560, 1399430554, 1399430547, 1399430556, 1399430558, 1399430552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87846255302429 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 04:45:22.021237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/30/image_15122025_04_30_44_9812.jpg', '/home/pi/Desktop/images/15122025/04/30/image_15122025_04_30_54_9716.jpg', '/home/pi/Desktop/images/15122025/04/30/image_15122025_04_31_05_10660.jpg', '/home/pi/Desktop/images/15122025/04/31/image_15122025_04_31_14_9936.jpg', '/home/pi/Desktop/images/15122025/04/31/image_15122025_04_31_24_9573.jpg', '/home/pi/Desktop/images/15122025/04/31/image_15122025_04_31_34_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/30/image_15122025_04_30_44_9812.jpg
/home/pi/Desktop/images/15122025/04/30/image_15122025_04_30_54_9716.jpg
/home/pi/Desktop/images/15122025/04/30/image_15122025_04_31_05_10660.jpg
/home/pi/Desktop/images/15122025/04/31/image_15122025_04_31_14_9936.jpg
/home/pi/Desktop/images/15122025/04/31/image_15122025_04_31_24_9573.jpg
/home/pi/Desktop/images/15122025/04/31/image_15122025_04_31_34_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":["1399430561","1399430563","1399430565","1399430562","1399430564","1399430567"],"photo_ids_order":["1399430561","1399430562","1399430563","1399430564","1399430565","1399430567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/43917a18d82c89f1d4cbf1e84680f014.jpg","text":"TemporaryFile(/tmp/multipartBody8865019746533390197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770382641,"filename":"image_15122025_04_30_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/15/1062b864f5cc228ff46afbc7ae0b4ee9.jpg","text":"TemporaryFile(/tmp/multipartBody6237125179537632074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770382641,"filename":"image_15122025_04_31_05_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d02e2d9d3ac06fbd24c8bca38cd66333.jpg","text":"TemporaryFile(/tmp/multipartBody1435354605948514740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770382641,"filename":"image_15122025_04_31_24_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/507921202bcdb942790e14c54d2ed586.jpg","text":"TemporaryFile(/tmp/multipartBody5186989504585314837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770382641,"filename":"image_15122025_04_30_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/15/0af9a08840fbb13d5f417b718b780ab7.jpg","text":"TemporaryFile(/tmp/multipartBody5469587034684960538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770382641,"filename":"image_15122025_04_31_14_9936.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6709dfb465ee26b17ad908443df5917e.jpg","text":"TemporaryFile(/tmp/multipartBody6478377890727514816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770382641,"filename":"image_15122025_04_31_34_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430563","file1":"1399430562","file0":"1399430561","file4":"1399430565","file5":"1399430567","file3":"1399430564"},"map_files_photo_id_array":[{"photo_id":"1399430567","filename":"file5"},{"photo_id":"1399430563","filename":"file2"},{"photo_id":"1399430565","filename":"file4"},{"photo_id":"1399430562","filename":"file1"},{"photo_id":"1399430561","filename":"file0"},{"photo_id":"1399430564","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430561":["hashtag1","hashtag2"]},{"1399430563":["hashtag1","hashtag2"]},{"1399430565":["hashtag1","hashtag2"]},{"1399430562":["hashtag1","hashtag2"]},{"1399430564":["hashtag1","hashtag2"]},{"1399430567":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430561, 1399430563, 1399430565, 1399430562, 1399430564, 1399430567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.089317321777344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 04:46:02.793531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/31/image_15122025_04_31_44_10712.jpg', '/home/pi/Desktop/images/15122025/04/31/image_15122025_04_31_54_9607.jpg', '/home/pi/Desktop/images/15122025/04/31/image_15122025_04_32_04_9753.jpg', '/home/pi/Desktop/images/15122025/04/32/image_15122025_04_32_24_9662.jpg', '/home/pi/Desktop/images/15122025/04/32/image_15122025_04_32_34_9651.jpg', '/home/pi/Desktop/images/15122025/04/32/image_15122025_04_32_45_10776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/31/image_15122025_04_31_44_10712.jpg
/home/pi/Desktop/images/15122025/04/31/image_15122025_04_31_54_9607.jpg
/home/pi/Desktop/images/15122025/04/31/image_15122025_04_32_04_9753.jpg
/home/pi/Desktop/images/15122025/04/32/image_15122025_04_32_24_9662.jpg
/home/pi/Desktop/images/15122025/04/32/image_15122025_04_32_34_9651.jpg
/home/pi/Desktop/images/15122025/04/32/image_15122025_04_32_45_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":["1399430572","1399430575","1399430578","1399430574","1399430577","1399430576"],"photo_ids_order":["1399430572","1399430574","1399430575","1399430576","1399430577","1399430578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/70556ee01011463e1b26621f92dc9570.jpg","text":"TemporaryFile(/tmp/multipartBody1804547916282492855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770423423,"filename":"image_15122025_04_31_44_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/15/7df4ab3ecd3d1f04e3c006e6a041a1e2.jpg","text":"TemporaryFile(/tmp/multipartBody5481154692489710276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770423423,"filename":"image_15122025_04_32_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/15/10480dba9ceedc243828028023bdae00.jpg","text":"TemporaryFile(/tmp/multipartBody920401109916194329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770423423,"filename":"image_15122025_04_32_45_10776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a6a1f24d09703135860130f96d6daeec.jpg","text":"TemporaryFile(/tmp/multipartBody8020503508510393813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770423423,"filename":"image_15122025_04_31_54_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a0fe9ce55c0ad776731a55dfe244e404.jpg","text":"TemporaryFile(/tmp/multipartBody207573129138489766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770423423,"filename":"image_15122025_04_32_34_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fadbcf36e9a3fbc42eb831cdb271a463.jpg","text":"TemporaryFile(/tmp/multipartBody3881434512896680937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770423423,"filename":"image_15122025_04_32_24_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430575","file1":"1399430574","file0":"1399430572","file4":"1399430577","file5":"1399430578","file3":"1399430576"},"map_files_photo_id_array":[{"photo_id":"1399430578","filename":"file5"},{"photo_id":"1399430575","filename":"file2"},{"photo_id":"1399430577","filename":"file4"},{"photo_id":"1399430574","filename":"file1"},{"photo_id":"1399430572","filename":"file0"},{"photo_id":"1399430576","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430572":["hashtag1","hashtag2"]},{"1399430575":["hashtag1","hashtag2"]},{"1399430578":["hashtag1","hashtag2"]},{"1399430574":["hashtag1","hashtag2"]},{"1399430577":["hashtag1","hashtag2"]},{"1399430576":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430572, 1399430575, 1399430578, 1399430574, 1399430577, 1399430576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25572609901428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 04:46:42.336544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_59_7075.jpg', '/home/pi/Desktop/images/05112025/13/12/image_05112025_13_12_07_3016.jpg', '/home/pi/Desktop/images/05112025/13/12/image_05112025_13_12_11_4275.jpg', '/home/pi/Desktop/images/05112025/13/12/image_05112025_13_12_14_2858.jpg', '/home/pi/Desktop/images/05112025/13/12/image_05112025_13_12_38_21845.jpg', '/home/pi/Desktop/images/05112025/13/12/image_05112025_13_12_41_3047.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_59_7075.jpg
/home/pi/Desktop/images/05112025/13/12/image_05112025_13_12_07_3016.jpg
/home/pi/Desktop/images/05112025/13/12/image_05112025_13_12_11_4275.jpg
/home/pi/Desktop/images/05112025/13/12/image_05112025_13_12_14_2858.jpg
/home/pi/Desktop/images/05112025/13/12/image_05112025_13_12_38_21845.jpg
/home/pi/Desktop/images/05112025/13/12/image_05112025_13_12_41_3047.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6206436157226562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 04:47:03.193251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/32/image_15122025_04_33_04_9891.jpg', '/home/pi/Desktop/images/15122025/04/33/image_15122025_04_33_14_9674.jpg', '/home/pi/Desktop/images/15122025/04/33/image_15122025_04_33_24_10663.jpg', '/home/pi/Desktop/images/15122025/04/33/image_15122025_04_33_34_9708.jpg', '/home/pi/Desktop/images/15122025/04/33/image_15122025_04_33_44_9785.jpg', '/home/pi/Desktop/images/15122025/04/33/image_15122025_04_33_55_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/32/image_15122025_04_33_04_9891.jpg
/home/pi/Desktop/images/15122025/04/33/image_15122025_04_33_14_9674.jpg
/home/pi/Desktop/images/15122025/04/33/image_15122025_04_33_24_10663.jpg
/home/pi/Desktop/images/15122025/04/33/image_15122025_04_33_34_9708.jpg
/home/pi/Desktop/images/15122025/04/33/image_15122025_04_33_44_9785.jpg
/home/pi/Desktop/images/15122025/04/33/image_15122025_04_33_55_10621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430590","1399430593","1399430592","1399430595","1399430594","1399430591"],"photo_ids_order":["1399430590","1399430591","1399430592","1399430593","1399430594","1399430595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e275b9ac34bac911933027ae38581137.jpg","text":"TemporaryFile(/tmp/multipartBody604055147259806108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770483874,"filename":"image_15122025_04_33_04_9891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/11f3c41abd3ad9050f7b121efa267b2f.jpg","text":"TemporaryFile(/tmp/multipartBody7180189186166411294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770483874,"filename":"image_15122025_04_33_34_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/05711bd1cda166bcb2109b440c0f1c27.jpg","text":"TemporaryFile(/tmp/multipartBody3196993675759720403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770483874,"filename":"image_15122025_04_33_24_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b2b0c55ca319db7a84194c9596fcbcf6.jpg","text":"TemporaryFile(/tmp/multipartBody8357519874939889583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770483874,"filename":"image_15122025_04_33_55_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/59e1ea85b53f8539e14c40d6658d15a1.jpg","text":"TemporaryFile(/tmp/multipartBody8309703860442495200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770483874,"filename":"image_15122025_04_33_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/15/d365c2442b292c89863dace2fd06d5de.jpg","text":"TemporaryFile(/tmp/multipartBody656431784484332712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770483874,"filename":"image_15122025_04_33_14_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430592","file1":"1399430591","file0":"1399430590","file4":"1399430594","file5":"1399430595","file3":"1399430593"},"map_files_photo_id_array":[{"photo_id":"1399430595","filename":"file5"},{"photo_id":"1399430592","filename":"file2"},{"photo_id":"1399430594","filename":"file4"},{"photo_id":"1399430591","filename":"file1"},{"photo_id":"1399430590","filename":"file0"},{"photo_id":"1399430593","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430590":["hashtag1","hashtag2"]},{"1399430593":["hashtag1","hashtag2"]},{"1399430592":["hashtag1","hashtag2"]},{"1399430595":["hashtag1","hashtag2"]},{"1399430594":["hashtag1","hashtag2"]},{"1399430591":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430590, 1399430593, 1399430592, 1399430595, 1399430594, 1399430591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42203092575073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 04:47:42.596743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_59_7075.jpg', '/home/pi/Desktop/images/05112025/13/12/image_05112025_13_12_07_3016.jpg', '/home/pi/Desktop/images/05112025/13/12/image_05112025_13_12_11_4275.jpg', '/home/pi/Desktop/images/05112025/13/12/image_05112025_13_12_14_2858.jpg', '/home/pi/Desktop/images/05112025/13/12/image_05112025_13_12_38_21845.jpg', '/home/pi/Desktop/images/05112025/13/12/image_05112025_13_12_41_3047.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/08/image_05112025_13_08_59_7075.jpg
/home/pi/Desktop/images/05112025/13/12/image_05112025_13_12_07_3016.jpg
/home/pi/Desktop/images/05112025/13/12/image_05112025_13_12_11_4275.jpg
/home/pi/Desktop/images/05112025/13/12/image_05112025_13_12_14_2858.jpg
/home/pi/Desktop/images/05112025/13/12/image_05112025_13_12_38_21845.jpg
/home/pi/Desktop/images/05112025/13/12/image_05112025_13_12_41_3047.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430609","1399430599","1399430603","1399430605","1399430601","1399430607"],"photo_ids_order":["1399430599","1399430601","1399430603","1399430605","1399430607","1399430609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ebcd3ab83bf13bccdcf8ebcfe4ae57d5.jpg","text":"TemporaryFile(/tmp/multipartBody367969128635885982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770523164,"filename":"image_05112025_13_12_41_3047.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/60c1df724e7573b5f5cec9faf346af6c.jpg","text":"TemporaryFile(/tmp/multipartBody3741971863352628368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770523164,"filename":"image_05112025_13_08_59_7075.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/83b6ad696dc34280e8c2d7956ed3e172.jpg","text":"TemporaryFile(/tmp/multipartBody12283525097970831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770523164,"filename":"image_05112025_13_12_11_4275.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/acde5d240fa7b00a82f41a15c761feda.jpg","text":"TemporaryFile(/tmp/multipartBody8384880342724031101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770523164,"filename":"image_05112025_13_12_14_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/15/a0cedb533b91552c60fb1ee9fb85f813.jpg","text":"TemporaryFile(/tmp/multipartBody6556945951988147049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770523164,"filename":"image_05112025_13_12_07_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8153c027c675cf5f52ef4e697f82f121.jpg","text":"TemporaryFile(/tmp/multipartBody5810898151339054015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770523164,"filename":"image_05112025_13_12_38_21845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430603","file1":"1399430601","file0":"1399430599","file4":"1399430607","file5":"1399430609","file3":"1399430605"},"map_files_photo_id_array":[{"photo_id":"1399430609","filename":"file5"},{"photo_id":"1399430603","filename":"file2"},{"photo_id":"1399430607","filename":"file4"},{"photo_id":"1399430601","filename":"file1"},{"photo_id":"1399430599","filename":"file0"},{"photo_id":"1399430605","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399430609":["hashtag1","hashtag2"]},{"1399430599":["hashtag1","hashtag2"]},{"1399430603":["hashtag1","hashtag2"]},{"1399430605":["hashtag1","hashtag2"]},{"1399430601":["hashtag1","hashtag2"]},{"1399430607":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399430609, 1399430599, 1399430603, 1399430605, 1399430601, 1399430607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89505910873413 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 04:48:21.861861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/34/image_15122025_04_34_14_9660.jpg', '/home/pi/Desktop/images/15122025/04/34/image_15122025_04_34_25_10800.jpg', '/home/pi/Desktop/images/15122025/04/34/image_15122025_04_34_34_9749.jpg', '/home/pi/Desktop/images/15122025/04/34/image_15122025_04_34_44_9625.jpg', '/home/pi/Desktop/images/15122025/04/34/image_15122025_04_34_54_9803.jpg', '/home/pi/Desktop/images/15122025/04/34/image_15122025_04_35_05_10731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/34/image_15122025_04_34_14_9660.jpg
/home/pi/Desktop/images/15122025/04/34/image_15122025_04_34_25_10800.jpg
/home/pi/Desktop/images/15122025/04/34/image_15122025_04_34_34_9749.jpg
/home/pi/Desktop/images/15122025/04/34/image_15122025_04_34_44_9625.jpg
/home/pi/Desktop/images/15122025/04/34/image_15122025_04_34_54_9803.jpg
/home/pi/Desktop/images/15122025/04/34/image_15122025_04_35_05_10731.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5508303642272949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 04:48:31.830502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 04:48:41.826698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/12/image_05112025_13_12_43_1700.jpg', '/home/pi/Desktop/images/05112025/13/12/image_05112025_13_12_45_1748.jpg', '/home/pi/Desktop/images/05112025/13/12/image_05112025_13_12_47_1788.jpg', '/home/pi/Desktop/images/05112025/13/12/image_05112025_13_12_50_1636.jpg', '/home/pi/Desktop/images/05112025/13/12/image_05112025_13_12_51_1511.jpg', '/home/pi/Desktop/images/05112025/13/13/image_05112025_13_14_00_1709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/12/image_05112025_13_12_43_1700.jpg
/home/pi/Desktop/images/05112025/13/12/image_05112025_13_12_45_1748.jpg
/home/pi/Desktop/images/05112025/13/12/image_05112025_13_12_47_1788.jpg
/home/pi/Desktop/images/05112025/13/12/image_05112025_13_12_50_1636.jpg
/home/pi/Desktop/images/05112025/13/12/image_05112025_13_12_51_1511.jpg
/home/pi/Desktop/images/05112025/13/13/image_05112025_13_14_00_1709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430615","1399430624","1399430618","1399430626","1399430620","1399430622"],"photo_ids_order":["1399430615","1399430618","1399430620","1399430622","1399430624","1399430626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8e88765f1008360d48d10916675f381a.jpg","text":"TemporaryFile(/tmp/multipartBody1738126886645985186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770582513,"filename":"image_05112025_13_12_43_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/15/3ef2e65bc0cb9eed278906e1d8ade573.jpg","text":"TemporaryFile(/tmp/multipartBody1737272152949263700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770582513,"filename":"image_05112025_13_12_51_1511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3c87f513b4b599091651862856b286bb.jpg","text":"TemporaryFile(/tmp/multipartBody7671538033619261456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770582513,"filename":"image_05112025_13_12_45_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/15/e643c99e8feabcb6c1a0211202c389ef.jpg","text":"TemporaryFile(/tmp/multipartBody3884261702452672901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770582513,"filename":"image_05112025_13_14_00_1709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e83dc40ab4475e5ec5a85b3a51323178.jpg","text":"TemporaryFile(/tmp/multipartBody8111590988592759422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770582513,"filename":"image_05112025_13_12_47_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/15/ddb1928c1c3937fa01f9ae141c635f84.jpg","text":"TemporaryFile(/tmp/multipartBody3318879024376397918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770582513,"filename":"image_05112025_13_12_50_1636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430620","file1":"1399430618","file0":"1399430615","file4":"1399430624","file5":"1399430626","file3":"1399430622"},"map_files_photo_id_array":[{"photo_id":"1399430626","filename":"file5"},{"photo_id":"1399430620","filename":"file2"},{"photo_id":"1399430624","filename":"file4"},{"photo_id":"1399430618","filename":"file1"},{"photo_id":"1399430615","filename":"file0"},{"photo_id":"1399430622","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399430615":["hashtag1","hashtag2"]},{"1399430624":["hashtag1","hashtag2"]},{"1399430618":["hashtag1","hashtag2"]},{"1399430626":["hashtag1","hashtag2"]},{"1399430620":["hashtag1","hashtag2"]},{"1399430622":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399430615, 1399430624, 1399430618, 1399430626, 1399430620, 1399430622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.482675313949585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 04:49:22.088643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/34/image_15122025_04_34_14_9660.jpg', '/home/pi/Desktop/images/15122025/04/34/image_15122025_04_34_25_10800.jpg', '/home/pi/Desktop/images/15122025/04/34/image_15122025_04_34_34_9749.jpg', '/home/pi/Desktop/images/15122025/04/34/image_15122025_04_34_44_9625.jpg', '/home/pi/Desktop/images/15122025/04/34/image_15122025_04_34_54_9803.jpg', '/home/pi/Desktop/images/15122025/04/34/image_15122025_04_35_05_10731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/34/image_15122025_04_34_14_9660.jpg
/home/pi/Desktop/images/15122025/04/34/image_15122025_04_34_25_10800.jpg
/home/pi/Desktop/images/15122025/04/34/image_15122025_04_34_34_9749.jpg
/home/pi/Desktop/images/15122025/04/34/image_15122025_04_34_44_9625.jpg
/home/pi/Desktop/images/15122025/04/34/image_15122025_04_34_54_9803.jpg
/home/pi/Desktop/images/15122025/04/34/image_15122025_04_35_05_10731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430627","1399430632","1399430629","1399430628","1399430631","1399430630"],"photo_ids_order":["1399430627","1399430628","1399430629","1399430630","1399430631","1399430632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5657691b7b895375d2760ae4eb5c905b.jpg","text":"TemporaryFile(/tmp/multipartBody6435270164493620527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770622705,"filename":"image_15122025_04_34_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/15/da6a5d732c340363ae420e146a27a3da.jpg","text":"TemporaryFile(/tmp/multipartBody2943359131052018716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770622705,"filename":"image_15122025_04_35_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/15/0a2804bbc849f431b283743798f00fa5.jpg","text":"TemporaryFile(/tmp/multipartBody7844884779144966033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770622705,"filename":"image_15122025_04_34_34_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/207302b53a704b585941bf652b563c95.jpg","text":"TemporaryFile(/tmp/multipartBody4796208755760387136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770622705,"filename":"image_15122025_04_34_25_10800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e9d3fce8bf834d6e8cb5b77dcd7bfd0b.jpg","text":"TemporaryFile(/tmp/multipartBody9100326676314281060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770622705,"filename":"image_15122025_04_34_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/15/b6e3884a8cd24f64af741355584abae1.jpg","text":"TemporaryFile(/tmp/multipartBody999904632611037375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770622705,"filename":"image_15122025_04_34_44_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430629","file1":"1399430628","file0":"1399430627","file4":"1399430631","file5":"1399430632","file3":"1399430630"},"map_files_photo_id_array":[{"photo_id":"1399430632","filename":"file5"},{"photo_id":"1399430629","filename":"file2"},{"photo_id":"1399430631","filename":"file4"},{"photo_id":"1399430628","filename":"file1"},{"photo_id":"1399430627","filename":"file0"},{"photo_id":"1399430630","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430627":["hashtag1","hashtag2"]},{"1399430632":["hashtag1","hashtag2"]},{"1399430629":["hashtag1","hashtag2"]},{"1399430628":["hashtag1","hashtag2"]},{"1399430631":["hashtag1","hashtag2"]},{"1399430630":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430627, 1399430632, 1399430629, 1399430628, 1399430631, 1399430630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08344554901123 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 04:50:02.748920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/35/image_15122025_04_35_14_9705.jpg', '/home/pi/Desktop/images/15122025/04/35/image_15122025_04_35_24_9651.jpg', '/home/pi/Desktop/images/15122025/04/35/image_15122025_04_35_34_9852.jpg', '/home/pi/Desktop/images/15122025/04/35/image_15122025_04_35_44_10744.jpg', '/home/pi/Desktop/images/15122025/04/35/image_15122025_04_35_54_9702.jpg', '/home/pi/Desktop/images/15122025/04/35/image_15122025_04_36_04_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/35/image_15122025_04_35_14_9705.jpg
/home/pi/Desktop/images/15122025/04/35/image_15122025_04_35_24_9651.jpg
/home/pi/Desktop/images/15122025/04/35/image_15122025_04_35_34_9852.jpg
/home/pi/Desktop/images/15122025/04/35/image_15122025_04_35_44_10744.jpg
/home/pi/Desktop/images/15122025/04/35/image_15122025_04_35_54_9702.jpg
/home/pi/Desktop/images/15122025/04/35/image_15122025_04_36_04_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":["1399430641","1399430647","1399430649","1399430643","1399430637","1399430645"],"photo_ids_order":["1399430637","1399430641","1399430643","1399430645","1399430647","1399430649"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/acf62e2b306b5c49b27daaac4c335abd.jpg","text":"TemporaryFile(/tmp/multipartBody6514665217356008870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770663381,"filename":"image_15122025_04_35_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/15/fa272ee6119500319ffe97fc0c3ecbf9.jpg","text":"TemporaryFile(/tmp/multipartBody3971096688388850102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770663381,"filename":"image_15122025_04_35_54_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b4fd83709a1f346e321898ad4569217d.jpg","text":"TemporaryFile(/tmp/multipartBody7515467951235280732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770663381,"filename":"image_15122025_04_36_04_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/68f48c7b0a68baa545c790600ad7bf51.jpg","text":"TemporaryFile(/tmp/multipartBody8442112093533398427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770663381,"filename":"image_15122025_04_35_34_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3cdf37483312bd8f0223c0057c47b195.jpg","text":"TemporaryFile(/tmp/multipartBody2330833454342318124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770663381,"filename":"image_15122025_04_35_14_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2a4e7cf90dd4dd29fd3bcc9e6706b999.jpg","text":"TemporaryFile(/tmp/multipartBody7125958926597154480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770663381,"filename":"image_15122025_04_35_44_10744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430643","file1":"1399430641","file0":"1399430637","file4":"1399430647","file5":"1399430649","file3":"1399430645"},"map_files_photo_id_array":[{"photo_id":"1399430649","filename":"file5"},{"photo_id":"1399430643","filename":"file2"},{"photo_id":"1399430647","filename":"file4"},{"photo_id":"1399430641","filename":"file1"},{"photo_id":"1399430637","filename":"file0"},{"photo_id":"1399430645","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430641":["hashtag1","hashtag2"]},{"1399430647":["hashtag1","hashtag2"]},{"1399430649":["hashtag1","hashtag2"]},{"1399430643":["hashtag1","hashtag2"]},{"1399430637":["hashtag1","hashtag2"]},{"1399430645":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430641, 1399430647, 1399430649, 1399430643, 1399430637, 1399430645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75704073905945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 04:50:42.292619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/14/image_05112025_13_14_02_1739.jpg', '/home/pi/Desktop/images/05112025/13/14/image_05112025_13_14_03_1605.jpg', '/home/pi/Desktop/images/05112025/13/14/image_05112025_13_14_07_1621.jpg', '/home/pi/Desktop/images/05112025/13/14/image_05112025_13_14_13_1768.jpg', '/home/pi/Desktop/images/05112025/13/14/image_05112025_13_14_18_1662.jpg', '/home/pi/Desktop/images/05112025/13/14/image_05112025_13_14_39_3073.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/14/image_05112025_13_14_02_1739.jpg
/home/pi/Desktop/images/05112025/13/14/image_05112025_13_14_03_1605.jpg
/home/pi/Desktop/images/05112025/13/14/image_05112025_13_14_07_1621.jpg
/home/pi/Desktop/images/05112025/13/14/image_05112025_13_14_13_1768.jpg
/home/pi/Desktop/images/05112025/13/14/image_05112025_13_14_18_1662.jpg
/home/pi/Desktop/images/05112025/13/14/image_05112025_13_14_39_3073.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430660","1399430653","1399430662","1399430656","1399430650","1399430658"],"photo_ids_order":["1399430650","1399430653","1399430656","1399430658","1399430660","1399430662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/861281fce8b8d8c14dee91bb9b25455d.jpg","text":"TemporaryFile(/tmp/multipartBody5240567925556157625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770702982,"filename":"image_05112025_13_14_18_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/15/94405fc50a1ed92060d98314cceed7ee.jpg","text":"TemporaryFile(/tmp/multipartBody429314893467654798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770702982,"filename":"image_05112025_13_14_03_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/15/7b46522bcc5fbd16cda259549e2dc6ee.jpg","text":"TemporaryFile(/tmp/multipartBody3843758438620694237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770702982,"filename":"image_05112025_13_14_39_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/15/0648d6f958e89bf142eb8016b44891d5.jpg","text":"TemporaryFile(/tmp/multipartBody958544395567870539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770702982,"filename":"image_05112025_13_14_07_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/15/d6ca2a45b5541c2d3603e2d9903a35ff.jpg","text":"TemporaryFile(/tmp/multipartBody5872157119626669231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770702982,"filename":"image_05112025_13_14_02_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/15/6f7cc0d55d2469f2143891270ce803c9.jpg","text":"TemporaryFile(/tmp/multipartBody5649643600628493536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770702982,"filename":"image_05112025_13_14_13_1768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430656","file1":"1399430653","file0":"1399430650","file4":"1399430660","file5":"1399430662","file3":"1399430658"},"map_files_photo_id_array":[{"photo_id":"1399430662","filename":"file5"},{"photo_id":"1399430656","filename":"file2"},{"photo_id":"1399430660","filename":"file4"},{"photo_id":"1399430653","filename":"file1"},{"photo_id":"1399430650","filename":"file0"},{"photo_id":"1399430658","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399430660":["hashtag1","hashtag2"]},{"1399430653":["hashtag1","hashtag2"]},{"1399430662":["hashtag1","hashtag2"]},{"1399430656":["hashtag1","hashtag2"]},{"1399430650":["hashtag1","hashtag2"]},{"1399430658":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399430660, 1399430653, 1399430662, 1399430656, 1399430650, 1399430658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.624231815338135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 04:51:22.555479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/36/image_15122025_04_36_14_9904.jpg', '/home/pi/Desktop/images/15122025/04/36/image_15122025_04_36_25_10822.jpg', '/home/pi/Desktop/images/15122025/04/36/image_15122025_04_36_34_9680.jpg', '/home/pi/Desktop/images/15122025/04/36/image_15122025_04_36_44_9752.jpg', '/home/pi/Desktop/images/15122025/04/36/image_15122025_04_36_54_9815.jpg', '/home/pi/Desktop/images/15122025/04/36/image_15122025_04_37_05_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/36/image_15122025_04_36_14_9904.jpg
/home/pi/Desktop/images/15122025/04/36/image_15122025_04_36_25_10822.jpg
/home/pi/Desktop/images/15122025/04/36/image_15122025_04_36_34_9680.jpg
/home/pi/Desktop/images/15122025/04/36/image_15122025_04_36_44_9752.jpg
/home/pi/Desktop/images/15122025/04/36/image_15122025_04_36_54_9815.jpg
/home/pi/Desktop/images/15122025/04/36/image_15122025_04_37_05_10659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430665","1399430664","1399430667","1399430669","1399430663","1399430666"],"photo_ids_order":["1399430663","1399430664","1399430665","1399430666","1399430667","1399430669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4632298467ed90acc573eb74c7283e87.jpg","text":"TemporaryFile(/tmp/multipartBody5993097160378571053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770743211,"filename":"image_15122025_04_36_34_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/68c8251de37aae1411f832a657abff2c.jpg","text":"TemporaryFile(/tmp/multipartBody7256109968312422987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770743211,"filename":"image_15122025_04_36_25_10822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8c61c9d76708b7124e25ede99b9da0d8.jpg","text":"TemporaryFile(/tmp/multipartBody5742492548531319598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770743211,"filename":"image_15122025_04_36_54_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6eae6ca4b9ce290c4cd1ca058d6da754.jpg","text":"TemporaryFile(/tmp/multipartBody7258660657715302237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770743211,"filename":"image_15122025_04_37_05_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d4bc634289646a5cc16fb5fa4579ac51.jpg","text":"TemporaryFile(/tmp/multipartBody1311585694264825668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770743211,"filename":"image_15122025_04_36_14_9904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8ac0318dbc8661bed1fd557d75c44ffb.jpg","text":"TemporaryFile(/tmp/multipartBody4640727015402973742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770743211,"filename":"image_15122025_04_36_44_9752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430665","file1":"1399430664","file0":"1399430663","file4":"1399430667","file5":"1399430669","file3":"1399430666"},"map_files_photo_id_array":[{"photo_id":"1399430669","filename":"file5"},{"photo_id":"1399430665","filename":"file2"},{"photo_id":"1399430667","filename":"file4"},{"photo_id":"1399430664","filename":"file1"},{"photo_id":"1399430663","filename":"file0"},{"photo_id":"1399430666","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430665":["hashtag1","hashtag2"]},{"1399430664":["hashtag1","hashtag2"]},{"1399430667":["hashtag1","hashtag2"]},{"1399430669":["hashtag1","hashtag2"]},{"1399430663":["hashtag1","hashtag2"]},{"1399430666":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430665, 1399430664, 1399430667, 1399430669, 1399430663, 1399430666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42776966094971 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 04:52:03.174395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/37/image_15122025_04_37_24_9695.jpg', '/home/pi/Desktop/images/15122025/04/37/image_15122025_04_37_34_9726.jpg', '/home/pi/Desktop/images/15122025/04/37/image_15122025_04_37_44_10554.jpg', '/home/pi/Desktop/images/15122025/04/37/image_15122025_04_37_54_9750.jpg', '/home/pi/Desktop/images/15122025/04/37/image_15122025_04_38_05_10626.jpg', '/home/pi/Desktop/images/15122025/04/38/image_15122025_04_38_15_9861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/37/image_15122025_04_37_24_9695.jpg
/home/pi/Desktop/images/15122025/04/37/image_15122025_04_37_34_9726.jpg
/home/pi/Desktop/images/15122025/04/37/image_15122025_04_37_44_10554.jpg
/home/pi/Desktop/images/15122025/04/37/image_15122025_04_37_54_9750.jpg
/home/pi/Desktop/images/15122025/04/37/image_15122025_04_38_05_10626.jpg
/home/pi/Desktop/images/15122025/04/38/image_15122025_04_38_15_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":["1399430680","1399430677","1399430679","1399430676","1399430675","1399430678"],"photo_ids_order":["1399430675","1399430676","1399430677","1399430678","1399430679","1399430680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fb00f50cba942a92cf543af6a27a1549.jpg","text":"TemporaryFile(/tmp/multipartBody1675539200907597944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770783812,"filename":"image_15122025_04_38_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/15/86a9bbc9033ec13f7ed87f455cb7fe73.jpg","text":"TemporaryFile(/tmp/multipartBody1350796917079308052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770783812,"filename":"image_15122025_04_37_44_10554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6925f7b04ac2aa9e3bb845aa3b421250.jpg","text":"TemporaryFile(/tmp/multipartBody4520006258268164213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770783812,"filename":"image_15122025_04_38_05_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/676de3baea606e9a171c83d2b56c4a9d.jpg","text":"TemporaryFile(/tmp/multipartBody1788961431639632121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770783812,"filename":"image_15122025_04_37_34_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3da3446472f70e265b980d6486f08c18.jpg","text":"TemporaryFile(/tmp/multipartBody8677616638463262687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770783812,"filename":"image_15122025_04_37_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/15/c722e5c8f2a8520f5ade90c2d601d393.jpg","text":"TemporaryFile(/tmp/multipartBody7029555125394767288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770783812,"filename":"image_15122025_04_37_54_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430677","file1":"1399430676","file0":"1399430675","file4":"1399430679","file5":"1399430680","file3":"1399430678"},"map_files_photo_id_array":[{"photo_id":"1399430680","filename":"file5"},{"photo_id":"1399430677","filename":"file2"},{"photo_id":"1399430679","filename":"file4"},{"photo_id":"1399430676","filename":"file1"},{"photo_id":"1399430675","filename":"file0"},{"photo_id":"1399430678","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430680":["hashtag1","hashtag2"]},{"1399430677":["hashtag1","hashtag2"]},{"1399430679":["hashtag1","hashtag2"]},{"1399430676":["hashtag1","hashtag2"]},{"1399430675":["hashtag1","hashtag2"]},{"1399430678":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430680, 1399430677, 1399430679, 1399430676, 1399430675, 1399430678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.025864601135254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 04:52:42.710373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/15/image_05112025_13_15_06_24873.jpg', '/home/pi/Desktop/images/05112025/13/15/image_05112025_13_15_09_1551.jpg', '/home/pi/Desktop/images/05112025/13/15/image_05112025_13_15_12_1498.jpg', '/home/pi/Desktop/images/05112025/13/15/image_05112025_13_15_15_1713.jpg', '/home/pi/Desktop/images/05112025/13/15/image_05112025_13_15_26_1878.jpg', '/home/pi/Desktop/images/05112025/13/15/image_05112025_13_15_30_1628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/15/image_05112025_13_15_06_24873.jpg
/home/pi/Desktop/images/05112025/13/15/image_05112025_13_15_09_1551.jpg
/home/pi/Desktop/images/05112025/13/15/image_05112025_13_15_12_1498.jpg
/home/pi/Desktop/images/05112025/13/15/image_05112025_13_15_15_1713.jpg
/home/pi/Desktop/images/05112025/13/15/image_05112025_13_15_26_1878.jpg
/home/pi/Desktop/images/05112025/13/15/image_05112025_13_15_30_1628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430692","1399430686","1399430689","1399430682","1399430681","1399430684"],"photo_ids_order":["1399430681","1399430682","1399430684","1399430686","1399430689","1399430692"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/946a686b935ad18d8c9423de886fda6b.jpg","text":"TemporaryFile(/tmp/multipartBody5135113310785806752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770823396,"filename":"image_05112025_13_15_30_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/15/44d4eb9be3c0da3db481b5ae49f51089.jpg","text":"TemporaryFile(/tmp/multipartBody3251712469631019238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770823396,"filename":"image_05112025_13_15_15_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/15/19f570e74b8573b12da887772abdb77f.jpg","text":"TemporaryFile(/tmp/multipartBody6619969374489203361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770823396,"filename":"image_05112025_13_15_26_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/15/86c356178efe9f53136663aef381a0b5.jpg","text":"TemporaryFile(/tmp/multipartBody2025988979854817458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770823396,"filename":"image_05112025_13_15_09_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/15/46fc6df634923059064f12dda353e687.jpg","text":"TemporaryFile(/tmp/multipartBody7856388202630013505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770823396,"filename":"image_05112025_13_15_06_24873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/886f0240beb548daaa9d4937dcb6954c.jpg","text":"TemporaryFile(/tmp/multipartBody2587428706379932077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770823396,"filename":"image_05112025_13_15_12_1498.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430684","file1":"1399430682","file0":"1399430681","file4":"1399430689","file5":"1399430692","file3":"1399430686"},"map_files_photo_id_array":[{"photo_id":"1399430692","filename":"file5"},{"photo_id":"1399430684","filename":"file2"},{"photo_id":"1399430689","filename":"file4"},{"photo_id":"1399430682","filename":"file1"},{"photo_id":"1399430681","filename":"file0"},{"photo_id":"1399430686","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399430692":["hashtag1","hashtag2"]},{"1399430686":["hashtag1","hashtag2"]},{"1399430689":["hashtag1","hashtag2"]},{"1399430682":["hashtag1","hashtag2"]},{"1399430681":["hashtag1","hashtag2"]},{"1399430684":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399430692, 1399430686, 1399430689, 1399430682, 1399430681, 1399430684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.968862533569336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 04:53:21.935985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/38/image_15122025_04_38_24_9779.jpg', '/home/pi/Desktop/images/15122025/04/38/image_15122025_04_38_34_9616.jpg', '/home/pi/Desktop/images/15122025/04/38/image_15122025_04_38_44_9754.jpg', '/home/pi/Desktop/images/15122025/04/38/image_15122025_04_38_54_10770.jpg', '/home/pi/Desktop/images/15122025/04/38/image_15122025_04_39_04_9801.jpg', '/home/pi/Desktop/images/15122025/04/39/image_15122025_04_39_14_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/38/image_15122025_04_38_24_9779.jpg
/home/pi/Desktop/images/15122025/04/38/image_15122025_04_38_34_9616.jpg
/home/pi/Desktop/images/15122025/04/38/image_15122025_04_38_44_9754.jpg
/home/pi/Desktop/images/15122025/04/38/image_15122025_04_38_54_10770.jpg
/home/pi/Desktop/images/15122025/04/38/image_15122025_04_39_04_9801.jpg
/home/pi/Desktop/images/15122025/04/39/image_15122025_04_39_14_9731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430702","1399430707","1399430697","1399430701","1399430700","1399430699"],"photo_ids_order":["1399430697","1399430699","1399430700","1399430701","1399430702","1399430707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7782f2d4d453e13dcfe35905bcd116d8.jpg","text":"TemporaryFile(/tmp/multipartBody7443430389036290703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770862550,"filename":"image_15122025_04_39_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/15/02ca516eceaf8d7bb74483e253cb2385.jpg","text":"TemporaryFile(/tmp/multipartBody3642806105679394339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770862550,"filename":"image_15122025_04_39_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/15/e8ebce86f117a3b63295e01e09b03519.jpg","text":"TemporaryFile(/tmp/multipartBody5189209434726318692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770862550,"filename":"image_15122025_04_38_24_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/63fea22a89311f0f90d03dcffcf28c0f.jpg","text":"TemporaryFile(/tmp/multipartBody3169045406686631926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770862550,"filename":"image_15122025_04_38_54_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/15/d4fd02b105f9b9dbd1a5a8f74efd945d.jpg","text":"TemporaryFile(/tmp/multipartBody4368610046206033410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770862550,"filename":"image_15122025_04_38_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/15/77967da847bdc64caf72d619596be84d.jpg","text":"TemporaryFile(/tmp/multipartBody7744015313120424326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770862550,"filename":"image_15122025_04_38_34_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430700","file1":"1399430699","file0":"1399430697","file4":"1399430702","file5":"1399430707","file3":"1399430701"},"map_files_photo_id_array":[{"photo_id":"1399430707","filename":"file5"},{"photo_id":"1399430700","filename":"file2"},{"photo_id":"1399430702","filename":"file4"},{"photo_id":"1399430699","filename":"file1"},{"photo_id":"1399430697","filename":"file0"},{"photo_id":"1399430701","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430702":["hashtag1","hashtag2"]},{"1399430707":["hashtag1","hashtag2"]},{"1399430697":["hashtag1","hashtag2"]},{"1399430701":["hashtag1","hashtag2"]},{"1399430700":["hashtag1","hashtag2"]},{"1399430699":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430702, 1399430707, 1399430697, 1399430701, 1399430700, 1399430699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.06669330596924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 04:54:02.833569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/39/image_15122025_04_39_25_10569.jpg', '/home/pi/Desktop/images/15122025/04/39/image_15122025_04_39_34_9609.jpg', '/home/pi/Desktop/images/15122025/04/39/image_15122025_04_39_44_9656.jpg', '/home/pi/Desktop/images/15122025/04/39/image_15122025_04_39_55_10710.jpg', '/home/pi/Desktop/images/15122025/04/39/image_15122025_04_40_04_9658.jpg', '/home/pi/Desktop/images/15122025/04/40/image_15122025_04_40_14_9866.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/39/image_15122025_04_39_25_10569.jpg
/home/pi/Desktop/images/15122025/04/39/image_15122025_04_39_34_9609.jpg
/home/pi/Desktop/images/15122025/04/39/image_15122025_04_39_44_9656.jpg
/home/pi/Desktop/images/15122025/04/39/image_15122025_04_39_55_10710.jpg
/home/pi/Desktop/images/15122025/04/39/image_15122025_04_40_04_9658.jpg
/home/pi/Desktop/images/15122025/04/40/image_15122025_04_40_14_9866.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5786392688751221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 04:54:12.100924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 04:54:22.136303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/39/image_15122025_04_39_25_10569.jpg', '/home/pi/Desktop/images/15122025/04/39/image_15122025_04_39_34_9609.jpg', '/home/pi/Desktop/images/15122025/04/39/image_15122025_04_39_44_9656.jpg', '/home/pi/Desktop/images/15122025/04/39/image_15122025_04_39_55_10710.jpg', '/home/pi/Desktop/images/15122025/04/39/image_15122025_04_40_04_9658.jpg', '/home/pi/Desktop/images/15122025/04/40/image_15122025_04_40_14_9866.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/39/image_15122025_04_39_25_10569.jpg
/home/pi/Desktop/images/15122025/04/39/image_15122025_04_39_34_9609.jpg
/home/pi/Desktop/images/15122025/04/39/image_15122025_04_39_44_9656.jpg
/home/pi/Desktop/images/15122025/04/39/image_15122025_04_39_55_10710.jpg
/home/pi/Desktop/images/15122025/04/39/image_15122025_04_40_04_9658.jpg
/home/pi/Desktop/images/15122025/04/40/image_15122025_04_40_14_9866.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430720","1399430722","1399430719","1399430721","1399430724","1399430718"],"photo_ids_order":["1399430718","1399430719","1399430720","1399430721","1399430722","1399430724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8f35927610d3e5f982ff0ffa067a4c14.jpg","text":"TemporaryFile(/tmp/multipartBody1989058051152086956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770922747,"filename":"image_15122025_04_39_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/15/c1d22731f3d642860c049ae55e5df6bb.jpg","text":"TemporaryFile(/tmp/multipartBody2309609233912858964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770922747,"filename":"image_15122025_04_40_04_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5408934d307fa4a330ffc8d2075a233f.jpg","text":"TemporaryFile(/tmp/multipartBody6378318162547230903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770922747,"filename":"image_15122025_04_39_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/15/09ad13e1c2907d9eb02f670d75f64271.jpg","text":"TemporaryFile(/tmp/multipartBody2182668463294970936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770922747,"filename":"image_15122025_04_39_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/15/cff377371a831fef3cca159f52c7fd32.jpg","text":"TemporaryFile(/tmp/multipartBody9104120697363790175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770922747,"filename":"image_15122025_04_40_14_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/14e8b15cab625ca53985ca9d16922cb4.jpg","text":"TemporaryFile(/tmp/multipartBody1188150563646593221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770922747,"filename":"image_15122025_04_39_25_10569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430720","file1":"1399430719","file0":"1399430718","file4":"1399430722","file5":"1399430724","file3":"1399430721"},"map_files_photo_id_array":[{"photo_id":"1399430724","filename":"file5"},{"photo_id":"1399430720","filename":"file2"},{"photo_id":"1399430722","filename":"file4"},{"photo_id":"1399430719","filename":"file1"},{"photo_id":"1399430718","filename":"file0"},{"photo_id":"1399430721","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430720":["hashtag1","hashtag2"]},{"1399430722":["hashtag1","hashtag2"]},{"1399430719":["hashtag1","hashtag2"]},{"1399430721":["hashtag1","hashtag2"]},{"1399430724":["hashtag1","hashtag2"]},{"1399430718":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430720, 1399430722, 1399430719, 1399430721, 1399430724, 1399430718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71602201461792 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 04:55:03.150606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/40/image_15122025_04_40_24_9850.jpg', '/home/pi/Desktop/images/15122025/04/40/image_15122025_04_40_35_10682.jpg', '/home/pi/Desktop/images/15122025/04/40/image_15122025_04_40_44_9817.jpg', '/home/pi/Desktop/images/15122025/04/40/image_15122025_04_40_54_9718.jpg', '/home/pi/Desktop/images/15122025/04/40/image_15122025_04_41_04_9760.jpg', '/home/pi/Desktop/images/15122025/04/41/image_15122025_04_41_15_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/40/image_15122025_04_40_24_9850.jpg
/home/pi/Desktop/images/15122025/04/40/image_15122025_04_40_35_10682.jpg
/home/pi/Desktop/images/15122025/04/40/image_15122025_04_40_44_9817.jpg
/home/pi/Desktop/images/15122025/04/40/image_15122025_04_40_54_9718.jpg
/home/pi/Desktop/images/15122025/04/40/image_15122025_04_41_04_9760.jpg
/home/pi/Desktop/images/15122025/04/41/image_15122025_04_41_15_10640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430732","1399430735","1399430734","1399430731","1399430733","1399430730"],"photo_ids_order":["1399430730","1399430731","1399430732","1399430733","1399430734","1399430735"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7043d4b15460e6d8b3562f267a4416dd.jpg","text":"TemporaryFile(/tmp/multipartBody886472183155260892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770963842,"filename":"image_15122025_04_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/15/f249d2c3bf00662f19d64bb266ad5e68.jpg","text":"TemporaryFile(/tmp/multipartBody3585343325208522986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770963842,"filename":"image_15122025_04_41_15_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/62867ff3f0aba56f6191ac374b6d033c.jpg","text":"TemporaryFile(/tmp/multipartBody763055836734121607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770963842,"filename":"image_15122025_04_41_04_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5c9eb8cc4ad84d153895e0e51aa3a616.jpg","text":"TemporaryFile(/tmp/multipartBody7740363761173142592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770963842,"filename":"image_15122025_04_40_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/15/a289361d2530d6de340d06b7b77f5345.jpg","text":"TemporaryFile(/tmp/multipartBody7382594688943176055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770963842,"filename":"image_15122025_04_40_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/15/a3cd1726648990009a41907a9eb08748.jpg","text":"TemporaryFile(/tmp/multipartBody3895290994622412606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765770963842,"filename":"image_15122025_04_40_24_9850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430732","file1":"1399430731","file0":"1399430730","file4":"1399430734","file5":"1399430735","file3":"1399430733"},"map_files_photo_id_array":[{"photo_id":"1399430735","filename":"file5"},{"photo_id":"1399430732","filename":"file2"},{"photo_id":"1399430734","filename":"file4"},{"photo_id":"1399430731","filename":"file1"},{"photo_id":"1399430730","filename":"file0"},{"photo_id":"1399430733","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430732":["hashtag1","hashtag2"]},{"1399430735":["hashtag1","hashtag2"]},{"1399430734":["hashtag1","hashtag2"]},{"1399430731":["hashtag1","hashtag2"]},{"1399430733":["hashtag1","hashtag2"]},{"1399430730":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430732, 1399430735, 1399430734, 1399430731, 1399430733, 1399430730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72414302825928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 04:55:42.396819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/15/image_05112025_13_15_39_1569.jpg', '/home/pi/Desktop/images/05112025/13/15/image_05112025_13_15_41_1769.jpg', '/home/pi/Desktop/images/05112025/13/15/image_05112025_13_15_43_1572.jpg', '/home/pi/Desktop/images/05112025/13/15/image_05112025_13_15_44_1606.jpg', '/home/pi/Desktop/images/05112025/13/15/image_05112025_13_15_46_1514.jpg', '/home/pi/Desktop/images/05112025/13/15/image_05112025_13_15_55_7949.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/15/image_05112025_13_15_39_1569.jpg
/home/pi/Desktop/images/05112025/13/15/image_05112025_13_15_41_1769.jpg
/home/pi/Desktop/images/05112025/13/15/image_05112025_13_15_43_1572.jpg
/home/pi/Desktop/images/05112025/13/15/image_05112025_13_15_44_1606.jpg
/home/pi/Desktop/images/05112025/13/15/image_05112025_13_15_46_1514.jpg
/home/pi/Desktop/images/05112025/13/15/image_05112025_13_15_55_7949.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430747","1399430741","1399430743","1399430745","1399430736","1399430738"],"photo_ids_order":["1399430736","1399430738","1399430741","1399430743","1399430745","1399430747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1d06a54fd5fa7b6e0dbe47dd38e52c15.jpg","text":"TemporaryFile(/tmp/multipartBody3731884115989756357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771003081,"filename":"image_05112025_13_15_55_7949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8c0d2376d93d5403f98b85e08911829f.jpg","text":"TemporaryFile(/tmp/multipartBody8070534682164758369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771003081,"filename":"image_05112025_13_15_43_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/15/bd30803abb066b9319805c89d97f790a.jpg","text":"TemporaryFile(/tmp/multipartBody7222374942051140851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771003081,"filename":"image_05112025_13_15_44_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/15/05e5bbc71329db2a333a5a64580d5ef2.jpg","text":"TemporaryFile(/tmp/multipartBody8001183494757869861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771003081,"filename":"image_05112025_13_15_46_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/15/bde8134a32f1df94b6af38bbabaa9998.jpg","text":"TemporaryFile(/tmp/multipartBody7555876979973518216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771003081,"filename":"image_05112025_13_15_39_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/15/925ac29717b15b64d2617c4e123d21c3.jpg","text":"TemporaryFile(/tmp/multipartBody1867559249817603412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771003081,"filename":"image_05112025_13_15_41_1769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430741","file1":"1399430738","file0":"1399430736","file4":"1399430745","file5":"1399430747","file3":"1399430743"},"map_files_photo_id_array":[{"photo_id":"1399430747","filename":"file5"},{"photo_id":"1399430741","filename":"file2"},{"photo_id":"1399430745","filename":"file4"},{"photo_id":"1399430738","filename":"file1"},{"photo_id":"1399430736","filename":"file0"},{"photo_id":"1399430743","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399430747":["hashtag1","hashtag2"]},{"1399430741":["hashtag1","hashtag2"]},{"1399430743":["hashtag1","hashtag2"]},{"1399430745":["hashtag1","hashtag2"]},{"1399430736":["hashtag1","hashtag2"]},{"1399430738":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399430747, 1399430741, 1399430743, 1399430745, 1399430736, 1399430738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.006728172302246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 04:56:22.668852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/41/image_15122025_04_41_24_9721.jpg', '/home/pi/Desktop/images/15122025/04/41/image_15122025_04_41_34_9749.jpg', '/home/pi/Desktop/images/15122025/04/41/image_15122025_04_41_45_10616.jpg', '/home/pi/Desktop/images/15122025/04/41/image_15122025_04_41_54_9798.jpg', '/home/pi/Desktop/images/15122025/04/42/image_15122025_04_42_14_9682.jpg', '/home/pi/Desktop/images/15122025/04/42/image_15122025_04_42_24_9975.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/41/image_15122025_04_41_24_9721.jpg
/home/pi/Desktop/images/15122025/04/41/image_15122025_04_41_34_9749.jpg
/home/pi/Desktop/images/15122025/04/41/image_15122025_04_41_45_10616.jpg
/home/pi/Desktop/images/15122025/04/41/image_15122025_04_41_54_9798.jpg
/home/pi/Desktop/images/15122025/04/42/image_15122025_04_42_14_9682.jpg
/home/pi/Desktop/images/15122025/04/42/image_15122025_04_42_24_9975.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430752","1399430749","1399430751","1399430748","1399430757","1399430750"],"photo_ids_order":["1399430748","1399430749","1399430750","1399430751","1399430752","1399430757"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e49c4020af522ff680127af6969b9ac3.jpg","text":"TemporaryFile(/tmp/multipartBody4350201161273098756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771043282,"filename":"image_15122025_04_42_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/15/a5961629aecedddff11c0b3d7dca08e9.jpg","text":"TemporaryFile(/tmp/multipartBody1442081744252827780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771043282,"filename":"image_15122025_04_41_34_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1dd458e3846f03e20a838a18c0e757ed.jpg","text":"TemporaryFile(/tmp/multipartBody6588656039966118423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771043282,"filename":"image_15122025_04_41_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/15/56eade4b0c56d0c0f5222ea35698243e.jpg","text":"TemporaryFile(/tmp/multipartBody224728707726271774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771043282,"filename":"image_15122025_04_41_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/15/9aa9a4a25eae109422868fa5d1e20ede.jpg","text":"TemporaryFile(/tmp/multipartBody7815829523850477145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771043282,"filename":"image_15122025_04_42_24_9975.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/96e8d91f58b08db113ffffc17493a426.jpg","text":"TemporaryFile(/tmp/multipartBody6919554679550197972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771043282,"filename":"image_15122025_04_41_45_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430750","file1":"1399430749","file0":"1399430748","file4":"1399430752","file5":"1399430757","file3":"1399430751"},"map_files_photo_id_array":[{"photo_id":"1399430757","filename":"file5"},{"photo_id":"1399430750","filename":"file2"},{"photo_id":"1399430752","filename":"file4"},{"photo_id":"1399430749","filename":"file1"},{"photo_id":"1399430748","filename":"file0"},{"photo_id":"1399430751","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430752":["hashtag1","hashtag2"]},{"1399430749":["hashtag1","hashtag2"]},{"1399430751":["hashtag1","hashtag2"]},{"1399430748":["hashtag1","hashtag2"]},{"1399430757":["hashtag1","hashtag2"]},{"1399430750":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430752, 1399430749, 1399430751, 1399430748, 1399430757, 1399430750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1269850730896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 04:57:02.545772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/42/image_15122025_04_42_35_10713.jpg', '/home/pi/Desktop/images/15122025/04/42/image_15122025_04_42_45_9873.jpg', '/home/pi/Desktop/images/15122025/04/42/image_15122025_04_42_54_9731.jpg', '/home/pi/Desktop/images/15122025/04/42/image_15122025_04_43_04_9932.jpg', '/home/pi/Desktop/images/15122025/04/43/image_15122025_04_43_14_9621.jpg', '/home/pi/Desktop/images/15122025/04/43/image_15122025_04_43_25_10757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/42/image_15122025_04_42_35_10713.jpg
/home/pi/Desktop/images/15122025/04/42/image_15122025_04_42_45_9873.jpg
/home/pi/Desktop/images/15122025/04/42/image_15122025_04_42_54_9731.jpg
/home/pi/Desktop/images/15122025/04/42/image_15122025_04_43_04_9932.jpg
/home/pi/Desktop/images/15122025/04/43/image_15122025_04_43_14_9621.jpg
/home/pi/Desktop/images/15122025/04/43/image_15122025_04_43_25_10757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430770","1399430767","1399430772","1399430774","1399430762","1399430765"],"photo_ids_order":["1399430762","1399430765","1399430767","1399430770","1399430772","1399430774"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f5cffd640142c6e393221a14cb80ec87.jpg","text":"TemporaryFile(/tmp/multipartBody3408915748312880758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771083221,"filename":"image_15122025_04_43_04_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/15/6e3b22a2c892c6a69f39d0a18fdb75f5.jpg","text":"TemporaryFile(/tmp/multipartBody6570649304179259751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771083221,"filename":"image_15122025_04_42_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/15/8c947685bc542a7d32736f8e32988187.jpg","text":"TemporaryFile(/tmp/multipartBody9190831139747347626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771083221,"filename":"image_15122025_04_43_14_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/54dd19017c97a6c7e72e0478110ecdd2.jpg","text":"TemporaryFile(/tmp/multipartBody8014930424428362750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771083221,"filename":"image_15122025_04_43_25_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/03b8c123749cf6208c4adcc09403a6dd.jpg","text":"TemporaryFile(/tmp/multipartBody4150126016530744778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771083221,"filename":"image_15122025_04_42_35_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f16abf065f9b4f4585d09838cbf95a8e.jpg","text":"TemporaryFile(/tmp/multipartBody6037252093323476462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771083221,"filename":"image_15122025_04_42_45_9873.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430767","file1":"1399430765","file0":"1399430762","file4":"1399430772","file5":"1399430774","file3":"1399430770"},"map_files_photo_id_array":[{"photo_id":"1399430774","filename":"file5"},{"photo_id":"1399430767","filename":"file2"},{"photo_id":"1399430772","filename":"file4"},{"photo_id":"1399430765","filename":"file1"},{"photo_id":"1399430762","filename":"file0"},{"photo_id":"1399430770","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430770":["hashtag1","hashtag2"]},{"1399430767":["hashtag1","hashtag2"]},{"1399430772":["hashtag1","hashtag2"]},{"1399430774":["hashtag1","hashtag2"]},{"1399430762":["hashtag1","hashtag2"]},{"1399430765":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430770, 1399430767, 1399430772, 1399430774, 1399430762, 1399430765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.345942735672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 04:57:41.904161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/17/image_05112025_13_17_07_3010.jpg', '/home/pi/Desktop/images/05112025/13/17/image_05112025_13_17_13_2690.jpg', '/home/pi/Desktop/images/05112025/13/17/image_05112025_13_17_19_3391.jpg', '/home/pi/Desktop/images/05112025/13/17/image_05112025_13_17_26_3560.jpg', '/home/pi/Desktop/images/05112025/13/17/image_05112025_13_17_28_2600.jpg', '/home/pi/Desktop/images/05112025/13/17/image_05112025_13_17_31_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/17/image_05112025_13_17_07_3010.jpg
/home/pi/Desktop/images/05112025/13/17/image_05112025_13_17_13_2690.jpg
/home/pi/Desktop/images/05112025/13/17/image_05112025_13_17_19_3391.jpg
/home/pi/Desktop/images/05112025/13/17/image_05112025_13_17_26_3560.jpg
/home/pi/Desktop/images/05112025/13/17/image_05112025_13_17_28_2600.jpg
/home/pi/Desktop/images/05112025/13/17/image_05112025_13_17_31_2637.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430782","1399430784","1399430775","1399430786","1399430780","1399430777"],"photo_ids_order":["1399430775","1399430777","1399430780","1399430782","1399430784","1399430786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dfea8ab5b003257a11c7292aad6bf38f.jpg","text":"TemporaryFile(/tmp/multipartBody4711677692060860165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771122599,"filename":"image_05112025_13_17_26_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/93be66bfcac43f79f03169021f9e5f1e.jpg","text":"TemporaryFile(/tmp/multipartBody8409304741869594492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771122599,"filename":"image_05112025_13_17_28_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/15/035e5f62bae1999cc894aa3ab39b3798.jpg","text":"TemporaryFile(/tmp/multipartBody5229513764058274964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771122599,"filename":"image_05112025_13_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/15/3f543aeb83000515c80bbe7c4c887f2e.jpg","text":"TemporaryFile(/tmp/multipartBody71746854221694926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771122599,"filename":"image_05112025_13_17_31_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/15/66543a5550023ae0f4def90b956387bd.jpg","text":"TemporaryFile(/tmp/multipartBody5355630790311939004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771122599,"filename":"image_05112025_13_17_19_3391.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bdc48202494eff6dad1faf3cbf82f97f.jpg","text":"TemporaryFile(/tmp/multipartBody8792449541259205999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771122599,"filename":"image_05112025_13_17_13_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399430780","file1":"1399430777","file0":"1399430775","file4":"1399430784","file5":"1399430786","file3":"1399430782"},"map_files_photo_id_array":[{"photo_id":"1399430786","filename":"file5"},{"photo_id":"1399430780","filename":"file2"},{"photo_id":"1399430784","filename":"file4"},{"photo_id":"1399430777","filename":"file1"},{"photo_id":"1399430775","filename":"file0"},{"photo_id":"1399430782","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399430782":["hashtag1","hashtag2"]},{"1399430784":["hashtag1","hashtag2"]},{"1399430775":["hashtag1","hashtag2"]},{"1399430786":["hashtag1","hashtag2"]},{"1399430780":["hashtag1","hashtag2"]},{"1399430777":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399430782, 1399430784, 1399430775, 1399430786, 1399430780, 1399430777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.174373149871826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 04:59:03.275822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/43/image_15122025_04_43_34_9866.jpg', '/home/pi/Desktop/images/15122025/04/43/image_15122025_04_43_44_9730.jpg', '/home/pi/Desktop/images/15122025/04/43/image_15122025_04_43_54_9754.jpg', '/home/pi/Desktop/images/15122025/04/43/image_15122025_04_44_05_10760.jpg', '/home/pi/Desktop/images/15122025/04/44/image_15122025_04_44_14_9675.jpg', '/home/pi/Desktop/images/15122025/04/44/image_15122025_04_44_24_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/43/image_15122025_04_43_34_9866.jpg
/home/pi/Desktop/images/15122025/04/43/image_15122025_04_43_44_9730.jpg
/home/pi/Desktop/images/15122025/04/43/image_15122025_04_43_54_9754.jpg
/home/pi/Desktop/images/15122025/04/43/image_15122025_04_44_05_10760.jpg
/home/pi/Desktop/images/15122025/04/44/image_15122025_04_44_14_9675.jpg
/home/pi/Desktop/images/15122025/04/44/image_15122025_04_44_24_9691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399430995","1399431073","1399431294","1399431036","1399431146","1399431215"],"photo_ids_order":["1399430995","1399431036","1399431073","1399431146","1399431215","1399431294"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cfb2221d5d30cd4486350562e4636091.jpg","text":"TemporaryFile(/tmp/multipartBody1229364900697910566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771204081,"filename":"image_15122025_04_43_34_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/15/ca4638c4afc8b8c4e9e624ee1d6ada63.jpg","text":"TemporaryFile(/tmp/multipartBody2035804833177641551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771204081,"filename":"image_15122025_04_43_54_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6a5fcd8c4ab77ebad1950b60bfbb8257.jpg","text":"TemporaryFile(/tmp/multipartBody3535133091588034518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771204081,"filename":"image_15122025_04_44_24_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8f40ee453d7b953443aff4609904c3ef.jpg","text":"TemporaryFile(/tmp/multipartBody5446533841188516060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771204081,"filename":"image_15122025_04_43_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/15/49f799c63e8e424107dd618acd871485.jpg","text":"TemporaryFile(/tmp/multipartBody5569505206956309113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771204081,"filename":"image_15122025_04_44_05_10760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fc4aff6710c04e64d3d2dd710bdce107.jpg","text":"TemporaryFile(/tmp/multipartBody4541525031330135671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771204081,"filename":"image_15122025_04_44_14_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399431073","file1":"1399431036","file0":"1399430995","file4":"1399431215","file5":"1399431294","file3":"1399431146"},"map_files_photo_id_array":[{"photo_id":"1399431294","filename":"file5"},{"photo_id":"1399431073","filename":"file2"},{"photo_id":"1399431215","filename":"file4"},{"photo_id":"1399431036","filename":"file1"},{"photo_id":"1399430995","filename":"file0"},{"photo_id":"1399431146","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399430995":["hashtag1","hashtag2"]},{"1399431073":["hashtag1","hashtag2"]},{"1399431294":["hashtag1","hashtag2"]},{"1399431036":["hashtag1","hashtag2"]},{"1399431146":["hashtag1","hashtag2"]},{"1399431215":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399430995, 1399431073, 1399431294, 1399431036, 1399431146, 1399431215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64349937438965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 04:59:42.320784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/17/image_05112025_13_17_34_3576.jpg', '/home/pi/Desktop/images/05112025/13/17/image_05112025_13_17_40_2679.jpg', '/home/pi/Desktop/images/05112025/13/17/image_05112025_13_17_43_3529.jpg', '/home/pi/Desktop/images/05112025/13/17/image_05112025_13_17_53_1849.jpg', '/home/pi/Desktop/images/05112025/13/18/image_05112025_13_18_01_2647.jpg', '/home/pi/Desktop/images/05112025/13/18/image_05112025_13_18_04_2820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/17/image_05112025_13_17_34_3576.jpg
/home/pi/Desktop/images/05112025/13/17/image_05112025_13_17_40_2679.jpg
/home/pi/Desktop/images/05112025/13/17/image_05112025_13_17_43_3529.jpg
/home/pi/Desktop/images/05112025/13/17/image_05112025_13_17_53_1849.jpg
/home/pi/Desktop/images/05112025/13/18/image_05112025_13_18_01_2647.jpg
/home/pi/Desktop/images/05112025/13/18/image_05112025_13_18_04_2820.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399431772","1399431628","1399431700","1399431924","1399431846","1399431555"],"photo_ids_order":["1399431555","1399431628","1399431700","1399431772","1399431846","1399431924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a0763acf1945f1dd007b784893332559.jpg","text":"TemporaryFile(/tmp/multipartBody7233853145138424644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771243047,"filename":"image_05112025_13_17_53_1849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1206bae7f6966a3c1d531b509a6fe5e8.jpg","text":"TemporaryFile(/tmp/multipartBody8608637987154570818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771243047,"filename":"image_05112025_13_17_40_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/15/d5e31c33e7cc5ff3aff578e983eb49dd.jpg","text":"TemporaryFile(/tmp/multipartBody2579792206404108070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771243047,"filename":"image_05112025_13_17_43_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/15/c1ca02053da133c29bcfa037fc47f5dd.jpg","text":"TemporaryFile(/tmp/multipartBody7386648392863851120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771243047,"filename":"image_05112025_13_18_04_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1373b7e3058cca4ca309c0c9c7424401.jpg","text":"TemporaryFile(/tmp/multipartBody1078952536820706944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771243047,"filename":"image_05112025_13_18_01_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/57f5753c87579f394cd032c49caa1c21.jpg","text":"TemporaryFile(/tmp/multipartBody4890883444801699451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771243047,"filename":"image_05112025_13_17_34_3576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399431700","file1":"1399431628","file0":"1399431555","file4":"1399431846","file5":"1399431924","file3":"1399431772"},"map_files_photo_id_array":[{"photo_id":"1399431924","filename":"file5"},{"photo_id":"1399431700","filename":"file2"},{"photo_id":"1399431846","filename":"file4"},{"photo_id":"1399431628","filename":"file1"},{"photo_id":"1399431555","filename":"file0"},{"photo_id":"1399431772","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399431772":["hashtag1","hashtag2"]},{"1399431628":["hashtag1","hashtag2"]},{"1399431700":["hashtag1","hashtag2"]},{"1399431924":["hashtag1","hashtag2"]},{"1399431846":["hashtag1","hashtag2"]},{"1399431555":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399431772, 1399431628, 1399431700, 1399431924, 1399431846, 1399431555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2678656578064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 05:00:22.650371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/44/image_15122025_04_44_34_9959.jpg', '/home/pi/Desktop/images/15122025/04/44/image_15122025_04_44_45_10552.jpg', '/home/pi/Desktop/images/15122025/04/44/image_15122025_04_44_54_9868.jpg', '/home/pi/Desktop/images/15122025/04/45/image_15122025_04_45_14_9707.jpg', '/home/pi/Desktop/images/15122025/04/45/image_15122025_04_45_25_10597.jpg', '/home/pi/Desktop/images/15122025/04/45/image_15122025_04_45_34_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/44/image_15122025_04_44_34_9959.jpg
/home/pi/Desktop/images/15122025/04/44/image_15122025_04_44_45_10552.jpg
/home/pi/Desktop/images/15122025/04/44/image_15122025_04_44_54_9868.jpg
/home/pi/Desktop/images/15122025/04/45/image_15122025_04_45_14_9707.jpg
/home/pi/Desktop/images/15122025/04/45/image_15122025_04_45_25_10597.jpg
/home/pi/Desktop/images/15122025/04/45/image_15122025_04_45_34_9600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399432299","1399432314","1399432262","1399432313","1399432214","1399432316"],"photo_ids_order":["1399432214","1399432262","1399432299","1399432313","1399432314","1399432316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e9bd4db31420985e7f467dba55d62465.jpg","text":"TemporaryFile(/tmp/multipartBody7333479693012274630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771283267,"filename":"image_15122025_04_44_54_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/15/90dde7720c8ea04975582ccc1ad4c61d.jpg","text":"TemporaryFile(/tmp/multipartBody4592496308277242495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771283267,"filename":"image_15122025_04_45_25_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/15/a4031361d718ae87cbf685ca22ac4bb7.jpg","text":"TemporaryFile(/tmp/multipartBody612439452639711762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771283267,"filename":"image_15122025_04_44_45_10552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/39d6682b1dcfc8bbc9ee30a4a5d5956a.jpg","text":"TemporaryFile(/tmp/multipartBody2762367741834679317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771283267,"filename":"image_15122025_04_45_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/15/972e96085b9c5189cfb2494b32f456df.jpg","text":"TemporaryFile(/tmp/multipartBody2204608445681077474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771283267,"filename":"image_15122025_04_44_34_9959.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/26bc91f9a3b50b5f4014cff711d5c7aa.jpg","text":"TemporaryFile(/tmp/multipartBody1786892810793130142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771283267,"filename":"image_15122025_04_45_34_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399432299","file1":"1399432262","file0":"1399432214","file4":"1399432314","file5":"1399432316","file3":"1399432313"},"map_files_photo_id_array":[{"photo_id":"1399432316","filename":"file5"},{"photo_id":"1399432299","filename":"file2"},{"photo_id":"1399432314","filename":"file4"},{"photo_id":"1399432262","filename":"file1"},{"photo_id":"1399432214","filename":"file0"},{"photo_id":"1399432313","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399432299":["hashtag1","hashtag2"]},{"1399432314":["hashtag1","hashtag2"]},{"1399432262":["hashtag1","hashtag2"]},{"1399432313":["hashtag1","hashtag2"]},{"1399432214":["hashtag1","hashtag2"]},{"1399432316":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399432299, 1399432314, 1399432262, 1399432313, 1399432214, 1399432316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66652011871338 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 05:01:03.368709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/45/image_15122025_04_45_55_10694.jpg', '/home/pi/Desktop/images/15122025/04/45/image_15122025_04_46_04_9816.jpg', '/home/pi/Desktop/images/15122025/04/46/image_15122025_04_46_14_9627.jpg', '/home/pi/Desktop/images/15122025/04/46/image_15122025_04_46_25_10621.jpg', '/home/pi/Desktop/images/15122025/04/46/image_15122025_04_46_34_9726.jpg', '/home/pi/Desktop/images/15122025/04/46/image_15122025_04_46_44_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/45/image_15122025_04_45_55_10694.jpg
/home/pi/Desktop/images/15122025/04/45/image_15122025_04_46_04_9816.jpg
/home/pi/Desktop/images/15122025/04/46/image_15122025_04_46_14_9627.jpg
/home/pi/Desktop/images/15122025/04/46/image_15122025_04_46_25_10621.jpg
/home/pi/Desktop/images/15122025/04/46/image_15122025_04_46_34_9726.jpg
/home/pi/Desktop/images/15122025/04/46/image_15122025_04_46_44_9705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399432444","1399432557","1399432446","1399432440","1399432496","1399432445"],"photo_ids_order":["1399432440","1399432444","1399432445","1399432446","1399432496","1399432557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/48cef1914bac669c41bdee78bf7a399d.jpg","text":"TemporaryFile(/tmp/multipartBody8310892586400156730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771324039,"filename":"image_15122025_04_46_04_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e88a6465c866dbabc0152ca82c0241c7.jpg","text":"TemporaryFile(/tmp/multipartBody8599929605766843637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771324039,"filename":"image_15122025_04_46_44_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/df368c2e75907af120c6f5028f839918.jpg","text":"TemporaryFile(/tmp/multipartBody891135480116801623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771324039,"filename":"image_15122025_04_46_25_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8fe28631157324d9f16b25a34a919fb4.jpg","text":"TemporaryFile(/tmp/multipartBody6521451606776051451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771324039,"filename":"image_15122025_04_45_55_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b620328898356b5de5b71ecd69487861.jpg","text":"TemporaryFile(/tmp/multipartBody8840855705227569284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771324039,"filename":"image_15122025_04_46_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/15/c144c372b4c0a502b51fa22274ee64fe.jpg","text":"TemporaryFile(/tmp/multipartBody4333013460071237925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771324039,"filename":"image_15122025_04_46_14_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399432445","file1":"1399432444","file0":"1399432440","file4":"1399432496","file5":"1399432557","file3":"1399432446"},"map_files_photo_id_array":[{"photo_id":"1399432557","filename":"file5"},{"photo_id":"1399432445","filename":"file2"},{"photo_id":"1399432496","filename":"file4"},{"photo_id":"1399432444","filename":"file1"},{"photo_id":"1399432440","filename":"file0"},{"photo_id":"1399432446","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399432444":["hashtag1","hashtag2"]},{"1399432557":["hashtag1","hashtag2"]},{"1399432446":["hashtag1","hashtag2"]},{"1399432440":["hashtag1","hashtag2"]},{"1399432496":["hashtag1","hashtag2"]},{"1399432445":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399432444, 1399432557, 1399432446, 1399432440, 1399432496, 1399432445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75990843772888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 05:01:42.809497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/18/image_05112025_13_18_07_2905.jpg', '/home/pi/Desktop/images/05112025/13/18/image_05112025_13_18_50_3839.jpg', '/home/pi/Desktop/images/05112025/13/18/image_05112025_13_18_55_2655.jpg', '/home/pi/Desktop/images/05112025/13/19/image_05112025_13_19_04_2710.jpg', '/home/pi/Desktop/images/05112025/13/19/image_05112025_13_19_11_4570.jpg', '/home/pi/Desktop/images/05112025/13/19/image_05112025_13_19_16_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/18/image_05112025_13_18_07_2905.jpg
/home/pi/Desktop/images/05112025/13/18/image_05112025_13_18_50_3839.jpg
/home/pi/Desktop/images/05112025/13/18/image_05112025_13_18_55_2655.jpg
/home/pi/Desktop/images/05112025/13/19/image_05112025_13_19_04_2710.jpg
/home/pi/Desktop/images/05112025/13/19/image_05112025_13_19_11_4570.jpg
/home/pi/Desktop/images/05112025/13/19/image_05112025_13_19_16_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":["1399432773","1399432758","1399432775","1399432783","1399432771","1399432723"],"photo_ids_order":["1399432723","1399432758","1399432771","1399432773","1399432775","1399432783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/357360d7fd7f6ff82bb04b56f38a84c3.jpg","text":"TemporaryFile(/tmp/multipartBody6018086323751747299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771363545,"filename":"image_05112025_13_19_04_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/15/4d311805821b945b819cc7b5085c1cf6.jpg","text":"TemporaryFile(/tmp/multipartBody7064459695854656724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771363545,"filename":"image_05112025_13_18_50_3839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6caea3f9eed45911103ab0ba9bb4643e.jpg","text":"TemporaryFile(/tmp/multipartBody1608429048373394903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771363545,"filename":"image_05112025_13_19_11_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/15/718f0a55d37f5a8e5ad9a55456847f6c.jpg","text":"TemporaryFile(/tmp/multipartBody2122300848619524543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771363545,"filename":"image_05112025_13_19_16_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/15/80197203c01fd8d117a800595b7e95e0.jpg","text":"TemporaryFile(/tmp/multipartBody5780591904693186596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771363545,"filename":"image_05112025_13_18_55_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0b62cb7a70990f25450b3fd03b53194f.jpg","text":"TemporaryFile(/tmp/multipartBody1806522384765168171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771363545,"filename":"image_05112025_13_18_07_2905.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399432771","file1":"1399432758","file0":"1399432723","file4":"1399432775","file5":"1399432783","file3":"1399432773"},"map_files_photo_id_array":[{"photo_id":"1399432783","filename":"file5"},{"photo_id":"1399432771","filename":"file2"},{"photo_id":"1399432775","filename":"file4"},{"photo_id":"1399432758","filename":"file1"},{"photo_id":"1399432723","filename":"file0"},{"photo_id":"1399432773","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399432773":["hashtag1","hashtag2"]},{"1399432758":["hashtag1","hashtag2"]},{"1399432775":["hashtag1","hashtag2"]},{"1399432783":["hashtag1","hashtag2"]},{"1399432771":["hashtag1","hashtag2"]},{"1399432723":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399432773, 1399432758, 1399432775, 1399432783, 1399432771, 1399432723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41968536376953 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 05:02:22.053810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/46/image_15122025_04_46_54_9924.jpg', '/home/pi/Desktop/images/15122025/04/46/image_15122025_04_47_04_9673.jpg', '/home/pi/Desktop/images/15122025/04/47/image_15122025_04_47_14_10573.jpg', '/home/pi/Desktop/images/15122025/04/47/image_15122025_04_47_34_9916.jpg', '/home/pi/Desktop/images/15122025/04/47/image_15122025_04_47_45_10626.jpg', '/home/pi/Desktop/images/15122025/04/47/image_15122025_04_47_54_9569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/46/image_15122025_04_46_54_9924.jpg
/home/pi/Desktop/images/15122025/04/46/image_15122025_04_47_04_9673.jpg
/home/pi/Desktop/images/15122025/04/47/image_15122025_04_47_14_10573.jpg
/home/pi/Desktop/images/15122025/04/47/image_15122025_04_47_34_9916.jpg
/home/pi/Desktop/images/15122025/04/47/image_15122025_04_47_45_10626.jpg
/home/pi/Desktop/images/15122025/04/47/image_15122025_04_47_54_9569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399432903","1399432900","1399432890","1399432833","1399432901","1399432864"],"photo_ids_order":["1399432833","1399432864","1399432890","1399432900","1399432901","1399432903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/24140dab14aa777c35b8c0746015a8ca.jpg","text":"TemporaryFile(/tmp/multipartBody3759154195660764066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771402668,"filename":"image_15122025_04_47_54_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1de979d8143c5107ac0b67622234f206.jpg","text":"TemporaryFile(/tmp/multipartBody3211976041231300564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771402668,"filename":"image_15122025_04_47_34_9916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4d3490ede7c0fcae81e67272ec623e60.jpg","text":"TemporaryFile(/tmp/multipartBody8800507668472926807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771402668,"filename":"image_15122025_04_47_14_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/15/47ab56f44ca1a840e9b0030f6023650f.jpg","text":"TemporaryFile(/tmp/multipartBody2518851510826039709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771402668,"filename":"image_15122025_04_46_54_9924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a4d4348a0640da5ded4e4a6cd38cd623.jpg","text":"TemporaryFile(/tmp/multipartBody4508521824227259834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771402668,"filename":"image_15122025_04_47_45_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9ab77a541315da85bf1ef93541483998.jpg","text":"TemporaryFile(/tmp/multipartBody8564846629270771836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771402668,"filename":"image_15122025_04_47_04_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399432890","file1":"1399432864","file0":"1399432833","file4":"1399432901","file5":"1399432903","file3":"1399432900"},"map_files_photo_id_array":[{"photo_id":"1399432903","filename":"file5"},{"photo_id":"1399432890","filename":"file2"},{"photo_id":"1399432901","filename":"file4"},{"photo_id":"1399432864","filename":"file1"},{"photo_id":"1399432833","filename":"file0"},{"photo_id":"1399432900","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399432903":["hashtag1","hashtag2"]},{"1399432900":["hashtag1","hashtag2"]},{"1399432890":["hashtag1","hashtag2"]},{"1399432833":["hashtag1","hashtag2"]},{"1399432901":["hashtag1","hashtag2"]},{"1399432864":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399432903, 1399432900, 1399432890, 1399432833, 1399432901, 1399432864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.803078174591064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 05:03:02.964547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/47/image_15122025_04_48_04_9665.jpg', '/home/pi/Desktop/images/15122025/04/48/image_15122025_04_48_15_10855.jpg', '/home/pi/Desktop/images/15122025/04/48/image_15122025_04_48_24_9724.jpg', '/home/pi/Desktop/images/15122025/04/48/image_15122025_04_48_34_9663.jpg', '/home/pi/Desktop/images/15122025/04/48/image_15122025_04_48_44_9712.jpg', '/home/pi/Desktop/images/15122025/04/48/image_15122025_04_48_55_10761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/47/image_15122025_04_48_04_9665.jpg
/home/pi/Desktop/images/15122025/04/48/image_15122025_04_48_15_10855.jpg
/home/pi/Desktop/images/15122025/04/48/image_15122025_04_48_24_9724.jpg
/home/pi/Desktop/images/15122025/04/48/image_15122025_04_48_34_9663.jpg
/home/pi/Desktop/images/15122025/04/48/image_15122025_04_48_44_9712.jpg
/home/pi/Desktop/images/15122025/04/48/image_15122025_04_48_55_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":["1399432912","1399432915","1399432914","1399432917","1399432910","1399432916"],"photo_ids_order":["1399432910","1399432912","1399432914","1399432915","1399432916","1399432917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bae1d79447e0c4d2b502a94846e6f0bb.jpg","text":"TemporaryFile(/tmp/multipartBody5954636494281717086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771443642,"filename":"image_15122025_04_48_15_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/15/21e78b9e5ae4fdead89b5b04e1058224.jpg","text":"TemporaryFile(/tmp/multipartBody699391863886419979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771443642,"filename":"image_15122025_04_48_34_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/903e490f7443b7f3ebb9f418ecb3d827.jpg","text":"TemporaryFile(/tmp/multipartBody3630115847798099430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771443642,"filename":"image_15122025_04_48_24_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2297576e162e8549b138d6dfd52fdcc5.jpg","text":"TemporaryFile(/tmp/multipartBody7368795217245144377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771443642,"filename":"image_15122025_04_48_55_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ed61a5cbb32e1bb2bedcdf895f6a106b.jpg","text":"TemporaryFile(/tmp/multipartBody7811199624450179555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771443642,"filename":"image_15122025_04_48_04_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/704726b5ce23e3ed09bff1aad27bcd41.jpg","text":"TemporaryFile(/tmp/multipartBody5460352960853337964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771443642,"filename":"image_15122025_04_48_44_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399432914","file1":"1399432912","file0":"1399432910","file4":"1399432916","file5":"1399432917","file3":"1399432915"},"map_files_photo_id_array":[{"photo_id":"1399432917","filename":"file5"},{"photo_id":"1399432914","filename":"file2"},{"photo_id":"1399432916","filename":"file4"},{"photo_id":"1399432912","filename":"file1"},{"photo_id":"1399432910","filename":"file0"},{"photo_id":"1399432915","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399432912":["hashtag1","hashtag2"]},{"1399432915":["hashtag1","hashtag2"]},{"1399432914":["hashtag1","hashtag2"]},{"1399432917":["hashtag1","hashtag2"]},{"1399432910":["hashtag1","hashtag2"]},{"1399432916":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399432912, 1399432915, 1399432914, 1399432917, 1399432910, 1399432916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15955138206482 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 05:03:42.273934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/19/image_05112025_13_19_28_6102.jpg', '/home/pi/Desktop/images/05112025/13/19/image_05112025_13_19_50_3695.jpg', '/home/pi/Desktop/images/05112025/13/19/image_05112025_13_19_55_2666.jpg', '/home/pi/Desktop/images/05112025/13/21/image_05112025_13_21_01_46561.jpg', '/home/pi/Desktop/images/05112025/13/23/image_05112025_13_23_07_3015.jpg', '/home/pi/Desktop/images/05112025/13/23/image_05112025_13_23_13_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/19/image_05112025_13_19_28_6102.jpg
/home/pi/Desktop/images/05112025/13/19/image_05112025_13_19_50_3695.jpg
/home/pi/Desktop/images/05112025/13/19/image_05112025_13_19_55_2666.jpg
/home/pi/Desktop/images/05112025/13/21/image_05112025_13_21_01_46561.jpg
/home/pi/Desktop/images/05112025/13/23/image_05112025_13_23_07_3015.jpg
/home/pi/Desktop/images/05112025/13/23/image_05112025_13_23_13_2668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399432924","1399432923","1399432925","1399432919","1399432922","1399432921"],"photo_ids_order":["1399432919","1399432921","1399432922","1399432923","1399432924","1399432925"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/aee95fca96c1f79236aa0ea740e81049.jpg","text":"TemporaryFile(/tmp/multipartBody4760216795201887413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771483026,"filename":"image_05112025_13_23_07_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4e0d3adb2eef0f19138a956fb86a306d.jpg","text":"TemporaryFile(/tmp/multipartBody3234085819570431706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771483026,"filename":"image_05112025_13_21_01_46561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c76654e752368f77d68fe3cda40f84fa.jpg","text":"TemporaryFile(/tmp/multipartBody3187756938788547339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771483026,"filename":"image_05112025_13_23_13_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/15/1c578367f3366376241a04e9a32687e7.jpg","text":"TemporaryFile(/tmp/multipartBody1538340433063044082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771483026,"filename":"image_05112025_13_19_28_6102.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2444634202bb008a09601c9a7e8fa142.jpg","text":"TemporaryFile(/tmp/multipartBody3862123841227451576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771483026,"filename":"image_05112025_13_19_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/15/81e804d827a87fbae3f0bd3eb3f573fb.jpg","text":"TemporaryFile(/tmp/multipartBody1205045832121732182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771483026,"filename":"image_05112025_13_19_50_3695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399432922","file1":"1399432921","file0":"1399432919","file4":"1399432924","file5":"1399432925","file3":"1399432923"},"map_files_photo_id_array":[{"photo_id":"1399432925","filename":"file5"},{"photo_id":"1399432922","filename":"file2"},{"photo_id":"1399432924","filename":"file4"},{"photo_id":"1399432921","filename":"file1"},{"photo_id":"1399432919","filename":"file0"},{"photo_id":"1399432923","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399432924":["hashtag1","hashtag2"]},{"1399432923":["hashtag1","hashtag2"]},{"1399432925":["hashtag1","hashtag2"]},{"1399432919":["hashtag1","hashtag2"]},{"1399432922":["hashtag1","hashtag2"]},{"1399432921":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399432924, 1399432923, 1399432925, 1399432919, 1399432922, 1399432921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26257562637329 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 05:04:22.538239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/48/image_15122025_04_49_04_9630.jpg', '/home/pi/Desktop/images/15122025/04/49/image_15122025_04_49_14_9775.jpg', '/home/pi/Desktop/images/15122025/04/49/image_15122025_04_49_24_9796.jpg', '/home/pi/Desktop/images/15122025/04/49/image_15122025_04_49_34_10593.jpg', '/home/pi/Desktop/images/15122025/04/49/image_15122025_04_49_44_9719.jpg', '/home/pi/Desktop/images/15122025/04/49/image_15122025_04_49_54_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/48/image_15122025_04_49_04_9630.jpg
/home/pi/Desktop/images/15122025/04/49/image_15122025_04_49_14_9775.jpg
/home/pi/Desktop/images/15122025/04/49/image_15122025_04_49_24_9796.jpg
/home/pi/Desktop/images/15122025/04/49/image_15122025_04_49_34_10593.jpg
/home/pi/Desktop/images/15122025/04/49/image_15122025_04_49_44_9719.jpg
/home/pi/Desktop/images/15122025/04/49/image_15122025_04_49_54_9748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399432930","1399432927","1399432926","1399432929","1399432931","1399432928"],"photo_ids_order":["1399432926","1399432927","1399432928","1399432929","1399432930","1399432931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6fcd5c519a7532e409e6e2cbc816147e.jpg","text":"TemporaryFile(/tmp/multipartBody661799171807651105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771523152,"filename":"image_15122025_04_49_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/15/918d15079bd2b614a5ec4d85769f55ff.jpg","text":"TemporaryFile(/tmp/multipartBody963826170667930064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771523152,"filename":"image_15122025_04_49_14_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5732ade1829ce239e76d61bd886fcd2a.jpg","text":"TemporaryFile(/tmp/multipartBody8779112137551400686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771523152,"filename":"image_15122025_04_49_04_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a6c45b0151dffcb9479187b17a770995.jpg","text":"TemporaryFile(/tmp/multipartBody7102809359911083207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771523152,"filename":"image_15122025_04_49_34_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/492809ca2b7366601391bc8c083c9447.jpg","text":"TemporaryFile(/tmp/multipartBody6145862183423637112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771523152,"filename":"image_15122025_04_49_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/15/93a1a036eef0dddabbd7533e2d0ad035.jpg","text":"TemporaryFile(/tmp/multipartBody4039759976932155189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771523152,"filename":"image_15122025_04_49_24_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399432928","file1":"1399432927","file0":"1399432926","file4":"1399432930","file5":"1399432931","file3":"1399432929"},"map_files_photo_id_array":[{"photo_id":"1399432931","filename":"file5"},{"photo_id":"1399432928","filename":"file2"},{"photo_id":"1399432930","filename":"file4"},{"photo_id":"1399432927","filename":"file1"},{"photo_id":"1399432926","filename":"file0"},{"photo_id":"1399432929","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399432930":["hashtag1","hashtag2"]},{"1399432927":["hashtag1","hashtag2"]},{"1399432926":["hashtag1","hashtag2"]},{"1399432929":["hashtag1","hashtag2"]},{"1399432931":["hashtag1","hashtag2"]},{"1399432928":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399432930, 1399432927, 1399432926, 1399432929, 1399432931, 1399432928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47391319274902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 05:05:03.411661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/49/image_15122025_04_50_04_10629.jpg', '/home/pi/Desktop/images/15122025/04/50/image_15122025_04_50_15_10104.jpg', '/home/pi/Desktop/images/15122025/04/50/image_15122025_04_50_44_9895.jpg', '/home/pi/Desktop/images/15122025/04/50/image_15122025_04_50_55_10690.jpg', '/home/pi/Desktop/images/15122025/04/50/image_15122025_04_51_04_9784.jpg', '/home/pi/Desktop/images/15122025/04/51/image_15122025_04_51_14_9570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/49/image_15122025_04_50_04_10629.jpg
/home/pi/Desktop/images/15122025/04/50/image_15122025_04_50_15_10104.jpg
/home/pi/Desktop/images/15122025/04/50/image_15122025_04_50_44_9895.jpg
/home/pi/Desktop/images/15122025/04/50/image_15122025_04_50_55_10690.jpg
/home/pi/Desktop/images/15122025/04/50/image_15122025_04_51_04_9784.jpg
/home/pi/Desktop/images/15122025/04/51/image_15122025_04_51_14_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":["1399432932","1399432935","1399432938","1399432937","1399432934","1399432936"],"photo_ids_order":["1399432932","1399432934","1399432935","1399432936","1399432937","1399432938"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9cf2c90a90b7cc10a364de4db302ba81.jpg","text":"TemporaryFile(/tmp/multipartBody1945440215257959214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771564093,"filename":"image_15122025_04_50_04_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/15/8500e8d77201bcb1e3fbb33d00ca97af.jpg","text":"TemporaryFile(/tmp/multipartBody9080349288848800764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771564093,"filename":"image_15122025_04_50_44_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/15/5ec516cb9184d5dc1871636c5b16f3a0.jpg","text":"TemporaryFile(/tmp/multipartBody4300701663098029283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771564093,"filename":"image_15122025_04_51_14_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2a26585edd8958ddd5a79bdcc3712673.jpg","text":"TemporaryFile(/tmp/multipartBody8544614187751580936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771564093,"filename":"image_15122025_04_51_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/15/87b4b652b6fdcb9e5510df78bbc9b924.jpg","text":"TemporaryFile(/tmp/multipartBody7816283070297378753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771564093,"filename":"image_15122025_04_50_15_10104.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/059aa535bbc1e5491b9244ea12e704e7.jpg","text":"TemporaryFile(/tmp/multipartBody5636341960184559840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771564093,"filename":"image_15122025_04_50_55_10690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399432935","file1":"1399432934","file0":"1399432932","file4":"1399432937","file5":"1399432938","file3":"1399432936"},"map_files_photo_id_array":[{"photo_id":"1399432938","filename":"file5"},{"photo_id":"1399432935","filename":"file2"},{"photo_id":"1399432937","filename":"file4"},{"photo_id":"1399432934","filename":"file1"},{"photo_id":"1399432932","filename":"file0"},{"photo_id":"1399432936","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399432932":["hashtag1","hashtag2"]},{"1399432935":["hashtag1","hashtag2"]},{"1399432938":["hashtag1","hashtag2"]},{"1399432937":["hashtag1","hashtag2"]},{"1399432934":["hashtag1","hashtag2"]},{"1399432936":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399432932, 1399432935, 1399432938, 1399432937, 1399432934, 1399432936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6510534286499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 05:05:42.714927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/23/image_05112025_13_23_16_2646.jpg', '/home/pi/Desktop/images/05112025/13/23/image_05112025_13_23_19_3584.jpg', '/home/pi/Desktop/images/05112025/13/23/image_05112025_13_23_22_2704.jpg', '/home/pi/Desktop/images/05112025/13/23/image_05112025_13_23_25_3012.jpg', '/home/pi/Desktop/images/05112025/13/23/image_05112025_13_23_34_2616.jpg', '/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_08_33711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/23/image_05112025_13_23_16_2646.jpg
/home/pi/Desktop/images/05112025/13/23/image_05112025_13_23_19_3584.jpg
/home/pi/Desktop/images/05112025/13/23/image_05112025_13_23_22_2704.jpg
/home/pi/Desktop/images/05112025/13/23/image_05112025_13_23_25_3012.jpg
/home/pi/Desktop/images/05112025/13/23/image_05112025_13_23_34_2616.jpg
/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_08_33711.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6302127838134766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 05:06:02.471671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/51/image_15122025_04_51_25_10674.jpg', '/home/pi/Desktop/images/15122025/04/51/image_15122025_04_51_34_9595.jpg', '/home/pi/Desktop/images/15122025/04/51/image_15122025_04_51_54_9804.jpg', '/home/pi/Desktop/images/15122025/04/51/image_15122025_04_52_04_10609.jpg', '/home/pi/Desktop/images/15122025/04/52/image_15122025_04_52_14_9874.jpg', '/home/pi/Desktop/images/15122025/04/52/image_15122025_04_52_44_10718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/51/image_15122025_04_51_25_10674.jpg
/home/pi/Desktop/images/15122025/04/51/image_15122025_04_51_34_9595.jpg
/home/pi/Desktop/images/15122025/04/51/image_15122025_04_51_54_9804.jpg
/home/pi/Desktop/images/15122025/04/51/image_15122025_04_52_04_10609.jpg
/home/pi/Desktop/images/15122025/04/52/image_15122025_04_52_14_9874.jpg
/home/pi/Desktop/images/15122025/04/52/image_15122025_04_52_44_10718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399432951","1399432953","1399432955","1399432952","1399432949","1399432954"],"photo_ids_order":["1399432949","1399432951","1399432952","1399432953","1399432954","1399432955"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2217a3b3566495bdedfa47382d9ca179.jpg","text":"TemporaryFile(/tmp/multipartBody1999383251729581971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771623111,"filename":"image_15122025_04_51_34_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6757947aa33062ae2e8364dfee23a94b.jpg","text":"TemporaryFile(/tmp/multipartBody3527860428568945194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771623111,"filename":"image_15122025_04_52_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/15/34ef46652b11eba0635f5adab92b8217.jpg","text":"TemporaryFile(/tmp/multipartBody5938786311883914674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771623111,"filename":"image_15122025_04_52_44_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/15/45acbb78a76ba9caa5c86bc3f1f814ce.jpg","text":"TemporaryFile(/tmp/multipartBody4391429623254776082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771623111,"filename":"image_15122025_04_51_54_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ff3dbd077c9e558719b6832384e71d0e.jpg","text":"TemporaryFile(/tmp/multipartBody7265424942042554891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771623111,"filename":"image_15122025_04_51_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/15/7fbe6917f3af563729a0f81658035d6e.jpg","text":"TemporaryFile(/tmp/multipartBody2809059665156364719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771623111,"filename":"image_15122025_04_52_14_9874.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399432952","file1":"1399432951","file0":"1399432949","file4":"1399432954","file5":"1399432955","file3":"1399432953"},"map_files_photo_id_array":[{"photo_id":"1399432955","filename":"file5"},{"photo_id":"1399432952","filename":"file2"},{"photo_id":"1399432954","filename":"file4"},{"photo_id":"1399432951","filename":"file1"},{"photo_id":"1399432949","filename":"file0"},{"photo_id":"1399432953","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399432951":["hashtag1","hashtag2"]},{"1399432953":["hashtag1","hashtag2"]},{"1399432955":["hashtag1","hashtag2"]},{"1399432952":["hashtag1","hashtag2"]},{"1399432949":["hashtag1","hashtag2"]},{"1399432954":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399432951, 1399432953, 1399432955, 1399432952, 1399432949, 1399432954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.078399419784546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 05:06:41.937561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/23/image_05112025_13_23_16_2646.jpg', '/home/pi/Desktop/images/05112025/13/23/image_05112025_13_23_19_3584.jpg', '/home/pi/Desktop/images/05112025/13/23/image_05112025_13_23_22_2704.jpg', '/home/pi/Desktop/images/05112025/13/23/image_05112025_13_23_25_3012.jpg', '/home/pi/Desktop/images/05112025/13/23/image_05112025_13_23_34_2616.jpg', '/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_08_33711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/23/image_05112025_13_23_16_2646.jpg
/home/pi/Desktop/images/05112025/13/23/image_05112025_13_23_19_3584.jpg
/home/pi/Desktop/images/05112025/13/23/image_05112025_13_23_22_2704.jpg
/home/pi/Desktop/images/05112025/13/23/image_05112025_13_23_25_3012.jpg
/home/pi/Desktop/images/05112025/13/23/image_05112025_13_23_34_2616.jpg
/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_08_33711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399432962","1399432959","1399432956","1399432961","1399432958","1399432960"],"photo_ids_order":["1399432956","1399432958","1399432959","1399432960","1399432961","1399432962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3191a2e642974e633fc55381bd3c3993.jpg","text":"TemporaryFile(/tmp/multipartBody2486856159226472681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771662544,"filename":"image_05112025_13_24_08_33711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c166414dea092c0adbc975288968f4e1.jpg","text":"TemporaryFile(/tmp/multipartBody6589895171127545818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771662544,"filename":"image_05112025_13_23_22_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9f0bc02dd7cde09803f5b032c1bb58d3.jpg","text":"TemporaryFile(/tmp/multipartBody1819276415438908619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771662544,"filename":"image_05112025_13_23_16_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/15/07fba95e440d37836aee402636c63014.jpg","text":"TemporaryFile(/tmp/multipartBody3922956139496312622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771662544,"filename":"image_05112025_13_23_34_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/15/3317732efc78d2ac34cec2ee193aba06.jpg","text":"TemporaryFile(/tmp/multipartBody5495177289556350260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771662544,"filename":"image_05112025_13_23_19_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/15/49d8ed94f8ca5e3ce2c037533b3ff0b0.jpg","text":"TemporaryFile(/tmp/multipartBody4297137853932089261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771662544,"filename":"image_05112025_13_23_25_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399432959","file1":"1399432958","file0":"1399432956","file4":"1399432961","file5":"1399432962","file3":"1399432960"},"map_files_photo_id_array":[{"photo_id":"1399432962","filename":"file5"},{"photo_id":"1399432959","filename":"file2"},{"photo_id":"1399432961","filename":"file4"},{"photo_id":"1399432958","filename":"file1"},{"photo_id":"1399432956","filename":"file0"},{"photo_id":"1399432960","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399432962":["hashtag1","hashtag2"]},{"1399432959":["hashtag1","hashtag2"]},{"1399432956":["hashtag1","hashtag2"]},{"1399432961":["hashtag1","hashtag2"]},{"1399432958":["hashtag1","hashtag2"]},{"1399432960":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399432962, 1399432959, 1399432956, 1399432961, 1399432958, 1399432960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.611940145492554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 05:07:22.263713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/52/image_15122025_04_52_54_9675.jpg', '/home/pi/Desktop/images/15122025/04/52/image_15122025_04_53_04_9684.jpg', '/home/pi/Desktop/images/15122025/04/53/image_15122025_04_53_15_10817.jpg', '/home/pi/Desktop/images/15122025/04/53/image_15122025_04_53_24_9610.jpg', '/home/pi/Desktop/images/15122025/04/53/image_15122025_04_53_34_9707.jpg', '/home/pi/Desktop/images/15122025/04/53/image_15122025_04_53_45_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/52/image_15122025_04_52_54_9675.jpg
/home/pi/Desktop/images/15122025/04/52/image_15122025_04_53_04_9684.jpg
/home/pi/Desktop/images/15122025/04/53/image_15122025_04_53_15_10817.jpg
/home/pi/Desktop/images/15122025/04/53/image_15122025_04_53_24_9610.jpg
/home/pi/Desktop/images/15122025/04/53/image_15122025_04_53_34_9707.jpg
/home/pi/Desktop/images/15122025/04/53/image_15122025_04_53_45_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":["1399432968","1399432970","1399432967","1399432972","1399432966","1399432969"],"photo_ids_order":["1399432966","1399432967","1399432968","1399432969","1399432970","1399432972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/de8096e71d17f3bbab4ca6ec239836e2.jpg","text":"TemporaryFile(/tmp/multipartBody8337809240108896279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771702877,"filename":"image_15122025_04_53_15_10817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/eb3b1dd7fae9d09d3cb7ede502fd0451.jpg","text":"TemporaryFile(/tmp/multipartBody7387150757798419849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771702877,"filename":"image_15122025_04_53_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/15/de9bbd5b31e247fe0d4e653658e75f83.jpg","text":"TemporaryFile(/tmp/multipartBody5827421338587131846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771702877,"filename":"image_15122025_04_53_04_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b7dd8ffba518bbf78838483e2207d093.jpg","text":"TemporaryFile(/tmp/multipartBody4969264040625543778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771702877,"filename":"image_15122025_04_53_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/15/7f0b0f86dd78cf985129a0eeb9663f55.jpg","text":"TemporaryFile(/tmp/multipartBody6064321061635288096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771702877,"filename":"image_15122025_04_52_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/15/f2a303f1f389f776a0792266a177823c.jpg","text":"TemporaryFile(/tmp/multipartBody8075093782410587588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771702877,"filename":"image_15122025_04_53_24_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399432968","file1":"1399432967","file0":"1399432966","file4":"1399432970","file5":"1399432972","file3":"1399432969"},"map_files_photo_id_array":[{"photo_id":"1399432972","filename":"file5"},{"photo_id":"1399432968","filename":"file2"},{"photo_id":"1399432970","filename":"file4"},{"photo_id":"1399432967","filename":"file1"},{"photo_id":"1399432966","filename":"file0"},{"photo_id":"1399432969","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399432968":["hashtag1","hashtag2"]},{"1399432970":["hashtag1","hashtag2"]},{"1399432967":["hashtag1","hashtag2"]},{"1399432972":["hashtag1","hashtag2"]},{"1399432966":["hashtag1","hashtag2"]},{"1399432969":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399432968, 1399432970, 1399432967, 1399432972, 1399432966, 1399432969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99882698059082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 05:08:02.858205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/53/image_15122025_04_53_54_9840.jpg', '/home/pi/Desktop/images/15122025/04/53/image_15122025_04_54_04_9647.jpg', '/home/pi/Desktop/images/15122025/04/54/image_15122025_04_54_14_9664.jpg', '/home/pi/Desktop/images/15122025/04/54/image_15122025_04_54_24_10698.jpg', '/home/pi/Desktop/images/15122025/04/54/image_15122025_04_54_34_9568.jpg', '/home/pi/Desktop/images/15122025/04/54/image_15122025_04_54_44_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/53/image_15122025_04_53_54_9840.jpg
/home/pi/Desktop/images/15122025/04/53/image_15122025_04_54_04_9647.jpg
/home/pi/Desktop/images/15122025/04/54/image_15122025_04_54_14_9664.jpg
/home/pi/Desktop/images/15122025/04/54/image_15122025_04_54_24_10698.jpg
/home/pi/Desktop/images/15122025/04/54/image_15122025_04_54_34_9568.jpg
/home/pi/Desktop/images/15122025/04/54/image_15122025_04_54_44_9688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399432980","1399432977","1399432974","1399432979","1399432978","1399432975"],"photo_ids_order":["1399432974","1399432975","1399432977","1399432978","1399432979","1399432980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6a54a1539d55530b3abefe550f6c144a.jpg","text":"TemporaryFile(/tmp/multipartBody495804987865970819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771743504,"filename":"image_15122025_04_54_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/15/4164b4dfc5222827b895e3dc36c93c5e.jpg","text":"TemporaryFile(/tmp/multipartBody8946445801088550191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771743504,"filename":"image_15122025_04_54_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/15/3a01c6b62a06991d95cc6d468c16e16c.jpg","text":"TemporaryFile(/tmp/multipartBody675822604544286294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771743504,"filename":"image_15122025_04_53_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/15/a97dbc522ebd8416855b917226a87479.jpg","text":"TemporaryFile(/tmp/multipartBody3484121722893222072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771743504,"filename":"image_15122025_04_54_34_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/15/102c50d9083211630c8d5bb7da346382.jpg","text":"TemporaryFile(/tmp/multipartBody246407542305403537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771743504,"filename":"image_15122025_04_54_24_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e0da1b0445659ab1108381b0fa301488.jpg","text":"TemporaryFile(/tmp/multipartBody3964635029147810479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771743504,"filename":"image_15122025_04_54_04_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399432977","file1":"1399432975","file0":"1399432974","file4":"1399432979","file5":"1399432980","file3":"1399432978"},"map_files_photo_id_array":[{"photo_id":"1399432980","filename":"file5"},{"photo_id":"1399432977","filename":"file2"},{"photo_id":"1399432979","filename":"file4"},{"photo_id":"1399432975","filename":"file1"},{"photo_id":"1399432974","filename":"file0"},{"photo_id":"1399432978","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399432980":["hashtag1","hashtag2"]},{"1399432977":["hashtag1","hashtag2"]},{"1399432974":["hashtag1","hashtag2"]},{"1399432979":["hashtag1","hashtag2"]},{"1399432978":["hashtag1","hashtag2"]},{"1399432975":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399432980, 1399432977, 1399432974, 1399432979, 1399432978, 1399432975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.464924812316895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 05:08:42.378496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_09_1503.jpg', '/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_11_1706.jpg', '/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_13_1598.jpg', '/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_14_1679.jpg', '/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_16_1705.jpg', '/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_19_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_09_1503.jpg
/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_11_1706.jpg
/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_13_1598.jpg
/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_14_1679.jpg
/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_16_1705.jpg
/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_19_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":["1399432989","1399432986","1399432991","1399432988","1399432982","1399432990"],"photo_ids_order":["1399432982","1399432986","1399432988","1399432989","1399432990","1399432991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0d8a694a1fbcda8d7da4ecf5c3bbe3b6.jpg","text":"TemporaryFile(/tmp/multipartBody1904815543296400599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771783115,"filename":"image_05112025_13_24_14_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/15/e2a56394f8d0d4ca38f1138d28481bf9.jpg","text":"TemporaryFile(/tmp/multipartBody4532088903896244464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771783115,"filename":"image_05112025_13_24_11_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/15/50942e72f41d42e97a91b0d6846a5ad1.jpg","text":"TemporaryFile(/tmp/multipartBody5183706148598058285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771783115,"filename":"image_05112025_13_24_19_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/15/699e88d1d95cd03ed21f383fc33bfe43.jpg","text":"TemporaryFile(/tmp/multipartBody852821570611131888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771783115,"filename":"image_05112025_13_24_13_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/15/13d677c4641dd23632aebf5314d627f8.jpg","text":"TemporaryFile(/tmp/multipartBody2522655123815516693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771783115,"filename":"image_05112025_13_24_09_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/15/e2a0587754e1ba7209af1db408d838d0.jpg","text":"TemporaryFile(/tmp/multipartBody6253935056627087883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771783115,"filename":"image_05112025_13_24_16_1705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399432988","file1":"1399432986","file0":"1399432982","file4":"1399432990","file5":"1399432991","file3":"1399432989"},"map_files_photo_id_array":[{"photo_id":"1399432991","filename":"file5"},{"photo_id":"1399432988","filename":"file2"},{"photo_id":"1399432990","filename":"file4"},{"photo_id":"1399432986","filename":"file1"},{"photo_id":"1399432982","filename":"file0"},{"photo_id":"1399432989","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399432989":["hashtag1","hashtag2"]},{"1399432986":["hashtag1","hashtag2"]},{"1399432991":["hashtag1","hashtag2"]},{"1399432988":["hashtag1","hashtag2"]},{"1399432982":["hashtag1","hashtag2"]},{"1399432990":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399432989, 1399432986, 1399432991, 1399432988, 1399432982, 1399432990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.980733156204224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 05:09:22.630887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/54/image_15122025_04_54_54_10600.jpg', '/home/pi/Desktop/images/15122025/04/55/image_15122025_04_55_14_9864.jpg', '/home/pi/Desktop/images/15122025/04/55/image_15122025_04_55_25_10741.jpg', '/home/pi/Desktop/images/15122025/04/55/image_15122025_04_55_44_9781.jpg', '/home/pi/Desktop/images/15122025/04/55/image_15122025_04_55_54_9824.jpg', '/home/pi/Desktop/images/15122025/04/55/image_15122025_04_56_05_10842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/54/image_15122025_04_54_54_10600.jpg
/home/pi/Desktop/images/15122025/04/55/image_15122025_04_55_14_9864.jpg
/home/pi/Desktop/images/15122025/04/55/image_15122025_04_55_25_10741.jpg
/home/pi/Desktop/images/15122025/04/55/image_15122025_04_55_44_9781.jpg
/home/pi/Desktop/images/15122025/04/55/image_15122025_04_55_54_9824.jpg
/home/pi/Desktop/images/15122025/04/55/image_15122025_04_56_05_10842.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399432995","1399432992","1399432994","1399432997","1399432999","1399432993"],"photo_ids_order":["1399432992","1399432993","1399432994","1399432995","1399432997","1399432999"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2790f2327bca86ac50085baf6ea41fcf.jpg","text":"TemporaryFile(/tmp/multipartBody7919700089151967110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771823243,"filename":"image_15122025_04_55_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/15/6ee18771f32fc52e5a19b3504ece1e94.jpg","text":"TemporaryFile(/tmp/multipartBody8509920107277779867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771823243,"filename":"image_15122025_04_54_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/15/381d4a0cef2b5701779bdf2995483d10.jpg","text":"TemporaryFile(/tmp/multipartBody8819336188767600567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771823243,"filename":"image_15122025_04_55_25_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/db20013f59f23b907ccb6d04ec6d97ed.jpg","text":"TemporaryFile(/tmp/multipartBody2977056542179943077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771823243,"filename":"image_15122025_04_55_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/15/caeb8b5c6e04b834554ee2cfa486a709.jpg","text":"TemporaryFile(/tmp/multipartBody470449197220492611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771823243,"filename":"image_15122025_04_56_05_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/15/66cd5c42569c86b0ca882c78a3173cb0.jpg","text":"TemporaryFile(/tmp/multipartBody364136716169056967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771823243,"filename":"image_15122025_04_55_14_9864.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399432994","file1":"1399432993","file0":"1399432992","file4":"1399432997","file5":"1399432999","file3":"1399432995"},"map_files_photo_id_array":[{"photo_id":"1399432999","filename":"file5"},{"photo_id":"1399432994","filename":"file2"},{"photo_id":"1399432997","filename":"file4"},{"photo_id":"1399432993","filename":"file1"},{"photo_id":"1399432992","filename":"file0"},{"photo_id":"1399432995","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399432995":["hashtag1","hashtag2"]},{"1399432992":["hashtag1","hashtag2"]},{"1399432994":["hashtag1","hashtag2"]},{"1399432997":["hashtag1","hashtag2"]},{"1399432999":["hashtag1","hashtag2"]},{"1399432993":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399432995, 1399432992, 1399432994, 1399432997, 1399432999, 1399432993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.31483459472656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 05:10:12.826506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 05:10:22.799177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/56/image_15122025_04_56_14_9654.jpg', '/home/pi/Desktop/images/15122025/04/56/image_15122025_04_56_24_9779.jpg', '/home/pi/Desktop/images/15122025/04/56/image_15122025_04_56_34_9727.jpg', '/home/pi/Desktop/images/15122025/04/56/image_15122025_04_56_44_10631.jpg', '/home/pi/Desktop/images/15122025/04/56/image_15122025_04_56_54_9696.jpg', '/home/pi/Desktop/images/15122025/04/56/image_15122025_04_57_05_10555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/56/image_15122025_04_56_14_9654.jpg
/home/pi/Desktop/images/15122025/04/56/image_15122025_04_56_24_9779.jpg
/home/pi/Desktop/images/15122025/04/56/image_15122025_04_56_34_9727.jpg
/home/pi/Desktop/images/15122025/04/56/image_15122025_04_56_44_10631.jpg
/home/pi/Desktop/images/15122025/04/56/image_15122025_04_56_54_9696.jpg
/home/pi/Desktop/images/15122025/04/56/image_15122025_04_57_05_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":["1399433001","1399433004","1399433000","1399433003","1399433002","1399433005"],"photo_ids_order":["1399433000","1399433001","1399433002","1399433003","1399433004","1399433005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/18b76cc758e3301bd6e044f981d55c05.jpg","text":"TemporaryFile(/tmp/multipartBody3014055891781952955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771883412,"filename":"image_15122025_04_56_24_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/aa28228c511da68d08792ef00a319b73.jpg","text":"TemporaryFile(/tmp/multipartBody7642123783901063700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771883412,"filename":"image_15122025_04_56_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/15/243f28dd788c173ab6457b55305a892c.jpg","text":"TemporaryFile(/tmp/multipartBody3121015280291915145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771883412,"filename":"image_15122025_04_56_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/15/51df5ac3a62c28c4c969d4136539ab35.jpg","text":"TemporaryFile(/tmp/multipartBody8825408362276737681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771883412,"filename":"image_15122025_04_56_44_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d42f59563dd4021fbc97f9c3cce44d53.jpg","text":"TemporaryFile(/tmp/multipartBody1062266143526054859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771883412,"filename":"image_15122025_04_56_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/15/d2608c623dc634d88c4fcd247eab83a0.jpg","text":"TemporaryFile(/tmp/multipartBody6116603659211118421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771883412,"filename":"image_15122025_04_57_05_10555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433002","file1":"1399433001","file0":"1399433000","file4":"1399433004","file5":"1399433005","file3":"1399433003"},"map_files_photo_id_array":[{"photo_id":"1399433005","filename":"file5"},{"photo_id":"1399433002","filename":"file2"},{"photo_id":"1399433004","filename":"file4"},{"photo_id":"1399433001","filename":"file1"},{"photo_id":"1399433000","filename":"file0"},{"photo_id":"1399433003","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433001":["hashtag1","hashtag2"]},{"1399433004":["hashtag1","hashtag2"]},{"1399433000":["hashtag1","hashtag2"]},{"1399433003":["hashtag1","hashtag2"]},{"1399433002":["hashtag1","hashtag2"]},{"1399433005":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433001, 1399433004, 1399433000, 1399433003, 1399433002, 1399433005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6261510848999 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 05:11:02.808495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/57/image_15122025_04_57_14_9824.jpg', '/home/pi/Desktop/images/15122025/04/57/image_15122025_04_57_24_9825.jpg', '/home/pi/Desktop/images/15122025/04/57/image_15122025_04_57_34_9673.jpg', '/home/pi/Desktop/images/15122025/04/57/image_15122025_04_57_45_10613.jpg', '/home/pi/Desktop/images/15122025/04/57/image_15122025_04_57_54_9640.jpg', '/home/pi/Desktop/images/15122025/04/57/image_15122025_04_58_04_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/57/image_15122025_04_57_14_9824.jpg
/home/pi/Desktop/images/15122025/04/57/image_15122025_04_57_24_9825.jpg
/home/pi/Desktop/images/15122025/04/57/image_15122025_04_57_34_9673.jpg
/home/pi/Desktop/images/15122025/04/57/image_15122025_04_57_45_10613.jpg
/home/pi/Desktop/images/15122025/04/57/image_15122025_04_57_54_9640.jpg
/home/pi/Desktop/images/15122025/04/57/image_15122025_04_58_04_9661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433008","1399433010","1399433012","1399433006","1399433009","1399433011"],"photo_ids_order":["1399433006","1399433008","1399433009","1399433010","1399433011","1399433012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/52c9e0a67459b9e9a23b9991485c8d4d.jpg","text":"TemporaryFile(/tmp/multipartBody5825995327588433278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771923524,"filename":"image_15122025_04_57_24_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/07a64cae4e5e341d7166d1e054983f96.jpg","text":"TemporaryFile(/tmp/multipartBody1377738170926403948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771923524,"filename":"image_15122025_04_57_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/15/d8ecea09191e130437dd091fefaf0f8b.jpg","text":"TemporaryFile(/tmp/multipartBody276381642735780337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771923524,"filename":"image_15122025_04_58_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/15/0c58d1901ffce18cae6443f66319591a.jpg","text":"TemporaryFile(/tmp/multipartBody4470188708642028062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771923524,"filename":"image_15122025_04_57_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/15/8cfe1dffb2289c8856a4cbb957f0c150.jpg","text":"TemporaryFile(/tmp/multipartBody1274351640920367198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771923524,"filename":"image_15122025_04_57_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/15/96baf3d41750c2320abc4954f1571f7f.jpg","text":"TemporaryFile(/tmp/multipartBody4163072824515877281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771923524,"filename":"image_15122025_04_57_54_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433009","file1":"1399433008","file0":"1399433006","file4":"1399433011","file5":"1399433012","file3":"1399433010"},"map_files_photo_id_array":[{"photo_id":"1399433012","filename":"file5"},{"photo_id":"1399433009","filename":"file2"},{"photo_id":"1399433011","filename":"file4"},{"photo_id":"1399433008","filename":"file1"},{"photo_id":"1399433006","filename":"file0"},{"photo_id":"1399433010","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433008":["hashtag1","hashtag2"]},{"1399433010":["hashtag1","hashtag2"]},{"1399433012":["hashtag1","hashtag2"]},{"1399433006":["hashtag1","hashtag2"]},{"1399433009":["hashtag1","hashtag2"]},{"1399433011":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433008, 1399433010, 1399433012, 1399433006, 1399433009, 1399433011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.489924907684326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 05:12:02.722192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/58/image_15122025_04_58_15_10792.jpg', '/home/pi/Desktop/images/15122025/04/58/image_15122025_04_58_24_9630.jpg', '/home/pi/Desktop/images/15122025/04/58/image_15122025_04_58_34_9627.jpg', '/home/pi/Desktop/images/15122025/04/58/image_15122025_04_58_45_10622.jpg', '/home/pi/Desktop/images/15122025/04/58/image_15122025_04_58_54_9835.jpg', '/home/pi/Desktop/images/15122025/04/58/image_15122025_04_59_04_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/58/image_15122025_04_58_15_10792.jpg
/home/pi/Desktop/images/15122025/04/58/image_15122025_04_58_24_9630.jpg
/home/pi/Desktop/images/15122025/04/58/image_15122025_04_58_34_9627.jpg
/home/pi/Desktop/images/15122025/04/58/image_15122025_04_58_45_10622.jpg
/home/pi/Desktop/images/15122025/04/58/image_15122025_04_58_54_9835.jpg
/home/pi/Desktop/images/15122025/04/58/image_15122025_04_59_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":["1399433016","1399433019","1399433018","1399433021","1399433020","1399433017"],"photo_ids_order":["1399433016","1399433017","1399433018","1399433019","1399433020","1399433021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ddaf46f2046ca46a73339c9fa18c4330.jpg","text":"TemporaryFile(/tmp/multipartBody2795345538971077983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771983377,"filename":"image_15122025_04_58_15_10792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e5e5f64a0de4d64c020a1c45146f7c3d.jpg","text":"TemporaryFile(/tmp/multipartBody3398834393580811916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771983377,"filename":"image_15122025_04_58_45_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/15/0905b9fa6124a3385168427d183c1948.jpg","text":"TemporaryFile(/tmp/multipartBody1119907774929527980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771983377,"filename":"image_15122025_04_58_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/15/59df189a9a9c3e5b361c30b5f56b5b52.jpg","text":"TemporaryFile(/tmp/multipartBody3122377669423996311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771983377,"filename":"image_15122025_04_59_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/15/b3b109d7014a51c4a3aa105fc4e798d3.jpg","text":"TemporaryFile(/tmp/multipartBody4430387364293543673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771983377,"filename":"image_15122025_04_58_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/15/8b775f38bbe0fa040f412778be218a1e.jpg","text":"TemporaryFile(/tmp/multipartBody365885661678345766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765771983377,"filename":"image_15122025_04_58_24_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433018","file1":"1399433017","file0":"1399433016","file4":"1399433020","file5":"1399433021","file3":"1399433019"},"map_files_photo_id_array":[{"photo_id":"1399433021","filename":"file5"},{"photo_id":"1399433018","filename":"file2"},{"photo_id":"1399433020","filename":"file4"},{"photo_id":"1399433017","filename":"file1"},{"photo_id":"1399433016","filename":"file0"},{"photo_id":"1399433019","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433016":["hashtag1","hashtag2"]},{"1399433019":["hashtag1","hashtag2"]},{"1399433018":["hashtag1","hashtag2"]},{"1399433021":["hashtag1","hashtag2"]},{"1399433020":["hashtag1","hashtag2"]},{"1399433017":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433016, 1399433019, 1399433018, 1399433021, 1399433020, 1399433017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86533212661743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 05:12:42.297446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_20_1653.jpg', '/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_22_1746.jpg', '/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_24_1627.jpg', '/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_25_1648.jpg', '/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_27_1632.jpg', '/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_28_1577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_20_1653.jpg
/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_22_1746.jpg
/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_24_1627.jpg
/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_25_1648.jpg
/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_27_1632.jpg
/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_28_1577.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6093127727508545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 05:13:03.286846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/04/59/image_15122025_04_59_14_9860.jpg', '/home/pi/Desktop/images/15122025/04/59/image_15122025_04_59_25_10635.jpg', '/home/pi/Desktop/images/15122025/04/59/image_15122025_04_59_34_9765.jpg', '/home/pi/Desktop/images/15122025/04/59/image_15122025_04_59_44_9868.jpg', '/home/pi/Desktop/images/15122025/04/59/image_15122025_04_59_54_9808.jpg', '/home/pi/Desktop/images/15122025/04/59/image_15122025_05_00_04_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/04/59/image_15122025_04_59_14_9860.jpg
/home/pi/Desktop/images/15122025/04/59/image_15122025_04_59_25_10635.jpg
/home/pi/Desktop/images/15122025/04/59/image_15122025_04_59_34_9765.jpg
/home/pi/Desktop/images/15122025/04/59/image_15122025_04_59_44_9868.jpg
/home/pi/Desktop/images/15122025/04/59/image_15122025_04_59_54_9808.jpg
/home/pi/Desktop/images/15122025/04/59/image_15122025_05_00_04_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":["1399433031","1399433028","1399433030","1399433033","1399433029","1399433032"],"photo_ids_order":["1399433028","1399433029","1399433030","1399433031","1399433032","1399433033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f5e376e45c731ae60bd4f596ae263817.jpg","text":"TemporaryFile(/tmp/multipartBody6358084274002244851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772043976,"filename":"image_15122025_04_59_44_9868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2abffe68716c3bd3314238e81dfe7568.jpg","text":"TemporaryFile(/tmp/multipartBody6340042832651851630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772043976,"filename":"image_15122025_04_59_14_9860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/34c416c7e96e9e445b1e0e525220f31d.jpg","text":"TemporaryFile(/tmp/multipartBody234923563344624316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772043976,"filename":"image_15122025_04_59_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/15/7746a82646962b3f13b66727ce7579bf.jpg","text":"TemporaryFile(/tmp/multipartBody3964937479307018137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772043976,"filename":"image_15122025_05_00_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/15/2df89d96cd1264969b49589dbe3f37ae.jpg","text":"TemporaryFile(/tmp/multipartBody3495265359658619464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772043976,"filename":"image_15122025_04_59_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/15/69977e54891763fbedb0c65635ef70ae.jpg","text":"TemporaryFile(/tmp/multipartBody2652312228484932559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772043976,"filename":"image_15122025_04_59_54_9808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433030","file1":"1399433029","file0":"1399433028","file4":"1399433032","file5":"1399433033","file3":"1399433031"},"map_files_photo_id_array":[{"photo_id":"1399433033","filename":"file5"},{"photo_id":"1399433030","filename":"file2"},{"photo_id":"1399433032","filename":"file4"},{"photo_id":"1399433029","filename":"file1"},{"photo_id":"1399433028","filename":"file0"},{"photo_id":"1399433031","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433031":["hashtag1","hashtag2"]},{"1399433028":["hashtag1","hashtag2"]},{"1399433030":["hashtag1","hashtag2"]},{"1399433033":["hashtag1","hashtag2"]},{"1399433029":["hashtag1","hashtag2"]},{"1399433032":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433031, 1399433028, 1399433030, 1399433033, 1399433029, 1399433032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33619236946106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 05:13:42.627333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_20_1653.jpg', '/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_22_1746.jpg', '/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_24_1627.jpg', '/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_25_1648.jpg', '/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_27_1632.jpg', '/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_28_1577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_20_1653.jpg
/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_22_1746.jpg
/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_24_1627.jpg
/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_25_1648.jpg
/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_27_1632.jpg
/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_28_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":["1399433034","1399433037","1399433039","1399433041","1399433035","1399433038"],"photo_ids_order":["1399433034","1399433035","1399433037","1399433038","1399433039","1399433041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0d060a643b82013b3cc8ebc9ba5b2446.jpg","text":"TemporaryFile(/tmp/multipartBody1886273833484593882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772083218,"filename":"image_05112025_13_24_20_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/15/ae3b5d921f3c2c91c60d41c5432427f9.jpg","text":"TemporaryFile(/tmp/multipartBody9117214502498275246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772083218,"filename":"image_05112025_13_24_24_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/15/b80bb26ec1b727b2b68d41fb82a971b1.jpg","text":"TemporaryFile(/tmp/multipartBody4249071529423736427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772083218,"filename":"image_05112025_13_24_27_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9e3edaf33186e1013382fd6c26392a4b.jpg","text":"TemporaryFile(/tmp/multipartBody5574237128460967010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772083218,"filename":"image_05112025_13_24_28_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/15/d63e81b163beb5e6b9e8982405edcad1.jpg","text":"TemporaryFile(/tmp/multipartBody1815443349081427103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772083218,"filename":"image_05112025_13_24_22_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/15/70dfdc93bfaeb1f85876a3aa557a81e8.jpg","text":"TemporaryFile(/tmp/multipartBody5991219754035737380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772083218,"filename":"image_05112025_13_24_25_1648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433037","file1":"1399433035","file0":"1399433034","file4":"1399433039","file5":"1399433041","file3":"1399433038"},"map_files_photo_id_array":[{"photo_id":"1399433041","filename":"file5"},{"photo_id":"1399433037","filename":"file2"},{"photo_id":"1399433039","filename":"file4"},{"photo_id":"1399433035","filename":"file1"},{"photo_id":"1399433034","filename":"file0"},{"photo_id":"1399433038","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399433034":["hashtag1","hashtag2"]},{"1399433037":["hashtag1","hashtag2"]},{"1399433039":["hashtag1","hashtag2"]},{"1399433041":["hashtag1","hashtag2"]},{"1399433035":["hashtag1","hashtag2"]},{"1399433038":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399433034, 1399433037, 1399433039, 1399433041, 1399433035, 1399433038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.925519943237305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 05:14:21.910182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/00/image_15122025_05_00_15_10754.jpg', '/home/pi/Desktop/images/15122025/05/00/image_15122025_05_00_34_9589.jpg', '/home/pi/Desktop/images/15122025/05/00/image_15122025_05_00_45_10677.jpg', '/home/pi/Desktop/images/15122025/05/00/image_15122025_05_00_54_9880.jpg', '/home/pi/Desktop/images/15122025/05/00/image_15122025_05_01_04_9744.jpg', '/home/pi/Desktop/images/15122025/05/01/image_15122025_05_01_14_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/00/image_15122025_05_00_15_10754.jpg
/home/pi/Desktop/images/15122025/05/00/image_15122025_05_00_34_9589.jpg
/home/pi/Desktop/images/15122025/05/00/image_15122025_05_00_45_10677.jpg
/home/pi/Desktop/images/15122025/05/00/image_15122025_05_00_54_9880.jpg
/home/pi/Desktop/images/15122025/05/00/image_15122025_05_01_04_9744.jpg
/home/pi/Desktop/images/15122025/05/01/image_15122025_05_01_14_9731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433049","1399433045","1399433048","1399433047","1399433050","1399433044"],"photo_ids_order":["1399433044","1399433045","1399433047","1399433048","1399433049","1399433050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/19e90bd2c356bafe96055ed5fa71ed2e.jpg","text":"TemporaryFile(/tmp/multipartBody8774240010394213385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772122532,"filename":"image_15122025_05_01_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/15/27a7fa39a23ffe304fb4082293b2b92c.jpg","text":"TemporaryFile(/tmp/multipartBody7523476222362436542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772122532,"filename":"image_15122025_05_00_34_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b2468c5de93a0f1c42d54d11b16322bd.jpg","text":"TemporaryFile(/tmp/multipartBody2233250853872138554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772122532,"filename":"image_15122025_05_00_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/15/0da2269125d9230ee6fcd2a085853ad9.jpg","text":"TemporaryFile(/tmp/multipartBody2389558133499917998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772122532,"filename":"image_15122025_05_00_45_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/06c895f19bfa0f12470d767ecaab2cd5.jpg","text":"TemporaryFile(/tmp/multipartBody6867701803425464261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772122532,"filename":"image_15122025_05_01_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/15/b6dceeeeac3cd53a6a197191cdd6e687.jpg","text":"TemporaryFile(/tmp/multipartBody1795880878786745675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772122532,"filename":"image_15122025_05_00_15_10754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433047","file1":"1399433045","file0":"1399433044","file4":"1399433049","file5":"1399433050","file3":"1399433048"},"map_files_photo_id_array":[{"photo_id":"1399433050","filename":"file5"},{"photo_id":"1399433047","filename":"file2"},{"photo_id":"1399433049","filename":"file4"},{"photo_id":"1399433045","filename":"file1"},{"photo_id":"1399433044","filename":"file0"},{"photo_id":"1399433048","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433049":["hashtag1","hashtag2"]},{"1399433045":["hashtag1","hashtag2"]},{"1399433048":["hashtag1","hashtag2"]},{"1399433047":["hashtag1","hashtag2"]},{"1399433050":["hashtag1","hashtag2"]},{"1399433044":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433049, 1399433045, 1399433048, 1399433047, 1399433050, 1399433044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.213988304138184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 05:15:02.847455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/01/image_15122025_05_01_25_10611.jpg', '/home/pi/Desktop/images/15122025/05/01/image_15122025_05_01_34_9761.jpg', '/home/pi/Desktop/images/15122025/05/01/image_15122025_05_01_44_9584.jpg', '/home/pi/Desktop/images/15122025/05/01/image_15122025_05_01_54_10589.jpg', '/home/pi/Desktop/images/15122025/05/01/image_15122025_05_02_04_9710.jpg', '/home/pi/Desktop/images/15122025/05/02/image_15122025_05_02_14_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/01/image_15122025_05_01_25_10611.jpg
/home/pi/Desktop/images/15122025/05/01/image_15122025_05_01_34_9761.jpg
/home/pi/Desktop/images/15122025/05/01/image_15122025_05_01_44_9584.jpg
/home/pi/Desktop/images/15122025/05/01/image_15122025_05_01_54_10589.jpg
/home/pi/Desktop/images/15122025/05/01/image_15122025_05_02_04_9710.jpg
/home/pi/Desktop/images/15122025/05/02/image_15122025_05_02_14_9658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433058","1399433055","1399433057","1399433053","1399433056","1399433059"],"photo_ids_order":["1399433053","1399433055","1399433056","1399433057","1399433058","1399433059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8dfcaba5c506424214abc0be86e439f9.jpg","text":"TemporaryFile(/tmp/multipartBody7333691829853390426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772163571,"filename":"image_15122025_05_02_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/15/ac076392f345dec906d9cbd3bad6a44e.jpg","text":"TemporaryFile(/tmp/multipartBody6601416234019494918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772163571,"filename":"image_15122025_05_01_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/15/8d32305674b2562b3db8dc0c823ad24f.jpg","text":"TemporaryFile(/tmp/multipartBody441835679956068983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772163571,"filename":"image_15122025_05_01_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/15/27527792ec03ecf605c0d9fabccacb25.jpg","text":"TemporaryFile(/tmp/multipartBody2094759507299904249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772163571,"filename":"image_15122025_05_01_25_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a835d14c23086d4ff6b6c1aa0e7a3dfc.jpg","text":"TemporaryFile(/tmp/multipartBody4756813752064304311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772163571,"filename":"image_15122025_05_01_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/15/fcc97626aa594cb96b974dda72a9142d.jpg","text":"TemporaryFile(/tmp/multipartBody3435073995282369416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772163571,"filename":"image_15122025_05_02_14_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433056","file1":"1399433055","file0":"1399433053","file4":"1399433058","file5":"1399433059","file3":"1399433057"},"map_files_photo_id_array":[{"photo_id":"1399433059","filename":"file5"},{"photo_id":"1399433056","filename":"file2"},{"photo_id":"1399433058","filename":"file4"},{"photo_id":"1399433055","filename":"file1"},{"photo_id":"1399433053","filename":"file0"},{"photo_id":"1399433057","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433058":["hashtag1","hashtag2"]},{"1399433055":["hashtag1","hashtag2"]},{"1399433057":["hashtag1","hashtag2"]},{"1399433053":["hashtag1","hashtag2"]},{"1399433056":["hashtag1","hashtag2"]},{"1399433059":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433058, 1399433055, 1399433057, 1399433053, 1399433056, 1399433059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38535118103027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 05:15:42.061639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_30_1617.jpg', '/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_32_1723.jpg', '/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_33_1740.jpg', '/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_35_1874.jpg', '/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_37_1779.jpg', '/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_41_3793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_30_1617.jpg
/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_32_1723.jpg
/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_33_1740.jpg
/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_35_1874.jpg
/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_37_1779.jpg
/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_41_3793.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433061","1399433064","1399433060","1399433063","1399433065","1399433062"],"photo_ids_order":["1399433060","1399433061","1399433062","1399433063","1399433064","1399433065"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/439e0788b6fe14786edf665704a42e6e.jpg","text":"TemporaryFile(/tmp/multipartBody1462460508369731981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772202781,"filename":"image_05112025_13_24_32_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/15/45fb8e106085988528170a7ee46b11dd.jpg","text":"TemporaryFile(/tmp/multipartBody4888191235874413616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772202781,"filename":"image_05112025_13_24_37_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/15/e41b76346580468dcac48c508fd65a55.jpg","text":"TemporaryFile(/tmp/multipartBody3974796634842882148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772202781,"filename":"image_05112025_13_24_30_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/15/c0b1d3e7a82cc051bf836c821adf49f8.jpg","text":"TemporaryFile(/tmp/multipartBody8224975306997668129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772202781,"filename":"image_05112025_13_24_35_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/15/fcf28eaaf03c6cd23a02e19761b36bab.jpg","text":"TemporaryFile(/tmp/multipartBody7857122096193621638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772202781,"filename":"image_05112025_13_24_41_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/15/a6ad29db696394901b68000c2eb4b1e7.jpg","text":"TemporaryFile(/tmp/multipartBody4331242055261049024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772202781,"filename":"image_05112025_13_24_33_1740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433062","file1":"1399433061","file0":"1399433060","file4":"1399433064","file5":"1399433065","file3":"1399433063"},"map_files_photo_id_array":[{"photo_id":"1399433065","filename":"file5"},{"photo_id":"1399433062","filename":"file2"},{"photo_id":"1399433064","filename":"file4"},{"photo_id":"1399433061","filename":"file1"},{"photo_id":"1399433060","filename":"file0"},{"photo_id":"1399433063","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399433061":["hashtag1","hashtag2"]},{"1399433064":["hashtag1","hashtag2"]},{"1399433060":["hashtag1","hashtag2"]},{"1399433063":["hashtag1","hashtag2"]},{"1399433065":["hashtag1","hashtag2"]},{"1399433062":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399433061, 1399433064, 1399433060, 1399433063, 1399433065, 1399433062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.245749950408936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 05:16:22.330354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/02/image_15122025_05_02_25_10746.jpg', '/home/pi/Desktop/images/15122025/05/02/image_15122025_05_02_34_9821.jpg', '/home/pi/Desktop/images/15122025/05/02/image_15122025_05_02_44_9679.jpg', '/home/pi/Desktop/images/15122025/05/02/image_15122025_05_02_55_10485.jpg', '/home/pi/Desktop/images/15122025/05/02/image_15122025_05_03_04_9697.jpg', '/home/pi/Desktop/images/15122025/05/03/image_15122025_05_03_14_9886.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/02/image_15122025_05_02_25_10746.jpg
/home/pi/Desktop/images/15122025/05/02/image_15122025_05_02_34_9821.jpg
/home/pi/Desktop/images/15122025/05/02/image_15122025_05_02_44_9679.jpg
/home/pi/Desktop/images/15122025/05/02/image_15122025_05_02_55_10485.jpg
/home/pi/Desktop/images/15122025/05/02/image_15122025_05_03_04_9697.jpg
/home/pi/Desktop/images/15122025/05/03/image_15122025_05_03_14_9886.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433070","1399433067","1399433069","1399433066","1399433071","1399433068"],"photo_ids_order":["1399433066","1399433067","1399433068","1399433069","1399433070","1399433071"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9c4b7b164576bc9b83ceaca7945cdb2f.jpg","text":"TemporaryFile(/tmp/multipartBody8118773893220798594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772242948,"filename":"image_15122025_05_03_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/15/79aa215bd328e5603eb41b103f46992e.jpg","text":"TemporaryFile(/tmp/multipartBody6497646325904876806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772242948,"filename":"image_15122025_05_02_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/15/3eaa4b00d23c5f5073da2e283167ae5f.jpg","text":"TemporaryFile(/tmp/multipartBody2453640822803596586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772242948,"filename":"image_15122025_05_02_55_10485.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/46ae0b587b8d35850d2539b82410ae2e.jpg","text":"TemporaryFile(/tmp/multipartBody5644953217438103556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772242948,"filename":"image_15122025_05_02_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/15/d945e35bd1581b042cae88e6aa6196cd.jpg","text":"TemporaryFile(/tmp/multipartBody2891853399255544557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772242948,"filename":"image_15122025_05_03_14_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/15/871bb10d51fdcc5de8b518345dd571f8.jpg","text":"TemporaryFile(/tmp/multipartBody7666932466444243445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772242948,"filename":"image_15122025_05_02_44_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433068","file1":"1399433067","file0":"1399433066","file4":"1399433070","file5":"1399433071","file3":"1399433069"},"map_files_photo_id_array":[{"photo_id":"1399433071","filename":"file5"},{"photo_id":"1399433068","filename":"file2"},{"photo_id":"1399433070","filename":"file4"},{"photo_id":"1399433067","filename":"file1"},{"photo_id":"1399433066","filename":"file0"},{"photo_id":"1399433069","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433070":["hashtag1","hashtag2"]},{"1399433067":["hashtag1","hashtag2"]},{"1399433069":["hashtag1","hashtag2"]},{"1399433066":["hashtag1","hashtag2"]},{"1399433071":["hashtag1","hashtag2"]},{"1399433068":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433070, 1399433067, 1399433069, 1399433066, 1399433071, 1399433068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.161048412323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 05:17:03.187022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/03/image_15122025_05_03_24_9717.jpg', '/home/pi/Desktop/images/15122025/05/03/image_15122025_05_03_35_10750.jpg', '/home/pi/Desktop/images/15122025/05/03/image_15122025_05_03_55_10773.jpg', '/home/pi/Desktop/images/15122025/05/03/image_15122025_05_04_04_9693.jpg', '/home/pi/Desktop/images/15122025/05/04/image_15122025_05_04_14_9919.jpg', '/home/pi/Desktop/images/15122025/05/04/image_15122025_05_04_24_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/03/image_15122025_05_03_24_9717.jpg
/home/pi/Desktop/images/15122025/05/03/image_15122025_05_03_35_10750.jpg
/home/pi/Desktop/images/15122025/05/03/image_15122025_05_03_55_10773.jpg
/home/pi/Desktop/images/15122025/05/03/image_15122025_05_04_04_9693.jpg
/home/pi/Desktop/images/15122025/05/04/image_15122025_05_04_14_9919.jpg
/home/pi/Desktop/images/15122025/05/04/image_15122025_05_04_24_9716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433076","1399433072","1399433075","1399433078","1399433077","1399433074"],"photo_ids_order":["1399433072","1399433074","1399433075","1399433076","1399433077","1399433078"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3372243d04175f3e37dc96b26c9bc51b.jpg","text":"TemporaryFile(/tmp/multipartBody5557663706093943321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772283864,"filename":"image_15122025_05_04_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/15/ecd373932b240e283ade44001ce63099.jpg","text":"TemporaryFile(/tmp/multipartBody6575802564503988683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772283864,"filename":"image_15122025_05_03_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/15/a7ececc5a55ed03c3becc2ff3acfeb8f.jpg","text":"TemporaryFile(/tmp/multipartBody8679329482317375120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772283864,"filename":"image_15122025_05_03_55_10773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/582618295097d9b038d23cd16b40aaa0.jpg","text":"TemporaryFile(/tmp/multipartBody5628347482369635034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772283864,"filename":"image_15122025_05_04_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/15/8c82a5656c09e9dd7d5357fce2c3b1ad.jpg","text":"TemporaryFile(/tmp/multipartBody2993383959343295676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772283864,"filename":"image_15122025_05_04_14_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/15/32e4f069721c31ddbef4886d6afbac5c.jpg","text":"TemporaryFile(/tmp/multipartBody332504862539593141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772283864,"filename":"image_15122025_05_03_35_10750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433075","file1":"1399433074","file0":"1399433072","file4":"1399433077","file5":"1399433078","file3":"1399433076"},"map_files_photo_id_array":[{"photo_id":"1399433078","filename":"file5"},{"photo_id":"1399433075","filename":"file2"},{"photo_id":"1399433077","filename":"file4"},{"photo_id":"1399433074","filename":"file1"},{"photo_id":"1399433072","filename":"file0"},{"photo_id":"1399433076","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433076":["hashtag1","hashtag2"]},{"1399433072":["hashtag1","hashtag2"]},{"1399433075":["hashtag1","hashtag2"]},{"1399433078":["hashtag1","hashtag2"]},{"1399433077":["hashtag1","hashtag2"]},{"1399433074":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433076, 1399433072, 1399433075, 1399433078, 1399433077, 1399433074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.415817737579346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 05:17:42.631494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_43_1768.jpg', '/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_52_9221.jpg', '/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_04_11850.jpg', '/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_25_21154.jpg', '/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_28_1593.jpg', '/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_30_1601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_43_1768.jpg
/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_52_9221.jpg
/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_04_11850.jpg
/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_25_21154.jpg
/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_28_1593.jpg
/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_30_1601.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6608891487121582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 05:18:02.286362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/04/image_15122025_05_04_34_9760.jpg', '/home/pi/Desktop/images/15122025/05/04/image_15122025_05_04_45_10720.jpg', '/home/pi/Desktop/images/15122025/05/04/image_15122025_05_04_54_9590.jpg', '/home/pi/Desktop/images/15122025/05/04/image_15122025_05_05_04_9607.jpg', '/home/pi/Desktop/images/15122025/05/05/image_15122025_05_05_14_10744.jpg', '/home/pi/Desktop/images/15122025/05/05/image_15122025_05_05_24_9535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/04/image_15122025_05_04_34_9760.jpg
/home/pi/Desktop/images/15122025/05/04/image_15122025_05_04_45_10720.jpg
/home/pi/Desktop/images/15122025/05/04/image_15122025_05_04_54_9590.jpg
/home/pi/Desktop/images/15122025/05/04/image_15122025_05_05_04_9607.jpg
/home/pi/Desktop/images/15122025/05/05/image_15122025_05_05_14_10744.jpg
/home/pi/Desktop/images/15122025/05/05/image_15122025_05_05_24_9535.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433091","1399433090","1399433087","1399433086","1399433089","1399433088"],"photo_ids_order":["1399433086","1399433087","1399433088","1399433089","1399433090","1399433091"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/16ef444b445b9b0698a1ee7871a47ebc.jpg","text":"TemporaryFile(/tmp/multipartBody6551525489301216064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772342943,"filename":"image_15122025_05_05_24_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/15/f9ffa27dce51b08baab574536010bcaf.jpg","text":"TemporaryFile(/tmp/multipartBody4913981513589214571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772342943,"filename":"image_15122025_05_05_14_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/15/617e1ad86ce20fca9d2106208ec7a497.jpg","text":"TemporaryFile(/tmp/multipartBody7756114891781140325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772342943,"filename":"image_15122025_05_04_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/15/ec52edc4ee8a6282caab93401e6d629c.jpg","text":"TemporaryFile(/tmp/multipartBody3472184867045183988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772342943,"filename":"image_15122025_05_04_34_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a346cdb4b8ab3aed6768e0ee7dc43d4f.jpg","text":"TemporaryFile(/tmp/multipartBody9165468864542498561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772342943,"filename":"image_15122025_05_05_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/15/3bb3566fbc07a77b3037c745e46036ec.jpg","text":"TemporaryFile(/tmp/multipartBody3812449478591166557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772342943,"filename":"image_15122025_05_04_54_9590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433088","file1":"1399433087","file0":"1399433086","file4":"1399433090","file5":"1399433091","file3":"1399433089"},"map_files_photo_id_array":[{"photo_id":"1399433091","filename":"file5"},{"photo_id":"1399433088","filename":"file2"},{"photo_id":"1399433090","filename":"file4"},{"photo_id":"1399433087","filename":"file1"},{"photo_id":"1399433086","filename":"file0"},{"photo_id":"1399433089","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433091":["hashtag1","hashtag2"]},{"1399433090":["hashtag1","hashtag2"]},{"1399433087":["hashtag1","hashtag2"]},{"1399433086":["hashtag1","hashtag2"]},{"1399433089":["hashtag1","hashtag2"]},{"1399433088":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433091, 1399433090, 1399433087, 1399433086, 1399433089, 1399433088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04297351837158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 05:18:41.848705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_43_1768.jpg', '/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_52_9221.jpg', '/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_04_11850.jpg', '/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_25_21154.jpg', '/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_28_1593.jpg', '/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_30_1601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_43_1768.jpg
/home/pi/Desktop/images/05112025/13/24/image_05112025_13_24_52_9221.jpg
/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_04_11850.jpg
/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_25_21154.jpg
/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_28_1593.jpg
/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_30_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":["1399433097","1399433093","1399433096","1399433095","1399433092","1399433094"],"photo_ids_order":["1399433092","1399433093","1399433094","1399433095","1399433096","1399433097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/38020b64dac8667b380e96ac67b94c8c.jpg","text":"TemporaryFile(/tmp/multipartBody8846818908615184224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772382455,"filename":"image_05112025_13_25_30_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/15/57f4488db357ded168b23727c067b5f3.jpg","text":"TemporaryFile(/tmp/multipartBody8355021855356204209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772382455,"filename":"image_05112025_13_24_52_9221.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1ab07697e09156391a3e5efb8bbfcad2.jpg","text":"TemporaryFile(/tmp/multipartBody7012156720472801428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772382455,"filename":"image_05112025_13_25_28_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/15/f2274dee56acf30de18b2c6331873854.jpg","text":"TemporaryFile(/tmp/multipartBody2278334029372238316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772382455,"filename":"image_05112025_13_25_25_21154.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a2b73a9d0970d33b5332bffc28dd4d8f.jpg","text":"TemporaryFile(/tmp/multipartBody6101626886086349846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772382455,"filename":"image_05112025_13_24_43_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/15/df54f037231a2dce27ceca872c767cc9.jpg","text":"TemporaryFile(/tmp/multipartBody3269420634751458333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772382455,"filename":"image_05112025_13_25_04_11850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433094","file1":"1399433093","file0":"1399433092","file4":"1399433096","file5":"1399433097","file3":"1399433095"},"map_files_photo_id_array":[{"photo_id":"1399433097","filename":"file5"},{"photo_id":"1399433094","filename":"file2"},{"photo_id":"1399433096","filename":"file4"},{"photo_id":"1399433093","filename":"file1"},{"photo_id":"1399433092","filename":"file0"},{"photo_id":"1399433095","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399433097":["hashtag1","hashtag2"]},{"1399433093":["hashtag1","hashtag2"]},{"1399433096":["hashtag1","hashtag2"]},{"1399433095":["hashtag1","hashtag2"]},{"1399433092":["hashtag1","hashtag2"]},{"1399433094":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399433097, 1399433093, 1399433096, 1399433095, 1399433092, 1399433094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28257465362549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 05:19:22.099299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/05/image_15122025_05_05_34_9717.jpg', '/home/pi/Desktop/images/15122025/05/05/image_15122025_05_05_44_10591.jpg', '/home/pi/Desktop/images/15122025/05/05/image_15122025_05_05_54_9714.jpg', '/home/pi/Desktop/images/15122025/05/06/image_15122025_05_06_15_10868.jpg', '/home/pi/Desktop/images/15122025/05/06/image_15122025_05_06_24_9689.jpg', '/home/pi/Desktop/images/15122025/05/06/image_15122025_05_06_34_9501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/05/image_15122025_05_05_34_9717.jpg
/home/pi/Desktop/images/15122025/05/05/image_15122025_05_05_44_10591.jpg
/home/pi/Desktop/images/15122025/05/05/image_15122025_05_05_54_9714.jpg
/home/pi/Desktop/images/15122025/05/06/image_15122025_05_06_15_10868.jpg
/home/pi/Desktop/images/15122025/05/06/image_15122025_05_06_24_9689.jpg
/home/pi/Desktop/images/15122025/05/06/image_15122025_05_06_34_9501.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433100","1399433099","1399433098","1399433102","1399433101","1399433104"],"photo_ids_order":["1399433098","1399433099","1399433100","1399433101","1399433102","1399433104"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/96a0ec1cadeb2c5efdb2fdf28c206475.jpg","text":"TemporaryFile(/tmp/multipartBody3525754676514582872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772422766,"filename":"image_15122025_05_05_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/15/0d7fe3d10f1057e5c69a20d28e8160fe.jpg","text":"TemporaryFile(/tmp/multipartBody5475540447580753922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772422766,"filename":"image_15122025_05_05_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/15/1b7322c59a4a1318b4e69e26ed62075b.jpg","text":"TemporaryFile(/tmp/multipartBody5109094887379008102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772422766,"filename":"image_15122025_05_05_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/15/92f9dec789e30255b5156e7060a3ad72.jpg","text":"TemporaryFile(/tmp/multipartBody4317849658660788185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772422766,"filename":"image_15122025_05_06_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/15/bfc8c5931c16bd9c17ed61cd661365a4.jpg","text":"TemporaryFile(/tmp/multipartBody8591668735610394032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772422766,"filename":"image_15122025_05_06_15_10868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5c79f5cb7d60b2508bf9d621088895a3.jpg","text":"TemporaryFile(/tmp/multipartBody1037286626766985624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772422766,"filename":"image_15122025_05_06_34_9501.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433100","file1":"1399433099","file0":"1399433098","file4":"1399433102","file5":"1399433104","file3":"1399433101"},"map_files_photo_id_array":[{"photo_id":"1399433104","filename":"file5"},{"photo_id":"1399433100","filename":"file2"},{"photo_id":"1399433102","filename":"file4"},{"photo_id":"1399433099","filename":"file1"},{"photo_id":"1399433098","filename":"file0"},{"photo_id":"1399433101","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433100":["hashtag1","hashtag2"]},{"1399433099":["hashtag1","hashtag2"]},{"1399433098":["hashtag1","hashtag2"]},{"1399433102":["hashtag1","hashtag2"]},{"1399433101":["hashtag1","hashtag2"]},{"1399433104":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433100, 1399433099, 1399433098, 1399433102, 1399433101, 1399433104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.99010920524597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 05:20:02.955206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/06/image_15122025_05_06_44_10598.jpg', '/home/pi/Desktop/images/15122025/05/06/image_15122025_05_06_54_9718.jpg', '/home/pi/Desktop/images/15122025/05/06/image_15122025_05_07_04_9649.jpg', '/home/pi/Desktop/images/15122025/05/07/image_15122025_05_07_14_10711.jpg', '/home/pi/Desktop/images/15122025/05/07/image_15122025_05_07_24_9677.jpg', '/home/pi/Desktop/images/15122025/05/07/image_15122025_05_07_34_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/06/image_15122025_05_06_44_10598.jpg
/home/pi/Desktop/images/15122025/05/06/image_15122025_05_06_54_9718.jpg
/home/pi/Desktop/images/15122025/05/06/image_15122025_05_07_04_9649.jpg
/home/pi/Desktop/images/15122025/05/07/image_15122025_05_07_14_10711.jpg
/home/pi/Desktop/images/15122025/05/07/image_15122025_05_07_24_9677.jpg
/home/pi/Desktop/images/15122025/05/07/image_15122025_05_07_34_9668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433107","1399433106","1399433109","1399433111","1399433108","1399433110"],"photo_ids_order":["1399433106","1399433107","1399433108","1399433109","1399433110","1399433111"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8cbcce262c0b26cea93743cd0dfce727.jpg","text":"TemporaryFile(/tmp/multipartBody812351538806605735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772463632,"filename":"image_15122025_05_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/15/3c7e61312d318187208d4255a559bd56.jpg","text":"TemporaryFile(/tmp/multipartBody6796548068180565794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772463632,"filename":"image_15122025_05_06_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/15/c7a534e4cd187a5b5c85284d638ec76b.jpg","text":"TemporaryFile(/tmp/multipartBody1213520792817615100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772463632,"filename":"image_15122025_05_07_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/15/bcf635a75a03ccad56b7a659e9b541ac.jpg","text":"TemporaryFile(/tmp/multipartBody934788252575381718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772463632,"filename":"image_15122025_05_07_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/15/8b8dc626385575b61bd1e87d6aa3b781.jpg","text":"TemporaryFile(/tmp/multipartBody1125308756657304601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772463632,"filename":"image_15122025_05_07_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/15/126b9b385f5607bd96c5944525bb371b.jpg","text":"TemporaryFile(/tmp/multipartBody2614574638805154941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772463632,"filename":"image_15122025_05_07_24_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433108","file1":"1399433107","file0":"1399433106","file4":"1399433110","file5":"1399433111","file3":"1399433109"},"map_files_photo_id_array":[{"photo_id":"1399433111","filename":"file5"},{"photo_id":"1399433108","filename":"file2"},{"photo_id":"1399433110","filename":"file4"},{"photo_id":"1399433107","filename":"file1"},{"photo_id":"1399433106","filename":"file0"},{"photo_id":"1399433109","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433107":["hashtag1","hashtag2"]},{"1399433106":["hashtag1","hashtag2"]},{"1399433109":["hashtag1","hashtag2"]},{"1399433111":["hashtag1","hashtag2"]},{"1399433108":["hashtag1","hashtag2"]},{"1399433110":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433107, 1399433106, 1399433109, 1399433111, 1399433108, 1399433110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40113687515259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 05:20:42.471334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_31_1633.jpg', '/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_33_1582.jpg', '/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_36_1627.jpg', '/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_38_1513.jpg', '/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_40_1597.jpg', '/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_41_1634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_31_1633.jpg
/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_33_1582.jpg
/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_36_1627.jpg
/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_38_1513.jpg
/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_40_1597.jpg
/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_41_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":["1399433112","1399433115","1399433117","1399433114","1399433116","1399433119"],"photo_ids_order":["1399433112","1399433114","1399433115","1399433116","1399433117","1399433119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c91a7cfa1728dbc0b2c4e54de56651b9.jpg","text":"TemporaryFile(/tmp/multipartBody8092774517340749875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772503207,"filename":"image_05112025_13_25_31_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/15/1dda426bf50d737af680366a4fb563dc.jpg","text":"TemporaryFile(/tmp/multipartBody4277198420500435400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772503207,"filename":"image_05112025_13_25_36_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/15/a0d5acea8d2d53796715058bab0a73d4.jpg","text":"TemporaryFile(/tmp/multipartBody3124093823613911003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772503207,"filename":"image_05112025_13_25_40_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/15/17ca5745f54469ca2f2f86b52ab0e6f4.jpg","text":"TemporaryFile(/tmp/multipartBody817664615761693369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772503207,"filename":"image_05112025_13_25_33_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/15/1ef8737ddafea7ce63b90c325f36c5c7.jpg","text":"TemporaryFile(/tmp/multipartBody1927454673361715722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772503207,"filename":"image_05112025_13_25_38_1513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/874e7c007370bb10da822c3e03cb2244.jpg","text":"TemporaryFile(/tmp/multipartBody2920600332992768955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772503207,"filename":"image_05112025_13_25_41_1634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433115","file1":"1399433114","file0":"1399433112","file4":"1399433117","file5":"1399433119","file3":"1399433116"},"map_files_photo_id_array":[{"photo_id":"1399433119","filename":"file5"},{"photo_id":"1399433115","filename":"file2"},{"photo_id":"1399433117","filename":"file4"},{"photo_id":"1399433114","filename":"file1"},{"photo_id":"1399433112","filename":"file0"},{"photo_id":"1399433116","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399433112":["hashtag1","hashtag2"]},{"1399433115":["hashtag1","hashtag2"]},{"1399433117":["hashtag1","hashtag2"]},{"1399433114":["hashtag1","hashtag2"]},{"1399433116":["hashtag1","hashtag2"]},{"1399433119":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399433112, 1399433115, 1399433117, 1399433114, 1399433116, 1399433119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25669598579407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 05:21:22.850264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/07/image_15122025_05_07_45_10714.jpg', '/home/pi/Desktop/images/15122025/05/07/image_15122025_05_07_54_9822.jpg', '/home/pi/Desktop/images/15122025/05/07/image_15122025_05_08_04_9741.jpg', '/home/pi/Desktop/images/15122025/05/08/image_15122025_05_08_14_9611.jpg', '/home/pi/Desktop/images/15122025/05/08/image_15122025_05_08_24_10636.jpg', '/home/pi/Desktop/images/15122025/05/08/image_15122025_05_08_34_9823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/07/image_15122025_05_07_45_10714.jpg
/home/pi/Desktop/images/15122025/05/07/image_15122025_05_07_54_9822.jpg
/home/pi/Desktop/images/15122025/05/07/image_15122025_05_08_04_9741.jpg
/home/pi/Desktop/images/15122025/05/08/image_15122025_05_08_14_9611.jpg
/home/pi/Desktop/images/15122025/05/08/image_15122025_05_08_24_10636.jpg
/home/pi/Desktop/images/15122025/05/08/image_15122025_05_08_34_9823.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433124","1399433127","1399433123","1399433126","1399433122","1399433125"],"photo_ids_order":["1399433122","1399433123","1399433124","1399433125","1399433126","1399433127"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d01391b71b375e459b9dc06ec3b46df6.jpg","text":"TemporaryFile(/tmp/multipartBody2374428891734715851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772543463,"filename":"image_15122025_05_08_04_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/637fbb9479aea37be9c8c83ba307ff17.jpg","text":"TemporaryFile(/tmp/multipartBody4531330546304184940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772543463,"filename":"image_15122025_05_08_34_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e15fb37987fe66b2e1c72754c17a40fe.jpg","text":"TemporaryFile(/tmp/multipartBody8213803551012921335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772543463,"filename":"image_15122025_05_07_54_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/13f734dea5f156282936e8736cd22b50.jpg","text":"TemporaryFile(/tmp/multipartBody3456110322867054296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772543463,"filename":"image_15122025_05_08_24_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/15/03cdc419880c038d9f82f6f3db8232ba.jpg","text":"TemporaryFile(/tmp/multipartBody4574800410921997658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772543463,"filename":"image_15122025_05_07_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/15/c82ac7f5774c9f4d1b407c92b96735a6.jpg","text":"TemporaryFile(/tmp/multipartBody5504054448560730429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772543463,"filename":"image_15122025_05_08_14_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433124","file1":"1399433123","file0":"1399433122","file4":"1399433126","file5":"1399433127","file3":"1399433125"},"map_files_photo_id_array":[{"photo_id":"1399433127","filename":"file5"},{"photo_id":"1399433124","filename":"file2"},{"photo_id":"1399433126","filename":"file4"},{"photo_id":"1399433123","filename":"file1"},{"photo_id":"1399433122","filename":"file0"},{"photo_id":"1399433125","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433124":["hashtag1","hashtag2"]},{"1399433127":["hashtag1","hashtag2"]},{"1399433123":["hashtag1","hashtag2"]},{"1399433126":["hashtag1","hashtag2"]},{"1399433122":["hashtag1","hashtag2"]},{"1399433125":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433124, 1399433127, 1399433123, 1399433126, 1399433122, 1399433125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.644927740097046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 05:22:02.558741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/08/image_15122025_05_08_44_9587.jpg', '/home/pi/Desktop/images/15122025/05/08/image_15122025_05_08_54_10019.jpg', '/home/pi/Desktop/images/15122025/05/08/image_15122025_05_09_05_10836.jpg', '/home/pi/Desktop/images/15122025/05/09/image_15122025_05_09_14_9684.jpg', '/home/pi/Desktop/images/15122025/05/09/image_15122025_05_09_24_9577.jpg', '/home/pi/Desktop/images/15122025/05/09/image_15122025_05_09_44_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/08/image_15122025_05_08_44_9587.jpg
/home/pi/Desktop/images/15122025/05/08/image_15122025_05_08_54_10019.jpg
/home/pi/Desktop/images/15122025/05/08/image_15122025_05_09_05_10836.jpg
/home/pi/Desktop/images/15122025/05/09/image_15122025_05_09_14_9684.jpg
/home/pi/Desktop/images/15122025/05/09/image_15122025_05_09_24_9577.jpg
/home/pi/Desktop/images/15122025/05/09/image_15122025_05_09_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":["1399433142","1399433139","1399433132","1399433146","1399433149","1399433137"],"photo_ids_order":["1399433132","1399433137","1399433139","1399433142","1399433146","1399433149"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bc12a5bd4c4ed1fb920e91a4b4f7a6a8.jpg","text":"TemporaryFile(/tmp/multipartBody8063628070740770831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772583206,"filename":"image_15122025_05_09_14_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ce6fa667874511add36a5708062c64df.jpg","text":"TemporaryFile(/tmp/multipartBody811252016764968117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772583206,"filename":"image_15122025_05_09_05_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/15/b6cdc3306bf5f56734660a8af95843f0.jpg","text":"TemporaryFile(/tmp/multipartBody3699627845929561541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772583206,"filename":"image_15122025_05_08_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/15/565366d8e316ccc7fc1f45f4195efd26.jpg","text":"TemporaryFile(/tmp/multipartBody4641700306105883472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772583206,"filename":"image_15122025_05_09_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/15/62afb62e424095e827e3ac970674b6c3.jpg","text":"TemporaryFile(/tmp/multipartBody4431279048214180581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772583206,"filename":"image_15122025_05_09_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/15/84542a66d8a888a117df66214015b0df.jpg","text":"TemporaryFile(/tmp/multipartBody4726557932748911661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772583206,"filename":"image_15122025_05_08_54_10019.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433139","file1":"1399433137","file0":"1399433132","file4":"1399433146","file5":"1399433149","file3":"1399433142"},"map_files_photo_id_array":[{"photo_id":"1399433149","filename":"file5"},{"photo_id":"1399433139","filename":"file2"},{"photo_id":"1399433146","filename":"file4"},{"photo_id":"1399433137","filename":"file1"},{"photo_id":"1399433132","filename":"file0"},{"photo_id":"1399433142","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433142":["hashtag1","hashtag2"]},{"1399433139":["hashtag1","hashtag2"]},{"1399433132":["hashtag1","hashtag2"]},{"1399433146":["hashtag1","hashtag2"]},{"1399433149":["hashtag1","hashtag2"]},{"1399433137":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433142, 1399433139, 1399433132, 1399433146, 1399433149, 1399433137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27129292488098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 05:22:41.996343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_43_1632.jpg', '/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_44_1627.jpg', '/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_46_1709.jpg', '/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_48_1918.jpg', '/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_50_1622.jpg', '/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_51_1627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_43_1632.jpg
/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_44_1627.jpg
/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_46_1709.jpg
/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_48_1918.jpg
/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_50_1622.jpg
/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_51_1627.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6322202682495117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 05:23:02.923285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/09/image_15122025_05_09_54_9680.jpg', '/home/pi/Desktop/images/15122025/05/09/image_15122025_05_10_04_10585.jpg', '/home/pi/Desktop/images/15122025/05/10/image_15122025_05_10_14_9734.jpg', '/home/pi/Desktop/images/15122025/05/10/image_15122025_05_10_24_9614.jpg', '/home/pi/Desktop/images/15122025/05/10/image_15122025_05_10_35_10721.jpg', '/home/pi/Desktop/images/15122025/05/10/image_15122025_05_10_44_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/09/image_15122025_05_09_54_9680.jpg
/home/pi/Desktop/images/15122025/05/09/image_15122025_05_10_04_10585.jpg
/home/pi/Desktop/images/15122025/05/10/image_15122025_05_10_14_9734.jpg
/home/pi/Desktop/images/15122025/05/10/image_15122025_05_10_24_9614.jpg
/home/pi/Desktop/images/15122025/05/10/image_15122025_05_10_35_10721.jpg
/home/pi/Desktop/images/15122025/05/10/image_15122025_05_10_44_9740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433196","1399433184","1399433195","1399433194","1399433191","1399433188"],"photo_ids_order":["1399433184","1399433188","1399433191","1399433194","1399433195","1399433196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/52a11e064d913421988d3a0e3e20eb0d.jpg","text":"TemporaryFile(/tmp/multipartBody2195920049629209302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772643608,"filename":"image_15122025_05_10_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/15/eb13c781f3d59a0d5048e4e4252bd6a6.jpg","text":"TemporaryFile(/tmp/multipartBody2596762509101268447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772643608,"filename":"image_15122025_05_09_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/15/ce8c20929ee29974af59f1e69a6e17b3.jpg","text":"TemporaryFile(/tmp/multipartBody8634330412185979554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772643608,"filename":"image_15122025_05_10_35_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/15/262ac0dd011394de4bce510b6a3031aa.jpg","text":"TemporaryFile(/tmp/multipartBody7789763671112481772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772643608,"filename":"image_15122025_05_10_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/15/75b03398f742335622b27274eac89e04.jpg","text":"TemporaryFile(/tmp/multipartBody7063809959527217437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772643608,"filename":"image_15122025_05_10_14_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f376a9c45119df5556530a04063574fb.jpg","text":"TemporaryFile(/tmp/multipartBody6469780109339682134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772643608,"filename":"image_15122025_05_10_04_10585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433191","file1":"1399433188","file0":"1399433184","file4":"1399433195","file5":"1399433196","file3":"1399433194"},"map_files_photo_id_array":[{"photo_id":"1399433196","filename":"file5"},{"photo_id":"1399433191","filename":"file2"},{"photo_id":"1399433195","filename":"file4"},{"photo_id":"1399433188","filename":"file1"},{"photo_id":"1399433184","filename":"file0"},{"photo_id":"1399433194","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433196":["hashtag1","hashtag2"]},{"1399433184":["hashtag1","hashtag2"]},{"1399433195":["hashtag1","hashtag2"]},{"1399433194":["hashtag1","hashtag2"]},{"1399433191":["hashtag1","hashtag2"]},{"1399433188":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433196, 1399433184, 1399433195, 1399433194, 1399433191, 1399433188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82890343666077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 05:23:42.303048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_43_1632.jpg', '/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_44_1627.jpg', '/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_46_1709.jpg', '/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_48_1918.jpg', '/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_50_1622.jpg', '/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_51_1627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_43_1632.jpg
/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_44_1627.jpg
/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_46_1709.jpg
/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_48_1918.jpg
/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_50_1622.jpg
/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_51_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":["1399433205","1399433202","1399433197","1399433201","1399433200","1399433203"],"photo_ids_order":["1399433197","1399433200","1399433201","1399433202","1399433203","1399433205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8d17ed63615b36bbd1cbded6921042fd.jpg","text":"TemporaryFile(/tmp/multipartBody2688021403249598677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772682912,"filename":"image_05112025_13_25_51_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/15/ba9870b53dc703213e54031a6423f89f.jpg","text":"TemporaryFile(/tmp/multipartBody4152865644424332373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772682912,"filename":"image_05112025_13_25_48_1918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/28b65e92d5a039dc311ee13dfbc617eb.jpg","text":"TemporaryFile(/tmp/multipartBody7522519298794969138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772682912,"filename":"image_05112025_13_25_43_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/15/aa5ab1d00150f4f821439ed1abf75d0b.jpg","text":"TemporaryFile(/tmp/multipartBody7569318842740864852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772682912,"filename":"image_05112025_13_25_46_1709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3e77547110b5f81a8548a621162c16fd.jpg","text":"TemporaryFile(/tmp/multipartBody6229367743498620642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772682912,"filename":"image_05112025_13_25_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/15/a3a856ff7fed6fa0cb9fb6953a48f5df.jpg","text":"TemporaryFile(/tmp/multipartBody7123934687929401769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772682912,"filename":"image_05112025_13_25_50_1622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433201","file1":"1399433200","file0":"1399433197","file4":"1399433203","file5":"1399433205","file3":"1399433202"},"map_files_photo_id_array":[{"photo_id":"1399433205","filename":"file5"},{"photo_id":"1399433201","filename":"file2"},{"photo_id":"1399433203","filename":"file4"},{"photo_id":"1399433200","filename":"file1"},{"photo_id":"1399433197","filename":"file0"},{"photo_id":"1399433202","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399433205":["hashtag1","hashtag2"]},{"1399433202":["hashtag1","hashtag2"]},{"1399433197":["hashtag1","hashtag2"]},{"1399433201":["hashtag1","hashtag2"]},{"1399433200":["hashtag1","hashtag2"]},{"1399433203":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399433205, 1399433202, 1399433197, 1399433201, 1399433200, 1399433203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.070777893066406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 05:24:22.568957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/10/image_15122025_05_11_05_10637.jpg', '/home/pi/Desktop/images/15122025/05/11/image_15122025_05_11_14_9682.jpg', '/home/pi/Desktop/images/15122025/05/11/image_15122025_05_11_24_9655.jpg', '/home/pi/Desktop/images/15122025/05/11/image_15122025_05_11_34_10589.jpg', '/home/pi/Desktop/images/15122025/05/11/image_15122025_05_11_44_9655.jpg', '/home/pi/Desktop/images/15122025/05/11/image_15122025_05_11_54_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/10/image_15122025_05_11_05_10637.jpg
/home/pi/Desktop/images/15122025/05/11/image_15122025_05_11_14_9682.jpg
/home/pi/Desktop/images/15122025/05/11/image_15122025_05_11_24_9655.jpg
/home/pi/Desktop/images/15122025/05/11/image_15122025_05_11_34_10589.jpg
/home/pi/Desktop/images/15122025/05/11/image_15122025_05_11_44_9655.jpg
/home/pi/Desktop/images/15122025/05/11/image_15122025_05_11_54_9685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433211","1399433208","1399433210","1399433213","1399433207","1399433209"],"photo_ids_order":["1399433207","1399433208","1399433209","1399433210","1399433211","1399433213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/28d24a8e5de5fb0bce1a56dfe116c2ed.jpg","text":"TemporaryFile(/tmp/multipartBody1826229194390453166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772723223,"filename":"image_15122025_05_11_44_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9c32500bea88046d4afbab4a94a71c4e.jpg","text":"TemporaryFile(/tmp/multipartBody4387212122403763646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772723223,"filename":"image_15122025_05_11_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/15/c633cec774f2d6dda5ed8b7477af1058.jpg","text":"TemporaryFile(/tmp/multipartBody2822811705376351889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772723223,"filename":"image_15122025_05_11_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/15/d0058e42b0d98616495318e5d9bf6afe.jpg","text":"TemporaryFile(/tmp/multipartBody4456907343075885226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772723223,"filename":"image_15122025_05_11_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/15/d762cab7c5329e7aa755a4cc6e332a9e.jpg","text":"TemporaryFile(/tmp/multipartBody4964800818248109112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772723223,"filename":"image_15122025_05_11_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/15/c902d89db80f171e67e15970e95fcc48.jpg","text":"TemporaryFile(/tmp/multipartBody9044790500662360664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772723223,"filename":"image_15122025_05_11_24_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433209","file1":"1399433208","file0":"1399433207","file4":"1399433211","file5":"1399433213","file3":"1399433210"},"map_files_photo_id_array":[{"photo_id":"1399433213","filename":"file5"},{"photo_id":"1399433209","filename":"file2"},{"photo_id":"1399433211","filename":"file4"},{"photo_id":"1399433208","filename":"file1"},{"photo_id":"1399433207","filename":"file0"},{"photo_id":"1399433210","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433211":["hashtag1","hashtag2"]},{"1399433208":["hashtag1","hashtag2"]},{"1399433210":["hashtag1","hashtag2"]},{"1399433213":["hashtag1","hashtag2"]},{"1399433207":["hashtag1","hashtag2"]},{"1399433209":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433211, 1399433208, 1399433210, 1399433213, 1399433207, 1399433209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91390943527222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 05:25:03.416422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/11/image_15122025_05_12_05_10809.jpg', '/home/pi/Desktop/images/15122025/05/12/image_15122025_05_12_14_9782.jpg', '/home/pi/Desktop/images/15122025/05/12/image_15122025_05_12_24_9689.jpg', '/home/pi/Desktop/images/15122025/05/12/image_15122025_05_12_34_9831.jpg', '/home/pi/Desktop/images/15122025/05/12/image_15122025_05_12_45_10736.jpg', '/home/pi/Desktop/images/15122025/05/12/image_15122025_05_12_54_9823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/11/image_15122025_05_12_05_10809.jpg
/home/pi/Desktop/images/15122025/05/12/image_15122025_05_12_14_9782.jpg
/home/pi/Desktop/images/15122025/05/12/image_15122025_05_12_24_9689.jpg
/home/pi/Desktop/images/15122025/05/12/image_15122025_05_12_34_9831.jpg
/home/pi/Desktop/images/15122025/05/12/image_15122025_05_12_45_10736.jpg
/home/pi/Desktop/images/15122025/05/12/image_15122025_05_12_54_9823.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433214","1399433217","1399433216","1399433219","1399433215","1399433218"],"photo_ids_order":["1399433214","1399433215","1399433216","1399433217","1399433218","1399433219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0622f0c583730a70cda5f541154acea0.jpg","text":"TemporaryFile(/tmp/multipartBody1659602136517958206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772764081,"filename":"image_15122025_05_12_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/15/0ffa597a842ed893de0d778debfaf580.jpg","text":"TemporaryFile(/tmp/multipartBody4299424721038895353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772764081,"filename":"image_15122025_05_12_34_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3368034750c73d18811c98d4644e4ee1.jpg","text":"TemporaryFile(/tmp/multipartBody820425122791359288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772764081,"filename":"image_15122025_05_12_24_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9ea808f1eec2a60eb063d79758e75363.jpg","text":"TemporaryFile(/tmp/multipartBody4681788326721293882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772764081,"filename":"image_15122025_05_12_54_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/24dd9b419d967a8eda450acf1fa56785.jpg","text":"TemporaryFile(/tmp/multipartBody1727157849913407306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772764081,"filename":"image_15122025_05_12_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/15/5cf08d4a7603085fa41d9fcdf509dc5d.jpg","text":"TemporaryFile(/tmp/multipartBody3533895631758456879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772764081,"filename":"image_15122025_05_12_45_10736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433216","file1":"1399433215","file0":"1399433214","file4":"1399433218","file5":"1399433219","file3":"1399433217"},"map_files_photo_id_array":[{"photo_id":"1399433219","filename":"file5"},{"photo_id":"1399433216","filename":"file2"},{"photo_id":"1399433218","filename":"file4"},{"photo_id":"1399433215","filename":"file1"},{"photo_id":"1399433214","filename":"file0"},{"photo_id":"1399433217","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433214":["hashtag1","hashtag2"]},{"1399433217":["hashtag1","hashtag2"]},{"1399433216":["hashtag1","hashtag2"]},{"1399433219":["hashtag1","hashtag2"]},{"1399433215":["hashtag1","hashtag2"]},{"1399433218":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433214, 1399433217, 1399433216, 1399433219, 1399433215, 1399433218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4209086894989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 05:25:42.794821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_53_1662.jpg', '/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_55_1707.jpg', '/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_56_1503.jpg', '/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_58_1621.jpg', '/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_59_1657.jpg', '/home/pi/Desktop/images/05112025/13/26/image_05112025_13_26_01_1630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_53_1662.jpg
/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_55_1707.jpg
/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_56_1503.jpg
/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_58_1621.jpg
/home/pi/Desktop/images/05112025/13/25/image_05112025_13_25_59_1657.jpg
/home/pi/Desktop/images/05112025/13/26/image_05112025_13_26_01_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":["1399433223","1399433226","1399433225","1399433227","1399433221","1399433224"],"photo_ids_order":["1399433221","1399433223","1399433224","1399433225","1399433226","1399433227"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6dec7c04134e3c61b8fcf403a4eee512.jpg","text":"TemporaryFile(/tmp/multipartBody3838516894499257720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772803558,"filename":"image_05112025_13_25_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/15/6de5d5aba91e9cabf9a8a37090c62c1b.jpg","text":"TemporaryFile(/tmp/multipartBody3236951326659033650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772803558,"filename":"image_05112025_13_25_59_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9e6011793691a95f4ba9307d5acddc71.jpg","text":"TemporaryFile(/tmp/multipartBody2815200311259057930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772803558,"filename":"image_05112025_13_25_58_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/15/340a6748bffe1a1584873eb7cac519be.jpg","text":"TemporaryFile(/tmp/multipartBody6862491667063379012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772803558,"filename":"image_05112025_13_26_01_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/15/8a10dc5fc1c6a53455c76f18450f2a30.jpg","text":"TemporaryFile(/tmp/multipartBody9222211685941604261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772803558,"filename":"image_05112025_13_25_53_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/15/cdda33eecbf4f82610e4d4685468fe33.jpg","text":"TemporaryFile(/tmp/multipartBody3453339201677535419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772803558,"filename":"image_05112025_13_25_56_1503.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433224","file1":"1399433223","file0":"1399433221","file4":"1399433226","file5":"1399433227","file3":"1399433225"},"map_files_photo_id_array":[{"photo_id":"1399433227","filename":"file5"},{"photo_id":"1399433224","filename":"file2"},{"photo_id":"1399433226","filename":"file4"},{"photo_id":"1399433223","filename":"file1"},{"photo_id":"1399433221","filename":"file0"},{"photo_id":"1399433225","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399433223":["hashtag1","hashtag2"]},{"1399433226":["hashtag1","hashtag2"]},{"1399433225":["hashtag1","hashtag2"]},{"1399433227":["hashtag1","hashtag2"]},{"1399433221":["hashtag1","hashtag2"]},{"1399433224":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399433223, 1399433226, 1399433225, 1399433227, 1399433221, 1399433224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.213844776153564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 05:26:22.030381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/12/image_15122025_05_13_04_9942.jpg', '/home/pi/Desktop/images/15122025/05/13/image_15122025_05_13_14_9807.jpg', '/home/pi/Desktop/images/15122025/05/13/image_15122025_05_13_24_9653.jpg', '/home/pi/Desktop/images/15122025/05/13/image_15122025_05_13_34_9909.jpg', '/home/pi/Desktop/images/15122025/05/13/image_15122025_05_13_44_10667.jpg', '/home/pi/Desktop/images/15122025/05/13/image_15122025_05_14_04_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/12/image_15122025_05_13_04_9942.jpg
/home/pi/Desktop/images/15122025/05/13/image_15122025_05_13_14_9807.jpg
/home/pi/Desktop/images/15122025/05/13/image_15122025_05_13_24_9653.jpg
/home/pi/Desktop/images/15122025/05/13/image_15122025_05_13_34_9909.jpg
/home/pi/Desktop/images/15122025/05/13/image_15122025_05_13_44_10667.jpg
/home/pi/Desktop/images/15122025/05/13/image_15122025_05_14_04_9698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433229","1399433234","1399433231","1399433228","1399433233","1399433230"],"photo_ids_order":["1399433228","1399433229","1399433230","1399433231","1399433233","1399433234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/eeb8553bda732417f002c4e0f0a395d9.jpg","text":"TemporaryFile(/tmp/multipartBody2784641285655985829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772842650,"filename":"image_15122025_05_13_14_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/90bf199ed1fd3b2ffc835d2c9a015edb.jpg","text":"TemporaryFile(/tmp/multipartBody2443334678235203501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772842650,"filename":"image_15122025_05_14_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/15/3ce8f29d85f4f9d89670f90014389a22.jpg","text":"TemporaryFile(/tmp/multipartBody4759341320392962837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772842650,"filename":"image_15122025_05_13_34_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/15/cf423c989b0a98d9ad6575f9c596060c.jpg","text":"TemporaryFile(/tmp/multipartBody1454881101454803285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772842650,"filename":"image_15122025_05_13_04_9942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8d5061fb75e4e68ae961d7de90c53d92.jpg","text":"TemporaryFile(/tmp/multipartBody6658357150620937918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772842650,"filename":"image_15122025_05_13_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/15/db3a9fd56836b52c27c61518be843644.jpg","text":"TemporaryFile(/tmp/multipartBody8095149181270264561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772842650,"filename":"image_15122025_05_13_24_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433230","file1":"1399433229","file0":"1399433228","file4":"1399433233","file5":"1399433234","file3":"1399433231"},"map_files_photo_id_array":[{"photo_id":"1399433234","filename":"file5"},{"photo_id":"1399433230","filename":"file2"},{"photo_id":"1399433233","filename":"file4"},{"photo_id":"1399433229","filename":"file1"},{"photo_id":"1399433228","filename":"file0"},{"photo_id":"1399433231","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433229":["hashtag1","hashtag2"]},{"1399433234":["hashtag1","hashtag2"]},{"1399433231":["hashtag1","hashtag2"]},{"1399433228":["hashtag1","hashtag2"]},{"1399433233":["hashtag1","hashtag2"]},{"1399433230":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433229, 1399433234, 1399433231, 1399433228, 1399433233, 1399433230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.989956855773926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 05:27:02.899708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/14/image_15122025_05_14_15_10656.jpg', '/home/pi/Desktop/images/15122025/05/14/image_15122025_05_14_24_9699.jpg', '/home/pi/Desktop/images/15122025/05/14/image_15122025_05_14_34_9723.jpg', '/home/pi/Desktop/images/15122025/05/14/image_15122025_05_14_44_9788.jpg', '/home/pi/Desktop/images/15122025/05/14/image_15122025_05_14_55_10785.jpg', '/home/pi/Desktop/images/15122025/05/14/image_15122025_05_15_04_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/14/image_15122025_05_14_15_10656.jpg
/home/pi/Desktop/images/15122025/05/14/image_15122025_05_14_24_9699.jpg
/home/pi/Desktop/images/15122025/05/14/image_15122025_05_14_34_9723.jpg
/home/pi/Desktop/images/15122025/05/14/image_15122025_05_14_44_9788.jpg
/home/pi/Desktop/images/15122025/05/14/image_15122025_05_14_55_10785.jpg
/home/pi/Desktop/images/15122025/05/14/image_15122025_05_15_04_9738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433244","1399433247","1399433240","1399433246","1399433248","1399433242"],"photo_ids_order":["1399433240","1399433242","1399433244","1399433246","1399433247","1399433248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1c347468fc1caa68705b1b093041cc06.jpg","text":"TemporaryFile(/tmp/multipartBody3014185600357141468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772883598,"filename":"image_15122025_05_14_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/15/72e02bd471c67204d149316a8e44a57a.jpg","text":"TemporaryFile(/tmp/multipartBody498255279106782032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772883598,"filename":"image_15122025_05_14_55_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/15/252c0c914321f693cbeff41f9335fe65.jpg","text":"TemporaryFile(/tmp/multipartBody5871286780960629701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772883598,"filename":"image_15122025_05_14_15_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/462ed7ac1fa6226a395e3800873f62f6.jpg","text":"TemporaryFile(/tmp/multipartBody5371243838784960404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772883598,"filename":"image_15122025_05_14_44_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6c5badd77a2b0661944bd68b79eb9aab.jpg","text":"TemporaryFile(/tmp/multipartBody3245866002158112743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772883598,"filename":"image_15122025_05_15_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/15/6913214e2797a962f9393d7ce3144cb1.jpg","text":"TemporaryFile(/tmp/multipartBody2945617853321787810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772883598,"filename":"image_15122025_05_14_24_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433244","file1":"1399433242","file0":"1399433240","file4":"1399433247","file5":"1399433248","file3":"1399433246"},"map_files_photo_id_array":[{"photo_id":"1399433248","filename":"file5"},{"photo_id":"1399433244","filename":"file2"},{"photo_id":"1399433247","filename":"file4"},{"photo_id":"1399433242","filename":"file1"},{"photo_id":"1399433240","filename":"file0"},{"photo_id":"1399433246","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433244":["hashtag1","hashtag2"]},{"1399433247":["hashtag1","hashtag2"]},{"1399433240":["hashtag1","hashtag2"]},{"1399433246":["hashtag1","hashtag2"]},{"1399433248":["hashtag1","hashtag2"]},{"1399433242":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433244, 1399433247, 1399433240, 1399433246, 1399433248, 1399433242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.478007555007935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 05:27:42.409874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/26/image_05112025_13_26_03_1723.jpg', '/home/pi/Desktop/images/05112025/13/26/image_05112025_13_26_05_1711.jpg', '/home/pi/Desktop/images/05112025/13/26/image_05112025_13_26_29_24961.jpg', '/home/pi/Desktop/images/05112025/13/27/image_05112025_13_27_02_32097.jpg', '/home/pi/Desktop/images/05112025/13/29/image_05112025_13_29_06_3015.jpg', '/home/pi/Desktop/images/05112025/13/29/image_05112025_13_29_12_5256.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/26/image_05112025_13_26_03_1723.jpg
/home/pi/Desktop/images/05112025/13/26/image_05112025_13_26_05_1711.jpg
/home/pi/Desktop/images/05112025/13/26/image_05112025_13_26_29_24961.jpg
/home/pi/Desktop/images/05112025/13/27/image_05112025_13_27_02_32097.jpg
/home/pi/Desktop/images/05112025/13/29/image_05112025_13_29_06_3015.jpg
/home/pi/Desktop/images/05112025/13/29/image_05112025_13_29_12_5256.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433256","1399433250","1399433253","1399433255","1399433257","1399433254"],"photo_ids_order":["1399433250","1399433253","1399433254","1399433255","1399433256","1399433257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/29f911c023aa86855171e9bfcaab60f9.jpg","text":"TemporaryFile(/tmp/multipartBody1075371077846506197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772923190,"filename":"image_05112025_13_29_06_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/15/3765e066402584b932ba3ab31f026517.jpg","text":"TemporaryFile(/tmp/multipartBody7627371694513454394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772923190,"filename":"image_05112025_13_26_03_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/15/7b71ab5d6f8ee209ab1e06426251ddc2.jpg","text":"TemporaryFile(/tmp/multipartBody569472516332419505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772923190,"filename":"image_05112025_13_26_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/15/22a47c5207810328d689928a7b6795da.jpg","text":"TemporaryFile(/tmp/multipartBody5065178188191470245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772923190,"filename":"image_05112025_13_27_02_32097.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e4db340a6a15bfc47f5ab73928c33a4b.jpg","text":"TemporaryFile(/tmp/multipartBody8111885528094806636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772923190,"filename":"image_05112025_13_29_12_5256.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a035c326e7a91d50e2f0f0b5bcf2d837.jpg","text":"TemporaryFile(/tmp/multipartBody6408133518323587806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772923190,"filename":"image_05112025_13_26_29_24961.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433254","file1":"1399433253","file0":"1399433250","file4":"1399433256","file5":"1399433257","file3":"1399433255"},"map_files_photo_id_array":[{"photo_id":"1399433257","filename":"file5"},{"photo_id":"1399433254","filename":"file2"},{"photo_id":"1399433256","filename":"file4"},{"photo_id":"1399433253","filename":"file1"},{"photo_id":"1399433250","filename":"file0"},{"photo_id":"1399433255","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399433256":["hashtag1","hashtag2"]},{"1399433250":["hashtag1","hashtag2"]},{"1399433253":["hashtag1","hashtag2"]},{"1399433255":["hashtag1","hashtag2"]},{"1399433257":["hashtag1","hashtag2"]},{"1399433254":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399433256, 1399433250, 1399433253, 1399433255, 1399433257, 1399433254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.791637659072876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 05:28:22.665499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/15/image_15122025_05_15_14_9685.jpg', '/home/pi/Desktop/images/15122025/05/15/image_15122025_05_15_25_10717.jpg', '/home/pi/Desktop/images/15122025/05/15/image_15122025_05_15_34_9748.jpg', '/home/pi/Desktop/images/15122025/05/15/image_15122025_05_15_44_9699.jpg', '/home/pi/Desktop/images/15122025/05/15/image_15122025_05_16_05_10793.jpg', '/home/pi/Desktop/images/15122025/05/16/image_15122025_05_16_14_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/15/image_15122025_05_15_14_9685.jpg
/home/pi/Desktop/images/15122025/05/15/image_15122025_05_15_25_10717.jpg
/home/pi/Desktop/images/15122025/05/15/image_15122025_05_15_34_9748.jpg
/home/pi/Desktop/images/15122025/05/15/image_15122025_05_15_44_9699.jpg
/home/pi/Desktop/images/15122025/05/15/image_15122025_05_16_05_10793.jpg
/home/pi/Desktop/images/15122025/05/16/image_15122025_05_16_14_9658.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5372335910797119 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 05:28:32.581211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 05:28:42.543174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/29/image_05112025_13_29_13_1583.jpg', '/home/pi/Desktop/images/05112025/13/29/image_05112025_13_29_19_3016.jpg', '/home/pi/Desktop/images/05112025/13/29/image_05112025_13_29_21_2548.jpg', '/home/pi/Desktop/images/05112025/13/29/image_05112025_13_29_25_3759.jpg', '/home/pi/Desktop/images/05112025/13/29/image_05112025_13_29_28_2763.jpg', '/home/pi/Desktop/images/05112025/13/29/image_05112025_13_29_31_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/29/image_05112025_13_29_13_1583.jpg
/home/pi/Desktop/images/05112025/13/29/image_05112025_13_29_19_3016.jpg
/home/pi/Desktop/images/05112025/13/29/image_05112025_13_29_21_2548.jpg
/home/pi/Desktop/images/05112025/13/29/image_05112025_13_29_25_3759.jpg
/home/pi/Desktop/images/05112025/13/29/image_05112025_13_29_28_2763.jpg
/home/pi/Desktop/images/05112025/13/29/image_05112025_13_29_31_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":["1399433268","1399433265","1399433267","1399433264","1399433263","1399433266"],"photo_ids_order":["1399433263","1399433264","1399433265","1399433266","1399433267","1399433268"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1b07714823ee498ae69dd17248c171fb.jpg","text":"TemporaryFile(/tmp/multipartBody6535363427047904993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772983289,"filename":"image_05112025_13_29_31_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/181f6437af718b8093907e7731665242.jpg","text":"TemporaryFile(/tmp/multipartBody5953953078961786564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772983289,"filename":"image_05112025_13_29_21_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/15/042eb6ecd03367245ea39f419f5bd560.jpg","text":"TemporaryFile(/tmp/multipartBody2817994244035960713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772983289,"filename":"image_05112025_13_29_28_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/15/8dcfa1d018208e0888d1bcd65e775352.jpg","text":"TemporaryFile(/tmp/multipartBody6529994467449415405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772983289,"filename":"image_05112025_13_29_19_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bbf01ba993345faed7738f726e429c35.jpg","text":"TemporaryFile(/tmp/multipartBody3784183435348581044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772983289,"filename":"image_05112025_13_29_13_1583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f9987a679a8486c90763d3a50ccd31b3.jpg","text":"TemporaryFile(/tmp/multipartBody31123016843749826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765772983289,"filename":"image_05112025_13_29_25_3759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433265","file1":"1399433264","file0":"1399433263","file4":"1399433267","file5":"1399433268","file3":"1399433266"},"map_files_photo_id_array":[{"photo_id":"1399433268","filename":"file5"},{"photo_id":"1399433265","filename":"file2"},{"photo_id":"1399433267","filename":"file4"},{"photo_id":"1399433264","filename":"file1"},{"photo_id":"1399433263","filename":"file0"},{"photo_id":"1399433266","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399433268":["hashtag1","hashtag2"]},{"1399433265":["hashtag1","hashtag2"]},{"1399433267":["hashtag1","hashtag2"]},{"1399433264":["hashtag1","hashtag2"]},{"1399433263":["hashtag1","hashtag2"]},{"1399433266":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399433268, 1399433265, 1399433267, 1399433264, 1399433263, 1399433266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77201867103577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 05:29:22.820115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/15/image_15122025_05_15_14_9685.jpg', '/home/pi/Desktop/images/15122025/05/15/image_15122025_05_15_25_10717.jpg', '/home/pi/Desktop/images/15122025/05/15/image_15122025_05_15_34_9748.jpg', '/home/pi/Desktop/images/15122025/05/15/image_15122025_05_15_44_9699.jpg', '/home/pi/Desktop/images/15122025/05/15/image_15122025_05_16_05_10793.jpg', '/home/pi/Desktop/images/15122025/05/16/image_15122025_05_16_14_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/15/image_15122025_05_15_14_9685.jpg
/home/pi/Desktop/images/15122025/05/15/image_15122025_05_15_25_10717.jpg
/home/pi/Desktop/images/15122025/05/15/image_15122025_05_15_34_9748.jpg
/home/pi/Desktop/images/15122025/05/15/image_15122025_05_15_44_9699.jpg
/home/pi/Desktop/images/15122025/05/15/image_15122025_05_16_05_10793.jpg
/home/pi/Desktop/images/15122025/05/16/image_15122025_05_16_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":["1399433274","1399433271","1399433270","1399433273","1399433282","1399433275"],"photo_ids_order":["1399433270","1399433271","1399433273","1399433274","1399433275","1399433282"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/03e894e52407cdccfc179a4a42e0ee9e.jpg","text":"TemporaryFile(/tmp/multipartBody842897621887660643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773023448,"filename":"image_15122025_05_15_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/15/da4f72127ae3627be79801a69aa1628c.jpg","text":"TemporaryFile(/tmp/multipartBody50255275167117348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773023448,"filename":"image_15122025_05_15_25_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c986d572c38b8f2b6dad76acc499631f.jpg","text":"TemporaryFile(/tmp/multipartBody3607656675626203231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773023448,"filename":"image_15122025_05_15_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/15/242eaac802e82f2ad21b36c6d21d4547.jpg","text":"TemporaryFile(/tmp/multipartBody7175601522885459031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773023448,"filename":"image_15122025_05_15_34_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/19abf7223b7edd030cdb42fa9e42956a.jpg","text":"TemporaryFile(/tmp/multipartBody2829010217679669043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773023448,"filename":"image_15122025_05_16_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/15/78867b241a2eace35109ae79a7b2ae62.jpg","text":"TemporaryFile(/tmp/multipartBody3019541160831984174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773023448,"filename":"image_15122025_05_16_05_10793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433273","file1":"1399433271","file0":"1399433270","file4":"1399433275","file5":"1399433282","file3":"1399433274"},"map_files_photo_id_array":[{"photo_id":"1399433282","filename":"file5"},{"photo_id":"1399433273","filename":"file2"},{"photo_id":"1399433275","filename":"file4"},{"photo_id":"1399433271","filename":"file1"},{"photo_id":"1399433270","filename":"file0"},{"photo_id":"1399433274","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433274":["hashtag1","hashtag2"]},{"1399433271":["hashtag1","hashtag2"]},{"1399433270":["hashtag1","hashtag2"]},{"1399433273":["hashtag1","hashtag2"]},{"1399433282":["hashtag1","hashtag2"]},{"1399433275":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433274, 1399433271, 1399433270, 1399433273, 1399433282, 1399433275)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.91804504394531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 05:30:12.034430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 05:30:22.097475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/16/image_15122025_05_16_24_9619.jpg', '/home/pi/Desktop/images/15122025/05/16/image_15122025_05_16_35_10760.jpg', '/home/pi/Desktop/images/15122025/05/16/image_15122025_05_16_44_9679.jpg', '/home/pi/Desktop/images/15122025/05/16/image_15122025_05_16_54_9778.jpg', '/home/pi/Desktop/images/15122025/05/16/image_15122025_05_17_05_10587.jpg', '/home/pi/Desktop/images/15122025/05/17/image_15122025_05_17_14_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/16/image_15122025_05_16_24_9619.jpg
/home/pi/Desktop/images/15122025/05/16/image_15122025_05_16_35_10760.jpg
/home/pi/Desktop/images/15122025/05/16/image_15122025_05_16_44_9679.jpg
/home/pi/Desktop/images/15122025/05/16/image_15122025_05_16_54_9778.jpg
/home/pi/Desktop/images/15122025/05/16/image_15122025_05_17_05_10587.jpg
/home/pi/Desktop/images/15122025/05/17/image_15122025_05_17_14_9708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433322","1399433321","1399433312","1399433311","1399433320","1399433317"],"photo_ids_order":["1399433311","1399433312","1399433317","1399433320","1399433321","1399433322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c50933e56f2ac7d9a5a4b905eea9d243.jpg","text":"TemporaryFile(/tmp/multipartBody7048953702781580053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773082827,"filename":"image_15122025_05_17_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/15/a3d2650edaefed9d07cdfab3c5417b98.jpg","text":"TemporaryFile(/tmp/multipartBody4566097144244015125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773082827,"filename":"image_15122025_05_17_05_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/15/12cceded8b35df4876e969492a22512d.jpg","text":"TemporaryFile(/tmp/multipartBody7372472776978445056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773082827,"filename":"image_15122025_05_16_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/15/3d5c86417110ca8e02b636fb3ea238b7.jpg","text":"TemporaryFile(/tmp/multipartBody2254514582039846364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773082827,"filename":"image_15122025_05_16_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/15/9b34bf7d7dae42aebcd93687256fc26f.jpg","text":"TemporaryFile(/tmp/multipartBody9015197083940201040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773082827,"filename":"image_15122025_05_16_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/15/ceed37e587cacf464b636f694f480b47.jpg","text":"TemporaryFile(/tmp/multipartBody2675052266080625589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773082827,"filename":"image_15122025_05_16_44_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433317","file1":"1399433312","file0":"1399433311","file4":"1399433321","file5":"1399433322","file3":"1399433320"},"map_files_photo_id_array":[{"photo_id":"1399433322","filename":"file5"},{"photo_id":"1399433317","filename":"file2"},{"photo_id":"1399433321","filename":"file4"},{"photo_id":"1399433312","filename":"file1"},{"photo_id":"1399433311","filename":"file0"},{"photo_id":"1399433320","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433322":["hashtag1","hashtag2"]},{"1399433321":["hashtag1","hashtag2"]},{"1399433312":["hashtag1","hashtag2"]},{"1399433311":["hashtag1","hashtag2"]},{"1399433320":["hashtag1","hashtag2"]},{"1399433317":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433322, 1399433321, 1399433312, 1399433311, 1399433320, 1399433317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.828874826431274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 05:31:02.941455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/17/image_15122025_05_17_24_9585.jpg', '/home/pi/Desktop/images/15122025/05/17/image_15122025_05_17_34_9722.jpg', '/home/pi/Desktop/images/15122025/05/17/image_15122025_05_17_44_10648.jpg', '/home/pi/Desktop/images/15122025/05/17/image_15122025_05_17_54_9959.jpg', '/home/pi/Desktop/images/15122025/05/17/image_15122025_05_18_04_9619.jpg', '/home/pi/Desktop/images/15122025/05/18/image_15122025_05_18_14_10555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/17/image_15122025_05_17_24_9585.jpg
/home/pi/Desktop/images/15122025/05/17/image_15122025_05_17_34_9722.jpg
/home/pi/Desktop/images/15122025/05/17/image_15122025_05_17_44_10648.jpg
/home/pi/Desktop/images/15122025/05/17/image_15122025_05_17_54_9959.jpg
/home/pi/Desktop/images/15122025/05/17/image_15122025_05_18_04_9619.jpg
/home/pi/Desktop/images/15122025/05/18/image_15122025_05_18_14_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":["1399433331","1399433325","1399433327","1399433330","1399433329","1399433323"],"photo_ids_order":["1399433323","1399433325","1399433327","1399433329","1399433330","1399433331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4c40c25237598eea239d7df2d560fa78.jpg","text":"TemporaryFile(/tmp/multipartBody4122851297386892616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773123656,"filename":"image_15122025_05_18_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/15/d9dd8c997c666641698c2c53ec33a6e0.jpg","text":"TemporaryFile(/tmp/multipartBody5175716562700371900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773123656,"filename":"image_15122025_05_17_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/15/18d5cf69392534617cf729a8074f0a2d.jpg","text":"TemporaryFile(/tmp/multipartBody5619580388764836826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773123656,"filename":"image_15122025_05_17_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/15/1351673448312d5eb02326488c1d2471.jpg","text":"TemporaryFile(/tmp/multipartBody5051434088008709572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773123656,"filename":"image_15122025_05_18_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/15/2152e6f5b81ab57f5ed2735b29f1c446.jpg","text":"TemporaryFile(/tmp/multipartBody7457180301137416044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773123656,"filename":"image_15122025_05_17_54_9959.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/13610548d6a467d098fe6ecb3bd97772.jpg","text":"TemporaryFile(/tmp/multipartBody7288078228564960225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773123656,"filename":"image_15122025_05_17_24_9585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433327","file1":"1399433325","file0":"1399433323","file4":"1399433330","file5":"1399433331","file3":"1399433329"},"map_files_photo_id_array":[{"photo_id":"1399433331","filename":"file5"},{"photo_id":"1399433327","filename":"file2"},{"photo_id":"1399433330","filename":"file4"},{"photo_id":"1399433325","filename":"file1"},{"photo_id":"1399433323","filename":"file0"},{"photo_id":"1399433329","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433331":["hashtag1","hashtag2"]},{"1399433325":["hashtag1","hashtag2"]},{"1399433327":["hashtag1","hashtag2"]},{"1399433330":["hashtag1","hashtag2"]},{"1399433329":["hashtag1","hashtag2"]},{"1399433323":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433331, 1399433325, 1399433327, 1399433330, 1399433329, 1399433323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97065186500549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 05:31:42.185647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/29/image_05112025_13_29_34_3658.jpg', '/home/pi/Desktop/images/05112025/13/29/image_05112025_13_29_37_2607.jpg', '/home/pi/Desktop/images/05112025/13/29/image_05112025_13_29_40_3018.jpg', '/home/pi/Desktop/images/05112025/13/29/image_05112025_13_29_42_2609.jpg', '/home/pi/Desktop/images/05112025/13/29/image_05112025_13_29_51_8261.jpg', '/home/pi/Desktop/images/05112025/13/29/image_05112025_13_29_54_1822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/29/image_05112025_13_29_34_3658.jpg
/home/pi/Desktop/images/05112025/13/29/image_05112025_13_29_37_2607.jpg
/home/pi/Desktop/images/05112025/13/29/image_05112025_13_29_40_3018.jpg
/home/pi/Desktop/images/05112025/13/29/image_05112025_13_29_42_2609.jpg
/home/pi/Desktop/images/05112025/13/29/image_05112025_13_29_51_8261.jpg
/home/pi/Desktop/images/05112025/13/29/image_05112025_13_29_54_1822.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433337","1399433334","1399433336","1399433338","1399433332","1399433335"],"photo_ids_order":["1399433332","1399433334","1399433335","1399433336","1399433337","1399433338"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3730842797e5b1082dd235d14191e0f4.jpg","text":"TemporaryFile(/tmp/multipartBody5213168062357591903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773163065,"filename":"image_05112025_13_29_51_8261.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b0b9313be380ed7ef0758e2d04ce8961.jpg","text":"TemporaryFile(/tmp/multipartBody1927190733365083494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773163065,"filename":"image_05112025_13_29_37_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/de7e6cbd59f355e8a4946131887c9621.jpg","text":"TemporaryFile(/tmp/multipartBody8029593398360618226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773163065,"filename":"image_05112025_13_29_42_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/84dc8d02cc354fa0a7a4052bab2b73cf.jpg","text":"TemporaryFile(/tmp/multipartBody4889355535516107135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773163065,"filename":"image_05112025_13_29_54_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/15/f64d4010c68e36a3188b70da9fc770dc.jpg","text":"TemporaryFile(/tmp/multipartBody6965123859287343555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773163065,"filename":"image_05112025_13_29_34_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a661b51725212b280e7bdf43a07ef61f.jpg","text":"TemporaryFile(/tmp/multipartBody7562780592237309010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773163065,"filename":"image_05112025_13_29_40_3018.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433335","file1":"1399433334","file0":"1399433332","file4":"1399433337","file5":"1399433338","file3":"1399433336"},"map_files_photo_id_array":[{"photo_id":"1399433338","filename":"file5"},{"photo_id":"1399433335","filename":"file2"},{"photo_id":"1399433337","filename":"file4"},{"photo_id":"1399433334","filename":"file1"},{"photo_id":"1399433332","filename":"file0"},{"photo_id":"1399433336","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399433337":["hashtag1","hashtag2"]},{"1399433334":["hashtag1","hashtag2"]},{"1399433336":["hashtag1","hashtag2"]},{"1399433338":["hashtag1","hashtag2"]},{"1399433332":["hashtag1","hashtag2"]},{"1399433335":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399433337, 1399433334, 1399433336, 1399433338, 1399433332, 1399433335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46142220497131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 05:32:22.518838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/18/image_15122025_05_18_24_9799.jpg', '/home/pi/Desktop/images/15122025/05/18/image_15122025_05_18_34_9647.jpg', '/home/pi/Desktop/images/15122025/05/18/image_15122025_05_18_44_9805.jpg', '/home/pi/Desktop/images/15122025/05/18/image_15122025_05_18_54_10679.jpg', '/home/pi/Desktop/images/15122025/05/19/image_15122025_05_19_14_9648.jpg', '/home/pi/Desktop/images/15122025/05/19/image_15122025_05_19_34_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/18/image_15122025_05_18_24_9799.jpg
/home/pi/Desktop/images/15122025/05/18/image_15122025_05_18_34_9647.jpg
/home/pi/Desktop/images/15122025/05/18/image_15122025_05_18_44_9805.jpg
/home/pi/Desktop/images/15122025/05/18/image_15122025_05_18_54_10679.jpg
/home/pi/Desktop/images/15122025/05/19/image_15122025_05_19_14_9648.jpg
/home/pi/Desktop/images/15122025/05/19/image_15122025_05_19_34_9603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433343","1399433346","1399433345","1399433348","1399433350","1399433347"],"photo_ids_order":["1399433343","1399433345","1399433346","1399433347","1399433348","1399433350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/87965275a352cdc59da1661e0242cdad.jpg","text":"TemporaryFile(/tmp/multipartBody1669236137376182221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773203129,"filename":"image_15122025_05_18_24_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/10321036117d10cd1d1bcd1cd7d0e6be.jpg","text":"TemporaryFile(/tmp/multipartBody2199543346821489717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773203129,"filename":"image_15122025_05_18_44_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b9d58839b7981bb4f133798aaf9b95ad.jpg","text":"TemporaryFile(/tmp/multipartBody5172503731783705232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773203129,"filename":"image_15122025_05_18_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/15/4f62c524ddd7652cde394458d6a81954.jpg","text":"TemporaryFile(/tmp/multipartBody704953892839041401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773203129,"filename":"image_15122025_05_19_14_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/576dae8db767f62661a5e877d7e7d3e8.jpg","text":"TemporaryFile(/tmp/multipartBody6408586731057055283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773203129,"filename":"image_15122025_05_19_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/15/2e68e0cea8cae542f45022776e762a95.jpg","text":"TemporaryFile(/tmp/multipartBody7888074573760247062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773203129,"filename":"image_15122025_05_18_54_10679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433346","file1":"1399433345","file0":"1399433343","file4":"1399433348","file5":"1399433350","file3":"1399433347"},"map_files_photo_id_array":[{"photo_id":"1399433350","filename":"file5"},{"photo_id":"1399433346","filename":"file2"},{"photo_id":"1399433348","filename":"file4"},{"photo_id":"1399433345","filename":"file1"},{"photo_id":"1399433343","filename":"file0"},{"photo_id":"1399433347","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433343":["hashtag1","hashtag2"]},{"1399433346":["hashtag1","hashtag2"]},{"1399433345":["hashtag1","hashtag2"]},{"1399433348":["hashtag1","hashtag2"]},{"1399433350":["hashtag1","hashtag2"]},{"1399433347":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433343, 1399433346, 1399433345, 1399433348, 1399433350, 1399433347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22474384307861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 05:33:03.296676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/19/image_15122025_05_19_44_9688.jpg', '/home/pi/Desktop/images/15122025/05/19/image_15122025_05_19_54_10012.jpg', '/home/pi/Desktop/images/15122025/05/20/image_15122025_05_20_14_9701.jpg', '/home/pi/Desktop/images/15122025/05/20/image_15122025_05_20_24_10001.jpg', '/home/pi/Desktop/images/15122025/05/20/image_15122025_05_20_34_9717.jpg', '/home/pi/Desktop/images/15122025/05/20/image_15122025_05_20_54_10532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/19/image_15122025_05_19_44_9688.jpg
/home/pi/Desktop/images/15122025/05/19/image_15122025_05_19_54_10012.jpg
/home/pi/Desktop/images/15122025/05/20/image_15122025_05_20_14_9701.jpg
/home/pi/Desktop/images/15122025/05/20/image_15122025_05_20_24_10001.jpg
/home/pi/Desktop/images/15122025/05/20/image_15122025_05_20_34_9717.jpg
/home/pi/Desktop/images/15122025/05/20/image_15122025_05_20_54_10532.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433361","1399433364","1399433363","1399433357","1399433365","1399433359"],"photo_ids_order":["1399433357","1399433359","1399433361","1399433363","1399433364","1399433365"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/03dbabfbaecb4d4a642b1af2cd9d51d4.jpg","text":"TemporaryFile(/tmp/multipartBody200195837688239132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773243970,"filename":"image_15122025_05_20_14_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7d7d587315a6788f088c0b28a7b8de24.jpg","text":"TemporaryFile(/tmp/multipartBody6547281872708604782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773243970,"filename":"image_15122025_05_20_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/15/4b0a5d1a8396c398ed6fd86e62d73eec.jpg","text":"TemporaryFile(/tmp/multipartBody1933317873932762776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773243970,"filename":"image_15122025_05_20_24_10001.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/92ce30c5820e9d490492bc4314b1ed40.jpg","text":"TemporaryFile(/tmp/multipartBody7128227835450423620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773243970,"filename":"image_15122025_05_19_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/15/8240824166b90f990d2f623614de8764.jpg","text":"TemporaryFile(/tmp/multipartBody4034809606019997245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773243970,"filename":"image_15122025_05_20_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/15/63b8a74f29a27c59541839579643ae60.jpg","text":"TemporaryFile(/tmp/multipartBody1792670611949782650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773243970,"filename":"image_15122025_05_19_54_10012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433361","file1":"1399433359","file0":"1399433357","file4":"1399433364","file5":"1399433365","file3":"1399433363"},"map_files_photo_id_array":[{"photo_id":"1399433365","filename":"file5"},{"photo_id":"1399433361","filename":"file2"},{"photo_id":"1399433364","filename":"file4"},{"photo_id":"1399433359","filename":"file1"},{"photo_id":"1399433357","filename":"file0"},{"photo_id":"1399433363","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433361":["hashtag1","hashtag2"]},{"1399433364":["hashtag1","hashtag2"]},{"1399433363":["hashtag1","hashtag2"]},{"1399433357":["hashtag1","hashtag2"]},{"1399433365":["hashtag1","hashtag2"]},{"1399433359":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433361, 1399433364, 1399433363, 1399433357, 1399433365, 1399433359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17947053909302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 05:33:42.678660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/29/image_05112025_13_29_56_1625.jpg', '/home/pi/Desktop/images/05112025/13/29/image_05112025_13_29_58_1801.jpg', '/home/pi/Desktop/images/05112025/13/30/image_05112025_13_30_07_3011.jpg', '/home/pi/Desktop/images/05112025/13/30/image_05112025_13_30_10_2980.jpg', '/home/pi/Desktop/images/05112025/13/30/image_05112025_13_30_14_3670.jpg', '/home/pi/Desktop/images/05112025/13/30/image_05112025_13_30_17_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/29/image_05112025_13_29_56_1625.jpg
/home/pi/Desktop/images/05112025/13/29/image_05112025_13_29_58_1801.jpg
/home/pi/Desktop/images/05112025/13/30/image_05112025_13_30_07_3011.jpg
/home/pi/Desktop/images/05112025/13/30/image_05112025_13_30_10_2980.jpg
/home/pi/Desktop/images/05112025/13/30/image_05112025_13_30_14_3670.jpg
/home/pi/Desktop/images/05112025/13/30/image_05112025_13_30_17_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":["1399433367","1399433370","1399433372","1399433369","1399433371","1399433368"],"photo_ids_order":["1399433367","1399433368","1399433369","1399433370","1399433371","1399433372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/08b25a1154fd287ca7ec629d56653b01.jpg","text":"TemporaryFile(/tmp/multipartBody4926087883994306644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773283431,"filename":"image_05112025_13_29_56_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/15/784f3b5169e5780eaa68ef2f9830b5e8.jpg","text":"TemporaryFile(/tmp/multipartBody2212390807970687294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773283431,"filename":"image_05112025_13_30_10_2980.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0f35ab2e8378c4c626a957cea83e20ce.jpg","text":"TemporaryFile(/tmp/multipartBody5157364880921325913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773283431,"filename":"image_05112025_13_30_17_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e2c4c45925ca5a67825d2a71e517d5e4.jpg","text":"TemporaryFile(/tmp/multipartBody935331484010381793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773283431,"filename":"image_05112025_13_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/15/2c06878d6c8654f924dcadf648f6d315.jpg","text":"TemporaryFile(/tmp/multipartBody7128565369697806274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773283431,"filename":"image_05112025_13_30_14_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/89855aa8cac44f1b4aa7b2a2f36a35e6.jpg","text":"TemporaryFile(/tmp/multipartBody4727468784746218092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773283431,"filename":"image_05112025_13_29_58_1801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433369","file1":"1399433368","file0":"1399433367","file4":"1399433371","file5":"1399433372","file3":"1399433370"},"map_files_photo_id_array":[{"photo_id":"1399433372","filename":"file5"},{"photo_id":"1399433369","filename":"file2"},{"photo_id":"1399433371","filename":"file4"},{"photo_id":"1399433368","filename":"file1"},{"photo_id":"1399433367","filename":"file0"},{"photo_id":"1399433370","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399433367":["hashtag1","hashtag2"]},{"1399433370":["hashtag1","hashtag2"]},{"1399433372":["hashtag1","hashtag2"]},{"1399433369":["hashtag1","hashtag2"]},{"1399433371":["hashtag1","hashtag2"]},{"1399433368":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399433367, 1399433370, 1399433372, 1399433369, 1399433371, 1399433368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.181328773498535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 05:34:21.930674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/20/image_15122025_05_21_04_9689.jpg', '/home/pi/Desktop/images/15122025/05/21/image_15122025_05_21_14_9778.jpg', '/home/pi/Desktop/images/15122025/05/21/image_15122025_05_21_24_10637.jpg', '/home/pi/Desktop/images/15122025/05/21/image_15122025_05_21_34_9565.jpg', '/home/pi/Desktop/images/15122025/05/21/image_15122025_05_21_45_10575.jpg', '/home/pi/Desktop/images/15122025/05/21/image_15122025_05_21_54_9911.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/20/image_15122025_05_21_04_9689.jpg
/home/pi/Desktop/images/15122025/05/21/image_15122025_05_21_14_9778.jpg
/home/pi/Desktop/images/15122025/05/21/image_15122025_05_21_24_10637.jpg
/home/pi/Desktop/images/15122025/05/21/image_15122025_05_21_34_9565.jpg
/home/pi/Desktop/images/15122025/05/21/image_15122025_05_21_45_10575.jpg
/home/pi/Desktop/images/15122025/05/21/image_15122025_05_21_54_9911.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433379","1399433390","1399433378","1399433393","1399433392","1399433377"],"photo_ids_order":["1399433377","1399433378","1399433379","1399433390","1399433392","1399433393"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6c849d3a9fddca547ba9d25833d1f0e8.jpg","text":"TemporaryFile(/tmp/multipartBody8066217264750631099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773322547,"filename":"image_15122025_05_21_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/15/cb2554d5465788766b8cb5b96d4a6c75.jpg","text":"TemporaryFile(/tmp/multipartBody2485910035140940137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773322547,"filename":"image_15122025_05_21_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/15/11f1a9b45595986e25a3846fece9a2c8.jpg","text":"TemporaryFile(/tmp/multipartBody8631064607800180412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773322547,"filename":"image_15122025_05_21_14_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8289b1ded96872c6bea7baea9c20d782.jpg","text":"TemporaryFile(/tmp/multipartBody8770067099454530641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773322547,"filename":"image_15122025_05_21_54_9911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1f217d893efe3b005ef81b4136492e68.jpg","text":"TemporaryFile(/tmp/multipartBody6189752856843949811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773322547,"filename":"image_15122025_05_21_45_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/15/b87a7e92934eb12d1c6d32f6556d33c0.jpg","text":"TemporaryFile(/tmp/multipartBody4646355409761054774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773322547,"filename":"image_15122025_05_21_04_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433379","file1":"1399433378","file0":"1399433377","file4":"1399433392","file5":"1399433393","file3":"1399433390"},"map_files_photo_id_array":[{"photo_id":"1399433393","filename":"file5"},{"photo_id":"1399433379","filename":"file2"},{"photo_id":"1399433392","filename":"file4"},{"photo_id":"1399433378","filename":"file1"},{"photo_id":"1399433377","filename":"file0"},{"photo_id":"1399433390","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433379":["hashtag1","hashtag2"]},{"1399433390":["hashtag1","hashtag2"]},{"1399433378":["hashtag1","hashtag2"]},{"1399433393":["hashtag1","hashtag2"]},{"1399433392":["hashtag1","hashtag2"]},{"1399433377":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433379, 1399433390, 1399433378, 1399433393, 1399433392, 1399433377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74822950363159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 05:35:02.826344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/21/image_15122025_05_22_04_9621.jpg', '/home/pi/Desktop/images/15122025/05/22/image_15122025_05_22_14_9824.jpg', '/home/pi/Desktop/images/15122025/05/22/image_15122025_05_22_25_10683.jpg', '/home/pi/Desktop/images/15122025/05/22/image_15122025_05_22_34_9603.jpg', '/home/pi/Desktop/images/15122025/05/22/image_15122025_05_22_44_9666.jpg', '/home/pi/Desktop/images/15122025/05/22/image_15122025_05_22_55_10814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/21/image_15122025_05_22_04_9621.jpg
/home/pi/Desktop/images/15122025/05/22/image_15122025_05_22_14_9824.jpg
/home/pi/Desktop/images/15122025/05/22/image_15122025_05_22_25_10683.jpg
/home/pi/Desktop/images/15122025/05/22/image_15122025_05_22_34_9603.jpg
/home/pi/Desktop/images/15122025/05/22/image_15122025_05_22_44_9666.jpg
/home/pi/Desktop/images/15122025/05/22/image_15122025_05_22_55_10814.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433394","1399433403","1399433396","1399433400","1399433402","1399433398"],"photo_ids_order":["1399433394","1399433396","1399433398","1399433400","1399433402","1399433403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6c65986eef2218085b0ce523a25d4ad1.jpg","text":"TemporaryFile(/tmp/multipartBody3627409189359039960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773363496,"filename":"image_15122025_05_22_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/15/658f08021fc29bd90facd00130212331.jpg","text":"TemporaryFile(/tmp/multipartBody7145044504851955350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773363496,"filename":"image_15122025_05_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/15/3984fec8225f5027290921df2c6bda73.jpg","text":"TemporaryFile(/tmp/multipartBody1254128575038041738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773363496,"filename":"image_15122025_05_22_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/15/b1e9a3535961a08d6083373754f2ab7c.jpg","text":"TemporaryFile(/tmp/multipartBody6166231035978183282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773363496,"filename":"image_15122025_05_22_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/15/1f262cb0997c1bb0ea20762ad7a852e1.jpg","text":"TemporaryFile(/tmp/multipartBody5004625742804940480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773363496,"filename":"image_15122025_05_22_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/15/c653e58b5ef05245f8f05dc4c17de7d0.jpg","text":"TemporaryFile(/tmp/multipartBody20499437578976006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773363496,"filename":"image_15122025_05_22_25_10683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433398","file1":"1399433396","file0":"1399433394","file4":"1399433402","file5":"1399433403","file3":"1399433400"},"map_files_photo_id_array":[{"photo_id":"1399433403","filename":"file5"},{"photo_id":"1399433398","filename":"file2"},{"photo_id":"1399433402","filename":"file4"},{"photo_id":"1399433396","filename":"file1"},{"photo_id":"1399433394","filename":"file0"},{"photo_id":"1399433400","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433394":["hashtag1","hashtag2"]},{"1399433403":["hashtag1","hashtag2"]},{"1399433396":["hashtag1","hashtag2"]},{"1399433400":["hashtag1","hashtag2"]},{"1399433402":["hashtag1","hashtag2"]},{"1399433398":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433394, 1399433403, 1399433396, 1399433400, 1399433402, 1399433398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.493139028549194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 05:35:42.262851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/30/image_05112025_13_30_20_3562.jpg', '/home/pi/Desktop/images/05112025/13/30/image_05112025_13_30_24_3830.jpg', '/home/pi/Desktop/images/05112025/13/30/image_05112025_13_30_28_2719.jpg', '/home/pi/Desktop/images/05112025/13/30/image_05112025_13_30_32_3662.jpg', '/home/pi/Desktop/images/05112025/13/30/image_05112025_13_30_35_2903.jpg', '/home/pi/Desktop/images/05112025/13/30/image_05112025_13_30_38_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/30/image_05112025_13_30_20_3562.jpg
/home/pi/Desktop/images/05112025/13/30/image_05112025_13_30_24_3830.jpg
/home/pi/Desktop/images/05112025/13/30/image_05112025_13_30_28_2719.jpg
/home/pi/Desktop/images/05112025/13/30/image_05112025_13_30_32_3662.jpg
/home/pi/Desktop/images/05112025/13/30/image_05112025_13_30_35_2903.jpg
/home/pi/Desktop/images/05112025/13/30/image_05112025_13_30_38_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":["1399433404","1399433415","1399433414","1399433417","1399433407","1399433416"],"photo_ids_order":["1399433404","1399433407","1399433414","1399433415","1399433416","1399433417"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d5c2baca3392f8dca4df616540b140a0.jpg","text":"TemporaryFile(/tmp/multipartBody3650227085717970061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773403004,"filename":"image_05112025_13_30_20_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/15/eda0b86b74c9ce65e07a5be7e6c19d94.jpg","text":"TemporaryFile(/tmp/multipartBody2632031812757931405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773403004,"filename":"image_05112025_13_30_32_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1d5b9a047d1a98e75b3f9cf0066da303.jpg","text":"TemporaryFile(/tmp/multipartBody168773959473951331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773403004,"filename":"image_05112025_13_30_28_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/15/8aafab72c4015192e49cd47f56020c94.jpg","text":"TemporaryFile(/tmp/multipartBody3305633880563976863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773403004,"filename":"image_05112025_13_30_38_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/15/15051bc31536bd7dad84942eee8e4d8b.jpg","text":"TemporaryFile(/tmp/multipartBody344080414710856769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773403004,"filename":"image_05112025_13_30_24_3830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fb19dd2c7638c0531f86751084e41e0f.jpg","text":"TemporaryFile(/tmp/multipartBody5370754529930659885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773403004,"filename":"image_05112025_13_30_35_2903.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433414","file1":"1399433407","file0":"1399433404","file4":"1399433416","file5":"1399433417","file3":"1399433415"},"map_files_photo_id_array":[{"photo_id":"1399433417","filename":"file5"},{"photo_id":"1399433414","filename":"file2"},{"photo_id":"1399433416","filename":"file4"},{"photo_id":"1399433407","filename":"file1"},{"photo_id":"1399433404","filename":"file0"},{"photo_id":"1399433415","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399433404":["hashtag1","hashtag2"]},{"1399433415":["hashtag1","hashtag2"]},{"1399433414":["hashtag1","hashtag2"]},{"1399433417":["hashtag1","hashtag2"]},{"1399433407":["hashtag1","hashtag2"]},{"1399433416":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399433404, 1399433415, 1399433414, 1399433417, 1399433407, 1399433416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53166079521179 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 05:36:22.536036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/22/image_15122025_05_23_04_9782.jpg', '/home/pi/Desktop/images/15122025/05/23/image_15122025_05_23_14_9812.jpg', '/home/pi/Desktop/images/15122025/05/23/image_15122025_05_23_24_9700.jpg', '/home/pi/Desktop/images/15122025/05/23/image_15122025_05_23_34_9883.jpg', '/home/pi/Desktop/images/15122025/05/23/image_15122025_05_23_44_10644.jpg', '/home/pi/Desktop/images/15122025/05/23/image_15122025_05_23_54_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/22/image_15122025_05_23_04_9782.jpg
/home/pi/Desktop/images/15122025/05/23/image_15122025_05_23_14_9812.jpg
/home/pi/Desktop/images/15122025/05/23/image_15122025_05_23_24_9700.jpg
/home/pi/Desktop/images/15122025/05/23/image_15122025_05_23_34_9883.jpg
/home/pi/Desktop/images/15122025/05/23/image_15122025_05_23_44_10644.jpg
/home/pi/Desktop/images/15122025/05/23/image_15122025_05_23_54_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.548166036605835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 05:36:32.507829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 05:36:42.480699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/30/image_05112025_13_30_44_3709.jpg', '/home/pi/Desktop/images/05112025/13/30/image_05112025_13_30_47_2585.jpg', '/home/pi/Desktop/images/05112025/13/30/image_05112025_13_30_50_3666.jpg', '/home/pi/Desktop/images/05112025/13/30/image_05112025_13_30_53_2758.jpg', '/home/pi/Desktop/images/05112025/13/30/image_05112025_13_30_56_2654.jpg', '/home/pi/Desktop/images/05112025/13/30/image_05112025_13_30_59_3554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/30/image_05112025_13_30_44_3709.jpg
/home/pi/Desktop/images/05112025/13/30/image_05112025_13_30_47_2585.jpg
/home/pi/Desktop/images/05112025/13/30/image_05112025_13_30_50_3666.jpg
/home/pi/Desktop/images/05112025/13/30/image_05112025_13_30_53_2758.jpg
/home/pi/Desktop/images/05112025/13/30/image_05112025_13_30_56_2654.jpg
/home/pi/Desktop/images/05112025/13/30/image_05112025_13_30_59_3554.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433448","1399433439","1399433450","1399433432","1399433435","1399433437"],"photo_ids_order":["1399433432","1399433435","1399433437","1399433439","1399433448","1399433450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0599158ab870753b3dd6494270ce900b.jpg","text":"TemporaryFile(/tmp/multipartBody8697853020057642512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773463212,"filename":"image_05112025_13_30_56_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ca20571dedac27e467bdd587a91f97ea.jpg","text":"TemporaryFile(/tmp/multipartBody7586743947325643902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773463212,"filename":"image_05112025_13_30_53_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/15/cfa3147e27ac98f36f8749590fa487a6.jpg","text":"TemporaryFile(/tmp/multipartBody2851344118300357805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773463212,"filename":"image_05112025_13_30_59_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/15/4a6bd1a15203f71d4e6a8c3949b567a1.jpg","text":"TemporaryFile(/tmp/multipartBody7429016535829785868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773463212,"filename":"image_05112025_13_30_44_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d35486c581d9dd92f7474a4ffffd8e61.jpg","text":"TemporaryFile(/tmp/multipartBody2116528273562998690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773463212,"filename":"image_05112025_13_30_47_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/15/22a3a2aa1dac576510ccde2d37445cf4.jpg","text":"TemporaryFile(/tmp/multipartBody5956445029879128940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773463212,"filename":"image_05112025_13_30_50_3666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433437","file1":"1399433435","file0":"1399433432","file4":"1399433448","file5":"1399433450","file3":"1399433439"},"map_files_photo_id_array":[{"photo_id":"1399433450","filename":"file5"},{"photo_id":"1399433437","filename":"file2"},{"photo_id":"1399433448","filename":"file4"},{"photo_id":"1399433435","filename":"file1"},{"photo_id":"1399433432","filename":"file0"},{"photo_id":"1399433439","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399433448":["hashtag1","hashtag2"]},{"1399433439":["hashtag1","hashtag2"]},{"1399433450":["hashtag1","hashtag2"]},{"1399433432":["hashtag1","hashtag2"]},{"1399433435":["hashtag1","hashtag2"]},{"1399433437":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399433448, 1399433439, 1399433450, 1399433432, 1399433435, 1399433437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4852409362793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 05:37:22.733203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/22/image_15122025_05_23_04_9782.jpg', '/home/pi/Desktop/images/15122025/05/23/image_15122025_05_23_14_9812.jpg', '/home/pi/Desktop/images/15122025/05/23/image_15122025_05_23_24_9700.jpg', '/home/pi/Desktop/images/15122025/05/23/image_15122025_05_23_34_9883.jpg', '/home/pi/Desktop/images/15122025/05/23/image_15122025_05_23_44_10644.jpg', '/home/pi/Desktop/images/15122025/05/23/image_15122025_05_23_54_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/22/image_15122025_05_23_04_9782.jpg
/home/pi/Desktop/images/15122025/05/23/image_15122025_05_23_14_9812.jpg
/home/pi/Desktop/images/15122025/05/23/image_15122025_05_23_24_9700.jpg
/home/pi/Desktop/images/15122025/05/23/image_15122025_05_23_34_9883.jpg
/home/pi/Desktop/images/15122025/05/23/image_15122025_05_23_44_10644.jpg
/home/pi/Desktop/images/15122025/05/23/image_15122025_05_23_54_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":["1399433457","1399433459","1399433453","1399433461","1399433455","1399433458"],"photo_ids_order":["1399433453","1399433455","1399433457","1399433458","1399433459","1399433461"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fbbcde3bc14fd20f637f489b1b15b3c7.jpg","text":"TemporaryFile(/tmp/multipartBody3813967109680504974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773503348,"filename":"image_15122025_05_23_24_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/83ac35bc5df760ffeb94cc8b83837dcb.jpg","text":"TemporaryFile(/tmp/multipartBody52988800778181846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773503348,"filename":"image_15122025_05_23_44_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/15/d031e748a9e7fe9b3ce4f36888ebe23c.jpg","text":"TemporaryFile(/tmp/multipartBody3658094547281411685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773503348,"filename":"image_15122025_05_23_04_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6d63029719ee8790cdbf204b8c4d5706.jpg","text":"TemporaryFile(/tmp/multipartBody3212511094499692229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773503348,"filename":"image_15122025_05_23_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/15/7748d4a7f1d588522b8a0d42eaa6a7d4.jpg","text":"TemporaryFile(/tmp/multipartBody3777580140073943288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773503348,"filename":"image_15122025_05_23_14_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/de39bd116b78842f79999afb076fc709.jpg","text":"TemporaryFile(/tmp/multipartBody1250390182145002182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773503348,"filename":"image_15122025_05_23_34_9883.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433457","file1":"1399433455","file0":"1399433453","file4":"1399433459","file5":"1399433461","file3":"1399433458"},"map_files_photo_id_array":[{"photo_id":"1399433461","filename":"file5"},{"photo_id":"1399433457","filename":"file2"},{"photo_id":"1399433459","filename":"file4"},{"photo_id":"1399433455","filename":"file1"},{"photo_id":"1399433453","filename":"file0"},{"photo_id":"1399433458","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433457":["hashtag1","hashtag2"]},{"1399433459":["hashtag1","hashtag2"]},{"1399433453":["hashtag1","hashtag2"]},{"1399433461":["hashtag1","hashtag2"]},{"1399433455":["hashtag1","hashtag2"]},{"1399433458":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433457, 1399433459, 1399433453, 1399433461, 1399433455, 1399433458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67892146110535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 05:38:02.435222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/23/image_15122025_05_24_04_9683.jpg', '/home/pi/Desktop/images/15122025/05/24/image_15122025_05_24_15_10814.jpg', '/home/pi/Desktop/images/15122025/05/24/image_15122025_05_24_24_9660.jpg', '/home/pi/Desktop/images/15122025/05/24/image_15122025_05_24_34_9744.jpg', '/home/pi/Desktop/images/15122025/05/24/image_15122025_05_24_44_9816.jpg', '/home/pi/Desktop/images/15122025/05/24/image_15122025_05_24_54_9842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/23/image_15122025_05_24_04_9683.jpg
/home/pi/Desktop/images/15122025/05/24/image_15122025_05_24_15_10814.jpg
/home/pi/Desktop/images/15122025/05/24/image_15122025_05_24_24_9660.jpg
/home/pi/Desktop/images/15122025/05/24/image_15122025_05_24_34_9744.jpg
/home/pi/Desktop/images/15122025/05/24/image_15122025_05_24_44_9816.jpg
/home/pi/Desktop/images/15122025/05/24/image_15122025_05_24_54_9842.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433472","1399433466","1399433463","1399433468","1399433470","1399433464"],"photo_ids_order":["1399433463","1399433464","1399433466","1399433468","1399433470","1399433472"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f84ed1ec9223a1b5f2a6dc413564b029.jpg","text":"TemporaryFile(/tmp/multipartBody3109224405434629441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773543078,"filename":"image_15122025_05_24_54_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/85405d13e71f287b58b60ba9b5ff2c20.jpg","text":"TemporaryFile(/tmp/multipartBody7778660518464001660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773543078,"filename":"image_15122025_05_24_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/15/81e304dc0a931736336580a33eeec4ea.jpg","text":"TemporaryFile(/tmp/multipartBody7463234749777697591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773543078,"filename":"image_15122025_05_24_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/15/b1c27d9dd93b42d4b0001ad0ba5e5536.jpg","text":"TemporaryFile(/tmp/multipartBody6005424644434777491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773543078,"filename":"image_15122025_05_24_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/15/523f14b5d0bd1aeb022da279925cf063.jpg","text":"TemporaryFile(/tmp/multipartBody723536392129099453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773543078,"filename":"image_15122025_05_24_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/15/bee3ec34da6bffc64b38e7b5966527d7.jpg","text":"TemporaryFile(/tmp/multipartBody3249332507642241776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773543078,"filename":"image_15122025_05_24_15_10814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433466","file1":"1399433464","file0":"1399433463","file4":"1399433470","file5":"1399433472","file3":"1399433468"},"map_files_photo_id_array":[{"photo_id":"1399433472","filename":"file5"},{"photo_id":"1399433466","filename":"file2"},{"photo_id":"1399433470","filename":"file4"},{"photo_id":"1399433464","filename":"file1"},{"photo_id":"1399433463","filename":"file0"},{"photo_id":"1399433468","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433472":["hashtag1","hashtag2"]},{"1399433466":["hashtag1","hashtag2"]},{"1399433463":["hashtag1","hashtag2"]},{"1399433468":["hashtag1","hashtag2"]},{"1399433470":["hashtag1","hashtag2"]},{"1399433464":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433472, 1399433466, 1399433463, 1399433468, 1399433470, 1399433464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48714804649353 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 05:38:42.058261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/31/image_05112025_13_31_01_2070.jpg', '/home/pi/Desktop/images/05112025/13/31/image_05112025_13_31_05_3912.jpg', '/home/pi/Desktop/images/05112025/13/31/image_05112025_13_31_14_1792.jpg', '/home/pi/Desktop/images/05112025/13/31/image_05112025_13_31_39_14782.jpg', '/home/pi/Desktop/images/05112025/13/33/image_05112025_13_33_08_3018.jpg', '/home/pi/Desktop/images/05112025/13/33/image_05112025_13_33_20_3746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/31/image_05112025_13_31_01_2070.jpg
/home/pi/Desktop/images/05112025/13/31/image_05112025_13_31_05_3912.jpg
/home/pi/Desktop/images/05112025/13/31/image_05112025_13_31_14_1792.jpg
/home/pi/Desktop/images/05112025/13/31/image_05112025_13_31_39_14782.jpg
/home/pi/Desktop/images/05112025/13/33/image_05112025_13_33_08_3018.jpg
/home/pi/Desktop/images/05112025/13/33/image_05112025_13_33_20_3746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433489","1399433480","1399433492","1399433479","1399433499","1399433490"],"photo_ids_order":["1399433479","1399433480","1399433489","1399433490","1399433492","1399433499"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a875ef525280ccdd2093142bc77bc0a5.jpg","text":"TemporaryFile(/tmp/multipartBody8767178519727304192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773582780,"filename":"image_05112025_13_31_14_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/15/0a7788c129fcc34c70f3a8d867ddbce1.jpg","text":"TemporaryFile(/tmp/multipartBody1389830508588316063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773582780,"filename":"image_05112025_13_31_05_3912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/049219bc09a8339b2c32c4d506679c1a.jpg","text":"TemporaryFile(/tmp/multipartBody8940125631784360390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773582780,"filename":"image_05112025_13_33_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/15/2ac34c39620bbdfbf44600392d2f5048.jpg","text":"TemporaryFile(/tmp/multipartBody4888517729557127856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773582780,"filename":"image_05112025_13_31_01_2070.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5fc8d7ee442f2e4c388d6ccddb935e5e.jpg","text":"TemporaryFile(/tmp/multipartBody4120653908092234274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773582780,"filename":"image_05112025_13_33_20_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/15/503bb612cb4b32f366edaf9e7a3b0d3c.jpg","text":"TemporaryFile(/tmp/multipartBody268275147570515995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773582780,"filename":"image_05112025_13_31_39_14782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433489","file1":"1399433480","file0":"1399433479","file4":"1399433492","file5":"1399433499","file3":"1399433490"},"map_files_photo_id_array":[{"photo_id":"1399433499","filename":"file5"},{"photo_id":"1399433489","filename":"file2"},{"photo_id":"1399433492","filename":"file4"},{"photo_id":"1399433480","filename":"file1"},{"photo_id":"1399433479","filename":"file0"},{"photo_id":"1399433490","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399433489":["hashtag1","hashtag2"]},{"1399433480":["hashtag1","hashtag2"]},{"1399433492":["hashtag1","hashtag2"]},{"1399433479":["hashtag1","hashtag2"]},{"1399433499":["hashtag1","hashtag2"]},{"1399433490":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399433489, 1399433480, 1399433492, 1399433479, 1399433499, 1399433490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.729631662368774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 05:39:22.383606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/24/image_15122025_05_25_04_10702.jpg', '/home/pi/Desktop/images/15122025/05/25/image_15122025_05_25_14_9713.jpg', '/home/pi/Desktop/images/15122025/05/25/image_15122025_05_25_24_9609.jpg', '/home/pi/Desktop/images/15122025/05/25/image_15122025_05_25_34_10653.jpg', '/home/pi/Desktop/images/15122025/05/25/image_15122025_05_25_44_9716.jpg', '/home/pi/Desktop/images/15122025/05/25/image_15122025_05_25_54_9581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/24/image_15122025_05_25_04_10702.jpg
/home/pi/Desktop/images/15122025/05/25/image_15122025_05_25_14_9713.jpg
/home/pi/Desktop/images/15122025/05/25/image_15122025_05_25_24_9609.jpg
/home/pi/Desktop/images/15122025/05/25/image_15122025_05_25_34_10653.jpg
/home/pi/Desktop/images/15122025/05/25/image_15122025_05_25_44_9716.jpg
/home/pi/Desktop/images/15122025/05/25/image_15122025_05_25_54_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":["1399433511","1399433514","1399433508","1399433510","1399433512","1399433509"],"photo_ids_order":["1399433508","1399433509","1399433510","1399433511","1399433512","1399433514"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/18b6f0648f635f2adfdd80481f09a15d.jpg","text":"TemporaryFile(/tmp/multipartBody2825228113234856423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773623004,"filename":"image_15122025_05_25_34_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e4329ba78f02175ab5d4be30232a14d2.jpg","text":"TemporaryFile(/tmp/multipartBody7296932102394861005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773623004,"filename":"image_15122025_05_25_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/15/54c36771da4094d1d4da2b163dbe127b.jpg","text":"TemporaryFile(/tmp/multipartBody2616239986702012894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773623004,"filename":"image_15122025_05_25_04_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9845deb7f8d0784e641e12295cc79dbf.jpg","text":"TemporaryFile(/tmp/multipartBody3818616474525556755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773623004,"filename":"image_15122025_05_25_24_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/08a18254e55049da0cfa6dc77d447ec2.jpg","text":"TemporaryFile(/tmp/multipartBody3067067986065368306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773623004,"filename":"image_15122025_05_25_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/15/2dd221c018af5a0f40a74a6adabb69e9.jpg","text":"TemporaryFile(/tmp/multipartBody1456328536674077568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773623004,"filename":"image_15122025_05_25_14_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433510","file1":"1399433509","file0":"1399433508","file4":"1399433512","file5":"1399433514","file3":"1399433511"},"map_files_photo_id_array":[{"photo_id":"1399433514","filename":"file5"},{"photo_id":"1399433510","filename":"file2"},{"photo_id":"1399433512","filename":"file4"},{"photo_id":"1399433509","filename":"file1"},{"photo_id":"1399433508","filename":"file0"},{"photo_id":"1399433511","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433511":["hashtag1","hashtag2"]},{"1399433514":["hashtag1","hashtag2"]},{"1399433508":["hashtag1","hashtag2"]},{"1399433510":["hashtag1","hashtag2"]},{"1399433512":["hashtag1","hashtag2"]},{"1399433509":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433511, 1399433514, 1399433508, 1399433510, 1399433512, 1399433509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42956900596619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 05:40:02.937183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/25/image_15122025_05_26_04_10763.jpg', '/home/pi/Desktop/images/15122025/05/26/image_15122025_05_26_15_10094.jpg', '/home/pi/Desktop/images/15122025/05/26/image_15122025_05_26_24_9702.jpg', '/home/pi/Desktop/images/15122025/05/26/image_15122025_05_26_34_9683.jpg', '/home/pi/Desktop/images/15122025/05/26/image_15122025_05_26_44_9880.jpg', '/home/pi/Desktop/images/15122025/05/26/image_15122025_05_26_55_10735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/25/image_15122025_05_26_04_10763.jpg
/home/pi/Desktop/images/15122025/05/26/image_15122025_05_26_15_10094.jpg
/home/pi/Desktop/images/15122025/05/26/image_15122025_05_26_24_9702.jpg
/home/pi/Desktop/images/15122025/05/26/image_15122025_05_26_34_9683.jpg
/home/pi/Desktop/images/15122025/05/26/image_15122025_05_26_44_9880.jpg
/home/pi/Desktop/images/15122025/05/26/image_15122025_05_26_55_10735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433520","1399433517","1399433528","1399433516","1399433524","1399433515"],"photo_ids_order":["1399433515","1399433516","1399433517","1399433520","1399433524","1399433528"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8fcbdc1e24b9681386a4a1c6d67de2ce.jpg","text":"TemporaryFile(/tmp/multipartBody315707045572211190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773663584,"filename":"image_15122025_05_26_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/15/04510f62ca6f85b1a8c05b1a8a44c7aa.jpg","text":"TemporaryFile(/tmp/multipartBody1227312264466114887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773663584,"filename":"image_15122025_05_26_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/15/1789a3c286e3766eb658234c9cba717e.jpg","text":"TemporaryFile(/tmp/multipartBody7750102575820224318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773663584,"filename":"image_15122025_05_26_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/15/2a521e975f9c55eae8a1bc56f8a1de27.jpg","text":"TemporaryFile(/tmp/multipartBody4318211794575977847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773663584,"filename":"image_15122025_05_26_15_10094.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/01959217ed1e3f5d8128d1945b313229.jpg","text":"TemporaryFile(/tmp/multipartBody2595248467648840717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773663584,"filename":"image_15122025_05_26_44_9880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/64f8fcf95c4f014cbfb71582fe26d662.jpg","text":"TemporaryFile(/tmp/multipartBody7279756188518971619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773663584,"filename":"image_15122025_05_26_04_10763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433517","file1":"1399433516","file0":"1399433515","file4":"1399433524","file5":"1399433528","file3":"1399433520"},"map_files_photo_id_array":[{"photo_id":"1399433528","filename":"file5"},{"photo_id":"1399433517","filename":"file2"},{"photo_id":"1399433524","filename":"file4"},{"photo_id":"1399433516","filename":"file1"},{"photo_id":"1399433515","filename":"file0"},{"photo_id":"1399433520","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433520":["hashtag1","hashtag2"]},{"1399433517":["hashtag1","hashtag2"]},{"1399433528":["hashtag1","hashtag2"]},{"1399433516":["hashtag1","hashtag2"]},{"1399433524":["hashtag1","hashtag2"]},{"1399433515":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433520, 1399433517, 1399433528, 1399433516, 1399433524, 1399433515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49831771850586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 05:40:42.474818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/33/image_05112025_13_33_29_3645.jpg', '/home/pi/Desktop/images/05112025/13/33/image_05112025_13_33_41_2657.jpg', '/home/pi/Desktop/images/05112025/13/34/image_05112025_13_34_15_10129.jpg', '/home/pi/Desktop/images/05112025/13/34/image_05112025_13_34_35_3034.jpg', '/home/pi/Desktop/images/05112025/13/34/image_05112025_13_34_37_1735.jpg', '/home/pi/Desktop/images/05112025/13/34/image_05112025_13_34_47_1644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/33/image_05112025_13_33_29_3645.jpg
/home/pi/Desktop/images/05112025/13/33/image_05112025_13_33_41_2657.jpg
/home/pi/Desktop/images/05112025/13/34/image_05112025_13_34_15_10129.jpg
/home/pi/Desktop/images/05112025/13/34/image_05112025_13_34_35_3034.jpg
/home/pi/Desktop/images/05112025/13/34/image_05112025_13_34_37_1735.jpg
/home/pi/Desktop/images/05112025/13/34/image_05112025_13_34_47_1644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433538","1399433549","1399433534","1399433537","1399433536","1399433539"],"photo_ids_order":["1399433534","1399433536","1399433537","1399433538","1399433539","1399433549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/48c0ac755051753f10c76cf867e4cdd5.jpg","text":"TemporaryFile(/tmp/multipartBody2499435233205035848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773703205,"filename":"image_05112025_13_34_35_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/15/20c9ec2298af0d88fc66da72d244c424.jpg","text":"TemporaryFile(/tmp/multipartBody7086604970828493500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773703205,"filename":"image_05112025_13_34_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/15/6d4b91b30050d8f4e4a37bcb7e0675da.jpg","text":"TemporaryFile(/tmp/multipartBody5508453936384312652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773703205,"filename":"image_05112025_13_33_29_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/15/73ddf06d530aab0af4418444a9eda111.jpg","text":"TemporaryFile(/tmp/multipartBody3295767135379314576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773703205,"filename":"image_05112025_13_34_15_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/15/8ce39f4b77dd983298c83a6d60446e39.jpg","text":"TemporaryFile(/tmp/multipartBody3907754511420583193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773703205,"filename":"image_05112025_13_33_41_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/15/861268aa9e640dc9ce456ee0512b2d9e.jpg","text":"TemporaryFile(/tmp/multipartBody4492474278047191047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773703205,"filename":"image_05112025_13_34_37_1735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433537","file1":"1399433536","file0":"1399433534","file4":"1399433539","file5":"1399433549","file3":"1399433538"},"map_files_photo_id_array":[{"photo_id":"1399433549","filename":"file5"},{"photo_id":"1399433537","filename":"file2"},{"photo_id":"1399433539","filename":"file4"},{"photo_id":"1399433536","filename":"file1"},{"photo_id":"1399433534","filename":"file0"},{"photo_id":"1399433538","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399433538":["hashtag1","hashtag2"]},{"1399433549":["hashtag1","hashtag2"]},{"1399433534":["hashtag1","hashtag2"]},{"1399433537":["hashtag1","hashtag2"]},{"1399433536":["hashtag1","hashtag2"]},{"1399433539":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399433538, 1399433549, 1399433534, 1399433537, 1399433536, 1399433539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31171154975891 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 05:41:22.748644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/26/image_15122025_05_27_04_9644.jpg', '/home/pi/Desktop/images/15122025/05/27/image_15122025_05_27_14_9479.jpg', '/home/pi/Desktop/images/15122025/05/27/image_15122025_05_27_24_10764.jpg', '/home/pi/Desktop/images/15122025/05/27/image_15122025_05_27_34_9735.jpg', '/home/pi/Desktop/images/15122025/05/27/image_15122025_05_27_44_9609.jpg', '/home/pi/Desktop/images/15122025/05/27/image_15122025_05_27_55_10711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/26/image_15122025_05_27_04_9644.jpg
/home/pi/Desktop/images/15122025/05/27/image_15122025_05_27_14_9479.jpg
/home/pi/Desktop/images/15122025/05/27/image_15122025_05_27_24_10764.jpg
/home/pi/Desktop/images/15122025/05/27/image_15122025_05_27_34_9735.jpg
/home/pi/Desktop/images/15122025/05/27/image_15122025_05_27_44_9609.jpg
/home/pi/Desktop/images/15122025/05/27/image_15122025_05_27_55_10711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433559","1399433556","1399433561","1399433564","1399433558","1399433560"],"photo_ids_order":["1399433556","1399433558","1399433559","1399433560","1399433561","1399433564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7031ebb8d39ab1ef6eeafc03553c9702.jpg","text":"TemporaryFile(/tmp/multipartBody6360659112111397505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773743362,"filename":"image_15122025_05_27_24_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/15/2dd0f5d5d77bd67d0bfa1d2676554a11.jpg","text":"TemporaryFile(/tmp/multipartBody8632839163423307388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773743362,"filename":"image_15122025_05_27_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0e51bb1d46f98cba192a2f10e488657d.jpg","text":"TemporaryFile(/tmp/multipartBody3637651532165617494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773743362,"filename":"image_15122025_05_27_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/15/bacda310fa4e147ada44a4994b8099d2.jpg","text":"TemporaryFile(/tmp/multipartBody3344561231428495247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773743362,"filename":"image_15122025_05_27_55_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dd80da733dbdfa67757e11966d70f7a1.jpg","text":"TemporaryFile(/tmp/multipartBody4369784036067552604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773743362,"filename":"image_15122025_05_27_14_9479.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e86ec53fda05bc3e860fe5d2e60f3afa.jpg","text":"TemporaryFile(/tmp/multipartBody2031026589233785253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773743362,"filename":"image_15122025_05_27_34_9735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433559","file1":"1399433558","file0":"1399433556","file4":"1399433561","file5":"1399433564","file3":"1399433560"},"map_files_photo_id_array":[{"photo_id":"1399433564","filename":"file5"},{"photo_id":"1399433559","filename":"file2"},{"photo_id":"1399433561","filename":"file4"},{"photo_id":"1399433558","filename":"file1"},{"photo_id":"1399433556","filename":"file0"},{"photo_id":"1399433560","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433559":["hashtag1","hashtag2"]},{"1399433556":["hashtag1","hashtag2"]},{"1399433561":["hashtag1","hashtag2"]},{"1399433564":["hashtag1","hashtag2"]},{"1399433558":["hashtag1","hashtag2"]},{"1399433560":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433559, 1399433556, 1399433561, 1399433564, 1399433558, 1399433560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.23984456062317 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 05:42:02.393432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/27/image_15122025_05_28_04_9633.jpg', '/home/pi/Desktop/images/15122025/05/28/image_15122025_05_28_14_9720.jpg', '/home/pi/Desktop/images/15122025/05/28/image_15122025_05_28_25_10636.jpg', '/home/pi/Desktop/images/15122025/05/28/image_15122025_05_28_34_9645.jpg', '/home/pi/Desktop/images/15122025/05/28/image_15122025_05_28_44_9655.jpg', '/home/pi/Desktop/images/15122025/05/28/image_15122025_05_28_54_10094.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/27/image_15122025_05_28_04_9633.jpg
/home/pi/Desktop/images/15122025/05/28/image_15122025_05_28_14_9720.jpg
/home/pi/Desktop/images/15122025/05/28/image_15122025_05_28_25_10636.jpg
/home/pi/Desktop/images/15122025/05/28/image_15122025_05_28_34_9645.jpg
/home/pi/Desktop/images/15122025/05/28/image_15122025_05_28_44_9655.jpg
/home/pi/Desktop/images/15122025/05/28/image_15122025_05_28_54_10094.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433571","1399433565","1399433568","1399433573","1399433575","1399433566"],"photo_ids_order":["1399433565","1399433566","1399433568","1399433571","1399433573","1399433575"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/af67e8051a43620248389762ea985d88.jpg","text":"TemporaryFile(/tmp/multipartBody5987031020820238285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773783045,"filename":"image_15122025_05_28_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/15/80c5253e4b4a520a0dd65f1d88828dbb.jpg","text":"TemporaryFile(/tmp/multipartBody7150424100966636465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773783045,"filename":"image_15122025_05_28_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/15/b8701940db9abdd9b4a71b7b37a98b75.jpg","text":"TemporaryFile(/tmp/multipartBody2636901736729358740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773783045,"filename":"image_15122025_05_28_25_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f390c94f5bedcaa5ad8e0a8bf0032c71.jpg","text":"TemporaryFile(/tmp/multipartBody5949621832550018375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773783045,"filename":"image_15122025_05_28_44_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bbf45088be58063915978a849c30e23c.jpg","text":"TemporaryFile(/tmp/multipartBody367154901982374365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773783045,"filename":"image_15122025_05_28_54_10094.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/78ae62621028719edb9aa4620d27c61c.jpg","text":"TemporaryFile(/tmp/multipartBody4560356102481619331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773783045,"filename":"image_15122025_05_28_14_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433568","file1":"1399433566","file0":"1399433565","file4":"1399433573","file5":"1399433575","file3":"1399433571"},"map_files_photo_id_array":[{"photo_id":"1399433575","filename":"file5"},{"photo_id":"1399433568","filename":"file2"},{"photo_id":"1399433573","filename":"file4"},{"photo_id":"1399433566","filename":"file1"},{"photo_id":"1399433565","filename":"file0"},{"photo_id":"1399433571","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433571":["hashtag1","hashtag2"]},{"1399433565":["hashtag1","hashtag2"]},{"1399433568":["hashtag1","hashtag2"]},{"1399433573":["hashtag1","hashtag2"]},{"1399433575":["hashtag1","hashtag2"]},{"1399433566":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433571, 1399433565, 1399433568, 1399433573, 1399433575, 1399433566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41112041473389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 05:42:42.005069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/35/image_05112025_13_35_27_5904.jpg', '/home/pi/Desktop/images/05112025/13/35/image_05112025_13_35_56_27459.jpg', '/home/pi/Desktop/images/05112025/13/38/image_05112025_13_38_07_3012.jpg', '/home/pi/Desktop/images/05112025/13/38/image_05112025_13_38_22_2730.jpg', '/home/pi/Desktop/images/05112025/13/38/image_05112025_13_38_28_3791.jpg', '/home/pi/Desktop/images/05112025/13/38/image_05112025_13_38_34_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/35/image_05112025_13_35_27_5904.jpg
/home/pi/Desktop/images/05112025/13/35/image_05112025_13_35_56_27459.jpg
/home/pi/Desktop/images/05112025/13/38/image_05112025_13_38_07_3012.jpg
/home/pi/Desktop/images/05112025/13/38/image_05112025_13_38_22_2730.jpg
/home/pi/Desktop/images/05112025/13/38/image_05112025_13_38_28_3791.jpg
/home/pi/Desktop/images/05112025/13/38/image_05112025_13_38_34_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.6052517890930176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 05:43:03.050246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/28/image_15122025_05_29_05_10627.jpg', '/home/pi/Desktop/images/15122025/05/29/image_15122025_05_29_14_9798.jpg', '/home/pi/Desktop/images/15122025/05/29/image_15122025_05_29_24_9717.jpg', '/home/pi/Desktop/images/15122025/05/29/image_15122025_05_29_34_9773.jpg', '/home/pi/Desktop/images/15122025/05/29/image_15122025_05_29_45_10731.jpg', '/home/pi/Desktop/images/15122025/05/29/image_15122025_05_29_54_9156.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/28/image_15122025_05_29_05_10627.jpg
/home/pi/Desktop/images/15122025/05/29/image_15122025_05_29_14_9798.jpg
/home/pi/Desktop/images/15122025/05/29/image_15122025_05_29_24_9717.jpg
/home/pi/Desktop/images/15122025/05/29/image_15122025_05_29_34_9773.jpg
/home/pi/Desktop/images/15122025/05/29/image_15122025_05_29_45_10731.jpg
/home/pi/Desktop/images/15122025/05/29/image_15122025_05_29_54_9156.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433602","1399433604","1399433597","1399433606","1399433600","1399433608"],"photo_ids_order":["1399433597","1399433600","1399433602","1399433604","1399433606","1399433608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f1cd088cc35089f69cf191349aa9d9e5.jpg","text":"TemporaryFile(/tmp/multipartBody4157747145504827342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773843725,"filename":"image_15122025_05_29_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/15/a1b617e1450db0d5cf4afd891f74da60.jpg","text":"TemporaryFile(/tmp/multipartBody5884517617373544953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773843725,"filename":"image_15122025_05_29_34_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6c767774d2b6916eabfae0a9448d381d.jpg","text":"TemporaryFile(/tmp/multipartBody1551091350445083576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773843725,"filename":"image_15122025_05_29_05_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/38864db3a51659cc7aa7f7cb3f6c3ea3.jpg","text":"TemporaryFile(/tmp/multipartBody1772532089670162203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773843725,"filename":"image_15122025_05_29_45_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ca901631aab176bfccff89360cf593a5.jpg","text":"TemporaryFile(/tmp/multipartBody3357811386013773913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773843725,"filename":"image_15122025_05_29_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/15/40657b927487afb8125ed6e539aca320.jpg","text":"TemporaryFile(/tmp/multipartBody25573803163365678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773843725,"filename":"image_15122025_05_29_54_9156.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433602","file1":"1399433600","file0":"1399433597","file4":"1399433606","file5":"1399433608","file3":"1399433604"},"map_files_photo_id_array":[{"photo_id":"1399433608","filename":"file5"},{"photo_id":"1399433602","filename":"file2"},{"photo_id":"1399433606","filename":"file4"},{"photo_id":"1399433600","filename":"file1"},{"photo_id":"1399433597","filename":"file0"},{"photo_id":"1399433604","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433602":["hashtag1","hashtag2"]},{"1399433604":["hashtag1","hashtag2"]},{"1399433597":["hashtag1","hashtag2"]},{"1399433606":["hashtag1","hashtag2"]},{"1399433600":["hashtag1","hashtag2"]},{"1399433608":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433602, 1399433604, 1399433597, 1399433606, 1399433600, 1399433608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41558527946472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 05:43:42.236591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/35/image_05112025_13_35_27_5904.jpg', '/home/pi/Desktop/images/05112025/13/35/image_05112025_13_35_56_27459.jpg', '/home/pi/Desktop/images/05112025/13/38/image_05112025_13_38_07_3012.jpg', '/home/pi/Desktop/images/05112025/13/38/image_05112025_13_38_22_2730.jpg', '/home/pi/Desktop/images/05112025/13/38/image_05112025_13_38_28_3791.jpg', '/home/pi/Desktop/images/05112025/13/38/image_05112025_13_38_34_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/35/image_05112025_13_35_27_5904.jpg
/home/pi/Desktop/images/05112025/13/35/image_05112025_13_35_56_27459.jpg
/home/pi/Desktop/images/05112025/13/38/image_05112025_13_38_07_3012.jpg
/home/pi/Desktop/images/05112025/13/38/image_05112025_13_38_22_2730.jpg
/home/pi/Desktop/images/05112025/13/38/image_05112025_13_38_28_3791.jpg
/home/pi/Desktop/images/05112025/13/38/image_05112025_13_38_34_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":["1399433613","1399433610","1399433612","1399433615","1399433611","1399433614"],"photo_ids_order":["1399433610","1399433611","1399433612","1399433613","1399433614","1399433615"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9c6a803ffd254541e89517e08cef8f52.jpg","text":"TemporaryFile(/tmp/multipartBody7827242057533847686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773882827,"filename":"image_05112025_13_38_22_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/15/ab520999829596b1c155d1b71fcbb7db.jpg","text":"TemporaryFile(/tmp/multipartBody2720625691132707936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773882827,"filename":"image_05112025_13_35_27_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/15/6206593087a412c59b09e0cf068ea6bc.jpg","text":"TemporaryFile(/tmp/multipartBody7229694884303934866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773882827,"filename":"image_05112025_13_38_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/15ed52b2b97cf314238650953d83685e.jpg","text":"TemporaryFile(/tmp/multipartBody5982896637250880403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773882827,"filename":"image_05112025_13_38_34_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/20a9b7fb3a48c9becfb75e85ac0091d1.jpg","text":"TemporaryFile(/tmp/multipartBody5638723339161969986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773882827,"filename":"image_05112025_13_35_56_27459.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6526570954089e1c4750257382375875.jpg","text":"TemporaryFile(/tmp/multipartBody852273523442727630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773882827,"filename":"image_05112025_13_38_28_3791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433612","file1":"1399433611","file0":"1399433610","file4":"1399433614","file5":"1399433615","file3":"1399433613"},"map_files_photo_id_array":[{"photo_id":"1399433615","filename":"file5"},{"photo_id":"1399433612","filename":"file2"},{"photo_id":"1399433614","filename":"file4"},{"photo_id":"1399433611","filename":"file1"},{"photo_id":"1399433610","filename":"file0"},{"photo_id":"1399433613","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399433613":["hashtag1","hashtag2"]},{"1399433610":["hashtag1","hashtag2"]},{"1399433612":["hashtag1","hashtag2"]},{"1399433615":["hashtag1","hashtag2"]},{"1399433611":["hashtag1","hashtag2"]},{"1399433614":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399433613, 1399433610, 1399433612, 1399433615, 1399433611, 1399433614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69598364830017 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 05:44:22.516004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/29/image_15122025_05_30_04_10766.jpg', '/home/pi/Desktop/images/15122025/05/30/image_15122025_05_30_14_9553.jpg', '/home/pi/Desktop/images/15122025/05/30/image_15122025_05_30_24_9924.jpg', '/home/pi/Desktop/images/15122025/05/30/image_15122025_05_30_35_10643.jpg', '/home/pi/Desktop/images/15122025/05/30/image_15122025_05_30_44_9763.jpg', '/home/pi/Desktop/images/15122025/05/30/image_15122025_05_30_54_9572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/29/image_15122025_05_30_04_10766.jpg
/home/pi/Desktop/images/15122025/05/30/image_15122025_05_30_14_9553.jpg
/home/pi/Desktop/images/15122025/05/30/image_15122025_05_30_24_9924.jpg
/home/pi/Desktop/images/15122025/05/30/image_15122025_05_30_35_10643.jpg
/home/pi/Desktop/images/15122025/05/30/image_15122025_05_30_44_9763.jpg
/home/pi/Desktop/images/15122025/05/30/image_15122025_05_30_54_9572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433631","1399433622","1399433624","1399433633","1399433621","1399433629"],"photo_ids_order":["1399433621","1399433622","1399433624","1399433629","1399433631","1399433633"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2b7c36922b245970ffe45b44cc4258fd.jpg","text":"TemporaryFile(/tmp/multipartBody7872630335289870097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773923131,"filename":"image_15122025_05_30_44_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4df0082eba0d3555e760007621812638.jpg","text":"TemporaryFile(/tmp/multipartBody3447092411564002714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773923131,"filename":"image_15122025_05_30_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/15/c6d5dc68a6406488b2e412d7f9d81335.jpg","text":"TemporaryFile(/tmp/multipartBody8311521470663202635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773923131,"filename":"image_15122025_05_30_24_9924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f9863e8206c18496c96e5607523e494f.jpg","text":"TemporaryFile(/tmp/multipartBody3182963707664892351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773923131,"filename":"image_15122025_05_30_54_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a31fb9cee4b818a34a4ee65c592ba4c3.jpg","text":"TemporaryFile(/tmp/multipartBody6024446774273646382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773923131,"filename":"image_15122025_05_30_04_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/15/e9ebfc8add0797178f036de27a876470.jpg","text":"TemporaryFile(/tmp/multipartBody4015256610995709930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773923131,"filename":"image_15122025_05_30_35_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433624","file1":"1399433622","file0":"1399433621","file4":"1399433631","file5":"1399433633","file3":"1399433629"},"map_files_photo_id_array":[{"photo_id":"1399433633","filename":"file5"},{"photo_id":"1399433624","filename":"file2"},{"photo_id":"1399433631","filename":"file4"},{"photo_id":"1399433622","filename":"file1"},{"photo_id":"1399433621","filename":"file0"},{"photo_id":"1399433629","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433631":["hashtag1","hashtag2"]},{"1399433622":["hashtag1","hashtag2"]},{"1399433624":["hashtag1","hashtag2"]},{"1399433633":["hashtag1","hashtag2"]},{"1399433621":["hashtag1","hashtag2"]},{"1399433629":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433631, 1399433622, 1399433624, 1399433633, 1399433621, 1399433629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94351124763489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 05:45:03.139915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/30/image_15122025_05_31_05_10607.jpg', '/home/pi/Desktop/images/15122025/05/31/image_15122025_05_31_14_9693.jpg', '/home/pi/Desktop/images/15122025/05/31/image_15122025_05_31_24_9887.jpg', '/home/pi/Desktop/images/15122025/05/31/image_15122025_05_31_34_9827.jpg', '/home/pi/Desktop/images/15122025/05/31/image_15122025_05_31_45_10725.jpg', '/home/pi/Desktop/images/15122025/05/31/image_15122025_05_31_54_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/30/image_15122025_05_31_05_10607.jpg
/home/pi/Desktop/images/15122025/05/31/image_15122025_05_31_14_9693.jpg
/home/pi/Desktop/images/15122025/05/31/image_15122025_05_31_24_9887.jpg
/home/pi/Desktop/images/15122025/05/31/image_15122025_05_31_34_9827.jpg
/home/pi/Desktop/images/15122025/05/31/image_15122025_05_31_45_10725.jpg
/home/pi/Desktop/images/15122025/05/31/image_15122025_05_31_54_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":["1399433652","1399433646","1399433642","1399433648","1399433650","1399433644"],"photo_ids_order":["1399433642","1399433644","1399433646","1399433648","1399433650","1399433652"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/40ff6a34af00a50ee67f200a4b580085.jpg","text":"TemporaryFile(/tmp/multipartBody7594212224367443634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773963854,"filename":"image_15122025_05_31_54_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a8b07972f553a6ebf1da64e01cf31bee.jpg","text":"TemporaryFile(/tmp/multipartBody8977607473729141861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773963854,"filename":"image_15122025_05_31_24_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/15/9cd00482dc98deed0a137aa4cb142831.jpg","text":"TemporaryFile(/tmp/multipartBody6032442330259812960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773963854,"filename":"image_15122025_05_31_05_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4f889655c4200bf2e0bba171d649fc9a.jpg","text":"TemporaryFile(/tmp/multipartBody8839708482107152067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773963854,"filename":"image_15122025_05_31_34_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8e3c1ec92170cf31d0c66b69c836c1a4.jpg","text":"TemporaryFile(/tmp/multipartBody8215682678037157969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773963854,"filename":"image_15122025_05_31_45_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7d59511a02e1960a121fdb951c715660.jpg","text":"TemporaryFile(/tmp/multipartBody1159031919721846170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765773963854,"filename":"image_15122025_05_31_14_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433646","file1":"1399433644","file0":"1399433642","file4":"1399433650","file5":"1399433652","file3":"1399433648"},"map_files_photo_id_array":[{"photo_id":"1399433652","filename":"file5"},{"photo_id":"1399433646","filename":"file2"},{"photo_id":"1399433650","filename":"file4"},{"photo_id":"1399433644","filename":"file1"},{"photo_id":"1399433642","filename":"file0"},{"photo_id":"1399433648","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433652":["hashtag1","hashtag2"]},{"1399433646":["hashtag1","hashtag2"]},{"1399433642":["hashtag1","hashtag2"]},{"1399433648":["hashtag1","hashtag2"]},{"1399433650":["hashtag1","hashtag2"]},{"1399433644":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433652, 1399433646, 1399433642, 1399433648, 1399433650, 1399433644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74421429634094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 05:45:42.618788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/38/image_05112025_13_38_37_2832.jpg', '/home/pi/Desktop/images/05112025/13/39/image_05112025_13_39_01_2688.jpg', '/home/pi/Desktop/images/05112025/13/39/image_05112025_13_39_04_2736.jpg', '/home/pi/Desktop/images/05112025/13/39/image_05112025_13_39_10_2778.jpg', '/home/pi/Desktop/images/05112025/13/40/image_05112025_13_40_19_2911.jpg', '/home/pi/Desktop/images/05112025/13/40/image_05112025_13_40_52_2773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/38/image_05112025_13_38_37_2832.jpg
/home/pi/Desktop/images/05112025/13/39/image_05112025_13_39_01_2688.jpg
/home/pi/Desktop/images/05112025/13/39/image_05112025_13_39_04_2736.jpg
/home/pi/Desktop/images/05112025/13/39/image_05112025_13_39_10_2778.jpg
/home/pi/Desktop/images/05112025/13/40/image_05112025_13_40_19_2911.jpg
/home/pi/Desktop/images/05112025/13/40/image_05112025_13_40_52_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":["1399433658","1399433661","1399433655","1399433660","1399433657","1399433659"],"photo_ids_order":["1399433655","1399433657","1399433658","1399433659","1399433660","1399433661"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d1c2de87b7a73ed9656f85b888283a32.jpg","text":"TemporaryFile(/tmp/multipartBody9105994510492805752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774003321,"filename":"image_05112025_13_39_04_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/15/15f77e7eb2f1122f4b1b94e56a3e6d75.jpg","text":"TemporaryFile(/tmp/multipartBody9195127052077590789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774003321,"filename":"image_05112025_13_40_52_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/15/e41e65a0ec582ed213a741d8776b1a5a.jpg","text":"TemporaryFile(/tmp/multipartBody1879584885147955938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774003321,"filename":"image_05112025_13_38_37_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e15d0b2fde1dadf4238d750052923e3e.jpg","text":"TemporaryFile(/tmp/multipartBody5525011316464943575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774003321,"filename":"image_05112025_13_40_19_2911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/796b45a4d62878ae66f178cab8f220af.jpg","text":"TemporaryFile(/tmp/multipartBody7782481203348232152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774003321,"filename":"image_05112025_13_39_01_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/15/45c72140ad04b52f27debbeb531541fb.jpg","text":"TemporaryFile(/tmp/multipartBody8560885008501981858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774003321,"filename":"image_05112025_13_39_10_2778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433658","file1":"1399433657","file0":"1399433655","file4":"1399433660","file5":"1399433661","file3":"1399433659"},"map_files_photo_id_array":[{"photo_id":"1399433661","filename":"file5"},{"photo_id":"1399433658","filename":"file2"},{"photo_id":"1399433660","filename":"file4"},{"photo_id":"1399433657","filename":"file1"},{"photo_id":"1399433655","filename":"file0"},{"photo_id":"1399433659","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399433658":["hashtag1","hashtag2"]},{"1399433661":["hashtag1","hashtag2"]},{"1399433655":["hashtag1","hashtag2"]},{"1399433660":["hashtag1","hashtag2"]},{"1399433657":["hashtag1","hashtag2"]},{"1399433659":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399433658, 1399433661, 1399433655, 1399433660, 1399433657, 1399433659)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.849050998687744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 05:46:31.871972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 05:46:41.884860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/41/image_05112025_13_41_01_2597.jpg', '/home/pi/Desktop/images/05112025/13/41/image_05112025_13_41_04_3566.jpg', '/home/pi/Desktop/images/05112025/13/41/image_05112025_13_41_45_10078.jpg', '/home/pi/Desktop/images/05112025/13/41/image_05112025_13_41_53_1754.jpg', '/home/pi/Desktop/images/05112025/13/41/image_05112025_13_41_55_1675.jpg', '/home/pi/Desktop/images/05112025/13/41/image_05112025_13_41_57_1722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/41/image_05112025_13_41_01_2597.jpg
/home/pi/Desktop/images/05112025/13/41/image_05112025_13_41_04_3566.jpg
/home/pi/Desktop/images/05112025/13/41/image_05112025_13_41_45_10078.jpg
/home/pi/Desktop/images/05112025/13/41/image_05112025_13_41_53_1754.jpg
/home/pi/Desktop/images/05112025/13/41/image_05112025_13_41_55_1675.jpg
/home/pi/Desktop/images/05112025/13/41/image_05112025_13_41_57_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.5885739326477051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 05:47:02.817439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/31/image_15122025_05_32_04_9636.jpg', '/home/pi/Desktop/images/15122025/05/32/image_15122025_05_32_14_9706.jpg', '/home/pi/Desktop/images/15122025/05/32/image_15122025_05_32_24_10705.jpg', '/home/pi/Desktop/images/15122025/05/32/image_15122025_05_33_04_9982.jpg', '/home/pi/Desktop/images/15122025/05/33/image_15122025_05_33_14_10611.jpg', '/home/pi/Desktop/images/15122025/05/33/image_15122025_05_33_24_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/31/image_15122025_05_32_04_9636.jpg
/home/pi/Desktop/images/15122025/05/32/image_15122025_05_32_14_9706.jpg
/home/pi/Desktop/images/15122025/05/32/image_15122025_05_32_24_10705.jpg
/home/pi/Desktop/images/15122025/05/32/image_15122025_05_33_04_9982.jpg
/home/pi/Desktop/images/15122025/05/33/image_15122025_05_33_14_10611.jpg
/home/pi/Desktop/images/15122025/05/33/image_15122025_05_33_24_9782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433691","1399433693","1399433690","1399433692","1399433695","1399433697"],"photo_ids_order":["1399433690","1399433691","1399433692","1399433693","1399433695","1399433697"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fcce6fbfbf331fe623415140e7c90471.jpg","text":"TemporaryFile(/tmp/multipartBody1413874456344406807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774083508,"filename":"image_15122025_05_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/15/07d19a6829dc4218918d2384596b2400.jpg","text":"TemporaryFile(/tmp/multipartBody6601067742017768379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774083508,"filename":"image_15122025_05_33_04_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/15/0521bd50095af774e3263f3f51a7f1f8.jpg","text":"TemporaryFile(/tmp/multipartBody1869132795400407730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774083508,"filename":"image_15122025_05_32_04_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/eedf2f56e87816c4db7346d74d39bb46.jpg","text":"TemporaryFile(/tmp/multipartBody554658034229137643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774083508,"filename":"image_15122025_05_32_24_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4d466195384a57dd75898603f704b0ad.jpg","text":"TemporaryFile(/tmp/multipartBody3702899969114726414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774083508,"filename":"image_15122025_05_33_14_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/15/b6a74016ab2791359372e536b3e5f18f.jpg","text":"TemporaryFile(/tmp/multipartBody7582283980642200729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774083508,"filename":"image_15122025_05_33_24_9782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433692","file1":"1399433691","file0":"1399433690","file4":"1399433695","file5":"1399433697","file3":"1399433693"},"map_files_photo_id_array":[{"photo_id":"1399433697","filename":"file5"},{"photo_id":"1399433692","filename":"file2"},{"photo_id":"1399433695","filename":"file4"},{"photo_id":"1399433691","filename":"file1"},{"photo_id":"1399433690","filename":"file0"},{"photo_id":"1399433693","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433691":["hashtag1","hashtag2"]},{"1399433693":["hashtag1","hashtag2"]},{"1399433690":["hashtag1","hashtag2"]},{"1399433692":["hashtag1","hashtag2"]},{"1399433695":["hashtag1","hashtag2"]},{"1399433697":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433691, 1399433693, 1399433690, 1399433692, 1399433695, 1399433697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24530005455017 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 05:47:42.188410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/41/image_05112025_13_41_01_2597.jpg', '/home/pi/Desktop/images/05112025/13/41/image_05112025_13_41_04_3566.jpg', '/home/pi/Desktop/images/05112025/13/41/image_05112025_13_41_45_10078.jpg', '/home/pi/Desktop/images/05112025/13/41/image_05112025_13_41_53_1754.jpg', '/home/pi/Desktop/images/05112025/13/41/image_05112025_13_41_55_1675.jpg', '/home/pi/Desktop/images/05112025/13/41/image_05112025_13_41_57_1722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/41/image_05112025_13_41_01_2597.jpg
/home/pi/Desktop/images/05112025/13/41/image_05112025_13_41_04_3566.jpg
/home/pi/Desktop/images/05112025/13/41/image_05112025_13_41_45_10078.jpg
/home/pi/Desktop/images/05112025/13/41/image_05112025_13_41_53_1754.jpg
/home/pi/Desktop/images/05112025/13/41/image_05112025_13_41_55_1675.jpg
/home/pi/Desktop/images/05112025/13/41/image_05112025_13_41_57_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":["1399433712","1399433711","1399433714","1399433708","1399433702","1399433710"],"photo_ids_order":["1399433702","1399433708","1399433710","1399433711","1399433712","1399433714"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fe48dadbaa39d08cbcccd95fe63cdb23.jpg","text":"TemporaryFile(/tmp/multipartBody8621776211010124201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774122774,"filename":"image_05112025_13_41_55_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/15/5de028087b6a116428a0f71b75e6f7df.jpg","text":"TemporaryFile(/tmp/multipartBody3718350128917810416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774122774,"filename":"image_05112025_13_41_53_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/15/ed46bd5c074c96ae5e3fd577b5dccb40.jpg","text":"TemporaryFile(/tmp/multipartBody5738442466046034771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774122774,"filename":"image_05112025_13_41_57_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/15/11f53c6e7b211e15720348c629327a4f.jpg","text":"TemporaryFile(/tmp/multipartBody2201253222467987310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774122774,"filename":"image_05112025_13_41_04_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2c1dfd6bfaa472a0dbca69651871b5eb.jpg","text":"TemporaryFile(/tmp/multipartBody5114710512113147660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774122774,"filename":"image_05112025_13_41_01_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/15/4fc356cbc9ca19db54c8cff53b74163f.jpg","text":"TemporaryFile(/tmp/multipartBody4303776334800062351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774122774,"filename":"image_05112025_13_41_45_10078.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433710","file1":"1399433708","file0":"1399433702","file4":"1399433712","file5":"1399433714","file3":"1399433711"},"map_files_photo_id_array":[{"photo_id":"1399433714","filename":"file5"},{"photo_id":"1399433710","filename":"file2"},{"photo_id":"1399433712","filename":"file4"},{"photo_id":"1399433708","filename":"file1"},{"photo_id":"1399433702","filename":"file0"},{"photo_id":"1399433711","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399433712":["hashtag1","hashtag2"]},{"1399433711":["hashtag1","hashtag2"]},{"1399433714":["hashtag1","hashtag2"]},{"1399433708":["hashtag1","hashtag2"]},{"1399433702":["hashtag1","hashtag2"]},{"1399433710":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399433712, 1399433711, 1399433714, 1399433708, 1399433702, 1399433710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.731261253356934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 05:48:22.411306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/33/image_15122025_05_33_34_9677.jpg', '/home/pi/Desktop/images/15122025/05/33/image_15122025_05_33_45_10689.jpg', '/home/pi/Desktop/images/15122025/05/33/image_15122025_05_33_54_9728.jpg', '/home/pi/Desktop/images/15122025/05/33/image_15122025_05_34_04_9601.jpg', '/home/pi/Desktop/images/15122025/05/34/image_15122025_05_34_14_9874.jpg', '/home/pi/Desktop/images/15122025/05/34/image_15122025_05_34_34_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/33/image_15122025_05_33_34_9677.jpg
/home/pi/Desktop/images/15122025/05/33/image_15122025_05_33_45_10689.jpg
/home/pi/Desktop/images/15122025/05/33/image_15122025_05_33_54_9728.jpg
/home/pi/Desktop/images/15122025/05/33/image_15122025_05_34_04_9601.jpg
/home/pi/Desktop/images/15122025/05/34/image_15122025_05_34_14_9874.jpg
/home/pi/Desktop/images/15122025/05/34/image_15122025_05_34_34_9604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433724","1399433726","1399433720","1399433722","1399433731","1399433725"],"photo_ids_order":["1399433720","1399433722","1399433724","1399433725","1399433726","1399433731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/19d45617ba270b491e60508c4436f0a5.jpg","text":"TemporaryFile(/tmp/multipartBody4496983823181641733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774163028,"filename":"image_15122025_05_33_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/15/4b167f2b1d9a1ae86de44329f6f9c3ad.jpg","text":"TemporaryFile(/tmp/multipartBody6980979806468130965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774163028,"filename":"image_15122025_05_34_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/15/ed256d024a3eefecca2e2699ec467d70.jpg","text":"TemporaryFile(/tmp/multipartBody2476735136021459044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774163028,"filename":"image_15122025_05_33_34_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/60c9230424f9b8c73465abef38b9e52a.jpg","text":"TemporaryFile(/tmp/multipartBody7980255668127305980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774163028,"filename":"image_15122025_05_33_45_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/31fecf30f37ca73c73078e235baa6898.jpg","text":"TemporaryFile(/tmp/multipartBody3333992839236869839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774163028,"filename":"image_15122025_05_34_34_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ed9fb53b18b1593623e5436a63322bd8.jpg","text":"TemporaryFile(/tmp/multipartBody5312375812522657361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774163028,"filename":"image_15122025_05_34_04_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433724","file1":"1399433722","file0":"1399433720","file4":"1399433726","file5":"1399433731","file3":"1399433725"},"map_files_photo_id_array":[{"photo_id":"1399433731","filename":"file5"},{"photo_id":"1399433724","filename":"file2"},{"photo_id":"1399433726","filename":"file4"},{"photo_id":"1399433722","filename":"file1"},{"photo_id":"1399433720","filename":"file0"},{"photo_id":"1399433725","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433724":["hashtag1","hashtag2"]},{"1399433726":["hashtag1","hashtag2"]},{"1399433720":["hashtag1","hashtag2"]},{"1399433722":["hashtag1","hashtag2"]},{"1399433731":["hashtag1","hashtag2"]},{"1399433725":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433724, 1399433726, 1399433720, 1399433722, 1399433731, 1399433725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42982316017151 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 05:49:03.841885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/34/image_15122025_05_34_44_10556.jpg', '/home/pi/Desktop/images/15122025/05/34/image_15122025_05_34_54_9702.jpg', '/home/pi/Desktop/images/15122025/05/34/image_15122025_05_35_04_9809.jpg', '/home/pi/Desktop/images/15122025/05/35/image_15122025_05_35_15_10698.jpg', '/home/pi/Desktop/images/15122025/05/35/image_15122025_05_35_24_9585.jpg', '/home/pi/Desktop/images/15122025/05/35/image_15122025_05_35_34_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/34/image_15122025_05_34_44_10556.jpg
/home/pi/Desktop/images/15122025/05/34/image_15122025_05_34_54_9702.jpg
/home/pi/Desktop/images/15122025/05/34/image_15122025_05_35_04_9809.jpg
/home/pi/Desktop/images/15122025/05/35/image_15122025_05_35_15_10698.jpg
/home/pi/Desktop/images/15122025/05/35/image_15122025_05_35_24_9585.jpg
/home/pi/Desktop/images/15122025/05/35/image_15122025_05_35_34_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":["1399433745","1399433741","1399433750","1399433747","1399433749","1399433743"],"photo_ids_order":["1399433741","1399433743","1399433745","1399433747","1399433749","1399433750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c6ae755a5b080a70f138292653279d06.jpg","text":"TemporaryFile(/tmp/multipartBody2381067101283988337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774204573,"filename":"image_15122025_05_35_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/15/d92c00f3e3168253e49aef1bcf419b67.jpg","text":"TemporaryFile(/tmp/multipartBody5302880051933991517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774204573,"filename":"image_15122025_05_34_44_10556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ad1c584fddbc8e1574904f538811ed3a.jpg","text":"TemporaryFile(/tmp/multipartBody6432264765911760293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774204573,"filename":"image_15122025_05_35_34_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b3c59e7d0787cdf6d776b3a6790dcd16.jpg","text":"TemporaryFile(/tmp/multipartBody1431713406337774622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774204573,"filename":"image_15122025_05_35_15_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/49cdfff643f3f06dcdbb661ff84d9c84.jpg","text":"TemporaryFile(/tmp/multipartBody3910987818379928146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774204573,"filename":"image_15122025_05_35_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/15/d6234d7bbd665ba7fbcfa39ee8da6b7b.jpg","text":"TemporaryFile(/tmp/multipartBody7733029569883441856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774204573,"filename":"image_15122025_05_34_54_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433745","file1":"1399433743","file0":"1399433741","file4":"1399433749","file5":"1399433750","file3":"1399433747"},"map_files_photo_id_array":[{"photo_id":"1399433750","filename":"file5"},{"photo_id":"1399433745","filename":"file2"},{"photo_id":"1399433749","filename":"file4"},{"photo_id":"1399433743","filename":"file1"},{"photo_id":"1399433741","filename":"file0"},{"photo_id":"1399433747","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433745":["hashtag1","hashtag2"]},{"1399433741":["hashtag1","hashtag2"]},{"1399433750":["hashtag1","hashtag2"]},{"1399433747":["hashtag1","hashtag2"]},{"1399433749":["hashtag1","hashtag2"]},{"1399433743":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433745, 1399433741, 1399433750, 1399433747, 1399433749, 1399433743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28749489784241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 05:49:42.687550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/42/image_05112025_13_42_03_1625.jpg', '/home/pi/Desktop/images/05112025/13/42/image_05112025_13_42_05_1552.jpg', '/home/pi/Desktop/images/05112025/13/42/image_05112025_13_42_08_1835.jpg', '/home/pi/Desktop/images/05112025/13/42/image_05112025_13_42_10_1793.jpg', '/home/pi/Desktop/images/05112025/13/42/image_05112025_13_42_18_2708.jpg', '/home/pi/Desktop/images/05112025/13/42/image_05112025_13_42_22_3663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/42/image_05112025_13_42_03_1625.jpg
/home/pi/Desktop/images/05112025/13/42/image_05112025_13_42_05_1552.jpg
/home/pi/Desktop/images/05112025/13/42/image_05112025_13_42_08_1835.jpg
/home/pi/Desktop/images/05112025/13/42/image_05112025_13_42_10_1793.jpg
/home/pi/Desktop/images/05112025/13/42/image_05112025_13_42_18_2708.jpg
/home/pi/Desktop/images/05112025/13/42/image_05112025_13_42_22_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":["1399433757","1399433754","1399433756","1399433752","1399433755","1399433758"],"photo_ids_order":["1399433752","1399433754","1399433755","1399433756","1399433757","1399433758"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b249f041e6b248a160e6dbffb620b920.jpg","text":"TemporaryFile(/tmp/multipartBody8567751418647405393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774243376,"filename":"image_05112025_13_42_18_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8298b5f8751de17ec9e524a4c54dd4f3.jpg","text":"TemporaryFile(/tmp/multipartBody6873115537557104794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774243376,"filename":"image_05112025_13_42_05_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/15/2d4f089a445f5c353c5b2259ac0dbb9a.jpg","text":"TemporaryFile(/tmp/multipartBody2609717813443949751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774243376,"filename":"image_05112025_13_42_10_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/15/731cfd8aa7c7dbe9017ae15bcbdd79b3.jpg","text":"TemporaryFile(/tmp/multipartBody1060484560699665012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774243376,"filename":"image_05112025_13_42_03_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/15/ed3d1a7fe35d45984cadce3cf0b24618.jpg","text":"TemporaryFile(/tmp/multipartBody1502859425298438027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774243376,"filename":"image_05112025_13_42_08_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/15/0d595527b2881de26785d5d79d5ff5c9.jpg","text":"TemporaryFile(/tmp/multipartBody7609258658725707001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774243376,"filename":"image_05112025_13_42_22_3663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433755","file1":"1399433754","file0":"1399433752","file4":"1399433757","file5":"1399433758","file3":"1399433756"},"map_files_photo_id_array":[{"photo_id":"1399433758","filename":"file5"},{"photo_id":"1399433755","filename":"file2"},{"photo_id":"1399433757","filename":"file4"},{"photo_id":"1399433754","filename":"file1"},{"photo_id":"1399433752","filename":"file0"},{"photo_id":"1399433756","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399433757":["hashtag1","hashtag2"]},{"1399433754":["hashtag1","hashtag2"]},{"1399433756":["hashtag1","hashtag2"]},{"1399433752":["hashtag1","hashtag2"]},{"1399433755":["hashtag1","hashtag2"]},{"1399433758":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399433757, 1399433754, 1399433756, 1399433752, 1399433755, 1399433758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.510831117630005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 05:50:22.011236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/35/image_15122025_05_35_44_9883.jpg', '/home/pi/Desktop/images/15122025/05/35/image_15122025_05_35_55_10799.jpg', '/home/pi/Desktop/images/15122025/05/35/image_15122025_05_36_04_9639.jpg', '/home/pi/Desktop/images/15122025/05/36/image_15122025_05_36_15_10239.jpg', '/home/pi/Desktop/images/15122025/05/36/image_15122025_05_36_24_9702.jpg', '/home/pi/Desktop/images/15122025/05/36/image_15122025_05_36_34_9842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/35/image_15122025_05_35_44_9883.jpg
/home/pi/Desktop/images/15122025/05/35/image_15122025_05_35_55_10799.jpg
/home/pi/Desktop/images/15122025/05/35/image_15122025_05_36_04_9639.jpg
/home/pi/Desktop/images/15122025/05/36/image_15122025_05_36_15_10239.jpg
/home/pi/Desktop/images/15122025/05/36/image_15122025_05_36_24_9702.jpg
/home/pi/Desktop/images/15122025/05/36/image_15122025_05_36_34_9842.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5143661499023438 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/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-15 05:50:41.717621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 05:51:02.744793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/35/image_15122025_05_35_44_9883.jpg', '/home/pi/Desktop/images/15122025/05/35/image_15122025_05_35_55_10799.jpg', '/home/pi/Desktop/images/15122025/05/35/image_15122025_05_36_04_9639.jpg', '/home/pi/Desktop/images/15122025/05/36/image_15122025_05_36_15_10239.jpg', '/home/pi/Desktop/images/15122025/05/36/image_15122025_05_36_24_9702.jpg', '/home/pi/Desktop/images/15122025/05/36/image_15122025_05_36_34_9842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/35/image_15122025_05_35_44_9883.jpg
/home/pi/Desktop/images/15122025/05/35/image_15122025_05_35_55_10799.jpg
/home/pi/Desktop/images/15122025/05/35/image_15122025_05_36_04_9639.jpg
/home/pi/Desktop/images/15122025/05/36/image_15122025_05_36_15_10239.jpg
/home/pi/Desktop/images/15122025/05/36/image_15122025_05_36_24_9702.jpg
/home/pi/Desktop/images/15122025/05/36/image_15122025_05_36_34_9842.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433790","1399433792","1399433786","1399433794","1399433788","1399433796"],"photo_ids_order":["1399433786","1399433788","1399433790","1399433792","1399433794","1399433796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a4252bbb020435abb01daa942f6f91a8.jpg","text":"TemporaryFile(/tmp/multipartBody2130975430519227629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774323476,"filename":"image_15122025_05_36_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/15/b83f7e63b0c21e0833857655e88e4712.jpg","text":"TemporaryFile(/tmp/multipartBody709989712578159121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774323476,"filename":"image_15122025_05_36_15_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/15/248644de0d983bc5cd11f671af428fe9.jpg","text":"TemporaryFile(/tmp/multipartBody3479278010235838224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774323476,"filename":"image_15122025_05_35_44_9883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8f74c55ed089c021be0cbd7c9ba5412b.jpg","text":"TemporaryFile(/tmp/multipartBody5882580104442986068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774323476,"filename":"image_15122025_05_36_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/15/7bd8ee08e6554d1a9a52bc56b7211a34.jpg","text":"TemporaryFile(/tmp/multipartBody8320571913566821973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774323476,"filename":"image_15122025_05_35_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/15/45fab0879f6973db5fe12e7228b24008.jpg","text":"TemporaryFile(/tmp/multipartBody930658883364196242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774323476,"filename":"image_15122025_05_36_34_9842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433790","file1":"1399433788","file0":"1399433786","file4":"1399433794","file5":"1399433796","file3":"1399433792"},"map_files_photo_id_array":[{"photo_id":"1399433796","filename":"file5"},{"photo_id":"1399433790","filename":"file2"},{"photo_id":"1399433794","filename":"file4"},{"photo_id":"1399433788","filename":"file1"},{"photo_id":"1399433786","filename":"file0"},{"photo_id":"1399433792","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433790":["hashtag1","hashtag2"]},{"1399433792":["hashtag1","hashtag2"]},{"1399433786":["hashtag1","hashtag2"]},{"1399433794":["hashtag1","hashtag2"]},{"1399433788":["hashtag1","hashtag2"]},{"1399433796":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433790, 1399433792, 1399433786, 1399433794, 1399433788, 1399433796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08607006072998 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 05:51:42.059043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/42/image_05112025_13_42_25_2629.jpg', '/home/pi/Desktop/images/05112025/13/42/image_05112025_13_42_45_2632.jpg', '/home/pi/Desktop/images/05112025/13/42/image_05112025_13_42_49_3540.jpg', '/home/pi/Desktop/images/05112025/13/42/image_05112025_13_42_51_2661.jpg', '/home/pi/Desktop/images/05112025/13/42/image_05112025_13_42_55_3663.jpg', '/home/pi/Desktop/images/05112025/13/42/image_05112025_13_43_00_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/42/image_05112025_13_42_25_2629.jpg
/home/pi/Desktop/images/05112025/13/42/image_05112025_13_42_45_2632.jpg
/home/pi/Desktop/images/05112025/13/42/image_05112025_13_42_49_3540.jpg
/home/pi/Desktop/images/05112025/13/42/image_05112025_13_42_51_2661.jpg
/home/pi/Desktop/images/05112025/13/42/image_05112025_13_42_55_3663.jpg
/home/pi/Desktop/images/05112025/13/42/image_05112025_13_43_00_2647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433800","1399433799","1399433798","1399433802","1399433797","1399433801"],"photo_ids_order":["1399433797","1399433798","1399433799","1399433800","1399433801","1399433802"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8c7404641788fbc72bae0f4a0aaa9ac3.jpg","text":"TemporaryFile(/tmp/multipartBody7741338827567472498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774362752,"filename":"image_05112025_13_42_51_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/15/20d901a8b72506e239ac05572681b4d5.jpg","text":"TemporaryFile(/tmp/multipartBody6622436826697124057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774362752,"filename":"image_05112025_13_42_49_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1f9af9dc11f0f8e56e1e0c36ff3ef38a.jpg","text":"TemporaryFile(/tmp/multipartBody385627545490985146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774362752,"filename":"image_05112025_13_42_45_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9ca97c58cc7679ddc7e6c48b3f44b02f.jpg","text":"TemporaryFile(/tmp/multipartBody4969715303850376240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774362752,"filename":"image_05112025_13_43_00_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/15/340c40d83cb27b9d8908f60f2841ea44.jpg","text":"TemporaryFile(/tmp/multipartBody5908156379400975884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774362752,"filename":"image_05112025_13_42_25_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fc5b88965d0101950a2c73cb632046d4.jpg","text":"TemporaryFile(/tmp/multipartBody5126869856897947749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774362752,"filename":"image_05112025_13_42_55_3663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433799","file1":"1399433798","file0":"1399433797","file4":"1399433801","file5":"1399433802","file3":"1399433800"},"map_files_photo_id_array":[{"photo_id":"1399433802","filename":"file5"},{"photo_id":"1399433799","filename":"file2"},{"photo_id":"1399433801","filename":"file4"},{"photo_id":"1399433798","filename":"file1"},{"photo_id":"1399433797","filename":"file0"},{"photo_id":"1399433800","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399433800":["hashtag1","hashtag2"]},{"1399433799":["hashtag1","hashtag2"]},{"1399433798":["hashtag1","hashtag2"]},{"1399433802":["hashtag1","hashtag2"]},{"1399433797":["hashtag1","hashtag2"]},{"1399433801":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399433800, 1399433799, 1399433798, 1399433802, 1399433797, 1399433801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88400411605835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 05:52:22.330842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/36/image_15122025_05_36_44_10062.jpg', '/home/pi/Desktop/images/15122025/05/36/image_15122025_05_36_54_9693.jpg', '/home/pi/Desktop/images/15122025/05/36/image_15122025_05_37_04_10638.jpg', '/home/pi/Desktop/images/15122025/05/37/image_15122025_05_37_14_9689.jpg', '/home/pi/Desktop/images/15122025/05/37/image_15122025_05_37_24_9773.jpg', '/home/pi/Desktop/images/15122025/05/37/image_15122025_05_37_44_9842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/36/image_15122025_05_36_44_10062.jpg
/home/pi/Desktop/images/15122025/05/36/image_15122025_05_36_54_9693.jpg
/home/pi/Desktop/images/15122025/05/36/image_15122025_05_37_04_10638.jpg
/home/pi/Desktop/images/15122025/05/37/image_15122025_05_37_14_9689.jpg
/home/pi/Desktop/images/15122025/05/37/image_15122025_05_37_24_9773.jpg
/home/pi/Desktop/images/15122025/05/37/image_15122025_05_37_44_9842.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433811","1399433808","1399433810","1399433807","1399433809","1399433818"],"photo_ids_order":["1399433807","1399433808","1399433809","1399433810","1399433811","1399433818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3795b88860db5dc3517bbaddcbea9f14.jpg","text":"TemporaryFile(/tmp/multipartBody9082168293549374252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774402949,"filename":"image_15122025_05_37_24_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/881911051edb8e26e2b82e78f1b8774d.jpg","text":"TemporaryFile(/tmp/multipartBody4369394082072364819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774402949,"filename":"image_15122025_05_36_54_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d04883fc59ff6bea94959f404892a94b.jpg","text":"TemporaryFile(/tmp/multipartBody4084099286705038480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774402949,"filename":"image_15122025_05_37_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/15/feab52fb06139e6cbb48fecb62d32344.jpg","text":"TemporaryFile(/tmp/multipartBody2945817541378182881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774402949,"filename":"image_15122025_05_36_44_10062.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8d43a7fd255da93304208afb3167596c.jpg","text":"TemporaryFile(/tmp/multipartBody4491830850173277463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774402949,"filename":"image_15122025_05_37_04_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/15/6d12b009e5cb908c8e0e7dbd904604d4.jpg","text":"TemporaryFile(/tmp/multipartBody3229365839750998821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774402949,"filename":"image_15122025_05_37_44_9842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433809","file1":"1399433808","file0":"1399433807","file4":"1399433811","file5":"1399433818","file3":"1399433810"},"map_files_photo_id_array":[{"photo_id":"1399433818","filename":"file5"},{"photo_id":"1399433809","filename":"file2"},{"photo_id":"1399433811","filename":"file4"},{"photo_id":"1399433808","filename":"file1"},{"photo_id":"1399433807","filename":"file0"},{"photo_id":"1399433810","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433811":["hashtag1","hashtag2"]},{"1399433808":["hashtag1","hashtag2"]},{"1399433810":["hashtag1","hashtag2"]},{"1399433807":["hashtag1","hashtag2"]},{"1399433809":["hashtag1","hashtag2"]},{"1399433818":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433811, 1399433808, 1399433810, 1399433807, 1399433809, 1399433818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52157473564148 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 05:53:03.309610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/37/image_15122025_05_37_54_9572.jpg', '/home/pi/Desktop/images/15122025/05/37/image_15122025_05_38_04_9829.jpg', '/home/pi/Desktop/images/15122025/05/38/image_15122025_05_38_14_10574.jpg', '/home/pi/Desktop/images/15122025/05/38/image_15122025_05_38_25_10118.jpg', '/home/pi/Desktop/images/15122025/05/38/image_15122025_05_38_34_9636.jpg', '/home/pi/Desktop/images/15122025/05/38/image_15122025_05_38_44_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/37/image_15122025_05_37_54_9572.jpg
/home/pi/Desktop/images/15122025/05/37/image_15122025_05_38_04_9829.jpg
/home/pi/Desktop/images/15122025/05/38/image_15122025_05_38_14_10574.jpg
/home/pi/Desktop/images/15122025/05/38/image_15122025_05_38_25_10118.jpg
/home/pi/Desktop/images/15122025/05/38/image_15122025_05_38_34_9636.jpg
/home/pi/Desktop/images/15122025/05/38/image_15122025_05_38_44_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":["1399433835","1399433837","1399433831","1399433833","1399433827","1399433839"],"photo_ids_order":["1399433827","1399433831","1399433833","1399433835","1399433837","1399433839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/949a3afd1dc1158d8637562ce1e50656.jpg","text":"TemporaryFile(/tmp/multipartBody895976811551316533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774443991,"filename":"image_15122025_05_38_25_10118.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8a34e06f649adf7b46f862b43e5d00de.jpg","text":"TemporaryFile(/tmp/multipartBody5315783158388169419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774443991,"filename":"image_15122025_05_38_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/15/b1d91141095cac3c586ea4a1b263906a.jpg","text":"TemporaryFile(/tmp/multipartBody8099117791711003643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774443991,"filename":"image_15122025_05_38_04_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bbb9066ce58f3e3e28576a37426945a4.jpg","text":"TemporaryFile(/tmp/multipartBody3265760915140556894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774443991,"filename":"image_15122025_05_38_14_10574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/220643df93714d7f1cb5d171321c7e58.jpg","text":"TemporaryFile(/tmp/multipartBody2863923601224113999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774443991,"filename":"image_15122025_05_37_54_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6b6e8347e40fa1ae50749e379ba64cfb.jpg","text":"TemporaryFile(/tmp/multipartBody736419195440838233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774443991,"filename":"image_15122025_05_38_44_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433833","file1":"1399433831","file0":"1399433827","file4":"1399433837","file5":"1399433839","file3":"1399433835"},"map_files_photo_id_array":[{"photo_id":"1399433839","filename":"file5"},{"photo_id":"1399433833","filename":"file2"},{"photo_id":"1399433837","filename":"file4"},{"photo_id":"1399433831","filename":"file1"},{"photo_id":"1399433827","filename":"file0"},{"photo_id":"1399433835","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433835":["hashtag1","hashtag2"]},{"1399433837":["hashtag1","hashtag2"]},{"1399433831":["hashtag1","hashtag2"]},{"1399433833":["hashtag1","hashtag2"]},{"1399433827":["hashtag1","hashtag2"]},{"1399433839":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433835, 1399433837, 1399433831, 1399433833, 1399433827, 1399433839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93887805938721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 05:53:42.612593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/43/image_05112025_13_43_07_2831.jpg', '/home/pi/Desktop/images/05112025/13/43/image_05112025_13_43_09_2614.jpg', '/home/pi/Desktop/images/05112025/13/43/image_05112025_13_43_17_4453.jpg', '/home/pi/Desktop/images/05112025/13/43/image_05112025_13_43_18_1720.jpg', '/home/pi/Desktop/images/05112025/13/43/image_05112025_13_43_22_3544.jpg', '/home/pi/Desktop/images/05112025/13/43/image_05112025_13_43_24_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/43/image_05112025_13_43_07_2831.jpg
/home/pi/Desktop/images/05112025/13/43/image_05112025_13_43_09_2614.jpg
/home/pi/Desktop/images/05112025/13/43/image_05112025_13_43_17_4453.jpg
/home/pi/Desktop/images/05112025/13/43/image_05112025_13_43_18_1720.jpg
/home/pi/Desktop/images/05112025/13/43/image_05112025_13_43_22_3544.jpg
/home/pi/Desktop/images/05112025/13/43/image_05112025_13_43_24_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":["1399433844","1399433840","1399433843","1399433846","1399433845","1399433842"],"photo_ids_order":["1399433840","1399433842","1399433843","1399433844","1399433845","1399433846"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6289f077d4fbace575b2bdbba8bc69ca.jpg","text":"TemporaryFile(/tmp/multipartBody3063562866847484385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774483332,"filename":"image_05112025_13_43_18_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/15/e5acf20bc690e87e939fd391b27ca26d.jpg","text":"TemporaryFile(/tmp/multipartBody6361989398014797432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774483332,"filename":"image_05112025_13_43_07_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/15/6362fd887580f9094f3544c3154d4658.jpg","text":"TemporaryFile(/tmp/multipartBody4685441151833710166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774483332,"filename":"image_05112025_13_43_17_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/15/71e3cfa5864eb7b430ee23f93f1488cd.jpg","text":"TemporaryFile(/tmp/multipartBody3751808940635974843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774483332,"filename":"image_05112025_13_43_24_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/15/d8c2e2998979454debb2235bf2a5b0b4.jpg","text":"TemporaryFile(/tmp/multipartBody4966783420456477711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774483332,"filename":"image_05112025_13_43_22_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/15/484de64af139628768583fc3d895e23e.jpg","text":"TemporaryFile(/tmp/multipartBody2738169995929587657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774483332,"filename":"image_05112025_13_43_09_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433843","file1":"1399433842","file0":"1399433840","file4":"1399433845","file5":"1399433846","file3":"1399433844"},"map_files_photo_id_array":[{"photo_id":"1399433846","filename":"file5"},{"photo_id":"1399433843","filename":"file2"},{"photo_id":"1399433845","filename":"file4"},{"photo_id":"1399433842","filename":"file1"},{"photo_id":"1399433840","filename":"file0"},{"photo_id":"1399433844","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399433844":["hashtag1","hashtag2"]},{"1399433840":["hashtag1","hashtag2"]},{"1399433843":["hashtag1","hashtag2"]},{"1399433846":["hashtag1","hashtag2"]},{"1399433845":["hashtag1","hashtag2"]},{"1399433842":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399433844, 1399433840, 1399433843, 1399433846, 1399433845, 1399433842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75438165664673 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 05:54:21.943961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/38/image_15122025_05_38_54_9867.jpg', '/home/pi/Desktop/images/15122025/05/39/image_15122025_05_39_14_9590.jpg', '/home/pi/Desktop/images/15122025/05/39/image_15122025_05_39_34_9808.jpg', '/home/pi/Desktop/images/15122025/05/39/image_15122025_05_39_45_10784.jpg', '/home/pi/Desktop/images/15122025/05/39/image_15122025_05_39_54_9806.jpg', '/home/pi/Desktop/images/15122025/05/39/image_15122025_05_40_04_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/38/image_15122025_05_38_54_9867.jpg
/home/pi/Desktop/images/15122025/05/39/image_15122025_05_39_14_9590.jpg
/home/pi/Desktop/images/15122025/05/39/image_15122025_05_39_34_9808.jpg
/home/pi/Desktop/images/15122025/05/39/image_15122025_05_39_45_10784.jpg
/home/pi/Desktop/images/15122025/05/39/image_15122025_05_39_54_9806.jpg
/home/pi/Desktop/images/15122025/05/39/image_15122025_05_40_04_9719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433862","1399433856","1399433859","1399433853","1399433861","1399433869"],"photo_ids_order":["1399433853","1399433856","1399433859","1399433861","1399433862","1399433869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fdf10951a1bbe7f5ec27132f68a263c1.jpg","text":"TemporaryFile(/tmp/multipartBody6812932827996893563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774522600,"filename":"image_15122025_05_39_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/15/8b4ca7727ca0fb501e011c2c7bc64a76.jpg","text":"TemporaryFile(/tmp/multipartBody5141828180780600535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774522600,"filename":"image_15122025_05_39_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/15/ba0a971c052ffa96475bd35515d127ff.jpg","text":"TemporaryFile(/tmp/multipartBody8152884263457045416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774522600,"filename":"image_15122025_05_39_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/15/44e695e4a76f09a81229254a275f334c.jpg","text":"TemporaryFile(/tmp/multipartBody1155780166040502095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774522600,"filename":"image_15122025_05_38_54_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/15/9c6d673f3f64286a5e7a658c39624e5d.jpg","text":"TemporaryFile(/tmp/multipartBody3531077207432075888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774522600,"filename":"image_15122025_05_39_45_10784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/89f68cf4ded6f2c985377a8089cb9ca3.jpg","text":"TemporaryFile(/tmp/multipartBody7712741934329663756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774522600,"filename":"image_15122025_05_40_04_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433859","file1":"1399433856","file0":"1399433853","file4":"1399433862","file5":"1399433869","file3":"1399433861"},"map_files_photo_id_array":[{"photo_id":"1399433869","filename":"file5"},{"photo_id":"1399433859","filename":"file2"},{"photo_id":"1399433862","filename":"file4"},{"photo_id":"1399433856","filename":"file1"},{"photo_id":"1399433853","filename":"file0"},{"photo_id":"1399433861","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433862":["hashtag1","hashtag2"]},{"1399433856":["hashtag1","hashtag2"]},{"1399433859":["hashtag1","hashtag2"]},{"1399433853":["hashtag1","hashtag2"]},{"1399433861":["hashtag1","hashtag2"]},{"1399433869":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433862, 1399433856, 1399433859, 1399433853, 1399433861, 1399433869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59236812591553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 05:55:02.819705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/40/image_15122025_05_40_14_9849.jpg', '/home/pi/Desktop/images/15122025/05/40/image_15122025_05_40_24_9785.jpg', '/home/pi/Desktop/images/15122025/05/40/image_15122025_05_40_35_10847.jpg', '/home/pi/Desktop/images/15122025/05/40/image_15122025_05_40_44_9099.jpg', '/home/pi/Desktop/images/15122025/05/40/image_15122025_05_40_54_10668.jpg', '/home/pi/Desktop/images/15122025/05/40/image_15122025_05_41_04_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/40/image_15122025_05_40_14_9849.jpg
/home/pi/Desktop/images/15122025/05/40/image_15122025_05_40_24_9785.jpg
/home/pi/Desktop/images/15122025/05/40/image_15122025_05_40_35_10847.jpg
/home/pi/Desktop/images/15122025/05/40/image_15122025_05_40_44_9099.jpg
/home/pi/Desktop/images/15122025/05/40/image_15122025_05_40_54_10668.jpg
/home/pi/Desktop/images/15122025/05/40/image_15122025_05_41_04_9738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433873","1399433882","1399433876","1399433896","1399433893","1399433872"],"photo_ids_order":["1399433872","1399433873","1399433876","1399433882","1399433893","1399433896"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/473953c7bd6380be07b12d836098fc47.jpg","text":"TemporaryFile(/tmp/multipartBody2039291097285365071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774563498,"filename":"image_15122025_05_40_24_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/edaaac2848d6183eafa3cb4db355d4a2.jpg","text":"TemporaryFile(/tmp/multipartBody5741797741510221907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774563498,"filename":"image_15122025_05_40_44_9099.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c812f964bd5a2b20fe7fb294037164c0.jpg","text":"TemporaryFile(/tmp/multipartBody1737570118231164495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774563498,"filename":"image_15122025_05_40_35_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/15/fd04e4196a73f837f49e09a41018893f.jpg","text":"TemporaryFile(/tmp/multipartBody3468303767006947422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774563498,"filename":"image_15122025_05_41_04_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8799a99a8bbd50f499c4bda545666178.jpg","text":"TemporaryFile(/tmp/multipartBody4883595172492868999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774563498,"filename":"image_15122025_05_40_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/15/d3a69cb38ca480007ac57970a5b72a0a.jpg","text":"TemporaryFile(/tmp/multipartBody3702293805007501068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774563498,"filename":"image_15122025_05_40_14_9849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433876","file1":"1399433873","file0":"1399433872","file4":"1399433893","file5":"1399433896","file3":"1399433882"},"map_files_photo_id_array":[{"photo_id":"1399433896","filename":"file5"},{"photo_id":"1399433876","filename":"file2"},{"photo_id":"1399433893","filename":"file4"},{"photo_id":"1399433873","filename":"file1"},{"photo_id":"1399433872","filename":"file0"},{"photo_id":"1399433882","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433873":["hashtag1","hashtag2"]},{"1399433882":["hashtag1","hashtag2"]},{"1399433876":["hashtag1","hashtag2"]},{"1399433896":["hashtag1","hashtag2"]},{"1399433893":["hashtag1","hashtag2"]},{"1399433872":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433873, 1399433882, 1399433876, 1399433896, 1399433893, 1399433872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51958179473877 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 05:55:42.052469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/43/image_05112025_13_43_31_2651.jpg', '/home/pi/Desktop/images/05112025/13/43/image_05112025_13_43_34_3002.jpg', '/home/pi/Desktop/images/05112025/13/43/image_05112025_13_43_36_2542.jpg', '/home/pi/Desktop/images/05112025/13/43/image_05112025_13_43_40_3587.jpg', '/home/pi/Desktop/images/05112025/13/43/image_05112025_13_43_42_2518.jpg', '/home/pi/Desktop/images/05112025/13/43/image_05112025_13_43_46_3681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/43/image_05112025_13_43_31_2651.jpg
/home/pi/Desktop/images/05112025/13/43/image_05112025_13_43_34_3002.jpg
/home/pi/Desktop/images/05112025/13/43/image_05112025_13_43_36_2542.jpg
/home/pi/Desktop/images/05112025/13/43/image_05112025_13_43_40_3587.jpg
/home/pi/Desktop/images/05112025/13/43/image_05112025_13_43_42_2518.jpg
/home/pi/Desktop/images/05112025/13/43/image_05112025_13_43_46_3681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433898","1399433897","1399433901","1399433900","1399433899","1399433902"],"photo_ids_order":["1399433897","1399433898","1399433899","1399433900","1399433901","1399433902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/284144fb6286ada5bb6976a434b223b5.jpg","text":"TemporaryFile(/tmp/multipartBody8079341909507871740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774602745,"filename":"image_05112025_13_43_34_3002.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2eaa9a92476bf30877d67e95a6ff1d72.jpg","text":"TemporaryFile(/tmp/multipartBody3832964365737436513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774602745,"filename":"image_05112025_13_43_31_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f97ea6b2eecc685e9715db3f54e4622b.jpg","text":"TemporaryFile(/tmp/multipartBody6237466723651116572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774602745,"filename":"image_05112025_13_43_42_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/15/683c6b6bad07df0afd6eddbfd6d73cf0.jpg","text":"TemporaryFile(/tmp/multipartBody2824585017362781921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774602745,"filename":"image_05112025_13_43_40_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/15/c5ebb90017d9e89efb4e3f973c9dea1a.jpg","text":"TemporaryFile(/tmp/multipartBody1278349156595539809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774602745,"filename":"image_05112025_13_43_36_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/15/0dd2e05b35edd2a90a61b27333dd1895.jpg","text":"TemporaryFile(/tmp/multipartBody1643379338020289771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774602745,"filename":"image_05112025_13_43_46_3681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433899","file1":"1399433898","file0":"1399433897","file4":"1399433901","file5":"1399433902","file3":"1399433900"},"map_files_photo_id_array":[{"photo_id":"1399433902","filename":"file5"},{"photo_id":"1399433899","filename":"file2"},{"photo_id":"1399433901","filename":"file4"},{"photo_id":"1399433898","filename":"file1"},{"photo_id":"1399433897","filename":"file0"},{"photo_id":"1399433900","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399433898":["hashtag1","hashtag2"]},{"1399433897":["hashtag1","hashtag2"]},{"1399433901":["hashtag1","hashtag2"]},{"1399433900":["hashtag1","hashtag2"]},{"1399433899":["hashtag1","hashtag2"]},{"1399433902":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399433898, 1399433897, 1399433901, 1399433900, 1399433899, 1399433902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.98812675476074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 05:56:32.350556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 05:56:42.315534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/43/image_05112025_13_43_53_7512.jpg', '/home/pi/Desktop/images/05112025/13/43/image_05112025_13_43_55_1706.jpg', '/home/pi/Desktop/images/05112025/13/43/image_05112025_13_43_57_1522.jpg', '/home/pi/Desktop/images/05112025/13/43/image_05112025_13_43_58_1536.jpg', '/home/pi/Desktop/images/05112025/13/44/image_05112025_13_44_20_21469.jpg', '/home/pi/Desktop/images/05112025/13/44/image_05112025_13_44_46_26325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/43/image_05112025_13_43_53_7512.jpg
/home/pi/Desktop/images/05112025/13/43/image_05112025_13_43_55_1706.jpg
/home/pi/Desktop/images/05112025/13/43/image_05112025_13_43_57_1522.jpg
/home/pi/Desktop/images/05112025/13/43/image_05112025_13_43_58_1536.jpg
/home/pi/Desktop/images/05112025/13/44/image_05112025_13_44_20_21469.jpg
/home/pi/Desktop/images/05112025/13/44/image_05112025_13_44_46_26325.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399433922","1399433921","1399433924","1399433927","1399433926","1399433914"],"photo_ids_order":["1399433914","1399433921","1399433922","1399433924","1399433926","1399433927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fc9a985543ce3e263f947444cae3e3a7.jpg","text":"TemporaryFile(/tmp/multipartBody6646548318752741942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774663037,"filename":"image_05112025_13_43_57_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/15/fd121250a802b07a3ea918c9a9a1224d.jpg","text":"TemporaryFile(/tmp/multipartBody931286575608052405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774663037,"filename":"image_05112025_13_43_55_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/15/c70b54d87037d82fd6947ad19e3dfe4e.jpg","text":"TemporaryFile(/tmp/multipartBody5645958873771571056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774663037,"filename":"image_05112025_13_43_58_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/15/61cf150b194ea8761064a2851088dbb0.jpg","text":"TemporaryFile(/tmp/multipartBody7364074642190238302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774663037,"filename":"image_05112025_13_44_46_26325.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0cd2e1931ea29bcf82de69d071a34e5e.jpg","text":"TemporaryFile(/tmp/multipartBody3307445439933285068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774663037,"filename":"image_05112025_13_44_20_21469.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b58e8319cb31c3c4b0220bfb96e49661.jpg","text":"TemporaryFile(/tmp/multipartBody8804595308649711089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774663037,"filename":"image_05112025_13_43_53_7512.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433922","file1":"1399433921","file0":"1399433914","file4":"1399433926","file5":"1399433927","file3":"1399433924"},"map_files_photo_id_array":[{"photo_id":"1399433927","filename":"file5"},{"photo_id":"1399433922","filename":"file2"},{"photo_id":"1399433926","filename":"file4"},{"photo_id":"1399433921","filename":"file1"},{"photo_id":"1399433914","filename":"file0"},{"photo_id":"1399433924","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399433922":["hashtag1","hashtag2"]},{"1399433921":["hashtag1","hashtag2"]},{"1399433924":["hashtag1","hashtag2"]},{"1399433927":["hashtag1","hashtag2"]},{"1399433926":["hashtag1","hashtag2"]},{"1399433914":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399433922, 1399433921, 1399433924, 1399433927, 1399433926, 1399433914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04958534240723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 05:57:22.607822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/41/image_15122025_05_41_14_9693.jpg', '/home/pi/Desktop/images/15122025/05/41/image_15122025_05_41_25_10724.jpg', '/home/pi/Desktop/images/15122025/05/41/image_15122025_05_41_34_9812.jpg', '/home/pi/Desktop/images/15122025/05/41/image_15122025_05_41_44_9635.jpg', '/home/pi/Desktop/images/15122025/05/41/image_15122025_05_41_55_10625.jpg', '/home/pi/Desktop/images/15122025/05/41/image_15122025_05_42_04_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/41/image_15122025_05_41_14_9693.jpg
/home/pi/Desktop/images/15122025/05/41/image_15122025_05_41_25_10724.jpg
/home/pi/Desktop/images/15122025/05/41/image_15122025_05_41_34_9812.jpg
/home/pi/Desktop/images/15122025/05/41/image_15122025_05_41_44_9635.jpg
/home/pi/Desktop/images/15122025/05/41/image_15122025_05_41_55_10625.jpg
/home/pi/Desktop/images/15122025/05/41/image_15122025_05_42_04_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":["1399433937","1399433940","1399433936","1399433932","1399433935","1399433938"],"photo_ids_order":["1399433932","1399433935","1399433936","1399433937","1399433938","1399433940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0526ac3df764713ad881dd8186930faa.jpg","text":"TemporaryFile(/tmp/multipartBody1767536325778778882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774703222,"filename":"image_15122025_05_41_44_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8c20aa5ccbf544978a18efd8d065a59a.jpg","text":"TemporaryFile(/tmp/multipartBody7644515008003730384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774703222,"filename":"image_15122025_05_42_04_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/236465daaedeaf540241a290f6a1ecf5.jpg","text":"TemporaryFile(/tmp/multipartBody6341453571881358878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774703222,"filename":"image_15122025_05_41_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/15/03131908a34390e3bb43129fca817e53.jpg","text":"TemporaryFile(/tmp/multipartBody6589132250521620472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774703222,"filename":"image_15122025_05_41_14_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7475c71e3a3228460123694dbd332155.jpg","text":"TemporaryFile(/tmp/multipartBody2694940353529926926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774703222,"filename":"image_15122025_05_41_25_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ab9f58317524fe50bb8ffcfcae01ec18.jpg","text":"TemporaryFile(/tmp/multipartBody3338551626152784811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774703222,"filename":"image_15122025_05_41_55_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399433936","file1":"1399433935","file0":"1399433932","file4":"1399433938","file5":"1399433940","file3":"1399433937"},"map_files_photo_id_array":[{"photo_id":"1399433940","filename":"file5"},{"photo_id":"1399433936","filename":"file2"},{"photo_id":"1399433938","filename":"file4"},{"photo_id":"1399433935","filename":"file1"},{"photo_id":"1399433932","filename":"file0"},{"photo_id":"1399433937","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399433937":["hashtag1","hashtag2"]},{"1399433940":["hashtag1","hashtag2"]},{"1399433936":["hashtag1","hashtag2"]},{"1399433932":["hashtag1","hashtag2"]},{"1399433935":["hashtag1","hashtag2"]},{"1399433938":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399433937, 1399433940, 1399433936, 1399433932, 1399433935, 1399433938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54167032241821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 05:59:02.773997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/42/image_15122025_05_42_14_9606.jpg', '/home/pi/Desktop/images/15122025/05/42/image_15122025_05_42_34_9687.jpg', '/home/pi/Desktop/images/15122025/05/42/image_15122025_05_42_44_9960.jpg', '/home/pi/Desktop/images/15122025/05/42/image_15122025_05_42_54_9707.jpg', '/home/pi/Desktop/images/15122025/05/42/image_15122025_05_43_04_9741.jpg', '/home/pi/Desktop/images/15122025/05/43/image_15122025_05_43_14_10728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/42/image_15122025_05_42_14_9606.jpg
/home/pi/Desktop/images/15122025/05/42/image_15122025_05_42_34_9687.jpg
/home/pi/Desktop/images/15122025/05/42/image_15122025_05_42_44_9960.jpg
/home/pi/Desktop/images/15122025/05/42/image_15122025_05_42_54_9707.jpg
/home/pi/Desktop/images/15122025/05/42/image_15122025_05_43_04_9741.jpg
/home/pi/Desktop/images/15122025/05/43/image_15122025_05_43_14_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":["1399434216","1399434290","1399434157","1399434253","1399434328","1399434174"],"photo_ids_order":["1399434157","1399434174","1399434216","1399434253","1399434290","1399434328"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9ea783043d8396cf59b0955adf54a7c8.jpg","text":"TemporaryFile(/tmp/multipartBody1571450224871443866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774803642,"filename":"image_15122025_05_42_44_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/15/e0847d3aeeb9e92cd6e30df55f4d3402.jpg","text":"TemporaryFile(/tmp/multipartBody350818680908693476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774803642,"filename":"image_15122025_05_43_04_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6afd9b023dec8b336f3eb1624b3e384e.jpg","text":"TemporaryFile(/tmp/multipartBody7224534793421404782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774803642,"filename":"image_15122025_05_42_14_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/01a505a58baabe926c83c434a7104f8e.jpg","text":"TemporaryFile(/tmp/multipartBody2709044196311538427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774803642,"filename":"image_15122025_05_42_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/15/4aaf2364760549480c9f8732f404d985.jpg","text":"TemporaryFile(/tmp/multipartBody7390226382973101053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774803642,"filename":"image_15122025_05_43_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/15/0850e30d588fe88778db9c57f2e2d13f.jpg","text":"TemporaryFile(/tmp/multipartBody1637490043249192072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774803642,"filename":"image_15122025_05_42_34_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399434216","file1":"1399434174","file0":"1399434157","file4":"1399434290","file5":"1399434328","file3":"1399434253"},"map_files_photo_id_array":[{"photo_id":"1399434328","filename":"file5"},{"photo_id":"1399434216","filename":"file2"},{"photo_id":"1399434290","filename":"file4"},{"photo_id":"1399434174","filename":"file1"},{"photo_id":"1399434157","filename":"file0"},{"photo_id":"1399434253","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399434216":["hashtag1","hashtag2"]},{"1399434290":["hashtag1","hashtag2"]},{"1399434157":["hashtag1","hashtag2"]},{"1399434253":["hashtag1","hashtag2"]},{"1399434328":["hashtag1","hashtag2"]},{"1399434174":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399434216, 1399434290, 1399434157, 1399434253, 1399434328, 1399434174)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.56721591949463 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 06:00:02.471019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/43/image_15122025_05_43_24_9883.jpg', '/home/pi/Desktop/images/15122025/05/43/image_15122025_05_43_34_9616.jpg', '/home/pi/Desktop/images/15122025/05/43/image_15122025_05_43_45_10683.jpg', '/home/pi/Desktop/images/15122025/05/44/image_15122025_05_44_14_9588.jpg', '/home/pi/Desktop/images/15122025/05/44/image_15122025_05_44_25_10633.jpg', '/home/pi/Desktop/images/15122025/05/44/image_15122025_05_44_34_9872.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/43/image_15122025_05_43_24_9883.jpg
/home/pi/Desktop/images/15122025/05/43/image_15122025_05_43_34_9616.jpg
/home/pi/Desktop/images/15122025/05/43/image_15122025_05_43_45_10683.jpg
/home/pi/Desktop/images/15122025/05/44/image_15122025_05_44_14_9588.jpg
/home/pi/Desktop/images/15122025/05/44/image_15122025_05_44_25_10633.jpg
/home/pi/Desktop/images/15122025/05/44/image_15122025_05_44_34_9872.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5535907745361328 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 06:00:12.052640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 06:00:22.061149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/43/image_15122025_05_43_24_9883.jpg', '/home/pi/Desktop/images/15122025/05/43/image_15122025_05_43_34_9616.jpg', '/home/pi/Desktop/images/15122025/05/43/image_15122025_05_43_45_10683.jpg', '/home/pi/Desktop/images/15122025/05/44/image_15122025_05_44_14_9588.jpg', '/home/pi/Desktop/images/15122025/05/44/image_15122025_05_44_25_10633.jpg', '/home/pi/Desktop/images/15122025/05/44/image_15122025_05_44_34_9872.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/43/image_15122025_05_43_24_9883.jpg
/home/pi/Desktop/images/15122025/05/43/image_15122025_05_43_34_9616.jpg
/home/pi/Desktop/images/15122025/05/43/image_15122025_05_43_45_10683.jpg
/home/pi/Desktop/images/15122025/05/44/image_15122025_05_44_14_9588.jpg
/home/pi/Desktop/images/15122025/05/44/image_15122025_05_44_25_10633.jpg
/home/pi/Desktop/images/15122025/05/44/image_15122025_05_44_34_9872.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399434813","1399434773","1399434956","1399434868","1399434955","1399434936"],"photo_ids_order":["1399434773","1399434813","1399434868","1399434936","1399434955","1399434956"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/70f7fea3badf200ab4fcebe671acd482.jpg","text":"TemporaryFile(/tmp/multipartBody638752768828721104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774882766,"filename":"image_15122025_05_43_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/15/f62cb796fcb5d46d6c9ccbf688a1f82e.jpg","text":"TemporaryFile(/tmp/multipartBody8762947814496426090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774882766,"filename":"image_15122025_05_43_24_9883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8e20f78c3000ea6306770d6f4b234e3d.jpg","text":"TemporaryFile(/tmp/multipartBody5135662211846256644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774882766,"filename":"image_15122025_05_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/15/68c1f41926e2adb45ac7f1869539dc91.jpg","text":"TemporaryFile(/tmp/multipartBody3377972442081582106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774882766,"filename":"image_15122025_05_43_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/15/382b6ce66073aa7ed89d8c26ced92417.jpg","text":"TemporaryFile(/tmp/multipartBody1222268412740775049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774882766,"filename":"image_15122025_05_44_25_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a838529da310f85649f12e9cb4e8d037.jpg","text":"TemporaryFile(/tmp/multipartBody3529456299158523107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774882766,"filename":"image_15122025_05_44_14_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399434868","file1":"1399434813","file0":"1399434773","file4":"1399434955","file5":"1399434956","file3":"1399434936"},"map_files_photo_id_array":[{"photo_id":"1399434956","filename":"file5"},{"photo_id":"1399434868","filename":"file2"},{"photo_id":"1399434955","filename":"file4"},{"photo_id":"1399434813","filename":"file1"},{"photo_id":"1399434773","filename":"file0"},{"photo_id":"1399434936","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399434813":["hashtag1","hashtag2"]},{"1399434773":["hashtag1","hashtag2"]},{"1399434956":["hashtag1","hashtag2"]},{"1399434868":["hashtag1","hashtag2"]},{"1399434955":["hashtag1","hashtag2"]},{"1399434936":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399434813, 1399434773, 1399434956, 1399434868, 1399434955, 1399434936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.62327742576599 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 06:01:12.328176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 06:01:22.244238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/44/image_15122025_05_44_44_9792.jpg', '/home/pi/Desktop/images/15122025/05/44/image_15122025_05_44_54_9616.jpg', '/home/pi/Desktop/images/15122025/05/44/image_15122025_05_45_05_10708.jpg', '/home/pi/Desktop/images/15122025/05/45/image_15122025_05_45_14_9717.jpg', '/home/pi/Desktop/images/15122025/05/45/image_15122025_05_45_24_9607.jpg', '/home/pi/Desktop/images/15122025/05/45/image_15122025_05_45_34_9860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/44/image_15122025_05_44_44_9792.jpg
/home/pi/Desktop/images/15122025/05/44/image_15122025_05_44_54_9616.jpg
/home/pi/Desktop/images/15122025/05/44/image_15122025_05_45_05_10708.jpg
/home/pi/Desktop/images/15122025/05/45/image_15122025_05_45_14_9717.jpg
/home/pi/Desktop/images/15122025/05/45/image_15122025_05_45_24_9607.jpg
/home/pi/Desktop/images/15122025/05/45/image_15122025_05_45_34_9860.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399434962","1399435022","1399434985","1399434964","1399434966","1399434960"],"photo_ids_order":["1399434960","1399434962","1399434964","1399434966","1399434985","1399435022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0046f75a5393963967127875386751a1.jpg","text":"TemporaryFile(/tmp/multipartBody5943766202411115740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774942863,"filename":"image_15122025_05_44_54_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/35e6579bbf07d9031920a4740e11f106.jpg","text":"TemporaryFile(/tmp/multipartBody2095375254521305610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774942863,"filename":"image_15122025_05_45_34_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/15/6e0476aa61a189509b5b036d43709a7d.jpg","text":"TemporaryFile(/tmp/multipartBody1298977312763898501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774942863,"filename":"image_15122025_05_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/15/f2ed43456942395ec630c7b2f8643ebf.jpg","text":"TemporaryFile(/tmp/multipartBody2809454840515316388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774942863,"filename":"image_15122025_05_45_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/15/a1727e6955fd83f4b60ffa1680c8e6dd.jpg","text":"TemporaryFile(/tmp/multipartBody7228998236351093632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774942863,"filename":"image_15122025_05_45_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/15/ceee3036fb1049ced049fe2a2ae989ea.jpg","text":"TemporaryFile(/tmp/multipartBody7355253029417525111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774942863,"filename":"image_15122025_05_44_44_9792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399434964","file1":"1399434962","file0":"1399434960","file4":"1399434985","file5":"1399435022","file3":"1399434966"},"map_files_photo_id_array":[{"photo_id":"1399435022","filename":"file5"},{"photo_id":"1399434964","filename":"file2"},{"photo_id":"1399434985","filename":"file4"},{"photo_id":"1399434962","filename":"file1"},{"photo_id":"1399434960","filename":"file0"},{"photo_id":"1399434966","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399434962":["hashtag1","hashtag2"]},{"1399435022":["hashtag1","hashtag2"]},{"1399434985":["hashtag1","hashtag2"]},{"1399434964":["hashtag1","hashtag2"]},{"1399434966":["hashtag1","hashtag2"]},{"1399434960":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399434962, 1399435022, 1399434985, 1399434964, 1399434966, 1399434960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91777849197388 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 06:02:02.958700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/45/image_15122025_05_45_44_10752.jpg', '/home/pi/Desktop/images/15122025/05/45/image_15122025_05_45_54_9685.jpg', '/home/pi/Desktop/images/15122025/05/45/image_15122025_05_46_04_9701.jpg', '/home/pi/Desktop/images/15122025/05/46/image_15122025_05_46_15_10748.jpg', '/home/pi/Desktop/images/15122025/05/46/image_15122025_05_46_24_9706.jpg', '/home/pi/Desktop/images/15122025/05/46/image_15122025_05_46_34_9861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/45/image_15122025_05_45_44_10752.jpg
/home/pi/Desktop/images/15122025/05/45/image_15122025_05_45_54_9685.jpg
/home/pi/Desktop/images/15122025/05/45/image_15122025_05_46_04_9701.jpg
/home/pi/Desktop/images/15122025/05/46/image_15122025_05_46_15_10748.jpg
/home/pi/Desktop/images/15122025/05/46/image_15122025_05_46_24_9706.jpg
/home/pi/Desktop/images/15122025/05/46/image_15122025_05_46_34_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":["1399435507","1399435537","1399435575","1399435470","1399435611","1399435434"],"photo_ids_order":["1399435434","1399435470","1399435507","1399435537","1399435575","1399435611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ac20678f3a4564921820b2e5611bbe85.jpg","text":"TemporaryFile(/tmp/multipartBody4136397273456526409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774983608,"filename":"image_15122025_05_46_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/15/d11f079dd42c55be97f78b8b84e45e55.jpg","text":"TemporaryFile(/tmp/multipartBody2234928433869796858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774983608,"filename":"image_15122025_05_46_15_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/def3aa0fbb856751d5ec9724a49fa3a0.jpg","text":"TemporaryFile(/tmp/multipartBody7222674888583106358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774983608,"filename":"image_15122025_05_46_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/15/e0c0f3ce92ff46b8cafd3c397f12192b.jpg","text":"TemporaryFile(/tmp/multipartBody5994577266109831320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774983608,"filename":"image_15122025_05_45_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/15/d28fc3dcb1a9e8afdac6cef278d3a171.jpg","text":"TemporaryFile(/tmp/multipartBody8268936168814974753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774983608,"filename":"image_15122025_05_46_34_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/15/6135127f038e8fc52c5bf808b93156cc.jpg","text":"TemporaryFile(/tmp/multipartBody3833753889418557173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765774983608,"filename":"image_15122025_05_45_44_10752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399435507","file1":"1399435470","file0":"1399435434","file4":"1399435575","file5":"1399435611","file3":"1399435537"},"map_files_photo_id_array":[{"photo_id":"1399435611","filename":"file5"},{"photo_id":"1399435507","filename":"file2"},{"photo_id":"1399435575","filename":"file4"},{"photo_id":"1399435470","filename":"file1"},{"photo_id":"1399435434","filename":"file0"},{"photo_id":"1399435537","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399435507":["hashtag1","hashtag2"]},{"1399435537":["hashtag1","hashtag2"]},{"1399435575":["hashtag1","hashtag2"]},{"1399435470":["hashtag1","hashtag2"]},{"1399435611":["hashtag1","hashtag2"]},{"1399435434":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399435507, 1399435537, 1399435575, 1399435470, 1399435611, 1399435434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.292762756347656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 06:02:42.482756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/44/image_05112025_13_44_48_1679.jpg', '/home/pi/Desktop/images/05112025/13/47/image_05112025_13_47_24_12900.jpg', '/home/pi/Desktop/images/05112025/13/47/image_05112025_13_47_26_1668.jpg', '/home/pi/Desktop/images/05112025/13/47/image_05112025_13_47_27_1504.jpg', '/home/pi/Desktop/images/05112025/13/47/image_05112025_13_47_29_1660.jpg', '/home/pi/Desktop/images/05112025/13/47/image_05112025_13_47_31_1769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/44/image_05112025_13_44_48_1679.jpg
/home/pi/Desktop/images/05112025/13/47/image_05112025_13_47_24_12900.jpg
/home/pi/Desktop/images/05112025/13/47/image_05112025_13_47_26_1668.jpg
/home/pi/Desktop/images/05112025/13/47/image_05112025_13_47_27_1504.jpg
/home/pi/Desktop/images/05112025/13/47/image_05112025_13_47_29_1660.jpg
/home/pi/Desktop/images/05112025/13/47/image_05112025_13_47_31_1769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399435739","1399435738","1399435732","1399435680","1399435740","1399435722"],"photo_ids_order":["1399435680","1399435722","1399435732","1399435738","1399435739","1399435740"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c3f463cfbe79794b9ac4b8aebcec1694.jpg","text":"TemporaryFile(/tmp/multipartBody3268126978763066374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775023187,"filename":"image_05112025_13_47_29_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/15/fcf5fc79b256af1e2a66b808514b56a1.jpg","text":"TemporaryFile(/tmp/multipartBody5138183958676904838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775023187,"filename":"image_05112025_13_47_27_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/15/4d008f4a8884de6555c25d22ea097579.jpg","text":"TemporaryFile(/tmp/multipartBody7120009964280830251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775023187,"filename":"image_05112025_13_47_26_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/15/f176497342599c7abb1a06e5a47554f1.jpg","text":"TemporaryFile(/tmp/multipartBody517388380419858072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775023187,"filename":"image_05112025_13_44_48_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/15/df7a73736a276ea3f6bd44b64517ec9c.jpg","text":"TemporaryFile(/tmp/multipartBody3964621250239231376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775023187,"filename":"image_05112025_13_47_31_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/15/2d0cf6191c0308a8eb00ce6876c53e09.jpg","text":"TemporaryFile(/tmp/multipartBody6706368601144848948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775023187,"filename":"image_05112025_13_47_24_12900.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399435732","file1":"1399435722","file0":"1399435680","file4":"1399435739","file5":"1399435740","file3":"1399435738"},"map_files_photo_id_array":[{"photo_id":"1399435740","filename":"file5"},{"photo_id":"1399435732","filename":"file2"},{"photo_id":"1399435739","filename":"file4"},{"photo_id":"1399435722","filename":"file1"},{"photo_id":"1399435680","filename":"file0"},{"photo_id":"1399435738","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399435739":["hashtag1","hashtag2"]},{"1399435738":["hashtag1","hashtag2"]},{"1399435732":["hashtag1","hashtag2"]},{"1399435680":["hashtag1","hashtag2"]},{"1399435740":["hashtag1","hashtag2"]},{"1399435722":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399435739, 1399435738, 1399435732, 1399435680, 1399435740, 1399435722)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.57595252990723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 06:03:32.843901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 06:03:42.718888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/47/image_05112025_13_47_32_1658.jpg', '/home/pi/Desktop/images/05112025/13/47/image_05112025_13_47_34_1602.jpg', '/home/pi/Desktop/images/05112025/13/47/image_05112025_13_47_52_17493.jpg', '/home/pi/Desktop/images/05112025/13/47/image_05112025_13_47_53_1628.jpg', '/home/pi/Desktop/images/05112025/13/47/image_05112025_13_48_00_7210.jpg', '/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_02_1513.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/47/image_05112025_13_47_32_1658.jpg
/home/pi/Desktop/images/05112025/13/47/image_05112025_13_47_34_1602.jpg
/home/pi/Desktop/images/05112025/13/47/image_05112025_13_47_52_17493.jpg
/home/pi/Desktop/images/05112025/13/47/image_05112025_13_47_53_1628.jpg
/home/pi/Desktop/images/05112025/13/47/image_05112025_13_48_00_7210.jpg
/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_02_1513.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399435757","1399435751","1399435760","1399435748","1399435753","1399435755"],"photo_ids_order":["1399435748","1399435751","1399435753","1399435755","1399435757","1399435760"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3bf85ebf6a6ee60fed78937f65f2b1ea.jpg","text":"TemporaryFile(/tmp/multipartBody7356804405654388314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775083505,"filename":"image_05112025_13_48_00_7210.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2bf32adeb1f6062d6e3095960e86ff1d.jpg","text":"TemporaryFile(/tmp/multipartBody61533934162827105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775083505,"filename":"image_05112025_13_47_34_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/15/317329c1e30bd59b2bfd2ad4329d0cea.jpg","text":"TemporaryFile(/tmp/multipartBody5826716903114655925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775083505,"filename":"image_05112025_13_48_02_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/15/b1230565cc5ddc8281b11d4d34176e33.jpg","text":"TemporaryFile(/tmp/multipartBody1680617377807494391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775083505,"filename":"image_05112025_13_47_32_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/15/78293e816605f9f0af6fd5cc961ff05c.jpg","text":"TemporaryFile(/tmp/multipartBody6800736850151619523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775083505,"filename":"image_05112025_13_47_52_17493.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0bb5c9480120c178538515705c726f2d.jpg","text":"TemporaryFile(/tmp/multipartBody1416353623233424204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775083505,"filename":"image_05112025_13_47_53_1628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399435753","file1":"1399435751","file0":"1399435748","file4":"1399435757","file5":"1399435760","file3":"1399435755"},"map_files_photo_id_array":[{"photo_id":"1399435760","filename":"file5"},{"photo_id":"1399435753","filename":"file2"},{"photo_id":"1399435757","filename":"file4"},{"photo_id":"1399435751","filename":"file1"},{"photo_id":"1399435748","filename":"file0"},{"photo_id":"1399435755","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399435757":["hashtag1","hashtag2"]},{"1399435751":["hashtag1","hashtag2"]},{"1399435760":["hashtag1","hashtag2"]},{"1399435748":["hashtag1","hashtag2"]},{"1399435753":["hashtag1","hashtag2"]},{"1399435755":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399435757, 1399435751, 1399435760, 1399435748, 1399435753, 1399435755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.410685777664185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 06:04:22.000130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/46/image_15122025_05_46_44_9655.jpg', '/home/pi/Desktop/images/15122025/05/46/image_15122025_05_46_54_10609.jpg', '/home/pi/Desktop/images/15122025/05/46/image_15122025_05_47_05_10106.jpg', '/home/pi/Desktop/images/15122025/05/47/image_15122025_05_47_14_9751.jpg', '/home/pi/Desktop/images/15122025/05/47/image_15122025_05_47_24_9524.jpg', '/home/pi/Desktop/images/15122025/05/47/image_15122025_05_47_35_10688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/46/image_15122025_05_46_44_9655.jpg
/home/pi/Desktop/images/15122025/05/46/image_15122025_05_46_54_10609.jpg
/home/pi/Desktop/images/15122025/05/46/image_15122025_05_47_05_10106.jpg
/home/pi/Desktop/images/15122025/05/47/image_15122025_05_47_14_9751.jpg
/home/pi/Desktop/images/15122025/05/47/image_15122025_05_47_24_9524.jpg
/home/pi/Desktop/images/15122025/05/47/image_15122025_05_47_35_10688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399435778","1399435766","1399435774","1399435770","1399435764","1399435776"],"photo_ids_order":["1399435764","1399435766","1399435770","1399435774","1399435776","1399435778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/433d292c41fb46a72f7e3caa7053726f.jpg","text":"TemporaryFile(/tmp/multipartBody2936124174308519389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775122651,"filename":"image_15122025_05_47_35_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/aa34f88885b084cd45b2a00eb5e7ca69.jpg","text":"TemporaryFile(/tmp/multipartBody3413568962867472125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775122651,"filename":"image_15122025_05_46_54_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/22b08ce59a7e63123e4cf5c108f8f01c.jpg","text":"TemporaryFile(/tmp/multipartBody6491846465710923777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775122651,"filename":"image_15122025_05_47_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/15/91d6f2f9fd8dcfa567a0a1bc6505d0e5.jpg","text":"TemporaryFile(/tmp/multipartBody4260731135041471635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775122651,"filename":"image_15122025_05_47_05_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/15/154371d2d32a49e3001f4616b6192111.jpg","text":"TemporaryFile(/tmp/multipartBody4691245496813573252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775122651,"filename":"image_15122025_05_46_44_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/05c1f749e0ac3b57c744ce8c4fa9a702.jpg","text":"TemporaryFile(/tmp/multipartBody2661266375667560153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775122651,"filename":"image_15122025_05_47_24_9524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399435770","file1":"1399435766","file0":"1399435764","file4":"1399435776","file5":"1399435778","file3":"1399435774"},"map_files_photo_id_array":[{"photo_id":"1399435778","filename":"file5"},{"photo_id":"1399435770","filename":"file2"},{"photo_id":"1399435776","filename":"file4"},{"photo_id":"1399435766","filename":"file1"},{"photo_id":"1399435764","filename":"file0"},{"photo_id":"1399435774","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399435778":["hashtag1","hashtag2"]},{"1399435766":["hashtag1","hashtag2"]},{"1399435774":["hashtag1","hashtag2"]},{"1399435770":["hashtag1","hashtag2"]},{"1399435764":["hashtag1","hashtag2"]},{"1399435776":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399435778, 1399435766, 1399435774, 1399435770, 1399435764, 1399435776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.805057525634766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 06:05:02.998228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/47/image_15122025_05_47_44_9620.jpg', '/home/pi/Desktop/images/15122025/05/47/image_15122025_05_47_54_9805.jpg', '/home/pi/Desktop/images/15122025/05/47/image_15122025_05_48_05_10676.jpg', '/home/pi/Desktop/images/15122025/05/48/image_15122025_05_48_14_9644.jpg', '/home/pi/Desktop/images/15122025/05/48/image_15122025_05_48_24_9889.jpg', '/home/pi/Desktop/images/15122025/05/48/image_15122025_05_48_45_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/47/image_15122025_05_47_44_9620.jpg
/home/pi/Desktop/images/15122025/05/47/image_15122025_05_47_54_9805.jpg
/home/pi/Desktop/images/15122025/05/47/image_15122025_05_48_05_10676.jpg
/home/pi/Desktop/images/15122025/05/48/image_15122025_05_48_14_9644.jpg
/home/pi/Desktop/images/15122025/05/48/image_15122025_05_48_24_9889.jpg
/home/pi/Desktop/images/15122025/05/48/image_15122025_05_48_45_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":["1399435808","1399435786","1399435805","1399435797","1399435801","1399435803"],"photo_ids_order":["1399435786","1399435797","1399435801","1399435803","1399435805","1399435808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/72028ef956ed80da6d5d7bcbd4f107d6.jpg","text":"TemporaryFile(/tmp/multipartBody2422071800366985358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775163665,"filename":"image_15122025_05_48_45_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/439ba8eaa620229113a45117e46aa628.jpg","text":"TemporaryFile(/tmp/multipartBody4835737729257346719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775163665,"filename":"image_15122025_05_47_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/15/ff4ecef7b8bfc3c4852ba9cdaea57db7.jpg","text":"TemporaryFile(/tmp/multipartBody2998022367533284338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775163665,"filename":"image_15122025_05_48_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/15/42bda7766a03295602cb0040f471953b.jpg","text":"TemporaryFile(/tmp/multipartBody8291480911864038995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775163665,"filename":"image_15122025_05_47_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/15/bac2056c776c17bbe3cc79b88a201f29.jpg","text":"TemporaryFile(/tmp/multipartBody3060396422226937701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775163665,"filename":"image_15122025_05_48_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/15/3d0c2daa26ea7822b69ae0a72bc202c9.jpg","text":"TemporaryFile(/tmp/multipartBody675633649821071726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775163665,"filename":"image_15122025_05_48_14_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399435801","file1":"1399435797","file0":"1399435786","file4":"1399435805","file5":"1399435808","file3":"1399435803"},"map_files_photo_id_array":[{"photo_id":"1399435808","filename":"file5"},{"photo_id":"1399435801","filename":"file2"},{"photo_id":"1399435805","filename":"file4"},{"photo_id":"1399435797","filename":"file1"},{"photo_id":"1399435786","filename":"file0"},{"photo_id":"1399435803","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399435808":["hashtag1","hashtag2"]},{"1399435786":["hashtag1","hashtag2"]},{"1399435805":["hashtag1","hashtag2"]},{"1399435797":["hashtag1","hashtag2"]},{"1399435801":["hashtag1","hashtag2"]},{"1399435803":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399435808, 1399435786, 1399435805, 1399435797, 1399435801, 1399435803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.297242403030396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 06:05:42.110274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_09_7398.jpg', '/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_12_1581.jpg', '/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_14_1819.jpg', '/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_16_1634.jpg', '/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_17_1517.jpg', '/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_19_1624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_09_7398.jpg
/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_12_1581.jpg
/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_14_1819.jpg
/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_16_1634.jpg
/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_17_1517.jpg
/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_19_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":["1399435817","1399435816","1399435819","1399435813","1399435821","1399435818"],"photo_ids_order":["1399435813","1399435816","1399435817","1399435818","1399435819","1399435821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/01a108adec815369b241e58bb81e1f7b.jpg","text":"TemporaryFile(/tmp/multipartBody1965054010542705267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775202830,"filename":"image_05112025_13_48_14_1819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7218c15c763e0acfa170b7060fbc0799.jpg","text":"TemporaryFile(/tmp/multipartBody6184695991678209826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775202830,"filename":"image_05112025_13_48_12_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/15/2c5dd80844a380b51520fbe272fa0112.jpg","text":"TemporaryFile(/tmp/multipartBody7645699682109060459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775202830,"filename":"image_05112025_13_48_17_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/15/df9afbedd8c7e2f40f2a81eef2a94e6e.jpg","text":"TemporaryFile(/tmp/multipartBody7461374946805459710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775202830,"filename":"image_05112025_13_48_09_7398.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d4508b0216acfd9027c747eb31ca0b3c.jpg","text":"TemporaryFile(/tmp/multipartBody4479134317356300525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775202830,"filename":"image_05112025_13_48_19_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ed845d9ffd3478f223580192d38412f5.jpg","text":"TemporaryFile(/tmp/multipartBody1282493185267611116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775202830,"filename":"image_05112025_13_48_16_1634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399435817","file1":"1399435816","file0":"1399435813","file4":"1399435819","file5":"1399435821","file3":"1399435818"},"map_files_photo_id_array":[{"photo_id":"1399435821","filename":"file5"},{"photo_id":"1399435817","filename":"file2"},{"photo_id":"1399435819","filename":"file4"},{"photo_id":"1399435816","filename":"file1"},{"photo_id":"1399435813","filename":"file0"},{"photo_id":"1399435818","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399435817":["hashtag1","hashtag2"]},{"1399435816":["hashtag1","hashtag2"]},{"1399435819":["hashtag1","hashtag2"]},{"1399435813":["hashtag1","hashtag2"]},{"1399435821":["hashtag1","hashtag2"]},{"1399435818":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399435817, 1399435816, 1399435819, 1399435813, 1399435821, 1399435818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.646671295166016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 06:06:22.493262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/48/image_15122025_05_48_54_9640.jpg', '/home/pi/Desktop/images/15122025/05/48/image_15122025_05_49_04_9641.jpg', '/home/pi/Desktop/images/15122025/05/49/image_15122025_05_49_14_9839.jpg', '/home/pi/Desktop/images/15122025/05/49/image_15122025_05_49_24_10621.jpg', '/home/pi/Desktop/images/15122025/05/49/image_15122025_05_49_34_9729.jpg', '/home/pi/Desktop/images/15122025/05/49/image_15122025_05_49_44_10212.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/48/image_15122025_05_48_54_9640.jpg
/home/pi/Desktop/images/15122025/05/48/image_15122025_05_49_04_9641.jpg
/home/pi/Desktop/images/15122025/05/49/image_15122025_05_49_14_9839.jpg
/home/pi/Desktop/images/15122025/05/49/image_15122025_05_49_24_10621.jpg
/home/pi/Desktop/images/15122025/05/49/image_15122025_05_49_34_9729.jpg
/home/pi/Desktop/images/15122025/05/49/image_15122025_05_49_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":["1399435849","1399435834","1399435827","1399435842","1399435836","1399435830"],"photo_ids_order":["1399435827","1399435830","1399435834","1399435836","1399435842","1399435849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fc1bf7ef1b2dab86b78787f627918662.jpg","text":"TemporaryFile(/tmp/multipartBody4254267722355814598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775243146,"filename":"image_15122025_05_49_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/15/e87987bdda8d94b4a527a06c97b61c6d.jpg","text":"TemporaryFile(/tmp/multipartBody2266506742474397220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775243146,"filename":"image_15122025_05_49_14_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/281ab0e5db72db01d7260239a50766e4.jpg","text":"TemporaryFile(/tmp/multipartBody8469102995043911823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775243146,"filename":"image_15122025_05_48_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f26728b01cc60353731e7b3551193903.jpg","text":"TemporaryFile(/tmp/multipartBody7860086569650883753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775243146,"filename":"image_15122025_05_49_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/15/b9698709631c75f6ecf2a0a5a50c951e.jpg","text":"TemporaryFile(/tmp/multipartBody447219193555050380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775243146,"filename":"image_15122025_05_49_24_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/473aae3412412ef310fae1629c9da1f6.jpg","text":"TemporaryFile(/tmp/multipartBody6522777502829510743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775243146,"filename":"image_15122025_05_49_04_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399435834","file1":"1399435830","file0":"1399435827","file4":"1399435842","file5":"1399435849","file3":"1399435836"},"map_files_photo_id_array":[{"photo_id":"1399435849","filename":"file5"},{"photo_id":"1399435834","filename":"file2"},{"photo_id":"1399435842","filename":"file4"},{"photo_id":"1399435830","filename":"file1"},{"photo_id":"1399435827","filename":"file0"},{"photo_id":"1399435836","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399435849":["hashtag1","hashtag2"]},{"1399435834":["hashtag1","hashtag2"]},{"1399435827":["hashtag1","hashtag2"]},{"1399435842":["hashtag1","hashtag2"]},{"1399435836":["hashtag1","hashtag2"]},{"1399435830":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399435849, 1399435834, 1399435827, 1399435842, 1399435836, 1399435830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01507878303528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 06:07:03.223919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/49/image_15122025_05_49_54_9698.jpg', '/home/pi/Desktop/images/15122025/05/49/image_15122025_05_50_04_9796.jpg', '/home/pi/Desktop/images/15122025/05/50/image_15122025_05_50_15_10881.jpg', '/home/pi/Desktop/images/15122025/05/50/image_15122025_05_50_24_9739.jpg', '/home/pi/Desktop/images/15122025/05/50/image_15122025_05_50_34_9746.jpg', '/home/pi/Desktop/images/15122025/05/50/image_15122025_05_50_44_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/49/image_15122025_05_49_54_9698.jpg
/home/pi/Desktop/images/15122025/05/49/image_15122025_05_50_04_9796.jpg
/home/pi/Desktop/images/15122025/05/50/image_15122025_05_50_15_10881.jpg
/home/pi/Desktop/images/15122025/05/50/image_15122025_05_50_24_9739.jpg
/home/pi/Desktop/images/15122025/05/50/image_15122025_05_50_34_9746.jpg
/home/pi/Desktop/images/15122025/05/50/image_15122025_05_50_44_9606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399435862","1399435865","1399435870","1399435861","1399435863","1399435868"],"photo_ids_order":["1399435861","1399435862","1399435863","1399435865","1399435868","1399435870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f0f2cb833a0e10d68d314e419b22938c.jpg","text":"TemporaryFile(/tmp/multipartBody3976056000358355097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775283902,"filename":"image_15122025_05_50_04_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0872d6b638ea0531153105b38338c610.jpg","text":"TemporaryFile(/tmp/multipartBody968444877951286114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775283902,"filename":"image_15122025_05_50_24_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/305cc3836d396592edcd82c4115302db.jpg","text":"TemporaryFile(/tmp/multipartBody8559684231447916730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775283902,"filename":"image_15122025_05_50_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/15/191cced643f3cf9503bf884a5d62ee61.jpg","text":"TemporaryFile(/tmp/multipartBody1613559143551009750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775283902,"filename":"image_15122025_05_49_54_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5222eff39d18e95252be7eec4646adbe.jpg","text":"TemporaryFile(/tmp/multipartBody6764925644335134182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775283902,"filename":"image_15122025_05_50_15_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/15/7adf6c303fd3f7682fa44f4ccf05e8f5.jpg","text":"TemporaryFile(/tmp/multipartBody4731470634891220072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775283902,"filename":"image_15122025_05_50_34_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399435863","file1":"1399435862","file0":"1399435861","file4":"1399435868","file5":"1399435870","file3":"1399435865"},"map_files_photo_id_array":[{"photo_id":"1399435870","filename":"file5"},{"photo_id":"1399435863","filename":"file2"},{"photo_id":"1399435868","filename":"file4"},{"photo_id":"1399435862","filename":"file1"},{"photo_id":"1399435861","filename":"file0"},{"photo_id":"1399435865","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399435862":["hashtag1","hashtag2"]},{"1399435865":["hashtag1","hashtag2"]},{"1399435870":["hashtag1","hashtag2"]},{"1399435861":["hashtag1","hashtag2"]},{"1399435863":["hashtag1","hashtag2"]},{"1399435868":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399435862, 1399435865, 1399435870, 1399435861, 1399435863, 1399435868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.99757194519043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 06:07:42.594844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_21_1598.jpg', '/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_22_1665.jpg', '/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_24_1535.jpg', '/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_26_2042.jpg', '/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_28_1662.jpg', '/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_29_1532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_21_1598.jpg
/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_22_1665.jpg
/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_24_1535.jpg
/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_26_2042.jpg
/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_28_1662.jpg
/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_29_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":["1399435877","1399435879","1399435881","1399435878","1399435875","1399435880"],"photo_ids_order":["1399435875","1399435877","1399435878","1399435879","1399435880","1399435881"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4acd1380aa8f96f1d6f7901604a4b33e.jpg","text":"TemporaryFile(/tmp/multipartBody4966253669153121861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775323289,"filename":"image_05112025_13_48_22_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/15/8159b1af7457a6dd0cc5d732046be921.jpg","text":"TemporaryFile(/tmp/multipartBody2074586312155960257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775323289,"filename":"image_05112025_13_48_26_2042.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c3078ec6238d55f9fc51a43df7cc81c5.jpg","text":"TemporaryFile(/tmp/multipartBody8914845939916607043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775323289,"filename":"image_05112025_13_48_29_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/15/1972b58c2a5b4876d5ee8e0b39f6b951.jpg","text":"TemporaryFile(/tmp/multipartBody1307848362565790066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775323289,"filename":"image_05112025_13_48_24_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/15/fca1b4910a2ca9c338f48401ddf40ab1.jpg","text":"TemporaryFile(/tmp/multipartBody4470670198142437216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775323289,"filename":"image_05112025_13_48_21_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/15/254769b6acdee5243876b952c590a2b8.jpg","text":"TemporaryFile(/tmp/multipartBody4095816104772351701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775323289,"filename":"image_05112025_13_48_28_1662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399435878","file1":"1399435877","file0":"1399435875","file4":"1399435880","file5":"1399435881","file3":"1399435879"},"map_files_photo_id_array":[{"photo_id":"1399435881","filename":"file5"},{"photo_id":"1399435878","filename":"file2"},{"photo_id":"1399435880","filename":"file4"},{"photo_id":"1399435877","filename":"file1"},{"photo_id":"1399435875","filename":"file0"},{"photo_id":"1399435879","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399435877":["hashtag1","hashtag2"]},{"1399435879":["hashtag1","hashtag2"]},{"1399435881":["hashtag1","hashtag2"]},{"1399435878":["hashtag1","hashtag2"]},{"1399435875":["hashtag1","hashtag2"]},{"1399435880":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399435877, 1399435879, 1399435881, 1399435878, 1399435875, 1399435880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28805232048035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 06:08:22.867413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/50/image_15122025_05_50_54_10668.jpg', '/home/pi/Desktop/images/15122025/05/50/image_15122025_05_51_04_9730.jpg', '/home/pi/Desktop/images/15122025/05/51/image_15122025_05_51_14_9848.jpg', '/home/pi/Desktop/images/15122025/05/51/image_15122025_05_51_24_9713.jpg', '/home/pi/Desktop/images/15122025/05/51/image_15122025_05_51_34_10669.jpg', '/home/pi/Desktop/images/15122025/05/51/image_15122025_05_51_44_9533.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/50/image_15122025_05_50_54_10668.jpg
/home/pi/Desktop/images/15122025/05/50/image_15122025_05_51_04_9730.jpg
/home/pi/Desktop/images/15122025/05/51/image_15122025_05_51_14_9848.jpg
/home/pi/Desktop/images/15122025/05/51/image_15122025_05_51_24_9713.jpg
/home/pi/Desktop/images/15122025/05/51/image_15122025_05_51_34_10669.jpg
/home/pi/Desktop/images/15122025/05/51/image_15122025_05_51_44_9533.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399435907","1399435890","1399435893","1399435887","1399435902","1399435895"],"photo_ids_order":["1399435887","1399435890","1399435893","1399435895","1399435902","1399435907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/859b1274ae8ce9aeb9574f9a5c0be641.jpg","text":"TemporaryFile(/tmp/multipartBody3272347209707591919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775363488,"filename":"image_15122025_05_51_44_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/15/9b5a3519c2e7a6188db0d7d772b0330f.jpg","text":"TemporaryFile(/tmp/multipartBody5342411602899453083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775363488,"filename":"image_15122025_05_51_04_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f5f8582d37573b75681c84a5c4d254e3.jpg","text":"TemporaryFile(/tmp/multipartBody744511295582156649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775363488,"filename":"image_15122025_05_51_14_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9c62410f5859f009a4f7560b94711209.jpg","text":"TemporaryFile(/tmp/multipartBody1886562669043239810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775363488,"filename":"image_15122025_05_50_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/15/6559bdc59a2d03cb768cc1a382069678.jpg","text":"TemporaryFile(/tmp/multipartBody1729865795078416292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775363488,"filename":"image_15122025_05_51_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/15/062e2c53830752ef715a31ac5a8cf644.jpg","text":"TemporaryFile(/tmp/multipartBody1873794110491471404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775363488,"filename":"image_15122025_05_51_24_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399435893","file1":"1399435890","file0":"1399435887","file4":"1399435902","file5":"1399435907","file3":"1399435895"},"map_files_photo_id_array":[{"photo_id":"1399435907","filename":"file5"},{"photo_id":"1399435893","filename":"file2"},{"photo_id":"1399435902","filename":"file4"},{"photo_id":"1399435890","filename":"file1"},{"photo_id":"1399435887","filename":"file0"},{"photo_id":"1399435895","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399435907":["hashtag1","hashtag2"]},{"1399435890":["hashtag1","hashtag2"]},{"1399435893":["hashtag1","hashtag2"]},{"1399435887":["hashtag1","hashtag2"]},{"1399435902":["hashtag1","hashtag2"]},{"1399435895":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399435907, 1399435890, 1399435893, 1399435887, 1399435902, 1399435895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.805349349975586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 06:09:02.954306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/51/image_15122025_05_52_05_10655.jpg', '/home/pi/Desktop/images/15122025/05/52/image_15122025_05_52_14_9603.jpg', '/home/pi/Desktop/images/15122025/05/52/image_15122025_05_52_24_10020.jpg', '/home/pi/Desktop/images/15122025/05/52/image_15122025_05_52_34_9663.jpg', '/home/pi/Desktop/images/15122025/05/52/image_15122025_05_52_45_10825.jpg', '/home/pi/Desktop/images/15122025/05/52/image_15122025_05_52_54_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/51/image_15122025_05_52_05_10655.jpg
/home/pi/Desktop/images/15122025/05/52/image_15122025_05_52_14_9603.jpg
/home/pi/Desktop/images/15122025/05/52/image_15122025_05_52_24_10020.jpg
/home/pi/Desktop/images/15122025/05/52/image_15122025_05_52_34_9663.jpg
/home/pi/Desktop/images/15122025/05/52/image_15122025_05_52_45_10825.jpg
/home/pi/Desktop/images/15122025/05/52/image_15122025_05_52_54_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":["1399435922","1399435919","1399435913","1399435915","1399435917","1399435911"],"photo_ids_order":["1399435911","1399435913","1399435915","1399435917","1399435919","1399435922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/20e4f1190ebf2fbb0df45c8ad02f3fc2.jpg","text":"TemporaryFile(/tmp/multipartBody5874209500200346242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775403699,"filename":"image_15122025_05_52_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/15/452adce9ee6a926867bceb18ef6841b3.jpg","text":"TemporaryFile(/tmp/multipartBody854040697633234243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775403699,"filename":"image_15122025_05_52_45_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/15/9b010fea49cff19ec6579ebd07c8f9a1.jpg","text":"TemporaryFile(/tmp/multipartBody2484538382137183157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775403699,"filename":"image_15122025_05_52_14_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1d4dccddf0ab987b31b93f3b5ac29641.jpg","text":"TemporaryFile(/tmp/multipartBody5865253333131786477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775403699,"filename":"image_15122025_05_52_24_10020.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/77a20a9bc5c5b05e144d516a78994a2a.jpg","text":"TemporaryFile(/tmp/multipartBody4412246694759064287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775403699,"filename":"image_15122025_05_52_34_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/516001b310c936f154e8ac24b4fdeee6.jpg","text":"TemporaryFile(/tmp/multipartBody6123022337713940347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775403699,"filename":"image_15122025_05_52_05_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399435915","file1":"1399435913","file0":"1399435911","file4":"1399435919","file5":"1399435922","file3":"1399435917"},"map_files_photo_id_array":[{"photo_id":"1399435922","filename":"file5"},{"photo_id":"1399435915","filename":"file2"},{"photo_id":"1399435919","filename":"file4"},{"photo_id":"1399435913","filename":"file1"},{"photo_id":"1399435911","filename":"file0"},{"photo_id":"1399435917","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399435922":["hashtag1","hashtag2"]},{"1399435919":["hashtag1","hashtag2"]},{"1399435913":["hashtag1","hashtag2"]},{"1399435915":["hashtag1","hashtag2"]},{"1399435917":["hashtag1","hashtag2"]},{"1399435911":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399435922, 1399435919, 1399435913, 1399435915, 1399435917, 1399435911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.365145206451416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 06:09:42.004509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_31_1763.jpg', '/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_33_1653.jpg', '/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_34_1624.jpg', '/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_36_1627.jpg', '/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_38_2684.jpg', '/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_42_3561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_31_1763.jpg
/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_33_1653.jpg
/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_34_1624.jpg
/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_36_1627.jpg
/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_38_2684.jpg
/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_42_3561.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399435931","1399435934","1399435928","1399435933","1399435936","1399435932"],"photo_ids_order":["1399435928","1399435931","1399435932","1399435933","1399435934","1399435936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/34da8847b3b7f46e8414d0467843f44b.jpg","text":"TemporaryFile(/tmp/multipartBody404861792915192508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775442686,"filename":"image_05112025_13_48_33_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/15/0d78ad5cad49776d2b8fabcc4db85d8b.jpg","text":"TemporaryFile(/tmp/multipartBody3476655442556402506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775442686,"filename":"image_05112025_13_48_38_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/15/d0590c410ec07586cebb57a1a9c3fac6.jpg","text":"TemporaryFile(/tmp/multipartBody6289537722350136452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775442686,"filename":"image_05112025_13_48_31_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/15/addb337f5c011a8855515933554dcfeb.jpg","text":"TemporaryFile(/tmp/multipartBody8204423487577603682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775442686,"filename":"image_05112025_13_48_36_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/15/88a7dc121c032413d607ec43386bcbb2.jpg","text":"TemporaryFile(/tmp/multipartBody8837620248630330488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775442686,"filename":"image_05112025_13_48_42_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/15/98e008bd2aab415b5d7beafbe23ce55a.jpg","text":"TemporaryFile(/tmp/multipartBody5070229830947130980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775442686,"filename":"image_05112025_13_48_34_1624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399435932","file1":"1399435931","file0":"1399435928","file4":"1399435934","file5":"1399435936","file3":"1399435933"},"map_files_photo_id_array":[{"photo_id":"1399435936","filename":"file5"},{"photo_id":"1399435932","filename":"file2"},{"photo_id":"1399435934","filename":"file4"},{"photo_id":"1399435931","filename":"file1"},{"photo_id":"1399435928","filename":"file0"},{"photo_id":"1399435933","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399435931":["hashtag1","hashtag2"]},{"1399435934":["hashtag1","hashtag2"]},{"1399435928":["hashtag1","hashtag2"]},{"1399435933":["hashtag1","hashtag2"]},{"1399435936":["hashtag1","hashtag2"]},{"1399435932":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399435931, 1399435934, 1399435928, 1399435933, 1399435936, 1399435932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.620160818099976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 06:10:22.308182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/52/image_15122025_05_53_04_9755.jpg', '/home/pi/Desktop/images/15122025/05/53/image_15122025_05_53_14_9636.jpg', '/home/pi/Desktop/images/15122025/05/53/image_15122025_05_53_24_10387.jpg', '/home/pi/Desktop/images/15122025/05/53/image_15122025_05_53_34_9783.jpg', '/home/pi/Desktop/images/15122025/05/53/image_15122025_05_53_45_10681.jpg', '/home/pi/Desktop/images/15122025/05/53/image_15122025_05_53_55_9825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/52/image_15122025_05_53_04_9755.jpg
/home/pi/Desktop/images/15122025/05/53/image_15122025_05_53_14_9636.jpg
/home/pi/Desktop/images/15122025/05/53/image_15122025_05_53_24_10387.jpg
/home/pi/Desktop/images/15122025/05/53/image_15122025_05_53_34_9783.jpg
/home/pi/Desktop/images/15122025/05/53/image_15122025_05_53_45_10681.jpg
/home/pi/Desktop/images/15122025/05/53/image_15122025_05_53_55_9825.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399435955","1399435940","1399435960","1399435948","1399435942","1399435945"],"photo_ids_order":["1399435940","1399435942","1399435945","1399435948","1399435955","1399435960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2e7e4424ac78d91c49bc0aba31c9246f.jpg","text":"TemporaryFile(/tmp/multipartBody5647896402002839078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775482921,"filename":"image_15122025_05_53_45_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e2243dd18890c4db71e04096e8a3e541.jpg","text":"TemporaryFile(/tmp/multipartBody291664400299048793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775482921,"filename":"image_15122025_05_53_04_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4be4a2cab8280d19e5d0a3ce12604f1a.jpg","text":"TemporaryFile(/tmp/multipartBody6192186596755780345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775482921,"filename":"image_15122025_05_53_55_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f50982c248208b4739aba8fec9ff6483.jpg","text":"TemporaryFile(/tmp/multipartBody8206960445318688544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775482921,"filename":"image_15122025_05_53_34_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/15/3dec2a942b520481c8d1e465a839e737.jpg","text":"TemporaryFile(/tmp/multipartBody6641662155678643855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775482921,"filename":"image_15122025_05_53_14_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/051ca84fcdf8cc4f2b512d928759ec7b.jpg","text":"TemporaryFile(/tmp/multipartBody2319663074833354523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775482921,"filename":"image_15122025_05_53_24_10387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399435945","file1":"1399435942","file0":"1399435940","file4":"1399435955","file5":"1399435960","file3":"1399435948"},"map_files_photo_id_array":[{"photo_id":"1399435960","filename":"file5"},{"photo_id":"1399435945","filename":"file2"},{"photo_id":"1399435955","filename":"file4"},{"photo_id":"1399435942","filename":"file1"},{"photo_id":"1399435940","filename":"file0"},{"photo_id":"1399435948","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399435955":["hashtag1","hashtag2"]},{"1399435940":["hashtag1","hashtag2"]},{"1399435960":["hashtag1","hashtag2"]},{"1399435948":["hashtag1","hashtag2"]},{"1399435942":["hashtag1","hashtag2"]},{"1399435945":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399435955, 1399435940, 1399435960, 1399435948, 1399435942, 1399435945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25282335281372 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 06:11:03.246610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/53/image_15122025_05_54_04_9746.jpg', '/home/pi/Desktop/images/15122025/05/54/image_15122025_05_54_14_9672.jpg', '/home/pi/Desktop/images/15122025/05/54/image_15122025_05_54_24_9768.jpg', '/home/pi/Desktop/images/15122025/05/54/image_15122025_05_54_34_10762.jpg', '/home/pi/Desktop/images/15122025/05/54/image_15122025_05_54_44_9765.jpg', '/home/pi/Desktop/images/15122025/05/54/image_15122025_05_54_54_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/53/image_15122025_05_54_04_9746.jpg
/home/pi/Desktop/images/15122025/05/54/image_15122025_05_54_14_9672.jpg
/home/pi/Desktop/images/15122025/05/54/image_15122025_05_54_24_9768.jpg
/home/pi/Desktop/images/15122025/05/54/image_15122025_05_54_34_10762.jpg
/home/pi/Desktop/images/15122025/05/54/image_15122025_05_54_44_9765.jpg
/home/pi/Desktop/images/15122025/05/54/image_15122025_05_54_54_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":["1399435963","1399435989","1399435983","1399435971","1399435965","1399435985"],"photo_ids_order":["1399435963","1399435965","1399435971","1399435983","1399435985","1399435989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4bc5d0824c8c7c3e3d8da930cb603334.jpg","text":"TemporaryFile(/tmp/multipartBody3945055430219992497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775523932,"filename":"image_15122025_05_54_04_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/67dc1d2205a84ecb22bc872de0693627.jpg","text":"TemporaryFile(/tmp/multipartBody6010257861040776498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775523932,"filename":"image_15122025_05_54_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/15/2e19035c7bb9e00ab5fc1f85ddbc33ea.jpg","text":"TemporaryFile(/tmp/multipartBody8143863862937300440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775523932,"filename":"image_15122025_05_54_34_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/15/703844279cf46b3f3953572f74d88c9c.jpg","text":"TemporaryFile(/tmp/multipartBody1017628972866325973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775523932,"filename":"image_15122025_05_54_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/15/c6bdd06d4455a94d9b73a62723972ced.jpg","text":"TemporaryFile(/tmp/multipartBody8242571926041706122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775523932,"filename":"image_15122025_05_54_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/15/40f04613c1c60956488e2fd13f11ee62.jpg","text":"TemporaryFile(/tmp/multipartBody4452212876839332341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775523932,"filename":"image_15122025_05_54_44_9765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399435971","file1":"1399435965","file0":"1399435963","file4":"1399435985","file5":"1399435989","file3":"1399435983"},"map_files_photo_id_array":[{"photo_id":"1399435989","filename":"file5"},{"photo_id":"1399435971","filename":"file2"},{"photo_id":"1399435985","filename":"file4"},{"photo_id":"1399435965","filename":"file1"},{"photo_id":"1399435963","filename":"file0"},{"photo_id":"1399435983","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399435963":["hashtag1","hashtag2"]},{"1399435989":["hashtag1","hashtag2"]},{"1399435983":["hashtag1","hashtag2"]},{"1399435971":["hashtag1","hashtag2"]},{"1399435965":["hashtag1","hashtag2"]},{"1399435985":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399435963, 1399435989, 1399435983, 1399435971, 1399435965, 1399435985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29340362548828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 06:11:42.490806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_45_2608.jpg', '/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_47_2555.jpg', '/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_51_3636.jpg', '/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_53_2588.jpg', '/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_56_2673.jpg', '/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_09_12697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_45_2608.jpg
/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_47_2555.jpg
/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_51_3636.jpg
/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_53_2588.jpg
/home/pi/Desktop/images/05112025/13/48/image_05112025_13_48_56_2673.jpg
/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_09_12697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399436003","1399436002","1399436005","1399435995","1399436001","1399436004"],"photo_ids_order":["1399435995","1399436001","1399436002","1399436003","1399436004","1399436005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ede629fc61e5a56ffb9d875728d06dc7.jpg","text":"TemporaryFile(/tmp/multipartBody6359043389477096436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775563178,"filename":"image_05112025_13_48_53_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/15/0f917d7d076a0c67e9479c9f00bf1169.jpg","text":"TemporaryFile(/tmp/multipartBody338169107525742187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775563178,"filename":"image_05112025_13_48_51_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/15/693fb1753021ee3c2ea40e7ee3077069.jpg","text":"TemporaryFile(/tmp/multipartBody8365642227780662551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775563178,"filename":"image_05112025_13_49_09_12697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/70b83bceb5c4ffffdb48f8caa011128f.jpg","text":"TemporaryFile(/tmp/multipartBody5876245238763077219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775563178,"filename":"image_05112025_13_48_45_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/376a4ca6b7e45e64e5e7eda9ae51abc7.jpg","text":"TemporaryFile(/tmp/multipartBody8276186803034830000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775563178,"filename":"image_05112025_13_48_47_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/15/14efc6467e68614ac380b0f65ab3d870.jpg","text":"TemporaryFile(/tmp/multipartBody1731430734355475475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775563178,"filename":"image_05112025_13_48_56_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436002","file1":"1399436001","file0":"1399435995","file4":"1399436004","file5":"1399436005","file3":"1399436003"},"map_files_photo_id_array":[{"photo_id":"1399436005","filename":"file5"},{"photo_id":"1399436002","filename":"file2"},{"photo_id":"1399436004","filename":"file4"},{"photo_id":"1399436001","filename":"file1"},{"photo_id":"1399435995","filename":"file0"},{"photo_id":"1399436003","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399436003":["hashtag1","hashtag2"]},{"1399436002":["hashtag1","hashtag2"]},{"1399436005":["hashtag1","hashtag2"]},{"1399435995":["hashtag1","hashtag2"]},{"1399436001":["hashtag1","hashtag2"]},{"1399436004":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399436003, 1399436002, 1399436005, 1399435995, 1399436001, 1399436004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44652199745178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 06:12:22.787429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/54/image_15122025_05_55_05_10613.jpg', '/home/pi/Desktop/images/15122025/05/55/image_15122025_05_55_14_9648.jpg', '/home/pi/Desktop/images/15122025/05/55/image_15122025_05_55_24_9844.jpg', '/home/pi/Desktop/images/15122025/05/55/image_15122025_05_55_34_9781.jpg', '/home/pi/Desktop/images/15122025/05/55/image_15122025_05_55_44_10675.jpg', '/home/pi/Desktop/images/15122025/05/55/image_15122025_05_55_54_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/54/image_15122025_05_55_05_10613.jpg
/home/pi/Desktop/images/15122025/05/55/image_15122025_05_55_14_9648.jpg
/home/pi/Desktop/images/15122025/05/55/image_15122025_05_55_24_9844.jpg
/home/pi/Desktop/images/15122025/05/55/image_15122025_05_55_34_9781.jpg
/home/pi/Desktop/images/15122025/05/55/image_15122025_05_55_44_10675.jpg
/home/pi/Desktop/images/15122025/05/55/image_15122025_05_55_54_9595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1399436030","1399436027","1399436013","1399436016","1399436019","1399436021"],"photo_ids_order":["1399436013","1399436016","1399436019","1399436021","1399436027","1399436030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/36a699157418c8b697d23cea32e77726.jpg","text":"TemporaryFile(/tmp/multipartBody1402616241535154946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775603372,"filename":"image_15122025_05_55_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/15/e38e81207ed1abeb4d598bfdfebcc1c7.jpg","text":"TemporaryFile(/tmp/multipartBody3318820680827082433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775603372,"filename":"image_15122025_05_55_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/15/ed97d42c73822f18edfc9e4b1663f64c.jpg","text":"TemporaryFile(/tmp/multipartBody8283654694339029993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775603372,"filename":"image_15122025_05_55_05_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/185656e199d032184c40fa67b3afd6dc.jpg","text":"TemporaryFile(/tmp/multipartBody4709479480236517230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775603372,"filename":"image_15122025_05_55_14_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ac314d6b5c5c7c48758eacc9b22c9f55.jpg","text":"TemporaryFile(/tmp/multipartBody8658282712449590414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775603372,"filename":"image_15122025_05_55_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/15/76d1f5c802cf8d2541a1489dd095ea1f.jpg","text":"TemporaryFile(/tmp/multipartBody1729054461439412462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775603372,"filename":"image_15122025_05_55_34_9781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436019","file1":"1399436016","file0":"1399436013","file4":"1399436027","file5":"1399436030","file3":"1399436021"},"map_files_photo_id_array":[{"photo_id":"1399436030","filename":"file5"},{"photo_id":"1399436019","filename":"file2"},{"photo_id":"1399436027","filename":"file4"},{"photo_id":"1399436016","filename":"file1"},{"photo_id":"1399436013","filename":"file0"},{"photo_id":"1399436021","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399436030":["hashtag1","hashtag2"]},{"1399436027":["hashtag1","hashtag2"]},{"1399436013":["hashtag1","hashtag2"]},{"1399436016":["hashtag1","hashtag2"]},{"1399436019":["hashtag1","hashtag2"]},{"1399436021":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399436030, 1399436027, 1399436013, 1399436016, 1399436019, 1399436021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.10799169540405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 06:13:15.924393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 06:13:25.989375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/55/image_15122025_05_56_04_9712.jpg', '/home/pi/Desktop/images/15122025/05/56/image_15122025_05_56_14_10656.jpg', '/home/pi/Desktop/images/15122025/05/56/image_15122025_05_56_24_9557.jpg', '/home/pi/Desktop/images/15122025/05/56/image_15122025_05_56_35_10533.jpg', '/home/pi/Desktop/images/15122025/05/56/image_15122025_05_56_44_9741.jpg', '/home/pi/Desktop/images/15122025/05/56/image_15122025_05_56_54_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/55/image_15122025_05_56_04_9712.jpg
/home/pi/Desktop/images/15122025/05/56/image_15122025_05_56_14_10656.jpg
/home/pi/Desktop/images/15122025/05/56/image_15122025_05_56_24_9557.jpg
/home/pi/Desktop/images/15122025/05/56/image_15122025_05_56_35_10533.jpg
/home/pi/Desktop/images/15122025/05/56/image_15122025_05_56_44_9741.jpg
/home/pi/Desktop/images/15122025/05/56/image_15122025_05_56_54_9643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399436051","1399436044","1399436046","1399436049","1399436040","1399436042"],"photo_ids_order":["1399436040","1399436042","1399436044","1399436046","1399436049","1399436051"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/39d0d72342d634d0595bdafa71992361.jpg","text":"TemporaryFile(/tmp/multipartBody6735270489104217484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775666604,"filename":"image_15122025_05_56_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/15/75472b6355e83f8fb449b7840a65d1b3.jpg","text":"TemporaryFile(/tmp/multipartBody5481089531052337742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775666604,"filename":"image_15122025_05_56_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/15/9d1dfcb90727074e56b73bbc2754a453.jpg","text":"TemporaryFile(/tmp/multipartBody422154650850661606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775666604,"filename":"image_15122025_05_56_35_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/15/04548a08987b79f6f8806a0f52c94155.jpg","text":"TemporaryFile(/tmp/multipartBody8439696319569819325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775666604,"filename":"image_15122025_05_56_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/15/57c4ef6e244e119df04813d0b3c8c949.jpg","text":"TemporaryFile(/tmp/multipartBody6762465992402956074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775666604,"filename":"image_15122025_05_56_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/15/524b59d69d43418d76b1d2e887768688.jpg","text":"TemporaryFile(/tmp/multipartBody249433652016775287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775666604,"filename":"image_15122025_05_56_14_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436044","file1":"1399436042","file0":"1399436040","file4":"1399436049","file5":"1399436051","file3":"1399436046"},"map_files_photo_id_array":[{"photo_id":"1399436051","filename":"file5"},{"photo_id":"1399436044","filename":"file2"},{"photo_id":"1399436049","filename":"file4"},{"photo_id":"1399436042","filename":"file1"},{"photo_id":"1399436040","filename":"file0"},{"photo_id":"1399436046","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399436051":["hashtag1","hashtag2"]},{"1399436044":["hashtag1","hashtag2"]},{"1399436046":["hashtag1","hashtag2"]},{"1399436049":["hashtag1","hashtag2"]},{"1399436040":["hashtag1","hashtag2"]},{"1399436042":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399436051, 1399436044, 1399436046, 1399436049, 1399436040, 1399436042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.62771534919739 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 06:14:13.452825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 06:14:22.218659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/56/image_15122025_05_57_05_10768.jpg', '/home/pi/Desktop/images/15122025/05/57/image_15122025_05_57_14_9735.jpg', '/home/pi/Desktop/images/15122025/05/57/image_15122025_05_57_24_9578.jpg', '/home/pi/Desktop/images/15122025/05/57/image_15122025_05_57_35_10645.jpg', '/home/pi/Desktop/images/15122025/05/57/image_15122025_05_57_44_9567.jpg', '/home/pi/Desktop/images/15122025/05/57/image_15122025_05_57_54_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/56/image_15122025_05_57_05_10768.jpg
/home/pi/Desktop/images/15122025/05/57/image_15122025_05_57_14_9735.jpg
/home/pi/Desktop/images/15122025/05/57/image_15122025_05_57_24_9578.jpg
/home/pi/Desktop/images/15122025/05/57/image_15122025_05_57_35_10645.jpg
/home/pi/Desktop/images/15122025/05/57/image_15122025_05_57_44_9567.jpg
/home/pi/Desktop/images/15122025/05/57/image_15122025_05_57_54_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":["1399436071","1399436059","1399436068","1399436079","1399436075","1399436063"],"photo_ids_order":["1399436059","1399436063","1399436068","1399436071","1399436075","1399436079"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6e4f2d988c4f69161eaad81c9c02fc00.jpg","text":"TemporaryFile(/tmp/multipartBody5693679986811793372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775722800,"filename":"image_15122025_05_57_35_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5ecae59bf4e66889f52d1b063b52816f.jpg","text":"TemporaryFile(/tmp/multipartBody2898300505459174580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775722800,"filename":"image_15122025_05_57_05_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/15/8f88601a8f8b4a4a4afd2b266acc0280.jpg","text":"TemporaryFile(/tmp/multipartBody5429022966765652800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775722800,"filename":"image_15122025_05_57_24_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d0de6a86bbb9b6f36e9b3db8fbcdeef3.jpg","text":"TemporaryFile(/tmp/multipartBody4883414881790584807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775722800,"filename":"image_15122025_05_57_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/15/4efcf816d0b2f1b84a2a38c1db5206ea.jpg","text":"TemporaryFile(/tmp/multipartBody3721398764724224254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775722800,"filename":"image_15122025_05_57_44_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/205f8a55e23679d8f60d152dc2627a3d.jpg","text":"TemporaryFile(/tmp/multipartBody1030111999983136345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775722800,"filename":"image_15122025_05_57_14_9735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436068","file1":"1399436063","file0":"1399436059","file4":"1399436075","file5":"1399436079","file3":"1399436071"},"map_files_photo_id_array":[{"photo_id":"1399436079","filename":"file5"},{"photo_id":"1399436068","filename":"file2"},{"photo_id":"1399436075","filename":"file4"},{"photo_id":"1399436063","filename":"file1"},{"photo_id":"1399436059","filename":"file0"},{"photo_id":"1399436071","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399436071":["hashtag1","hashtag2"]},{"1399436059":["hashtag1","hashtag2"]},{"1399436068":["hashtag1","hashtag2"]},{"1399436079":["hashtag1","hashtag2"]},{"1399436075":["hashtag1","hashtag2"]},{"1399436063":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399436071, 1399436059, 1399436068, 1399436079, 1399436075, 1399436063)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.13913655281067 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 06:15:12.404935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 06:15:23.133428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/57/image_15122025_05_58_05_10689.jpg', '/home/pi/Desktop/images/15122025/05/58/image_15122025_05_58_14_9681.jpg', '/home/pi/Desktop/images/15122025/05/58/image_15122025_05_58_24_9823.jpg', '/home/pi/Desktop/images/15122025/05/58/image_15122025_05_58_35_10630.jpg', '/home/pi/Desktop/images/15122025/05/58/image_15122025_05_58_44_9534.jpg', '/home/pi/Desktop/images/15122025/05/58/image_15122025_05_58_54_9805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/57/image_15122025_05_58_05_10689.jpg
/home/pi/Desktop/images/15122025/05/58/image_15122025_05_58_14_9681.jpg
/home/pi/Desktop/images/15122025/05/58/image_15122025_05_58_24_9823.jpg
/home/pi/Desktop/images/15122025/05/58/image_15122025_05_58_35_10630.jpg
/home/pi/Desktop/images/15122025/05/58/image_15122025_05_58_44_9534.jpg
/home/pi/Desktop/images/15122025/05/58/image_15122025_05_58_54_9805.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399436105","1399436108","1399436101","1399436110","1399436099","1399436103"],"photo_ids_order":["1399436099","1399436101","1399436103","1399436105","1399436108","1399436110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1dc1ccc620ca375ab2f7f49616fd839d.jpg","text":"TemporaryFile(/tmp/multipartBody8053611741322468244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775783743,"filename":"image_15122025_05_58_35_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/581f7011cac39e6a0f087bb26f70a16b.jpg","text":"TemporaryFile(/tmp/multipartBody2142914864884459594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775783743,"filename":"image_15122025_05_58_44_9534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b571be6d6ac5c6d29724c18b6bf52b6c.jpg","text":"TemporaryFile(/tmp/multipartBody7524153749049906830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775783743,"filename":"image_15122025_05_58_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/15/75e188c136c6481fb9e9b8c0b4c887d8.jpg","text":"TemporaryFile(/tmp/multipartBody7382847736713778219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775783743,"filename":"image_15122025_05_58_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/15/f2cec6f2640dbed2b7f1833acffdfc6e.jpg","text":"TemporaryFile(/tmp/multipartBody7940602543035252778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775783743,"filename":"image_15122025_05_58_05_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b5eac1d4eb748d908f6eb330a8bfd273.jpg","text":"TemporaryFile(/tmp/multipartBody4792270180549997831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775783743,"filename":"image_15122025_05_58_24_9823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436103","file1":"1399436101","file0":"1399436099","file4":"1399436108","file5":"1399436110","file3":"1399436105"},"map_files_photo_id_array":[{"photo_id":"1399436110","filename":"file5"},{"photo_id":"1399436103","filename":"file2"},{"photo_id":"1399436108","filename":"file4"},{"photo_id":"1399436101","filename":"file1"},{"photo_id":"1399436099","filename":"file0"},{"photo_id":"1399436105","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399436105":["hashtag1","hashtag2"]},{"1399436108":["hashtag1","hashtag2"]},{"1399436101":["hashtag1","hashtag2"]},{"1399436110":["hashtag1","hashtag2"]},{"1399436099":["hashtag1","hashtag2"]},{"1399436103":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399436105, 1399436108, 1399436101, 1399436110, 1399436099, 1399436103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.53703308105469 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-15 06:16:15.286292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 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-15 06:16:25.263702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/05/59/image_15122025_05_59_14_10316.jpg', '/home/pi/Desktop/images/15122025/05/59/image_15122025_05_59_24_9888.jpg', '/home/pi/Desktop/images/15122025/05/59/image_15122025_05_59_35_10718.jpg', '/home/pi/Desktop/images/15122025/05/59/image_15122025_05_59_44_9202.jpg', '/home/pi/Desktop/images/15122025/05/59/image_15122025_05_59_55_10684.jpg', '/home/pi/Desktop/images/15122025/05/59/image_15122025_06_00_04_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/05/59/image_15122025_05_59_14_10316.jpg
/home/pi/Desktop/images/15122025/05/59/image_15122025_05_59_24_9888.jpg
/home/pi/Desktop/images/15122025/05/59/image_15122025_05_59_35_10718.jpg
/home/pi/Desktop/images/15122025/05/59/image_15122025_05_59_44_9202.jpg
/home/pi/Desktop/images/15122025/05/59/image_15122025_05_59_55_10684.jpg
/home/pi/Desktop/images/15122025/05/59/image_15122025_06_00_04_9611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399436131","1399436122","1399436119","1399436133","1399436127","1399436129"],"photo_ids_order":["1399436119","1399436122","1399436127","1399436129","1399436131","1399436133"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/586a81b21a4774936b398ae0d22d47fc.jpg","text":"TemporaryFile(/tmp/multipartBody6800860688709446878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775845850,"filename":"image_15122025_05_59_55_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0047bb609e8ff68ac891b3fdc22c41fb.jpg","text":"TemporaryFile(/tmp/multipartBody7521738639472559554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775845850,"filename":"image_15122025_05_59_24_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/15/2e199f0af500b550330ce37ed118fd11.jpg","text":"TemporaryFile(/tmp/multipartBody7742501275044748564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775845850,"filename":"image_15122025_05_59_14_10316.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/41aec52b7e3d1c29fea78ece611efa51.jpg","text":"TemporaryFile(/tmp/multipartBody2156663659132070984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775845850,"filename":"image_15122025_06_00_04_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ccd3d859116e69265123142e5441648f.jpg","text":"TemporaryFile(/tmp/multipartBody1534246601574821955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775845850,"filename":"image_15122025_05_59_35_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/16aa4cbf4bd0b757cde6afecc9ec3ede.jpg","text":"TemporaryFile(/tmp/multipartBody768476181956818097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775845850,"filename":"image_15122025_05_59_44_9202.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436127","file1":"1399436122","file0":"1399436119","file4":"1399436131","file5":"1399436133","file3":"1399436129"},"map_files_photo_id_array":[{"photo_id":"1399436133","filename":"file5"},{"photo_id":"1399436127","filename":"file2"},{"photo_id":"1399436131","filename":"file4"},{"photo_id":"1399436122","filename":"file1"},{"photo_id":"1399436119","filename":"file0"},{"photo_id":"1399436129","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399436131":["hashtag1","hashtag2"]},{"1399436122":["hashtag1","hashtag2"]},{"1399436119":["hashtag1","hashtag2"]},{"1399436133":["hashtag1","hashtag2"]},{"1399436127":["hashtag1","hashtag2"]},{"1399436129":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399436131, 1399436122, 1399436119, 1399436133, 1399436127, 1399436129)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.15068006515503 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 06:17:15.598712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 06:17:25.517991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/00/image_15122025_06_00_14_9684.jpg', '/home/pi/Desktop/images/15122025/06/00/image_15122025_06_00_26_12101.jpg', '/home/pi/Desktop/images/15122025/06/00/image_15122025_06_00_35_8645.jpg', '/home/pi/Desktop/images/15122025/06/00/image_15122025_06_00_44_9640.jpg', '/home/pi/Desktop/images/15122025/06/00/image_15122025_06_00_54_9594.jpg', '/home/pi/Desktop/images/15122025/06/00/image_15122025_06_01_05_10804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/00/image_15122025_06_00_14_9684.jpg
/home/pi/Desktop/images/15122025/06/00/image_15122025_06_00_26_12101.jpg
/home/pi/Desktop/images/15122025/06/00/image_15122025_06_00_35_8645.jpg
/home/pi/Desktop/images/15122025/06/00/image_15122025_06_00_44_9640.jpg
/home/pi/Desktop/images/15122025/06/00/image_15122025_06_00_54_9594.jpg
/home/pi/Desktop/images/15122025/06/00/image_15122025_06_01_05_10804.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.522536039352417 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 06:17:35.550922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 06:17:45.545521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_12_3220.jpg', '/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_14_1654.jpg', '/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_15_1591.jpg', '/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_17_1755.jpg', '/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_23_5935.jpg', '/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_25_1630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_12_3220.jpg
/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_14_1654.jpg
/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_15_1591.jpg
/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_17_1755.jpg
/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_23_5935.jpg
/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_25_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":["1399436159","1399436164","1399436161","1399436163","1399436166","1399436162"],"photo_ids_order":["1399436159","1399436161","1399436162","1399436163","1399436164","1399436166"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/381ab79513ab0e5938c8fe327301df9e.jpg","text":"TemporaryFile(/tmp/multipartBody1208347020473956861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775926304,"filename":"image_05112025_13_49_12_3220.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/26560bf3dfa88fe8544f778a3bc2e6de.jpg","text":"TemporaryFile(/tmp/multipartBody105197167216999261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775926304,"filename":"image_05112025_13_49_23_5935.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bc168abdd20160e7e33df6203c809336.jpg","text":"TemporaryFile(/tmp/multipartBody7388176090264797454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775926304,"filename":"image_05112025_13_49_14_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/15/531b86aaff4db2545da05a860383230a.jpg","text":"TemporaryFile(/tmp/multipartBody3463994093860984548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775926304,"filename":"image_05112025_13_49_17_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/15/7997f889130b0576076ed52c987409bc.jpg","text":"TemporaryFile(/tmp/multipartBody336239458852606688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775926304,"filename":"image_05112025_13_49_25_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/15/ebc72a63efe77cbfa6d29cdcf92a8650.jpg","text":"TemporaryFile(/tmp/multipartBody974617417154343635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775926304,"filename":"image_05112025_13_49_15_1591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436162","file1":"1399436161","file0":"1399436159","file4":"1399436164","file5":"1399436166","file3":"1399436163"},"map_files_photo_id_array":[{"photo_id":"1399436166","filename":"file5"},{"photo_id":"1399436162","filename":"file2"},{"photo_id":"1399436164","filename":"file4"},{"photo_id":"1399436161","filename":"file1"},{"photo_id":"1399436159","filename":"file0"},{"photo_id":"1399436163","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399436159":["hashtag1","hashtag2"]},{"1399436164":["hashtag1","hashtag2"]},{"1399436161":["hashtag1","hashtag2"]},{"1399436163":["hashtag1","hashtag2"]},{"1399436166":["hashtag1","hashtag2"]},{"1399436162":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399436159, 1399436164, 1399436161, 1399436163, 1399436166, 1399436162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.384201765060425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 06:18:22.900559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/00/image_15122025_06_00_14_9684.jpg', '/home/pi/Desktop/images/15122025/06/00/image_15122025_06_00_26_12101.jpg', '/home/pi/Desktop/images/15122025/06/00/image_15122025_06_00_35_8645.jpg', '/home/pi/Desktop/images/15122025/06/00/image_15122025_06_00_44_9640.jpg', '/home/pi/Desktop/images/15122025/06/00/image_15122025_06_00_54_9594.jpg', '/home/pi/Desktop/images/15122025/06/00/image_15122025_06_01_05_10804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/00/image_15122025_06_00_14_9684.jpg
/home/pi/Desktop/images/15122025/06/00/image_15122025_06_00_26_12101.jpg
/home/pi/Desktop/images/15122025/06/00/image_15122025_06_00_35_8645.jpg
/home/pi/Desktop/images/15122025/06/00/image_15122025_06_00_44_9640.jpg
/home/pi/Desktop/images/15122025/06/00/image_15122025_06_00_54_9594.jpg
/home/pi/Desktop/images/15122025/06/00/image_15122025_06_01_05_10804.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399436179","1399436188","1399436173","1399436175","1399436171","1399436177"],"photo_ids_order":["1399436171","1399436173","1399436175","1399436177","1399436179","1399436188"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/00b8a982a54e0e5bd21f39e88e957302.jpg","text":"TemporaryFile(/tmp/multipartBody1824195943940622577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775963556,"filename":"image_15122025_06_00_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/15/d2efb40efd7b614e65a6a4f1240054eb.jpg","text":"TemporaryFile(/tmp/multipartBody1545887503589026910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775963556,"filename":"image_15122025_06_01_05_10804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/16c613060d31f5a5869b88610f2744ef.jpg","text":"TemporaryFile(/tmp/multipartBody1260088205666554579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775963556,"filename":"image_15122025_06_00_26_12101.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c2e93f755ea189ebd1826709cb72deb0.jpg","text":"TemporaryFile(/tmp/multipartBody6241016637217908343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775963556,"filename":"image_15122025_06_00_35_8645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/98360574e48ecf3fcdb8a55b0cf907f6.jpg","text":"TemporaryFile(/tmp/multipartBody1735146338371006318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775963556,"filename":"image_15122025_06_00_14_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3236a09bf09d69a067422a248edf6a65.jpg","text":"TemporaryFile(/tmp/multipartBody4945391225430428198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765775963556,"filename":"image_15122025_06_00_44_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436175","file1":"1399436173","file0":"1399436171","file4":"1399436179","file5":"1399436188","file3":"1399436177"},"map_files_photo_id_array":[{"photo_id":"1399436188","filename":"file5"},{"photo_id":"1399436175","filename":"file2"},{"photo_id":"1399436179","filename":"file4"},{"photo_id":"1399436173","filename":"file1"},{"photo_id":"1399436171","filename":"file0"},{"photo_id":"1399436177","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399436179":["hashtag1","hashtag2"]},{"1399436188":["hashtag1","hashtag2"]},{"1399436173":["hashtag1","hashtag2"]},{"1399436175":["hashtag1","hashtag2"]},{"1399436171":["hashtag1","hashtag2"]},{"1399436177":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399436179, 1399436188, 1399436173, 1399436175, 1399436171, 1399436177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.443835496902466 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-15 06:19:11.904226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 06:19:22.024564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/01/image_15122025_06_01_14_9842.jpg', '/home/pi/Desktop/images/15122025/06/01/image_15122025_06_01_24_9689.jpg', '/home/pi/Desktop/images/15122025/06/01/image_15122025_06_01_35_10529.jpg', '/home/pi/Desktop/images/15122025/06/01/image_15122025_06_01_44_9564.jpg', '/home/pi/Desktop/images/15122025/06/01/image_15122025_06_01_54_9679.jpg', '/home/pi/Desktop/images/15122025/06/01/image_15122025_06_02_05_10609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/01/image_15122025_06_01_14_9842.jpg
/home/pi/Desktop/images/15122025/06/01/image_15122025_06_01_24_9689.jpg
/home/pi/Desktop/images/15122025/06/01/image_15122025_06_01_35_10529.jpg
/home/pi/Desktop/images/15122025/06/01/image_15122025_06_01_44_9564.jpg
/home/pi/Desktop/images/15122025/06/01/image_15122025_06_01_54_9679.jpg
/home/pi/Desktop/images/15122025/06/01/image_15122025_06_02_05_10609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399436210","1399436204","1399436212","1399436206","1399436208","1399436202"],"photo_ids_order":["1399436202","1399436204","1399436206","1399436208","1399436210","1399436212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a5827bcf76a35580e36e9508c69fb8bf.jpg","text":"TemporaryFile(/tmp/multipartBody3453615223135255378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776022673,"filename":"image_15122025_06_01_54_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1831912339455b94d285646be7db6302.jpg","text":"TemporaryFile(/tmp/multipartBody2221058957750696081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776022673,"filename":"image_15122025_06_01_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/15/5e61421839b317e7daabac4c7b2d027d.jpg","text":"TemporaryFile(/tmp/multipartBody2851187769274488566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776022673,"filename":"image_15122025_06_02_05_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9d6dda43192a51d77b5f5c52aea3f1e6.jpg","text":"TemporaryFile(/tmp/multipartBody4455312142522661956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776022673,"filename":"image_15122025_06_01_35_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/15/211a719dc3df7bb26c73ba8142592f59.jpg","text":"TemporaryFile(/tmp/multipartBody1401229384215687399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776022673,"filename":"image_15122025_06_01_44_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4728618fedc5df86b31dd329e8211e29.jpg","text":"TemporaryFile(/tmp/multipartBody7507044512625413851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776022673,"filename":"image_15122025_06_01_14_9842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436206","file1":"1399436204","file0":"1399436202","file4":"1399436210","file5":"1399436212","file3":"1399436208"},"map_files_photo_id_array":[{"photo_id":"1399436212","filename":"file5"},{"photo_id":"1399436206","filename":"file2"},{"photo_id":"1399436210","filename":"file4"},{"photo_id":"1399436204","filename":"file1"},{"photo_id":"1399436202","filename":"file0"},{"photo_id":"1399436208","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399436210":["hashtag1","hashtag2"]},{"1399436204":["hashtag1","hashtag2"]},{"1399436212":["hashtag1","hashtag2"]},{"1399436206":["hashtag1","hashtag2"]},{"1399436208":["hashtag1","hashtag2"]},{"1399436202":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399436210, 1399436204, 1399436212, 1399436206, 1399436208, 1399436202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.185152530670166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 06:20:02.611246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/02/image_15122025_06_02_14_9799.jpg', '/home/pi/Desktop/images/15122025/06/02/image_15122025_06_02_24_9807.jpg', '/home/pi/Desktop/images/15122025/06/02/image_15122025_06_02_34_9608.jpg', '/home/pi/Desktop/images/15122025/06/02/image_15122025_06_02_44_10697.jpg', '/home/pi/Desktop/images/15122025/06/02/image_15122025_06_02_54_9684.jpg', '/home/pi/Desktop/images/15122025/06/02/image_15122025_06_03_04_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/02/image_15122025_06_02_14_9799.jpg
/home/pi/Desktop/images/15122025/06/02/image_15122025_06_02_24_9807.jpg
/home/pi/Desktop/images/15122025/06/02/image_15122025_06_02_34_9608.jpg
/home/pi/Desktop/images/15122025/06/02/image_15122025_06_02_44_10697.jpg
/home/pi/Desktop/images/15122025/06/02/image_15122025_06_02_54_9684.jpg
/home/pi/Desktop/images/15122025/06/02/image_15122025_06_03_04_9727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399436222","1399436219","1399436213","1399436215","1399436217","1399436220"],"photo_ids_order":["1399436213","1399436215","1399436217","1399436219","1399436220","1399436222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b3bdabdcc60494fc715768b5ad8567f0.jpg","text":"TemporaryFile(/tmp/multipartBody8284098082649716617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776063241,"filename":"image_15122025_06_03_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/15/6f8b3bb2b8c90d8cc6d8437a300cf9c0.jpg","text":"TemporaryFile(/tmp/multipartBody5053646260652445721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776063241,"filename":"image_15122025_06_02_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/15/1c7a79d9b0809dbd3275862d63a72451.jpg","text":"TemporaryFile(/tmp/multipartBody9167420307830908161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776063241,"filename":"image_15122025_06_02_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/15/97f500c11921a75995f70fbb6c4e13e3.jpg","text":"TemporaryFile(/tmp/multipartBody7168874494506887841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776063241,"filename":"image_15122025_06_02_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/15/9f0178fd16e60a3b45207cab45b1f7c3.jpg","text":"TemporaryFile(/tmp/multipartBody2637330071469407765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776063241,"filename":"image_15122025_06_02_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/15/41e00ddad22ce6242db2800d94ea6a75.jpg","text":"TemporaryFile(/tmp/multipartBody2990709029299517227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776063241,"filename":"image_15122025_06_02_54_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436217","file1":"1399436215","file0":"1399436213","file4":"1399436220","file5":"1399436222","file3":"1399436219"},"map_files_photo_id_array":[{"photo_id":"1399436222","filename":"file5"},{"photo_id":"1399436217","filename":"file2"},{"photo_id":"1399436220","filename":"file4"},{"photo_id":"1399436215","filename":"file1"},{"photo_id":"1399436213","filename":"file0"},{"photo_id":"1399436219","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399436222":["hashtag1","hashtag2"]},{"1399436219":["hashtag1","hashtag2"]},{"1399436213":["hashtag1","hashtag2"]},{"1399436215":["hashtag1","hashtag2"]},{"1399436217":["hashtag1","hashtag2"]},{"1399436220":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399436222, 1399436219, 1399436213, 1399436215, 1399436217, 1399436220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.236926555633545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 06:20:42.217955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_26_1692.jpg', '/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_28_1726.jpg', '/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_30_1510.jpg', '/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_31_1626.jpg', '/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_33_1615.jpg', '/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_36_2801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_26_1692.jpg
/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_28_1726.jpg
/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_30_1510.jpg
/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_31_1626.jpg
/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_33_1615.jpg
/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_36_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":["1399436231","1399436233","1399436236","1399436235","1399436234","1399436228"],"photo_ids_order":["1399436228","1399436231","1399436233","1399436234","1399436235","1399436236"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b312d3ebb6512fc7166cd756447a8c29.jpg","text":"TemporaryFile(/tmp/multipartBody377150868701957624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776102910,"filename":"image_05112025_13_49_28_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/15/95cf183599d39981cf90c142b4223f4e.jpg","text":"TemporaryFile(/tmp/multipartBody9107496872986238750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776102910,"filename":"image_05112025_13_49_30_1510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/df592cdcf19256b897114a02684f5d59.jpg","text":"TemporaryFile(/tmp/multipartBody1651694562036843028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776102910,"filename":"image_05112025_13_49_36_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/15/e8c9bd4e6b3f59c084156b01dc5eef73.jpg","text":"TemporaryFile(/tmp/multipartBody180376998391054753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776102910,"filename":"image_05112025_13_49_33_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ab0a128abcdf2f0cce3381ee6e835048.jpg","text":"TemporaryFile(/tmp/multipartBody5818587337312789558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776102910,"filename":"image_05112025_13_49_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/15/1bc2550cabf523cee46f4c2525ccde33.jpg","text":"TemporaryFile(/tmp/multipartBody5041994321381561960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776102910,"filename":"image_05112025_13_49_26_1692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436233","file1":"1399436231","file0":"1399436228","file4":"1399436235","file5":"1399436236","file3":"1399436234"},"map_files_photo_id_array":[{"photo_id":"1399436236","filename":"file5"},{"photo_id":"1399436233","filename":"file2"},{"photo_id":"1399436235","filename":"file4"},{"photo_id":"1399436231","filename":"file1"},{"photo_id":"1399436228","filename":"file0"},{"photo_id":"1399436234","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399436231":["hashtag1","hashtag2"]},{"1399436233":["hashtag1","hashtag2"]},{"1399436236":["hashtag1","hashtag2"]},{"1399436235":["hashtag1","hashtag2"]},{"1399436234":["hashtag1","hashtag2"]},{"1399436228":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399436231, 1399436233, 1399436236, 1399436235, 1399436234, 1399436228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31743001937866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 06:21:22.459829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/03/image_15122025_06_03_15_10744.jpg', '/home/pi/Desktop/images/15122025/06/03/image_15122025_06_03_24_9726.jpg', '/home/pi/Desktop/images/15122025/06/03/image_15122025_06_03_34_9606.jpg', '/home/pi/Desktop/images/15122025/06/03/image_15122025_06_03_45_10645.jpg', '/home/pi/Desktop/images/15122025/06/03/image_15122025_06_03_54_9902.jpg', '/home/pi/Desktop/images/15122025/06/03/image_15122025_06_04_04_9991.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/03/image_15122025_06_03_15_10744.jpg
/home/pi/Desktop/images/15122025/06/03/image_15122025_06_03_24_9726.jpg
/home/pi/Desktop/images/15122025/06/03/image_15122025_06_03_34_9606.jpg
/home/pi/Desktop/images/15122025/06/03/image_15122025_06_03_45_10645.jpg
/home/pi/Desktop/images/15122025/06/03/image_15122025_06_03_54_9902.jpg
/home/pi/Desktop/images/15122025/06/03/image_15122025_06_04_04_9991.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399436248","1399436253","1399436241","1399436250","1399436244","1399436246"],"photo_ids_order":["1399436241","1399436244","1399436246","1399436248","1399436250","1399436253"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4fe9b696cca1bcd402b5ddb7ffb8c250.jpg","text":"TemporaryFile(/tmp/multipartBody7268968070811329564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776143046,"filename":"image_15122025_06_03_45_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5c8dd0ada41e0220543439373f098b53.jpg","text":"TemporaryFile(/tmp/multipartBody2830141255522677918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776143046,"filename":"image_15122025_06_04_04_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/15/6cf93421c5e33aa98cad3e416b746430.jpg","text":"TemporaryFile(/tmp/multipartBody7313746136055161624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776143046,"filename":"image_15122025_06_03_15_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a517126a2651b9050b541d52d96f6219.jpg","text":"TemporaryFile(/tmp/multipartBody5543136073658334202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776143046,"filename":"image_15122025_06_03_54_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/15/cbd01678390989ad7fdde574e3d2ea16.jpg","text":"TemporaryFile(/tmp/multipartBody7961833760055845263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776143046,"filename":"image_15122025_06_03_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/15/6ceb3e3b4b99885d300f1b6cad0796b9.jpg","text":"TemporaryFile(/tmp/multipartBody8132703146971793494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776143046,"filename":"image_15122025_06_03_34_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436246","file1":"1399436244","file0":"1399436241","file4":"1399436250","file5":"1399436253","file3":"1399436248"},"map_files_photo_id_array":[{"photo_id":"1399436253","filename":"file5"},{"photo_id":"1399436246","filename":"file2"},{"photo_id":"1399436250","filename":"file4"},{"photo_id":"1399436244","filename":"file1"},{"photo_id":"1399436241","filename":"file0"},{"photo_id":"1399436248","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399436248":["hashtag1","hashtag2"]},{"1399436253":["hashtag1","hashtag2"]},{"1399436241":["hashtag1","hashtag2"]},{"1399436250":["hashtag1","hashtag2"]},{"1399436244":["hashtag1","hashtag2"]},{"1399436246":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399436248, 1399436253, 1399436241, 1399436250, 1399436244, 1399436246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20118188858032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 06:22:02.729411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/04/image_15122025_06_04_14_9738.jpg', '/home/pi/Desktop/images/15122025/06/04/image_15122025_06_04_24_9784.jpg', '/home/pi/Desktop/images/15122025/06/04/image_15122025_06_04_35_10664.jpg', '/home/pi/Desktop/images/15122025/06/04/image_15122025_06_04_44_9623.jpg', '/home/pi/Desktop/images/15122025/06/04/image_15122025_06_04_54_9734.jpg', '/home/pi/Desktop/images/15122025/06/04/image_15122025_06_05_04_9793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/04/image_15122025_06_04_14_9738.jpg
/home/pi/Desktop/images/15122025/06/04/image_15122025_06_04_24_9784.jpg
/home/pi/Desktop/images/15122025/06/04/image_15122025_06_04_35_10664.jpg
/home/pi/Desktop/images/15122025/06/04/image_15122025_06_04_44_9623.jpg
/home/pi/Desktop/images/15122025/06/04/image_15122025_06_04_54_9734.jpg
/home/pi/Desktop/images/15122025/06/04/image_15122025_06_05_04_9793.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399436269","1399436266","1399436260","1399436268","1399436262","1399436264"],"photo_ids_order":["1399436260","1399436262","1399436264","1399436266","1399436268","1399436269"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a453f46150a0a7a64524d5f7b0857aff.jpg","text":"TemporaryFile(/tmp/multipartBody4909216407779226846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776183350,"filename":"image_15122025_06_05_04_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7a458cb7c1b24748f73cb5827a20c883.jpg","text":"TemporaryFile(/tmp/multipartBody355920852167910779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776183350,"filename":"image_15122025_06_04_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/15/bfebd4cf17b0921f5a92514f9592630a.jpg","text":"TemporaryFile(/tmp/multipartBody5169176978288988828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776183350,"filename":"image_15122025_06_04_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/15/77bf935b5f98adb8bd9b914e34a25c41.jpg","text":"TemporaryFile(/tmp/multipartBody4264243914236791700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776183350,"filename":"image_15122025_06_04_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/15/a45178ec8f03f5830bd9939cef8d7be2.jpg","text":"TemporaryFile(/tmp/multipartBody2337564500005744421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776183350,"filename":"image_15122025_06_04_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/15/48b5ca06db33c5e80fa5c49d812004c8.jpg","text":"TemporaryFile(/tmp/multipartBody3439027450231214892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776183350,"filename":"image_15122025_06_04_35_10664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436264","file1":"1399436262","file0":"1399436260","file4":"1399436268","file5":"1399436269","file3":"1399436266"},"map_files_photo_id_array":[{"photo_id":"1399436269","filename":"file5"},{"photo_id":"1399436264","filename":"file2"},{"photo_id":"1399436268","filename":"file4"},{"photo_id":"1399436262","filename":"file1"},{"photo_id":"1399436260","filename":"file0"},{"photo_id":"1399436266","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399436269":["hashtag1","hashtag2"]},{"1399436266":["hashtag1","hashtag2"]},{"1399436260":["hashtag1","hashtag2"]},{"1399436268":["hashtag1","hashtag2"]},{"1399436262":["hashtag1","hashtag2"]},{"1399436264":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399436269, 1399436266, 1399436260, 1399436268, 1399436262, 1399436264)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.15407752990723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 06:23:03.488157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 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-15 06:23:12.776261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 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-15 06:23:22.982364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/05/image_15122025_06_05_35_10308.jpg', '/home/pi/Desktop/images/15122025/06/05/image_15122025_06_05_44_9813.jpg', '/home/pi/Desktop/images/15122025/06/05/image_15122025_06_05_54_9703.jpg', '/home/pi/Desktop/images/15122025/06/05/image_15122025_06_06_05_10595.jpg', '/home/pi/Desktop/images/15122025/06/06/image_15122025_06_06_14_9692.jpg', '/home/pi/Desktop/images/15122025/06/06/image_15122025_06_06_24_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/05/image_15122025_06_05_35_10308.jpg
/home/pi/Desktop/images/15122025/06/05/image_15122025_06_05_44_9813.jpg
/home/pi/Desktop/images/15122025/06/05/image_15122025_06_05_54_9703.jpg
/home/pi/Desktop/images/15122025/06/05/image_15122025_06_06_05_10595.jpg
/home/pi/Desktop/images/15122025/06/06/image_15122025_06_06_14_9692.jpg
/home/pi/Desktop/images/15122025/06/06/image_15122025_06_06_24_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":["1399436300","1399436312","1399436306","1399436308","1399436302","1399436304"],"photo_ids_order":["1399436300","1399436302","1399436304","1399436306","1399436308","1399436312"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2d75dfa6e9506a2b455165bb1ac19043.jpg","text":"TemporaryFile(/tmp/multipartBody7557271858890073854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776263555,"filename":"image_15122025_06_05_35_10308.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4a834d116383850b3eb28f2c8c3e31d6.jpg","text":"TemporaryFile(/tmp/multipartBody7774469208331076231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776263555,"filename":"image_15122025_06_06_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/15/bb9451e9767a994859e350de7c726fe5.jpg","text":"TemporaryFile(/tmp/multipartBody5825759580499223027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776263555,"filename":"image_15122025_06_06_05_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/15/64b60957f46646c3e778f1fae52810f0.jpg","text":"TemporaryFile(/tmp/multipartBody7481790710324659247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776263555,"filename":"image_15122025_06_06_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/15/795363900a673b142dfb31e27a2a5196.jpg","text":"TemporaryFile(/tmp/multipartBody763109159305834431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776263555,"filename":"image_15122025_06_05_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/15/c1b562887c137f85f3c6e969ac24c593.jpg","text":"TemporaryFile(/tmp/multipartBody6511072035306699221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776263555,"filename":"image_15122025_06_05_54_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436304","file1":"1399436302","file0":"1399436300","file4":"1399436308","file5":"1399436312","file3":"1399436306"},"map_files_photo_id_array":[{"photo_id":"1399436312","filename":"file5"},{"photo_id":"1399436304","filename":"file2"},{"photo_id":"1399436308","filename":"file4"},{"photo_id":"1399436302","filename":"file1"},{"photo_id":"1399436300","filename":"file0"},{"photo_id":"1399436306","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399436300":["hashtag1","hashtag2"]},{"1399436312":["hashtag1","hashtag2"]},{"1399436306":["hashtag1","hashtag2"]},{"1399436308":["hashtag1","hashtag2"]},{"1399436302":["hashtag1","hashtag2"]},{"1399436304":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399436300, 1399436312, 1399436306, 1399436308, 1399436302, 1399436304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44828414916992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 06:24:02.757282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 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-15 06:24:11.989031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 06:24:23.699248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/06/image_15122025_06_06_34_9688.jpg', '/home/pi/Desktop/images/15122025/06/06/image_15122025_06_06_45_10783.jpg', '/home/pi/Desktop/images/15122025/06/06/image_15122025_06_06_54_9601.jpg', '/home/pi/Desktop/images/15122025/06/06/image_15122025_06_07_04_9671.jpg', '/home/pi/Desktop/images/15122025/06/07/image_15122025_06_07_15_10758.jpg', '/home/pi/Desktop/images/15122025/06/07/image_15122025_06_07_24_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/06/image_15122025_06_06_34_9688.jpg
/home/pi/Desktop/images/15122025/06/06/image_15122025_06_06_45_10783.jpg
/home/pi/Desktop/images/15122025/06/06/image_15122025_06_06_54_9601.jpg
/home/pi/Desktop/images/15122025/06/06/image_15122025_06_07_04_9671.jpg
/home/pi/Desktop/images/15122025/06/07/image_15122025_06_07_15_10758.jpg
/home/pi/Desktop/images/15122025/06/07/image_15122025_06_07_24_9791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399436330","1399436324","1399436326","1399436322","1399436319","1399436328"],"photo_ids_order":["1399436319","1399436322","1399436324","1399436326","1399436328","1399436330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/871dad0384a7e775bc0b7b79bf94fb8a.jpg","text":"TemporaryFile(/tmp/multipartBody7356549740424530557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776324277,"filename":"image_15122025_06_07_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/15/45a2d3d05525d10b400c11984bcbebac.jpg","text":"TemporaryFile(/tmp/multipartBody8405099127176721196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776324277,"filename":"image_15122025_06_06_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/15/723da446281bf2d89fccd5adbadf544f.jpg","text":"TemporaryFile(/tmp/multipartBody7486780407426363238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776324277,"filename":"image_15122025_06_07_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/15/d3607ae317dd8069834c894fb1338839.jpg","text":"TemporaryFile(/tmp/multipartBody3377845067227997739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776324277,"filename":"image_15122025_06_06_45_10783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/abb84ce17fffc53dd4c60eed0e655e62.jpg","text":"TemporaryFile(/tmp/multipartBody9165612384402924380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776324277,"filename":"image_15122025_06_06_34_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/596e05553ebd205a9ba69589d151c00c.jpg","text":"TemporaryFile(/tmp/multipartBody8799247354575520192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776324277,"filename":"image_15122025_06_07_15_10758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436324","file1":"1399436322","file0":"1399436319","file4":"1399436328","file5":"1399436330","file3":"1399436326"},"map_files_photo_id_array":[{"photo_id":"1399436330","filename":"file5"},{"photo_id":"1399436324","filename":"file2"},{"photo_id":"1399436328","filename":"file4"},{"photo_id":"1399436322","filename":"file1"},{"photo_id":"1399436319","filename":"file0"},{"photo_id":"1399436326","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399436330":["hashtag1","hashtag2"]},{"1399436324":["hashtag1","hashtag2"]},{"1399436326":["hashtag1","hashtag2"]},{"1399436322":["hashtag1","hashtag2"]},{"1399436319":["hashtag1","hashtag2"]},{"1399436328":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399436330, 1399436324, 1399436326, 1399436322, 1399436319, 1399436328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.73999881744385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 06:25:05.954028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/07/image_15122025_06_07_34_9862.jpg', '/home/pi/Desktop/images/15122025/06/07/image_15122025_06_07_44_9690.jpg', '/home/pi/Desktop/images/15122025/06/07/image_15122025_06_07_55_10741.jpg', '/home/pi/Desktop/images/15122025/06/07/image_15122025_06_08_04_9768.jpg', '/home/pi/Desktop/images/15122025/06/08/image_15122025_06_08_14_9722.jpg', '/home/pi/Desktop/images/15122025/06/08/image_15122025_06_08_24_9823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/07/image_15122025_06_07_34_9862.jpg
/home/pi/Desktop/images/15122025/06/07/image_15122025_06_07_44_9690.jpg
/home/pi/Desktop/images/15122025/06/07/image_15122025_06_07_55_10741.jpg
/home/pi/Desktop/images/15122025/06/07/image_15122025_06_08_04_9768.jpg
/home/pi/Desktop/images/15122025/06/08/image_15122025_06_08_14_9722.jpg
/home/pi/Desktop/images/15122025/06/08/image_15122025_06_08_24_9823.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399436357","1399436350","1399436344","1399436352","1399436360","1399436354"],"photo_ids_order":["1399436344","1399436350","1399436352","1399436354","1399436357","1399436360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4d8413201cdab8631edcfebc84e721df.jpg","text":"TemporaryFile(/tmp/multipartBody2179032368422587412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776366693,"filename":"image_15122025_06_08_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/15/4300a7ff4d56f5cc967c8a9969b0179a.jpg","text":"TemporaryFile(/tmp/multipartBody5348118645172368648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776366693,"filename":"image_15122025_06_07_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/15/0905b3aeb200ee67fab0920304beda84.jpg","text":"TemporaryFile(/tmp/multipartBody349690479821651012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776366693,"filename":"image_15122025_06_07_34_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/24c541cf35f2a6de236c305021aebe29.jpg","text":"TemporaryFile(/tmp/multipartBody3674060513198587647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776366693,"filename":"image_15122025_06_07_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/15/2f5d36f89784fa5084de49be7092ef17.jpg","text":"TemporaryFile(/tmp/multipartBody8583494430543851982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776366693,"filename":"image_15122025_06_08_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/15/2f3599af40bf47e9f98a163a08707374.jpg","text":"TemporaryFile(/tmp/multipartBody4168713849841410039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776366693,"filename":"image_15122025_06_08_04_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436352","file1":"1399436350","file0":"1399436344","file4":"1399436357","file5":"1399436360","file3":"1399436354"},"map_files_photo_id_array":[{"photo_id":"1399436360","filename":"file5"},{"photo_id":"1399436352","filename":"file2"},{"photo_id":"1399436357","filename":"file4"},{"photo_id":"1399436350","filename":"file1"},{"photo_id":"1399436344","filename":"file0"},{"photo_id":"1399436354","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399436357":["hashtag1","hashtag2"]},{"1399436350":["hashtag1","hashtag2"]},{"1399436344":["hashtag1","hashtag2"]},{"1399436352":["hashtag1","hashtag2"]},{"1399436360":["hashtag1","hashtag2"]},{"1399436354":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399436357, 1399436350, 1399436344, 1399436352, 1399436360, 1399436354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01800036430359 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 06:25:45.064074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_38_2544.jpg', '/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_42_3652.jpg', '/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_44_2538.jpg', '/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_48_3642.jpg', '/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_51_2643.jpg', '/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_53_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_38_2544.jpg
/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_42_3652.jpg
/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_44_2538.jpg
/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_48_3642.jpg
/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_51_2643.jpg
/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_53_2596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399436374","1399436370","1399436367","1399436364","1399436366","1399436375"],"photo_ids_order":["1399436364","1399436366","1399436367","1399436370","1399436374","1399436375"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c8e2a011284f8ffdba84fda869ecace9.jpg","text":"TemporaryFile(/tmp/multipartBody4389420520755331916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776405827,"filename":"image_05112025_13_49_51_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/30f53973273c86e4b7738681ba2c5667.jpg","text":"TemporaryFile(/tmp/multipartBody4993838228603365500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776405827,"filename":"image_05112025_13_49_48_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/15/4ad2ae320a5a991b2a4830d2f91c464f.jpg","text":"TemporaryFile(/tmp/multipartBody8361875894443058766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776405827,"filename":"image_05112025_13_49_44_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/85901e10851d656177a07449d6be8b61.jpg","text":"TemporaryFile(/tmp/multipartBody5879685463378712838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776405827,"filename":"image_05112025_13_49_38_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/15/093992f170019ecb586e83e5f8b93937.jpg","text":"TemporaryFile(/tmp/multipartBody8103374415856681209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776405827,"filename":"image_05112025_13_49_42_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/15/12e1082d6be0ddb926e45779961537e7.jpg","text":"TemporaryFile(/tmp/multipartBody4949015315488512087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776405827,"filename":"image_05112025_13_49_53_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436367","file1":"1399436366","file0":"1399436364","file4":"1399436374","file5":"1399436375","file3":"1399436370"},"map_files_photo_id_array":[{"photo_id":"1399436375","filename":"file5"},{"photo_id":"1399436367","filename":"file2"},{"photo_id":"1399436374","filename":"file4"},{"photo_id":"1399436366","filename":"file1"},{"photo_id":"1399436364","filename":"file0"},{"photo_id":"1399436370","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399436374":["hashtag1","hashtag2"]},{"1399436370":["hashtag1","hashtag2"]},{"1399436367":["hashtag1","hashtag2"]},{"1399436364":["hashtag1","hashtag2"]},{"1399436366":["hashtag1","hashtag2"]},{"1399436375":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399436374, 1399436370, 1399436367, 1399436364, 1399436366, 1399436375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.813512563705444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 06:26:32.326221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 06:26:42.331311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_57_3664.jpg', '/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_59_2601.jpg', '/home/pi/Desktop/images/05112025/13/50/image_05112025_13_50_07_7741.jpg', '/home/pi/Desktop/images/05112025/13/50/image_05112025_13_50_09_1898.jpg', '/home/pi/Desktop/images/05112025/13/50/image_05112025_13_50_11_1610.jpg', '/home/pi/Desktop/images/05112025/13/50/image_05112025_13_50_14_2897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_57_3664.jpg
/home/pi/Desktop/images/05112025/13/49/image_05112025_13_49_59_2601.jpg
/home/pi/Desktop/images/05112025/13/50/image_05112025_13_50_07_7741.jpg
/home/pi/Desktop/images/05112025/13/50/image_05112025_13_50_09_1898.jpg
/home/pi/Desktop/images/05112025/13/50/image_05112025_13_50_11_1610.jpg
/home/pi/Desktop/images/05112025/13/50/image_05112025_13_50_14_2897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399436405","1399436397","1399436401","1399436403","1399436412","1399436400"],"photo_ids_order":["1399436397","1399436400","1399436401","1399436403","1399436405","1399436412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1118c2d322b05763d3b39443a344d548.jpg","text":"TemporaryFile(/tmp/multipartBody2062786910220187328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776463065,"filename":"image_05112025_13_50_11_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/15/cdfa46f07c700261d9f3e402db0f82dd.jpg","text":"TemporaryFile(/tmp/multipartBody1437894285405478871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776463065,"filename":"image_05112025_13_49_57_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/15/2aa1a7b50d8649ca19c32999765e1684.jpg","text":"TemporaryFile(/tmp/multipartBody8032187469422931015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776463065,"filename":"image_05112025_13_50_07_7741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/28316499c8f477b10d951ae2e18c6639.jpg","text":"TemporaryFile(/tmp/multipartBody2663974536385176330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776463065,"filename":"image_05112025_13_50_09_1898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/10033cad297ebffcacdda6f021bee192.jpg","text":"TemporaryFile(/tmp/multipartBody7500358651199084380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776463065,"filename":"image_05112025_13_50_14_2897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9387848c063c09953e4df0c31b0b8731.jpg","text":"TemporaryFile(/tmp/multipartBody4838196014099743935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776463065,"filename":"image_05112025_13_49_59_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436401","file1":"1399436400","file0":"1399436397","file4":"1399436405","file5":"1399436412","file3":"1399436403"},"map_files_photo_id_array":[{"photo_id":"1399436412","filename":"file5"},{"photo_id":"1399436401","filename":"file2"},{"photo_id":"1399436405","filename":"file4"},{"photo_id":"1399436400","filename":"file1"},{"photo_id":"1399436397","filename":"file0"},{"photo_id":"1399436403","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399436405":["hashtag1","hashtag2"]},{"1399436397":["hashtag1","hashtag2"]},{"1399436401":["hashtag1","hashtag2"]},{"1399436403":["hashtag1","hashtag2"]},{"1399436412":["hashtag1","hashtag2"]},{"1399436400":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399436405, 1399436397, 1399436401, 1399436403, 1399436412, 1399436400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19407057762146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 06:27:22.624887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/08/image_15122025_06_08_35_10668.jpg', '/home/pi/Desktop/images/15122025/06/08/image_15122025_06_08_44_9709.jpg', '/home/pi/Desktop/images/15122025/06/08/image_15122025_06_08_54_9617.jpg', '/home/pi/Desktop/images/15122025/06/08/image_15122025_06_09_05_10605.jpg', '/home/pi/Desktop/images/15122025/06/09/image_15122025_06_09_14_9769.jpg', '/home/pi/Desktop/images/15122025/06/09/image_15122025_06_09_34_9869.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/08/image_15122025_06_08_35_10668.jpg
/home/pi/Desktop/images/15122025/06/08/image_15122025_06_08_44_9709.jpg
/home/pi/Desktop/images/15122025/06/08/image_15122025_06_08_54_9617.jpg
/home/pi/Desktop/images/15122025/06/08/image_15122025_06_09_05_10605.jpg
/home/pi/Desktop/images/15122025/06/09/image_15122025_06_09_14_9769.jpg
/home/pi/Desktop/images/15122025/06/09/image_15122025_06_09_34_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":["1399436423","1399436433","1399436421","1399436430","1399436418","1399436426"],"photo_ids_order":["1399436418","1399436421","1399436423","1399436426","1399436430","1399436433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/42d7ef470d364cd742a731398ec82c25.jpg","text":"TemporaryFile(/tmp/multipartBody5473194097961887384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776503239,"filename":"image_15122025_06_08_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/15/09d2afef4757fbab51dbfb82955fbaf0.jpg","text":"TemporaryFile(/tmp/multipartBody4832359254142877475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776503239,"filename":"image_15122025_06_09_34_9869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4229fe2d09833903c670315608cf5380.jpg","text":"TemporaryFile(/tmp/multipartBody5719008274220118585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776503239,"filename":"image_15122025_06_08_44_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/35293f59746e48204cf85f44ab3de1d5.jpg","text":"TemporaryFile(/tmp/multipartBody2836267161911792809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776503239,"filename":"image_15122025_06_09_14_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2374cf25fcb2c0a5d1d3ebdd2b305e6f.jpg","text":"TemporaryFile(/tmp/multipartBody1570037168813083951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776503239,"filename":"image_15122025_06_08_35_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ea924dfbfd5ebce427b373e1fe7d9cf0.jpg","text":"TemporaryFile(/tmp/multipartBody7578540100819179180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776503239,"filename":"image_15122025_06_09_05_10605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436423","file1":"1399436421","file0":"1399436418","file4":"1399436430","file5":"1399436433","file3":"1399436426"},"map_files_photo_id_array":[{"photo_id":"1399436433","filename":"file5"},{"photo_id":"1399436423","filename":"file2"},{"photo_id":"1399436430","filename":"file4"},{"photo_id":"1399436421","filename":"file1"},{"photo_id":"1399436418","filename":"file0"},{"photo_id":"1399436426","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399436423":["hashtag1","hashtag2"]},{"1399436433":["hashtag1","hashtag2"]},{"1399436421":["hashtag1","hashtag2"]},{"1399436430":["hashtag1","hashtag2"]},{"1399436418":["hashtag1","hashtag2"]},{"1399436426":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399436423, 1399436433, 1399436421, 1399436430, 1399436418, 1399436426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52510929107666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 06:28:02.378337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/09/image_15122025_06_09_44_10636.jpg', '/home/pi/Desktop/images/15122025/06/09/image_15122025_06_09_54_9689.jpg', '/home/pi/Desktop/images/15122025/06/09/image_15122025_06_10_04_9691.jpg', '/home/pi/Desktop/images/15122025/06/10/image_15122025_06_10_14_10705.jpg', '/home/pi/Desktop/images/15122025/06/10/image_15122025_06_10_24_9873.jpg', '/home/pi/Desktop/images/15122025/06/10/image_15122025_06_10_34_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/09/image_15122025_06_09_44_10636.jpg
/home/pi/Desktop/images/15122025/06/09/image_15122025_06_09_54_9689.jpg
/home/pi/Desktop/images/15122025/06/09/image_15122025_06_10_04_9691.jpg
/home/pi/Desktop/images/15122025/06/10/image_15122025_06_10_14_10705.jpg
/home/pi/Desktop/images/15122025/06/10/image_15122025_06_10_24_9873.jpg
/home/pi/Desktop/images/15122025/06/10/image_15122025_06_10_34_9759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399436441","1399436449","1399436443","1399436442","1399436445","1399436439"],"photo_ids_order":["1399436439","1399436441","1399436442","1399436443","1399436445","1399436449"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e67aec87ca396b4f274711af76ad80ec.jpg","text":"TemporaryFile(/tmp/multipartBody9102248681653638820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776543003,"filename":"image_15122025_06_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/15/634aafb4d11d5e26defb05a7fe846f80.jpg","text":"TemporaryFile(/tmp/multipartBody863362546806791327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776543003,"filename":"image_15122025_06_10_34_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/25c053fc27906f3539f7616fc1e395c4.jpg","text":"TemporaryFile(/tmp/multipartBody5382370489559022178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776543003,"filename":"image_15122025_06_10_14_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1bf374e7a4f2c8608ced82a570f19d13.jpg","text":"TemporaryFile(/tmp/multipartBody912517122787814535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776543003,"filename":"image_15122025_06_10_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/15/957196cde90316c001ef269a6844a667.jpg","text":"TemporaryFile(/tmp/multipartBody8282947287790453476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776543003,"filename":"image_15122025_06_10_24_9873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ddf5fa85b45ac1d8166df51a9da24cea.jpg","text":"TemporaryFile(/tmp/multipartBody833445584675010318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776543003,"filename":"image_15122025_06_09_44_10636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436442","file1":"1399436441","file0":"1399436439","file4":"1399436445","file5":"1399436449","file3":"1399436443"},"map_files_photo_id_array":[{"photo_id":"1399436449","filename":"file5"},{"photo_id":"1399436442","filename":"file2"},{"photo_id":"1399436445","filename":"file4"},{"photo_id":"1399436441","filename":"file1"},{"photo_id":"1399436439","filename":"file0"},{"photo_id":"1399436443","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399436441":["hashtag1","hashtag2"]},{"1399436449":["hashtag1","hashtag2"]},{"1399436443":["hashtag1","hashtag2"]},{"1399436442":["hashtag1","hashtag2"]},{"1399436445":["hashtag1","hashtag2"]},{"1399436439":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399436441, 1399436449, 1399436443, 1399436442, 1399436445, 1399436439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92145609855652 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 06:28:41.822639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/50/image_05112025_13_50_15_1767.jpg', '/home/pi/Desktop/images/05112025/13/50/image_05112025_13_50_18_2541.jpg', '/home/pi/Desktop/images/05112025/13/50/image_05112025_13_50_23_2664.jpg', '/home/pi/Desktop/images/05112025/13/50/image_05112025_13_50_27_4217.jpg', '/home/pi/Desktop/images/05112025/13/50/image_05112025_13_50_29_1667.jpg', '/home/pi/Desktop/images/05112025/13/50/image_05112025_13_50_33_3778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/50/image_05112025_13_50_15_1767.jpg
/home/pi/Desktop/images/05112025/13/50/image_05112025_13_50_18_2541.jpg
/home/pi/Desktop/images/05112025/13/50/image_05112025_13_50_23_2664.jpg
/home/pi/Desktop/images/05112025/13/50/image_05112025_13_50_27_4217.jpg
/home/pi/Desktop/images/05112025/13/50/image_05112025_13_50_29_1667.jpg
/home/pi/Desktop/images/05112025/13/50/image_05112025_13_50_33_3778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399436467","1399436466","1399436469","1399436460","1399436462","1399436468"],"photo_ids_order":["1399436460","1399436462","1399436466","1399436467","1399436468","1399436469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/54958983aedea88de6e598d4b38594c4.jpg","text":"TemporaryFile(/tmp/multipartBody9206398315716228428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776582520,"filename":"image_05112025_13_50_27_4217.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/719e1dba9b80a53f98c365c3e864323f.jpg","text":"TemporaryFile(/tmp/multipartBody7760269828550672236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776582520,"filename":"image_05112025_13_50_23_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/15/32b14830f6a4be6929e06b7890fb0e32.jpg","text":"TemporaryFile(/tmp/multipartBody1925631076362914454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776582520,"filename":"image_05112025_13_50_33_3778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9e157e38eed1e59ac8e16c2b2d3caadb.jpg","text":"TemporaryFile(/tmp/multipartBody703590126963444047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776582520,"filename":"image_05112025_13_50_15_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/15/a21beb79b4a6df280dec5202be82613a.jpg","text":"TemporaryFile(/tmp/multipartBody1413326710909058365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776582520,"filename":"image_05112025_13_50_18_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/15/99130956ab5a2867aab8448da70c765c.jpg","text":"TemporaryFile(/tmp/multipartBody8771033872838022755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776582520,"filename":"image_05112025_13_50_29_1667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436466","file1":"1399436462","file0":"1399436460","file4":"1399436468","file5":"1399436469","file3":"1399436467"},"map_files_photo_id_array":[{"photo_id":"1399436469","filename":"file5"},{"photo_id":"1399436466","filename":"file2"},{"photo_id":"1399436468","filename":"file4"},{"photo_id":"1399436462","filename":"file1"},{"photo_id":"1399436460","filename":"file0"},{"photo_id":"1399436467","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399436467":["hashtag1","hashtag2"]},{"1399436466":["hashtag1","hashtag2"]},{"1399436469":["hashtag1","hashtag2"]},{"1399436460":["hashtag1","hashtag2"]},{"1399436462":["hashtag1","hashtag2"]},{"1399436468":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399436467, 1399436466, 1399436469, 1399436460, 1399436462, 1399436468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13698053359985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 06:29:22.090148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/10/image_15122025_06_10_44_9616.jpg', '/home/pi/Desktop/images/15122025/06/10/image_15122025_06_10_55_10941.jpg', '/home/pi/Desktop/images/15122025/06/10/image_15122025_06_11_04_9674.jpg', '/home/pi/Desktop/images/15122025/06/11/image_15122025_06_11_14_9768.jpg', '/home/pi/Desktop/images/15122025/06/11/image_15122025_06_11_24_9678.jpg', '/home/pi/Desktop/images/15122025/06/11/image_15122025_06_11_34_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/10/image_15122025_06_10_44_9616.jpg
/home/pi/Desktop/images/15122025/06/10/image_15122025_06_10_55_10941.jpg
/home/pi/Desktop/images/15122025/06/10/image_15122025_06_11_04_9674.jpg
/home/pi/Desktop/images/15122025/06/11/image_15122025_06_11_14_9768.jpg
/home/pi/Desktop/images/15122025/06/11/image_15122025_06_11_24_9678.jpg
/home/pi/Desktop/images/15122025/06/11/image_15122025_06_11_34_10625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399436476","1399436479","1399436481","1399436474","1399436483","1399436486"],"photo_ids_order":["1399436474","1399436476","1399436479","1399436481","1399436483","1399436486"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3dcea1592d7fd6686c5a101f8f5a5efd.jpg","text":"TemporaryFile(/tmp/multipartBody7463963777277580723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776622721,"filename":"image_15122025_06_10_55_10941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/eba3bd9e2f4639857aeb80c03afe9678.jpg","text":"TemporaryFile(/tmp/multipartBody4269699948302748737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776622721,"filename":"image_15122025_06_11_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/15/773ad4e91faee4296c3c198906865b74.jpg","text":"TemporaryFile(/tmp/multipartBody8741739980892196700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776622721,"filename":"image_15122025_06_11_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/15/e3943e0024c667cb84ea8dc3cc8bcc75.jpg","text":"TemporaryFile(/tmp/multipartBody3646435089028438317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776622721,"filename":"image_15122025_06_10_44_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9d3819dbcd197e7c0ca0b9fbfac140f4.jpg","text":"TemporaryFile(/tmp/multipartBody776038811717726084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776622721,"filename":"image_15122025_06_11_24_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/414810c70de53d87906affb624844778.jpg","text":"TemporaryFile(/tmp/multipartBody1879636397174037299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776622721,"filename":"image_15122025_06_11_34_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436479","file1":"1399436476","file0":"1399436474","file4":"1399436483","file5":"1399436486","file3":"1399436481"},"map_files_photo_id_array":[{"photo_id":"1399436486","filename":"file5"},{"photo_id":"1399436479","filename":"file2"},{"photo_id":"1399436483","filename":"file4"},{"photo_id":"1399436476","filename":"file1"},{"photo_id":"1399436474","filename":"file0"},{"photo_id":"1399436481","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399436476":["hashtag1","hashtag2"]},{"1399436479":["hashtag1","hashtag2"]},{"1399436481":["hashtag1","hashtag2"]},{"1399436474":["hashtag1","hashtag2"]},{"1399436483":["hashtag1","hashtag2"]},{"1399436486":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399436476, 1399436479, 1399436481, 1399436474, 1399436483, 1399436486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.60771417617798 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 06:30:02.741981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/11/image_15122025_06_11_44_9641.jpg', '/home/pi/Desktop/images/15122025/06/11/image_15122025_06_11_54_9739.jpg', '/home/pi/Desktop/images/15122025/06/11/image_15122025_06_12_05_10721.jpg', '/home/pi/Desktop/images/15122025/06/12/image_15122025_06_12_14_9756.jpg', '/home/pi/Desktop/images/15122025/06/12/image_15122025_06_12_24_9694.jpg', '/home/pi/Desktop/images/15122025/06/12/image_15122025_06_12_35_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/11/image_15122025_06_11_44_9641.jpg
/home/pi/Desktop/images/15122025/06/11/image_15122025_06_11_54_9739.jpg
/home/pi/Desktop/images/15122025/06/11/image_15122025_06_12_05_10721.jpg
/home/pi/Desktop/images/15122025/06/12/image_15122025_06_12_14_9756.jpg
/home/pi/Desktop/images/15122025/06/12/image_15122025_06_12_24_9694.jpg
/home/pi/Desktop/images/15122025/06/12/image_15122025_06_12_35_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":["1399436494","1399436488","1399436496","1399436499","1399436490","1399436492"],"photo_ids_order":["1399436488","1399436490","1399436492","1399436494","1399436496","1399436499"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4afe6472b263f97e4b3828eecf613b41.jpg","text":"TemporaryFile(/tmp/multipartBody6989316634974146334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776663521,"filename":"image_15122025_06_12_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/15/11114cb1b83604bbad7af4a93855dfdb.jpg","text":"TemporaryFile(/tmp/multipartBody6372515685215453013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776663521,"filename":"image_15122025_06_11_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/15/5f75cac3cf48550b7cfb70e90e94bf2e.jpg","text":"TemporaryFile(/tmp/multipartBody2005961558034119638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776663521,"filename":"image_15122025_06_12_24_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/76b6468518a878e80c84e6da75dc7c4b.jpg","text":"TemporaryFile(/tmp/multipartBody6798449934332466104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776663521,"filename":"image_15122025_06_12_35_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a9e9494402f336abb00589f29db126ba.jpg","text":"TemporaryFile(/tmp/multipartBody1785567604731579784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776663521,"filename":"image_15122025_06_11_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/15/62a77c735b2d4372c1b2b835350f6f2a.jpg","text":"TemporaryFile(/tmp/multipartBody6563240389685121158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776663521,"filename":"image_15122025_06_12_05_10721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436492","file1":"1399436490","file0":"1399436488","file4":"1399436496","file5":"1399436499","file3":"1399436494"},"map_files_photo_id_array":[{"photo_id":"1399436499","filename":"file5"},{"photo_id":"1399436492","filename":"file2"},{"photo_id":"1399436496","filename":"file4"},{"photo_id":"1399436490","filename":"file1"},{"photo_id":"1399436488","filename":"file0"},{"photo_id":"1399436494","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399436494":["hashtag1","hashtag2"]},{"1399436488":["hashtag1","hashtag2"]},{"1399436496":["hashtag1","hashtag2"]},{"1399436499":["hashtag1","hashtag2"]},{"1399436490":["hashtag1","hashtag2"]},{"1399436492":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399436494, 1399436488, 1399436496, 1399436499, 1399436490, 1399436492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.487797498703 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 06:30:42.316403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/50/image_05112025_13_50_38_1816.jpg', '/home/pi/Desktop/images/05112025/13/50/image_05112025_13_50_41_3445.jpg', '/home/pi/Desktop/images/05112025/13/50/image_05112025_13_50_44_2719.jpg', '/home/pi/Desktop/images/05112025/13/50/image_05112025_13_50_48_3754.jpg', '/home/pi/Desktop/images/05112025/13/50/image_05112025_13_50_50_2630.jpg', '/home/pi/Desktop/images/05112025/13/50/image_05112025_13_50_59_8746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/50/image_05112025_13_50_38_1816.jpg
/home/pi/Desktop/images/05112025/13/50/image_05112025_13_50_41_3445.jpg
/home/pi/Desktop/images/05112025/13/50/image_05112025_13_50_44_2719.jpg
/home/pi/Desktop/images/05112025/13/50/image_05112025_13_50_48_3754.jpg
/home/pi/Desktop/images/05112025/13/50/image_05112025_13_50_50_2630.jpg
/home/pi/Desktop/images/05112025/13/50/image_05112025_13_50_59_8746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399436513","1399436510","1399436512","1399436515","1399436514","1399436517"],"photo_ids_order":["1399436510","1399436512","1399436513","1399436514","1399436515","1399436517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9441e0e679486ee54882b6cd2b6f7d50.jpg","text":"TemporaryFile(/tmp/multipartBody6470434930849311823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776703015,"filename":"image_05112025_13_50_44_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f20ff5b7e1a5229ba3259c83aa5c809b.jpg","text":"TemporaryFile(/tmp/multipartBody3309254155187902741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776703015,"filename":"image_05112025_13_50_38_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/15/094920664e354afc52602b7f582bb60f.jpg","text":"TemporaryFile(/tmp/multipartBody2556076783587650949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776703015,"filename":"image_05112025_13_50_41_3445.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b7e6d3817962f900864a853522f88f3a.jpg","text":"TemporaryFile(/tmp/multipartBody5816248649166642828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776703015,"filename":"image_05112025_13_50_50_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c7c38b6ddcc0898b479cc1c2314628e9.jpg","text":"TemporaryFile(/tmp/multipartBody8428996541607779720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776703015,"filename":"image_05112025_13_50_48_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9d223d1c8cb92af483873710c6cac2db.jpg","text":"TemporaryFile(/tmp/multipartBody7054495097199253944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776703015,"filename":"image_05112025_13_50_59_8746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436513","file1":"1399436512","file0":"1399436510","file4":"1399436515","file5":"1399436517","file3":"1399436514"},"map_files_photo_id_array":[{"photo_id":"1399436517","filename":"file5"},{"photo_id":"1399436513","filename":"file2"},{"photo_id":"1399436515","filename":"file4"},{"photo_id":"1399436512","filename":"file1"},{"photo_id":"1399436510","filename":"file0"},{"photo_id":"1399436514","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399436513":["hashtag1","hashtag2"]},{"1399436510":["hashtag1","hashtag2"]},{"1399436512":["hashtag1","hashtag2"]},{"1399436515":["hashtag1","hashtag2"]},{"1399436514":["hashtag1","hashtag2"]},{"1399436517":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399436513, 1399436510, 1399436512, 1399436515, 1399436514, 1399436517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27130889892578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 06:31:22.591287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/12/image_15122025_06_12_44_9679.jpg', '/home/pi/Desktop/images/15122025/06/12/image_15122025_06_12_54_9645.jpg', '/home/pi/Desktop/images/15122025/06/12/image_15122025_06_13_05_10716.jpg', '/home/pi/Desktop/images/15122025/06/13/image_15122025_06_13_14_9633.jpg', '/home/pi/Desktop/images/15122025/06/13/image_15122025_06_13_24_9654.jpg', '/home/pi/Desktop/images/15122025/06/13/image_15122025_06_13_35_10706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/12/image_15122025_06_12_44_9679.jpg
/home/pi/Desktop/images/15122025/06/12/image_15122025_06_12_54_9645.jpg
/home/pi/Desktop/images/15122025/06/12/image_15122025_06_13_05_10716.jpg
/home/pi/Desktop/images/15122025/06/13/image_15122025_06_13_14_9633.jpg
/home/pi/Desktop/images/15122025/06/13/image_15122025_06_13_24_9654.jpg
/home/pi/Desktop/images/15122025/06/13/image_15122025_06_13_35_10706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399436540","1399436542","1399436532","1399436535","1399436544","1399436538"],"photo_ids_order":["1399436532","1399436535","1399436538","1399436540","1399436542","1399436544"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a32543df7302df2be207c55b227b08ac.jpg","text":"TemporaryFile(/tmp/multipartBody3773769100368503252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776743291,"filename":"image_15122025_06_13_14_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7e2ede19f3afe1c9e1b5f03bcfd763d4.jpg","text":"TemporaryFile(/tmp/multipartBody8947501822404276532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776743291,"filename":"image_15122025_06_13_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/15/f07429abd572ff4515eaa9489909ff1a.jpg","text":"TemporaryFile(/tmp/multipartBody8642637060577404259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776743291,"filename":"image_15122025_06_12_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/15/25b218451a67dcb09cc0d248baa46459.jpg","text":"TemporaryFile(/tmp/multipartBody7511375865591535531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776743291,"filename":"image_15122025_06_12_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/15/fc223a2cdf82758534a7760290d9f0d4.jpg","text":"TemporaryFile(/tmp/multipartBody9135041269633106431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776743291,"filename":"image_15122025_06_13_35_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b591584b10e2b038e39042df7240d1b6.jpg","text":"TemporaryFile(/tmp/multipartBody1186229606884894773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776743291,"filename":"image_15122025_06_13_05_10716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436538","file1":"1399436535","file0":"1399436532","file4":"1399436542","file5":"1399436544","file3":"1399436540"},"map_files_photo_id_array":[{"photo_id":"1399436544","filename":"file5"},{"photo_id":"1399436538","filename":"file2"},{"photo_id":"1399436542","filename":"file4"},{"photo_id":"1399436535","filename":"file1"},{"photo_id":"1399436532","filename":"file0"},{"photo_id":"1399436540","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399436540":["hashtag1","hashtag2"]},{"1399436542":["hashtag1","hashtag2"]},{"1399436532":["hashtag1","hashtag2"]},{"1399436535":["hashtag1","hashtag2"]},{"1399436544":["hashtag1","hashtag2"]},{"1399436538":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399436540, 1399436542, 1399436532, 1399436535, 1399436544, 1399436538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64492964744568 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 06:32:03.348448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/13/image_15122025_06_13_44_9215.jpg', '/home/pi/Desktop/images/15122025/06/13/image_15122025_06_13_55_10740.jpg', '/home/pi/Desktop/images/15122025/06/13/image_15122025_06_14_04_9698.jpg', '/home/pi/Desktop/images/15122025/06/14/image_15122025_06_14_15_10246.jpg', '/home/pi/Desktop/images/15122025/06/14/image_15122025_06_14_24_9742.jpg', '/home/pi/Desktop/images/15122025/06/14/image_15122025_06_14_34_9518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/13/image_15122025_06_13_44_9215.jpg
/home/pi/Desktop/images/15122025/06/13/image_15122025_06_13_55_10740.jpg
/home/pi/Desktop/images/15122025/06/13/image_15122025_06_14_04_9698.jpg
/home/pi/Desktop/images/15122025/06/14/image_15122025_06_14_15_10246.jpg
/home/pi/Desktop/images/15122025/06/14/image_15122025_06_14_24_9742.jpg
/home/pi/Desktop/images/15122025/06/14/image_15122025_06_14_34_9518.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399436566","1399436569","1399436562","1399436555","1399436564","1399436546"],"photo_ids_order":["1399436546","1399436555","1399436562","1399436564","1399436566","1399436569"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b033ca7c7d84eb11042e8fa6d2887864.jpg","text":"TemporaryFile(/tmp/multipartBody3910949680418421863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776783992,"filename":"image_15122025_06_14_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/15/1abad86e54fbd30e12080fc7a7711496.jpg","text":"TemporaryFile(/tmp/multipartBody5588331196443850445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776783992,"filename":"image_15122025_06_14_34_9518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9edacf837d8a0e892b2ff72282d67ee8.jpg","text":"TemporaryFile(/tmp/multipartBody7939155051815517901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776783992,"filename":"image_15122025_06_14_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/15/0defaf123ac26cd3d0abd9b6b592df9d.jpg","text":"TemporaryFile(/tmp/multipartBody8293133154880484384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776783992,"filename":"image_15122025_06_13_55_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f6fcf1ea492585bb1c8c455d353889ef.jpg","text":"TemporaryFile(/tmp/multipartBody6992068180477028942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776783992,"filename":"image_15122025_06_14_15_10246.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ee15cd4f1c21f455512af27305d4330d.jpg","text":"TemporaryFile(/tmp/multipartBody5925571160149364973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776783992,"filename":"image_15122025_06_13_44_9215.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436562","file1":"1399436555","file0":"1399436546","file4":"1399436566","file5":"1399436569","file3":"1399436564"},"map_files_photo_id_array":[{"photo_id":"1399436569","filename":"file5"},{"photo_id":"1399436562","filename":"file2"},{"photo_id":"1399436566","filename":"file4"},{"photo_id":"1399436555","filename":"file1"},{"photo_id":"1399436546","filename":"file0"},{"photo_id":"1399436564","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399436566":["hashtag1","hashtag2"]},{"1399436569":["hashtag1","hashtag2"]},{"1399436562":["hashtag1","hashtag2"]},{"1399436555":["hashtag1","hashtag2"]},{"1399436564":["hashtag1","hashtag2"]},{"1399436546":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399436566, 1399436569, 1399436562, 1399436555, 1399436564, 1399436546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18711519241333 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 06:32:42.788519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_20_20474.jpg', '/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_21_1684.jpg', '/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_36_1708.jpg', '/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_38_1827.jpg', '/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_40_1584.jpg', '/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_41_1631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_20_20474.jpg
/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_21_1684.jpg
/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_36_1708.jpg
/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_38_1827.jpg
/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_40_1584.jpg
/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_41_1631.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6259856224060059 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 06:33:02.655716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/14/image_15122025_06_14_45_10719.jpg', '/home/pi/Desktop/images/15122025/06/14/image_15122025_06_14_54_9723.jpg', '/home/pi/Desktop/images/15122025/06/14/image_15122025_06_15_04_9633.jpg', '/home/pi/Desktop/images/15122025/06/15/image_15122025_06_15_15_10721.jpg', '/home/pi/Desktop/images/15122025/06/15/image_15122025_06_15_24_9654.jpg', '/home/pi/Desktop/images/15122025/06/15/image_15122025_06_15_34_9765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/14/image_15122025_06_14_45_10719.jpg
/home/pi/Desktop/images/15122025/06/14/image_15122025_06_14_54_9723.jpg
/home/pi/Desktop/images/15122025/06/14/image_15122025_06_15_04_9633.jpg
/home/pi/Desktop/images/15122025/06/15/image_15122025_06_15_15_10721.jpg
/home/pi/Desktop/images/15122025/06/15/image_15122025_06_15_24_9654.jpg
/home/pi/Desktop/images/15122025/06/15/image_15122025_06_15_34_9765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399436599","1399436593","1399436587","1399436595","1399436589","1399436591"],"photo_ids_order":["1399436587","1399436589","1399436591","1399436593","1399436595","1399436599"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8b042c8213ee4745e06a5013c071058e.jpg","text":"TemporaryFile(/tmp/multipartBody1174521202066599795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776843318,"filename":"image_15122025_06_15_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/15/e3727f373f935b06e6b59c608f0a6b15.jpg","text":"TemporaryFile(/tmp/multipartBody7818996471117156469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776843318,"filename":"image_15122025_06_15_15_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1e09eb2d1880813f4026cc93d314ade3.jpg","text":"TemporaryFile(/tmp/multipartBody2642109612765097555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776843318,"filename":"image_15122025_06_14_45_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/15/adc7cf6f9afe0e38789bb04e12a717ab.jpg","text":"TemporaryFile(/tmp/multipartBody6659058333505923983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776843318,"filename":"image_15122025_06_15_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/15/5a798143e69eff571596cc4f67135150.jpg","text":"TemporaryFile(/tmp/multipartBody5641435111920300860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776843318,"filename":"image_15122025_06_14_54_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dc1710d85b9a13652e3211722efb8d45.jpg","text":"TemporaryFile(/tmp/multipartBody6890673702028231986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776843318,"filename":"image_15122025_06_15_04_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436591","file1":"1399436589","file0":"1399436587","file4":"1399436595","file5":"1399436599","file3":"1399436593"},"map_files_photo_id_array":[{"photo_id":"1399436599","filename":"file5"},{"photo_id":"1399436591","filename":"file2"},{"photo_id":"1399436595","filename":"file4"},{"photo_id":"1399436589","filename":"file1"},{"photo_id":"1399436587","filename":"file0"},{"photo_id":"1399436593","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399436599":["hashtag1","hashtag2"]},{"1399436593":["hashtag1","hashtag2"]},{"1399436587":["hashtag1","hashtag2"]},{"1399436595":["hashtag1","hashtag2"]},{"1399436589":["hashtag1","hashtag2"]},{"1399436591":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399436599, 1399436593, 1399436587, 1399436595, 1399436589, 1399436591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.914971351623535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 06:33:42.121629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_20_20474.jpg', '/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_21_1684.jpg', '/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_36_1708.jpg', '/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_38_1827.jpg', '/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_40_1584.jpg', '/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_41_1631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_20_20474.jpg
/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_21_1684.jpg
/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_36_1708.jpg
/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_38_1827.jpg
/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_40_1584.jpg
/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_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":["1399436606","1399436603","1399436608","1399436613","1399436607","1399436618"],"photo_ids_order":["1399436603","1399436606","1399436607","1399436608","1399436613","1399436618"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/577d0fd3020e555ee6cdf18198538d22.jpg","text":"TemporaryFile(/tmp/multipartBody4553714571047524452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776882727,"filename":"image_05112025_13_51_21_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/15/82a33ef8b430bf139da7d51a9c663730.jpg","text":"TemporaryFile(/tmp/multipartBody7612772931559723522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776882727,"filename":"image_05112025_13_51_20_20474.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8524f332077a7ca107117a6f8ee9b5a7.jpg","text":"TemporaryFile(/tmp/multipartBody7076198725773640727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776882727,"filename":"image_05112025_13_51_38_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/15/bafa5db19714ca616eb476694927fb53.jpg","text":"TemporaryFile(/tmp/multipartBody3381758922121427103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776882727,"filename":"image_05112025_13_51_40_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/15/9a52a191363b4620da7ef7d890c34786.jpg","text":"TemporaryFile(/tmp/multipartBody1738521428850145825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776882727,"filename":"image_05112025_13_51_36_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/15/6d5a5691e9d10f7c869349233ee5ad7b.jpg","text":"TemporaryFile(/tmp/multipartBody4474490075009410110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776882727,"filename":"image_05112025_13_51_41_1631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436607","file1":"1399436606","file0":"1399436603","file4":"1399436613","file5":"1399436618","file3":"1399436608"},"map_files_photo_id_array":[{"photo_id":"1399436618","filename":"file5"},{"photo_id":"1399436607","filename":"file2"},{"photo_id":"1399436613","filename":"file4"},{"photo_id":"1399436606","filename":"file1"},{"photo_id":"1399436603","filename":"file0"},{"photo_id":"1399436608","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399436606":["hashtag1","hashtag2"]},{"1399436603":["hashtag1","hashtag2"]},{"1399436608":["hashtag1","hashtag2"]},{"1399436613":["hashtag1","hashtag2"]},{"1399436607":["hashtag1","hashtag2"]},{"1399436618":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399436606, 1399436603, 1399436608, 1399436613, 1399436607, 1399436618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58301377296448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 06:34:22.364352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/15/image_15122025_06_15_45_10550.jpg', '/home/pi/Desktop/images/15122025/06/15/image_15122025_06_15_54_9851.jpg', '/home/pi/Desktop/images/15122025/06/16/image_15122025_06_16_05_10494.jpg', '/home/pi/Desktop/images/15122025/06/16/image_15122025_06_16_14_9000.jpg', '/home/pi/Desktop/images/15122025/06/16/image_15122025_06_16_24_9809.jpg', '/home/pi/Desktop/images/15122025/06/16/image_15122025_06_16_35_10783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/15/image_15122025_06_15_45_10550.jpg
/home/pi/Desktop/images/15122025/06/15/image_15122025_06_15_54_9851.jpg
/home/pi/Desktop/images/15122025/06/16/image_15122025_06_16_05_10494.jpg
/home/pi/Desktop/images/15122025/06/16/image_15122025_06_16_14_9000.jpg
/home/pi/Desktop/images/15122025/06/16/image_15122025_06_16_24_9809.jpg
/home/pi/Desktop/images/15122025/06/16/image_15122025_06_16_35_10783.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399436633","1399436635","1399436629","1399436626","1399436631","1399436639"],"photo_ids_order":["1399436626","1399436629","1399436631","1399436633","1399436635","1399436639"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1f3dacdf2796c920d5dc99a5ba214d7a.jpg","text":"TemporaryFile(/tmp/multipartBody9172873949898295308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776922991,"filename":"image_15122025_06_16_14_9000.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c425eb25e9566fce26b2f2f19ad19a2f.jpg","text":"TemporaryFile(/tmp/multipartBody423602942110328358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776922991,"filename":"image_15122025_06_16_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/15/3b0636b19296ca15dcb6140631593d5f.jpg","text":"TemporaryFile(/tmp/multipartBody8431269711102094504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776922991,"filename":"image_15122025_06_15_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/15/ae65e3fde0c930b9210cfe50bff40edc.jpg","text":"TemporaryFile(/tmp/multipartBody770255881157133006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776922991,"filename":"image_15122025_06_15_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/15/efb7a2ea58349d8489dea9d48e670425.jpg","text":"TemporaryFile(/tmp/multipartBody3361240258523218152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776922991,"filename":"image_15122025_06_16_05_10494.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2e77ac97b0c79bb582745520425c6e6a.jpg","text":"TemporaryFile(/tmp/multipartBody163946348908967084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776922991,"filename":"image_15122025_06_16_35_10783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436631","file1":"1399436629","file0":"1399436626","file4":"1399436635","file5":"1399436639","file3":"1399436633"},"map_files_photo_id_array":[{"photo_id":"1399436639","filename":"file5"},{"photo_id":"1399436631","filename":"file2"},{"photo_id":"1399436635","filename":"file4"},{"photo_id":"1399436629","filename":"file1"},{"photo_id":"1399436626","filename":"file0"},{"photo_id":"1399436633","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399436633":["hashtag1","hashtag2"]},{"1399436635":["hashtag1","hashtag2"]},{"1399436629":["hashtag1","hashtag2"]},{"1399436626":["hashtag1","hashtag2"]},{"1399436631":["hashtag1","hashtag2"]},{"1399436639":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399436633, 1399436635, 1399436629, 1399436626, 1399436631, 1399436639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56011128425598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 06:35:03.202828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/16/image_15122025_06_16_44_9826.jpg', '/home/pi/Desktop/images/15122025/06/16/image_15122025_06_16_54_9832.jpg', '/home/pi/Desktop/images/15122025/06/16/image_15122025_06_17_05_10429.jpg', '/home/pi/Desktop/images/15122025/06/17/image_15122025_06_17_14_9757.jpg', '/home/pi/Desktop/images/15122025/06/17/image_15122025_06_17_24_10088.jpg', '/home/pi/Desktop/images/15122025/06/17/image_15122025_06_17_34_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/16/image_15122025_06_16_44_9826.jpg
/home/pi/Desktop/images/15122025/06/16/image_15122025_06_16_54_9832.jpg
/home/pi/Desktop/images/15122025/06/16/image_15122025_06_17_05_10429.jpg
/home/pi/Desktop/images/15122025/06/17/image_15122025_06_17_14_9757.jpg
/home/pi/Desktop/images/15122025/06/17/image_15122025_06_17_24_10088.jpg
/home/pi/Desktop/images/15122025/06/17/image_15122025_06_17_34_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":["1399436662","1399436664","1399436646","1399436669","1399436657","1399436666"],"photo_ids_order":["1399436646","1399436657","1399436662","1399436664","1399436666","1399436669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/355fe9154e8fb11e223521e36b4fecd8.jpg","text":"TemporaryFile(/tmp/multipartBody900459478720587658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776963912,"filename":"image_15122025_06_17_05_10429.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a6a7907b0e81b58cd251ff331057e945.jpg","text":"TemporaryFile(/tmp/multipartBody6108130451325089774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776963912,"filename":"image_15122025_06_17_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/15/936142d5d3d3a312d3743f9a1d995a77.jpg","text":"TemporaryFile(/tmp/multipartBody7230870769301273458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776963912,"filename":"image_15122025_06_16_44_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/369a01ed39300861eecc31a4ebd4061f.jpg","text":"TemporaryFile(/tmp/multipartBody5011074022008369853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776963912,"filename":"image_15122025_06_17_34_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/01eec1d892805fc9ba94133740fc6c6a.jpg","text":"TemporaryFile(/tmp/multipartBody4557030439010778648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776963912,"filename":"image_15122025_06_16_54_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c29279038746e2ba236421161202ca33.jpg","text":"TemporaryFile(/tmp/multipartBody6646615320501015166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765776963912,"filename":"image_15122025_06_17_24_10088.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436662","file1":"1399436657","file0":"1399436646","file4":"1399436666","file5":"1399436669","file3":"1399436664"},"map_files_photo_id_array":[{"photo_id":"1399436669","filename":"file5"},{"photo_id":"1399436662","filename":"file2"},{"photo_id":"1399436666","filename":"file4"},{"photo_id":"1399436657","filename":"file1"},{"photo_id":"1399436646","filename":"file0"},{"photo_id":"1399436664","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399436662":["hashtag1","hashtag2"]},{"1399436664":["hashtag1","hashtag2"]},{"1399436646":["hashtag1","hashtag2"]},{"1399436669":["hashtag1","hashtag2"]},{"1399436657":["hashtag1","hashtag2"]},{"1399436666":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399436662, 1399436664, 1399436646, 1399436669, 1399436657, 1399436666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57934594154358 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 06:35:42.503732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_43_1671.jpg', '/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_45_1617.jpg', '/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_46_1706.jpg', '/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_48_1492.jpg', '/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_49_1541.jpg', '/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_51_1745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_43_1671.jpg
/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_45_1617.jpg
/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_46_1706.jpg
/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_48_1492.jpg
/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_49_1541.jpg
/home/pi/Desktop/images/05112025/13/51/image_05112025_13_51_51_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":["1399436683","1399436680","1399436682","1399436676","1399436679","1399436681"],"photo_ids_order":["1399436676","1399436679","1399436680","1399436681","1399436682","1399436683"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ab150b9f2e90f0d2a77c0be29bf0bbaa.jpg","text":"TemporaryFile(/tmp/multipartBody3676057769944074732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777003195,"filename":"image_05112025_13_51_51_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/15/5a109ed219078397052239c036f8519d.jpg","text":"TemporaryFile(/tmp/multipartBody2768950964085857202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777003195,"filename":"image_05112025_13_51_46_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/15/1db5f7bcaf92573e432bb46358b675b3.jpg","text":"TemporaryFile(/tmp/multipartBody990750582429577262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777003195,"filename":"image_05112025_13_51_49_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/15/3767018dbdd60375e25bc0b6447a73bd.jpg","text":"TemporaryFile(/tmp/multipartBody5071050900254849262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777003195,"filename":"image_05112025_13_51_43_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/15/5cff33fb7abec3a81461e0ce528693dd.jpg","text":"TemporaryFile(/tmp/multipartBody4575015361770150828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777003195,"filename":"image_05112025_13_51_45_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/15/c2c54326eeb709b443f3bcd1f9b315bf.jpg","text":"TemporaryFile(/tmp/multipartBody1352932177860325703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777003195,"filename":"image_05112025_13_51_48_1492.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436680","file1":"1399436679","file0":"1399436676","file4":"1399436682","file5":"1399436683","file3":"1399436681"},"map_files_photo_id_array":[{"photo_id":"1399436683","filename":"file5"},{"photo_id":"1399436680","filename":"file2"},{"photo_id":"1399436682","filename":"file4"},{"photo_id":"1399436679","filename":"file1"},{"photo_id":"1399436676","filename":"file0"},{"photo_id":"1399436681","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399436683":["hashtag1","hashtag2"]},{"1399436680":["hashtag1","hashtag2"]},{"1399436682":["hashtag1","hashtag2"]},{"1399436676":["hashtag1","hashtag2"]},{"1399436679":["hashtag1","hashtag2"]},{"1399436681":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399436683, 1399436680, 1399436682, 1399436676, 1399436679, 1399436681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88953614234924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 06:36:22.779512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/17/image_15122025_06_17_44_9649.jpg', '/home/pi/Desktop/images/15122025/06/17/image_15122025_06_17_55_10817.jpg', '/home/pi/Desktop/images/15122025/06/17/image_15122025_06_18_04_9632.jpg', '/home/pi/Desktop/images/15122025/06/18/image_15122025_06_18_14_9580.jpg', '/home/pi/Desktop/images/15122025/06/18/image_15122025_06_18_25_10654.jpg', '/home/pi/Desktop/images/15122025/06/18/image_15122025_06_18_34_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/17/image_15122025_06_17_44_9649.jpg
/home/pi/Desktop/images/15122025/06/17/image_15122025_06_17_55_10817.jpg
/home/pi/Desktop/images/15122025/06/17/image_15122025_06_18_04_9632.jpg
/home/pi/Desktop/images/15122025/06/18/image_15122025_06_18_14_9580.jpg
/home/pi/Desktop/images/15122025/06/18/image_15122025_06_18_25_10654.jpg
/home/pi/Desktop/images/15122025/06/18/image_15122025_06_18_34_9717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399436698","1399436701","1399436688","1399436691","1399436693","1399436696"],"photo_ids_order":["1399436688","1399436691","1399436693","1399436696","1399436698","1399436701"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2a2e1d124d4e5bb8d416344458e5f025.jpg","text":"TemporaryFile(/tmp/multipartBody7805914875932232168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777043398,"filename":"image_15122025_06_18_25_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b8d5cfe60af8b0cb079ea949ac771fe5.jpg","text":"TemporaryFile(/tmp/multipartBody3442594351261738284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777043398,"filename":"image_15122025_06_18_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/15/b8dc7edebefb7e9cb33061674a97f119.jpg","text":"TemporaryFile(/tmp/multipartBody2906729101695012466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777043398,"filename":"image_15122025_06_17_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/15/3d84351cfd55602972e8dd0e9f62ecc6.jpg","text":"TemporaryFile(/tmp/multipartBody616764881286522502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777043398,"filename":"image_15122025_06_17_55_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/15/dcc590420a38367709a0c8a372b50313.jpg","text":"TemporaryFile(/tmp/multipartBody4382496694840788469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777043398,"filename":"image_15122025_06_18_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/15/03510b8b1abca02aff9a068dc22c847e.jpg","text":"TemporaryFile(/tmp/multipartBody1913632641991653951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777043398,"filename":"image_15122025_06_18_14_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436693","file1":"1399436691","file0":"1399436688","file4":"1399436698","file5":"1399436701","file3":"1399436696"},"map_files_photo_id_array":[{"photo_id":"1399436701","filename":"file5"},{"photo_id":"1399436693","filename":"file2"},{"photo_id":"1399436698","filename":"file4"},{"photo_id":"1399436691","filename":"file1"},{"photo_id":"1399436688","filename":"file0"},{"photo_id":"1399436696","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399436698":["hashtag1","hashtag2"]},{"1399436701":["hashtag1","hashtag2"]},{"1399436688":["hashtag1","hashtag2"]},{"1399436691":["hashtag1","hashtag2"]},{"1399436693":["hashtag1","hashtag2"]},{"1399436696":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399436698, 1399436701, 1399436688, 1399436691, 1399436693, 1399436696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29544258117676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 06:37:02.585606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/18/image_15122025_06_18_44_9886.jpg', '/home/pi/Desktop/images/15122025/06/18/image_15122025_06_18_54_9893.jpg', '/home/pi/Desktop/images/15122025/06/18/image_15122025_06_19_04_9703.jpg', '/home/pi/Desktop/images/15122025/06/19/image_15122025_06_19_14_10586.jpg', '/home/pi/Desktop/images/15122025/06/19/image_15122025_06_19_24_9781.jpg', '/home/pi/Desktop/images/15122025/06/19/image_15122025_06_19_34_9586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/18/image_15122025_06_18_44_9886.jpg
/home/pi/Desktop/images/15122025/06/18/image_15122025_06_18_54_9893.jpg
/home/pi/Desktop/images/15122025/06/18/image_15122025_06_19_04_9703.jpg
/home/pi/Desktop/images/15122025/06/19/image_15122025_06_19_14_10586.jpg
/home/pi/Desktop/images/15122025/06/19/image_15122025_06_19_24_9781.jpg
/home/pi/Desktop/images/15122025/06/19/image_15122025_06_19_34_9586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399436726","1399436720","1399436728","1399436731","1399436725","1399436727"],"photo_ids_order":["1399436720","1399436725","1399436726","1399436727","1399436728","1399436731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3c33a24373195812f2e23513ee939a83.jpg","text":"TemporaryFile(/tmp/multipartBody308528744494748687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777083245,"filename":"image_15122025_06_19_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/15/9c22493c79e2f560fb25bb6c1c45c521.jpg","text":"TemporaryFile(/tmp/multipartBody6101897137462901761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777083245,"filename":"image_15122025_06_18_44_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/15/003cc2fd419f5be52c9c1027c5daf288.jpg","text":"TemporaryFile(/tmp/multipartBody7518158149348061687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777083245,"filename":"image_15122025_06_19_24_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d6528be7241bc462ece53d9d78192654.jpg","text":"TemporaryFile(/tmp/multipartBody679975645137505821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777083245,"filename":"image_15122025_06_19_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/15/1069f3b4c58a323b9dc359bd9dfa90eb.jpg","text":"TemporaryFile(/tmp/multipartBody7684391920540557106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777083245,"filename":"image_15122025_06_18_54_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/15/d4dfc6334da8df3863dcc4b7e322e7f7.jpg","text":"TemporaryFile(/tmp/multipartBody5526404910402225138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777083245,"filename":"image_15122025_06_19_14_10586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436726","file1":"1399436725","file0":"1399436720","file4":"1399436728","file5":"1399436731","file3":"1399436727"},"map_files_photo_id_array":[{"photo_id":"1399436731","filename":"file5"},{"photo_id":"1399436726","filename":"file2"},{"photo_id":"1399436728","filename":"file4"},{"photo_id":"1399436725","filename":"file1"},{"photo_id":"1399436720","filename":"file0"},{"photo_id":"1399436727","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399436726":["hashtag1","hashtag2"]},{"1399436720":["hashtag1","hashtag2"]},{"1399436728":["hashtag1","hashtag2"]},{"1399436731":["hashtag1","hashtag2"]},{"1399436725":["hashtag1","hashtag2"]},{"1399436727":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399436726, 1399436720, 1399436728, 1399436731, 1399436725, 1399436727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52039551734924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 06:37:42.129798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/52/image_05112025_13_52_08_1511.jpg', '/home/pi/Desktop/images/05112025/13/52/image_05112025_13_52_10_1616.jpg', '/home/pi/Desktop/images/05112025/13/52/image_05112025_13_52_46_36688.jpg', '/home/pi/Desktop/images/05112025/13/52/image_05112025_13_52_53_6191.jpg', '/home/pi/Desktop/images/05112025/13/52/image_05112025_13_52_54_1787.jpg', '/home/pi/Desktop/images/05112025/13/52/image_05112025_13_52_56_1561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/52/image_05112025_13_52_08_1511.jpg
/home/pi/Desktop/images/05112025/13/52/image_05112025_13_52_10_1616.jpg
/home/pi/Desktop/images/05112025/13/52/image_05112025_13_52_46_36688.jpg
/home/pi/Desktop/images/05112025/13/52/image_05112025_13_52_53_6191.jpg
/home/pi/Desktop/images/05112025/13/52/image_05112025_13_52_54_1787.jpg
/home/pi/Desktop/images/05112025/13/52/image_05112025_13_52_56_1561.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399436747","1399436746","1399436740","1399436745","1399436748","1399436744"],"photo_ids_order":["1399436740","1399436744","1399436745","1399436746","1399436747","1399436748"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5117c3f3f9eb2639e3ebb6c4149cc51c.jpg","text":"TemporaryFile(/tmp/multipartBody5740162115871597225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777122844,"filename":"image_05112025_13_52_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/15/cecd81355c1a2d17d99336c09d1206a3.jpg","text":"TemporaryFile(/tmp/multipartBody4692712958044265362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777122844,"filename":"image_05112025_13_52_53_6191.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f944310aeadf00d251525faf961899a9.jpg","text":"TemporaryFile(/tmp/multipartBody2785393539355758260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777122844,"filename":"image_05112025_13_52_08_1511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1501e41a9125b603da188e274d4fccce.jpg","text":"TemporaryFile(/tmp/multipartBody7404284887194579200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777122844,"filename":"image_05112025_13_52_46_36688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/97c50f994e84ffcdd41693c4b688b0cb.jpg","text":"TemporaryFile(/tmp/multipartBody2983575540886630461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777122844,"filename":"image_05112025_13_52_56_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/15/f890e7fe7564794c03236fd6090a39c1.jpg","text":"TemporaryFile(/tmp/multipartBody7023541860891117421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777122844,"filename":"image_05112025_13_52_10_1616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436745","file1":"1399436744","file0":"1399436740","file4":"1399436747","file5":"1399436748","file3":"1399436746"},"map_files_photo_id_array":[{"photo_id":"1399436748","filename":"file5"},{"photo_id":"1399436745","filename":"file2"},{"photo_id":"1399436747","filename":"file4"},{"photo_id":"1399436744","filename":"file1"},{"photo_id":"1399436740","filename":"file0"},{"photo_id":"1399436746","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399436747":["hashtag1","hashtag2"]},{"1399436746":["hashtag1","hashtag2"]},{"1399436740":["hashtag1","hashtag2"]},{"1399436745":["hashtag1","hashtag2"]},{"1399436748":["hashtag1","hashtag2"]},{"1399436744":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399436747, 1399436746, 1399436740, 1399436745, 1399436748, 1399436744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.638553857803345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 06:38:22.423750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/19/image_15122025_06_19_45_10860.jpg', '/home/pi/Desktop/images/15122025/06/19/image_15122025_06_19_54_9682.jpg', '/home/pi/Desktop/images/15122025/06/19/image_15122025_06_20_04_9706.jpg', '/home/pi/Desktop/images/15122025/06/20/image_15122025_06_20_14_9836.jpg', '/home/pi/Desktop/images/15122025/06/20/image_15122025_06_20_24_10664.jpg', '/home/pi/Desktop/images/15122025/06/20/image_15122025_06_20_34_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/19/image_15122025_06_19_45_10860.jpg
/home/pi/Desktop/images/15122025/06/19/image_15122025_06_19_54_9682.jpg
/home/pi/Desktop/images/15122025/06/19/image_15122025_06_20_04_9706.jpg
/home/pi/Desktop/images/15122025/06/20/image_15122025_06_20_14_9836.jpg
/home/pi/Desktop/images/15122025/06/20/image_15122025_06_20_24_10664.jpg
/home/pi/Desktop/images/15122025/06/20/image_15122025_06_20_34_9684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399436787","1399436781","1399436769","1399436763","1399436766","1399436771"],"photo_ids_order":["1399436763","1399436766","1399436769","1399436771","1399436781","1399436787"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b4fbfbf5322b727b5ac28b724c93de6a.jpg","text":"TemporaryFile(/tmp/multipartBody1630444282377476728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777163036,"filename":"image_15122025_06_20_34_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b7412a0b486842a16db14b1b54e45cc1.jpg","text":"TemporaryFile(/tmp/multipartBody4367999297257950448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777163036,"filename":"image_15122025_06_20_24_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/958742989c784b7ee7c6876dedc669c2.jpg","text":"TemporaryFile(/tmp/multipartBody6992553150456280228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777163036,"filename":"image_15122025_06_20_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/15/c0f5755a6e8a8e4db1113d40274c532f.jpg","text":"TemporaryFile(/tmp/multipartBody8356582558190921153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777163036,"filename":"image_15122025_06_19_45_10860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/27ebe8c5e420eeea4fb633b8f0414a4d.jpg","text":"TemporaryFile(/tmp/multipartBody7588593046667545436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777163036,"filename":"image_15122025_06_19_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/15/804b261077d107a26f5e83fc00b49a66.jpg","text":"TemporaryFile(/tmp/multipartBody1945813050467744201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777163036,"filename":"image_15122025_06_20_14_9836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436769","file1":"1399436766","file0":"1399436763","file4":"1399436781","file5":"1399436787","file3":"1399436771"},"map_files_photo_id_array":[{"photo_id":"1399436787","filename":"file5"},{"photo_id":"1399436769","filename":"file2"},{"photo_id":"1399436781","filename":"file4"},{"photo_id":"1399436766","filename":"file1"},{"photo_id":"1399436763","filename":"file0"},{"photo_id":"1399436771","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399436787":["hashtag1","hashtag2"]},{"1399436781":["hashtag1","hashtag2"]},{"1399436769":["hashtag1","hashtag2"]},{"1399436763":["hashtag1","hashtag2"]},{"1399436766":["hashtag1","hashtag2"]},{"1399436771":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399436787, 1399436781, 1399436769, 1399436763, 1399436766, 1399436771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49411654472351 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 06:39:03.615719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/20/image_15122025_06_20_44_9636.jpg', '/home/pi/Desktop/images/15122025/06/20/image_15122025_06_20_55_10829.jpg', '/home/pi/Desktop/images/15122025/06/20/image_15122025_06_21_04_9757.jpg', '/home/pi/Desktop/images/15122025/06/21/image_15122025_06_21_14_9656.jpg', '/home/pi/Desktop/images/15122025/06/21/image_15122025_06_21_24_9688.jpg', '/home/pi/Desktop/images/15122025/06/21/image_15122025_06_21_34_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/20/image_15122025_06_20_44_9636.jpg
/home/pi/Desktop/images/15122025/06/20/image_15122025_06_20_55_10829.jpg
/home/pi/Desktop/images/15122025/06/20/image_15122025_06_21_04_9757.jpg
/home/pi/Desktop/images/15122025/06/21/image_15122025_06_21_14_9656.jpg
/home/pi/Desktop/images/15122025/06/21/image_15122025_06_21_24_9688.jpg
/home/pi/Desktop/images/15122025/06/21/image_15122025_06_21_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":["1399436797","1399436801","1399436793","1399436799","1399436798","1399436795"],"photo_ids_order":["1399436793","1399436795","1399436797","1399436798","1399436799","1399436801"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/20cace1f1a1f33c64dc41e8d6993202e.jpg","text":"TemporaryFile(/tmp/multipartBody5042908013137058618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777204403,"filename":"image_15122025_06_21_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/15/eec22d40fe94ad5723a6d5ef8d024910.jpg","text":"TemporaryFile(/tmp/multipartBody5802439807062373517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777204403,"filename":"image_15122025_06_21_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/15/38349b41fd03e182554ed211f1b77ad2.jpg","text":"TemporaryFile(/tmp/multipartBody3560035950423443722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777204403,"filename":"image_15122025_06_20_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/15/d33ff0e7b0a96362ebf4a3e2e8cf114e.jpg","text":"TemporaryFile(/tmp/multipartBody6660022887943703125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777204403,"filename":"image_15122025_06_21_24_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a23cc6842204c20c880e56626ef0e65d.jpg","text":"TemporaryFile(/tmp/multipartBody6248830018819764766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777204403,"filename":"image_15122025_06_21_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/15/8252a9a6607092986a927317684d5ee9.jpg","text":"TemporaryFile(/tmp/multipartBody7521470363208282468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777204403,"filename":"image_15122025_06_20_55_10829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436797","file1":"1399436795","file0":"1399436793","file4":"1399436799","file5":"1399436801","file3":"1399436798"},"map_files_photo_id_array":[{"photo_id":"1399436801","filename":"file5"},{"photo_id":"1399436797","filename":"file2"},{"photo_id":"1399436799","filename":"file4"},{"photo_id":"1399436795","filename":"file1"},{"photo_id":"1399436793","filename":"file0"},{"photo_id":"1399436798","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399436797":["hashtag1","hashtag2"]},{"1399436801":["hashtag1","hashtag2"]},{"1399436793":["hashtag1","hashtag2"]},{"1399436799":["hashtag1","hashtag2"]},{"1399436798":["hashtag1","hashtag2"]},{"1399436795":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399436797, 1399436801, 1399436793, 1399436799, 1399436798, 1399436795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64418816566467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 06:39:42.624367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/52/image_05112025_13_52_58_1622.jpg', '/home/pi/Desktop/images/05112025/13/52/image_05112025_13_52_59_1556.jpg', '/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_01_1577.jpg', '/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_02_1679.jpg', '/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_06_1697.jpg', '/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_07_1478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/52/image_05112025_13_52_58_1622.jpg
/home/pi/Desktop/images/05112025/13/52/image_05112025_13_52_59_1556.jpg
/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_01_1577.jpg
/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_02_1679.jpg
/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_06_1697.jpg
/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_07_1478.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399436810","1399436807","1399436809","1399436806","1399436811","1399436808"],"photo_ids_order":["1399436806","1399436807","1399436808","1399436809","1399436810","1399436811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a4764f54de5230c72f19e1e15c3358ff.jpg","text":"TemporaryFile(/tmp/multipartBody4126376771183379772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777243320,"filename":"image_05112025_13_53_06_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/15/12d9ab6912e011a7a0e5d9fb306a5ced.jpg","text":"TemporaryFile(/tmp/multipartBody8225419080150311467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777243320,"filename":"image_05112025_13_52_59_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/15/ff21d0f275c0fa21067351a9599bb71d.jpg","text":"TemporaryFile(/tmp/multipartBody5972837201386127282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777243320,"filename":"image_05112025_13_53_02_1679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c5e0c59f1d76f88538c561498bd91488.jpg","text":"TemporaryFile(/tmp/multipartBody970929027409868210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777243320,"filename":"image_05112025_13_52_58_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/15/8aa258aaa39cf5d34ffdff4bc051da4e.jpg","text":"TemporaryFile(/tmp/multipartBody5764578358748907164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777243320,"filename":"image_05112025_13_53_07_1478.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5de58faef6883095887a1374fe01cbbd.jpg","text":"TemporaryFile(/tmp/multipartBody2611437328356720200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777243320,"filename":"image_05112025_13_53_01_1577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436808","file1":"1399436807","file0":"1399436806","file4":"1399436810","file5":"1399436811","file3":"1399436809"},"map_files_photo_id_array":[{"photo_id":"1399436811","filename":"file5"},{"photo_id":"1399436808","filename":"file2"},{"photo_id":"1399436810","filename":"file4"},{"photo_id":"1399436807","filename":"file1"},{"photo_id":"1399436806","filename":"file0"},{"photo_id":"1399436809","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399436810":["hashtag1","hashtag2"]},{"1399436807":["hashtag1","hashtag2"]},{"1399436809":["hashtag1","hashtag2"]},{"1399436806":["hashtag1","hashtag2"]},{"1399436811":["hashtag1","hashtag2"]},{"1399436808":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399436810, 1399436807, 1399436809, 1399436806, 1399436811, 1399436808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91923666000366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 06:40:21.860137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/21/image_15122025_06_21_44_9632.jpg', '/home/pi/Desktop/images/15122025/06/21/image_15122025_06_22_04_9669.jpg', '/home/pi/Desktop/images/15122025/06/22/image_15122025_06_22_14_9670.jpg', '/home/pi/Desktop/images/15122025/06/22/image_15122025_06_22_25_10670.jpg', '/home/pi/Desktop/images/15122025/06/22/image_15122025_06_22_34_9572.jpg', '/home/pi/Desktop/images/15122025/06/22/image_15122025_06_22_46_11565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/21/image_15122025_06_21_44_9632.jpg
/home/pi/Desktop/images/15122025/06/21/image_15122025_06_22_04_9669.jpg
/home/pi/Desktop/images/15122025/06/22/image_15122025_06_22_14_9670.jpg
/home/pi/Desktop/images/15122025/06/22/image_15122025_06_22_25_10670.jpg
/home/pi/Desktop/images/15122025/06/22/image_15122025_06_22_34_9572.jpg
/home/pi/Desktop/images/15122025/06/22/image_15122025_06_22_46_11565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399436827","1399436832","1399436834","1399436837","1399436822","1399436816"],"photo_ids_order":["1399436816","1399436822","1399436827","1399436832","1399436834","1399436837"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b1bb6dc6768763ef0c283671d5f2f275.jpg","text":"TemporaryFile(/tmp/multipartBody1439805310571117381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777282525,"filename":"image_15122025_06_22_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/15/bb0ff92475373c51f53757b9f596486f.jpg","text":"TemporaryFile(/tmp/multipartBody6384591038395491791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777282525,"filename":"image_15122025_06_22_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/15/7f0db313d967a789362cb0fdfd6dc3e1.jpg","text":"TemporaryFile(/tmp/multipartBody4987777002239019725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777282525,"filename":"image_15122025_06_22_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/15/9bd401baf7b633a5343dcbff7bd09ffe.jpg","text":"TemporaryFile(/tmp/multipartBody3875560329545807848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777282525,"filename":"image_15122025_06_22_46_11565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a04251063e678aee2436ea938657d821.jpg","text":"TemporaryFile(/tmp/multipartBody8847558851430372702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777282525,"filename":"image_15122025_06_22_04_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/02c1eee667dfafebba4796fa8199828e.jpg","text":"TemporaryFile(/tmp/multipartBody7113354361926048540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777282525,"filename":"image_15122025_06_21_44_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436827","file1":"1399436822","file0":"1399436816","file4":"1399436834","file5":"1399436837","file3":"1399436832"},"map_files_photo_id_array":[{"photo_id":"1399436837","filename":"file5"},{"photo_id":"1399436827","filename":"file2"},{"photo_id":"1399436834","filename":"file4"},{"photo_id":"1399436822","filename":"file1"},{"photo_id":"1399436816","filename":"file0"},{"photo_id":"1399436832","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399436827":["hashtag1","hashtag2"]},{"1399436832":["hashtag1","hashtag2"]},{"1399436834":["hashtag1","hashtag2"]},{"1399436837":["hashtag1","hashtag2"]},{"1399436822":["hashtag1","hashtag2"]},{"1399436816":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399436827, 1399436832, 1399436834, 1399436837, 1399436822, 1399436816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.051531076431274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 06:41:02.756546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/22/image_15122025_06_22_55_8778.jpg', '/home/pi/Desktop/images/15122025/06/22/image_15122025_06_23_04_9744.jpg', '/home/pi/Desktop/images/15122025/06/23/image_15122025_06_23_14_9696.jpg', '/home/pi/Desktop/images/15122025/06/23/image_15122025_06_23_24_9803.jpg', '/home/pi/Desktop/images/15122025/06/23/image_15122025_06_23_34_10600.jpg', '/home/pi/Desktop/images/15122025/06/23/image_15122025_06_23_44_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/22/image_15122025_06_22_55_8778.jpg
/home/pi/Desktop/images/15122025/06/22/image_15122025_06_23_04_9744.jpg
/home/pi/Desktop/images/15122025/06/23/image_15122025_06_23_14_9696.jpg
/home/pi/Desktop/images/15122025/06/23/image_15122025_06_23_24_9803.jpg
/home/pi/Desktop/images/15122025/06/23/image_15122025_06_23_34_10600.jpg
/home/pi/Desktop/images/15122025/06/23/image_15122025_06_23_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":["1399436845","1399436839","1399436841","1399436847","1399436864","1399436843"],"photo_ids_order":["1399436839","1399436841","1399436843","1399436845","1399436847","1399436864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6fa741189d4a2f472c566b9dd038f6ec.jpg","text":"TemporaryFile(/tmp/multipartBody6537443232365746469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777323441,"filename":"image_15122025_06_23_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/15/70d938229a40c0b3faf6e3f606bb0d4b.jpg","text":"TemporaryFile(/tmp/multipartBody4337030669197122003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777323441,"filename":"image_15122025_06_22_55_8778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a3ee45e1dd49bee347a0138d86fb8a4c.jpg","text":"TemporaryFile(/tmp/multipartBody6636829694056770554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777323441,"filename":"image_15122025_06_23_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/15/b8d5cf2b48c50fd846f1f1ebe7f3dc41.jpg","text":"TemporaryFile(/tmp/multipartBody3772480666625409761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777323441,"filename":"image_15122025_06_23_34_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/15/db997e92c8b0c0e427191ce9e535c948.jpg","text":"TemporaryFile(/tmp/multipartBody9008977760134265729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777323441,"filename":"image_15122025_06_23_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/15/9ef4d33c86fea3fa1d214dec96270d0f.jpg","text":"TemporaryFile(/tmp/multipartBody7730767974106257332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777323441,"filename":"image_15122025_06_23_14_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436843","file1":"1399436841","file0":"1399436839","file4":"1399436847","file5":"1399436864","file3":"1399436845"},"map_files_photo_id_array":[{"photo_id":"1399436864","filename":"file5"},{"photo_id":"1399436843","filename":"file2"},{"photo_id":"1399436847","filename":"file4"},{"photo_id":"1399436841","filename":"file1"},{"photo_id":"1399436839","filename":"file0"},{"photo_id":"1399436845","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399436845":["hashtag1","hashtag2"]},{"1399436839":["hashtag1","hashtag2"]},{"1399436841":["hashtag1","hashtag2"]},{"1399436847":["hashtag1","hashtag2"]},{"1399436864":["hashtag1","hashtag2"]},{"1399436843":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399436845, 1399436839, 1399436841, 1399436847, 1399436864, 1399436843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57740545272827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 06:41:42.167799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_09_1632.jpg', '/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_12_1738.jpg', '/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_14_1548.jpg', '/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_17_1672.jpg', '/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_19_1650.jpg', '/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_20_1646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_09_1632.jpg
/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_12_1738.jpg
/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_14_1548.jpg
/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_17_1672.jpg
/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_19_1650.jpg
/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_20_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":["1399436881","1399436889","1399436883","1399436877","1399436879","1399436882"],"photo_ids_order":["1399436877","1399436879","1399436881","1399436882","1399436883","1399436889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/274e2586600c09b36caff695dc195d60.jpg","text":"TemporaryFile(/tmp/multipartBody2084318045146300790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777362870,"filename":"image_05112025_13_53_14_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/15/bf3cbc0b32470bdc19225ca9b1bbc503.jpg","text":"TemporaryFile(/tmp/multipartBody8902507882597757159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777362870,"filename":"image_05112025_13_53_20_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/15/3de85655bb46d8b5e48f0432fd75646a.jpg","text":"TemporaryFile(/tmp/multipartBody2463012915244279097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777362870,"filename":"image_05112025_13_53_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/15/0d15cacca0f1c6895da375db242df9eb.jpg","text":"TemporaryFile(/tmp/multipartBody9009529856417392946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777362870,"filename":"image_05112025_13_53_09_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/15/c38e8f34ac3a5ff469ba0a86afe5def7.jpg","text":"TemporaryFile(/tmp/multipartBody3922573393809137864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777362870,"filename":"image_05112025_13_53_12_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/15/8d65519c81238f9f7835481121124431.jpg","text":"TemporaryFile(/tmp/multipartBody1566271430823830657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777362870,"filename":"image_05112025_13_53_17_1672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436881","file1":"1399436879","file0":"1399436877","file4":"1399436883","file5":"1399436889","file3":"1399436882"},"map_files_photo_id_array":[{"photo_id":"1399436889","filename":"file5"},{"photo_id":"1399436881","filename":"file2"},{"photo_id":"1399436883","filename":"file4"},{"photo_id":"1399436879","filename":"file1"},{"photo_id":"1399436877","filename":"file0"},{"photo_id":"1399436882","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399436881":["hashtag1","hashtag2"]},{"1399436889":["hashtag1","hashtag2"]},{"1399436883":["hashtag1","hashtag2"]},{"1399436877":["hashtag1","hashtag2"]},{"1399436879":["hashtag1","hashtag2"]},{"1399436882":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399436881, 1399436889, 1399436883, 1399436877, 1399436879, 1399436882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41159009933472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 06:42:22.522979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/23/image_15122025_06_23_54_9726.jpg', '/home/pi/Desktop/images/15122025/06/23/image_15122025_06_24_05_10681.jpg', '/home/pi/Desktop/images/15122025/06/24/image_15122025_06_24_14_9647.jpg', '/home/pi/Desktop/images/15122025/06/24/image_15122025_06_24_24_9695.jpg', '/home/pi/Desktop/images/15122025/06/24/image_15122025_06_24_35_10677.jpg', '/home/pi/Desktop/images/15122025/06/24/image_15122025_06_24_45_10180.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/23/image_15122025_06_23_54_9726.jpg
/home/pi/Desktop/images/15122025/06/23/image_15122025_06_24_05_10681.jpg
/home/pi/Desktop/images/15122025/06/24/image_15122025_06_24_14_9647.jpg
/home/pi/Desktop/images/15122025/06/24/image_15122025_06_24_24_9695.jpg
/home/pi/Desktop/images/15122025/06/24/image_15122025_06_24_35_10677.jpg
/home/pi/Desktop/images/15122025/06/24/image_15122025_06_24_45_10180.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5084986686706543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 06:42:32.482555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 06:42:42.440118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_22_1783.jpg', '/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_24_1605.jpg', '/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_25_1676.jpg', '/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_27_1772.jpg', '/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_30_2549.jpg', '/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_31_1632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_22_1783.jpg
/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_24_1605.jpg
/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_25_1676.jpg
/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_27_1772.jpg
/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_30_2549.jpg
/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_31_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":["1399436918","1399436929","1399436920","1399436923","1399436922","1399436921"],"photo_ids_order":["1399436918","1399436920","1399436921","1399436922","1399436923","1399436929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c2bf6eb94d69034b05da8aaee6bafc97.jpg","text":"TemporaryFile(/tmp/multipartBody4391709048131508270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777423136,"filename":"image_05112025_13_53_22_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/15/19c500e54d940b4ec23f557149241bf5.jpg","text":"TemporaryFile(/tmp/multipartBody6600166839328854000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777423136,"filename":"image_05112025_13_53_31_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/15/ed25e272d39eacd58dbd4776683be3b9.jpg","text":"TemporaryFile(/tmp/multipartBody6924332800530059556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777423136,"filename":"image_05112025_13_53_24_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/15/d831d0bfc3611351ea16c6659c5e3ed6.jpg","text":"TemporaryFile(/tmp/multipartBody3839844373347361542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777423136,"filename":"image_05112025_13_53_30_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/15/8f8c1b5ad497ec101b4782835e07bdfa.jpg","text":"TemporaryFile(/tmp/multipartBody5770790175644474892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777423136,"filename":"image_05112025_13_53_27_1772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c1c6f2a833fa0d44be1f2ef022d99bd3.jpg","text":"TemporaryFile(/tmp/multipartBody6037811908028859625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777423136,"filename":"image_05112025_13_53_25_1676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436921","file1":"1399436920","file0":"1399436918","file4":"1399436923","file5":"1399436929","file3":"1399436922"},"map_files_photo_id_array":[{"photo_id":"1399436929","filename":"file5"},{"photo_id":"1399436921","filename":"file2"},{"photo_id":"1399436923","filename":"file4"},{"photo_id":"1399436920","filename":"file1"},{"photo_id":"1399436918","filename":"file0"},{"photo_id":"1399436922","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399436918":["hashtag1","hashtag2"]},{"1399436929":["hashtag1","hashtag2"]},{"1399436920":["hashtag1","hashtag2"]},{"1399436923":["hashtag1","hashtag2"]},{"1399436922":["hashtag1","hashtag2"]},{"1399436921":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399436918, 1399436929, 1399436920, 1399436923, 1399436922, 1399436921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43906307220459 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 06:43:22.673731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/23/image_15122025_06_23_54_9726.jpg', '/home/pi/Desktop/images/15122025/06/23/image_15122025_06_24_05_10681.jpg', '/home/pi/Desktop/images/15122025/06/24/image_15122025_06_24_14_9647.jpg', '/home/pi/Desktop/images/15122025/06/24/image_15122025_06_24_24_9695.jpg', '/home/pi/Desktop/images/15122025/06/24/image_15122025_06_24_35_10677.jpg', '/home/pi/Desktop/images/15122025/06/24/image_15122025_06_24_45_10180.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/23/image_15122025_06_23_54_9726.jpg
/home/pi/Desktop/images/15122025/06/23/image_15122025_06_24_05_10681.jpg
/home/pi/Desktop/images/15122025/06/24/image_15122025_06_24_14_9647.jpg
/home/pi/Desktop/images/15122025/06/24/image_15122025_06_24_24_9695.jpg
/home/pi/Desktop/images/15122025/06/24/image_15122025_06_24_35_10677.jpg
/home/pi/Desktop/images/15122025/06/24/image_15122025_06_24_45_10180.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399436959","1399436953","1399436961","1399436955","1399436964","1399436957"],"photo_ids_order":["1399436953","1399436955","1399436957","1399436959","1399436961","1399436964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ed86982d93f30e6d528e665b6b827f06.jpg","text":"TemporaryFile(/tmp/multipartBody1616559054699526944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777463283,"filename":"image_15122025_06_24_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/15/60c33438d5bc0c775806acc335a5b622.jpg","text":"TemporaryFile(/tmp/multipartBody2264428523799986995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777463283,"filename":"image_15122025_06_23_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/15/81e6fc0261fd88693a8d2acf42dd9218.jpg","text":"TemporaryFile(/tmp/multipartBody7202650864680967191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777463283,"filename":"image_15122025_06_24_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/15/af5b8ad2ef945c11cdff897a9b3ad11f.jpg","text":"TemporaryFile(/tmp/multipartBody2842647754996523046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777463283,"filename":"image_15122025_06_24_05_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/15/eb40854f139527d95bb643ca759f15d3.jpg","text":"TemporaryFile(/tmp/multipartBody7447487209327733930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777463283,"filename":"image_15122025_06_24_45_10180.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ef1502f03b5164c1684bc7d896745fe3.jpg","text":"TemporaryFile(/tmp/multipartBody6421333082756914204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777463283,"filename":"image_15122025_06_24_14_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436957","file1":"1399436955","file0":"1399436953","file4":"1399436961","file5":"1399436964","file3":"1399436959"},"map_files_photo_id_array":[{"photo_id":"1399436964","filename":"file5"},{"photo_id":"1399436957","filename":"file2"},{"photo_id":"1399436961","filename":"file4"},{"photo_id":"1399436955","filename":"file1"},{"photo_id":"1399436953","filename":"file0"},{"photo_id":"1399436959","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399436959":["hashtag1","hashtag2"]},{"1399436953":["hashtag1","hashtag2"]},{"1399436961":["hashtag1","hashtag2"]},{"1399436955":["hashtag1","hashtag2"]},{"1399436964":["hashtag1","hashtag2"]},{"1399436957":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399436959, 1399436953, 1399436961, 1399436955, 1399436964, 1399436957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44339394569397 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 06:44:02.585977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/24/image_15122025_06_24_54_9701.jpg', '/home/pi/Desktop/images/15122025/06/24/image_15122025_06_25_04_9798.jpg', '/home/pi/Desktop/images/15122025/06/25/image_15122025_06_25_14_9626.jpg', '/home/pi/Desktop/images/15122025/06/25/image_15122025_06_25_26_12050.jpg', '/home/pi/Desktop/images/15122025/06/25/image_15122025_06_25_34_8601.jpg', '/home/pi/Desktop/images/15122025/06/25/image_15122025_06_25_45_10153.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/24/image_15122025_06_24_54_9701.jpg
/home/pi/Desktop/images/15122025/06/24/image_15122025_06_25_04_9798.jpg
/home/pi/Desktop/images/15122025/06/25/image_15122025_06_25_14_9626.jpg
/home/pi/Desktop/images/15122025/06/25/image_15122025_06_25_26_12050.jpg
/home/pi/Desktop/images/15122025/06/25/image_15122025_06_25_34_8601.jpg
/home/pi/Desktop/images/15122025/06/25/image_15122025_06_25_45_10153.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399436965","1399436968","1399436970","1399436978","1399436972","1399436975"],"photo_ids_order":["1399436965","1399436968","1399436970","1399436972","1399436975","1399436978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9acdb0d949f2cc4fafec1daef07a240e.jpg","text":"TemporaryFile(/tmp/multipartBody5678183612614907357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777503320,"filename":"image_15122025_06_24_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/15/4fa933db8a43325bf51aa8b75507cfd2.jpg","text":"TemporaryFile(/tmp/multipartBody130373300700878095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777503320,"filename":"image_15122025_06_25_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/15/56739fb2ae2690da551ac7a39c508b81.jpg","text":"TemporaryFile(/tmp/multipartBody6517472970772959373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777503320,"filename":"image_15122025_06_25_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/15/8f84bbb63c19ec7616869d739cd5bbc9.jpg","text":"TemporaryFile(/tmp/multipartBody7280986920442715919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777503320,"filename":"image_15122025_06_25_45_10153.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/99435d68cf093a4c16aa0a3c196561a3.jpg","text":"TemporaryFile(/tmp/multipartBody8511152009336630456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777503320,"filename":"image_15122025_06_25_26_12050.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7a52d16a2b754104dc42b61c2a88db65.jpg","text":"TemporaryFile(/tmp/multipartBody2058616394940627218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777503320,"filename":"image_15122025_06_25_34_8601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399436970","file1":"1399436968","file0":"1399436965","file4":"1399436975","file5":"1399436978","file3":"1399436972"},"map_files_photo_id_array":[{"photo_id":"1399436978","filename":"file5"},{"photo_id":"1399436970","filename":"file2"},{"photo_id":"1399436975","filename":"file4"},{"photo_id":"1399436968","filename":"file1"},{"photo_id":"1399436965","filename":"file0"},{"photo_id":"1399436972","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399436965":["hashtag1","hashtag2"]},{"1399436968":["hashtag1","hashtag2"]},{"1399436970":["hashtag1","hashtag2"]},{"1399436978":["hashtag1","hashtag2"]},{"1399436972":["hashtag1","hashtag2"]},{"1399436975":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399436965, 1399436968, 1399436970, 1399436978, 1399436972, 1399436975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.85959053039551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 06:45:02.776865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/25/image_15122025_06_25_54_9656.jpg', '/home/pi/Desktop/images/15122025/06/26/image_15122025_06_26_05_10681.jpg', '/home/pi/Desktop/images/15122025/06/26/image_15122025_06_26_14_8895.jpg', '/home/pi/Desktop/images/15122025/06/26/image_15122025_06_26_25_10642.jpg', '/home/pi/Desktop/images/15122025/06/26/image_15122025_06_26_34_9685.jpg', '/home/pi/Desktop/images/15122025/06/26/image_15122025_06_26_44_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/25/image_15122025_06_25_54_9656.jpg
/home/pi/Desktop/images/15122025/06/26/image_15122025_06_26_05_10681.jpg
/home/pi/Desktop/images/15122025/06/26/image_15122025_06_26_14_8895.jpg
/home/pi/Desktop/images/15122025/06/26/image_15122025_06_26_25_10642.jpg
/home/pi/Desktop/images/15122025/06/26/image_15122025_06_26_34_9685.jpg
/home/pi/Desktop/images/15122025/06/26/image_15122025_06_26_44_9563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399437025","1399436998","1399437027","1399437012","1399437029","1399437023"],"photo_ids_order":["1399436998","1399437012","1399437023","1399437025","1399437027","1399437029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f4a68b92672b07eaebb376271157a042.jpg","text":"TemporaryFile(/tmp/multipartBody4707306520949406720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777563438,"filename":"image_15122025_06_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/15/bf0eadec4f8605a10917a1ed1509ded2.jpg","text":"TemporaryFile(/tmp/multipartBody5169897115682421729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777563438,"filename":"image_15122025_06_25_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/15/c7e1f0e11e030111a3d9aa5018ba66a6.jpg","text":"TemporaryFile(/tmp/multipartBody5897725702478989594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777563438,"filename":"image_15122025_06_26_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/15/c364b11a3759547688959cd262e47473.jpg","text":"TemporaryFile(/tmp/multipartBody3939185687846592291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777563438,"filename":"image_15122025_06_26_05_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/15/8bc37fe814ce199eea0fa3ded31aa00d.jpg","text":"TemporaryFile(/tmp/multipartBody8037703234654183745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777563438,"filename":"image_15122025_06_26_44_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5e8d1e6dd26b66f6cee270848c205591.jpg","text":"TemporaryFile(/tmp/multipartBody7798890206353721805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777563438,"filename":"image_15122025_06_26_14_8895.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399437023","file1":"1399437012","file0":"1399436998","file4":"1399437027","file5":"1399437029","file3":"1399437025"},"map_files_photo_id_array":[{"photo_id":"1399437029","filename":"file5"},{"photo_id":"1399437023","filename":"file2"},{"photo_id":"1399437027","filename":"file4"},{"photo_id":"1399437012","filename":"file1"},{"photo_id":"1399436998","filename":"file0"},{"photo_id":"1399437025","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399437025":["hashtag1","hashtag2"]},{"1399436998":["hashtag1","hashtag2"]},{"1399437027":["hashtag1","hashtag2"]},{"1399437012":["hashtag1","hashtag2"]},{"1399437029":["hashtag1","hashtag2"]},{"1399437023":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399437025, 1399436998, 1399437027, 1399437012, 1399437029, 1399437023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5653178691864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 06:45:42.233560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_33_1650.jpg', '/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_35_1664.jpg', '/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_41_5784.jpg', '/home/pi/Desktop/images/05112025/13/55/image_05112025_13_55_07_3012.jpg', '/home/pi/Desktop/images/05112025/13/55/image_05112025_13_55_16_8859.jpg', '/home/pi/Desktop/images/05112025/13/55/image_05112025_13_55_18_1636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_33_1650.jpg
/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_35_1664.jpg
/home/pi/Desktop/images/05112025/13/53/image_05112025_13_53_41_5784.jpg
/home/pi/Desktop/images/05112025/13/55/image_05112025_13_55_07_3012.jpg
/home/pi/Desktop/images/05112025/13/55/image_05112025_13_55_16_8859.jpg
/home/pi/Desktop/images/05112025/13/55/image_05112025_13_55_18_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":["1399437043","1399437040","1399437042","1399437036","1399437033","1399437041"],"photo_ids_order":["1399437033","1399437036","1399437040","1399437041","1399437042","1399437043"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8afeef03c7649138edb1cc2212089af9.jpg","text":"TemporaryFile(/tmp/multipartBody4187222080851875800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777602930,"filename":"image_05112025_13_55_18_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/15/3d8f2326141e93604391d453ecf9ace0.jpg","text":"TemporaryFile(/tmp/multipartBody371774921359986929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777602930,"filename":"image_05112025_13_53_41_5784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/63f352f5b18f107aba642b0be7dc8a34.jpg","text":"TemporaryFile(/tmp/multipartBody3463514212254786122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777602930,"filename":"image_05112025_13_55_16_8859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7c70efad83e57c50707df2faae3baee1.jpg","text":"TemporaryFile(/tmp/multipartBody4024660991039514520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777602930,"filename":"image_05112025_13_53_35_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/15/ed2764e09158b2057ed14d3315b85014.jpg","text":"TemporaryFile(/tmp/multipartBody6324669165474005645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777602930,"filename":"image_05112025_13_53_33_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/15/336a9fd44cc4319445d51fa7024a4631.jpg","text":"TemporaryFile(/tmp/multipartBody5294810631503824063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777602930,"filename":"image_05112025_13_55_07_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399437040","file1":"1399437036","file0":"1399437033","file4":"1399437042","file5":"1399437043","file3":"1399437041"},"map_files_photo_id_array":[{"photo_id":"1399437043","filename":"file5"},{"photo_id":"1399437040","filename":"file2"},{"photo_id":"1399437042","filename":"file4"},{"photo_id":"1399437036","filename":"file1"},{"photo_id":"1399437033","filename":"file0"},{"photo_id":"1399437041","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399437043":["hashtag1","hashtag2"]},{"1399437040":["hashtag1","hashtag2"]},{"1399437042":["hashtag1","hashtag2"]},{"1399437036":["hashtag1","hashtag2"]},{"1399437033":["hashtag1","hashtag2"]},{"1399437041":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399437043, 1399437040, 1399437042, 1399437036, 1399437033, 1399437041)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.6403968334198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 06:46:32.596538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 06:46:42.502923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/55/image_05112025_13_55_19_1542.jpg', '/home/pi/Desktop/images/05112025/13/55/image_05112025_13_55_21_1588.jpg', '/home/pi/Desktop/images/05112025/13/55/image_05112025_13_55_27_6353.jpg', '/home/pi/Desktop/images/05112025/13/55/image_05112025_13_55_29_1896.jpg', '/home/pi/Desktop/images/05112025/13/55/image_05112025_13_55_31_1620.jpg', '/home/pi/Desktop/images/05112025/13/55/image_05112025_13_55_32_1597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/55/image_05112025_13_55_19_1542.jpg
/home/pi/Desktop/images/05112025/13/55/image_05112025_13_55_21_1588.jpg
/home/pi/Desktop/images/05112025/13/55/image_05112025_13_55_27_6353.jpg
/home/pi/Desktop/images/05112025/13/55/image_05112025_13_55_29_1896.jpg
/home/pi/Desktop/images/05112025/13/55/image_05112025_13_55_31_1620.jpg
/home/pi/Desktop/images/05112025/13/55/image_05112025_13_55_32_1597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399437076","1399437075","1399437077","1399437065","1399437074","1399437073"],"photo_ids_order":["1399437065","1399437073","1399437074","1399437075","1399437076","1399437077"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/141f4e5bac225b49eb943553dec18e38.jpg","text":"TemporaryFile(/tmp/multipartBody3685968664370332401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777663197,"filename":"image_05112025_13_55_31_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6e3e9b7854b233915f0cc3fd57e06aef.jpg","text":"TemporaryFile(/tmp/multipartBody1140200431499592439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777663197,"filename":"image_05112025_13_55_29_1896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8a9b9ff226ae66e09afeae7b74bea0ba.jpg","text":"TemporaryFile(/tmp/multipartBody6678486837745768526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777663197,"filename":"image_05112025_13_55_32_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/15/15ed8e3c4bb0b7ccb3aaff6a8e379e31.jpg","text":"TemporaryFile(/tmp/multipartBody8350027883721707611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777663197,"filename":"image_05112025_13_55_19_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/15/12fda244707403b9917ec34b388c139d.jpg","text":"TemporaryFile(/tmp/multipartBody7830894130047402023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777663197,"filename":"image_05112025_13_55_27_6353.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/051ead92e7de0705878abef49078cf07.jpg","text":"TemporaryFile(/tmp/multipartBody2787975272267109423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777663197,"filename":"image_05112025_13_55_21_1588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399437074","file1":"1399437073","file0":"1399437065","file4":"1399437076","file5":"1399437077","file3":"1399437075"},"map_files_photo_id_array":[{"photo_id":"1399437077","filename":"file5"},{"photo_id":"1399437074","filename":"file2"},{"photo_id":"1399437076","filename":"file4"},{"photo_id":"1399437073","filename":"file1"},{"photo_id":"1399437065","filename":"file0"},{"photo_id":"1399437075","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399437076":["hashtag1","hashtag2"]},{"1399437075":["hashtag1","hashtag2"]},{"1399437077":["hashtag1","hashtag2"]},{"1399437065":["hashtag1","hashtag2"]},{"1399437074":["hashtag1","hashtag2"]},{"1399437073":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399437076, 1399437075, 1399437077, 1399437065, 1399437074, 1399437073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16775178909302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 06:47:22.736972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/26/image_15122025_06_27_05_10713.jpg', '/home/pi/Desktop/images/15122025/06/27/image_15122025_06_27_14_9653.jpg', '/home/pi/Desktop/images/15122025/06/27/image_15122025_06_27_24_9597.jpg', '/home/pi/Desktop/images/15122025/06/27/image_15122025_06_27_34_10669.jpg', '/home/pi/Desktop/images/15122025/06/27/image_15122025_06_27_44_9704.jpg', '/home/pi/Desktop/images/15122025/06/27/image_15122025_06_27_54_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/26/image_15122025_06_27_05_10713.jpg
/home/pi/Desktop/images/15122025/06/27/image_15122025_06_27_14_9653.jpg
/home/pi/Desktop/images/15122025/06/27/image_15122025_06_27_24_9597.jpg
/home/pi/Desktop/images/15122025/06/27/image_15122025_06_27_34_10669.jpg
/home/pi/Desktop/images/15122025/06/27/image_15122025_06_27_44_9704.jpg
/home/pi/Desktop/images/15122025/06/27/image_15122025_06_27_54_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":["1399437097","1399437093","1399437087","1399437089","1399437083","1399437091"],"photo_ids_order":["1399437083","1399437087","1399437089","1399437091","1399437093","1399437097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8377465136a67430e309395ce74e25ea.jpg","text":"TemporaryFile(/tmp/multipartBody388673859249809830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777703384,"filename":"image_15122025_06_27_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/15/6e431adc9a913a403f12a8e809883451.jpg","text":"TemporaryFile(/tmp/multipartBody8295596267290433771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777703384,"filename":"image_15122025_06_27_44_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ec9cd665922d2672c45a851d258c1e5a.jpg","text":"TemporaryFile(/tmp/multipartBody370734463808573383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777703384,"filename":"image_15122025_06_27_14_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/47c4dfae00483098a2e2399c72de06cb.jpg","text":"TemporaryFile(/tmp/multipartBody6736446492227598980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777703384,"filename":"image_15122025_06_27_24_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/64abb8decd736c7bdcf50720a6eb1585.jpg","text":"TemporaryFile(/tmp/multipartBody2705299986474304109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777703384,"filename":"image_15122025_06_27_05_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/978aeea3bce7cc4d515f87734f10f874.jpg","text":"TemporaryFile(/tmp/multipartBody1262948089767424429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777703384,"filename":"image_15122025_06_27_34_10669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399437089","file1":"1399437087","file0":"1399437083","file4":"1399437093","file5":"1399437097","file3":"1399437091"},"map_files_photo_id_array":[{"photo_id":"1399437097","filename":"file5"},{"photo_id":"1399437089","filename":"file2"},{"photo_id":"1399437093","filename":"file4"},{"photo_id":"1399437087","filename":"file1"},{"photo_id":"1399437083","filename":"file0"},{"photo_id":"1399437091","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399437097":["hashtag1","hashtag2"]},{"1399437093":["hashtag1","hashtag2"]},{"1399437087":["hashtag1","hashtag2"]},{"1399437089":["hashtag1","hashtag2"]},{"1399437083":["hashtag1","hashtag2"]},{"1399437091":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399437097, 1399437093, 1399437087, 1399437089, 1399437083, 1399437091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91875410079956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 06:48:02.444636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/27/image_15122025_06_28_04_10640.jpg', '/home/pi/Desktop/images/15122025/06/28/image_15122025_06_28_14_9703.jpg', '/home/pi/Desktop/images/15122025/06/28/image_15122025_06_28_24_9650.jpg', '/home/pi/Desktop/images/15122025/06/28/image_15122025_06_28_35_10692.jpg', '/home/pi/Desktop/images/15122025/06/28/image_15122025_06_28_44_9883.jpg', '/home/pi/Desktop/images/15122025/06/28/image_15122025_06_28_54_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/27/image_15122025_06_28_04_10640.jpg
/home/pi/Desktop/images/15122025/06/28/image_15122025_06_28_14_9703.jpg
/home/pi/Desktop/images/15122025/06/28/image_15122025_06_28_24_9650.jpg
/home/pi/Desktop/images/15122025/06/28/image_15122025_06_28_35_10692.jpg
/home/pi/Desktop/images/15122025/06/28/image_15122025_06_28_44_9883.jpg
/home/pi/Desktop/images/15122025/06/28/image_15122025_06_28_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":["1399437107","1399437100","1399437102","1399437105","1399437098","1399437104"],"photo_ids_order":["1399437098","1399437100","1399437102","1399437104","1399437105","1399437107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c2b6f4893041a85c3299f788885b1e97.jpg","text":"TemporaryFile(/tmp/multipartBody4362214288447009584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777743086,"filename":"image_15122025_06_28_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/15/0eef094c18f79d30f283633f6f047679.jpg","text":"TemporaryFile(/tmp/multipartBody96122692970752660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777743086,"filename":"image_15122025_06_28_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/15/c5d40da469d035defea5458be8a6bdf8.jpg","text":"TemporaryFile(/tmp/multipartBody8150979278782086047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777743086,"filename":"image_15122025_06_28_24_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ae37fc92499f97b795b85e1c057d08a4.jpg","text":"TemporaryFile(/tmp/multipartBody4560662943227554865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777743086,"filename":"image_15122025_06_28_44_9883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b06ff07bcbdf904c8ee6acda1e56e32b.jpg","text":"TemporaryFile(/tmp/multipartBody7159032427392382983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777743086,"filename":"image_15122025_06_28_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/15/9a86571822ea7d5f49d25b5211709ea5.jpg","text":"TemporaryFile(/tmp/multipartBody8948124042707086218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777743086,"filename":"image_15122025_06_28_35_10692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399437102","file1":"1399437100","file0":"1399437098","file4":"1399437105","file5":"1399437107","file3":"1399437104"},"map_files_photo_id_array":[{"photo_id":"1399437107","filename":"file5"},{"photo_id":"1399437102","filename":"file2"},{"photo_id":"1399437105","filename":"file4"},{"photo_id":"1399437100","filename":"file1"},{"photo_id":"1399437098","filename":"file0"},{"photo_id":"1399437104","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399437107":["hashtag1","hashtag2"]},{"1399437100":["hashtag1","hashtag2"]},{"1399437102":["hashtag1","hashtag2"]},{"1399437105":["hashtag1","hashtag2"]},{"1399437098":["hashtag1","hashtag2"]},{"1399437104":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399437107, 1399437100, 1399437102, 1399437105, 1399437098, 1399437104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.716734647750854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 06:48:41.962662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/55/image_05112025_13_55_35_2568.jpg', '/home/pi/Desktop/images/05112025/13/55/image_05112025_13_55_38_2750.jpg', '/home/pi/Desktop/images/05112025/13/55/image_05112025_13_55_40_2553.jpg', '/home/pi/Desktop/images/05112025/13/55/image_05112025_13_55_44_3652.jpg', '/home/pi/Desktop/images/05112025/13/55/image_05112025_13_55_47_2738.jpg', '/home/pi/Desktop/images/05112025/13/55/image_05112025_13_55_49_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/55/image_05112025_13_55_35_2568.jpg
/home/pi/Desktop/images/05112025/13/55/image_05112025_13_55_38_2750.jpg
/home/pi/Desktop/images/05112025/13/55/image_05112025_13_55_40_2553.jpg
/home/pi/Desktop/images/05112025/13/55/image_05112025_13_55_44_3652.jpg
/home/pi/Desktop/images/05112025/13/55/image_05112025_13_55_47_2738.jpg
/home/pi/Desktop/images/05112025/13/55/image_05112025_13_55_49_2687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399437133","1399437121","1399437120","1399437117","1399437122","1399437125"],"photo_ids_order":["1399437117","1399437120","1399437121","1399437122","1399437125","1399437133"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2777501029ab8144bd4badc5dda10b5a.jpg","text":"TemporaryFile(/tmp/multipartBody4599446310076294945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777782670,"filename":"image_05112025_13_55_49_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/84fc915f51c67a0178da146d473207d0.jpg","text":"TemporaryFile(/tmp/multipartBody1554477627770105743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777782670,"filename":"image_05112025_13_55_40_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/15/f77bffe645f4a24e76bd7a72031bb6a3.jpg","text":"TemporaryFile(/tmp/multipartBody3896832307148851847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777782670,"filename":"image_05112025_13_55_38_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/15/40264973bc445a064fcde912eb778f73.jpg","text":"TemporaryFile(/tmp/multipartBody513097043738200443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777782670,"filename":"image_05112025_13_55_35_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/15/d43e3f89ba10fc4ebe1b94ba83a7992f.jpg","text":"TemporaryFile(/tmp/multipartBody7576700617961905758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777782670,"filename":"image_05112025_13_55_44_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/15/abd7afe96c726b65413028cb51e45eef.jpg","text":"TemporaryFile(/tmp/multipartBody8047380911103685169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777782670,"filename":"image_05112025_13_55_47_2738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399437121","file1":"1399437120","file0":"1399437117","file4":"1399437125","file5":"1399437133","file3":"1399437122"},"map_files_photo_id_array":[{"photo_id":"1399437133","filename":"file5"},{"photo_id":"1399437121","filename":"file2"},{"photo_id":"1399437125","filename":"file4"},{"photo_id":"1399437120","filename":"file1"},{"photo_id":"1399437117","filename":"file0"},{"photo_id":"1399437122","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399437133":["hashtag1","hashtag2"]},{"1399437121":["hashtag1","hashtag2"]},{"1399437120":["hashtag1","hashtag2"]},{"1399437117":["hashtag1","hashtag2"]},{"1399437122":["hashtag1","hashtag2"]},{"1399437125":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399437133, 1399437121, 1399437120, 1399437117, 1399437122, 1399437125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31895613670349 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 06:49:22.230557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/28/image_15122025_06_29_04_9717.jpg', '/home/pi/Desktop/images/15122025/06/29/image_15122025_06_29_14_10575.jpg', '/home/pi/Desktop/images/15122025/06/29/image_15122025_06_29_24_9638.jpg', '/home/pi/Desktop/images/15122025/06/29/image_15122025_06_29_34_9845.jpg', '/home/pi/Desktop/images/15122025/06/29/image_15122025_06_29_44_10531.jpg', '/home/pi/Desktop/images/15122025/06/29/image_15122025_06_29_54_9566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/28/image_15122025_06_29_04_9717.jpg
/home/pi/Desktop/images/15122025/06/29/image_15122025_06_29_14_10575.jpg
/home/pi/Desktop/images/15122025/06/29/image_15122025_06_29_24_9638.jpg
/home/pi/Desktop/images/15122025/06/29/image_15122025_06_29_34_9845.jpg
/home/pi/Desktop/images/15122025/06/29/image_15122025_06_29_44_10531.jpg
/home/pi/Desktop/images/15122025/06/29/image_15122025_06_29_54_9566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399437145","1399437148","1399437138","1399437152","1399437140","1399437143"],"photo_ids_order":["1399437138","1399437140","1399437143","1399437145","1399437148","1399437152"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/33e7e3195a47b20cd662e4855e8cff0b.jpg","text":"TemporaryFile(/tmp/multipartBody5957131673554100237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777822839,"filename":"image_15122025_06_29_34_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/44f645c7d0a741730b709562fd37f87a.jpg","text":"TemporaryFile(/tmp/multipartBody6839080052695238343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777822839,"filename":"image_15122025_06_29_44_10531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/717a66f4efe5a4a7b36fe0fc3ccfc12b.jpg","text":"TemporaryFile(/tmp/multipartBody6011665364197478148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777822839,"filename":"image_15122025_06_29_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/15/37085faed39fa7ef646769300abf3746.jpg","text":"TemporaryFile(/tmp/multipartBody5839745083541615109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777822839,"filename":"image_15122025_06_29_54_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/41b9307ebc6ca9798b127f487a2c64cf.jpg","text":"TemporaryFile(/tmp/multipartBody7716084253176626335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777822839,"filename":"image_15122025_06_29_14_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/15/32787ff3087c383386d3b548a658a2e9.jpg","text":"TemporaryFile(/tmp/multipartBody4138794393946655918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777822839,"filename":"image_15122025_06_29_24_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399437143","file1":"1399437140","file0":"1399437138","file4":"1399437148","file5":"1399437152","file3":"1399437145"},"map_files_photo_id_array":[{"photo_id":"1399437152","filename":"file5"},{"photo_id":"1399437143","filename":"file2"},{"photo_id":"1399437148","filename":"file4"},{"photo_id":"1399437140","filename":"file1"},{"photo_id":"1399437138","filename":"file0"},{"photo_id":"1399437145","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399437145":["hashtag1","hashtag2"]},{"1399437148":["hashtag1","hashtag2"]},{"1399437138":["hashtag1","hashtag2"]},{"1399437152":["hashtag1","hashtag2"]},{"1399437140":["hashtag1","hashtag2"]},{"1399437143":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399437145, 1399437148, 1399437138, 1399437152, 1399437140, 1399437143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.29777717590332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 06:50:02.824763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/29/image_15122025_06_30_05_10648.jpg', '/home/pi/Desktop/images/15122025/06/30/image_15122025_06_30_14_9739.jpg', '/home/pi/Desktop/images/15122025/06/30/image_15122025_06_30_24_9805.jpg', '/home/pi/Desktop/images/15122025/06/30/image_15122025_06_30_34_9669.jpg', '/home/pi/Desktop/images/15122025/06/30/image_15122025_06_30_44_10558.jpg', '/home/pi/Desktop/images/15122025/06/30/image_15122025_06_30_54_9592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/29/image_15122025_06_30_05_10648.jpg
/home/pi/Desktop/images/15122025/06/30/image_15122025_06_30_14_9739.jpg
/home/pi/Desktop/images/15122025/06/30/image_15122025_06_30_24_9805.jpg
/home/pi/Desktop/images/15122025/06/30/image_15122025_06_30_34_9669.jpg
/home/pi/Desktop/images/15122025/06/30/image_15122025_06_30_44_10558.jpg
/home/pi/Desktop/images/15122025/06/30/image_15122025_06_30_54_9592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399437169","1399437160","1399437171","1399437162","1399437164","1399437167"],"photo_ids_order":["1399437160","1399437162","1399437164","1399437167","1399437169","1399437171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/aa0059190e9a84d403d0c1483fd0c175.jpg","text":"TemporaryFile(/tmp/multipartBody257858799459977901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777863466,"filename":"image_15122025_06_30_44_10558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/07d336ae554c67f4062ac8db68fda7ba.jpg","text":"TemporaryFile(/tmp/multipartBody389427157497102779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777863466,"filename":"image_15122025_06_30_05_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1f939905010afe3c67c721bb51b434f7.jpg","text":"TemporaryFile(/tmp/multipartBody3085091862374317596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777863466,"filename":"image_15122025_06_30_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/15/fdfe7db9e9aa0b6681b4c9a6699f297d.jpg","text":"TemporaryFile(/tmp/multipartBody4307073750356269969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777863466,"filename":"image_15122025_06_30_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/15/edc4eaa58e9a8ea356672120b4da5432.jpg","text":"TemporaryFile(/tmp/multipartBody7866490043896175263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777863466,"filename":"image_15122025_06_30_24_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6e6a5d44bbb11a9851834b2f28cfa72e.jpg","text":"TemporaryFile(/tmp/multipartBody5861952310836781861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777863466,"filename":"image_15122025_06_30_34_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399437164","file1":"1399437162","file0":"1399437160","file4":"1399437169","file5":"1399437171","file3":"1399437167"},"map_files_photo_id_array":[{"photo_id":"1399437171","filename":"file5"},{"photo_id":"1399437164","filename":"file2"},{"photo_id":"1399437169","filename":"file4"},{"photo_id":"1399437162","filename":"file1"},{"photo_id":"1399437160","filename":"file0"},{"photo_id":"1399437167","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399437169":["hashtag1","hashtag2"]},{"1399437160":["hashtag1","hashtag2"]},{"1399437171":["hashtag1","hashtag2"]},{"1399437162":["hashtag1","hashtag2"]},{"1399437164":["hashtag1","hashtag2"]},{"1399437167":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399437169, 1399437160, 1399437171, 1399437162, 1399437164, 1399437167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.62047004699707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 06:50:42.382569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/55/image_05112025_13_55_53_3739.jpg', '/home/pi/Desktop/images/05112025/13/56/image_05112025_13_56_12_19259.jpg', '/home/pi/Desktop/images/05112025/13/56/image_05112025_13_56_15_3028.jpg', '/home/pi/Desktop/images/05112025/13/56/image_05112025_13_56_18_1607.jpg', '/home/pi/Desktop/images/05112025/13/56/image_05112025_13_56_20_1658.jpg', '/home/pi/Desktop/images/05112025/13/56/image_05112025_13_56_41_20554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/55/image_05112025_13_55_53_3739.jpg
/home/pi/Desktop/images/05112025/13/56/image_05112025_13_56_12_19259.jpg
/home/pi/Desktop/images/05112025/13/56/image_05112025_13_56_15_3028.jpg
/home/pi/Desktop/images/05112025/13/56/image_05112025_13_56_18_1607.jpg
/home/pi/Desktop/images/05112025/13/56/image_05112025_13_56_20_1658.jpg
/home/pi/Desktop/images/05112025/13/56/image_05112025_13_56_41_20554.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399437178","1399437180","1399437194","1399437188","1399437191","1399437185"],"photo_ids_order":["1399437178","1399437180","1399437185","1399437188","1399437191","1399437194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1e2ec85e80584198fddd0237cc633de1.jpg","text":"TemporaryFile(/tmp/multipartBody898653718471675334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777903083,"filename":"image_05112025_13_55_53_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/15/9414542781d9c22089145d30add63e81.jpg","text":"TemporaryFile(/tmp/multipartBody1752633256672107242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777903083,"filename":"image_05112025_13_56_12_19259.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/40174014f003cf2c0be0dc7ef78229ed.jpg","text":"TemporaryFile(/tmp/multipartBody5743675546519387880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777903083,"filename":"image_05112025_13_56_41_20554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/59492daaa8a1b20dd1a2d54c9289d9b8.jpg","text":"TemporaryFile(/tmp/multipartBody6862849104471437926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777903083,"filename":"image_05112025_13_56_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/15/cd05381cd381af77e859caab0fffe8fe.jpg","text":"TemporaryFile(/tmp/multipartBody6716658989277995036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777903083,"filename":"image_05112025_13_56_20_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/15/7c60a9234bb90a822705e4fb4e2867f1.jpg","text":"TemporaryFile(/tmp/multipartBody6178255557787374224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777903083,"filename":"image_05112025_13_56_15_3028.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399437185","file1":"1399437180","file0":"1399437178","file4":"1399437191","file5":"1399437194","file3":"1399437188"},"map_files_photo_id_array":[{"photo_id":"1399437194","filename":"file5"},{"photo_id":"1399437185","filename":"file2"},{"photo_id":"1399437191","filename":"file4"},{"photo_id":"1399437180","filename":"file1"},{"photo_id":"1399437178","filename":"file0"},{"photo_id":"1399437188","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399437178":["hashtag1","hashtag2"]},{"1399437180":["hashtag1","hashtag2"]},{"1399437194":["hashtag1","hashtag2"]},{"1399437188":["hashtag1","hashtag2"]},{"1399437191":["hashtag1","hashtag2"]},{"1399437185":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399437178, 1399437180, 1399437194, 1399437188, 1399437191, 1399437185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06828451156616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 06:51:22.719569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/30/image_15122025_06_31_05_10628.jpg', '/home/pi/Desktop/images/15122025/06/31/image_15122025_06_31_14_9670.jpg', '/home/pi/Desktop/images/15122025/06/31/image_15122025_06_31_24_9750.jpg', '/home/pi/Desktop/images/15122025/06/31/image_15122025_06_31_34_9801.jpg', '/home/pi/Desktop/images/15122025/06/31/image_15122025_06_31_44_10622.jpg', '/home/pi/Desktop/images/15122025/06/31/image_15122025_06_31_54_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/30/image_15122025_06_31_05_10628.jpg
/home/pi/Desktop/images/15122025/06/31/image_15122025_06_31_14_9670.jpg
/home/pi/Desktop/images/15122025/06/31/image_15122025_06_31_24_9750.jpg
/home/pi/Desktop/images/15122025/06/31/image_15122025_06_31_34_9801.jpg
/home/pi/Desktop/images/15122025/06/31/image_15122025_06_31_44_10622.jpg
/home/pi/Desktop/images/15122025/06/31/image_15122025_06_31_54_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":["1399437211","1399437205","1399437208","1399437202","1399437207","1399437206"],"photo_ids_order":["1399437202","1399437205","1399437206","1399437207","1399437208","1399437211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0506dda848e95078b5d9bc3a5eb5a36d.jpg","text":"TemporaryFile(/tmp/multipartBody2461813121765378498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777943331,"filename":"image_15122025_06_31_54_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/85aa5e4fc257ff12f19f516e4fafc3e1.jpg","text":"TemporaryFile(/tmp/multipartBody1775937184651434173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777943331,"filename":"image_15122025_06_31_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/15/304b88c760157661d9701cfa929ba2da.jpg","text":"TemporaryFile(/tmp/multipartBody8619048577608219417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777943331,"filename":"image_15122025_06_31_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/15/394b8b6c557a7f99ff4af4880e737028.jpg","text":"TemporaryFile(/tmp/multipartBody1539697257269670957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777943331,"filename":"image_15122025_06_31_05_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/72df04209a3d367918baf9de31cb751f.jpg","text":"TemporaryFile(/tmp/multipartBody5554150746786575266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777943331,"filename":"image_15122025_06_31_34_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/775ae37e40a3d361c4dc25366006e269.jpg","text":"TemporaryFile(/tmp/multipartBody3941543708542250820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777943331,"filename":"image_15122025_06_31_24_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399437206","file1":"1399437205","file0":"1399437202","file4":"1399437208","file5":"1399437211","file3":"1399437207"},"map_files_photo_id_array":[{"photo_id":"1399437211","filename":"file5"},{"photo_id":"1399437206","filename":"file2"},{"photo_id":"1399437208","filename":"file4"},{"photo_id":"1399437205","filename":"file1"},{"photo_id":"1399437202","filename":"file0"},{"photo_id":"1399437207","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399437211":["hashtag1","hashtag2"]},{"1399437205":["hashtag1","hashtag2"]},{"1399437208":["hashtag1","hashtag2"]},{"1399437202":["hashtag1","hashtag2"]},{"1399437207":["hashtag1","hashtag2"]},{"1399437206":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399437211, 1399437205, 1399437208, 1399437202, 1399437207, 1399437206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46594953536987 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 06:52:02.314584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/31/image_15122025_06_32_04_9683.jpg', '/home/pi/Desktop/images/15122025/06/32/image_15122025_06_32_15_10791.jpg', '/home/pi/Desktop/images/15122025/06/32/image_15122025_06_32_24_9710.jpg', '/home/pi/Desktop/images/15122025/06/32/image_15122025_06_32_34_9636.jpg', '/home/pi/Desktop/images/15122025/06/32/image_15122025_06_32_55_10796.jpg', '/home/pi/Desktop/images/15122025/06/32/image_15122025_06_33_04_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/31/image_15122025_06_32_04_9683.jpg
/home/pi/Desktop/images/15122025/06/32/image_15122025_06_32_15_10791.jpg
/home/pi/Desktop/images/15122025/06/32/image_15122025_06_32_24_9710.jpg
/home/pi/Desktop/images/15122025/06/32/image_15122025_06_32_34_9636.jpg
/home/pi/Desktop/images/15122025/06/32/image_15122025_06_32_55_10796.jpg
/home/pi/Desktop/images/15122025/06/32/image_15122025_06_33_04_9613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399437223","1399437220","1399437228","1399437216","1399437225","1399437218"],"photo_ids_order":["1399437216","1399437218","1399437220","1399437223","1399437225","1399437228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/caffd987401e229e796f7cb55815b726.jpg","text":"TemporaryFile(/tmp/multipartBody1430609796093558996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777982962,"filename":"image_15122025_06_32_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/15/b6782daf2ef1909693145ae4b23912a0.jpg","text":"TemporaryFile(/tmp/multipartBody8956335078883215154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777982962,"filename":"image_15122025_06_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/15/5e9cd8cfef53fe44cc17cb1069431cbb.jpg","text":"TemporaryFile(/tmp/multipartBody8920089131606226093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777982962,"filename":"image_15122025_06_33_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/15/620b85120be33e5b54400c86085bb9ff.jpg","text":"TemporaryFile(/tmp/multipartBody5453585899815057086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777982962,"filename":"image_15122025_06_32_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/15/51e9732717bf1f8a81a636ca3dad61a2.jpg","text":"TemporaryFile(/tmp/multipartBody8102696866030582768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777982962,"filename":"image_15122025_06_32_55_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/15/b36506c44576b3c5227ac63b5ad4a031.jpg","text":"TemporaryFile(/tmp/multipartBody2860856252194357613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765777982962,"filename":"image_15122025_06_32_15_10791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399437220","file1":"1399437218","file0":"1399437216","file4":"1399437225","file5":"1399437228","file3":"1399437223"},"map_files_photo_id_array":[{"photo_id":"1399437228","filename":"file5"},{"photo_id":"1399437220","filename":"file2"},{"photo_id":"1399437225","filename":"file4"},{"photo_id":"1399437218","filename":"file1"},{"photo_id":"1399437216","filename":"file0"},{"photo_id":"1399437223","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399437223":["hashtag1","hashtag2"]},{"1399437220":["hashtag1","hashtag2"]},{"1399437228":["hashtag1","hashtag2"]},{"1399437216":["hashtag1","hashtag2"]},{"1399437225":["hashtag1","hashtag2"]},{"1399437218":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399437223, 1399437220, 1399437228, 1399437216, 1399437225, 1399437218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69228744506836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 06:52:41.890071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/57/image_05112025_13_57_01_20651.jpg', '/home/pi/Desktop/images/05112025/13/57/image_05112025_13_57_03_1505.jpg', '/home/pi/Desktop/images/05112025/13/57/image_05112025_13_57_04_1546.jpg', '/home/pi/Desktop/images/05112025/13/57/image_05112025_13_57_08_1781.jpg', '/home/pi/Desktop/images/05112025/13/57/image_05112025_13_57_09_1680.jpg', '/home/pi/Desktop/images/05112025/13/57/image_05112025_13_57_28_15588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/57/image_05112025_13_57_01_20651.jpg
/home/pi/Desktop/images/05112025/13/57/image_05112025_13_57_03_1505.jpg
/home/pi/Desktop/images/05112025/13/57/image_05112025_13_57_04_1546.jpg
/home/pi/Desktop/images/05112025/13/57/image_05112025_13_57_08_1781.jpg
/home/pi/Desktop/images/05112025/13/57/image_05112025_13_57_09_1680.jpg
/home/pi/Desktop/images/05112025/13/57/image_05112025_13_57_28_15588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399437256","1399437244","1399437243","1399437245","1399437239","1399437248"],"photo_ids_order":["1399437239","1399437243","1399437244","1399437245","1399437248","1399437256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dd9cb109bf5be6336fcf244df978c912.jpg","text":"TemporaryFile(/tmp/multipartBody1418784465493388632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778022595,"filename":"image_05112025_13_57_28_15588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c450c5682c61e5e8f92b2ed1940b5472.jpg","text":"TemporaryFile(/tmp/multipartBody4740047510753868745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778022595,"filename":"image_05112025_13_57_04_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/15/17816d130b2cebc5ccd2ae58d94fba4e.jpg","text":"TemporaryFile(/tmp/multipartBody4845442281651206553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778022595,"filename":"image_05112025_13_57_03_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/15/d7a36f65b752e878cef6ed1f86cbdfe4.jpg","text":"TemporaryFile(/tmp/multipartBody7074748456598889525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778022595,"filename":"image_05112025_13_57_08_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/15/015629c3015708a2b22ca7a5a8c80eb0.jpg","text":"TemporaryFile(/tmp/multipartBody5864804266446575172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778022595,"filename":"image_05112025_13_57_01_20651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/00c90fab9dbb3addbf5101c97e9c01d8.jpg","text":"TemporaryFile(/tmp/multipartBody7022309822198120587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778022595,"filename":"image_05112025_13_57_09_1680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399437244","file1":"1399437243","file0":"1399437239","file4":"1399437248","file5":"1399437256","file3":"1399437245"},"map_files_photo_id_array":[{"photo_id":"1399437256","filename":"file5"},{"photo_id":"1399437244","filename":"file2"},{"photo_id":"1399437248","filename":"file4"},{"photo_id":"1399437243","filename":"file1"},{"photo_id":"1399437239","filename":"file0"},{"photo_id":"1399437245","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399437256":["hashtag1","hashtag2"]},{"1399437244":["hashtag1","hashtag2"]},{"1399437243":["hashtag1","hashtag2"]},{"1399437245":["hashtag1","hashtag2"]},{"1399437239":["hashtag1","hashtag2"]},{"1399437248":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399437256, 1399437244, 1399437243, 1399437245, 1399437239, 1399437248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.560638427734375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 06:53:22.114913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/33/image_15122025_06_33_14_9772.jpg', '/home/pi/Desktop/images/15122025/06/33/image_15122025_06_33_25_10755.jpg', '/home/pi/Desktop/images/15122025/06/33/image_15122025_06_33_35_9857.jpg', '/home/pi/Desktop/images/15122025/06/33/image_15122025_06_33_44_9917.jpg', '/home/pi/Desktop/images/15122025/06/33/image_15122025_06_33_54_9701.jpg', '/home/pi/Desktop/images/15122025/06/33/image_15122025_06_34_04_9885.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/33/image_15122025_06_33_14_9772.jpg
/home/pi/Desktop/images/15122025/06/33/image_15122025_06_33_25_10755.jpg
/home/pi/Desktop/images/15122025/06/33/image_15122025_06_33_35_9857.jpg
/home/pi/Desktop/images/15122025/06/33/image_15122025_06_33_44_9917.jpg
/home/pi/Desktop/images/15122025/06/33/image_15122025_06_33_54_9701.jpg
/home/pi/Desktop/images/15122025/06/33/image_15122025_06_34_04_9885.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399437274","1399437268","1399437270","1399437261","1399437266","1399437271"],"photo_ids_order":["1399437261","1399437266","1399437268","1399437270","1399437271","1399437274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8b8e173a9e5b04aca90f4ffeda74e5c9.jpg","text":"TemporaryFile(/tmp/multipartBody5453241505700805988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778062729,"filename":"image_15122025_06_34_04_9885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4fd6033fc6a1b9dfa9993136dfa8a5b6.jpg","text":"TemporaryFile(/tmp/multipartBody4736895325433349926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778062729,"filename":"image_15122025_06_33_35_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/15/6485691d9e32b666c4cdbad7ff5a924c.jpg","text":"TemporaryFile(/tmp/multipartBody7432758480922001152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778062729,"filename":"image_15122025_06_33_44_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/15/645fc347199b867a6b413b72ffde256b.jpg","text":"TemporaryFile(/tmp/multipartBody4263155748726317899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778062729,"filename":"image_15122025_06_33_14_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c684dc6ca7b893da82827eee8a36ddb3.jpg","text":"TemporaryFile(/tmp/multipartBody3817385243967387184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778062729,"filename":"image_15122025_06_33_25_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/15/1fdf09c98d1ab3239c9c3e94631ea7a9.jpg","text":"TemporaryFile(/tmp/multipartBody3729723721399585650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778062729,"filename":"image_15122025_06_33_54_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399437268","file1":"1399437266","file0":"1399437261","file4":"1399437271","file5":"1399437274","file3":"1399437270"},"map_files_photo_id_array":[{"photo_id":"1399437274","filename":"file5"},{"photo_id":"1399437268","filename":"file2"},{"photo_id":"1399437271","filename":"file4"},{"photo_id":"1399437266","filename":"file1"},{"photo_id":"1399437261","filename":"file0"},{"photo_id":"1399437270","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399437274":["hashtag1","hashtag2"]},{"1399437268":["hashtag1","hashtag2"]},{"1399437270":["hashtag1","hashtag2"]},{"1399437261":["hashtag1","hashtag2"]},{"1399437266":["hashtag1","hashtag2"]},{"1399437271":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399437274, 1399437268, 1399437270, 1399437261, 1399437266, 1399437271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.399357080459595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 06:54:02.975997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/34/image_15122025_06_34_15_10661.jpg', '/home/pi/Desktop/images/15122025/06/34/image_15122025_06_34_24_9767.jpg', '/home/pi/Desktop/images/15122025/06/34/image_15122025_06_34_34_9683.jpg', '/home/pi/Desktop/images/15122025/06/34/image_15122025_06_34_44_9648.jpg', '/home/pi/Desktop/images/15122025/06/34/image_15122025_06_34_54_10675.jpg', '/home/pi/Desktop/images/15122025/06/34/image_15122025_06_35_04_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/34/image_15122025_06_34_15_10661.jpg
/home/pi/Desktop/images/15122025/06/34/image_15122025_06_34_24_9767.jpg
/home/pi/Desktop/images/15122025/06/34/image_15122025_06_34_34_9683.jpg
/home/pi/Desktop/images/15122025/06/34/image_15122025_06_34_44_9648.jpg
/home/pi/Desktop/images/15122025/06/34/image_15122025_06_34_54_10675.jpg
/home/pi/Desktop/images/15122025/06/34/image_15122025_06_35_04_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399437280","1399437282","1399437285","1399437288","1399437287","1399437290"],"photo_ids_order":["1399437280","1399437282","1399437285","1399437287","1399437288","1399437290"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/09f3c57180b4e4c3ddd8d7e72ca5ea23.jpg","text":"TemporaryFile(/tmp/multipartBody1282450948537451466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778103641,"filename":"image_15122025_06_34_15_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b6e57f0faf697f9b8b47656930917e9a.jpg","text":"TemporaryFile(/tmp/multipartBody7486342821187447539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778103641,"filename":"image_15122025_06_34_24_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/278fdd82038e33323298a3c37210352c.jpg","text":"TemporaryFile(/tmp/multipartBody5464920147715318286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778103641,"filename":"image_15122025_06_34_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/15/be097ae5f411e36c50e7c47ae7bd9c05.jpg","text":"TemporaryFile(/tmp/multipartBody3687184679434317991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778103641,"filename":"image_15122025_06_34_54_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3f3345471a3fe13c18a5f66e83c0eec3.jpg","text":"TemporaryFile(/tmp/multipartBody1753877663104027140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778103641,"filename":"image_15122025_06_34_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/15/6eb74d4a9dc825dff1119266144b4086.jpg","text":"TemporaryFile(/tmp/multipartBody5152807597838042748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778103641,"filename":"image_15122025_06_35_04_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399437285","file1":"1399437282","file0":"1399437280","file4":"1399437288","file5":"1399437290","file3":"1399437287"},"map_files_photo_id_array":[{"photo_id":"1399437290","filename":"file5"},{"photo_id":"1399437285","filename":"file2"},{"photo_id":"1399437288","filename":"file4"},{"photo_id":"1399437282","filename":"file1"},{"photo_id":"1399437280","filename":"file0"},{"photo_id":"1399437287","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399437280":["hashtag1","hashtag2"]},{"1399437282":["hashtag1","hashtag2"]},{"1399437285":["hashtag1","hashtag2"]},{"1399437288":["hashtag1","hashtag2"]},{"1399437287":["hashtag1","hashtag2"]},{"1399437290":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399437280, 1399437282, 1399437285, 1399437288, 1399437287, 1399437290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78563356399536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 06:54:42.386791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/57/image_05112025_13_57_30_1738.jpg', '/home/pi/Desktop/images/05112025/13/57/image_05112025_13_57_31_1634.jpg', '/home/pi/Desktop/images/05112025/13/57/image_05112025_13_57_33_1506.jpg', '/home/pi/Desktop/images/05112025/13/58/image_05112025_13_58_03_30008.jpg', '/home/pi/Desktop/images/05112025/13/58/image_05112025_13_58_12_9175.jpg', '/home/pi/Desktop/images/05112025/13/58/image_05112025_13_58_14_1634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/57/image_05112025_13_57_30_1738.jpg
/home/pi/Desktop/images/05112025/13/57/image_05112025_13_57_31_1634.jpg
/home/pi/Desktop/images/05112025/13/57/image_05112025_13_57_33_1506.jpg
/home/pi/Desktop/images/05112025/13/58/image_05112025_13_58_03_30008.jpg
/home/pi/Desktop/images/05112025/13/58/image_05112025_13_58_12_9175.jpg
/home/pi/Desktop/images/05112025/13/58/image_05112025_13_58_14_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":["1399437295","1399437313","1399437324","1399437299","1399437305","1399437298"],"photo_ids_order":["1399437295","1399437298","1399437299","1399437305","1399437313","1399437324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4b090e9f265547f544733afeceac45e5.jpg","text":"TemporaryFile(/tmp/multipartBody1870059536224198340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778143113,"filename":"image_05112025_13_57_30_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/15/45602abddbbe524bab49fd161bc5fbf6.jpg","text":"TemporaryFile(/tmp/multipartBody4566429582660545613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778143113,"filename":"image_05112025_13_58_12_9175.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0d8f0cebf97b210a1c24bfd900950eae.jpg","text":"TemporaryFile(/tmp/multipartBody5961209712209171614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778143113,"filename":"image_05112025_13_58_14_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6dbdd8d209b65fa4b49e4f82504d476d.jpg","text":"TemporaryFile(/tmp/multipartBody791269987801119716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778143113,"filename":"image_05112025_13_57_33_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/15/368798c3446a4c3262aeb0b549facc7e.jpg","text":"TemporaryFile(/tmp/multipartBody1028621765771163303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778143113,"filename":"image_05112025_13_58_03_30008.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a2b692f6cedfdd0e84e99495f686327a.jpg","text":"TemporaryFile(/tmp/multipartBody3089802758779321152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778143113,"filename":"image_05112025_13_57_31_1634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399437299","file1":"1399437298","file0":"1399437295","file4":"1399437313","file5":"1399437324","file3":"1399437305"},"map_files_photo_id_array":[{"photo_id":"1399437324","filename":"file5"},{"photo_id":"1399437299","filename":"file2"},{"photo_id":"1399437313","filename":"file4"},{"photo_id":"1399437298","filename":"file1"},{"photo_id":"1399437295","filename":"file0"},{"photo_id":"1399437305","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399437295":["hashtag1","hashtag2"]},{"1399437313":["hashtag1","hashtag2"]},{"1399437324":["hashtag1","hashtag2"]},{"1399437299":["hashtag1","hashtag2"]},{"1399437305":["hashtag1","hashtag2"]},{"1399437298":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399437295, 1399437313, 1399437324, 1399437299, 1399437305, 1399437298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10545587539673 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 06:55:22.638073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/35/image_15122025_06_35_14_9782.jpg', '/home/pi/Desktop/images/15122025/06/35/image_15122025_06_35_25_10628.jpg', '/home/pi/Desktop/images/15122025/06/35/image_15122025_06_35_34_9583.jpg', '/home/pi/Desktop/images/15122025/06/35/image_15122025_06_35_44_9675.jpg', '/home/pi/Desktop/images/15122025/06/35/image_15122025_06_35_55_10732.jpg', '/home/pi/Desktop/images/15122025/06/35/image_15122025_06_36_04_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/35/image_15122025_06_35_14_9782.jpg
/home/pi/Desktop/images/15122025/06/35/image_15122025_06_35_25_10628.jpg
/home/pi/Desktop/images/15122025/06/35/image_15122025_06_35_34_9583.jpg
/home/pi/Desktop/images/15122025/06/35/image_15122025_06_35_44_9675.jpg
/home/pi/Desktop/images/15122025/06/35/image_15122025_06_35_55_10732.jpg
/home/pi/Desktop/images/15122025/06/35/image_15122025_06_36_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":["1399437334","1399437337","1399437339","1399437342","1399437330","1399437335"],"photo_ids_order":["1399437330","1399437334","1399437335","1399437337","1399437339","1399437342"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/04a036a057e6328cf0b81afe2b5d8d52.jpg","text":"TemporaryFile(/tmp/multipartBody6573570696455687644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778183288,"filename":"image_15122025_06_35_25_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/65540e0b611769afb0e48107d2c7074c.jpg","text":"TemporaryFile(/tmp/multipartBody6111224648228193056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778183288,"filename":"image_15122025_06_35_44_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/55bceffed869c8b41f3a04e1bcee08d7.jpg","text":"TemporaryFile(/tmp/multipartBody5949819056871670813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778183288,"filename":"image_15122025_06_35_55_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3ed107251bf6aa0d782bc84fdf1a2200.jpg","text":"TemporaryFile(/tmp/multipartBody3292667058826162129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778183288,"filename":"image_15122025_06_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/15/a56b98c5c2dc8bd2375aa8055f2c1a05.jpg","text":"TemporaryFile(/tmp/multipartBody4200106914758533208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778183288,"filename":"image_15122025_06_35_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/15/6f8bec2fdec4c3afb795358bb0bb50bf.jpg","text":"TemporaryFile(/tmp/multipartBody2398184876580134537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778183288,"filename":"image_15122025_06_35_34_9583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399437335","file1":"1399437334","file0":"1399437330","file4":"1399437339","file5":"1399437342","file3":"1399437337"},"map_files_photo_id_array":[{"photo_id":"1399437342","filename":"file5"},{"photo_id":"1399437335","filename":"file2"},{"photo_id":"1399437339","filename":"file4"},{"photo_id":"1399437334","filename":"file1"},{"photo_id":"1399437330","filename":"file0"},{"photo_id":"1399437337","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399437334":["hashtag1","hashtag2"]},{"1399437337":["hashtag1","hashtag2"]},{"1399437339":["hashtag1","hashtag2"]},{"1399437342":["hashtag1","hashtag2"]},{"1399437330":["hashtag1","hashtag2"]},{"1399437335":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399437334, 1399437337, 1399437339, 1399437342, 1399437330, 1399437335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.584837675094604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 06:56:02.355954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/36/image_15122025_06_36_14_9643.jpg', '/home/pi/Desktop/images/15122025/06/36/image_15122025_06_36_25_10678.jpg', '/home/pi/Desktop/images/15122025/06/36/image_15122025_06_36_34_9687.jpg', '/home/pi/Desktop/images/15122025/06/36/image_15122025_06_36_44_9682.jpg', '/home/pi/Desktop/images/15122025/06/36/image_15122025_06_36_55_10729.jpg', '/home/pi/Desktop/images/15122025/06/36/image_15122025_06_37_04_9813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/36/image_15122025_06_36_14_9643.jpg
/home/pi/Desktop/images/15122025/06/36/image_15122025_06_36_25_10678.jpg
/home/pi/Desktop/images/15122025/06/36/image_15122025_06_36_34_9687.jpg
/home/pi/Desktop/images/15122025/06/36/image_15122025_06_36_44_9682.jpg
/home/pi/Desktop/images/15122025/06/36/image_15122025_06_36_55_10729.jpg
/home/pi/Desktop/images/15122025/06/36/image_15122025_06_37_04_9813.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399437349","1399437343","1399437346","1399437345","1399437354","1399437344"],"photo_ids_order":["1399437343","1399437344","1399437345","1399437346","1399437349","1399437354"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9accf2d9e813ad4edd8f699a8131f76e.jpg","text":"TemporaryFile(/tmp/multipartBody6795810268318888705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778222998,"filename":"image_15122025_06_36_55_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b99d1a789e51b3c5d0f50bfeea86b35f.jpg","text":"TemporaryFile(/tmp/multipartBody960140238476563588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778222998,"filename":"image_15122025_06_36_14_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3db79f8d6a46c13a837297f66336435d.jpg","text":"TemporaryFile(/tmp/multipartBody2104249631374983329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778222998,"filename":"image_15122025_06_36_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/15/5bbc363b716d53fe5b4bfc829754b785.jpg","text":"TemporaryFile(/tmp/multipartBody5255258205769709023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778222998,"filename":"image_15122025_06_36_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/15/31778179caf3a9778d4b552c09b890eb.jpg","text":"TemporaryFile(/tmp/multipartBody5693119705220435540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778222998,"filename":"image_15122025_06_37_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/15/a33e44ac4d8a301e3ba16b931430e267.jpg","text":"TemporaryFile(/tmp/multipartBody9055053255133518498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778222998,"filename":"image_15122025_06_36_25_10678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399437345","file1":"1399437344","file0":"1399437343","file4":"1399437349","file5":"1399437354","file3":"1399437346"},"map_files_photo_id_array":[{"photo_id":"1399437354","filename":"file5"},{"photo_id":"1399437345","filename":"file2"},{"photo_id":"1399437349","filename":"file4"},{"photo_id":"1399437344","filename":"file1"},{"photo_id":"1399437343","filename":"file0"},{"photo_id":"1399437346","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399437349":["hashtag1","hashtag2"]},{"1399437343":["hashtag1","hashtag2"]},{"1399437346":["hashtag1","hashtag2"]},{"1399437345":["hashtag1","hashtag2"]},{"1399437354":["hashtag1","hashtag2"]},{"1399437344":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399437349, 1399437343, 1399437346, 1399437345, 1399437354, 1399437344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61512613296509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 06:56:41.901607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/58/image_05112025_13_58_15_1637.jpg', '/home/pi/Desktop/images/05112025/13/58/image_05112025_13_58_17_1641.jpg', '/home/pi/Desktop/images/05112025/13/58/image_05112025_13_58_19_1551.jpg', '/home/pi/Desktop/images/05112025/13/58/image_05112025_13_58_20_1525.jpg', '/home/pi/Desktop/images/05112025/13/58/image_05112025_13_58_22_1580.jpg', '/home/pi/Desktop/images/05112025/13/58/image_05112025_13_58_23_1555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/58/image_05112025_13_58_15_1637.jpg
/home/pi/Desktop/images/05112025/13/58/image_05112025_13_58_17_1641.jpg
/home/pi/Desktop/images/05112025/13/58/image_05112025_13_58_19_1551.jpg
/home/pi/Desktop/images/05112025/13/58/image_05112025_13_58_20_1525.jpg
/home/pi/Desktop/images/05112025/13/58/image_05112025_13_58_22_1580.jpg
/home/pi/Desktop/images/05112025/13/58/image_05112025_13_58_23_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":["1399437373","1399437376","1399437378","1399437366","1399437369","1399437371"],"photo_ids_order":["1399437366","1399437369","1399437371","1399437373","1399437376","1399437378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/54583ef12e78e9680d91437e048c89a7.jpg","text":"TemporaryFile(/tmp/multipartBody5076363266916076172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778262648,"filename":"image_05112025_13_58_20_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/15/89c04370d4e1ad015826af7586d3c29f.jpg","text":"TemporaryFile(/tmp/multipartBody4776728220053206938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778262648,"filename":"image_05112025_13_58_22_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/15/e95205271f7ef74c768e42e6fc4d7de1.jpg","text":"TemporaryFile(/tmp/multipartBody7312213614693209436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778262648,"filename":"image_05112025_13_58_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/15/8ef32e6def6fe24b8e5618f67897ddde.jpg","text":"TemporaryFile(/tmp/multipartBody5360443460271740143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778262648,"filename":"image_05112025_13_58_15_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8ecc7232b2103f35c739439da4551cf1.jpg","text":"TemporaryFile(/tmp/multipartBody5672512315511719451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778262648,"filename":"image_05112025_13_58_17_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/15/162c78e073c71906bee01441f128183d.jpg","text":"TemporaryFile(/tmp/multipartBody8450160877943148998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778262648,"filename":"image_05112025_13_58_19_1551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399437371","file1":"1399437369","file0":"1399437366","file4":"1399437376","file5":"1399437378","file3":"1399437373"},"map_files_photo_id_array":[{"photo_id":"1399437378","filename":"file5"},{"photo_id":"1399437371","filename":"file2"},{"photo_id":"1399437376","filename":"file4"},{"photo_id":"1399437369","filename":"file1"},{"photo_id":"1399437366","filename":"file0"},{"photo_id":"1399437373","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399437373":["hashtag1","hashtag2"]},{"1399437376":["hashtag1","hashtag2"]},{"1399437378":["hashtag1","hashtag2"]},{"1399437366":["hashtag1","hashtag2"]},{"1399437369":["hashtag1","hashtag2"]},{"1399437371":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399437373, 1399437376, 1399437378, 1399437366, 1399437369, 1399437371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67680501937866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 06:57:22.248394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/37/image_15122025_06_37_14_9568.jpg', '/home/pi/Desktop/images/15122025/06/37/image_15122025_06_37_25_10677.jpg', '/home/pi/Desktop/images/15122025/06/37/image_15122025_06_37_34_9608.jpg', '/home/pi/Desktop/images/15122025/06/37/image_15122025_06_37_55_10672.jpg', '/home/pi/Desktop/images/15122025/06/38/image_15122025_06_38_14_9625.jpg', '/home/pi/Desktop/images/15122025/06/38/image_15122025_06_38_25_10798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/37/image_15122025_06_37_14_9568.jpg
/home/pi/Desktop/images/15122025/06/37/image_15122025_06_37_25_10677.jpg
/home/pi/Desktop/images/15122025/06/37/image_15122025_06_37_34_9608.jpg
/home/pi/Desktop/images/15122025/06/37/image_15122025_06_37_55_10672.jpg
/home/pi/Desktop/images/15122025/06/38/image_15122025_06_38_14_9625.jpg
/home/pi/Desktop/images/15122025/06/38/image_15122025_06_38_25_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":["1399437544","1399437547","1399437469","1399437433","1399437511","1399437578"],"photo_ids_order":["1399437433","1399437469","1399437511","1399437544","1399437547","1399437578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cd5485ffb0a9784dcd606ed804cddb29.jpg","text":"TemporaryFile(/tmp/multipartBody8092525848164911007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778302861,"filename":"image_15122025_06_37_55_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a0f72fbe85f651343bfecd504de20b2b.jpg","text":"TemporaryFile(/tmp/multipartBody2387627320110217573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778302861,"filename":"image_15122025_06_38_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/15/6b0ee8ec01bbc557be030a0fd6caa085.jpg","text":"TemporaryFile(/tmp/multipartBody5878361164810710623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778302861,"filename":"image_15122025_06_37_25_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/15/440fc259fd911b3684e124d16727b8e6.jpg","text":"TemporaryFile(/tmp/multipartBody6412857489832009018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778302861,"filename":"image_15122025_06_37_14_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b5887a0c2408bd5d41ec5615427f0563.jpg","text":"TemporaryFile(/tmp/multipartBody4791385398656813281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778302861,"filename":"image_15122025_06_37_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/15/b81f33d4d071d3d6ca6d755d0aa4aedb.jpg","text":"TemporaryFile(/tmp/multipartBody6915767652207957556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778302861,"filename":"image_15122025_06_38_25_10798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399437511","file1":"1399437469","file0":"1399437433","file4":"1399437547","file5":"1399437578","file3":"1399437544"},"map_files_photo_id_array":[{"photo_id":"1399437578","filename":"file5"},{"photo_id":"1399437511","filename":"file2"},{"photo_id":"1399437547","filename":"file4"},{"photo_id":"1399437469","filename":"file1"},{"photo_id":"1399437433","filename":"file0"},{"photo_id":"1399437544","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399437544":["hashtag1","hashtag2"]},{"1399437547":["hashtag1","hashtag2"]},{"1399437469":["hashtag1","hashtag2"]},{"1399437433":["hashtag1","hashtag2"]},{"1399437511":["hashtag1","hashtag2"]},{"1399437578":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399437544, 1399437547, 1399437469, 1399437433, 1399437511, 1399437578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63168907165527 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 06:59:03.574408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/38/image_15122025_06_38_34_9546.jpg', '/home/pi/Desktop/images/15122025/06/38/image_15122025_06_38_44_9710.jpg', '/home/pi/Desktop/images/15122025/06/38/image_15122025_06_38_54_9886.jpg', '/home/pi/Desktop/images/15122025/06/38/image_15122025_06_39_04_10584.jpg', '/home/pi/Desktop/images/15122025/06/39/image_15122025_06_39_14_9641.jpg', '/home/pi/Desktop/images/15122025/06/39/image_15122025_06_39_25_10597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/38/image_15122025_06_38_34_9546.jpg
/home/pi/Desktop/images/15122025/06/38/image_15122025_06_38_44_9710.jpg
/home/pi/Desktop/images/15122025/06/38/image_15122025_06_38_54_9886.jpg
/home/pi/Desktop/images/15122025/06/38/image_15122025_06_39_04_10584.jpg
/home/pi/Desktop/images/15122025/06/39/image_15122025_06_39_14_9641.jpg
/home/pi/Desktop/images/15122025/06/39/image_15122025_06_39_25_10597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399437631","1399437642","1399437645","1399437635","1399437638","1399437626"],"photo_ids_order":["1399437626","1399437631","1399437635","1399437638","1399437642","1399437645"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ba75c2d706df7ebb579a119d8e08a8a9.jpg","text":"TemporaryFile(/tmp/multipartBody4270003903789308039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778404394,"filename":"image_15122025_06_38_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/15/e94aa818b4751e4d385c556245fbc510.jpg","text":"TemporaryFile(/tmp/multipartBody9192839201736125287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778404394,"filename":"image_15122025_06_39_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/15/e8644a60a93b9ac7da5350231a17cb1e.jpg","text":"TemporaryFile(/tmp/multipartBody7469621346612953040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778404394,"filename":"image_15122025_06_39_25_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/15/5bce083d8b49eaba4edede64df244408.jpg","text":"TemporaryFile(/tmp/multipartBody7774530940588143109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778404394,"filename":"image_15122025_06_38_54_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/15/00365b5dd3d75a7ea3726b9438e54081.jpg","text":"TemporaryFile(/tmp/multipartBody5439127654356082476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778404394,"filename":"image_15122025_06_39_04_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/15/09d18d21c90bc5de131887359425dbae.jpg","text":"TemporaryFile(/tmp/multipartBody7515810146522296627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778404394,"filename":"image_15122025_06_38_34_9546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399437635","file1":"1399437631","file0":"1399437626","file4":"1399437642","file5":"1399437645","file3":"1399437638"},"map_files_photo_id_array":[{"photo_id":"1399437645","filename":"file5"},{"photo_id":"1399437635","filename":"file2"},{"photo_id":"1399437642","filename":"file4"},{"photo_id":"1399437631","filename":"file1"},{"photo_id":"1399437626","filename":"file0"},{"photo_id":"1399437638","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399437631":["hashtag1","hashtag2"]},{"1399437642":["hashtag1","hashtag2"]},{"1399437645":["hashtag1","hashtag2"]},{"1399437635":["hashtag1","hashtag2"]},{"1399437638":["hashtag1","hashtag2"]},{"1399437626":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399437631, 1399437642, 1399437645, 1399437635, 1399437638, 1399437626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.06507110595703 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 07:00:03.308461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/39/image_15122025_06_39_34_9851.jpg', '/home/pi/Desktop/images/15122025/06/39/image_15122025_06_39_44_9564.jpg', '/home/pi/Desktop/images/15122025/06/39/image_15122025_06_39_54_9733.jpg', '/home/pi/Desktop/images/15122025/06/39/image_15122025_06_40_05_10837.jpg', '/home/pi/Desktop/images/15122025/06/40/image_15122025_06_40_14_9673.jpg', '/home/pi/Desktop/images/15122025/06/40/image_15122025_06_40_24_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/39/image_15122025_06_39_34_9851.jpg
/home/pi/Desktop/images/15122025/06/39/image_15122025_06_39_44_9564.jpg
/home/pi/Desktop/images/15122025/06/39/image_15122025_06_39_54_9733.jpg
/home/pi/Desktop/images/15122025/06/39/image_15122025_06_40_05_10837.jpg
/home/pi/Desktop/images/15122025/06/40/image_15122025_06_40_14_9673.jpg
/home/pi/Desktop/images/15122025/06/40/image_15122025_06_40_24_9640.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5281357765197754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 07:00:12.723607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 07:00:22.789755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/39/image_15122025_06_39_34_9851.jpg', '/home/pi/Desktop/images/15122025/06/39/image_15122025_06_39_44_9564.jpg', '/home/pi/Desktop/images/15122025/06/39/image_15122025_06_39_54_9733.jpg', '/home/pi/Desktop/images/15122025/06/39/image_15122025_06_40_05_10837.jpg', '/home/pi/Desktop/images/15122025/06/40/image_15122025_06_40_14_9673.jpg', '/home/pi/Desktop/images/15122025/06/40/image_15122025_06_40_24_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/39/image_15122025_06_39_34_9851.jpg
/home/pi/Desktop/images/15122025/06/39/image_15122025_06_39_44_9564.jpg
/home/pi/Desktop/images/15122025/06/39/image_15122025_06_39_54_9733.jpg
/home/pi/Desktop/images/15122025/06/39/image_15122025_06_40_05_10837.jpg
/home/pi/Desktop/images/15122025/06/40/image_15122025_06_40_14_9673.jpg
/home/pi/Desktop/images/15122025/06/40/image_15122025_06_40_24_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399438033","1399437996","1399438068","1399437954","1399437915","1399437874"],"photo_ids_order":["1399437874","1399437915","1399437954","1399437996","1399438033","1399438068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cfb68bdb3d2bfb9f6bad2f8cf4fb0deb.jpg","text":"TemporaryFile(/tmp/multipartBody5183956566018690656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778483400,"filename":"image_15122025_06_40_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/15/788d74d2f27a519de924174587627f8a.jpg","text":"TemporaryFile(/tmp/multipartBody8661175085217401081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778483400,"filename":"image_15122025_06_40_05_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/15/4c844858ac06c1a1ac7c0f6e567635e0.jpg","text":"TemporaryFile(/tmp/multipartBody8879267804091274620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778483400,"filename":"image_15122025_06_40_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6fd3aa149cdc218b4e9ddec5a105dd78.jpg","text":"TemporaryFile(/tmp/multipartBody4551025622364965586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778483400,"filename":"image_15122025_06_39_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/15/a206553c6494379d3a57cff0781356f8.jpg","text":"TemporaryFile(/tmp/multipartBody4809470874561539618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778483400,"filename":"image_15122025_06_39_44_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9716d8af906ff6fe2f358886fd864d0c.jpg","text":"TemporaryFile(/tmp/multipartBody6662604339806540203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778483400,"filename":"image_15122025_06_39_34_9851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399437954","file1":"1399437915","file0":"1399437874","file4":"1399438033","file5":"1399438068","file3":"1399437996"},"map_files_photo_id_array":[{"photo_id":"1399438068","filename":"file5"},{"photo_id":"1399437954","filename":"file2"},{"photo_id":"1399438033","filename":"file4"},{"photo_id":"1399437915","filename":"file1"},{"photo_id":"1399437874","filename":"file0"},{"photo_id":"1399437996","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399438033":["hashtag1","hashtag2"]},{"1399437996":["hashtag1","hashtag2"]},{"1399438068":["hashtag1","hashtag2"]},{"1399437954":["hashtag1","hashtag2"]},{"1399437915":["hashtag1","hashtag2"]},{"1399437874":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399438033, 1399437996, 1399438068, 1399437954, 1399437915, 1399437874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.801804542541504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 07:01:02.430620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/40/image_15122025_06_40_35_10737.jpg', '/home/pi/Desktop/images/15122025/06/40/image_15122025_06_40_44_9722.jpg', '/home/pi/Desktop/images/15122025/06/40/image_15122025_06_40_54_9723.jpg', '/home/pi/Desktop/images/15122025/06/40/image_15122025_06_41_04_9793.jpg', '/home/pi/Desktop/images/15122025/06/41/image_15122025_06_41_14_10596.jpg', '/home/pi/Desktop/images/15122025/06/41/image_15122025_06_41_24_9764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/40/image_15122025_06_40_35_10737.jpg
/home/pi/Desktop/images/15122025/06/40/image_15122025_06_40_44_9722.jpg
/home/pi/Desktop/images/15122025/06/40/image_15122025_06_40_54_9723.jpg
/home/pi/Desktop/images/15122025/06/40/image_15122025_06_41_04_9793.jpg
/home/pi/Desktop/images/15122025/06/41/image_15122025_06_41_14_10596.jpg
/home/pi/Desktop/images/15122025/06/41/image_15122025_06_41_24_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":["1399438251","1399438248","1399438253","1399438250","1399438226","1399438189"],"photo_ids_order":["1399438189","1399438226","1399438248","1399438250","1399438251","1399438253"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1a92f7c358ffa38336ffecde8763fd8f.jpg","text":"TemporaryFile(/tmp/multipartBody4169076163960866521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778523112,"filename":"image_15122025_06_41_14_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/15/c5eb7625d86252131deb8860451ed11a.jpg","text":"TemporaryFile(/tmp/multipartBody5530032310732919482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778523112,"filename":"image_15122025_06_40_54_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/583cff807fde283b8e3257c37cc299b6.jpg","text":"TemporaryFile(/tmp/multipartBody4895597248419266771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778523112,"filename":"image_15122025_06_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/15/3f626c81b810b90a508a42bd27033364.jpg","text":"TemporaryFile(/tmp/multipartBody2761637297327664596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778523112,"filename":"image_15122025_06_41_04_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/50a35c0c27c383652d65c041a06bc169.jpg","text":"TemporaryFile(/tmp/multipartBody4816187947453750695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778523112,"filename":"image_15122025_06_40_44_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9d5eb19af992dba2092ab568fc89b016.jpg","text":"TemporaryFile(/tmp/multipartBody981582369383083768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778523112,"filename":"image_15122025_06_40_35_10737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399438248","file1":"1399438226","file0":"1399438189","file4":"1399438251","file5":"1399438253","file3":"1399438250"},"map_files_photo_id_array":[{"photo_id":"1399438253","filename":"file5"},{"photo_id":"1399438248","filename":"file2"},{"photo_id":"1399438251","filename":"file4"},{"photo_id":"1399438226","filename":"file1"},{"photo_id":"1399438189","filename":"file0"},{"photo_id":"1399438250","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399438251":["hashtag1","hashtag2"]},{"1399438248":["hashtag1","hashtag2"]},{"1399438253":["hashtag1","hashtag2"]},{"1399438250":["hashtag1","hashtag2"]},{"1399438226":["hashtag1","hashtag2"]},{"1399438189":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399438251, 1399438248, 1399438253, 1399438250, 1399438226, 1399438189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04786443710327 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 07:01:41.926507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/58/image_05112025_13_58_25_1723.jpg', '/home/pi/Desktop/images/05112025/13/58/image_05112025_13_58_27_1684.jpg', '/home/pi/Desktop/images/05112025/13/58/image_05112025_13_58_31_4257.jpg', '/home/pi/Desktop/images/05112025/13/58/image_05112025_13_58_33_1795.jpg', '/home/pi/Desktop/images/05112025/13/58/image_05112025_13_58_34_1642.jpg', '/home/pi/Desktop/images/05112025/13/58/image_05112025_13_58_36_1649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/58/image_05112025_13_58_25_1723.jpg
/home/pi/Desktop/images/05112025/13/58/image_05112025_13_58_27_1684.jpg
/home/pi/Desktop/images/05112025/13/58/image_05112025_13_58_31_4257.jpg
/home/pi/Desktop/images/05112025/13/58/image_05112025_13_58_33_1795.jpg
/home/pi/Desktop/images/05112025/13/58/image_05112025_13_58_34_1642.jpg
/home/pi/Desktop/images/05112025/13/58/image_05112025_13_58_36_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":["1399438374","1399438383","1399438419","1399438379","1399438349","1399438313"],"photo_ids_order":["1399438313","1399438349","1399438374","1399438379","1399438383","1399438419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c078c75cf8f1282e9371302ad29cd54d.jpg","text":"TemporaryFile(/tmp/multipartBody5141778571052362868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778562630,"filename":"image_05112025_13_58_31_4257.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ca3c34ecc00307602af17cde1ea13142.jpg","text":"TemporaryFile(/tmp/multipartBody9097571549757736233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778562630,"filename":"image_05112025_13_58_34_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/15/7c1661a18e6cab569bfa3c4bbdbf8852.jpg","text":"TemporaryFile(/tmp/multipartBody8983328449360896629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778562630,"filename":"image_05112025_13_58_36_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/15/7bbf56317f670373efdbdc7c37e8c2b5.jpg","text":"TemporaryFile(/tmp/multipartBody7484443178090582481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778562630,"filename":"image_05112025_13_58_33_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/15/37498acf9478a906a81e86293ed8262a.jpg","text":"TemporaryFile(/tmp/multipartBody8830684632874320498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778562630,"filename":"image_05112025_13_58_27_1684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e8ba8b1bd2b7e77cb533a528c726ee93.jpg","text":"TemporaryFile(/tmp/multipartBody4208570956496826303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778562630,"filename":"image_05112025_13_58_25_1723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399438374","file1":"1399438349","file0":"1399438313","file4":"1399438383","file5":"1399438419","file3":"1399438379"},"map_files_photo_id_array":[{"photo_id":"1399438419","filename":"file5"},{"photo_id":"1399438374","filename":"file2"},{"photo_id":"1399438383","filename":"file4"},{"photo_id":"1399438349","filename":"file1"},{"photo_id":"1399438313","filename":"file0"},{"photo_id":"1399438379","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399438374":["hashtag1","hashtag2"]},{"1399438383":["hashtag1","hashtag2"]},{"1399438419":["hashtag1","hashtag2"]},{"1399438379":["hashtag1","hashtag2"]},{"1399438349":["hashtag1","hashtag2"]},{"1399438313":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399438374, 1399438383, 1399438419, 1399438379, 1399438349, 1399438313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95417356491089 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 07:02:22.185728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/41/image_15122025_06_41_34_9804.jpg', '/home/pi/Desktop/images/15122025/06/41/image_15122025_06_41_45_10632.jpg', '/home/pi/Desktop/images/15122025/06/41/image_15122025_06_41_54_9765.jpg', '/home/pi/Desktop/images/15122025/06/41/image_15122025_06_42_04_9809.jpg', '/home/pi/Desktop/images/15122025/06/42/image_15122025_06_42_14_10065.jpg', '/home/pi/Desktop/images/15122025/06/42/image_15122025_06_42_24_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/41/image_15122025_06_41_34_9804.jpg
/home/pi/Desktop/images/15122025/06/41/image_15122025_06_41_45_10632.jpg
/home/pi/Desktop/images/15122025/06/41/image_15122025_06_41_54_9765.jpg
/home/pi/Desktop/images/15122025/06/41/image_15122025_06_42_04_9809.jpg
/home/pi/Desktop/images/15122025/06/42/image_15122025_06_42_14_10065.jpg
/home/pi/Desktop/images/15122025/06/42/image_15122025_06_42_24_9740.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5121698379516602 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 07:02:32.196612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 07:02:42.186575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/13/58/image_05112025_13_58_46_9834.jpg', '/home/pi/Desktop/images/05112025/14/01/image_05112025_14_01_07_3015.jpg', '/home/pi/Desktop/images/05112025/14/01/image_05112025_14_01_10_3591.jpg', '/home/pi/Desktop/images/05112025/14/01/image_05112025_14_01_13_2659.jpg', '/home/pi/Desktop/images/05112025/14/01/image_05112025_14_01_16_2755.jpg', '/home/pi/Desktop/images/05112025/14/01/image_05112025_14_01_24_8250.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/13/58/image_05112025_13_58_46_9834.jpg
/home/pi/Desktop/images/05112025/14/01/image_05112025_14_01_07_3015.jpg
/home/pi/Desktop/images/05112025/14/01/image_05112025_14_01_10_3591.jpg
/home/pi/Desktop/images/05112025/14/01/image_05112025_14_01_13_2659.jpg
/home/pi/Desktop/images/05112025/14/01/image_05112025_14_01_16_2755.jpg
/home/pi/Desktop/images/05112025/14/01/image_05112025_14_01_24_8250.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399438764","1399438800","1399438602","1399438694","1399438729","1399438645"],"photo_ids_order":["1399438602","1399438645","1399438694","1399438729","1399438764","1399438800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6e232c991e9437abb0296b02428227ea.jpg","text":"TemporaryFile(/tmp/multipartBody8024426833821777506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778622887,"filename":"image_05112025_14_01_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/15/6d20b7533d24ab66f8b3a17b49efba39.jpg","text":"TemporaryFile(/tmp/multipartBody157009323558386448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778622887,"filename":"image_05112025_14_01_24_8250.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a475b846f514f3f6e605bbce8ff4f08e.jpg","text":"TemporaryFile(/tmp/multipartBody5000883373378411281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778622887,"filename":"image_05112025_13_58_46_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/15/10d70eca7cffa08b38dbede170c0e842.jpg","text":"TemporaryFile(/tmp/multipartBody5114639972355010696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778622887,"filename":"image_05112025_14_01_10_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/15/978517c00c6f10104b524030d02dfd74.jpg","text":"TemporaryFile(/tmp/multipartBody8196451782486801383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778622887,"filename":"image_05112025_14_01_13_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/15/eb2d28d4bc87e684a7d2e08ce3c9213b.jpg","text":"TemporaryFile(/tmp/multipartBody8170735256647967899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778622887,"filename":"image_05112025_14_01_07_3015.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399438694","file1":"1399438645","file0":"1399438602","file4":"1399438764","file5":"1399438800","file3":"1399438729"},"map_files_photo_id_array":[{"photo_id":"1399438800","filename":"file5"},{"photo_id":"1399438694","filename":"file2"},{"photo_id":"1399438764","filename":"file4"},{"photo_id":"1399438645","filename":"file1"},{"photo_id":"1399438602","filename":"file0"},{"photo_id":"1399438729","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399438764":["hashtag1","hashtag2"]},{"1399438800":["hashtag1","hashtag2"]},{"1399438602":["hashtag1","hashtag2"]},{"1399438694":["hashtag1","hashtag2"]},{"1399438729":["hashtag1","hashtag2"]},{"1399438645":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399438764, 1399438800, 1399438602, 1399438694, 1399438729, 1399438645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91326379776001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 07:03:22.443797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/41/image_15122025_06_41_34_9804.jpg', '/home/pi/Desktop/images/15122025/06/41/image_15122025_06_41_45_10632.jpg', '/home/pi/Desktop/images/15122025/06/41/image_15122025_06_41_54_9765.jpg', '/home/pi/Desktop/images/15122025/06/41/image_15122025_06_42_04_9809.jpg', '/home/pi/Desktop/images/15122025/06/42/image_15122025_06_42_14_10065.jpg', '/home/pi/Desktop/images/15122025/06/42/image_15122025_06_42_24_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/41/image_15122025_06_41_34_9804.jpg
/home/pi/Desktop/images/15122025/06/41/image_15122025_06_41_45_10632.jpg
/home/pi/Desktop/images/15122025/06/41/image_15122025_06_41_54_9765.jpg
/home/pi/Desktop/images/15122025/06/41/image_15122025_06_42_04_9809.jpg
/home/pi/Desktop/images/15122025/06/42/image_15122025_06_42_14_10065.jpg
/home/pi/Desktop/images/15122025/06/42/image_15122025_06_42_24_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":["1399439055","1399438938","1399438976","1399439098","1399439137","1399439017"],"photo_ids_order":["1399438938","1399438976","1399439017","1399439055","1399439098","1399439137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e2b540b05c324237b60fa267f4c96dc0.jpg","text":"TemporaryFile(/tmp/multipartBody9143397938089071080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778663090,"filename":"image_15122025_06_42_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/15/01f78147ccfa54a8dd312a59730393e8.jpg","text":"TemporaryFile(/tmp/multipartBody402337862204160366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778663090,"filename":"image_15122025_06_41_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/15/9f88e224149188d2cd92cf8de0dd44b4.jpg","text":"TemporaryFile(/tmp/multipartBody9024828769250847261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778663090,"filename":"image_15122025_06_41_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/15/8790c8f42db6a9aad746c5d73be28945.jpg","text":"TemporaryFile(/tmp/multipartBody3779132591510806505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778663090,"filename":"image_15122025_06_42_14_10065.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d092047a546383e37a1ecfc68f148533.jpg","text":"TemporaryFile(/tmp/multipartBody1020350913212301583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778663090,"filename":"image_15122025_06_42_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/15/e41635fdb0719a65529c459282f7ea59.jpg","text":"TemporaryFile(/tmp/multipartBody1575223568783480107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778663090,"filename":"image_15122025_06_41_54_9765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399439017","file1":"1399438976","file0":"1399438938","file4":"1399439098","file5":"1399439137","file3":"1399439055"},"map_files_photo_id_array":[{"photo_id":"1399439137","filename":"file5"},{"photo_id":"1399439017","filename":"file2"},{"photo_id":"1399439098","filename":"file4"},{"photo_id":"1399438976","filename":"file1"},{"photo_id":"1399438938","filename":"file0"},{"photo_id":"1399439055","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399439055":["hashtag1","hashtag2"]},{"1399438938":["hashtag1","hashtag2"]},{"1399438976":["hashtag1","hashtag2"]},{"1399439098":["hashtag1","hashtag2"]},{"1399439137":["hashtag1","hashtag2"]},{"1399439017":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399439055, 1399438938, 1399438976, 1399439098, 1399439137, 1399439017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.287304401397705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 07:04:03.326941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/42/image_15122025_06_42_35_10633.jpg', '/home/pi/Desktop/images/15122025/06/42/image_15122025_06_42_44_9671.jpg', '/home/pi/Desktop/images/15122025/06/42/image_15122025_06_42_54_9960.jpg', '/home/pi/Desktop/images/15122025/06/42/image_15122025_06_43_04_9607.jpg', '/home/pi/Desktop/images/15122025/06/43/image_15122025_06_43_24_9622.jpg', '/home/pi/Desktop/images/15122025/06/43/image_15122025_06_43_34_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/42/image_15122025_06_42_35_10633.jpg
/home/pi/Desktop/images/15122025/06/42/image_15122025_06_42_44_9671.jpg
/home/pi/Desktop/images/15122025/06/42/image_15122025_06_42_54_9960.jpg
/home/pi/Desktop/images/15122025/06/42/image_15122025_06_43_04_9607.jpg
/home/pi/Desktop/images/15122025/06/43/image_15122025_06_43_24_9622.jpg
/home/pi/Desktop/images/15122025/06/43/image_15122025_06_43_34_9704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399439343","1399439345","1399439348","1399439269","1399439341","1399439305"],"photo_ids_order":["1399439269","1399439305","1399439341","1399439343","1399439345","1399439348"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f2ce371dfa6c028986249d655da53f5e.jpg","text":"TemporaryFile(/tmp/multipartBody7692672778156186583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778703996,"filename":"image_15122025_06_43_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/15/142865172ceb7687184c2fac182305a7.jpg","text":"TemporaryFile(/tmp/multipartBody8675233089053133392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778703996,"filename":"image_15122025_06_43_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/15/14e5a8a5edd7e0f5c9d113033345efce.jpg","text":"TemporaryFile(/tmp/multipartBody6254052174480509814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778703996,"filename":"image_15122025_06_43_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/15/a84fdbea08168a90e5774cbd4c04545e.jpg","text":"TemporaryFile(/tmp/multipartBody7933123324034865984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778703996,"filename":"image_15122025_06_42_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/15/27c7e0c9c7a0b6239be9c29fa4057849.jpg","text":"TemporaryFile(/tmp/multipartBody2020337151153454614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778703996,"filename":"image_15122025_06_42_54_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/15/1c0fd67a0cc62c18e6e9447148287c89.jpg","text":"TemporaryFile(/tmp/multipartBody4695190166870114543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778703996,"filename":"image_15122025_06_42_44_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399439341","file1":"1399439305","file0":"1399439269","file4":"1399439345","file5":"1399439348","file3":"1399439343"},"map_files_photo_id_array":[{"photo_id":"1399439348","filename":"file5"},{"photo_id":"1399439341","filename":"file2"},{"photo_id":"1399439345","filename":"file4"},{"photo_id":"1399439305","filename":"file1"},{"photo_id":"1399439269","filename":"file0"},{"photo_id":"1399439343","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399439343":["hashtag1","hashtag2"]},{"1399439345":["hashtag1","hashtag2"]},{"1399439348":["hashtag1","hashtag2"]},{"1399439269":["hashtag1","hashtag2"]},{"1399439341":["hashtag1","hashtag2"]},{"1399439305":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399439343, 1399439345, 1399439348, 1399439269, 1399439341, 1399439305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30737853050232 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 07:04:42.734842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/01/image_05112025_14_01_27_1592.jpg', '/home/pi/Desktop/images/05112025/14/01/image_05112025_14_01_29_1668.jpg', '/home/pi/Desktop/images/05112025/14/01/image_05112025_14_01_31_2563.jpg', '/home/pi/Desktop/images/05112025/14/01/image_05112025_14_01_34_2671.jpg', '/home/pi/Desktop/images/05112025/14/01/image_05112025_14_01_37_2585.jpg', '/home/pi/Desktop/images/05112025/14/01/image_05112025_14_01_40_3546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/01/image_05112025_14_01_27_1592.jpg
/home/pi/Desktop/images/05112025/14/01/image_05112025_14_01_29_1668.jpg
/home/pi/Desktop/images/05112025/14/01/image_05112025_14_01_31_2563.jpg
/home/pi/Desktop/images/05112025/14/01/image_05112025_14_01_34_2671.jpg
/home/pi/Desktop/images/05112025/14/01/image_05112025_14_01_37_2585.jpg
/home/pi/Desktop/images/05112025/14/01/image_05112025_14_01_40_3546.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399439355","1399439358","1399439378","1399439357","1399439369","1399439377"],"photo_ids_order":["1399439355","1399439357","1399439358","1399439369","1399439377","1399439378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7078c0dfc338002394c03b49caa93cf3.jpg","text":"TemporaryFile(/tmp/multipartBody2664122519631706508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778743444,"filename":"image_05112025_14_01_27_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/15/d3a8f43b69822a1d897485c37513cab5.jpg","text":"TemporaryFile(/tmp/multipartBody3903704357171015089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778743444,"filename":"image_05112025_14_01_31_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4acda30ff7f38f85fc05fd2d7f446253.jpg","text":"TemporaryFile(/tmp/multipartBody915271228674117232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778743444,"filename":"image_05112025_14_01_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/15/0eda97f4dc7f2fb203eeda35efd7b34f.jpg","text":"TemporaryFile(/tmp/multipartBody1240759265128628178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778743444,"filename":"image_05112025_14_01_29_1668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/32932782872e6d5cb64c59efc6f23880.jpg","text":"TemporaryFile(/tmp/multipartBody8962999761331512708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778743444,"filename":"image_05112025_14_01_34_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9ca28e0c1d67820862a58510569279e2.jpg","text":"TemporaryFile(/tmp/multipartBody5897567679341769880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778743444,"filename":"image_05112025_14_01_37_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399439358","file1":"1399439357","file0":"1399439355","file4":"1399439377","file5":"1399439378","file3":"1399439369"},"map_files_photo_id_array":[{"photo_id":"1399439378","filename":"file5"},{"photo_id":"1399439358","filename":"file2"},{"photo_id":"1399439377","filename":"file4"},{"photo_id":"1399439357","filename":"file1"},{"photo_id":"1399439355","filename":"file0"},{"photo_id":"1399439369","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399439355":["hashtag1","hashtag2"]},{"1399439358":["hashtag1","hashtag2"]},{"1399439378":["hashtag1","hashtag2"]},{"1399439357":["hashtag1","hashtag2"]},{"1399439369":["hashtag1","hashtag2"]},{"1399439377":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399439355, 1399439358, 1399439378, 1399439357, 1399439369, 1399439377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44228219985962 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 07:05:21.986055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/43/image_15122025_06_43_54_10637.jpg', '/home/pi/Desktop/images/15122025/06/43/image_15122025_06_44_04_9849.jpg', '/home/pi/Desktop/images/15122025/06/44/image_15122025_06_44_24_9804.jpg', '/home/pi/Desktop/images/15122025/06/44/image_15122025_06_44_35_10628.jpg', '/home/pi/Desktop/images/15122025/06/44/image_15122025_06_44_44_9626.jpg', '/home/pi/Desktop/images/15122025/06/44/image_15122025_06_44_54_9566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/43/image_15122025_06_43_54_10637.jpg
/home/pi/Desktop/images/15122025/06/43/image_15122025_06_44_04_9849.jpg
/home/pi/Desktop/images/15122025/06/44/image_15122025_06_44_24_9804.jpg
/home/pi/Desktop/images/15122025/06/44/image_15122025_06_44_35_10628.jpg
/home/pi/Desktop/images/15122025/06/44/image_15122025_06_44_44_9626.jpg
/home/pi/Desktop/images/15122025/06/44/image_15122025_06_44_54_9566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399439613","1399439495","1399439576","1399439651","1399439665","1399439536"],"photo_ids_order":["1399439495","1399439536","1399439576","1399439613","1399439651","1399439665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c9596ceb2a01293a5f8ef459ef78016b.jpg","text":"TemporaryFile(/tmp/multipartBody970501735939940827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778782598,"filename":"image_15122025_06_44_35_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/05545c710af0c2d87a1a45b421635614.jpg","text":"TemporaryFile(/tmp/multipartBody5047149063221011507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778782598,"filename":"image_15122025_06_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/15/d0cfe1d10dafbfc9ca1ce83165898da9.jpg","text":"TemporaryFile(/tmp/multipartBody6427065220247842496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778782598,"filename":"image_15122025_06_44_24_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/eb976c1fe00f8a52c8aff406c6a0f807.jpg","text":"TemporaryFile(/tmp/multipartBody6055073685140694788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778782598,"filename":"image_15122025_06_44_44_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/71533f0c3cb46e4131a6d2253d05c4a2.jpg","text":"TemporaryFile(/tmp/multipartBody7695594658183571451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778782598,"filename":"image_15122025_06_44_54_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/304e9f99641db2601542a96807bb0d3f.jpg","text":"TemporaryFile(/tmp/multipartBody8712397465038237963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778782598,"filename":"image_15122025_06_44_04_9849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399439576","file1":"1399439536","file0":"1399439495","file4":"1399439651","file5":"1399439665","file3":"1399439613"},"map_files_photo_id_array":[{"photo_id":"1399439665","filename":"file5"},{"photo_id":"1399439576","filename":"file2"},{"photo_id":"1399439651","filename":"file4"},{"photo_id":"1399439536","filename":"file1"},{"photo_id":"1399439495","filename":"file0"},{"photo_id":"1399439613","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399439613":["hashtag1","hashtag2"]},{"1399439495":["hashtag1","hashtag2"]},{"1399439576":["hashtag1","hashtag2"]},{"1399439651":["hashtag1","hashtag2"]},{"1399439665":["hashtag1","hashtag2"]},{"1399439536":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399439613, 1399439495, 1399439576, 1399439651, 1399439665, 1399439536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63261580467224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 07:06:02.825158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/44/image_15122025_06_45_04_10609.jpg', '/home/pi/Desktop/images/15122025/06/45/image_15122025_06_45_14_9574.jpg', '/home/pi/Desktop/images/15122025/06/45/image_15122025_06_45_24_9649.jpg', '/home/pi/Desktop/images/15122025/06/45/image_15122025_06_45_34_10638.jpg', '/home/pi/Desktop/images/15122025/06/45/image_15122025_06_45_44_9928.jpg', '/home/pi/Desktop/images/15122025/06/45/image_15122025_06_45_54_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/44/image_15122025_06_45_04_10609.jpg
/home/pi/Desktop/images/15122025/06/45/image_15122025_06_45_14_9574.jpg
/home/pi/Desktop/images/15122025/06/45/image_15122025_06_45_24_9649.jpg
/home/pi/Desktop/images/15122025/06/45/image_15122025_06_45_34_10638.jpg
/home/pi/Desktop/images/15122025/06/45/image_15122025_06_45_44_9928.jpg
/home/pi/Desktop/images/15122025/06/45/image_15122025_06_45_54_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":["1399439742","1399439744","1399439705","1399439770","1399439746","1399439800"],"photo_ids_order":["1399439705","1399439742","1399439744","1399439746","1399439770","1399439800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6b200b100a08234650dcdda329252bb0.jpg","text":"TemporaryFile(/tmp/multipartBody7002300154552246756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778823595,"filename":"image_15122025_06_45_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/15/df6e60960244d0b7c03dce9e97001834.jpg","text":"TemporaryFile(/tmp/multipartBody2012012812408640640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778823595,"filename":"image_15122025_06_45_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/15/848318577f16282a4e4f247508b71fac.jpg","text":"TemporaryFile(/tmp/multipartBody466478075712087891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778823595,"filename":"image_15122025_06_45_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/15/d12d20595a5d9308d44c60618186d7a6.jpg","text":"TemporaryFile(/tmp/multipartBody8507104053243715756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778823595,"filename":"image_15122025_06_45_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/15/34eda308585e1f3dbe9d2d8ecb331b83.jpg","text":"TemporaryFile(/tmp/multipartBody265903677004320009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778823595,"filename":"image_15122025_06_45_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/15/dfe6230a892577b5b669595064cf5a60.jpg","text":"TemporaryFile(/tmp/multipartBody4536244441518985752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778823595,"filename":"image_15122025_06_45_54_9599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399439744","file1":"1399439742","file0":"1399439705","file4":"1399439770","file5":"1399439800","file3":"1399439746"},"map_files_photo_id_array":[{"photo_id":"1399439800","filename":"file5"},{"photo_id":"1399439744","filename":"file2"},{"photo_id":"1399439770","filename":"file4"},{"photo_id":"1399439742","filename":"file1"},{"photo_id":"1399439705","filename":"file0"},{"photo_id":"1399439746","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399439742":["hashtag1","hashtag2"]},{"1399439744":["hashtag1","hashtag2"]},{"1399439705":["hashtag1","hashtag2"]},{"1399439770":["hashtag1","hashtag2"]},{"1399439746":["hashtag1","hashtag2"]},{"1399439800":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399439742, 1399439744, 1399439705, 1399439770, 1399439746, 1399439800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82843255996704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 07:06:42.276020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/01/image_05112025_14_01_43_2670.jpg', '/home/pi/Desktop/images/05112025/14/01/image_05112025_14_01_48_5583.jpg', '/home/pi/Desktop/images/05112025/14/01/image_05112025_14_01_55_6289.jpg', '/home/pi/Desktop/images/05112025/14/01/image_05112025_14_01_56_1515.jpg', '/home/pi/Desktop/images/05112025/14/01/image_05112025_14_01_58_1517.jpg', '/home/pi/Desktop/images/05112025/14/01/image_05112025_14_01_59_1623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/01/image_05112025_14_01_43_2670.jpg
/home/pi/Desktop/images/05112025/14/01/image_05112025_14_01_48_5583.jpg
/home/pi/Desktop/images/05112025/14/01/image_05112025_14_01_55_6289.jpg
/home/pi/Desktop/images/05112025/14/01/image_05112025_14_01_56_1515.jpg
/home/pi/Desktop/images/05112025/14/01/image_05112025_14_01_58_1517.jpg
/home/pi/Desktop/images/05112025/14/01/image_05112025_14_01_59_1623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399439823","1399439826","1399439825","1399439833","1399439827","1399439824"],"photo_ids_order":["1399439823","1399439824","1399439825","1399439826","1399439827","1399439833"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c0e25fe9c61e7a25cc31f8623c03451a.jpg","text":"TemporaryFile(/tmp/multipartBody2907802103975807720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778862975,"filename":"image_05112025_14_01_43_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/15/cd12f2b56c83f8d1b49602e2acb2f29d.jpg","text":"TemporaryFile(/tmp/multipartBody3857689388551052367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778862975,"filename":"image_05112025_14_01_56_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/15/c005e6bc4e6821618076f03a72c62c3c.jpg","text":"TemporaryFile(/tmp/multipartBody2560276298714192637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778862975,"filename":"image_05112025_14_01_55_6289.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/87bb10a71fbfd55eeecd27a188cb26ee.jpg","text":"TemporaryFile(/tmp/multipartBody6136843619103517609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778862975,"filename":"image_05112025_14_01_59_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/15/f0037648047f765f5484cde90b2b4850.jpg","text":"TemporaryFile(/tmp/multipartBody3311256670969821205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778862975,"filename":"image_05112025_14_01_58_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/15/09810fd44578af01f6e04b9b66b48aee.jpg","text":"TemporaryFile(/tmp/multipartBody1857807268564376214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778862975,"filename":"image_05112025_14_01_48_5583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399439825","file1":"1399439824","file0":"1399439823","file4":"1399439827","file5":"1399439833","file3":"1399439826"},"map_files_photo_id_array":[{"photo_id":"1399439833","filename":"file5"},{"photo_id":"1399439825","filename":"file2"},{"photo_id":"1399439827","filename":"file4"},{"photo_id":"1399439824","filename":"file1"},{"photo_id":"1399439823","filename":"file0"},{"photo_id":"1399439826","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399439823":["hashtag1","hashtag2"]},{"1399439826":["hashtag1","hashtag2"]},{"1399439825":["hashtag1","hashtag2"]},{"1399439833":["hashtag1","hashtag2"]},{"1399439827":["hashtag1","hashtag2"]},{"1399439824":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399439823, 1399439826, 1399439825, 1399439833, 1399439827, 1399439824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.327311754226685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 07:07:22.535537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/45/image_15122025_06_46_04_10596.jpg', '/home/pi/Desktop/images/15122025/06/46/image_15122025_06_46_14_9690.jpg', '/home/pi/Desktop/images/15122025/06/46/image_15122025_06_46_24_9808.jpg', '/home/pi/Desktop/images/15122025/06/46/image_15122025_06_46_34_9731.jpg', '/home/pi/Desktop/images/15122025/06/46/image_15122025_06_46_44_10640.jpg', '/home/pi/Desktop/images/15122025/06/46/image_15122025_06_46_55_10157.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/45/image_15122025_06_46_04_10596.jpg
/home/pi/Desktop/images/15122025/06/46/image_15122025_06_46_14_9690.jpg
/home/pi/Desktop/images/15122025/06/46/image_15122025_06_46_24_9808.jpg
/home/pi/Desktop/images/15122025/06/46/image_15122025_06_46_34_9731.jpg
/home/pi/Desktop/images/15122025/06/46/image_15122025_06_46_44_10640.jpg
/home/pi/Desktop/images/15122025/06/46/image_15122025_06_46_55_10157.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399439847","1399439855","1399439849","1399439851","1399439845","1399439853"],"photo_ids_order":["1399439845","1399439847","1399439849","1399439851","1399439853","1399439855"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/92a3f0019fda5aec90c897a0531af32d.jpg","text":"TemporaryFile(/tmp/multipartBody4090507559313551995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778903182,"filename":"image_15122025_06_46_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/15/e4003f03686cc99d84de2e726af4fc82.jpg","text":"TemporaryFile(/tmp/multipartBody1936470282897041135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778903182,"filename":"image_15122025_06_46_55_10157.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5307b4e501303b1cd6f01d0a15b83714.jpg","text":"TemporaryFile(/tmp/multipartBody1318570636460386632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778903182,"filename":"image_15122025_06_46_24_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/345d8297b06df5c03091ce94307f3a6f.jpg","text":"TemporaryFile(/tmp/multipartBody5693938727707099634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778903182,"filename":"image_15122025_06_46_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/15/18b083f154843c143293443f5b1ad0af.jpg","text":"TemporaryFile(/tmp/multipartBody3808562818867445017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778903182,"filename":"image_15122025_06_46_04_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f109e3ea195ec5940626aafaf76610fc.jpg","text":"TemporaryFile(/tmp/multipartBody1008575635008143396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778903182,"filename":"image_15122025_06_46_44_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399439849","file1":"1399439847","file0":"1399439845","file4":"1399439853","file5":"1399439855","file3":"1399439851"},"map_files_photo_id_array":[{"photo_id":"1399439855","filename":"file5"},{"photo_id":"1399439849","filename":"file2"},{"photo_id":"1399439853","filename":"file4"},{"photo_id":"1399439847","filename":"file1"},{"photo_id":"1399439845","filename":"file0"},{"photo_id":"1399439851","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399439847":["hashtag1","hashtag2"]},{"1399439855":["hashtag1","hashtag2"]},{"1399439849":["hashtag1","hashtag2"]},{"1399439851":["hashtag1","hashtag2"]},{"1399439845":["hashtag1","hashtag2"]},{"1399439853":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399439847, 1399439855, 1399439849, 1399439851, 1399439845, 1399439853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.178499698638916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 07:08:03.192696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/46/image_15122025_06_47_04_9805.jpg', '/home/pi/Desktop/images/15122025/06/47/image_15122025_06_47_14_9641.jpg', '/home/pi/Desktop/images/15122025/06/47/image_15122025_06_47_24_10017.jpg', '/home/pi/Desktop/images/15122025/06/47/image_15122025_06_47_35_10645.jpg', '/home/pi/Desktop/images/15122025/06/47/image_15122025_06_47_44_9775.jpg', '/home/pi/Desktop/images/15122025/06/47/image_15122025_06_47_54_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/46/image_15122025_06_47_04_9805.jpg
/home/pi/Desktop/images/15122025/06/47/image_15122025_06_47_14_9641.jpg
/home/pi/Desktop/images/15122025/06/47/image_15122025_06_47_24_10017.jpg
/home/pi/Desktop/images/15122025/06/47/image_15122025_06_47_35_10645.jpg
/home/pi/Desktop/images/15122025/06/47/image_15122025_06_47_44_9775.jpg
/home/pi/Desktop/images/15122025/06/47/image_15122025_06_47_54_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":["1399439873","1399439867","1399439876","1399439875","1399439878","1399439871"],"photo_ids_order":["1399439867","1399439871","1399439873","1399439875","1399439876","1399439878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/286b68378de76432f0fb5101aee61ef7.jpg","text":"TemporaryFile(/tmp/multipartBody4046740445721005397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778943832,"filename":"image_15122025_06_47_24_10017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/043c53675c1bb354ac8a7a5127e639a6.jpg","text":"TemporaryFile(/tmp/multipartBody3844653815440741513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778943832,"filename":"image_15122025_06_47_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/15/c6a49691ede808e4bf32a0fc06376395.jpg","text":"TemporaryFile(/tmp/multipartBody3994019340988365887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778943832,"filename":"image_15122025_06_47_44_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3337b8ba021cdee9882bd13853221996.jpg","text":"TemporaryFile(/tmp/multipartBody8037581831471114250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778943832,"filename":"image_15122025_06_47_35_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fd19e4ea9e938c1372c6b369702907a4.jpg","text":"TemporaryFile(/tmp/multipartBody8488234760725908254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778943832,"filename":"image_15122025_06_47_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/15/ca46ff52b5ede4f2bd95a571fb0f8c42.jpg","text":"TemporaryFile(/tmp/multipartBody6356730597715459575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778943832,"filename":"image_15122025_06_47_14_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399439873","file1":"1399439871","file0":"1399439867","file4":"1399439876","file5":"1399439878","file3":"1399439875"},"map_files_photo_id_array":[{"photo_id":"1399439878","filename":"file5"},{"photo_id":"1399439873","filename":"file2"},{"photo_id":"1399439876","filename":"file4"},{"photo_id":"1399439871","filename":"file1"},{"photo_id":"1399439867","filename":"file0"},{"photo_id":"1399439875","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399439873":["hashtag1","hashtag2"]},{"1399439867":["hashtag1","hashtag2"]},{"1399439876":["hashtag1","hashtag2"]},{"1399439875":["hashtag1","hashtag2"]},{"1399439878":["hashtag1","hashtag2"]},{"1399439871":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399439873, 1399439867, 1399439876, 1399439875, 1399439878, 1399439871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52652049064636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 07:08:42.744960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/02/image_05112025_14_02_07_7374.jpg', '/home/pi/Desktop/images/05112025/14/02/image_05112025_14_02_08_1662.jpg', '/home/pi/Desktop/images/05112025/14/02/image_05112025_14_02_43_34589.jpg', '/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_07_3011.jpg', '/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_11_3804.jpg', '/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_13_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/02/image_05112025_14_02_07_7374.jpg
/home/pi/Desktop/images/05112025/14/02/image_05112025_14_02_08_1662.jpg
/home/pi/Desktop/images/05112025/14/02/image_05112025_14_02_43_34589.jpg
/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_07_3011.jpg
/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_11_3804.jpg
/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_13_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":["1399439883","1399439888","1399439896","1399439890","1399439887","1399439889"],"photo_ids_order":["1399439883","1399439887","1399439888","1399439889","1399439890","1399439896"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0f3e8db8e7d967a46143fffc51f76154.jpg","text":"TemporaryFile(/tmp/multipartBody9056573511519402778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778983448,"filename":"image_05112025_14_02_07_7374.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5b0b350539513699f7427dbc9226af7f.jpg","text":"TemporaryFile(/tmp/multipartBody2824304508853432569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778983448,"filename":"image_05112025_14_02_43_34589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9f093031f73c0df32f950c1b94fe4307.jpg","text":"TemporaryFile(/tmp/multipartBody3454948444359994335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778983448,"filename":"image_05112025_14_04_13_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/edb3ecdfb2f6bbbd26c7ec6441abc8e8.jpg","text":"TemporaryFile(/tmp/multipartBody6289965094164309203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778983448,"filename":"image_05112025_14_04_11_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/15/215fd0c81d2e6f893134d6ac9b60b68e.jpg","text":"TemporaryFile(/tmp/multipartBody8181051158987914521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778983448,"filename":"image_05112025_14_02_08_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/15/06bf0d7c87c7b7b45d5a6073d9f89c02.jpg","text":"TemporaryFile(/tmp/multipartBody2240022716679524094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765778983448,"filename":"image_05112025_14_04_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399439888","file1":"1399439887","file0":"1399439883","file4":"1399439890","file5":"1399439896","file3":"1399439889"},"map_files_photo_id_array":[{"photo_id":"1399439896","filename":"file5"},{"photo_id":"1399439888","filename":"file2"},{"photo_id":"1399439890","filename":"file4"},{"photo_id":"1399439887","filename":"file1"},{"photo_id":"1399439883","filename":"file0"},{"photo_id":"1399439889","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399439883":["hashtag1","hashtag2"]},{"1399439888":["hashtag1","hashtag2"]},{"1399439896":["hashtag1","hashtag2"]},{"1399439890":["hashtag1","hashtag2"]},{"1399439887":["hashtag1","hashtag2"]},{"1399439889":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399439883, 1399439888, 1399439896, 1399439890, 1399439887, 1399439889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.504186391830444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 07:09:22.035702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/47/image_15122025_06_48_04_9784.jpg', '/home/pi/Desktop/images/15122025/06/48/image_15122025_06_48_15_10687.jpg', '/home/pi/Desktop/images/15122025/06/48/image_15122025_06_48_24_9667.jpg', '/home/pi/Desktop/images/15122025/06/48/image_15122025_06_48_34_9832.jpg', '/home/pi/Desktop/images/15122025/06/48/image_15122025_06_48_45_10544.jpg', '/home/pi/Desktop/images/15122025/06/48/image_15122025_06_49_04_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/47/image_15122025_06_48_04_9784.jpg
/home/pi/Desktop/images/15122025/06/48/image_15122025_06_48_15_10687.jpg
/home/pi/Desktop/images/15122025/06/48/image_15122025_06_48_24_9667.jpg
/home/pi/Desktop/images/15122025/06/48/image_15122025_06_48_34_9832.jpg
/home/pi/Desktop/images/15122025/06/48/image_15122025_06_48_45_10544.jpg
/home/pi/Desktop/images/15122025/06/48/image_15122025_06_49_04_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":["1399439910","1399439907","1399439901","1399439903","1399439899","1399439905"],"photo_ids_order":["1399439899","1399439901","1399439903","1399439905","1399439907","1399439910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4fcc5da7da8988961ccb2fa1be2be6d3.jpg","text":"TemporaryFile(/tmp/multipartBody4945461683451132871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779022661,"filename":"image_15122025_06_49_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/15/455798ca3aa78634f1c9def96d7ad124.jpg","text":"TemporaryFile(/tmp/multipartBody1171675014585137552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779022661,"filename":"image_15122025_06_48_45_10544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5aee1666f9a08f3cdf5639a7c20fd355.jpg","text":"TemporaryFile(/tmp/multipartBody8087631081784374999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779022661,"filename":"image_15122025_06_48_15_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/988d39556c088ce33133365089358ef6.jpg","text":"TemporaryFile(/tmp/multipartBody2952438160635613973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779022661,"filename":"image_15122025_06_48_24_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0dc344d106f5e92077e6837d3b9d9045.jpg","text":"TemporaryFile(/tmp/multipartBody8569958405075741246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779022661,"filename":"image_15122025_06_48_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/15/5b9402f89bafafdef86a56d11a9d3205.jpg","text":"TemporaryFile(/tmp/multipartBody9138027583011919036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779022661,"filename":"image_15122025_06_48_34_9832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399439903","file1":"1399439901","file0":"1399439899","file4":"1399439907","file5":"1399439910","file3":"1399439905"},"map_files_photo_id_array":[{"photo_id":"1399439910","filename":"file5"},{"photo_id":"1399439903","filename":"file2"},{"photo_id":"1399439907","filename":"file4"},{"photo_id":"1399439901","filename":"file1"},{"photo_id":"1399439899","filename":"file0"},{"photo_id":"1399439905","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399439910":["hashtag1","hashtag2"]},{"1399439907":["hashtag1","hashtag2"]},{"1399439901":["hashtag1","hashtag2"]},{"1399439903":["hashtag1","hashtag2"]},{"1399439899":["hashtag1","hashtag2"]},{"1399439905":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399439910, 1399439907, 1399439901, 1399439903, 1399439899, 1399439905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.253199338912964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 07:10:02.630211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/49/image_15122025_06_49_15_10664.jpg', '/home/pi/Desktop/images/15122025/06/49/image_15122025_06_49_24_9802.jpg', '/home/pi/Desktop/images/15122025/06/49/image_15122025_06_49_45_10564.jpg', '/home/pi/Desktop/images/15122025/06/49/image_15122025_06_49_54_9590.jpg', '/home/pi/Desktop/images/15122025/06/49/image_15122025_06_50_04_9756.jpg', '/home/pi/Desktop/images/15122025/06/50/image_15122025_06_50_14_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/49/image_15122025_06_49_15_10664.jpg
/home/pi/Desktop/images/15122025/06/49/image_15122025_06_49_24_9802.jpg
/home/pi/Desktop/images/15122025/06/49/image_15122025_06_49_45_10564.jpg
/home/pi/Desktop/images/15122025/06/49/image_15122025_06_49_54_9590.jpg
/home/pi/Desktop/images/15122025/06/49/image_15122025_06_50_04_9756.jpg
/home/pi/Desktop/images/15122025/06/50/image_15122025_06_50_14_9695.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.52498459815979 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 07:10:12.175567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 07:10:22.271679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/49/image_15122025_06_49_15_10664.jpg', '/home/pi/Desktop/images/15122025/06/49/image_15122025_06_49_24_9802.jpg', '/home/pi/Desktop/images/15122025/06/49/image_15122025_06_49_45_10564.jpg', '/home/pi/Desktop/images/15122025/06/49/image_15122025_06_49_54_9590.jpg', '/home/pi/Desktop/images/15122025/06/49/image_15122025_06_50_04_9756.jpg', '/home/pi/Desktop/images/15122025/06/50/image_15122025_06_50_14_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/49/image_15122025_06_49_15_10664.jpg
/home/pi/Desktop/images/15122025/06/49/image_15122025_06_49_24_9802.jpg
/home/pi/Desktop/images/15122025/06/49/image_15122025_06_49_45_10564.jpg
/home/pi/Desktop/images/15122025/06/49/image_15122025_06_49_54_9590.jpg
/home/pi/Desktop/images/15122025/06/49/image_15122025_06_50_04_9756.jpg
/home/pi/Desktop/images/15122025/06/50/image_15122025_06_50_14_9695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399439931","1399439951","1399439933","1399439944","1399439935","1399439929"],"photo_ids_order":["1399439929","1399439931","1399439933","1399439935","1399439944","1399439951"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7604f748eaf8e859306138bd9cc3b1e8.jpg","text":"TemporaryFile(/tmp/multipartBody4299759437424510593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779082882,"filename":"image_15122025_06_49_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/15/4a57c53566017e61b4da95f213f4ba84.jpg","text":"TemporaryFile(/tmp/multipartBody1154404260523963016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779082882,"filename":"image_15122025_06_50_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/15/db43b9d5a10c75a7a15c115280e91cb1.jpg","text":"TemporaryFile(/tmp/multipartBody7512738672072552009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779082882,"filename":"image_15122025_06_49_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/15/ee6b47e9847bbe1c376b842f38903835.jpg","text":"TemporaryFile(/tmp/multipartBody2131440948237507360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779082882,"filename":"image_15122025_06_50_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/15/e1bb1f7eda1d8dd00b310537f7fdc6ab.jpg","text":"TemporaryFile(/tmp/multipartBody6808605054424910625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779082882,"filename":"image_15122025_06_49_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/15/ba9f08d0f5a435f4ee0c5f859b33af2c.jpg","text":"TemporaryFile(/tmp/multipartBody5919379391247363086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779082882,"filename":"image_15122025_06_49_15_10664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399439933","file1":"1399439931","file0":"1399439929","file4":"1399439944","file5":"1399439951","file3":"1399439935"},"map_files_photo_id_array":[{"photo_id":"1399439951","filename":"file5"},{"photo_id":"1399439933","filename":"file2"},{"photo_id":"1399439944","filename":"file4"},{"photo_id":"1399439931","filename":"file1"},{"photo_id":"1399439929","filename":"file0"},{"photo_id":"1399439935","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399439931":["hashtag1","hashtag2"]},{"1399439951":["hashtag1","hashtag2"]},{"1399439933":["hashtag1","hashtag2"]},{"1399439944":["hashtag1","hashtag2"]},{"1399439935":["hashtag1","hashtag2"]},{"1399439929":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399439931, 1399439951, 1399439933, 1399439944, 1399439935, 1399439929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8604793548584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 07:11:03.103214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/50/image_15122025_06_50_24_10637.jpg', '/home/pi/Desktop/images/15122025/06/50/image_15122025_06_50_34_9713.jpg', '/home/pi/Desktop/images/15122025/06/50/image_15122025_06_50_45_10637.jpg', '/home/pi/Desktop/images/15122025/06/50/image_15122025_06_50_54_9566.jpg', '/home/pi/Desktop/images/15122025/06/50/image_15122025_06_51_04_9639.jpg', '/home/pi/Desktop/images/15122025/06/51/image_15122025_06_51_15_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/50/image_15122025_06_50_24_10637.jpg
/home/pi/Desktop/images/15122025/06/50/image_15122025_06_50_34_9713.jpg
/home/pi/Desktop/images/15122025/06/50/image_15122025_06_50_45_10637.jpg
/home/pi/Desktop/images/15122025/06/50/image_15122025_06_50_54_9566.jpg
/home/pi/Desktop/images/15122025/06/50/image_15122025_06_51_04_9639.jpg
/home/pi/Desktop/images/15122025/06/51/image_15122025_06_51_15_10645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399439964","1399439966","1399439954","1399439968","1399439962","1399439970"],"photo_ids_order":["1399439954","1399439962","1399439964","1399439966","1399439968","1399439970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b0076766d86b009124c13eb394de6f14.jpg","text":"TemporaryFile(/tmp/multipartBody155994433592750277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779123770,"filename":"image_15122025_06_50_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/15/6241cec502e4b2d5b56c6a16409c2eff.jpg","text":"TemporaryFile(/tmp/multipartBody2969816924508721469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779123770,"filename":"image_15122025_06_50_54_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2c56f2b41e9a65cbdc0498531eb20c06.jpg","text":"TemporaryFile(/tmp/multipartBody3546820508905122679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779123770,"filename":"image_15122025_06_50_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/15/43e629ae59c2d34643ae072f6ee5de3f.jpg","text":"TemporaryFile(/tmp/multipartBody8284537038333583288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779123770,"filename":"image_15122025_06_51_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/15/20f8b7c085bb347b3328dcd9d3259d0d.jpg","text":"TemporaryFile(/tmp/multipartBody5557705610881424645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779123770,"filename":"image_15122025_06_50_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/15/79b341b8065855da745cf32034b643da.jpg","text":"TemporaryFile(/tmp/multipartBody775530050371100858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779123770,"filename":"image_15122025_06_51_15_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399439964","file1":"1399439962","file0":"1399439954","file4":"1399439968","file5":"1399439970","file3":"1399439966"},"map_files_photo_id_array":[{"photo_id":"1399439970","filename":"file5"},{"photo_id":"1399439964","filename":"file2"},{"photo_id":"1399439968","filename":"file4"},{"photo_id":"1399439962","filename":"file1"},{"photo_id":"1399439954","filename":"file0"},{"photo_id":"1399439966","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399439964":["hashtag1","hashtag2"]},{"1399439966":["hashtag1","hashtag2"]},{"1399439954":["hashtag1","hashtag2"]},{"1399439968":["hashtag1","hashtag2"]},{"1399439962":["hashtag1","hashtag2"]},{"1399439970":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399439964, 1399439966, 1399439954, 1399439968, 1399439962, 1399439970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.774383544921875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 07:11:42.580011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_16_2717.jpg', '/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_19_3257.jpg', '/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_23_3194.jpg', '/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_25_2889.jpg', '/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_29_3236.jpg', '/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_32_2899.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_16_2717.jpg
/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_19_3257.jpg
/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_23_3194.jpg
/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_25_2889.jpg
/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_29_3236.jpg
/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_32_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":["1399439982","1399439976","1399439981","1399439984","1399439980","1399439983"],"photo_ids_order":["1399439976","1399439980","1399439981","1399439982","1399439983","1399439984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/42352e1c9249967526f896e14965d541.jpg","text":"TemporaryFile(/tmp/multipartBody9062082106990057621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779163286,"filename":"image_05112025_14_04_25_2889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/31f4dfdf69f4a6f13f9750c278a81fb9.jpg","text":"TemporaryFile(/tmp/multipartBody507352209146470454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779163286,"filename":"image_05112025_14_04_16_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/15/e5508300d9d97cdaffc6e8b7c4bbfea0.jpg","text":"TemporaryFile(/tmp/multipartBody5459182330408144133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779163286,"filename":"image_05112025_14_04_23_3194.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a8a5768483591e637e24c830d66f2056.jpg","text":"TemporaryFile(/tmp/multipartBody3468108482898717358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779163286,"filename":"image_05112025_14_04_32_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/15/d1c24ea2a2d5a73118ccdd7b9a774de2.jpg","text":"TemporaryFile(/tmp/multipartBody4736248345660560175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779163286,"filename":"image_05112025_14_04_19_3257.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/37e457faf5be0ec9aaaf4a325ecb5c56.jpg","text":"TemporaryFile(/tmp/multipartBody7373500430066431290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779163286,"filename":"image_05112025_14_04_29_3236.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399439981","file1":"1399439980","file0":"1399439976","file4":"1399439983","file5":"1399439984","file3":"1399439982"},"map_files_photo_id_array":[{"photo_id":"1399439984","filename":"file5"},{"photo_id":"1399439981","filename":"file2"},{"photo_id":"1399439983","filename":"file4"},{"photo_id":"1399439980","filename":"file1"},{"photo_id":"1399439976","filename":"file0"},{"photo_id":"1399439982","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399439982":["hashtag1","hashtag2"]},{"1399439976":["hashtag1","hashtag2"]},{"1399439981":["hashtag1","hashtag2"]},{"1399439984":["hashtag1","hashtag2"]},{"1399439980":["hashtag1","hashtag2"]},{"1399439983":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399439982, 1399439976, 1399439981, 1399439984, 1399439980, 1399439983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44778037071228 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 07:12:21.857144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/51/image_15122025_06_51_24_9675.jpg', '/home/pi/Desktop/images/15122025/06/51/image_15122025_06_51_45_10756.jpg', '/home/pi/Desktop/images/15122025/06/51/image_15122025_06_51_54_9611.jpg', '/home/pi/Desktop/images/15122025/06/52/image_15122025_06_52_15_10658.jpg', '/home/pi/Desktop/images/15122025/06/52/image_15122025_06_52_24_9731.jpg', '/home/pi/Desktop/images/15122025/06/52/image_15122025_06_52_34_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/51/image_15122025_06_51_24_9675.jpg
/home/pi/Desktop/images/15122025/06/51/image_15122025_06_51_45_10756.jpg
/home/pi/Desktop/images/15122025/06/51/image_15122025_06_51_54_9611.jpg
/home/pi/Desktop/images/15122025/06/52/image_15122025_06_52_15_10658.jpg
/home/pi/Desktop/images/15122025/06/52/image_15122025_06_52_24_9731.jpg
/home/pi/Desktop/images/15122025/06/52/image_15122025_06_52_34_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":["1399440001","1399439999","1399439989","1399439997","1399439991","1399439994"],"photo_ids_order":["1399439989","1399439991","1399439994","1399439997","1399439999","1399440001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e1ee1b36f86fbc9abecba7283b4fffad.jpg","text":"TemporaryFile(/tmp/multipartBody4931363949738535238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779202469,"filename":"image_15122025_06_52_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/15/ce479d347fc8e511376dd625dcc1f495.jpg","text":"TemporaryFile(/tmp/multipartBody2963324315288673802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779202469,"filename":"image_15122025_06_52_24_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2330ba8ef1da757c6db93b0d46e6a453.jpg","text":"TemporaryFile(/tmp/multipartBody5298291597707536672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779202469,"filename":"image_15122025_06_51_24_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/66e92d69402be67bd6a0ec5e91a87fff.jpg","text":"TemporaryFile(/tmp/multipartBody2681594139570081854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779202469,"filename":"image_15122025_06_52_15_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bf46c04b8fa327c569ab47bf0ba190c8.jpg","text":"TemporaryFile(/tmp/multipartBody7099055141898411890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779202469,"filename":"image_15122025_06_51_45_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/66c59b0c46f2db04f959115defffb2bd.jpg","text":"TemporaryFile(/tmp/multipartBody6149689055831785943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779202469,"filename":"image_15122025_06_51_54_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399439994","file1":"1399439991","file0":"1399439989","file4":"1399439999","file5":"1399440001","file3":"1399439997"},"map_files_photo_id_array":[{"photo_id":"1399440001","filename":"file5"},{"photo_id":"1399439994","filename":"file2"},{"photo_id":"1399439999","filename":"file4"},{"photo_id":"1399439991","filename":"file1"},{"photo_id":"1399439989","filename":"file0"},{"photo_id":"1399439997","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399440001":["hashtag1","hashtag2"]},{"1399439999":["hashtag1","hashtag2"]},{"1399439989":["hashtag1","hashtag2"]},{"1399439997":["hashtag1","hashtag2"]},{"1399439991":["hashtag1","hashtag2"]},{"1399439994":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399440001, 1399439999, 1399439989, 1399439997, 1399439991, 1399439994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.787569522857666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 07:13:02.788740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/52/image_15122025_06_52_45_10700.jpg', '/home/pi/Desktop/images/15122025/06/52/image_15122025_06_52_54_9721.jpg', '/home/pi/Desktop/images/15122025/06/52/image_15122025_06_53_04_9602.jpg', '/home/pi/Desktop/images/15122025/06/53/image_15122025_06_53_15_10613.jpg', '/home/pi/Desktop/images/15122025/06/53/image_15122025_06_53_24_9800.jpg', '/home/pi/Desktop/images/15122025/06/53/image_15122025_06_53_34_9545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/52/image_15122025_06_52_45_10700.jpg
/home/pi/Desktop/images/15122025/06/52/image_15122025_06_52_54_9721.jpg
/home/pi/Desktop/images/15122025/06/52/image_15122025_06_53_04_9602.jpg
/home/pi/Desktop/images/15122025/06/53/image_15122025_06_53_15_10613.jpg
/home/pi/Desktop/images/15122025/06/53/image_15122025_06_53_24_9800.jpg
/home/pi/Desktop/images/15122025/06/53/image_15122025_06_53_34_9545.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399440016","1399440010","1399440018","1399440012","1399440014","1399440008"],"photo_ids_order":["1399440008","1399440010","1399440012","1399440014","1399440016","1399440018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/14c4d1b470b75098b25fe91513baeacc.jpg","text":"TemporaryFile(/tmp/multipartBody328994201334716791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779243453,"filename":"image_15122025_06_53_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/15/3b6336e58ecc6541a6fec9276dfbaa55.jpg","text":"TemporaryFile(/tmp/multipartBody3585024515410748709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779243453,"filename":"image_15122025_06_52_54_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ad0a7af2d3557752807a39880f4bd210.jpg","text":"TemporaryFile(/tmp/multipartBody5546248582585784378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779243453,"filename":"image_15122025_06_53_34_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a005319517cadd5cc32c5fc4fc8928d7.jpg","text":"TemporaryFile(/tmp/multipartBody7430873520822294908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779243453,"filename":"image_15122025_06_53_04_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c8fee91c050060a55f9d89a6fc66c5c9.jpg","text":"TemporaryFile(/tmp/multipartBody5904566997994538002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779243453,"filename":"image_15122025_06_53_15_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dab2ffc43ced64f3c4b029926e5385cd.jpg","text":"TemporaryFile(/tmp/multipartBody8544129596857384263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779243453,"filename":"image_15122025_06_52_45_10700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440012","file1":"1399440010","file0":"1399440008","file4":"1399440016","file5":"1399440018","file3":"1399440014"},"map_files_photo_id_array":[{"photo_id":"1399440018","filename":"file5"},{"photo_id":"1399440012","filename":"file2"},{"photo_id":"1399440016","filename":"file4"},{"photo_id":"1399440010","filename":"file1"},{"photo_id":"1399440008","filename":"file0"},{"photo_id":"1399440014","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399440016":["hashtag1","hashtag2"]},{"1399440010":["hashtag1","hashtag2"]},{"1399440018":["hashtag1","hashtag2"]},{"1399440012":["hashtag1","hashtag2"]},{"1399440014":["hashtag1","hashtag2"]},{"1399440008":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399440016, 1399440010, 1399440018, 1399440012, 1399440014, 1399440008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.532105445861816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 07:13:42.127604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_35_3024.jpg', '/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_37_2590.jpg', '/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_41_3651.jpg', '/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_44_2845.jpg', '/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_46_2338.jpg', '/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_49_3275.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_35_3024.jpg
/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_37_2590.jpg
/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_41_3651.jpg
/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_44_2845.jpg
/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_46_2338.jpg
/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_49_3275.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399440039","1399440041","1399440029","1399440023","1399440026","1399440037"],"photo_ids_order":["1399440023","1399440026","1399440029","1399440037","1399440039","1399440041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5c3b9a2d6fa8508f4221b4d18572672a.jpg","text":"TemporaryFile(/tmp/multipartBody7245057847863285055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779282830,"filename":"image_05112025_14_04_46_2338.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e78d6be11e98de67e60b23c9d70ca99a.jpg","text":"TemporaryFile(/tmp/multipartBody4917300532530506300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779282830,"filename":"image_05112025_14_04_49_3275.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f75e126972a6c6675aa3ff09399ae069.jpg","text":"TemporaryFile(/tmp/multipartBody3635461723780243582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779282830,"filename":"image_05112025_14_04_41_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/15/20f612aa3ecf03d9f070c2fc7820b0e8.jpg","text":"TemporaryFile(/tmp/multipartBody669873034547748715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779282830,"filename":"image_05112025_14_04_35_3024.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/821abbd27d7c2b18011244cbdbf22906.jpg","text":"TemporaryFile(/tmp/multipartBody4270003255295060276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779282830,"filename":"image_05112025_14_04_37_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/15/4b1507896fa9cb3b4cdf632275d14e92.jpg","text":"TemporaryFile(/tmp/multipartBody1726998730323223593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779282830,"filename":"image_05112025_14_04_44_2845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440029","file1":"1399440026","file0":"1399440023","file4":"1399440039","file5":"1399440041","file3":"1399440037"},"map_files_photo_id_array":[{"photo_id":"1399440041","filename":"file5"},{"photo_id":"1399440029","filename":"file2"},{"photo_id":"1399440039","filename":"file4"},{"photo_id":"1399440026","filename":"file1"},{"photo_id":"1399440023","filename":"file0"},{"photo_id":"1399440037","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399440039":["hashtag1","hashtag2"]},{"1399440041":["hashtag1","hashtag2"]},{"1399440029":["hashtag1","hashtag2"]},{"1399440023":["hashtag1","hashtag2"]},{"1399440026":["hashtag1","hashtag2"]},{"1399440037":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399440039, 1399440041, 1399440029, 1399440023, 1399440026, 1399440037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.072964906692505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 07:14:32.370447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 07:14:42.347016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_53_3392.jpg', '/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_55_2498.jpg', '/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_58_2927.jpg', '/home/pi/Desktop/images/05112025/14/05/image_05112025_14_05_01_3159.jpg', '/home/pi/Desktop/images/05112025/14/05/image_05112025_14_05_13_11836.jpg', '/home/pi/Desktop/images/05112025/14/05/image_05112025_14_05_29_1569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_53_3392.jpg
/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_55_2498.jpg
/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_58_2927.jpg
/home/pi/Desktop/images/05112025/14/05/image_05112025_14_05_01_3159.jpg
/home/pi/Desktop/images/05112025/14/05/image_05112025_14_05_13_11836.jpg
/home/pi/Desktop/images/05112025/14/05/image_05112025_14_05_29_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.5925543308258057 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 07:15:03.222191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/53/image_15122025_06_53_45_10633.jpg', '/home/pi/Desktop/images/15122025/06/53/image_15122025_06_53_54_9841.jpg', '/home/pi/Desktop/images/15122025/06/53/image_15122025_06_54_04_9800.jpg', '/home/pi/Desktop/images/15122025/06/54/image_15122025_06_54_14_9672.jpg', '/home/pi/Desktop/images/15122025/06/54/image_15122025_06_54_24_10544.jpg', '/home/pi/Desktop/images/15122025/06/54/image_15122025_06_54_34_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/53/image_15122025_06_53_45_10633.jpg
/home/pi/Desktop/images/15122025/06/53/image_15122025_06_53_54_9841.jpg
/home/pi/Desktop/images/15122025/06/53/image_15122025_06_54_04_9800.jpg
/home/pi/Desktop/images/15122025/06/54/image_15122025_06_54_14_9672.jpg
/home/pi/Desktop/images/15122025/06/54/image_15122025_06_54_24_10544.jpg
/home/pi/Desktop/images/15122025/06/54/image_15122025_06_54_34_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":["1399440087","1399440081","1399440083","1399440077","1399440085","1399440079"],"photo_ids_order":["1399440077","1399440079","1399440081","1399440083","1399440085","1399440087"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a0155c0f8dba679a921a78b1fc218cad.jpg","text":"TemporaryFile(/tmp/multipartBody1951873547041639920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779363889,"filename":"image_15122025_06_54_34_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/afdbf9428e546b1f9c0b92dd7199ec67.jpg","text":"TemporaryFile(/tmp/multipartBody1891059495335053409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779363889,"filename":"image_15122025_06_54_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/15/f2b2b5bd77a8c8a9ccc4652783175b99.jpg","text":"TemporaryFile(/tmp/multipartBody6140912115468664635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779363889,"filename":"image_15122025_06_54_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/15/2c3979cb91526ff14a1a281a4c137b23.jpg","text":"TemporaryFile(/tmp/multipartBody8909549845429804981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779363889,"filename":"image_15122025_06_53_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/15/56fc0112351de585d16e376038cdb7c5.jpg","text":"TemporaryFile(/tmp/multipartBody6065171794666467853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779363889,"filename":"image_15122025_06_54_24_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/15/f62f4eecb09e0201e717de273003f171.jpg","text":"TemporaryFile(/tmp/multipartBody1674009090469649727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779363889,"filename":"image_15122025_06_53_54_9841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440081","file1":"1399440079","file0":"1399440077","file4":"1399440085","file5":"1399440087","file3":"1399440083"},"map_files_photo_id_array":[{"photo_id":"1399440087","filename":"file5"},{"photo_id":"1399440081","filename":"file2"},{"photo_id":"1399440085","filename":"file4"},{"photo_id":"1399440079","filename":"file1"},{"photo_id":"1399440077","filename":"file0"},{"photo_id":"1399440083","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399440087":["hashtag1","hashtag2"]},{"1399440081":["hashtag1","hashtag2"]},{"1399440083":["hashtag1","hashtag2"]},{"1399440077":["hashtag1","hashtag2"]},{"1399440085":["hashtag1","hashtag2"]},{"1399440079":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399440087, 1399440081, 1399440083, 1399440077, 1399440085, 1399440079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64165782928467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 07:15:42.572538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_53_3392.jpg', '/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_55_2498.jpg', '/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_58_2927.jpg', '/home/pi/Desktop/images/05112025/14/05/image_05112025_14_05_01_3159.jpg', '/home/pi/Desktop/images/05112025/14/05/image_05112025_14_05_13_11836.jpg', '/home/pi/Desktop/images/05112025/14/05/image_05112025_14_05_29_1569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_53_3392.jpg
/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_55_2498.jpg
/home/pi/Desktop/images/05112025/14/04/image_05112025_14_04_58_2927.jpg
/home/pi/Desktop/images/05112025/14/05/image_05112025_14_05_01_3159.jpg
/home/pi/Desktop/images/05112025/14/05/image_05112025_14_05_13_11836.jpg
/home/pi/Desktop/images/05112025/14/05/image_05112025_14_05_29_1569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399440100","1399440096","1399440098","1399440092","1399440094","1399440097"],"photo_ids_order":["1399440092","1399440094","1399440096","1399440097","1399440098","1399440100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9ba51e1a562966121455f2be730ea620.jpg","text":"TemporaryFile(/tmp/multipartBody3174975795083949696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779403155,"filename":"image_05112025_14_05_29_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/15/8f085f537eda848a6efc9717516c90da.jpg","text":"TemporaryFile(/tmp/multipartBody5263956655476053047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779403155,"filename":"image_05112025_14_04_58_2927.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8e4633aa93c063fa4d4d52847ee64b15.jpg","text":"TemporaryFile(/tmp/multipartBody1780675141035385306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779403155,"filename":"image_05112025_14_05_13_11836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e68b19a580cd7071dac2fa8de6d42803.jpg","text":"TemporaryFile(/tmp/multipartBody2806031668596281621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779403155,"filename":"image_05112025_14_04_53_3392.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9deb9de674aacaaeffb185edd66a5a59.jpg","text":"TemporaryFile(/tmp/multipartBody2648996318774835377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779403155,"filename":"image_05112025_14_04_55_2498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/80770a0b184b35a5d26e36d7edfa8cf5.jpg","text":"TemporaryFile(/tmp/multipartBody4419971455806509982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779403155,"filename":"image_05112025_14_05_01_3159.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440096","file1":"1399440094","file0":"1399440092","file4":"1399440098","file5":"1399440100","file3":"1399440097"},"map_files_photo_id_array":[{"photo_id":"1399440100","filename":"file5"},{"photo_id":"1399440096","filename":"file2"},{"photo_id":"1399440098","filename":"file4"},{"photo_id":"1399440094","filename":"file1"},{"photo_id":"1399440092","filename":"file0"},{"photo_id":"1399440097","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399440100":["hashtag1","hashtag2"]},{"1399440096":["hashtag1","hashtag2"]},{"1399440098":["hashtag1","hashtag2"]},{"1399440092":["hashtag1","hashtag2"]},{"1399440094":["hashtag1","hashtag2"]},{"1399440097":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399440100, 1399440096, 1399440098, 1399440092, 1399440094, 1399440097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63030695915222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 07:16:21.854505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/54/image_15122025_06_54_44_9646.jpg', '/home/pi/Desktop/images/15122025/06/54/image_15122025_06_54_55_10806.jpg', '/home/pi/Desktop/images/15122025/06/54/image_15122025_06_55_04_9844.jpg', '/home/pi/Desktop/images/15122025/06/55/image_15122025_06_55_14_9587.jpg', '/home/pi/Desktop/images/15122025/06/55/image_15122025_06_55_25_10575.jpg', '/home/pi/Desktop/images/15122025/06/55/image_15122025_06_55_34_9765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/54/image_15122025_06_54_44_9646.jpg
/home/pi/Desktop/images/15122025/06/54/image_15122025_06_54_55_10806.jpg
/home/pi/Desktop/images/15122025/06/54/image_15122025_06_55_04_9844.jpg
/home/pi/Desktop/images/15122025/06/55/image_15122025_06_55_14_9587.jpg
/home/pi/Desktop/images/15122025/06/55/image_15122025_06_55_25_10575.jpg
/home/pi/Desktop/images/15122025/06/55/image_15122025_06_55_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":["1399440106","1399440115","1399440109","1399440120","1399440117","1399440113"],"photo_ids_order":["1399440106","1399440109","1399440113","1399440115","1399440117","1399440120"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9e34f87f2478a0312e713947312897ff.jpg","text":"TemporaryFile(/tmp/multipartBody3309147822850231866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779442471,"filename":"image_15122025_06_54_44_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d864f4c0559d8d15520b347405159c42.jpg","text":"TemporaryFile(/tmp/multipartBody6582112698321864899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779442471,"filename":"image_15122025_06_55_14_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fbaa45974624e5d8e3340374a0cb6a9d.jpg","text":"TemporaryFile(/tmp/multipartBody6894689011325796467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779442471,"filename":"image_15122025_06_54_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/15/2adf9bc8c047ca1298368475630957ff.jpg","text":"TemporaryFile(/tmp/multipartBody7362030358853969085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779442471,"filename":"image_15122025_06_55_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/15/0c95f8825db2057cc0c360e391ad47b3.jpg","text":"TemporaryFile(/tmp/multipartBody8105364497997681758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779442471,"filename":"image_15122025_06_55_25_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/15/4168240dab9c8834d940f54c9cde34bc.jpg","text":"TemporaryFile(/tmp/multipartBody4382524960078463577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779442471,"filename":"image_15122025_06_55_04_9844.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440113","file1":"1399440109","file0":"1399440106","file4":"1399440117","file5":"1399440120","file3":"1399440115"},"map_files_photo_id_array":[{"photo_id":"1399440120","filename":"file5"},{"photo_id":"1399440113","filename":"file2"},{"photo_id":"1399440117","filename":"file4"},{"photo_id":"1399440109","filename":"file1"},{"photo_id":"1399440106","filename":"file0"},{"photo_id":"1399440115","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399440106":["hashtag1","hashtag2"]},{"1399440115":["hashtag1","hashtag2"]},{"1399440109":["hashtag1","hashtag2"]},{"1399440120":["hashtag1","hashtag2"]},{"1399440117":["hashtag1","hashtag2"]},{"1399440113":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399440106, 1399440115, 1399440109, 1399440120, 1399440117, 1399440113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34357523918152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 07:17:02.726688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/55/image_15122025_06_55_44_9606.jpg', '/home/pi/Desktop/images/15122025/06/55/image_15122025_06_55_55_10691.jpg', '/home/pi/Desktop/images/15122025/06/55/image_15122025_06_56_05_9914.jpg', '/home/pi/Desktop/images/15122025/06/56/image_15122025_06_56_14_9757.jpg', '/home/pi/Desktop/images/15122025/06/56/image_15122025_06_56_24_9731.jpg', '/home/pi/Desktop/images/15122025/06/56/image_15122025_06_56_34_10212.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/55/image_15122025_06_55_44_9606.jpg
/home/pi/Desktop/images/15122025/06/55/image_15122025_06_55_55_10691.jpg
/home/pi/Desktop/images/15122025/06/55/image_15122025_06_56_05_9914.jpg
/home/pi/Desktop/images/15122025/06/56/image_15122025_06_56_14_9757.jpg
/home/pi/Desktop/images/15122025/06/56/image_15122025_06_56_24_9731.jpg
/home/pi/Desktop/images/15122025/06/56/image_15122025_06_56_34_10212.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399440133","1399440123","1399440126","1399440128","1399440122","1399440130"],"photo_ids_order":["1399440122","1399440123","1399440126","1399440128","1399440130","1399440133"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/42e9e08e13ec32fc5629d9602a638142.jpg","text":"TemporaryFile(/tmp/multipartBody2206620247715895012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779483448,"filename":"image_15122025_06_56_34_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/15/dfa2d7475e5ede20713abf9bfdcceb76.jpg","text":"TemporaryFile(/tmp/multipartBody6470495231351743807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779483448,"filename":"image_15122025_06_55_55_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b3a4df28a7fc5cdcb970c9930e761739.jpg","text":"TemporaryFile(/tmp/multipartBody1670267093082361910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779483448,"filename":"image_15122025_06_56_05_9914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0fbea5230edd01e8197b006cf0fbfd97.jpg","text":"TemporaryFile(/tmp/multipartBody2866640424767176027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779483448,"filename":"image_15122025_06_56_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/15/063c72a26b6e540fcfdef8931d95f1e0.jpg","text":"TemporaryFile(/tmp/multipartBody883844296163826583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779483448,"filename":"image_15122025_06_55_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/15/5913e1f0904b473e875788a3b3dce6a6.jpg","text":"TemporaryFile(/tmp/multipartBody886265636595080664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779483448,"filename":"image_15122025_06_56_24_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440126","file1":"1399440123","file0":"1399440122","file4":"1399440130","file5":"1399440133","file3":"1399440128"},"map_files_photo_id_array":[{"photo_id":"1399440133","filename":"file5"},{"photo_id":"1399440126","filename":"file2"},{"photo_id":"1399440130","filename":"file4"},{"photo_id":"1399440123","filename":"file1"},{"photo_id":"1399440122","filename":"file0"},{"photo_id":"1399440128","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399440133":["hashtag1","hashtag2"]},{"1399440123":["hashtag1","hashtag2"]},{"1399440126":["hashtag1","hashtag2"]},{"1399440128":["hashtag1","hashtag2"]},{"1399440122":["hashtag1","hashtag2"]},{"1399440130":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399440133, 1399440123, 1399440126, 1399440128, 1399440122, 1399440130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31944704055786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 07:17:42.051560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/05/image_05112025_14_05_57_27686.jpg', '/home/pi/Desktop/images/05112025/14/05/image_05112025_14_05_59_1770.jpg', '/home/pi/Desktop/images/05112025/14/06/image_05112025_14_06_01_2013.jpg', '/home/pi/Desktop/images/05112025/14/06/image_05112025_14_06_03_2085.jpg', '/home/pi/Desktop/images/05112025/14/06/image_05112025_14_06_05_1546.jpg', '/home/pi/Desktop/images/05112025/14/06/image_05112025_14_06_10_5181.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/05/image_05112025_14_05_57_27686.jpg
/home/pi/Desktop/images/05112025/14/05/image_05112025_14_05_59_1770.jpg
/home/pi/Desktop/images/05112025/14/06/image_05112025_14_06_01_2013.jpg
/home/pi/Desktop/images/05112025/14/06/image_05112025_14_06_03_2085.jpg
/home/pi/Desktop/images/05112025/14/06/image_05112025_14_06_05_1546.jpg
/home/pi/Desktop/images/05112025/14/06/image_05112025_14_06_10_5181.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399440148","1399440147","1399440146","1399440143","1399440145","1399440139"],"photo_ids_order":["1399440139","1399440143","1399440145","1399440146","1399440147","1399440148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0e63cf28ba909da20e8f15d77d144e32.jpg","text":"TemporaryFile(/tmp/multipartBody6086143047834218401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779522769,"filename":"image_05112025_14_06_10_5181.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/46de4ef465b9e1fbb48c5d30300c34c0.jpg","text":"TemporaryFile(/tmp/multipartBody8113089445234039957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779522769,"filename":"image_05112025_14_06_05_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/15/25272677bcdaa30004bf757a52971241.jpg","text":"TemporaryFile(/tmp/multipartBody3417155212423209579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779522769,"filename":"image_05112025_14_06_03_2085.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4a935a6388efe675b1f8e341a906a667.jpg","text":"TemporaryFile(/tmp/multipartBody8274175171568387736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779522769,"filename":"image_05112025_14_05_59_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/15/76f7bf48dcbe53a167fe072369d0ae5b.jpg","text":"TemporaryFile(/tmp/multipartBody4940258795124236164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779522769,"filename":"image_05112025_14_06_01_2013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ede43fb7fbc75f54ab7cada2344083d2.jpg","text":"TemporaryFile(/tmp/multipartBody1228731161008035775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779522769,"filename":"image_05112025_14_05_57_27686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440145","file1":"1399440143","file0":"1399440139","file4":"1399440147","file5":"1399440148","file3":"1399440146"},"map_files_photo_id_array":[{"photo_id":"1399440148","filename":"file5"},{"photo_id":"1399440145","filename":"file2"},{"photo_id":"1399440147","filename":"file4"},{"photo_id":"1399440143","filename":"file1"},{"photo_id":"1399440139","filename":"file0"},{"photo_id":"1399440146","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399440148":["hashtag1","hashtag2"]},{"1399440147":["hashtag1","hashtag2"]},{"1399440146":["hashtag1","hashtag2"]},{"1399440143":["hashtag1","hashtag2"]},{"1399440145":["hashtag1","hashtag2"]},{"1399440139":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399440148, 1399440147, 1399440146, 1399440143, 1399440145, 1399440139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32361435890198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 07:18:22.283695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/56/image_15122025_06_56_44_9990.jpg', '/home/pi/Desktop/images/15122025/06/56/image_15122025_06_56_54_9757.jpg', '/home/pi/Desktop/images/15122025/06/56/image_15122025_06_57_05_10629.jpg', '/home/pi/Desktop/images/15122025/06/57/image_15122025_06_57_34_9736.jpg', '/home/pi/Desktop/images/15122025/06/57/image_15122025_06_57_45_10705.jpg', '/home/pi/Desktop/images/15122025/06/57/image_15122025_06_57_54_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/56/image_15122025_06_56_44_9990.jpg
/home/pi/Desktop/images/15122025/06/56/image_15122025_06_56_54_9757.jpg
/home/pi/Desktop/images/15122025/06/56/image_15122025_06_57_05_10629.jpg
/home/pi/Desktop/images/15122025/06/57/image_15122025_06_57_34_9736.jpg
/home/pi/Desktop/images/15122025/06/57/image_15122025_06_57_45_10705.jpg
/home/pi/Desktop/images/15122025/06/57/image_15122025_06_57_54_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":["1399440156","1399440164","1399440158","1399440169","1399440154","1399440166"],"photo_ids_order":["1399440154","1399440156","1399440158","1399440164","1399440166","1399440169"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0b7e128d39c29c831d076ba56e8d8966.jpg","text":"TemporaryFile(/tmp/multipartBody8182460076220628591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779562931,"filename":"image_15122025_06_56_54_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6f05fa9ace53ba7867dc60d338504d10.jpg","text":"TemporaryFile(/tmp/multipartBody8278158958521570537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779562931,"filename":"image_15122025_06_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/15/d6b2896447338c594db361db75dd58db.jpg","text":"TemporaryFile(/tmp/multipartBody8140928601008888310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779562931,"filename":"image_15122025_06_57_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/15/b19a73b200769112fec48507c52a4e73.jpg","text":"TemporaryFile(/tmp/multipartBody2648614064607007551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779562931,"filename":"image_15122025_06_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/15/b210b050a45c3f3227e408403a8c454d.jpg","text":"TemporaryFile(/tmp/multipartBody1973102312745778369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779562931,"filename":"image_15122025_06_56_44_9990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d42b70979fa041ae085f787b89c3382a.jpg","text":"TemporaryFile(/tmp/multipartBody3771818898697283425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779562931,"filename":"image_15122025_06_57_45_10705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440158","file1":"1399440156","file0":"1399440154","file4":"1399440166","file5":"1399440169","file3":"1399440164"},"map_files_photo_id_array":[{"photo_id":"1399440169","filename":"file5"},{"photo_id":"1399440158","filename":"file2"},{"photo_id":"1399440166","filename":"file4"},{"photo_id":"1399440156","filename":"file1"},{"photo_id":"1399440154","filename":"file0"},{"photo_id":"1399440164","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399440156":["hashtag1","hashtag2"]},{"1399440164":["hashtag1","hashtag2"]},{"1399440158":["hashtag1","hashtag2"]},{"1399440169":["hashtag1","hashtag2"]},{"1399440154":["hashtag1","hashtag2"]},{"1399440166":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399440156, 1399440164, 1399440158, 1399440169, 1399440154, 1399440166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.285212993621826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 07:19:03.500953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/57/image_15122025_06_58_05_10279.jpg', '/home/pi/Desktop/images/15122025/06/58/image_15122025_06_58_14_9702.jpg', '/home/pi/Desktop/images/15122025/06/58/image_15122025_06_58_24_9626.jpg', '/home/pi/Desktop/images/15122025/06/58/image_15122025_06_58_34_10547.jpg', '/home/pi/Desktop/images/15122025/06/58/image_15122025_06_58_44_9755.jpg', '/home/pi/Desktop/images/15122025/06/58/image_15122025_06_58_54_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/57/image_15122025_06_58_05_10279.jpg
/home/pi/Desktop/images/15122025/06/58/image_15122025_06_58_14_9702.jpg
/home/pi/Desktop/images/15122025/06/58/image_15122025_06_58_24_9626.jpg
/home/pi/Desktop/images/15122025/06/58/image_15122025_06_58_34_10547.jpg
/home/pi/Desktop/images/15122025/06/58/image_15122025_06_58_44_9755.jpg
/home/pi/Desktop/images/15122025/06/58/image_15122025_06_58_54_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":["1399440183","1399440192","1399440188","1399440185","1399440181","1399440178"],"photo_ids_order":["1399440178","1399440181","1399440183","1399440185","1399440188","1399440192"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1503887144345b1eeebfac09af76f48b.jpg","text":"TemporaryFile(/tmp/multipartBody1539939888526700327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779604237,"filename":"image_15122025_06_58_24_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3e7b525902c2d2591ae1b3c150aca521.jpg","text":"TemporaryFile(/tmp/multipartBody5407039057455377272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779604237,"filename":"image_15122025_06_58_54_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/80aa5f890400bc1705a801f70a22ff95.jpg","text":"TemporaryFile(/tmp/multipartBody7486510402260707238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779604237,"filename":"image_15122025_06_58_44_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/487c32d9ad2f915f41bcfa03334d29b4.jpg","text":"TemporaryFile(/tmp/multipartBody5350029476579451254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779604237,"filename":"image_15122025_06_58_34_10547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bae6bf19084c9de4a5fc0e4153ef91e2.jpg","text":"TemporaryFile(/tmp/multipartBody183480396227195745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779604237,"filename":"image_15122025_06_58_14_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8fdba37caa62ccb7a4bc21c6bde439cd.jpg","text":"TemporaryFile(/tmp/multipartBody4021537072332863737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779604237,"filename":"image_15122025_06_58_05_10279.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440183","file1":"1399440181","file0":"1399440178","file4":"1399440188","file5":"1399440192","file3":"1399440185"},"map_files_photo_id_array":[{"photo_id":"1399440192","filename":"file5"},{"photo_id":"1399440183","filename":"file2"},{"photo_id":"1399440188","filename":"file4"},{"photo_id":"1399440181","filename":"file1"},{"photo_id":"1399440178","filename":"file0"},{"photo_id":"1399440185","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399440183":["hashtag1","hashtag2"]},{"1399440192":["hashtag1","hashtag2"]},{"1399440188":["hashtag1","hashtag2"]},{"1399440185":["hashtag1","hashtag2"]},{"1399440181":["hashtag1","hashtag2"]},{"1399440178":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399440183, 1399440192, 1399440188, 1399440185, 1399440181, 1399440178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35606813430786 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-15 07:20:03.330432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/58/image_15122025_06_59_05_10818.jpg', '/home/pi/Desktop/images/15122025/06/59/image_15122025_06_59_14_9719.jpg', '/home/pi/Desktop/images/15122025/06/59/image_15122025_06_59_24_9636.jpg', '/home/pi/Desktop/images/15122025/06/59/image_15122025_06_59_35_10704.jpg', '/home/pi/Desktop/images/15122025/06/59/image_15122025_06_59_44_9761.jpg', '/home/pi/Desktop/images/15122025/06/59/image_15122025_06_59_54_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/58/image_15122025_06_59_05_10818.jpg
/home/pi/Desktop/images/15122025/06/59/image_15122025_06_59_14_9719.jpg
/home/pi/Desktop/images/15122025/06/59/image_15122025_06_59_24_9636.jpg
/home/pi/Desktop/images/15122025/06/59/image_15122025_06_59_35_10704.jpg
/home/pi/Desktop/images/15122025/06/59/image_15122025_06_59_44_9761.jpg
/home/pi/Desktop/images/15122025/06/59/image_15122025_06_59_54_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":["1399440208","1399440202","1399440210","1399440204","1399440200","1399440206"],"photo_ids_order":["1399440200","1399440202","1399440204","1399440206","1399440208","1399440210"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7952643f5229d80153c235e694a9cddb.jpg","text":"TemporaryFile(/tmp/multipartBody8632428289999857004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779663985,"filename":"image_15122025_06_59_44_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c0a0dcedf53e8afbe950776a99ef7f4b.jpg","text":"TemporaryFile(/tmp/multipartBody4275322847884735083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779663985,"filename":"image_15122025_06_59_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/15/55bbb68a0fc8663d32d53cf8ef673d4c.jpg","text":"TemporaryFile(/tmp/multipartBody7481984479783220462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779663985,"filename":"image_15122025_06_59_54_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/16ce388608dc2aaaec4564efe1b6065e.jpg","text":"TemporaryFile(/tmp/multipartBody3067327524612465008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779663985,"filename":"image_15122025_06_59_24_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/62b291b1d48abad539abd6104ddd10ba.jpg","text":"TemporaryFile(/tmp/multipartBody1385658807319259046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779663985,"filename":"image_15122025_06_59_05_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/15/349cea5f315b8c953fd1e793117bdcbc.jpg","text":"TemporaryFile(/tmp/multipartBody7820588607659633440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779663985,"filename":"image_15122025_06_59_35_10704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440204","file1":"1399440202","file0":"1399440200","file4":"1399440208","file5":"1399440210","file3":"1399440206"},"map_files_photo_id_array":[{"photo_id":"1399440210","filename":"file5"},{"photo_id":"1399440204","filename":"file2"},{"photo_id":"1399440208","filename":"file4"},{"photo_id":"1399440202","filename":"file1"},{"photo_id":"1399440200","filename":"file0"},{"photo_id":"1399440206","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399440208":["hashtag1","hashtag2"]},{"1399440202":["hashtag1","hashtag2"]},{"1399440210":["hashtag1","hashtag2"]},{"1399440204":["hashtag1","hashtag2"]},{"1399440200":["hashtag1","hashtag2"]},{"1399440206":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399440208, 1399440202, 1399440210, 1399440204, 1399440200, 1399440206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10272407531738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 07:20:42.738067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/06/image_05112025_14_06_12_2184.jpg', '/home/pi/Desktop/images/05112025/14/06/image_05112025_14_06_14_2449.jpg', '/home/pi/Desktop/images/05112025/14/06/image_05112025_14_06_16_1674.jpg', '/home/pi/Desktop/images/05112025/14/06/image_05112025_14_06_18_1783.jpg', '/home/pi/Desktop/images/05112025/14/06/image_05112025_14_06_19_1516.jpg', '/home/pi/Desktop/images/05112025/14/06/image_05112025_14_06_22_2426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/06/image_05112025_14_06_12_2184.jpg
/home/pi/Desktop/images/05112025/14/06/image_05112025_14_06_14_2449.jpg
/home/pi/Desktop/images/05112025/14/06/image_05112025_14_06_16_1674.jpg
/home/pi/Desktop/images/05112025/14/06/image_05112025_14_06_18_1783.jpg
/home/pi/Desktop/images/05112025/14/06/image_05112025_14_06_19_1516.jpg
/home/pi/Desktop/images/05112025/14/06/image_05112025_14_06_22_2426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399440225","1399440221","1399440215","1399440224","1399440218","1399440217"],"photo_ids_order":["1399440215","1399440217","1399440218","1399440221","1399440224","1399440225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1f51679e8b64157a9e75a69702709996.jpg","text":"TemporaryFile(/tmp/multipartBody3342553320294120503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779703442,"filename":"image_05112025_14_06_22_2426.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1d3a58da81ca828e1dc5738ad86234be.jpg","text":"TemporaryFile(/tmp/multipartBody7088660279923737038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779703442,"filename":"image_05112025_14_06_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/15/efca95801802ede34b73254e58c886c4.jpg","text":"TemporaryFile(/tmp/multipartBody7508802809026170105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779703442,"filename":"image_05112025_14_06_12_2184.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0923079f42421703bba1d98e3267eec5.jpg","text":"TemporaryFile(/tmp/multipartBody354863910940882266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779703442,"filename":"image_05112025_14_06_19_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/15/a1cc0c20f98ec3b73a4bb74c60da8070.jpg","text":"TemporaryFile(/tmp/multipartBody7453214725426147917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779703442,"filename":"image_05112025_14_06_16_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/15/43e0f7f51d388e17797363fd0ad9716a.jpg","text":"TemporaryFile(/tmp/multipartBody3459828673347433332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779703442,"filename":"image_05112025_14_06_14_2449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440218","file1":"1399440217","file0":"1399440215","file4":"1399440224","file5":"1399440225","file3":"1399440221"},"map_files_photo_id_array":[{"photo_id":"1399440225","filename":"file5"},{"photo_id":"1399440218","filename":"file2"},{"photo_id":"1399440224","filename":"file4"},{"photo_id":"1399440217","filename":"file1"},{"photo_id":"1399440215","filename":"file0"},{"photo_id":"1399440221","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399440225":["hashtag1","hashtag2"]},{"1399440221":["hashtag1","hashtag2"]},{"1399440215":["hashtag1","hashtag2"]},{"1399440224":["hashtag1","hashtag2"]},{"1399440218":["hashtag1","hashtag2"]},{"1399440217":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399440225, 1399440221, 1399440215, 1399440224, 1399440218, 1399440217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.624600410461426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 07:21:21.949946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/59/image_15122025_07_00_04_9648.jpg', '/home/pi/Desktop/images/15122025/07/00/image_15122025_07_00_14_10268.jpg', '/home/pi/Desktop/images/15122025/07/00/image_15122025_07_00_24_9769.jpg', '/home/pi/Desktop/images/15122025/07/00/image_15122025_07_00_34_10580.jpg', '/home/pi/Desktop/images/15122025/07/00/image_15122025_07_00_44_9961.jpg', '/home/pi/Desktop/images/15122025/07/00/image_15122025_07_00_54_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/59/image_15122025_07_00_04_9648.jpg
/home/pi/Desktop/images/15122025/07/00/image_15122025_07_00_14_10268.jpg
/home/pi/Desktop/images/15122025/07/00/image_15122025_07_00_24_9769.jpg
/home/pi/Desktop/images/15122025/07/00/image_15122025_07_00_34_10580.jpg
/home/pi/Desktop/images/15122025/07/00/image_15122025_07_00_44_9961.jpg
/home/pi/Desktop/images/15122025/07/00/image_15122025_07_00_54_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.5153810977935791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 07:21:32.020865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 07:21:41.997816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/06/image_05112025_14_06_54_1778.jpg', '/home/pi/Desktop/images/05112025/14/06/image_05112025_14_06_55_1739.jpg', '/home/pi/Desktop/images/05112025/14/06/image_05112025_14_06_58_3027.jpg', '/home/pi/Desktop/images/05112025/14/06/image_05112025_14_07_00_1905.jpg', '/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_02_1625.jpg', '/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_04_1569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/06/image_05112025_14_06_54_1778.jpg
/home/pi/Desktop/images/05112025/14/06/image_05112025_14_06_55_1739.jpg
/home/pi/Desktop/images/05112025/14/06/image_05112025_14_06_58_3027.jpg
/home/pi/Desktop/images/05112025/14/06/image_05112025_14_07_00_1905.jpg
/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_02_1625.jpg
/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_04_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":["1399440243","1399440245","1399440239","1399440248","1399440241","1399440244"],"photo_ids_order":["1399440239","1399440241","1399440243","1399440244","1399440245","1399440248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7f61d27d7c6be07be08ff424869b898e.jpg","text":"TemporaryFile(/tmp/multipartBody1012004650142459287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779762709,"filename":"image_05112025_14_06_58_3027.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d84d25f0c309dd6dcf471aab8601c0d5.jpg","text":"TemporaryFile(/tmp/multipartBody1777287011278542057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779762709,"filename":"image_05112025_14_07_02_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/15/112a19ca5495086152125cd8b5abc62c.jpg","text":"TemporaryFile(/tmp/multipartBody8489784069295844552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779762709,"filename":"image_05112025_14_06_54_1778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e0976447b6a6753cc0d26ba6d2ded0c0.jpg","text":"TemporaryFile(/tmp/multipartBody8795880514319512297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779762709,"filename":"image_05112025_14_07_04_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/15/bb114463653828c0e825289a31c8b93f.jpg","text":"TemporaryFile(/tmp/multipartBody55136227698680894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779762709,"filename":"image_05112025_14_06_55_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/15/3329d9d791340829842fcfdce538d4c2.jpg","text":"TemporaryFile(/tmp/multipartBody2754249008988680402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779762709,"filename":"image_05112025_14_07_00_1905.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440243","file1":"1399440241","file0":"1399440239","file4":"1399440245","file5":"1399440248","file3":"1399440244"},"map_files_photo_id_array":[{"photo_id":"1399440248","filename":"file5"},{"photo_id":"1399440243","filename":"file2"},{"photo_id":"1399440245","filename":"file4"},{"photo_id":"1399440241","filename":"file1"},{"photo_id":"1399440239","filename":"file0"},{"photo_id":"1399440244","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399440243":["hashtag1","hashtag2"]},{"1399440245":["hashtag1","hashtag2"]},{"1399440239":["hashtag1","hashtag2"]},{"1399440248":["hashtag1","hashtag2"]},{"1399440241":["hashtag1","hashtag2"]},{"1399440244":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399440243, 1399440245, 1399440239, 1399440248, 1399440241, 1399440244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.829808712005615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 07:22:22.236364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/06/59/image_15122025_07_00_04_9648.jpg', '/home/pi/Desktop/images/15122025/07/00/image_15122025_07_00_14_10268.jpg', '/home/pi/Desktop/images/15122025/07/00/image_15122025_07_00_24_9769.jpg', '/home/pi/Desktop/images/15122025/07/00/image_15122025_07_00_34_10580.jpg', '/home/pi/Desktop/images/15122025/07/00/image_15122025_07_00_44_9961.jpg', '/home/pi/Desktop/images/15122025/07/00/image_15122025_07_00_54_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/06/59/image_15122025_07_00_04_9648.jpg
/home/pi/Desktop/images/15122025/07/00/image_15122025_07_00_14_10268.jpg
/home/pi/Desktop/images/15122025/07/00/image_15122025_07_00_24_9769.jpg
/home/pi/Desktop/images/15122025/07/00/image_15122025_07_00_34_10580.jpg
/home/pi/Desktop/images/15122025/07/00/image_15122025_07_00_44_9961.jpg
/home/pi/Desktop/images/15122025/07/00/image_15122025_07_00_54_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":["1399440279","1399440270","1399440276","1399440281","1399440275","1399440265"],"photo_ids_order":["1399440265","1399440270","1399440275","1399440276","1399440279","1399440281"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7a40e94f41bdd82f8eeefb7f1e1a0682.jpg","text":"TemporaryFile(/tmp/multipartBody8507796102034590513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779802885,"filename":"image_15122025_07_00_44_9961.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ef93d8c6cca33c63627e0080435fc8f1.jpg","text":"TemporaryFile(/tmp/multipartBody7935125389469572341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779802885,"filename":"image_15122025_07_00_14_10268.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d986e226c31c6a93bafac9d239e79a1f.jpg","text":"TemporaryFile(/tmp/multipartBody253953701631884256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779802885,"filename":"image_15122025_07_00_34_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/15/4133503a2fce59a5fd6855e6bbd5df79.jpg","text":"TemporaryFile(/tmp/multipartBody242090852144767702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779802885,"filename":"image_15122025_07_00_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/15/601a9d392ce88ee5e8118f09951f4bea.jpg","text":"TemporaryFile(/tmp/multipartBody4213813792675435386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779802885,"filename":"image_15122025_07_00_24_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/70fa22ec86d1e2d178bc56fa7b583efa.jpg","text":"TemporaryFile(/tmp/multipartBody1541259937241636893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779802885,"filename":"image_15122025_07_00_04_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440275","file1":"1399440270","file0":"1399440265","file4":"1399440279","file5":"1399440281","file3":"1399440276"},"map_files_photo_id_array":[{"photo_id":"1399440281","filename":"file5"},{"photo_id":"1399440275","filename":"file2"},{"photo_id":"1399440279","filename":"file4"},{"photo_id":"1399440270","filename":"file1"},{"photo_id":"1399440265","filename":"file0"},{"photo_id":"1399440276","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399440279":["hashtag1","hashtag2"]},{"1399440270":["hashtag1","hashtag2"]},{"1399440276":["hashtag1","hashtag2"]},{"1399440281":["hashtag1","hashtag2"]},{"1399440275":["hashtag1","hashtag2"]},{"1399440265":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399440279, 1399440270, 1399440276, 1399440281, 1399440275, 1399440265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15297865867615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 07:23:03.076432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/00/image_15122025_07_01_04_9773.jpg', '/home/pi/Desktop/images/15122025/07/01/image_15122025_07_01_14_10645.jpg', '/home/pi/Desktop/images/15122025/07/01/image_15122025_07_01_24_9640.jpg', '/home/pi/Desktop/images/15122025/07/01/image_15122025_07_01_34_9832.jpg', '/home/pi/Desktop/images/15122025/07/01/image_15122025_07_01_45_10675.jpg', '/home/pi/Desktop/images/15122025/07/01/image_15122025_07_01_54_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/00/image_15122025_07_01_04_9773.jpg
/home/pi/Desktop/images/15122025/07/01/image_15122025_07_01_14_10645.jpg
/home/pi/Desktop/images/15122025/07/01/image_15122025_07_01_24_9640.jpg
/home/pi/Desktop/images/15122025/07/01/image_15122025_07_01_34_9832.jpg
/home/pi/Desktop/images/15122025/07/01/image_15122025_07_01_45_10675.jpg
/home/pi/Desktop/images/15122025/07/01/image_15122025_07_01_54_9788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399440291","1399440293","1399440298","1399440286","1399440295","1399440289"],"photo_ids_order":["1399440286","1399440289","1399440291","1399440293","1399440295","1399440298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a4e431f75a2ebe83636edee9caca5c88.jpg","text":"TemporaryFile(/tmp/multipartBody3702210148735705183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779843753,"filename":"image_15122025_07_01_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/aadba11d6818c7f292b589641cf05eb9.jpg","text":"TemporaryFile(/tmp/multipartBody1908189012731526530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779843753,"filename":"image_15122025_07_01_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/15/8a788bb62e329456941b2a8607fe0ab2.jpg","text":"TemporaryFile(/tmp/multipartBody6631862418734256812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779843753,"filename":"image_15122025_07_01_54_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fd05eb3b9eb7b9099f8c8eae73c33c53.jpg","text":"TemporaryFile(/tmp/multipartBody8396757158028715773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779843753,"filename":"image_15122025_07_01_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/15/e11743e05fc4523812dcf375abe69669.jpg","text":"TemporaryFile(/tmp/multipartBody2961552581492650724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779843753,"filename":"image_15122025_07_01_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/15/21a4f81ba39f390381804b1be13c3f74.jpg","text":"TemporaryFile(/tmp/multipartBody4499450897398917751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779843753,"filename":"image_15122025_07_01_14_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440291","file1":"1399440289","file0":"1399440286","file4":"1399440295","file5":"1399440298","file3":"1399440293"},"map_files_photo_id_array":[{"photo_id":"1399440298","filename":"file5"},{"photo_id":"1399440291","filename":"file2"},{"photo_id":"1399440295","filename":"file4"},{"photo_id":"1399440289","filename":"file1"},{"photo_id":"1399440286","filename":"file0"},{"photo_id":"1399440293","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399440291":["hashtag1","hashtag2"]},{"1399440293":["hashtag1","hashtag2"]},{"1399440298":["hashtag1","hashtag2"]},{"1399440286":["hashtag1","hashtag2"]},{"1399440295":["hashtag1","hashtag2"]},{"1399440289":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399440291, 1399440293, 1399440298, 1399440286, 1399440295, 1399440289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39821720123291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 07:23:42.462818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_05_1768.jpg', '/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_31_17353.jpg', '/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_32_1729.jpg', '/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_37_4250.jpg', '/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_40_1680.jpg', '/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_42_1613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_05_1768.jpg
/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_31_17353.jpg
/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_32_1729.jpg
/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_37_4250.jpg
/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_40_1680.jpg
/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_42_1613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399440310","1399440304","1399440307","1399440309","1399440306","1399440308"],"photo_ids_order":["1399440304","1399440306","1399440307","1399440308","1399440309","1399440310"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fd25c1fa9daccf99f340c64c054e04c0.jpg","text":"TemporaryFile(/tmp/multipartBody1975615944032839479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779883168,"filename":"image_05112025_14_07_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/15/b498b7ff4f4410cb6b99bab5daaf0382.jpg","text":"TemporaryFile(/tmp/multipartBody6755672011999688691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779883168,"filename":"image_05112025_14_07_05_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/15/c9d59e9091883c58f3c5b8c2b5d59206.jpg","text":"TemporaryFile(/tmp/multipartBody3127705443561289776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779883168,"filename":"image_05112025_14_07_32_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/15/2c1df7ce1083f9add0d98c9937b4bd9b.jpg","text":"TemporaryFile(/tmp/multipartBody4927709725760892301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779883168,"filename":"image_05112025_14_07_40_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/15/39caaef4863c9549b36d4e6ec2c4f217.jpg","text":"TemporaryFile(/tmp/multipartBody7295935410140702521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779883168,"filename":"image_05112025_14_07_31_17353.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9e8f2011649c1548b64b750ef9195388.jpg","text":"TemporaryFile(/tmp/multipartBody8527234357555206644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779883168,"filename":"image_05112025_14_07_37_4250.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440307","file1":"1399440306","file0":"1399440304","file4":"1399440309","file5":"1399440310","file3":"1399440308"},"map_files_photo_id_array":[{"photo_id":"1399440310","filename":"file5"},{"photo_id":"1399440307","filename":"file2"},{"photo_id":"1399440309","filename":"file4"},{"photo_id":"1399440306","filename":"file1"},{"photo_id":"1399440304","filename":"file0"},{"photo_id":"1399440308","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399440310":["hashtag1","hashtag2"]},{"1399440304":["hashtag1","hashtag2"]},{"1399440307":["hashtag1","hashtag2"]},{"1399440309":["hashtag1","hashtag2"]},{"1399440306":["hashtag1","hashtag2"]},{"1399440308":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399440310, 1399440304, 1399440307, 1399440309, 1399440306, 1399440308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.454975605010986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 07:24:22.660377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/01/image_15122025_07_02_04_9807.jpg', '/home/pi/Desktop/images/15122025/07/02/image_15122025_07_02_14_9630.jpg', '/home/pi/Desktop/images/15122025/07/02/image_15122025_07_02_25_10724.jpg', '/home/pi/Desktop/images/15122025/07/02/image_15122025_07_02_34_9739.jpg', '/home/pi/Desktop/images/15122025/07/02/image_15122025_07_02_44_9990.jpg', '/home/pi/Desktop/images/15122025/07/02/image_15122025_07_02_54_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/01/image_15122025_07_02_04_9807.jpg
/home/pi/Desktop/images/15122025/07/02/image_15122025_07_02_14_9630.jpg
/home/pi/Desktop/images/15122025/07/02/image_15122025_07_02_25_10724.jpg
/home/pi/Desktop/images/15122025/07/02/image_15122025_07_02_34_9739.jpg
/home/pi/Desktop/images/15122025/07/02/image_15122025_07_02_44_9990.jpg
/home/pi/Desktop/images/15122025/07/02/image_15122025_07_02_54_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":["1399440328","1399440324","1399440318","1399440326","1399440320","1399440316"],"photo_ids_order":["1399440316","1399440318","1399440320","1399440324","1399440326","1399440328"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6ba7a3bc865472d8ad8eafebb4c34948.jpg","text":"TemporaryFile(/tmp/multipartBody2297108896738866941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779923276,"filename":"image_15122025_07_02_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/15/e60d55cc30dd36934ed62963582176ae.jpg","text":"TemporaryFile(/tmp/multipartBody4852414864590936021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779923276,"filename":"image_15122025_07_02_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/15/9d867aa16b62650919417bfce5f52576.jpg","text":"TemporaryFile(/tmp/multipartBody128711823073641353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779923276,"filename":"image_15122025_07_02_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/15/3eed7fa7277e4de15a42b90e070033f3.jpg","text":"TemporaryFile(/tmp/multipartBody9027296724956272711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779923276,"filename":"image_15122025_07_02_44_9990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0654831b078c6e3d16223e6e24f5f43f.jpg","text":"TemporaryFile(/tmp/multipartBody5809935296541405326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779923276,"filename":"image_15122025_07_02_25_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ef88a15b3299fc51f76fb506cb81e744.jpg","text":"TemporaryFile(/tmp/multipartBody7607751854483268393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779923276,"filename":"image_15122025_07_02_04_9807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440320","file1":"1399440318","file0":"1399440316","file4":"1399440326","file5":"1399440328","file3":"1399440324"},"map_files_photo_id_array":[{"photo_id":"1399440328","filename":"file5"},{"photo_id":"1399440320","filename":"file2"},{"photo_id":"1399440326","filename":"file4"},{"photo_id":"1399440318","filename":"file1"},{"photo_id":"1399440316","filename":"file0"},{"photo_id":"1399440324","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399440328":["hashtag1","hashtag2"]},{"1399440324":["hashtag1","hashtag2"]},{"1399440318":["hashtag1","hashtag2"]},{"1399440326":["hashtag1","hashtag2"]},{"1399440320":["hashtag1","hashtag2"]},{"1399440316":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399440328, 1399440324, 1399440318, 1399440326, 1399440320, 1399440316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.076613664627075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 07:25:02.574525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/02/image_15122025_07_03_04_9753.jpg', '/home/pi/Desktop/images/15122025/07/03/image_15122025_07_03_14_10701.jpg', '/home/pi/Desktop/images/15122025/07/03/image_15122025_07_03_24_9814.jpg', '/home/pi/Desktop/images/15122025/07/03/image_15122025_07_03_34_9683.jpg', '/home/pi/Desktop/images/15122025/07/03/image_15122025_07_03_45_10723.jpg', '/home/pi/Desktop/images/15122025/07/03/image_15122025_07_03_54_9589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/02/image_15122025_07_03_04_9753.jpg
/home/pi/Desktop/images/15122025/07/03/image_15122025_07_03_14_10701.jpg
/home/pi/Desktop/images/15122025/07/03/image_15122025_07_03_24_9814.jpg
/home/pi/Desktop/images/15122025/07/03/image_15122025_07_03_34_9683.jpg
/home/pi/Desktop/images/15122025/07/03/image_15122025_07_03_45_10723.jpg
/home/pi/Desktop/images/15122025/07/03/image_15122025_07_03_54_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":["1399440345","1399440348","1399440333","1399440342","1399440350","1399440347"],"photo_ids_order":["1399440333","1399440342","1399440345","1399440347","1399440348","1399440350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/13cf044a47cead02607a00b6b97ee99e.jpg","text":"TemporaryFile(/tmp/multipartBody1704637077830475751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779963246,"filename":"image_15122025_07_03_24_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/71e691ae389b915596952d9c8c452d0b.jpg","text":"TemporaryFile(/tmp/multipartBody5455148515362374676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779963246,"filename":"image_15122025_07_03_45_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3a65f79cc2e234826f4fcd23d5737624.jpg","text":"TemporaryFile(/tmp/multipartBody7432590965965272030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779963246,"filename":"image_15122025_07_03_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/15/6bc9a024b49d5a8b88cfec5ca98493c4.jpg","text":"TemporaryFile(/tmp/multipartBody7883457848335632802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779963246,"filename":"image_15122025_07_03_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/15/d7f7cc6b9d588abd2f8162b425cb6ed0.jpg","text":"TemporaryFile(/tmp/multipartBody6252149895130433401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779963246,"filename":"image_15122025_07_03_54_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/15/eaa7119eb530558d04563f4ea84edb7b.jpg","text":"TemporaryFile(/tmp/multipartBody3873940360428845220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765779963246,"filename":"image_15122025_07_03_34_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440345","file1":"1399440342","file0":"1399440333","file4":"1399440348","file5":"1399440350","file3":"1399440347"},"map_files_photo_id_array":[{"photo_id":"1399440350","filename":"file5"},{"photo_id":"1399440345","filename":"file2"},{"photo_id":"1399440348","filename":"file4"},{"photo_id":"1399440342","filename":"file1"},{"photo_id":"1399440333","filename":"file0"},{"photo_id":"1399440347","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399440345":["hashtag1","hashtag2"]},{"1399440348":["hashtag1","hashtag2"]},{"1399440333":["hashtag1","hashtag2"]},{"1399440342":["hashtag1","hashtag2"]},{"1399440350":["hashtag1","hashtag2"]},{"1399440347":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399440345, 1399440348, 1399440333, 1399440342, 1399440350, 1399440347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40849757194519 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 07:25:41.920095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_43_1864.jpg', '/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_45_1620.jpg', '/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_47_1549.jpg', '/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_48_1535.jpg', '/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_50_1604.jpg', '/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_51_1735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_43_1864.jpg
/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_45_1620.jpg
/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_47_1549.jpg
/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_48_1535.jpg
/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_50_1604.jpg
/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_51_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":["1399440363","1399440357","1399440368","1399440359","1399440355","1399440358"],"photo_ids_order":["1399440355","1399440357","1399440358","1399440359","1399440363","1399440368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0f2405448794af8938b85e9a4af900f7.jpg","text":"TemporaryFile(/tmp/multipartBody3036149768957248527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780002622,"filename":"image_05112025_14_07_50_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/15/ed14f1b6ec74d4006910b0cf38e20e78.jpg","text":"TemporaryFile(/tmp/multipartBody2309550168664192236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780002622,"filename":"image_05112025_14_07_45_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c74239ce761021e197bd0793f48a6ea4.jpg","text":"TemporaryFile(/tmp/multipartBody6528285135537765987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780002622,"filename":"image_05112025_14_07_51_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/15/db9b6821308e80a7980ef1285b199a7d.jpg","text":"TemporaryFile(/tmp/multipartBody7672182119169719379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780002622,"filename":"image_05112025_14_07_48_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/15/c1741b4504cba2827bd643446da0b5a2.jpg","text":"TemporaryFile(/tmp/multipartBody7245647182190706273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780002622,"filename":"image_05112025_14_07_43_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/15/661deacea3f614a5bd2aecffabb5f7cf.jpg","text":"TemporaryFile(/tmp/multipartBody2283188270531469699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780002622,"filename":"image_05112025_14_07_47_1549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440358","file1":"1399440357","file0":"1399440355","file4":"1399440363","file5":"1399440368","file3":"1399440359"},"map_files_photo_id_array":[{"photo_id":"1399440368","filename":"file5"},{"photo_id":"1399440358","filename":"file2"},{"photo_id":"1399440363","filename":"file4"},{"photo_id":"1399440357","filename":"file1"},{"photo_id":"1399440355","filename":"file0"},{"photo_id":"1399440359","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399440363":["hashtag1","hashtag2"]},{"1399440357":["hashtag1","hashtag2"]},{"1399440368":["hashtag1","hashtag2"]},{"1399440359":["hashtag1","hashtag2"]},{"1399440355":["hashtag1","hashtag2"]},{"1399440358":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399440363, 1399440357, 1399440368, 1399440359, 1399440355, 1399440358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59893083572388 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 07:26:22.201974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/03/image_15122025_07_04_04_9812.jpg', '/home/pi/Desktop/images/15122025/07/04/image_15122025_07_04_14_9866.jpg', '/home/pi/Desktop/images/15122025/07/04/image_15122025_07_04_24_9905.jpg', '/home/pi/Desktop/images/15122025/07/04/image_15122025_07_04_35_10755.jpg', '/home/pi/Desktop/images/15122025/07/04/image_15122025_07_04_44_9566.jpg', '/home/pi/Desktop/images/15122025/07/04/image_15122025_07_04_54_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/03/image_15122025_07_04_04_9812.jpg
/home/pi/Desktop/images/15122025/07/04/image_15122025_07_04_14_9866.jpg
/home/pi/Desktop/images/15122025/07/04/image_15122025_07_04_24_9905.jpg
/home/pi/Desktop/images/15122025/07/04/image_15122025_07_04_35_10755.jpg
/home/pi/Desktop/images/15122025/07/04/image_15122025_07_04_44_9566.jpg
/home/pi/Desktop/images/15122025/07/04/image_15122025_07_04_54_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":["1399440384","1399440386","1399440389","1399440380","1399440374","1399440379"],"photo_ids_order":["1399440374","1399440379","1399440380","1399440384","1399440386","1399440389"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/91753357f96a7791dbbaebbe31ded7ea.jpg","text":"TemporaryFile(/tmp/multipartBody3590100021627784478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780042850,"filename":"image_15122025_07_04_35_10755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/45c534940da8ae578c62ab7bf2b298e6.jpg","text":"TemporaryFile(/tmp/multipartBody2438856808334058382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780042850,"filename":"image_15122025_07_04_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/15/67ef4a37766b95cffb86e65f434d2206.jpg","text":"TemporaryFile(/tmp/multipartBody920144763754940898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780042850,"filename":"image_15122025_07_04_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/15/00033b5a7082db95f16eaabbd10c6a82.jpg","text":"TemporaryFile(/tmp/multipartBody3801002540138931207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780042850,"filename":"image_15122025_07_04_24_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/15/ae883da86830eae2b3222ac7f27d33a1.jpg","text":"TemporaryFile(/tmp/multipartBody5441763796122685741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780042850,"filename":"image_15122025_07_04_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/15/3669716be3d85480fad2f4e22578cee7.jpg","text":"TemporaryFile(/tmp/multipartBody4134952975893204019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780042850,"filename":"image_15122025_07_04_14_9866.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440380","file1":"1399440379","file0":"1399440374","file4":"1399440386","file5":"1399440389","file3":"1399440384"},"map_files_photo_id_array":[{"photo_id":"1399440389","filename":"file5"},{"photo_id":"1399440380","filename":"file2"},{"photo_id":"1399440386","filename":"file4"},{"photo_id":"1399440379","filename":"file1"},{"photo_id":"1399440374","filename":"file0"},{"photo_id":"1399440384","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399440384":["hashtag1","hashtag2"]},{"1399440386":["hashtag1","hashtag2"]},{"1399440389":["hashtag1","hashtag2"]},{"1399440380":["hashtag1","hashtag2"]},{"1399440374":["hashtag1","hashtag2"]},{"1399440379":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399440384, 1399440386, 1399440389, 1399440380, 1399440374, 1399440379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48573589324951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 07:27:03.133849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/04/image_15122025_07_05_05_10780.jpg', '/home/pi/Desktop/images/15122025/07/05/image_15122025_07_05_14_9777.jpg', '/home/pi/Desktop/images/15122025/07/05/image_15122025_07_05_24_9696.jpg', '/home/pi/Desktop/images/15122025/07/05/image_15122025_07_05_34_9641.jpg', '/home/pi/Desktop/images/15122025/07/05/image_15122025_07_05_45_10913.jpg', '/home/pi/Desktop/images/15122025/07/05/image_15122025_07_05_54_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/04/image_15122025_07_05_05_10780.jpg
/home/pi/Desktop/images/15122025/07/05/image_15122025_07_05_14_9777.jpg
/home/pi/Desktop/images/15122025/07/05/image_15122025_07_05_24_9696.jpg
/home/pi/Desktop/images/15122025/07/05/image_15122025_07_05_34_9641.jpg
/home/pi/Desktop/images/15122025/07/05/image_15122025_07_05_45_10913.jpg
/home/pi/Desktop/images/15122025/07/05/image_15122025_07_05_54_9731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399440406","1399440400","1399440402","1399440398","1399440404","1399440394"],"photo_ids_order":["1399440394","1399440398","1399440400","1399440402","1399440404","1399440406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/62219e8e98647798a1b2898c1489db57.jpg","text":"TemporaryFile(/tmp/multipartBody5678133189153043274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780083869,"filename":"image_15122025_07_05_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/15/fb5b63b2a748d4582a595a4a4efa561a.jpg","text":"TemporaryFile(/tmp/multipartBody2683485824454233946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780083869,"filename":"image_15122025_07_05_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/15/3f0bd93594af56836001218523e31ce8.jpg","text":"TemporaryFile(/tmp/multipartBody8315348087088857489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780083869,"filename":"image_15122025_07_05_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/15/ef28cef7edd38c907abe396eee737399.jpg","text":"TemporaryFile(/tmp/multipartBody6452421502781914940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780083869,"filename":"image_15122025_07_05_14_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e9f8472cbcf5a9aa1bbf747c225f94ac.jpg","text":"TemporaryFile(/tmp/multipartBody3098475466349988143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780083869,"filename":"image_15122025_07_05_45_10913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f7831aae5da733878ed6a2620c8e2136.jpg","text":"TemporaryFile(/tmp/multipartBody1172168823573275708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780083869,"filename":"image_15122025_07_05_05_10780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440400","file1":"1399440398","file0":"1399440394","file4":"1399440404","file5":"1399440406","file3":"1399440402"},"map_files_photo_id_array":[{"photo_id":"1399440406","filename":"file5"},{"photo_id":"1399440400","filename":"file2"},{"photo_id":"1399440404","filename":"file4"},{"photo_id":"1399440398","filename":"file1"},{"photo_id":"1399440394","filename":"file0"},{"photo_id":"1399440402","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399440406":["hashtag1","hashtag2"]},{"1399440400":["hashtag1","hashtag2"]},{"1399440402":["hashtag1","hashtag2"]},{"1399440398":["hashtag1","hashtag2"]},{"1399440404":["hashtag1","hashtag2"]},{"1399440394":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399440406, 1399440400, 1399440402, 1399440398, 1399440404, 1399440394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14444828033447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 07:27:42.468661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_53_1706.jpg', '/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_55_1655.jpg', '/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_57_1685.jpg', '/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_58_1677.jpg', '/home/pi/Desktop/images/05112025/14/07/image_05112025_14_08_00_1608.jpg', '/home/pi/Desktop/images/05112025/14/08/image_05112025_14_08_01_1614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_53_1706.jpg
/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_55_1655.jpg
/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_57_1685.jpg
/home/pi/Desktop/images/05112025/14/07/image_05112025_14_07_58_1677.jpg
/home/pi/Desktop/images/05112025/14/07/image_05112025_14_08_00_1608.jpg
/home/pi/Desktop/images/05112025/14/08/image_05112025_14_08_01_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":["1399440414","1399440417","1399440419","1399440410","1399440416","1399440415"],"photo_ids_order":["1399440410","1399440414","1399440415","1399440416","1399440417","1399440419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9d46359d5cd1107586e17341c8cbd9c3.jpg","text":"TemporaryFile(/tmp/multipartBody87960887886307569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780123204,"filename":"image_05112025_14_07_55_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/15/ec015cb9d8922dfbd9e0dcf1ce83154d.jpg","text":"TemporaryFile(/tmp/multipartBody152275687378482365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780123204,"filename":"image_05112025_14_08_00_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/15/930da9249eea942882fa1993110a784c.jpg","text":"TemporaryFile(/tmp/multipartBody8634738255806580018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780123204,"filename":"image_05112025_14_08_01_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/15/8e6767cee283572d52cd1c602a382652.jpg","text":"TemporaryFile(/tmp/multipartBody974854379874936442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780123204,"filename":"image_05112025_14_07_53_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/15/55537105c216706438548a4efec7b5c8.jpg","text":"TemporaryFile(/tmp/multipartBody2471342656675027647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780123204,"filename":"image_05112025_14_07_58_1677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5b4083c302458c8fb0a2b65b6d4b3d7b.jpg","text":"TemporaryFile(/tmp/multipartBody1558522284656646896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780123204,"filename":"image_05112025_14_07_57_1685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440415","file1":"1399440414","file0":"1399440410","file4":"1399440417","file5":"1399440419","file3":"1399440416"},"map_files_photo_id_array":[{"photo_id":"1399440419","filename":"file5"},{"photo_id":"1399440415","filename":"file2"},{"photo_id":"1399440417","filename":"file4"},{"photo_id":"1399440414","filename":"file1"},{"photo_id":"1399440410","filename":"file0"},{"photo_id":"1399440416","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399440414":["hashtag1","hashtag2"]},{"1399440417":["hashtag1","hashtag2"]},{"1399440419":["hashtag1","hashtag2"]},{"1399440410":["hashtag1","hashtag2"]},{"1399440416":["hashtag1","hashtag2"]},{"1399440415":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399440414, 1399440417, 1399440419, 1399440410, 1399440416, 1399440415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5526647567749 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 07:28:22.784646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/05/image_15122025_07_06_04_9617.jpg', '/home/pi/Desktop/images/15122025/07/06/image_15122025_07_06_15_10630.jpg', '/home/pi/Desktop/images/15122025/07/06/image_15122025_07_06_34_9529.jpg', '/home/pi/Desktop/images/15122025/07/06/image_15122025_07_06_44_10725.jpg', '/home/pi/Desktop/images/15122025/07/06/image_15122025_07_06_54_9698.jpg', '/home/pi/Desktop/images/15122025/07/06/image_15122025_07_07_04_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/05/image_15122025_07_06_04_9617.jpg
/home/pi/Desktop/images/15122025/07/06/image_15122025_07_06_15_10630.jpg
/home/pi/Desktop/images/15122025/07/06/image_15122025_07_06_34_9529.jpg
/home/pi/Desktop/images/15122025/07/06/image_15122025_07_06_44_10725.jpg
/home/pi/Desktop/images/15122025/07/06/image_15122025_07_06_54_9698.jpg
/home/pi/Desktop/images/15122025/07/06/image_15122025_07_07_04_9651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399440430","1399440426","1399440435","1399440423","1399440437","1399440425"],"photo_ids_order":["1399440423","1399440425","1399440426","1399440430","1399440435","1399440437"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9b89b73791941bf677d5bd1d94690946.jpg","text":"TemporaryFile(/tmp/multipartBody4435164944749408779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780163397,"filename":"image_15122025_07_06_44_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2f486b629543e961de49154297ed9b31.jpg","text":"TemporaryFile(/tmp/multipartBody7957754308686844013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780163397,"filename":"image_15122025_07_06_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/15/baab77e17cd05c345057cfefd64599e7.jpg","text":"TemporaryFile(/tmp/multipartBody5272149963947511028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780163397,"filename":"image_15122025_07_06_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/15/afbd525ff032d8f1bf24e54ab8e0d34a.jpg","text":"TemporaryFile(/tmp/multipartBody3819175437020688613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780163397,"filename":"image_15122025_07_06_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/15/729ec59934881c29989083374a9d6838.jpg","text":"TemporaryFile(/tmp/multipartBody4244151213554368552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780163397,"filename":"image_15122025_07_07_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/15/76602fab02120cab73925e8a692ae853.jpg","text":"TemporaryFile(/tmp/multipartBody1707720141124819229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780163397,"filename":"image_15122025_07_06_15_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440426","file1":"1399440425","file0":"1399440423","file4":"1399440435","file5":"1399440437","file3":"1399440430"},"map_files_photo_id_array":[{"photo_id":"1399440437","filename":"file5"},{"photo_id":"1399440426","filename":"file2"},{"photo_id":"1399440435","filename":"file4"},{"photo_id":"1399440425","filename":"file1"},{"photo_id":"1399440423","filename":"file0"},{"photo_id":"1399440430","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399440430":["hashtag1","hashtag2"]},{"1399440426":["hashtag1","hashtag2"]},{"1399440435":["hashtag1","hashtag2"]},{"1399440423":["hashtag1","hashtag2"]},{"1399440437":["hashtag1","hashtag2"]},{"1399440425":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399440430, 1399440426, 1399440435, 1399440423, 1399440437, 1399440425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.31765699386597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 07:29:02.919259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/07/image_15122025_07_07_15_10795.jpg', '/home/pi/Desktop/images/15122025/07/07/image_15122025_07_07_24_9810.jpg', '/home/pi/Desktop/images/15122025/07/07/image_15122025_07_07_34_9607.jpg', '/home/pi/Desktop/images/15122025/07/07/image_15122025_07_07_45_10671.jpg', '/home/pi/Desktop/images/15122025/07/07/image_15122025_07_07_54_9618.jpg', '/home/pi/Desktop/images/15122025/07/07/image_15122025_07_08_04_9787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/07/image_15122025_07_07_15_10795.jpg
/home/pi/Desktop/images/15122025/07/07/image_15122025_07_07_24_9810.jpg
/home/pi/Desktop/images/15122025/07/07/image_15122025_07_07_34_9607.jpg
/home/pi/Desktop/images/15122025/07/07/image_15122025_07_07_45_10671.jpg
/home/pi/Desktop/images/15122025/07/07/image_15122025_07_07_54_9618.jpg
/home/pi/Desktop/images/15122025/07/07/image_15122025_07_08_04_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":["1399440439","1399440444","1399440440","1399440446","1399440451","1399440448"],"photo_ids_order":["1399440439","1399440440","1399440444","1399440446","1399440448","1399440451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4361e1a96bf462a32f362fb9ea7f070a.jpg","text":"TemporaryFile(/tmp/multipartBody2654145136949254848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780203730,"filename":"image_15122025_07_07_15_10795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2147ef603f30576950876a599dc6d03f.jpg","text":"TemporaryFile(/tmp/multipartBody7743388485802011612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780203730,"filename":"image_15122025_07_07_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/15/5fc92e635a04ac2b1488c07b3b838099.jpg","text":"TemporaryFile(/tmp/multipartBody5039333268301238966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780203730,"filename":"image_15122025_07_07_24_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/801ddaf8c8ad8755c7d99a909a01cad3.jpg","text":"TemporaryFile(/tmp/multipartBody2101252448485308621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780203730,"filename":"image_15122025_07_07_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/15/703631fec309bcc2c72e6dd9929d9917.jpg","text":"TemporaryFile(/tmp/multipartBody3642156638829278001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780203730,"filename":"image_15122025_07_08_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/15/36d9ed7745618ae9d792a2761609da6e.jpg","text":"TemporaryFile(/tmp/multipartBody5058389729229645720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780203730,"filename":"image_15122025_07_07_54_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440444","file1":"1399440440","file0":"1399440439","file4":"1399440448","file5":"1399440451","file3":"1399440446"},"map_files_photo_id_array":[{"photo_id":"1399440451","filename":"file5"},{"photo_id":"1399440444","filename":"file2"},{"photo_id":"1399440448","filename":"file4"},{"photo_id":"1399440440","filename":"file1"},{"photo_id":"1399440439","filename":"file0"},{"photo_id":"1399440446","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399440439":["hashtag1","hashtag2"]},{"1399440444":["hashtag1","hashtag2"]},{"1399440440":["hashtag1","hashtag2"]},{"1399440446":["hashtag1","hashtag2"]},{"1399440451":["hashtag1","hashtag2"]},{"1399440448":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399440439, 1399440444, 1399440440, 1399440446, 1399440451, 1399440448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.065306425094604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 07:29:41.874931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/08/image_05112025_14_08_05_1695.jpg', '/home/pi/Desktop/images/05112025/14/08/image_05112025_14_08_06_1527.jpg', '/home/pi/Desktop/images/05112025/14/08/image_05112025_14_08_13_6177.jpg', '/home/pi/Desktop/images/05112025/14/08/image_05112025_14_08_16_3072.jpg', '/home/pi/Desktop/images/05112025/14/08/image_05112025_14_08_17_1619.jpg', '/home/pi/Desktop/images/05112025/14/08/image_05112025_14_08_28_10186.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/08/image_05112025_14_08_05_1695.jpg
/home/pi/Desktop/images/05112025/14/08/image_05112025_14_08_06_1527.jpg
/home/pi/Desktop/images/05112025/14/08/image_05112025_14_08_13_6177.jpg
/home/pi/Desktop/images/05112025/14/08/image_05112025_14_08_16_3072.jpg
/home/pi/Desktop/images/05112025/14/08/image_05112025_14_08_17_1619.jpg
/home/pi/Desktop/images/05112025/14/08/image_05112025_14_08_28_10186.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399440477","1399440456","1399440470","1399440478","1399440460","1399440463"],"photo_ids_order":["1399440456","1399440460","1399440463","1399440470","1399440477","1399440478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/de291fcf9b0ceb39992ac99c06ecc151.jpg","text":"TemporaryFile(/tmp/multipartBody4739704576825149218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780242586,"filename":"image_05112025_14_08_17_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/15/3978189bba7e9de2c82f0cd51263aac2.jpg","text":"TemporaryFile(/tmp/multipartBody835334079372445480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780242586,"filename":"image_05112025_14_08_05_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/15/10ae5ae876e5b5c7b56fc9b13c26cfcc.jpg","text":"TemporaryFile(/tmp/multipartBody5521754810411946602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780242586,"filename":"image_05112025_14_08_16_3072.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/de33448abe7913c55b39c81074bdd927.jpg","text":"TemporaryFile(/tmp/multipartBody6931845018793750492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780242586,"filename":"image_05112025_14_08_28_10186.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2c3ae72f67503ab62e75466fa2b0cb91.jpg","text":"TemporaryFile(/tmp/multipartBody5210472043952819211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780242586,"filename":"image_05112025_14_08_06_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/15/8e88913b352e5d6f14544288b7820940.jpg","text":"TemporaryFile(/tmp/multipartBody2923237742433652001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780242586,"filename":"image_05112025_14_08_13_6177.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440463","file1":"1399440460","file0":"1399440456","file4":"1399440477","file5":"1399440478","file3":"1399440470"},"map_files_photo_id_array":[{"photo_id":"1399440478","filename":"file5"},{"photo_id":"1399440463","filename":"file2"},{"photo_id":"1399440477","filename":"file4"},{"photo_id":"1399440460","filename":"file1"},{"photo_id":"1399440456","filename":"file0"},{"photo_id":"1399440470","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399440477":["hashtag1","hashtag2"]},{"1399440456":["hashtag1","hashtag2"]},{"1399440470":["hashtag1","hashtag2"]},{"1399440478":["hashtag1","hashtag2"]},{"1399440460":["hashtag1","hashtag2"]},{"1399440463":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399440477, 1399440456, 1399440470, 1399440478, 1399440460, 1399440463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.65249538421631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 07:30:22.103435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/08/image_15122025_07_08_14_9869.jpg', '/home/pi/Desktop/images/15122025/07/08/image_15122025_07_08_24_10046.jpg', '/home/pi/Desktop/images/15122025/07/08/image_15122025_07_08_44_9627.jpg', '/home/pi/Desktop/images/15122025/07/08/image_15122025_07_08_54_9598.jpg', '/home/pi/Desktop/images/15122025/07/09/image_15122025_07_09_24_9863.jpg', '/home/pi/Desktop/images/15122025/07/09/image_15122025_07_09_34_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/08/image_15122025_07_08_14_9869.jpg
/home/pi/Desktop/images/15122025/07/08/image_15122025_07_08_24_10046.jpg
/home/pi/Desktop/images/15122025/07/08/image_15122025_07_08_44_9627.jpg
/home/pi/Desktop/images/15122025/07/08/image_15122025_07_08_54_9598.jpg
/home/pi/Desktop/images/15122025/07/09/image_15122025_07_09_24_9863.jpg
/home/pi/Desktop/images/15122025/07/09/image_15122025_07_09_34_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.5181033611297607 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 07:30:32.127034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 07:30:42.063699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/08/image_05112025_14_08_51_23839.jpg', '/home/pi/Desktop/images/05112025/14/08/image_05112025_14_08_53_1632.jpg', '/home/pi/Desktop/images/05112025/14/08/image_05112025_14_08_55_1710.jpg', '/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_06_11331.jpg', '/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_09_3170.jpg', '/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_11_1819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/08/image_05112025_14_08_51_23839.jpg
/home/pi/Desktop/images/05112025/14/08/image_05112025_14_08_53_1632.jpg
/home/pi/Desktop/images/05112025/14/08/image_05112025_14_08_55_1710.jpg
/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_06_11331.jpg
/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_09_3170.jpg
/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_11_1819.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399440517","1399440519","1399440513","1399440516","1399440518","1399440503"],"photo_ids_order":["1399440503","1399440513","1399440516","1399440517","1399440518","1399440519"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d031d395e7510c3bf4a518c501be4cb4.jpg","text":"TemporaryFile(/tmp/multipartBody3632522046780214883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780302866,"filename":"image_05112025_14_09_06_11331.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/db280ef3ff9b5a08c3a9fff41fd37019.jpg","text":"TemporaryFile(/tmp/multipartBody4503754181948309614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780302866,"filename":"image_05112025_14_09_11_1819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/de225659321a5ec48327e746d0990601.jpg","text":"TemporaryFile(/tmp/multipartBody6504026668237420515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780302866,"filename":"image_05112025_14_08_53_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/06b397cd55e65311af6323f604ac2ece.jpg","text":"TemporaryFile(/tmp/multipartBody8198679376541486600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780302866,"filename":"image_05112025_14_08_55_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/15/e092353131e7fef88dbe851e2e2a0a73.jpg","text":"TemporaryFile(/tmp/multipartBody5240629951267781137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780302866,"filename":"image_05112025_14_09_09_3170.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/eca5797338b5c232946b83e9d600b517.jpg","text":"TemporaryFile(/tmp/multipartBody6920043079928969172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780302866,"filename":"image_05112025_14_08_51_23839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440516","file1":"1399440513","file0":"1399440503","file4":"1399440518","file5":"1399440519","file3":"1399440517"},"map_files_photo_id_array":[{"photo_id":"1399440519","filename":"file5"},{"photo_id":"1399440516","filename":"file2"},{"photo_id":"1399440518","filename":"file4"},{"photo_id":"1399440513","filename":"file1"},{"photo_id":"1399440503","filename":"file0"},{"photo_id":"1399440517","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399440517":["hashtag1","hashtag2"]},{"1399440519":["hashtag1","hashtag2"]},{"1399440513":["hashtag1","hashtag2"]},{"1399440516":["hashtag1","hashtag2"]},{"1399440518":["hashtag1","hashtag2"]},{"1399440503":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399440517, 1399440519, 1399440513, 1399440516, 1399440518, 1399440503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01390743255615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 07:31:22.330728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/08/image_15122025_07_08_14_9869.jpg', '/home/pi/Desktop/images/15122025/07/08/image_15122025_07_08_24_10046.jpg', '/home/pi/Desktop/images/15122025/07/08/image_15122025_07_08_44_9627.jpg', '/home/pi/Desktop/images/15122025/07/08/image_15122025_07_08_54_9598.jpg', '/home/pi/Desktop/images/15122025/07/09/image_15122025_07_09_24_9863.jpg', '/home/pi/Desktop/images/15122025/07/09/image_15122025_07_09_34_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/08/image_15122025_07_08_14_9869.jpg
/home/pi/Desktop/images/15122025/07/08/image_15122025_07_08_24_10046.jpg
/home/pi/Desktop/images/15122025/07/08/image_15122025_07_08_44_9627.jpg
/home/pi/Desktop/images/15122025/07/08/image_15122025_07_08_54_9598.jpg
/home/pi/Desktop/images/15122025/07/09/image_15122025_07_09_24_9863.jpg
/home/pi/Desktop/images/15122025/07/09/image_15122025_07_09_34_9711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399440526","1399440531","1399440528","1399440530","1399440524","1399440533"],"photo_ids_order":["1399440524","1399440526","1399440528","1399440530","1399440531","1399440533"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1e3fa61596b962a2e54cfd22ed87bedc.jpg","text":"TemporaryFile(/tmp/multipartBody5746723863486698148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780342981,"filename":"image_15122025_07_08_24_10046.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a54bde83da13b72fe51eb2d9f6b1c464.jpg","text":"TemporaryFile(/tmp/multipartBody3950394932704683554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780342981,"filename":"image_15122025_07_09_24_9863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/23b6913797200851ab71fed64a7c1df1.jpg","text":"TemporaryFile(/tmp/multipartBody7800184407610847467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780342981,"filename":"image_15122025_07_08_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/15/7a386a51203e5ac714352191d149eaea.jpg","text":"TemporaryFile(/tmp/multipartBody7357894348098413954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780342981,"filename":"image_15122025_07_08_54_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a8479e09d138c37e2c5cab770703d72c.jpg","text":"TemporaryFile(/tmp/multipartBody3349720807354634956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780342981,"filename":"image_15122025_07_08_14_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/15/37ac3eb0db8aeafe7d6b5788265508d9.jpg","text":"TemporaryFile(/tmp/multipartBody6273937938425852643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780342981,"filename":"image_15122025_07_09_34_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440528","file1":"1399440526","file0":"1399440524","file4":"1399440531","file5":"1399440533","file3":"1399440530"},"map_files_photo_id_array":[{"photo_id":"1399440533","filename":"file5"},{"photo_id":"1399440528","filename":"file2"},{"photo_id":"1399440531","filename":"file4"},{"photo_id":"1399440526","filename":"file1"},{"photo_id":"1399440524","filename":"file0"},{"photo_id":"1399440530","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399440526":["hashtag1","hashtag2"]},{"1399440531":["hashtag1","hashtag2"]},{"1399440528":["hashtag1","hashtag2"]},{"1399440530":["hashtag1","hashtag2"]},{"1399440524":["hashtag1","hashtag2"]},{"1399440533":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399440526, 1399440531, 1399440528, 1399440530, 1399440524, 1399440533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07685947418213 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 07:32:03.090377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/09/image_15122025_07_09_45_10690.jpg', '/home/pi/Desktop/images/15122025/07/09/image_15122025_07_09_54_9736.jpg', '/home/pi/Desktop/images/15122025/07/09/image_15122025_07_10_04_9762.jpg', '/home/pi/Desktop/images/15122025/07/10/image_15122025_07_10_14_9747.jpg', '/home/pi/Desktop/images/15122025/07/10/image_15122025_07_10_25_10727.jpg', '/home/pi/Desktop/images/15122025/07/10/image_15122025_07_10_34_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/09/image_15122025_07_09_45_10690.jpg
/home/pi/Desktop/images/15122025/07/09/image_15122025_07_09_54_9736.jpg
/home/pi/Desktop/images/15122025/07/09/image_15122025_07_10_04_9762.jpg
/home/pi/Desktop/images/15122025/07/10/image_15122025_07_10_14_9747.jpg
/home/pi/Desktop/images/15122025/07/10/image_15122025_07_10_25_10727.jpg
/home/pi/Desktop/images/15122025/07/10/image_15122025_07_10_34_9705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399440543","1399440537","1399440539","1399440547","1399440541","1399440535"],"photo_ids_order":["1399440535","1399440537","1399440539","1399440541","1399440543","1399440547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/77b14f1c38343fcde1766fc0144d9fa2.jpg","text":"TemporaryFile(/tmp/multipartBody575920477979193652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780383739,"filename":"image_15122025_07_10_25_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7d761df61d2a2f4d0c3ff32eb6d338cd.jpg","text":"TemporaryFile(/tmp/multipartBody4893124115491745942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780383739,"filename":"image_15122025_07_09_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/15/1c42493d39c1be2c9ae964c80c1bc158.jpg","text":"TemporaryFile(/tmp/multipartBody7981504211084183513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780383739,"filename":"image_15122025_07_10_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/15/c56df625fcdbab061093864d9089fc2f.jpg","text":"TemporaryFile(/tmp/multipartBody8497929413516724037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780383739,"filename":"image_15122025_07_10_34_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dea33761305bbca3ab268954a2aa51ae.jpg","text":"TemporaryFile(/tmp/multipartBody61628850868865346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780383739,"filename":"image_15122025_07_10_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/15/ed6f3e8d3f6e2b98e69ea25c8552fc4d.jpg","text":"TemporaryFile(/tmp/multipartBody5768176087835935756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780383739,"filename":"image_15122025_07_09_45_10690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440539","file1":"1399440537","file0":"1399440535","file4":"1399440543","file5":"1399440547","file3":"1399440541"},"map_files_photo_id_array":[{"photo_id":"1399440547","filename":"file5"},{"photo_id":"1399440539","filename":"file2"},{"photo_id":"1399440543","filename":"file4"},{"photo_id":"1399440537","filename":"file1"},{"photo_id":"1399440535","filename":"file0"},{"photo_id":"1399440541","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399440543":["hashtag1","hashtag2"]},{"1399440537":["hashtag1","hashtag2"]},{"1399440539":["hashtag1","hashtag2"]},{"1399440547":["hashtag1","hashtag2"]},{"1399440541":["hashtag1","hashtag2"]},{"1399440535":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399440543, 1399440537, 1399440539, 1399440547, 1399440541, 1399440535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00708889961243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 07:32:42.671136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_13_1632.jpg', '/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_14_1571.jpg', '/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_16_1710.jpg', '/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_18_1683.jpg', '/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_19_1704.jpg', '/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_21_1541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_13_1632.jpg
/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_14_1571.jpg
/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_16_1710.jpg
/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_18_1683.jpg
/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_19_1704.jpg
/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_21_1541.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399440570","1399440569","1399440554","1399440571","1399440565","1399440568"],"photo_ids_order":["1399440554","1399440565","1399440568","1399440569","1399440570","1399440571"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/21320a45da6112bb953a2ceaf92588b9.jpg","text":"TemporaryFile(/tmp/multipartBody968040760462864961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780423372,"filename":"image_05112025_14_09_19_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/15/b6c9f2c122aec459f4ea0d943bce1913.jpg","text":"TemporaryFile(/tmp/multipartBody3301878176468964593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780423372,"filename":"image_05112025_14_09_18_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/15/df600106dfa8c51caaeb274735278cd6.jpg","text":"TemporaryFile(/tmp/multipartBody1791822346438610625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780423372,"filename":"image_05112025_14_09_13_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b0a580ad59d0e36e130d63c718b730c4.jpg","text":"TemporaryFile(/tmp/multipartBody4522232273605807356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780423372,"filename":"image_05112025_14_09_21_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/15/18d10d9be5c8bacc20a2c083ea59a843.jpg","text":"TemporaryFile(/tmp/multipartBody5537490870581003842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780423372,"filename":"image_05112025_14_09_14_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/15/d2faaf2eb4024f3ba22cdf6e7558c01a.jpg","text":"TemporaryFile(/tmp/multipartBody6111130344195826138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780423372,"filename":"image_05112025_14_09_16_1710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440568","file1":"1399440565","file0":"1399440554","file4":"1399440570","file5":"1399440571","file3":"1399440569"},"map_files_photo_id_array":[{"photo_id":"1399440571","filename":"file5"},{"photo_id":"1399440568","filename":"file2"},{"photo_id":"1399440570","filename":"file4"},{"photo_id":"1399440565","filename":"file1"},{"photo_id":"1399440554","filename":"file0"},{"photo_id":"1399440569","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399440570":["hashtag1","hashtag2"]},{"1399440569":["hashtag1","hashtag2"]},{"1399440554":["hashtag1","hashtag2"]},{"1399440571":["hashtag1","hashtag2"]},{"1399440565":["hashtag1","hashtag2"]},{"1399440568":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399440570, 1399440569, 1399440554, 1399440571, 1399440565, 1399440568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07712006568909 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 07:33:21.995079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/10/image_15122025_07_10_44_9710.jpg', '/home/pi/Desktop/images/15122025/07/10/image_15122025_07_10_54_9777.jpg', '/home/pi/Desktop/images/15122025/07/10/image_15122025_07_11_04_10031.jpg', '/home/pi/Desktop/images/15122025/07/11/image_15122025_07_11_14_10633.jpg', '/home/pi/Desktop/images/15122025/07/11/image_15122025_07_11_34_9734.jpg', '/home/pi/Desktop/images/15122025/07/11/image_15122025_07_11_45_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/10/image_15122025_07_10_44_9710.jpg
/home/pi/Desktop/images/15122025/07/10/image_15122025_07_10_54_9777.jpg
/home/pi/Desktop/images/15122025/07/10/image_15122025_07_11_04_10031.jpg
/home/pi/Desktop/images/15122025/07/11/image_15122025_07_11_14_10633.jpg
/home/pi/Desktop/images/15122025/07/11/image_15122025_07_11_34_9734.jpg
/home/pi/Desktop/images/15122025/07/11/image_15122025_07_11_45_10614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399440582","1399440576","1399440579","1399440584","1399440589","1399440586"],"photo_ids_order":["1399440576","1399440579","1399440582","1399440584","1399440586","1399440589"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7c47ac7f9af4f712d23b49c67e1fc879.jpg","text":"TemporaryFile(/tmp/multipartBody3685400017999991433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780462642,"filename":"image_15122025_07_11_04_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/15/52694db3344dab00f2b1888a7d2ce19f.jpg","text":"TemporaryFile(/tmp/multipartBody3570718658038572002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780462642,"filename":"image_15122025_07_10_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/15/ac546d21df16315729324568fbb63afa.jpg","text":"TemporaryFile(/tmp/multipartBody5638284337813288802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780462642,"filename":"image_15122025_07_10_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/15/d389ad04f7d327a2c9a8db990c558d79.jpg","text":"TemporaryFile(/tmp/multipartBody7751381646919689118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780462642,"filename":"image_15122025_07_11_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/15/8752e79023f9abf5282626ec434b8959.jpg","text":"TemporaryFile(/tmp/multipartBody6445939012514309038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780462642,"filename":"image_15122025_07_11_45_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ec06750ad7ce87d148c78830c527b6aa.jpg","text":"TemporaryFile(/tmp/multipartBody3737549964587112991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780462642,"filename":"image_15122025_07_11_34_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440582","file1":"1399440579","file0":"1399440576","file4":"1399440586","file5":"1399440589","file3":"1399440584"},"map_files_photo_id_array":[{"photo_id":"1399440589","filename":"file5"},{"photo_id":"1399440582","filename":"file2"},{"photo_id":"1399440586","filename":"file4"},{"photo_id":"1399440579","filename":"file1"},{"photo_id":"1399440576","filename":"file0"},{"photo_id":"1399440584","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399440582":["hashtag1","hashtag2"]},{"1399440576":["hashtag1","hashtag2"]},{"1399440579":["hashtag1","hashtag2"]},{"1399440584":["hashtag1","hashtag2"]},{"1399440589":["hashtag1","hashtag2"]},{"1399440586":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399440582, 1399440576, 1399440579, 1399440584, 1399440589, 1399440586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.642335653305054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 07:34:02.756231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/11/image_15122025_07_11_54_9575.jpg', '/home/pi/Desktop/images/15122025/07/11/image_15122025_07_12_04_9905.jpg', '/home/pi/Desktop/images/15122025/07/12/image_15122025_07_12_14_9798.jpg', '/home/pi/Desktop/images/15122025/07/12/image_15122025_07_12_24_10625.jpg', '/home/pi/Desktop/images/15122025/07/12/image_15122025_07_12_34_9650.jpg', '/home/pi/Desktop/images/15122025/07/12/image_15122025_07_12_44_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/11/image_15122025_07_11_54_9575.jpg
/home/pi/Desktop/images/15122025/07/11/image_15122025_07_12_04_9905.jpg
/home/pi/Desktop/images/15122025/07/12/image_15122025_07_12_14_9798.jpg
/home/pi/Desktop/images/15122025/07/12/image_15122025_07_12_24_10625.jpg
/home/pi/Desktop/images/15122025/07/12/image_15122025_07_12_34_9650.jpg
/home/pi/Desktop/images/15122025/07/12/image_15122025_07_12_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.5827305316925049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 07:34:12.098108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 07:34:22.109602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/11/image_15122025_07_11_54_9575.jpg', '/home/pi/Desktop/images/15122025/07/11/image_15122025_07_12_04_9905.jpg', '/home/pi/Desktop/images/15122025/07/12/image_15122025_07_12_14_9798.jpg', '/home/pi/Desktop/images/15122025/07/12/image_15122025_07_12_24_10625.jpg', '/home/pi/Desktop/images/15122025/07/12/image_15122025_07_12_34_9650.jpg', '/home/pi/Desktop/images/15122025/07/12/image_15122025_07_12_44_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/11/image_15122025_07_11_54_9575.jpg
/home/pi/Desktop/images/15122025/07/11/image_15122025_07_12_04_9905.jpg
/home/pi/Desktop/images/15122025/07/12/image_15122025_07_12_14_9798.jpg
/home/pi/Desktop/images/15122025/07/12/image_15122025_07_12_24_10625.jpg
/home/pi/Desktop/images/15122025/07/12/image_15122025_07_12_34_9650.jpg
/home/pi/Desktop/images/15122025/07/12/image_15122025_07_12_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":["1399440610","1399440607","1399440612","1399440615","1399440603","1399440605"],"photo_ids_order":["1399440603","1399440605","1399440607","1399440610","1399440612","1399440615"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5a9e8e7081fc6cb21eeaefe44df8b418.jpg","text":"TemporaryFile(/tmp/multipartBody6053188844275438664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780522721,"filename":"image_15122025_07_12_24_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/661d49f162256ca90b4e2d0982dee83d.jpg","text":"TemporaryFile(/tmp/multipartBody3469247244450779127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780522721,"filename":"image_15122025_07_12_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/15/8f368b4252647661949d858bf0f625a8.jpg","text":"TemporaryFile(/tmp/multipartBody6333320565454567567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780522721,"filename":"image_15122025_07_12_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/15/6f9c947196cf8f4e64c016720e8c617c.jpg","text":"TemporaryFile(/tmp/multipartBody845443020316099637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780522721,"filename":"image_15122025_07_12_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/15/63d80e609efed1da65eaf3c3dfda35a8.jpg","text":"TemporaryFile(/tmp/multipartBody3685243110930527680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780522721,"filename":"image_15122025_07_11_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/15/99c7d183d689b0c9fbda031d0a3eb929.jpg","text":"TemporaryFile(/tmp/multipartBody3872870079602707934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780522721,"filename":"image_15122025_07_12_04_9905.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440607","file1":"1399440605","file0":"1399440603","file4":"1399440612","file5":"1399440615","file3":"1399440610"},"map_files_photo_id_array":[{"photo_id":"1399440615","filename":"file5"},{"photo_id":"1399440607","filename":"file2"},{"photo_id":"1399440612","filename":"file4"},{"photo_id":"1399440605","filename":"file1"},{"photo_id":"1399440603","filename":"file0"},{"photo_id":"1399440610","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399440610":["hashtag1","hashtag2"]},{"1399440607":["hashtag1","hashtag2"]},{"1399440612":["hashtag1","hashtag2"]},{"1399440615":["hashtag1","hashtag2"]},{"1399440603":["hashtag1","hashtag2"]},{"1399440605":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399440610, 1399440607, 1399440612, 1399440615, 1399440603, 1399440605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72167229652405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 07:35:03.059282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/12/image_15122025_07_12_55_10861.jpg', '/home/pi/Desktop/images/15122025/07/12/image_15122025_07_13_04_9621.jpg', '/home/pi/Desktop/images/15122025/07/13/image_15122025_07_13_14_9639.jpg', '/home/pi/Desktop/images/15122025/07/13/image_15122025_07_13_25_10751.jpg', '/home/pi/Desktop/images/15122025/07/13/image_15122025_07_13_34_9740.jpg', '/home/pi/Desktop/images/15122025/07/13/image_15122025_07_13_44_9828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/12/image_15122025_07_12_55_10861.jpg
/home/pi/Desktop/images/15122025/07/12/image_15122025_07_13_04_9621.jpg
/home/pi/Desktop/images/15122025/07/13/image_15122025_07_13_14_9639.jpg
/home/pi/Desktop/images/15122025/07/13/image_15122025_07_13_25_10751.jpg
/home/pi/Desktop/images/15122025/07/13/image_15122025_07_13_34_9740.jpg
/home/pi/Desktop/images/15122025/07/13/image_15122025_07_13_44_9828.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399440636","1399440633","1399440627","1399440621","1399440629","1399440631"],"photo_ids_order":["1399440621","1399440627","1399440629","1399440631","1399440633","1399440636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/70df3455482d5ad417318233bd86b9ca.jpg","text":"TemporaryFile(/tmp/multipartBody1603939481175667776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780563791,"filename":"image_15122025_07_13_44_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fec3bb6c1000c6fbf35a6a91f147465b.jpg","text":"TemporaryFile(/tmp/multipartBody8356339198741523624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780563791,"filename":"image_15122025_07_13_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/15/5e27555330e042e9751f755e8f30c0d8.jpg","text":"TemporaryFile(/tmp/multipartBody1477161361429673382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780563791,"filename":"image_15122025_07_13_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/15/e236371452177d984705a5ed09fa7223.jpg","text":"TemporaryFile(/tmp/multipartBody5757364149076617893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780563791,"filename":"image_15122025_07_12_55_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/15/3f85d84b9bd28049d47dacd7d91b8ab1.jpg","text":"TemporaryFile(/tmp/multipartBody361938724037820045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780563791,"filename":"image_15122025_07_13_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/15/8fcf3cda7fb64befc1054170766b3e64.jpg","text":"TemporaryFile(/tmp/multipartBody2852310696570379580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780563791,"filename":"image_15122025_07_13_25_10751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440629","file1":"1399440627","file0":"1399440621","file4":"1399440633","file5":"1399440636","file3":"1399440631"},"map_files_photo_id_array":[{"photo_id":"1399440636","filename":"file5"},{"photo_id":"1399440629","filename":"file2"},{"photo_id":"1399440633","filename":"file4"},{"photo_id":"1399440627","filename":"file1"},{"photo_id":"1399440621","filename":"file0"},{"photo_id":"1399440631","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399440636":["hashtag1","hashtag2"]},{"1399440633":["hashtag1","hashtag2"]},{"1399440627":["hashtag1","hashtag2"]},{"1399440621":["hashtag1","hashtag2"]},{"1399440629":["hashtag1","hashtag2"]},{"1399440631":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399440636, 1399440633, 1399440627, 1399440621, 1399440629, 1399440631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01664876937866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 07:35:42.234259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_22_1536.jpg', '/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_24_1664.jpg', '/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_26_1604.jpg', '/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_29_3450.jpg', '/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_31_1576.jpg', '/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_32_1731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_22_1536.jpg
/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_24_1664.jpg
/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_26_1604.jpg
/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_29_3450.jpg
/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_31_1576.jpg
/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_32_1731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399440642","1399440645","1399440648","1399440647","1399440644","1399440646"],"photo_ids_order":["1399440642","1399440644","1399440645","1399440646","1399440647","1399440648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ac06a8089adac867c94175677d4e6ef8.jpg","text":"TemporaryFile(/tmp/multipartBody7836699038092495300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780602973,"filename":"image_05112025_14_09_22_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/15/aea5a1f4589f4ead8d93f89fec60c905.jpg","text":"TemporaryFile(/tmp/multipartBody5421059887081828727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780602973,"filename":"image_05112025_14_09_26_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/15/ce3d8f94dd5b7eeaa7cbac69bfced2d6.jpg","text":"TemporaryFile(/tmp/multipartBody7987689734650539862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780602973,"filename":"image_05112025_14_09_32_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/15/e9a369349a977e207573cc32a01412b6.jpg","text":"TemporaryFile(/tmp/multipartBody7090653650670891663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780602973,"filename":"image_05112025_14_09_31_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/15/dee337a00fa085ff2560fb7983114454.jpg","text":"TemporaryFile(/tmp/multipartBody8830624784449781569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780602973,"filename":"image_05112025_14_09_24_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/15/818dc4d274ef8f67a2d0617a85c0545e.jpg","text":"TemporaryFile(/tmp/multipartBody7530758890283864030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780602973,"filename":"image_05112025_14_09_29_3450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440645","file1":"1399440644","file0":"1399440642","file4":"1399440647","file5":"1399440648","file3":"1399440646"},"map_files_photo_id_array":[{"photo_id":"1399440648","filename":"file5"},{"photo_id":"1399440645","filename":"file2"},{"photo_id":"1399440647","filename":"file4"},{"photo_id":"1399440644","filename":"file1"},{"photo_id":"1399440642","filename":"file0"},{"photo_id":"1399440646","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399440642":["hashtag1","hashtag2"]},{"1399440645":["hashtag1","hashtag2"]},{"1399440648":["hashtag1","hashtag2"]},{"1399440647":["hashtag1","hashtag2"]},{"1399440644":["hashtag1","hashtag2"]},{"1399440646":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399440642, 1399440645, 1399440648, 1399440647, 1399440644, 1399440646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.771503925323486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 07:36:22.500161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/13/image_15122025_07_13_54_9647.jpg', '/home/pi/Desktop/images/15122025/07/13/image_15122025_07_14_04_9955.jpg', '/home/pi/Desktop/images/15122025/07/14/image_15122025_07_14_15_10824.jpg', '/home/pi/Desktop/images/15122025/07/14/image_15122025_07_14_24_9778.jpg', '/home/pi/Desktop/images/15122025/07/14/image_15122025_07_14_34_9561.jpg', '/home/pi/Desktop/images/15122025/07/14/image_15122025_07_14_44_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/13/image_15122025_07_13_54_9647.jpg
/home/pi/Desktop/images/15122025/07/13/image_15122025_07_14_04_9955.jpg
/home/pi/Desktop/images/15122025/07/14/image_15122025_07_14_15_10824.jpg
/home/pi/Desktop/images/15122025/07/14/image_15122025_07_14_24_9778.jpg
/home/pi/Desktop/images/15122025/07/14/image_15122025_07_14_34_9561.jpg
/home/pi/Desktop/images/15122025/07/14/image_15122025_07_14_44_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":["1399440672","1399440669","1399440657","1399440674","1399440653","1399440664"],"photo_ids_order":["1399440653","1399440657","1399440664","1399440669","1399440672","1399440674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7aedfd386fe9a46bdb04d5817a38b202.jpg","text":"TemporaryFile(/tmp/multipartBody8095733864917656886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780643173,"filename":"image_15122025_07_14_34_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1911e5639484c84ec852d6dbd5bd49a6.jpg","text":"TemporaryFile(/tmp/multipartBody6680217134544215612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780643173,"filename":"image_15122025_07_14_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/15/96c4858b982e9a02fa57f58214087fff.jpg","text":"TemporaryFile(/tmp/multipartBody8574987557930929077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780643173,"filename":"image_15122025_07_14_04_9955.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/41288815f3eee385107020908a89b4d6.jpg","text":"TemporaryFile(/tmp/multipartBody2936015263365089797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780643173,"filename":"image_15122025_07_14_44_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7498ad29c43d30c6919cf07bef1c7de2.jpg","text":"TemporaryFile(/tmp/multipartBody2831032729166541266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780643173,"filename":"image_15122025_07_13_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/15/3d021de5eb28a628df42e77a98eb47d8.jpg","text":"TemporaryFile(/tmp/multipartBody2505023455604593998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780643173,"filename":"image_15122025_07_14_15_10824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440664","file1":"1399440657","file0":"1399440653","file4":"1399440672","file5":"1399440674","file3":"1399440669"},"map_files_photo_id_array":[{"photo_id":"1399440674","filename":"file5"},{"photo_id":"1399440664","filename":"file2"},{"photo_id":"1399440672","filename":"file4"},{"photo_id":"1399440657","filename":"file1"},{"photo_id":"1399440653","filename":"file0"},{"photo_id":"1399440669","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399440672":["hashtag1","hashtag2"]},{"1399440669":["hashtag1","hashtag2"]},{"1399440657":["hashtag1","hashtag2"]},{"1399440674":["hashtag1","hashtag2"]},{"1399440653":["hashtag1","hashtag2"]},{"1399440664":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399440672, 1399440669, 1399440657, 1399440674, 1399440653, 1399440664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60131645202637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 07:37:03.424744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/14/image_15122025_07_14_55_10768.jpg', '/home/pi/Desktop/images/15122025/07/15/image_15122025_07_15_25_10667.jpg', '/home/pi/Desktop/images/15122025/07/15/image_15122025_07_15_34_9588.jpg', '/home/pi/Desktop/images/15122025/07/15/image_15122025_07_15_55_10818.jpg', '/home/pi/Desktop/images/15122025/07/15/image_15122025_07_16_04_9832.jpg', '/home/pi/Desktop/images/15122025/07/16/image_15122025_07_16_14_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/14/image_15122025_07_14_55_10768.jpg
/home/pi/Desktop/images/15122025/07/15/image_15122025_07_15_25_10667.jpg
/home/pi/Desktop/images/15122025/07/15/image_15122025_07_15_34_9588.jpg
/home/pi/Desktop/images/15122025/07/15/image_15122025_07_15_55_10818.jpg
/home/pi/Desktop/images/15122025/07/15/image_15122025_07_16_04_9832.jpg
/home/pi/Desktop/images/15122025/07/16/image_15122025_07_16_14_9675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399440690","1399440687","1399440695","1399440689","1399440682","1399440691"],"photo_ids_order":["1399440682","1399440687","1399440689","1399440690","1399440691","1399440695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bc4b2192d0d00a5c5957cd61b32fcabf.jpg","text":"TemporaryFile(/tmp/multipartBody8953918692648567354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780684101,"filename":"image_15122025_07_15_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/15/abb0f4907ff623d72b087e42f495bc4a.jpg","text":"TemporaryFile(/tmp/multipartBody2306990861992202576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780684101,"filename":"image_15122025_07_15_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/15/7aed8fafcff7e9979f6aaf19e5bbcf72.jpg","text":"TemporaryFile(/tmp/multipartBody4421919763800866555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780684101,"filename":"image_15122025_07_16_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/15/93b4e8cd6e36eff05f7eb9f0b22d8471.jpg","text":"TemporaryFile(/tmp/multipartBody3454706510411102160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780684101,"filename":"image_15122025_07_15_34_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c2b6a61f6b07863bcb508a82680a9d58.jpg","text":"TemporaryFile(/tmp/multipartBody1132229838770519379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780684101,"filename":"image_15122025_07_14_55_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/15/d8e065510cc73eeb30245fd081577b5a.jpg","text":"TemporaryFile(/tmp/multipartBody634628305538497749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780684101,"filename":"image_15122025_07_16_04_9832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440689","file1":"1399440687","file0":"1399440682","file4":"1399440691","file5":"1399440695","file3":"1399440690"},"map_files_photo_id_array":[{"photo_id":"1399440695","filename":"file5"},{"photo_id":"1399440689","filename":"file2"},{"photo_id":"1399440691","filename":"file4"},{"photo_id":"1399440687","filename":"file1"},{"photo_id":"1399440682","filename":"file0"},{"photo_id":"1399440690","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399440690":["hashtag1","hashtag2"]},{"1399440687":["hashtag1","hashtag2"]},{"1399440695":["hashtag1","hashtag2"]},{"1399440689":["hashtag1","hashtag2"]},{"1399440682":["hashtag1","hashtag2"]},{"1399440691":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399440690, 1399440687, 1399440695, 1399440689, 1399440682, 1399440691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05647611618042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 07:37:42.692045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_34_1503.jpg', '/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_36_1651.jpg', '/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_37_1587.jpg', '/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_39_1600.jpg', '/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_40_1648.jpg', '/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_42_1720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_34_1503.jpg
/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_36_1651.jpg
/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_37_1587.jpg
/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_39_1600.jpg
/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_40_1648.jpg
/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_42_1720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399440709","1399440705","1399440708","1399440702","1399440707","1399440706"],"photo_ids_order":["1399440702","1399440705","1399440706","1399440707","1399440708","1399440709"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/812ba2e358939f271453967978510c1a.jpg","text":"TemporaryFile(/tmp/multipartBody4960358296318586602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780723424,"filename":"image_05112025_14_09_42_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/15/540754a4e080fea70ab68c0fa7812ac8.jpg","text":"TemporaryFile(/tmp/multipartBody6177823962341265489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780723424,"filename":"image_05112025_14_09_36_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/15/5b5cb14ff8ceb4949a1dbdac5beb5509.jpg","text":"TemporaryFile(/tmp/multipartBody3534225642852561403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780723424,"filename":"image_05112025_14_09_40_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/15/ebbc429202390318735fd6db2f1b72ed.jpg","text":"TemporaryFile(/tmp/multipartBody7360908917082850142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780723424,"filename":"image_05112025_14_09_34_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/15/2392f9cf1950a7343fcf76f107f3e21d.jpg","text":"TemporaryFile(/tmp/multipartBody3827030593287065665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780723424,"filename":"image_05112025_14_09_39_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/15/fdc253e60bf607250aee262e22b7b4c4.jpg","text":"TemporaryFile(/tmp/multipartBody1090605260368419784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780723424,"filename":"image_05112025_14_09_37_1587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440706","file1":"1399440705","file0":"1399440702","file4":"1399440708","file5":"1399440709","file3":"1399440707"},"map_files_photo_id_array":[{"photo_id":"1399440709","filename":"file5"},{"photo_id":"1399440706","filename":"file2"},{"photo_id":"1399440708","filename":"file4"},{"photo_id":"1399440705","filename":"file1"},{"photo_id":"1399440702","filename":"file0"},{"photo_id":"1399440707","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399440709":["hashtag1","hashtag2"]},{"1399440705":["hashtag1","hashtag2"]},{"1399440708":["hashtag1","hashtag2"]},{"1399440702":["hashtag1","hashtag2"]},{"1399440707":["hashtag1","hashtag2"]},{"1399440706":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399440709, 1399440705, 1399440708, 1399440702, 1399440707, 1399440706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57940125465393 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 07:38:21.923022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/16/image_15122025_07_16_24_9713.jpg', '/home/pi/Desktop/images/15122025/07/16/image_15122025_07_16_34_10565.jpg', '/home/pi/Desktop/images/15122025/07/16/image_15122025_07_16_44_9855.jpg', '/home/pi/Desktop/images/15122025/07/16/image_15122025_07_16_54_9568.jpg', '/home/pi/Desktop/images/15122025/07/16/image_15122025_07_17_04_10565.jpg', '/home/pi/Desktop/images/15122025/07/17/image_15122025_07_17_14_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/16/image_15122025_07_16_24_9713.jpg
/home/pi/Desktop/images/15122025/07/16/image_15122025_07_16_34_10565.jpg
/home/pi/Desktop/images/15122025/07/16/image_15122025_07_16_44_9855.jpg
/home/pi/Desktop/images/15122025/07/16/image_15122025_07_16_54_9568.jpg
/home/pi/Desktop/images/15122025/07/16/image_15122025_07_17_04_10565.jpg
/home/pi/Desktop/images/15122025/07/17/image_15122025_07_17_14_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":["1399440738","1399440722","1399440716","1399440719","1399440724","1399440727"],"photo_ids_order":["1399440716","1399440719","1399440722","1399440724","1399440727","1399440738"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2dfb848e9c9cb90f5a21cbe432e39c3d.jpg","text":"TemporaryFile(/tmp/multipartBody1894681445943418226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780762575,"filename":"image_15122025_07_17_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/15/4ef563fd941e0b07d2d2ed3436217cc1.jpg","text":"TemporaryFile(/tmp/multipartBody5891709944338520819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780762575,"filename":"image_15122025_07_16_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/15/a04124efbfeee1410bbb2fa73b05dae9.jpg","text":"TemporaryFile(/tmp/multipartBody222525764297336630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780762575,"filename":"image_15122025_07_16_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/15/d2127d4b8ae89e3aeaa2ecec15eb83ff.jpg","text":"TemporaryFile(/tmp/multipartBody4470801290388928217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780762575,"filename":"image_15122025_07_16_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/15/cb13c129ffd48d1217c4347492a68517.jpg","text":"TemporaryFile(/tmp/multipartBody5051021396839325624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780762575,"filename":"image_15122025_07_16_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/15/73b89e2ef94b02c1858c765fbdda4652.jpg","text":"TemporaryFile(/tmp/multipartBody5306838630340525154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780762575,"filename":"image_15122025_07_17_04_10565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440722","file1":"1399440719","file0":"1399440716","file4":"1399440727","file5":"1399440738","file3":"1399440724"},"map_files_photo_id_array":[{"photo_id":"1399440738","filename":"file5"},{"photo_id":"1399440722","filename":"file2"},{"photo_id":"1399440727","filename":"file4"},{"photo_id":"1399440719","filename":"file1"},{"photo_id":"1399440716","filename":"file0"},{"photo_id":"1399440724","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399440738":["hashtag1","hashtag2"]},{"1399440722":["hashtag1","hashtag2"]},{"1399440716":["hashtag1","hashtag2"]},{"1399440719":["hashtag1","hashtag2"]},{"1399440724":["hashtag1","hashtag2"]},{"1399440727":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399440738, 1399440722, 1399440716, 1399440719, 1399440724, 1399440727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.596673011779785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 07:39:02.796851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/17/image_15122025_07_17_24_9739.jpg', '/home/pi/Desktop/images/15122025/07/17/image_15122025_07_17_34_10621.jpg', '/home/pi/Desktop/images/15122025/07/17/image_15122025_07_17_44_9550.jpg', '/home/pi/Desktop/images/15122025/07/17/image_15122025_07_17_55_10581.jpg', '/home/pi/Desktop/images/15122025/07/17/image_15122025_07_18_04_9726.jpg', '/home/pi/Desktop/images/15122025/07/18/image_15122025_07_18_14_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/17/image_15122025_07_17_24_9739.jpg
/home/pi/Desktop/images/15122025/07/17/image_15122025_07_17_34_10621.jpg
/home/pi/Desktop/images/15122025/07/17/image_15122025_07_17_44_9550.jpg
/home/pi/Desktop/images/15122025/07/17/image_15122025_07_17_55_10581.jpg
/home/pi/Desktop/images/15122025/07/17/image_15122025_07_18_04_9726.jpg
/home/pi/Desktop/images/15122025/07/18/image_15122025_07_18_14_9698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399440750","1399440747","1399440752","1399440760","1399440757","1399440754"],"photo_ids_order":["1399440747","1399440750","1399440752","1399440754","1399440757","1399440760"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c6a934ab7a2bac2ac0f9211ff9bc8d77.jpg","text":"TemporaryFile(/tmp/multipartBody176598691996420407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780803628,"filename":"image_15122025_07_17_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/15/01242d90b4fe3e293b1093bcc64b59d2.jpg","text":"TemporaryFile(/tmp/multipartBody2891291679422058991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780803628,"filename":"image_15122025_07_17_24_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ed0701c28f4ff480ce6447471d5caab2.jpg","text":"TemporaryFile(/tmp/multipartBody6705050846053837094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780803628,"filename":"image_15122025_07_17_44_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/15/3344c0aecae00a958c6f56ee6b6f1767.jpg","text":"TemporaryFile(/tmp/multipartBody6373547217933326783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780803628,"filename":"image_15122025_07_18_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/15/2d179e191f79d97ebae7cc0eb725a5de.jpg","text":"TemporaryFile(/tmp/multipartBody8502465932376484514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780803628,"filename":"image_15122025_07_18_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/15/bc6a549f01c6ae79a0b5063f685ed730.jpg","text":"TemporaryFile(/tmp/multipartBody5055702089433606990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780803628,"filename":"image_15122025_07_17_55_10581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440752","file1":"1399440750","file0":"1399440747","file4":"1399440757","file5":"1399440760","file3":"1399440754"},"map_files_photo_id_array":[{"photo_id":"1399440760","filename":"file5"},{"photo_id":"1399440752","filename":"file2"},{"photo_id":"1399440757","filename":"file4"},{"photo_id":"1399440750","filename":"file1"},{"photo_id":"1399440747","filename":"file0"},{"photo_id":"1399440754","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399440750":["hashtag1","hashtag2"]},{"1399440747":["hashtag1","hashtag2"]},{"1399440752":["hashtag1","hashtag2"]},{"1399440760":["hashtag1","hashtag2"]},{"1399440757":["hashtag1","hashtag2"]},{"1399440754":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399440750, 1399440747, 1399440752, 1399440760, 1399440757, 1399440754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.275956869125366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 07:39:42.209558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_44_1557.jpg', '/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_45_1730.jpg', '/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_47_1671.jpg', '/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_50_2918.jpg', '/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_59_9063.jpg', '/home/pi/Desktop/images/05112025/14/10/image_05112025_14_10_01_1653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_44_1557.jpg
/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_45_1730.jpg
/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_47_1671.jpg
/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_50_2918.jpg
/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_59_9063.jpg
/home/pi/Desktop/images/05112025/14/10/image_05112025_14_10_01_1653.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.598212480545044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 07:40:02.814322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/18/image_15122025_07_18_25_10655.jpg', '/home/pi/Desktop/images/15122025/07/18/image_15122025_07_18_34_9580.jpg', '/home/pi/Desktop/images/15122025/07/18/image_15122025_07_18_44_9562.jpg', '/home/pi/Desktop/images/15122025/07/18/image_15122025_07_18_54_10661.jpg', '/home/pi/Desktop/images/15122025/07/18/image_15122025_07_19_04_9727.jpg', '/home/pi/Desktop/images/15122025/07/19/image_15122025_07_19_14_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/18/image_15122025_07_18_25_10655.jpg
/home/pi/Desktop/images/15122025/07/18/image_15122025_07_18_34_9580.jpg
/home/pi/Desktop/images/15122025/07/18/image_15122025_07_18_44_9562.jpg
/home/pi/Desktop/images/15122025/07/18/image_15122025_07_18_54_10661.jpg
/home/pi/Desktop/images/15122025/07/18/image_15122025_07_19_04_9727.jpg
/home/pi/Desktop/images/15122025/07/19/image_15122025_07_19_14_9700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399440774","1399440776","1399440779","1399440781","1399440778","1399440772"],"photo_ids_order":["1399440772","1399440774","1399440776","1399440778","1399440779","1399440781"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8bf2b74e72edfd163e27c2eec9872d8e.jpg","text":"TemporaryFile(/tmp/multipartBody2139551711960556663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780863457,"filename":"image_15122025_07_18_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/15/258d98b68e2aa3db594d47ad94a8e21a.jpg","text":"TemporaryFile(/tmp/multipartBody5029106298454750054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780863457,"filename":"image_15122025_07_18_44_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/15/51c60a63231012a65d944e8574b6eb1f.jpg","text":"TemporaryFile(/tmp/multipartBody358464474550802093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780863457,"filename":"image_15122025_07_19_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/15/c60c392451b8eae8d077e3c4ef145b7e.jpg","text":"TemporaryFile(/tmp/multipartBody2613445039540064880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780863457,"filename":"image_15122025_07_19_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/15/41c5445efb7e1229d5c5f651e3e96337.jpg","text":"TemporaryFile(/tmp/multipartBody4456500585438742441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780863457,"filename":"image_15122025_07_18_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/15/2a8790829490970f11cec8b8e07babf3.jpg","text":"TemporaryFile(/tmp/multipartBody9015269052176309791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780863457,"filename":"image_15122025_07_18_25_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440776","file1":"1399440774","file0":"1399440772","file4":"1399440779","file5":"1399440781","file3":"1399440778"},"map_files_photo_id_array":[{"photo_id":"1399440781","filename":"file5"},{"photo_id":"1399440776","filename":"file2"},{"photo_id":"1399440779","filename":"file4"},{"photo_id":"1399440774","filename":"file1"},{"photo_id":"1399440772","filename":"file0"},{"photo_id":"1399440778","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399440774":["hashtag1","hashtag2"]},{"1399440776":["hashtag1","hashtag2"]},{"1399440779":["hashtag1","hashtag2"]},{"1399440781":["hashtag1","hashtag2"]},{"1399440778":["hashtag1","hashtag2"]},{"1399440772":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399440774, 1399440776, 1399440779, 1399440781, 1399440778, 1399440772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.855080366134644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 07:40:42.503922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_44_1557.jpg', '/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_45_1730.jpg', '/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_47_1671.jpg', '/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_50_2918.jpg', '/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_59_9063.jpg', '/home/pi/Desktop/images/05112025/14/10/image_05112025_14_10_01_1653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_44_1557.jpg
/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_45_1730.jpg
/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_47_1671.jpg
/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_50_2918.jpg
/home/pi/Desktop/images/05112025/14/09/image_05112025_14_09_59_9063.jpg
/home/pi/Desktop/images/05112025/14/10/image_05112025_14_10_01_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":["1399440795","1399440794","1399440797","1399440791","1399440793","1399440796"],"photo_ids_order":["1399440791","1399440793","1399440794","1399440795","1399440796","1399440797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/154a3747ea708acd58997fcf86977516.jpg","text":"TemporaryFile(/tmp/multipartBody4751043967887796243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780903095,"filename":"image_05112025_14_09_50_2918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6b4f531707f056d947d0275a761301a3.jpg","text":"TemporaryFile(/tmp/multipartBody8865813136767439136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780903095,"filename":"image_05112025_14_09_47_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/15/2effc6cee575f8040f065e758e6a925d.jpg","text":"TemporaryFile(/tmp/multipartBody9170712691263810168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780903095,"filename":"image_05112025_14_10_01_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/15/4cabff07bc7eb1eb002f2b2e382f5d08.jpg","text":"TemporaryFile(/tmp/multipartBody499731457386392196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780903095,"filename":"image_05112025_14_09_44_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/15/0de82adac1000c6891048d4dc22525f7.jpg","text":"TemporaryFile(/tmp/multipartBody8194655076629798439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780903095,"filename":"image_05112025_14_09_45_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/15/8149445b907106a3eb65bd2afe02a93f.jpg","text":"TemporaryFile(/tmp/multipartBody786985775226053275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780903095,"filename":"image_05112025_14_09_59_9063.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440794","file1":"1399440793","file0":"1399440791","file4":"1399440796","file5":"1399440797","file3":"1399440795"},"map_files_photo_id_array":[{"photo_id":"1399440797","filename":"file5"},{"photo_id":"1399440794","filename":"file2"},{"photo_id":"1399440796","filename":"file4"},{"photo_id":"1399440793","filename":"file1"},{"photo_id":"1399440791","filename":"file0"},{"photo_id":"1399440795","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399440795":["hashtag1","hashtag2"]},{"1399440794":["hashtag1","hashtag2"]},{"1399440797":["hashtag1","hashtag2"]},{"1399440791":["hashtag1","hashtag2"]},{"1399440793":["hashtag1","hashtag2"]},{"1399440796":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399440795, 1399440794, 1399440797, 1399440791, 1399440793, 1399440796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22709846496582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 07:41:22.891637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/19/image_15122025_07_19_34_9730.jpg', '/home/pi/Desktop/images/15122025/07/19/image_15122025_07_19_44_9744.jpg', '/home/pi/Desktop/images/15122025/07/19/image_15122025_07_19_54_9690.jpg', '/home/pi/Desktop/images/15122025/07/19/image_15122025_07_20_04_10731.jpg', '/home/pi/Desktop/images/15122025/07/20/image_15122025_07_20_14_9515.jpg', '/home/pi/Desktop/images/15122025/07/20/image_15122025_07_20_24_9753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/19/image_15122025_07_19_34_9730.jpg
/home/pi/Desktop/images/15122025/07/19/image_15122025_07_19_44_9744.jpg
/home/pi/Desktop/images/15122025/07/19/image_15122025_07_19_54_9690.jpg
/home/pi/Desktop/images/15122025/07/19/image_15122025_07_20_04_10731.jpg
/home/pi/Desktop/images/15122025/07/20/image_15122025_07_20_14_9515.jpg
/home/pi/Desktop/images/15122025/07/20/image_15122025_07_20_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":["1399440817","1399440831","1399440825","1399440828","1399440823","1399440826"],"photo_ids_order":["1399440817","1399440823","1399440825","1399440826","1399440828","1399440831"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/53cd153e2b29c8b46ed34ad51404e711.jpg","text":"TemporaryFile(/tmp/multipartBody1976463523710763447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780943508,"filename":"image_15122025_07_19_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/15/971b443c0995f914de75b5b0bf2e613c.jpg","text":"TemporaryFile(/tmp/multipartBody7851944918310924305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780943508,"filename":"image_15122025_07_20_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/15/05a4eb0cac2b051c630383107976b9bf.jpg","text":"TemporaryFile(/tmp/multipartBody7417663466797142254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780943508,"filename":"image_15122025_07_19_54_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dcdec46e7ca290a11f6d830881b05a06.jpg","text":"TemporaryFile(/tmp/multipartBody1067395799773256990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780943508,"filename":"image_15122025_07_20_14_9515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cd74b321e413dbf9dcdf5bc65a8abd55.jpg","text":"TemporaryFile(/tmp/multipartBody15907250964194316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780943508,"filename":"image_15122025_07_19_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/15/1188f224c6343ffceb339f64e904d9c9.jpg","text":"TemporaryFile(/tmp/multipartBody2325945308888057898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765780943508,"filename":"image_15122025_07_20_04_10731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440825","file1":"1399440823","file0":"1399440817","file4":"1399440828","file5":"1399440831","file3":"1399440826"},"map_files_photo_id_array":[{"photo_id":"1399440831","filename":"file5"},{"photo_id":"1399440825","filename":"file2"},{"photo_id":"1399440828","filename":"file4"},{"photo_id":"1399440823","filename":"file1"},{"photo_id":"1399440817","filename":"file0"},{"photo_id":"1399440826","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399440817":["hashtag1","hashtag2"]},{"1399440831":["hashtag1","hashtag2"]},{"1399440825":["hashtag1","hashtag2"]},{"1399440828":["hashtag1","hashtag2"]},{"1399440823":["hashtag1","hashtag2"]},{"1399440826":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399440817, 1399440831, 1399440825, 1399440828, 1399440823, 1399440826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.897942304611206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 07:42:02.603092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/20/image_15122025_07_20_35_10827.jpg', '/home/pi/Desktop/images/15122025/07/20/image_15122025_07_20_44_9638.jpg', '/home/pi/Desktop/images/15122025/07/20/image_15122025_07_20_54_9751.jpg', '/home/pi/Desktop/images/15122025/07/20/image_15122025_07_21_05_10716.jpg', '/home/pi/Desktop/images/15122025/07/21/image_15122025_07_21_14_9666.jpg', '/home/pi/Desktop/images/15122025/07/21/image_15122025_07_21_24_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/20/image_15122025_07_20_35_10827.jpg
/home/pi/Desktop/images/15122025/07/20/image_15122025_07_20_44_9638.jpg
/home/pi/Desktop/images/15122025/07/20/image_15122025_07_20_54_9751.jpg
/home/pi/Desktop/images/15122025/07/20/image_15122025_07_21_05_10716.jpg
/home/pi/Desktop/images/15122025/07/21/image_15122025_07_21_14_9666.jpg
/home/pi/Desktop/images/15122025/07/21/image_15122025_07_21_24_9791.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5407848358154297 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 07:42:12.158263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 07:42:22.163354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/20/image_15122025_07_20_35_10827.jpg', '/home/pi/Desktop/images/15122025/07/20/image_15122025_07_20_44_9638.jpg', '/home/pi/Desktop/images/15122025/07/20/image_15122025_07_20_54_9751.jpg', '/home/pi/Desktop/images/15122025/07/20/image_15122025_07_21_05_10716.jpg', '/home/pi/Desktop/images/15122025/07/21/image_15122025_07_21_14_9666.jpg', '/home/pi/Desktop/images/15122025/07/21/image_15122025_07_21_24_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/20/image_15122025_07_20_35_10827.jpg
/home/pi/Desktop/images/15122025/07/20/image_15122025_07_20_44_9638.jpg
/home/pi/Desktop/images/15122025/07/20/image_15122025_07_20_54_9751.jpg
/home/pi/Desktop/images/15122025/07/20/image_15122025_07_21_05_10716.jpg
/home/pi/Desktop/images/15122025/07/21/image_15122025_07_21_14_9666.jpg
/home/pi/Desktop/images/15122025/07/21/image_15122025_07_21_24_9791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399440876","1399440881","1399440863","1399440860","1399440868","1399440865"],"photo_ids_order":["1399440860","1399440863","1399440865","1399440868","1399440876","1399440881"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7036697bb7c05e00dfb8b4ca8799778b.jpg","text":"TemporaryFile(/tmp/multipartBody2754655405460529643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781002789,"filename":"image_15122025_07_21_14_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/798c2c2acd03e06e34ea6299bbd3372a.jpg","text":"TemporaryFile(/tmp/multipartBody2807538174149759256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781002789,"filename":"image_15122025_07_21_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/15/f20c35cf34c2353a1b65f538b80fa63a.jpg","text":"TemporaryFile(/tmp/multipartBody8116760065960945652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781002789,"filename":"image_15122025_07_20_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/15/e4c42251bae8a992ae3afc95bdc83ef8.jpg","text":"TemporaryFile(/tmp/multipartBody8615118997603426465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781002789,"filename":"image_15122025_07_20_35_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/15/9976fa3cb3e44aa1a2c40a02bb2cf295.jpg","text":"TemporaryFile(/tmp/multipartBody8116471929749223405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781002789,"filename":"image_15122025_07_21_05_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/15/fa02ebb04236f1ee9797bc0ed5e70b4b.jpg","text":"TemporaryFile(/tmp/multipartBody4126461229627902283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781002789,"filename":"image_15122025_07_20_54_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440865","file1":"1399440863","file0":"1399440860","file4":"1399440876","file5":"1399440881","file3":"1399440868"},"map_files_photo_id_array":[{"photo_id":"1399440881","filename":"file5"},{"photo_id":"1399440865","filename":"file2"},{"photo_id":"1399440876","filename":"file4"},{"photo_id":"1399440863","filename":"file1"},{"photo_id":"1399440860","filename":"file0"},{"photo_id":"1399440868","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399440876":["hashtag1","hashtag2"]},{"1399440881":["hashtag1","hashtag2"]},{"1399440863":["hashtag1","hashtag2"]},{"1399440860":["hashtag1","hashtag2"]},{"1399440868":["hashtag1","hashtag2"]},{"1399440865":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399440876, 1399440881, 1399440863, 1399440860, 1399440868, 1399440865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73740100860596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 07:43:02.943760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/21/image_15122025_07_21_34_9766.jpg', '/home/pi/Desktop/images/15122025/07/21/image_15122025_07_21_44_10617.jpg', '/home/pi/Desktop/images/15122025/07/21/image_15122025_07_21_54_9714.jpg', '/home/pi/Desktop/images/15122025/07/21/image_15122025_07_22_04_9685.jpg', '/home/pi/Desktop/images/15122025/07/22/image_15122025_07_22_15_10642.jpg', '/home/pi/Desktop/images/15122025/07/22/image_15122025_07_22_24_9881.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/21/image_15122025_07_21_34_9766.jpg
/home/pi/Desktop/images/15122025/07/21/image_15122025_07_21_44_10617.jpg
/home/pi/Desktop/images/15122025/07/21/image_15122025_07_21_54_9714.jpg
/home/pi/Desktop/images/15122025/07/21/image_15122025_07_22_04_9685.jpg
/home/pi/Desktop/images/15122025/07/22/image_15122025_07_22_15_10642.jpg
/home/pi/Desktop/images/15122025/07/22/image_15122025_07_22_24_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":["1399440897","1399440893","1399440896","1399440899","1399440890","1399440892"],"photo_ids_order":["1399440890","1399440892","1399440893","1399440896","1399440897","1399440899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3b839cf97dc4c67ded4c54ee691ef27f.jpg","text":"TemporaryFile(/tmp/multipartBody1466868406117068481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781043616,"filename":"image_15122025_07_22_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/15/1eab8e1fd7e9ff6152fc7e6a0d205711.jpg","text":"TemporaryFile(/tmp/multipartBody130040835993536983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781043616,"filename":"image_15122025_07_21_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/15/03e978a2a3db3e11db990edbd79df053.jpg","text":"TemporaryFile(/tmp/multipartBody6568466101346708205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781043616,"filename":"image_15122025_07_22_04_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a4469f37a35a71914cd16b5a60e96041.jpg","text":"TemporaryFile(/tmp/multipartBody6356764049802521768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781043616,"filename":"image_15122025_07_22_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/15/7d26db469bc14bc877e3a6f70b5661c0.jpg","text":"TemporaryFile(/tmp/multipartBody7833966802848987369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781043616,"filename":"image_15122025_07_21_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/15/f90d55967cac749214ab926876f476f2.jpg","text":"TemporaryFile(/tmp/multipartBody6345819529334475202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781043616,"filename":"image_15122025_07_21_44_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440893","file1":"1399440892","file0":"1399440890","file4":"1399440897","file5":"1399440899","file3":"1399440896"},"map_files_photo_id_array":[{"photo_id":"1399440899","filename":"file5"},{"photo_id":"1399440893","filename":"file2"},{"photo_id":"1399440897","filename":"file4"},{"photo_id":"1399440892","filename":"file1"},{"photo_id":"1399440890","filename":"file0"},{"photo_id":"1399440896","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399440897":["hashtag1","hashtag2"]},{"1399440893":["hashtag1","hashtag2"]},{"1399440896":["hashtag1","hashtag2"]},{"1399440899":["hashtag1","hashtag2"]},{"1399440890":["hashtag1","hashtag2"]},{"1399440892":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399440897, 1399440893, 1399440896, 1399440899, 1399440890, 1399440892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.001057147979736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 07:43:42.395553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/10/image_05112025_14_10_05_4412.jpg', '/home/pi/Desktop/images/05112025/14/10/image_05112025_14_10_29_23504.jpg', '/home/pi/Desktop/images/05112025/14/10/image_05112025_14_10_30_1723.jpg', '/home/pi/Desktop/images/05112025/14/10/image_05112025_14_10_41_10267.jpg', '/home/pi/Desktop/images/05112025/14/10/image_05112025_14_10_42_1644.jpg', '/home/pi/Desktop/images/05112025/14/10/image_05112025_14_10_47_4386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/10/image_05112025_14_10_05_4412.jpg
/home/pi/Desktop/images/05112025/14/10/image_05112025_14_10_29_23504.jpg
/home/pi/Desktop/images/05112025/14/10/image_05112025_14_10_30_1723.jpg
/home/pi/Desktop/images/05112025/14/10/image_05112025_14_10_41_10267.jpg
/home/pi/Desktop/images/05112025/14/10/image_05112025_14_10_42_1644.jpg
/home/pi/Desktop/images/05112025/14/10/image_05112025_14_10_47_4386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399440912","1399440909","1399440911","1399440908","1399440910","1399440904"],"photo_ids_order":["1399440904","1399440908","1399440909","1399440910","1399440911","1399440912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/463474f7d9641c71b9ffdac9c0ceebe6.jpg","text":"TemporaryFile(/tmp/multipartBody8729728609469018587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781083098,"filename":"image_05112025_14_10_47_4386.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/547a73ea2b045aae0d58a172a20da630.jpg","text":"TemporaryFile(/tmp/multipartBody6045774803433569404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781083098,"filename":"image_05112025_14_10_30_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/15/954c5242f513c950b86f6499bb1eded6.jpg","text":"TemporaryFile(/tmp/multipartBody8214121524556651897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781083098,"filename":"image_05112025_14_10_42_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/15/5e4349766579542d01054424089d0bae.jpg","text":"TemporaryFile(/tmp/multipartBody4427946906691583736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781083098,"filename":"image_05112025_14_10_29_23504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8e46a4bb329cc7a02c81e9bf6865dee4.jpg","text":"TemporaryFile(/tmp/multipartBody8555059513692770063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781083098,"filename":"image_05112025_14_10_41_10267.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/91d0749e0f0373bc86b8bbdc51f19d14.jpg","text":"TemporaryFile(/tmp/multipartBody2320663829537181869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781083098,"filename":"image_05112025_14_10_05_4412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440909","file1":"1399440908","file0":"1399440904","file4":"1399440911","file5":"1399440912","file3":"1399440910"},"map_files_photo_id_array":[{"photo_id":"1399440912","filename":"file5"},{"photo_id":"1399440909","filename":"file2"},{"photo_id":"1399440911","filename":"file4"},{"photo_id":"1399440908","filename":"file1"},{"photo_id":"1399440904","filename":"file0"},{"photo_id":"1399440910","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399440912":["hashtag1","hashtag2"]},{"1399440909":["hashtag1","hashtag2"]},{"1399440911":["hashtag1","hashtag2"]},{"1399440908":["hashtag1","hashtag2"]},{"1399440910":["hashtag1","hashtag2"]},{"1399440904":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399440912, 1399440909, 1399440911, 1399440908, 1399440910, 1399440904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20116329193115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 07:44:22.731844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/22/image_15122025_07_22_34_9779.jpg', '/home/pi/Desktop/images/15122025/07/22/image_15122025_07_22_44_9643.jpg', '/home/pi/Desktop/images/15122025/07/22/image_15122025_07_22_54_10581.jpg', '/home/pi/Desktop/images/15122025/07/22/image_15122025_07_23_04_9672.jpg', '/home/pi/Desktop/images/15122025/07/23/image_15122025_07_23_14_9766.jpg', '/home/pi/Desktop/images/15122025/07/23/image_15122025_07_23_25_10840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/22/image_15122025_07_22_34_9779.jpg
/home/pi/Desktop/images/15122025/07/22/image_15122025_07_22_44_9643.jpg
/home/pi/Desktop/images/15122025/07/22/image_15122025_07_22_54_10581.jpg
/home/pi/Desktop/images/15122025/07/22/image_15122025_07_23_04_9672.jpg
/home/pi/Desktop/images/15122025/07/23/image_15122025_07_23_14_9766.jpg
/home/pi/Desktop/images/15122025/07/23/image_15122025_07_23_25_10840.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399440928","1399440921","1399440930","1399440932","1399440935","1399440925"],"photo_ids_order":["1399440921","1399440925","1399440928","1399440930","1399440932","1399440935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a392dbcc1582c7bb4a185d2ff942b0c7.jpg","text":"TemporaryFile(/tmp/multipartBody1767810545426546418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781123381,"filename":"image_15122025_07_22_54_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/15/6e6205003d41d5d96b96b762181c14b9.jpg","text":"TemporaryFile(/tmp/multipartBody2961158837793014930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781123381,"filename":"image_15122025_07_22_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/15/45579224228117bb215d41ba1bac0455.jpg","text":"TemporaryFile(/tmp/multipartBody5298708263355766794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781123381,"filename":"image_15122025_07_23_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/15/d4bce26098124532eff3a3ce4bd89250.jpg","text":"TemporaryFile(/tmp/multipartBody4539970521401534589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781123381,"filename":"image_15122025_07_23_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/15/22e0b77218c619c1c00c03bfa7ca5ccd.jpg","text":"TemporaryFile(/tmp/multipartBody8584345265728305580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781123381,"filename":"image_15122025_07_23_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/15/237fb5658d3e71f4ec44613d9e467b82.jpg","text":"TemporaryFile(/tmp/multipartBody8072648506181493761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781123381,"filename":"image_15122025_07_22_44_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440928","file1":"1399440925","file0":"1399440921","file4":"1399440932","file5":"1399440935","file3":"1399440930"},"map_files_photo_id_array":[{"photo_id":"1399440935","filename":"file5"},{"photo_id":"1399440928","filename":"file2"},{"photo_id":"1399440932","filename":"file4"},{"photo_id":"1399440925","filename":"file1"},{"photo_id":"1399440921","filename":"file0"},{"photo_id":"1399440930","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399440928":["hashtag1","hashtag2"]},{"1399440921":["hashtag1","hashtag2"]},{"1399440930":["hashtag1","hashtag2"]},{"1399440932":["hashtag1","hashtag2"]},{"1399440935":["hashtag1","hashtag2"]},{"1399440925":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399440928, 1399440921, 1399440930, 1399440932, 1399440935, 1399440925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78088736534119 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 07:45:02.842679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/23/image_15122025_07_23_34_9731.jpg', '/home/pi/Desktop/images/15122025/07/23/image_15122025_07_23_44_9690.jpg', '/home/pi/Desktop/images/15122025/07/23/image_15122025_07_23_54_9854.jpg', '/home/pi/Desktop/images/15122025/07/23/image_15122025_07_24_05_10732.jpg', '/home/pi/Desktop/images/15122025/07/24/image_15122025_07_24_15_9949.jpg', '/home/pi/Desktop/images/15122025/07/24/image_15122025_07_24_24_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/23/image_15122025_07_23_34_9731.jpg
/home/pi/Desktop/images/15122025/07/23/image_15122025_07_23_44_9690.jpg
/home/pi/Desktop/images/15122025/07/23/image_15122025_07_23_54_9854.jpg
/home/pi/Desktop/images/15122025/07/23/image_15122025_07_24_05_10732.jpg
/home/pi/Desktop/images/15122025/07/24/image_15122025_07_24_15_9949.jpg
/home/pi/Desktop/images/15122025/07/24/image_15122025_07_24_24_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":["1399440966","1399440969","1399440965","1399440950","1399440967","1399440964"],"photo_ids_order":["1399440950","1399440964","1399440965","1399440966","1399440967","1399440969"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0c03d10a85518fad7a535208e046122d.jpg","text":"TemporaryFile(/tmp/multipartBody8593469144965351132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781163534,"filename":"image_15122025_07_24_05_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c854d9a4ba2b5313b7e5b083704f2bc1.jpg","text":"TemporaryFile(/tmp/multipartBody7536600230016254493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781163534,"filename":"image_15122025_07_24_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/15/bf77a80194ec435588eb9c7d0032151c.jpg","text":"TemporaryFile(/tmp/multipartBody1962269363628645886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781163534,"filename":"image_15122025_07_23_54_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/94f6d88f43f6e40f116f540aa074f7ab.jpg","text":"TemporaryFile(/tmp/multipartBody6941717908394938391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781163534,"filename":"image_15122025_07_23_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/15/18b1cc1406e37ca65a4cd1d3146a933f.jpg","text":"TemporaryFile(/tmp/multipartBody3793609252911200771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781163534,"filename":"image_15122025_07_24_15_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/15/8aa9c619b276ed7602fa300c84ff7e28.jpg","text":"TemporaryFile(/tmp/multipartBody4205407312588120875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781163534,"filename":"image_15122025_07_23_44_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440965","file1":"1399440964","file0":"1399440950","file4":"1399440967","file5":"1399440969","file3":"1399440966"},"map_files_photo_id_array":[{"photo_id":"1399440969","filename":"file5"},{"photo_id":"1399440965","filename":"file2"},{"photo_id":"1399440967","filename":"file4"},{"photo_id":"1399440964","filename":"file1"},{"photo_id":"1399440950","filename":"file0"},{"photo_id":"1399440966","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399440966":["hashtag1","hashtag2"]},{"1399440969":["hashtag1","hashtag2"]},{"1399440965":["hashtag1","hashtag2"]},{"1399440950":["hashtag1","hashtag2"]},{"1399440967":["hashtag1","hashtag2"]},{"1399440964":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399440966, 1399440969, 1399440965, 1399440950, 1399440967, 1399440964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20289373397827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 07:45:42.016859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/10/image_05112025_14_10_48_1706.jpg', '/home/pi/Desktop/images/05112025/14/10/image_05112025_14_10_50_1597.jpg', '/home/pi/Desktop/images/05112025/14/10/image_05112025_14_10_52_1624.jpg', '/home/pi/Desktop/images/05112025/14/10/image_05112025_14_10_55_1566.jpg', '/home/pi/Desktop/images/05112025/14/10/image_05112025_14_10_57_1765.jpg', '/home/pi/Desktop/images/05112025/14/10/image_05112025_14_10_58_1698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/10/image_05112025_14_10_48_1706.jpg
/home/pi/Desktop/images/05112025/14/10/image_05112025_14_10_50_1597.jpg
/home/pi/Desktop/images/05112025/14/10/image_05112025_14_10_52_1624.jpg
/home/pi/Desktop/images/05112025/14/10/image_05112025_14_10_55_1566.jpg
/home/pi/Desktop/images/05112025/14/10/image_05112025_14_10_57_1765.jpg
/home/pi/Desktop/images/05112025/14/10/image_05112025_14_10_58_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":["1399440978","1399440981","1399440975","1399440980","1399440982","1399440979"],"photo_ids_order":["1399440975","1399440978","1399440979","1399440980","1399440981","1399440982"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/20d0bab52e347fbee2f51a5da526ea87.jpg","text":"TemporaryFile(/tmp/multipartBody3570997418004736240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781202731,"filename":"image_05112025_14_10_50_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/15/d27c498dcdfb4328aa9e291814a79d2e.jpg","text":"TemporaryFile(/tmp/multipartBody2722733642053448144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781202731,"filename":"image_05112025_14_10_57_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/15/e2c2c2f741ae92ae45a9d9923a11df5a.jpg","text":"TemporaryFile(/tmp/multipartBody7261220373988858293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781202731,"filename":"image_05112025_14_10_48_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/15/6ea92a9790367934fee3348dde0e8fb5.jpg","text":"TemporaryFile(/tmp/multipartBody4639817614946783023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781202731,"filename":"image_05112025_14_10_55_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/15/979043a7755867277c1d3bb660d7f837.jpg","text":"TemporaryFile(/tmp/multipartBody9135669881492404257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781202731,"filename":"image_05112025_14_10_58_1698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7b1b7d06f1502b6513d6517e69c6ef5e.jpg","text":"TemporaryFile(/tmp/multipartBody1023713149679542058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781202731,"filename":"image_05112025_14_10_52_1624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440979","file1":"1399440978","file0":"1399440975","file4":"1399440981","file5":"1399440982","file3":"1399440980"},"map_files_photo_id_array":[{"photo_id":"1399440982","filename":"file5"},{"photo_id":"1399440979","filename":"file2"},{"photo_id":"1399440981","filename":"file4"},{"photo_id":"1399440978","filename":"file1"},{"photo_id":"1399440975","filename":"file0"},{"photo_id":"1399440980","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399440978":["hashtag1","hashtag2"]},{"1399440981":["hashtag1","hashtag2"]},{"1399440975":["hashtag1","hashtag2"]},{"1399440980":["hashtag1","hashtag2"]},{"1399440982":["hashtag1","hashtag2"]},{"1399440979":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399440978, 1399440981, 1399440975, 1399440980, 1399440982, 1399440979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.128466844558716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 07:46:22.357839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/24/image_15122025_07_24_34_9669.jpg', '/home/pi/Desktop/images/15122025/07/24/image_15122025_07_24_44_9955.jpg', '/home/pi/Desktop/images/15122025/07/24/image_15122025_07_24_54_9734.jpg', '/home/pi/Desktop/images/15122025/07/24/image_15122025_07_25_04_10725.jpg', '/home/pi/Desktop/images/15122025/07/25/image_15122025_07_25_24_9707.jpg', '/home/pi/Desktop/images/15122025/07/25/image_15122025_07_25_44_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/24/image_15122025_07_24_34_9669.jpg
/home/pi/Desktop/images/15122025/07/24/image_15122025_07_24_44_9955.jpg
/home/pi/Desktop/images/15122025/07/24/image_15122025_07_24_54_9734.jpg
/home/pi/Desktop/images/15122025/07/24/image_15122025_07_25_04_10725.jpg
/home/pi/Desktop/images/15122025/07/25/image_15122025_07_25_24_9707.jpg
/home/pi/Desktop/images/15122025/07/25/image_15122025_07_25_44_9611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399440999","1399441005","1399440992","1399440995","1399440989","1399441000"],"photo_ids_order":["1399440989","1399440992","1399440995","1399440999","1399441000","1399441005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/eb40029dcda7334f8fce37ee75114c40.jpg","text":"TemporaryFile(/tmp/multipartBody3029531558057950189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781243009,"filename":"image_15122025_07_25_04_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/297003f037ef2bc343b2a8e448c68ed3.jpg","text":"TemporaryFile(/tmp/multipartBody9089721368396414517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781243009,"filename":"image_15122025_07_25_44_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7771f400ac12a1e7028b465f2807f4aa.jpg","text":"TemporaryFile(/tmp/multipartBody5945897422483704436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781243009,"filename":"image_15122025_07_24_44_9955.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8771482cdaeff3e043cb3003882a56e8.jpg","text":"TemporaryFile(/tmp/multipartBody3955386879637011677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781243009,"filename":"image_15122025_07_24_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/15/cdaecc9191da719bca041352cae024ea.jpg","text":"TemporaryFile(/tmp/multipartBody2664235936673684857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781243009,"filename":"image_15122025_07_24_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/15/95cf568428175dd5d454965d9f71e739.jpg","text":"TemporaryFile(/tmp/multipartBody4655517778688772276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781243009,"filename":"image_15122025_07_25_24_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399440995","file1":"1399440992","file0":"1399440989","file4":"1399441000","file5":"1399441005","file3":"1399440999"},"map_files_photo_id_array":[{"photo_id":"1399441005","filename":"file5"},{"photo_id":"1399440995","filename":"file2"},{"photo_id":"1399441000","filename":"file4"},{"photo_id":"1399440992","filename":"file1"},{"photo_id":"1399440989","filename":"file0"},{"photo_id":"1399440999","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399440999":["hashtag1","hashtag2"]},{"1399441005":["hashtag1","hashtag2"]},{"1399440992":["hashtag1","hashtag2"]},{"1399440995":["hashtag1","hashtag2"]},{"1399440989":["hashtag1","hashtag2"]},{"1399441000":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399440999, 1399441005, 1399440992, 1399440995, 1399440989, 1399441000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28162693977356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 07:47:03.163655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/25/image_15122025_07_25_54_9731.jpg', '/home/pi/Desktop/images/15122025/07/25/image_15122025_07_26_05_10770.jpg', '/home/pi/Desktop/images/15122025/07/26/image_15122025_07_26_14_9602.jpg', '/home/pi/Desktop/images/15122025/07/26/image_15122025_07_26_24_9693.jpg', '/home/pi/Desktop/images/15122025/07/26/image_15122025_07_26_34_10575.jpg', '/home/pi/Desktop/images/15122025/07/26/image_15122025_07_26_44_9805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/25/image_15122025_07_25_54_9731.jpg
/home/pi/Desktop/images/15122025/07/25/image_15122025_07_26_05_10770.jpg
/home/pi/Desktop/images/15122025/07/26/image_15122025_07_26_14_9602.jpg
/home/pi/Desktop/images/15122025/07/26/image_15122025_07_26_24_9693.jpg
/home/pi/Desktop/images/15122025/07/26/image_15122025_07_26_34_10575.jpg
/home/pi/Desktop/images/15122025/07/26/image_15122025_07_26_44_9805.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399441017","1399441011","1399441019","1399441013","1399441022","1399441015"],"photo_ids_order":["1399441011","1399441013","1399441015","1399441017","1399441019","1399441022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7b857bde6ec5888848846372ffe202a1.jpg","text":"TemporaryFile(/tmp/multipartBody2918298683166063667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781283847,"filename":"image_15122025_07_26_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/15/8559dc7f98530f4dc5087518ba00d108.jpg","text":"TemporaryFile(/tmp/multipartBody6543692719075694030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781283847,"filename":"image_15122025_07_25_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/15/c681b522c6940cf41f705979d9dd9449.jpg","text":"TemporaryFile(/tmp/multipartBody1037803342868244709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781283847,"filename":"image_15122025_07_26_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/15/eca3c691323bd0e4811af9515c1c1d3b.jpg","text":"TemporaryFile(/tmp/multipartBody6582301399352246324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781283847,"filename":"image_15122025_07_26_05_10770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/555f0bf5761af31119f30593fde8fe6b.jpg","text":"TemporaryFile(/tmp/multipartBody3656610284381578295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781283847,"filename":"image_15122025_07_26_44_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b69841c892a05aa685583edbd5119bfc.jpg","text":"TemporaryFile(/tmp/multipartBody4282096401511643366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781283847,"filename":"image_15122025_07_26_14_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399441015","file1":"1399441013","file0":"1399441011","file4":"1399441019","file5":"1399441022","file3":"1399441017"},"map_files_photo_id_array":[{"photo_id":"1399441022","filename":"file5"},{"photo_id":"1399441015","filename":"file2"},{"photo_id":"1399441019","filename":"file4"},{"photo_id":"1399441013","filename":"file1"},{"photo_id":"1399441011","filename":"file0"},{"photo_id":"1399441017","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399441017":["hashtag1","hashtag2"]},{"1399441011":["hashtag1","hashtag2"]},{"1399441019":["hashtag1","hashtag2"]},{"1399441013":["hashtag1","hashtag2"]},{"1399441022":["hashtag1","hashtag2"]},{"1399441015":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399441017, 1399441011, 1399441019, 1399441013, 1399441022, 1399441015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09221005439758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 07:47:42.491195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/10/image_05112025_14_11_00_1571.jpg', '/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_02_1705.jpg', '/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_07_4801.jpg', '/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_08_1661.jpg', '/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_10_1577.jpg', '/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_12_1754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/10/image_05112025_14_11_00_1571.jpg
/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_02_1705.jpg
/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_07_4801.jpg
/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_08_1661.jpg
/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_10_1577.jpg
/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_12_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":["1399441032","1399441031","1399441040","1399441034","1399441033","1399441027"],"photo_ids_order":["1399441027","1399441031","1399441032","1399441033","1399441034","1399441040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8a93506eb54f157c73d1ebdc3d27d561.jpg","text":"TemporaryFile(/tmp/multipartBody1500064439373263174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781323192,"filename":"image_05112025_14_11_07_4801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c8d897d623b2e576dd9423cce8ad9136.jpg","text":"TemporaryFile(/tmp/multipartBody2177198284295627501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781323192,"filename":"image_05112025_14_11_02_1705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9d4e3b19d06c96957d9f8aabda3f6c90.jpg","text":"TemporaryFile(/tmp/multipartBody476558159920793139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781323192,"filename":"image_05112025_14_11_12_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/15/76c04ffdab00067c4b6d52c9357cf95b.jpg","text":"TemporaryFile(/tmp/multipartBody1681514259616483868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781323192,"filename":"image_05112025_14_11_10_1577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/67bd58cce9a2130e08de0c44d3303b59.jpg","text":"TemporaryFile(/tmp/multipartBody3886542959765915697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781323192,"filename":"image_05112025_14_11_08_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/15/5ca5dfbe76cee7ec905e77ae5e5cd4e8.jpg","text":"TemporaryFile(/tmp/multipartBody7922135555897836912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781323192,"filename":"image_05112025_14_11_00_1571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399441032","file1":"1399441031","file0":"1399441027","file4":"1399441034","file5":"1399441040","file3":"1399441033"},"map_files_photo_id_array":[{"photo_id":"1399441040","filename":"file5"},{"photo_id":"1399441032","filename":"file2"},{"photo_id":"1399441034","filename":"file4"},{"photo_id":"1399441031","filename":"file1"},{"photo_id":"1399441027","filename":"file0"},{"photo_id":"1399441033","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399441032":["hashtag1","hashtag2"]},{"1399441031":["hashtag1","hashtag2"]},{"1399441040":["hashtag1","hashtag2"]},{"1399441034":["hashtag1","hashtag2"]},{"1399441033":["hashtag1","hashtag2"]},{"1399441027":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399441032, 1399441031, 1399441040, 1399441034, 1399441033, 1399441027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.018765449523926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 07:48:22.807854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/26/image_15122025_07_26_54_9730.jpg', '/home/pi/Desktop/images/15122025/07/26/image_15122025_07_27_05_10654.jpg', '/home/pi/Desktop/images/15122025/07/27/image_15122025_07_27_15_9953.jpg', '/home/pi/Desktop/images/15122025/07/27/image_15122025_07_27_24_9919.jpg', '/home/pi/Desktop/images/15122025/07/27/image_15122025_07_27_34_9787.jpg', '/home/pi/Desktop/images/15122025/07/27/image_15122025_07_27_44_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/26/image_15122025_07_26_54_9730.jpg
/home/pi/Desktop/images/15122025/07/26/image_15122025_07_27_05_10654.jpg
/home/pi/Desktop/images/15122025/07/27/image_15122025_07_27_15_9953.jpg
/home/pi/Desktop/images/15122025/07/27/image_15122025_07_27_24_9919.jpg
/home/pi/Desktop/images/15122025/07/27/image_15122025_07_27_34_9787.jpg
/home/pi/Desktop/images/15122025/07/27/image_15122025_07_27_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":["1399441053","1399441047","1399441056","1399441049","1399441051","1399441045"],"photo_ids_order":["1399441045","1399441047","1399441049","1399441051","1399441053","1399441056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f1b29a3d45db30e71c3156976d779d4c.jpg","text":"TemporaryFile(/tmp/multipartBody7711691861222429298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781363428,"filename":"image_15122025_07_27_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/15/58156da442ee379c200abbebbe12fdca.jpg","text":"TemporaryFile(/tmp/multipartBody3798369898909275477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781363428,"filename":"image_15122025_07_27_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/15/6c941491698100a7dad53001404c95e7.jpg","text":"TemporaryFile(/tmp/multipartBody3368748640669249818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781363428,"filename":"image_15122025_07_27_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/15/c902f921464e679e5f34ad308022f148.jpg","text":"TemporaryFile(/tmp/multipartBody4113821939475861873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781363428,"filename":"image_15122025_07_27_15_9953.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a176c6c0694fb95d73b175e2903e296f.jpg","text":"TemporaryFile(/tmp/multipartBody232913705107941562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781363428,"filename":"image_15122025_07_27_24_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/15/84ac777743e7acce8dc39952bc2d7315.jpg","text":"TemporaryFile(/tmp/multipartBody3068188661947419802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781363428,"filename":"image_15122025_07_26_54_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399441049","file1":"1399441047","file0":"1399441045","file4":"1399441053","file5":"1399441056","file3":"1399441051"},"map_files_photo_id_array":[{"photo_id":"1399441056","filename":"file5"},{"photo_id":"1399441049","filename":"file2"},{"photo_id":"1399441053","filename":"file4"},{"photo_id":"1399441047","filename":"file1"},{"photo_id":"1399441045","filename":"file0"},{"photo_id":"1399441051","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399441053":["hashtag1","hashtag2"]},{"1399441047":["hashtag1","hashtag2"]},{"1399441056":["hashtag1","hashtag2"]},{"1399441049":["hashtag1","hashtag2"]},{"1399441051":["hashtag1","hashtag2"]},{"1399441045":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399441053, 1399441047, 1399441056, 1399441049, 1399441051, 1399441045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.081610918045044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 07:49:02.935370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/27/image_15122025_07_27_55_10704.jpg', '/home/pi/Desktop/images/15122025/07/27/image_15122025_07_28_04_9692.jpg', '/home/pi/Desktop/images/15122025/07/28/image_15122025_07_28_14_9578.jpg', '/home/pi/Desktop/images/15122025/07/28/image_15122025_07_28_24_9794.jpg', '/home/pi/Desktop/images/15122025/07/28/image_15122025_07_28_34_10654.jpg', '/home/pi/Desktop/images/15122025/07/28/image_15122025_07_28_44_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/27/image_15122025_07_27_55_10704.jpg
/home/pi/Desktop/images/15122025/07/27/image_15122025_07_28_04_9692.jpg
/home/pi/Desktop/images/15122025/07/28/image_15122025_07_28_14_9578.jpg
/home/pi/Desktop/images/15122025/07/28/image_15122025_07_28_24_9794.jpg
/home/pi/Desktop/images/15122025/07/28/image_15122025_07_28_34_10654.jpg
/home/pi/Desktop/images/15122025/07/28/image_15122025_07_28_44_9705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399441071","1399441065","1399441073","1399441076","1399441067","1399441069"],"photo_ids_order":["1399441065","1399441067","1399441069","1399441071","1399441073","1399441076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7de4ab7ce852b677f2e0c7790f6de718.jpg","text":"TemporaryFile(/tmp/multipartBody6976075894471211723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781403711,"filename":"image_15122025_07_28_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/15/3ead20d906ceebc8d582be54122d3004.jpg","text":"TemporaryFile(/tmp/multipartBody741966630641904706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781403711,"filename":"image_15122025_07_27_55_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/15/86ad290c21ba154d311c5475678179bd.jpg","text":"TemporaryFile(/tmp/multipartBody3852656363683552709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781403711,"filename":"image_15122025_07_28_34_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/15/e5d8ff9bd4c4f9b6f832c72534e4e719.jpg","text":"TemporaryFile(/tmp/multipartBody8458539994688582181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781403711,"filename":"image_15122025_07_28_44_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9316f5e2df9fa5f94f044897c6e0af36.jpg","text":"TemporaryFile(/tmp/multipartBody5371943921164126572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781403711,"filename":"image_15122025_07_28_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/15/6a1474b4aaf988072d8f457c1ec6ad71.jpg","text":"TemporaryFile(/tmp/multipartBody5283212427089386557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781403711,"filename":"image_15122025_07_28_14_9578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399441069","file1":"1399441067","file0":"1399441065","file4":"1399441073","file5":"1399441076","file3":"1399441071"},"map_files_photo_id_array":[{"photo_id":"1399441076","filename":"file5"},{"photo_id":"1399441069","filename":"file2"},{"photo_id":"1399441073","filename":"file4"},{"photo_id":"1399441067","filename":"file1"},{"photo_id":"1399441065","filename":"file0"},{"photo_id":"1399441071","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399441071":["hashtag1","hashtag2"]},{"1399441065":["hashtag1","hashtag2"]},{"1399441073":["hashtag1","hashtag2"]},{"1399441076":["hashtag1","hashtag2"]},{"1399441067":["hashtag1","hashtag2"]},{"1399441069":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399441071, 1399441065, 1399441073, 1399441076, 1399441067, 1399441069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.313287019729614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 07:49:41.969554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_13_1702.jpg', '/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_15_1658.jpg', '/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_17_1708.jpg', '/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_18_1592.jpg', '/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_20_1680.jpg', '/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_22_1907.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_13_1702.jpg
/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_15_1658.jpg
/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_17_1708.jpg
/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_18_1592.jpg
/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_20_1680.jpg
/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_22_1907.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399441086","1399441080","1399441085","1399441087","1399441089","1399441083"],"photo_ids_order":["1399441080","1399441083","1399441085","1399441086","1399441087","1399441089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/508f87581c7e8df0f644b2e7f1ffac0a.jpg","text":"TemporaryFile(/tmp/multipartBody6326371538240326723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781442664,"filename":"image_05112025_14_11_18_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/15/94027aec7921d49bf956b06e09d27bd1.jpg","text":"TemporaryFile(/tmp/multipartBody1399347933921961514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781442664,"filename":"image_05112025_14_11_13_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/15/0c915bf2643b464492bcd818965a9626.jpg","text":"TemporaryFile(/tmp/multipartBody2239347503322986012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781442664,"filename":"image_05112025_14_11_17_1708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/12d8d6364da4367ead2e620ac3411736.jpg","text":"TemporaryFile(/tmp/multipartBody6589670231998887059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781442664,"filename":"image_05112025_14_11_20_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/15/a6520fc5aa1c5b277b1c64852b5bfcdc.jpg","text":"TemporaryFile(/tmp/multipartBody2229735899352645283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781442664,"filename":"image_05112025_14_11_22_1907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9690dbee3b5345fd4152f686838fd11f.jpg","text":"TemporaryFile(/tmp/multipartBody3699938576393234832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781442664,"filename":"image_05112025_14_11_15_1658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399441085","file1":"1399441083","file0":"1399441080","file4":"1399441087","file5":"1399441089","file3":"1399441086"},"map_files_photo_id_array":[{"photo_id":"1399441089","filename":"file5"},{"photo_id":"1399441085","filename":"file2"},{"photo_id":"1399441087","filename":"file4"},{"photo_id":"1399441083","filename":"file1"},{"photo_id":"1399441080","filename":"file0"},{"photo_id":"1399441086","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399441086":["hashtag1","hashtag2"]},{"1399441080":["hashtag1","hashtag2"]},{"1399441085":["hashtag1","hashtag2"]},{"1399441087":["hashtag1","hashtag2"]},{"1399441089":["hashtag1","hashtag2"]},{"1399441083":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399441086, 1399441080, 1399441085, 1399441087, 1399441089, 1399441083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38023042678833 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 07:50:22.201757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/28/image_15122025_07_28_55_10593.jpg', '/home/pi/Desktop/images/15122025/07/28/image_15122025_07_29_04_9667.jpg', '/home/pi/Desktop/images/15122025/07/29/image_15122025_07_29_14_9622.jpg', '/home/pi/Desktop/images/15122025/07/29/image_15122025_07_29_24_9827.jpg', '/home/pi/Desktop/images/15122025/07/29/image_15122025_07_29_35_10753.jpg', '/home/pi/Desktop/images/15122025/07/29/image_15122025_07_29_44_9837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/28/image_15122025_07_28_55_10593.jpg
/home/pi/Desktop/images/15122025/07/28/image_15122025_07_29_04_9667.jpg
/home/pi/Desktop/images/15122025/07/29/image_15122025_07_29_14_9622.jpg
/home/pi/Desktop/images/15122025/07/29/image_15122025_07_29_24_9827.jpg
/home/pi/Desktop/images/15122025/07/29/image_15122025_07_29_35_10753.jpg
/home/pi/Desktop/images/15122025/07/29/image_15122025_07_29_44_9837.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399441110","1399441104","1399441094","1399441106","1399441096","1399441098"],"photo_ids_order":["1399441094","1399441096","1399441098","1399441104","1399441106","1399441110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1121269840078a92430f99f46eff0c1e.jpg","text":"TemporaryFile(/tmp/multipartBody2059586668829904827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781482829,"filename":"image_15122025_07_29_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/15/0dc17bb57e3cd03b03829f9d95c75fa9.jpg","text":"TemporaryFile(/tmp/multipartBody8931090814040633242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781482829,"filename":"image_15122025_07_29_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/15/70c4af1a43fcd27912c9ca341f063478.jpg","text":"TemporaryFile(/tmp/multipartBody4951297257989768576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781482829,"filename":"image_15122025_07_28_55_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/969642abf647c9ee5d45c43c02813372.jpg","text":"TemporaryFile(/tmp/multipartBody9158792387222637023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781482829,"filename":"image_15122025_07_29_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/15/3e846de864c8e0e686497bb36b48c25f.jpg","text":"TemporaryFile(/tmp/multipartBody6445990811718073200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781482829,"filename":"image_15122025_07_29_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/15/83937ece9f0b91f21f0800e53089fc96.jpg","text":"TemporaryFile(/tmp/multipartBody7267195767878740345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781482829,"filename":"image_15122025_07_29_14_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399441098","file1":"1399441096","file0":"1399441094","file4":"1399441106","file5":"1399441110","file3":"1399441104"},"map_files_photo_id_array":[{"photo_id":"1399441110","filename":"file5"},{"photo_id":"1399441098","filename":"file2"},{"photo_id":"1399441106","filename":"file4"},{"photo_id":"1399441096","filename":"file1"},{"photo_id":"1399441094","filename":"file0"},{"photo_id":"1399441104","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399441110":["hashtag1","hashtag2"]},{"1399441104":["hashtag1","hashtag2"]},{"1399441094":["hashtag1","hashtag2"]},{"1399441106":["hashtag1","hashtag2"]},{"1399441096":["hashtag1","hashtag2"]},{"1399441098":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399441110, 1399441104, 1399441094, 1399441106, 1399441096, 1399441098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36099433898926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 07:51:03.192224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/29/image_15122025_07_29_54_9781.jpg', '/home/pi/Desktop/images/15122025/07/29/image_15122025_07_30_04_9900.jpg', '/home/pi/Desktop/images/15122025/07/30/image_15122025_07_30_14_9718.jpg', '/home/pi/Desktop/images/15122025/07/30/image_15122025_07_30_25_10752.jpg', '/home/pi/Desktop/images/15122025/07/30/image_15122025_07_30_34_9588.jpg', '/home/pi/Desktop/images/15122025/07/30/image_15122025_07_30_44_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/29/image_15122025_07_29_54_9781.jpg
/home/pi/Desktop/images/15122025/07/29/image_15122025_07_30_04_9900.jpg
/home/pi/Desktop/images/15122025/07/30/image_15122025_07_30_14_9718.jpg
/home/pi/Desktop/images/15122025/07/30/image_15122025_07_30_25_10752.jpg
/home/pi/Desktop/images/15122025/07/30/image_15122025_07_30_34_9588.jpg
/home/pi/Desktop/images/15122025/07/30/image_15122025_07_30_44_9737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399441125","1399441127","1399441121","1399441129","1399441123","1399441111"],"photo_ids_order":["1399441111","1399441121","1399441123","1399441125","1399441127","1399441129"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/618b535b679a273f8e84d0dc55a04f7b.jpg","text":"TemporaryFile(/tmp/multipartBody7865804573035501440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781523898,"filename":"image_15122025_07_30_25_10752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4d470342709f3bc9427dda74ead325c8.jpg","text":"TemporaryFile(/tmp/multipartBody5907996360144712281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781523898,"filename":"image_15122025_07_30_34_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/41ac36b991b53f6f7e013e1047f46af1.jpg","text":"TemporaryFile(/tmp/multipartBody2798095612669279077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781523898,"filename":"image_15122025_07_30_04_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/15/762c19bda22537425d562652a4421da8.jpg","text":"TemporaryFile(/tmp/multipartBody5183260080019449144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781523898,"filename":"image_15122025_07_30_44_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/19afa8ca8ee2936c36199a89b66cabc2.jpg","text":"TemporaryFile(/tmp/multipartBody772210839126732883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781523898,"filename":"image_15122025_07_30_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/15/1dacc3dec8b50e5d7a828322b47d2e78.jpg","text":"TemporaryFile(/tmp/multipartBody9175787164975847162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781523898,"filename":"image_15122025_07_29_54_9781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399441123","file1":"1399441121","file0":"1399441111","file4":"1399441127","file5":"1399441129","file3":"1399441125"},"map_files_photo_id_array":[{"photo_id":"1399441129","filename":"file5"},{"photo_id":"1399441123","filename":"file2"},{"photo_id":"1399441127","filename":"file4"},{"photo_id":"1399441121","filename":"file1"},{"photo_id":"1399441111","filename":"file0"},{"photo_id":"1399441125","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399441125":["hashtag1","hashtag2"]},{"1399441127":["hashtag1","hashtag2"]},{"1399441121":["hashtag1","hashtag2"]},{"1399441129":["hashtag1","hashtag2"]},{"1399441123":["hashtag1","hashtag2"]},{"1399441111":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399441125, 1399441127, 1399441121, 1399441129, 1399441123, 1399441111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0407075881958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 07:51:42.554726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_24_1724.jpg', '/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_25_1544.jpg', '/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_27_1627.jpg', '/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_28_1558.jpg', '/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_30_1539.jpg', '/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_32_1813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_24_1724.jpg
/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_25_1544.jpg
/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_27_1627.jpg
/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_28_1558.jpg
/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_30_1539.jpg
/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_32_1813.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399441143","1399441134","1399441137","1399441145","1399441144","1399441138"],"photo_ids_order":["1399441134","1399441137","1399441138","1399441143","1399441144","1399441145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5ba23542380605e4cd236d3e04086222.jpg","text":"TemporaryFile(/tmp/multipartBody8307140452569091474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781563257,"filename":"image_05112025_14_11_28_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/15/b04fa5a740e8a365850d7d5751ec3b39.jpg","text":"TemporaryFile(/tmp/multipartBody5870583664347391558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781563257,"filename":"image_05112025_14_11_24_1724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9028a7e2db047d47bb361913a09f4e46.jpg","text":"TemporaryFile(/tmp/multipartBody1198818435003144621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781563257,"filename":"image_05112025_14_11_25_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/15/1beb474a3ff6e81a3b2dfea1e7df0f71.jpg","text":"TemporaryFile(/tmp/multipartBody7048120341603784066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781563257,"filename":"image_05112025_14_11_32_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/15/c68ea007d87cc7f214116163802c66bf.jpg","text":"TemporaryFile(/tmp/multipartBody1312782950762512463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781563257,"filename":"image_05112025_14_11_30_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/15/52424fa7f1493a1688c1f7ff9ae2f047.jpg","text":"TemporaryFile(/tmp/multipartBody2647192502183255205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781563257,"filename":"image_05112025_14_11_27_1627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399441138","file1":"1399441137","file0":"1399441134","file4":"1399441144","file5":"1399441145","file3":"1399441143"},"map_files_photo_id_array":[{"photo_id":"1399441145","filename":"file5"},{"photo_id":"1399441138","filename":"file2"},{"photo_id":"1399441144","filename":"file4"},{"photo_id":"1399441137","filename":"file1"},{"photo_id":"1399441134","filename":"file0"},{"photo_id":"1399441143","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399441143":["hashtag1","hashtag2"]},{"1399441134":["hashtag1","hashtag2"]},{"1399441137":["hashtag1","hashtag2"]},{"1399441145":["hashtag1","hashtag2"]},{"1399441144":["hashtag1","hashtag2"]},{"1399441138":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399441143, 1399441134, 1399441137, 1399441145, 1399441144, 1399441138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.14281249046326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 07:52:22.732805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/30/image_15122025_07_30_55_10647.jpg', '/home/pi/Desktop/images/15122025/07/30/image_15122025_07_31_04_9861.jpg', '/home/pi/Desktop/images/15122025/07/31/image_15122025_07_31_14_9822.jpg', '/home/pi/Desktop/images/15122025/07/31/image_15122025_07_31_24_9686.jpg', '/home/pi/Desktop/images/15122025/07/31/image_15122025_07_31_54_9787.jpg', '/home/pi/Desktop/images/15122025/07/31/image_15122025_07_32_04_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/30/image_15122025_07_30_55_10647.jpg
/home/pi/Desktop/images/15122025/07/30/image_15122025_07_31_04_9861.jpg
/home/pi/Desktop/images/15122025/07/31/image_15122025_07_31_14_9822.jpg
/home/pi/Desktop/images/15122025/07/31/image_15122025_07_31_24_9686.jpg
/home/pi/Desktop/images/15122025/07/31/image_15122025_07_31_54_9787.jpg
/home/pi/Desktop/images/15122025/07/31/image_15122025_07_32_04_9723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399441170","1399441167","1399441157","1399441165","1399441153","1399441161"],"photo_ids_order":["1399441153","1399441157","1399441161","1399441165","1399441167","1399441170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a53897ed5dae449be335eb60f4c1fc77.jpg","text":"TemporaryFile(/tmp/multipartBody6867426598584264194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781603388,"filename":"image_15122025_07_32_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/15/010dbe0bc07f17930e7db292b76e532a.jpg","text":"TemporaryFile(/tmp/multipartBody8682593515742687318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781603388,"filename":"image_15122025_07_31_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/15/c22fc613aa924000be8679ef94b7e070.jpg","text":"TemporaryFile(/tmp/multipartBody8478011415065398050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781603388,"filename":"image_15122025_07_31_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/15/aa36581ea318843f937f0515798a4025.jpg","text":"TemporaryFile(/tmp/multipartBody8198188519956888739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781603388,"filename":"image_15122025_07_31_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/15/0d18a816c5af28ed8b3b9854315eacad.jpg","text":"TemporaryFile(/tmp/multipartBody6027077286437444491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781603388,"filename":"image_15122025_07_30_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/15/8d9d57f852346072826b01dd419cb535.jpg","text":"TemporaryFile(/tmp/multipartBody5824706047450807033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781603388,"filename":"image_15122025_07_31_14_9822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399441161","file1":"1399441157","file0":"1399441153","file4":"1399441167","file5":"1399441170","file3":"1399441165"},"map_files_photo_id_array":[{"photo_id":"1399441170","filename":"file5"},{"photo_id":"1399441161","filename":"file2"},{"photo_id":"1399441167","filename":"file4"},{"photo_id":"1399441157","filename":"file1"},{"photo_id":"1399441153","filename":"file0"},{"photo_id":"1399441165","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399441170":["hashtag1","hashtag2"]},{"1399441167":["hashtag1","hashtag2"]},{"1399441157":["hashtag1","hashtag2"]},{"1399441165":["hashtag1","hashtag2"]},{"1399441153":["hashtag1","hashtag2"]},{"1399441161":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399441170, 1399441167, 1399441157, 1399441165, 1399441153, 1399441161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55718398094177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 07:53:02.737470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/32/image_15122025_07_32_15_10584.jpg', '/home/pi/Desktop/images/15122025/07/32/image_15122025_07_32_24_9848.jpg', '/home/pi/Desktop/images/15122025/07/32/image_15122025_07_32_34_9599.jpg', '/home/pi/Desktop/images/15122025/07/32/image_15122025_07_32_45_10679.jpg', '/home/pi/Desktop/images/15122025/07/32/image_15122025_07_32_54_9684.jpg', '/home/pi/Desktop/images/15122025/07/32/image_15122025_07_33_04_9798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/32/image_15122025_07_32_15_10584.jpg
/home/pi/Desktop/images/15122025/07/32/image_15122025_07_32_24_9848.jpg
/home/pi/Desktop/images/15122025/07/32/image_15122025_07_32_34_9599.jpg
/home/pi/Desktop/images/15122025/07/32/image_15122025_07_32_45_10679.jpg
/home/pi/Desktop/images/15122025/07/32/image_15122025_07_32_54_9684.jpg
/home/pi/Desktop/images/15122025/07/32/image_15122025_07_33_04_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":["1399441187","1399441184","1399441178","1399441180","1399441182","1399441176"],"photo_ids_order":["1399441176","1399441178","1399441180","1399441182","1399441184","1399441187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1817f37880947f53cb8cbebb2ebad0ce.jpg","text":"TemporaryFile(/tmp/multipartBody7085306334176433797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781643432,"filename":"image_15122025_07_33_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/15/90320f9f060fbd195fd8b36ca666b3e0.jpg","text":"TemporaryFile(/tmp/multipartBody1678914777029553048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781643432,"filename":"image_15122025_07_32_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/15/f3a76b75d95eeffc0791e392d02ba2ad.jpg","text":"TemporaryFile(/tmp/multipartBody5403476458597036521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781643432,"filename":"image_15122025_07_32_24_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6dafa74eadd8fc3f92960aff03875914.jpg","text":"TemporaryFile(/tmp/multipartBody298138989791489751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781643432,"filename":"image_15122025_07_32_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/15/738a2d51d6509414c54ba72367298583.jpg","text":"TemporaryFile(/tmp/multipartBody758900885834116969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781643432,"filename":"image_15122025_07_32_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/15/cf68c435a2b3b323831b74ad4442e8c1.jpg","text":"TemporaryFile(/tmp/multipartBody4622178883140853617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781643432,"filename":"image_15122025_07_32_15_10584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399441180","file1":"1399441178","file0":"1399441176","file4":"1399441184","file5":"1399441187","file3":"1399441182"},"map_files_photo_id_array":[{"photo_id":"1399441187","filename":"file5"},{"photo_id":"1399441180","filename":"file2"},{"photo_id":"1399441184","filename":"file4"},{"photo_id":"1399441178","filename":"file1"},{"photo_id":"1399441176","filename":"file0"},{"photo_id":"1399441182","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399441187":["hashtag1","hashtag2"]},{"1399441184":["hashtag1","hashtag2"]},{"1399441178":["hashtag1","hashtag2"]},{"1399441180":["hashtag1","hashtag2"]},{"1399441182":["hashtag1","hashtag2"]},{"1399441176":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399441187, 1399441184, 1399441178, 1399441180, 1399441182, 1399441176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.424429416656494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 07:53:41.973381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_33_1625.jpg', '/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_35_1549.jpg', '/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_40_5000.jpg', '/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_49_9103.jpg', '/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_51_1687.jpg', '/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_52_1580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_33_1625.jpg
/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_35_1549.jpg
/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_40_5000.jpg
/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_49_9103.jpg
/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_51_1687.jpg
/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_52_1580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399441200","1399441199","1399441193","1399441196","1399441198","1399441197"],"photo_ids_order":["1399441193","1399441196","1399441197","1399441198","1399441199","1399441200"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/da88f04fc23373b25f29b03235bb2575.jpg","text":"TemporaryFile(/tmp/multipartBody8570858550887428601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781682676,"filename":"image_05112025_14_11_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/15/deed4510b953b80a5ee281eaf9f7e520.jpg","text":"TemporaryFile(/tmp/multipartBody3416300079132260684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781682676,"filename":"image_05112025_14_11_51_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/15/c25af81e2a67b5833c4f35e9153d4f8c.jpg","text":"TemporaryFile(/tmp/multipartBody4607933742510077272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781682676,"filename":"image_05112025_14_11_33_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/15/2c0778f7865e102904601805442b747f.jpg","text":"TemporaryFile(/tmp/multipartBody2853067103890883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781682676,"filename":"image_05112025_14_11_35_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/15/66f3753bf58eea4ef8345cf0aaa90d9f.jpg","text":"TemporaryFile(/tmp/multipartBody8746645118741321563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781682676,"filename":"image_05112025_14_11_49_9103.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7de9f4fdf5c49df1ec13f3d892f4608d.jpg","text":"TemporaryFile(/tmp/multipartBody3363485044814755512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781682676,"filename":"image_05112025_14_11_40_5000.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399441197","file1":"1399441196","file0":"1399441193","file4":"1399441199","file5":"1399441200","file3":"1399441198"},"map_files_photo_id_array":[{"photo_id":"1399441200","filename":"file5"},{"photo_id":"1399441197","filename":"file2"},{"photo_id":"1399441199","filename":"file4"},{"photo_id":"1399441196","filename":"file1"},{"photo_id":"1399441193","filename":"file0"},{"photo_id":"1399441198","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399441200":["hashtag1","hashtag2"]},{"1399441199":["hashtag1","hashtag2"]},{"1399441193":["hashtag1","hashtag2"]},{"1399441196":["hashtag1","hashtag2"]},{"1399441198":["hashtag1","hashtag2"]},{"1399441197":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399441200, 1399441199, 1399441193, 1399441196, 1399441198, 1399441197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.661471366882324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 07:54:22.235423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/33/image_15122025_07_33_14_9981.jpg', '/home/pi/Desktop/images/15122025/07/33/image_15122025_07_33_25_10575.jpg', '/home/pi/Desktop/images/15122025/07/33/image_15122025_07_33_34_9728.jpg', '/home/pi/Desktop/images/15122025/07/33/image_15122025_07_33_44_9912.jpg', '/home/pi/Desktop/images/15122025/07/33/image_15122025_07_33_54_9778.jpg', '/home/pi/Desktop/images/15122025/07/33/image_15122025_07_34_04_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/33/image_15122025_07_33_14_9981.jpg
/home/pi/Desktop/images/15122025/07/33/image_15122025_07_33_25_10575.jpg
/home/pi/Desktop/images/15122025/07/33/image_15122025_07_33_34_9728.jpg
/home/pi/Desktop/images/15122025/07/33/image_15122025_07_33_44_9912.jpg
/home/pi/Desktop/images/15122025/07/33/image_15122025_07_33_54_9778.jpg
/home/pi/Desktop/images/15122025/07/33/image_15122025_07_34_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":["1399441224","1399441212","1399441217","1399441228","1399441231","1399441207"],"photo_ids_order":["1399441207","1399441212","1399441217","1399441224","1399441228","1399441231"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4c54b8f17ec81ebbc25405ce19085390.jpg","text":"TemporaryFile(/tmp/multipartBody9213751787407832250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781722888,"filename":"image_15122025_07_33_44_9912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b18a57deb9288164166a47ab638ad6bd.jpg","text":"TemporaryFile(/tmp/multipartBody7772937786391322065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781722888,"filename":"image_15122025_07_33_25_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/15/fde817edf428d996318240bd08fcb661.jpg","text":"TemporaryFile(/tmp/multipartBody5694334834016060298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781722888,"filename":"image_15122025_07_33_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/15/c365bc98cb2559e1e8010b055bb4c10a.jpg","text":"TemporaryFile(/tmp/multipartBody8833235816594047624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781722888,"filename":"image_15122025_07_33_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/15/016075bb98f42337d48d47fe0116edd5.jpg","text":"TemporaryFile(/tmp/multipartBody1663838841986538229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781722888,"filename":"image_15122025_07_34_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/15/2146092e69a314c0b479e5d368b97064.jpg","text":"TemporaryFile(/tmp/multipartBody2048101461587715645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781722888,"filename":"image_15122025_07_33_14_9981.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399441217","file1":"1399441212","file0":"1399441207","file4":"1399441228","file5":"1399441231","file3":"1399441224"},"map_files_photo_id_array":[{"photo_id":"1399441231","filename":"file5"},{"photo_id":"1399441217","filename":"file2"},{"photo_id":"1399441228","filename":"file4"},{"photo_id":"1399441212","filename":"file1"},{"photo_id":"1399441207","filename":"file0"},{"photo_id":"1399441224","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399441224":["hashtag1","hashtag2"]},{"1399441212":["hashtag1","hashtag2"]},{"1399441217":["hashtag1","hashtag2"]},{"1399441228":["hashtag1","hashtag2"]},{"1399441231":["hashtag1","hashtag2"]},{"1399441207":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399441224, 1399441212, 1399441217, 1399441228, 1399441231, 1399441207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14818286895752 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 07:55:03.174816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/34/image_15122025_07_34_15_10693.jpg', '/home/pi/Desktop/images/15122025/07/34/image_15122025_07_34_24_9601.jpg', '/home/pi/Desktop/images/15122025/07/34/image_15122025_07_34_34_9704.jpg', '/home/pi/Desktop/images/15122025/07/34/image_15122025_07_34_45_10808.jpg', '/home/pi/Desktop/images/15122025/07/34/image_15122025_07_34_54_9597.jpg', '/home/pi/Desktop/images/15122025/07/34/image_15122025_07_35_04_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/34/image_15122025_07_34_15_10693.jpg
/home/pi/Desktop/images/15122025/07/34/image_15122025_07_34_24_9601.jpg
/home/pi/Desktop/images/15122025/07/34/image_15122025_07_34_34_9704.jpg
/home/pi/Desktop/images/15122025/07/34/image_15122025_07_34_45_10808.jpg
/home/pi/Desktop/images/15122025/07/34/image_15122025_07_34_54_9597.jpg
/home/pi/Desktop/images/15122025/07/34/image_15122025_07_35_04_9718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399441245","1399441248","1399441241","1399441244","1399441246","1399441243"],"photo_ids_order":["1399441241","1399441243","1399441244","1399441245","1399441246","1399441248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0d52df5e77bc566ed7f848963a843d32.jpg","text":"TemporaryFile(/tmp/multipartBody6232652191408937821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781763853,"filename":"image_15122025_07_34_45_10808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4739a69e575b421680c62b9ac0a00bed.jpg","text":"TemporaryFile(/tmp/multipartBody1325361374537621607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781763853,"filename":"image_15122025_07_35_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/15/4f2ef7e32978c541a4a009372ffefda3.jpg","text":"TemporaryFile(/tmp/multipartBody5111171278288968842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781763853,"filename":"image_15122025_07_34_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/15/67eb702cf82dbd3368cab3f5caa48f32.jpg","text":"TemporaryFile(/tmp/multipartBody2890276321856301867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781763853,"filename":"image_15122025_07_34_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/15/97e89955ad6189a0a47fd7268bc4f788.jpg","text":"TemporaryFile(/tmp/multipartBody5641817590270387480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781763853,"filename":"image_15122025_07_34_54_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/175b2f58e962a34e3f4ec091ecb5a829.jpg","text":"TemporaryFile(/tmp/multipartBody7649739832308518112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781763853,"filename":"image_15122025_07_34_24_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399441244","file1":"1399441243","file0":"1399441241","file4":"1399441246","file5":"1399441248","file3":"1399441245"},"map_files_photo_id_array":[{"photo_id":"1399441248","filename":"file5"},{"photo_id":"1399441244","filename":"file2"},{"photo_id":"1399441246","filename":"file4"},{"photo_id":"1399441243","filename":"file1"},{"photo_id":"1399441241","filename":"file0"},{"photo_id":"1399441245","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399441245":["hashtag1","hashtag2"]},{"1399441248":["hashtag1","hashtag2"]},{"1399441241":["hashtag1","hashtag2"]},{"1399441244":["hashtag1","hashtag2"]},{"1399441246":["hashtag1","hashtag2"]},{"1399441243":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399441245, 1399441248, 1399441241, 1399441244, 1399441246, 1399441243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.987192153930664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 07:55:42.369606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_54_1609.jpg', '/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_58_4345.jpg', '/home/pi/Desktop/images/05112025/14/11/image_05112025_14_12_00_1657.jpg', '/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_03_3411.jpg', '/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_05_1668.jpg', '/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_07_1754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_54_1609.jpg
/home/pi/Desktop/images/05112025/14/11/image_05112025_14_11_58_4345.jpg
/home/pi/Desktop/images/05112025/14/11/image_05112025_14_12_00_1657.jpg
/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_03_3411.jpg
/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_05_1668.jpg
/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_07_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":["1399441263","1399441266","1399441268","1399441256","1399441265","1399441261"],"photo_ids_order":["1399441256","1399441261","1399441263","1399441265","1399441266","1399441268"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/04873e60d46a4ddc87983e1f4d2e35d8.jpg","text":"TemporaryFile(/tmp/multipartBody5322088573682679881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781803070,"filename":"image_05112025_14_12_00_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/15/084e04ea0234027d16cf008a794182af.jpg","text":"TemporaryFile(/tmp/multipartBody1367454442783875738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781803070,"filename":"image_05112025_14_12_05_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/15/c3e9f8e06f0df3d011421b19ded2deb9.jpg","text":"TemporaryFile(/tmp/multipartBody2193687653176721036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781803070,"filename":"image_05112025_14_12_07_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/15/d9e2c9be551e74c42d46e15545d67676.jpg","text":"TemporaryFile(/tmp/multipartBody209179131792638873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781803070,"filename":"image_05112025_14_11_54_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/15/b1c7c36c44b3800f56443d10f9ae9243.jpg","text":"TemporaryFile(/tmp/multipartBody6018642589421139440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781803070,"filename":"image_05112025_14_12_03_3411.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/82cf69841a0f78a51bcce99dc0b7435c.jpg","text":"TemporaryFile(/tmp/multipartBody4748878026537434552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781803070,"filename":"image_05112025_14_11_58_4345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399441263","file1":"1399441261","file0":"1399441256","file4":"1399441266","file5":"1399441268","file3":"1399441265"},"map_files_photo_id_array":[{"photo_id":"1399441268","filename":"file5"},{"photo_id":"1399441263","filename":"file2"},{"photo_id":"1399441266","filename":"file4"},{"photo_id":"1399441261","filename":"file1"},{"photo_id":"1399441256","filename":"file0"},{"photo_id":"1399441265","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399441263":["hashtag1","hashtag2"]},{"1399441266":["hashtag1","hashtag2"]},{"1399441268":["hashtag1","hashtag2"]},{"1399441256":["hashtag1","hashtag2"]},{"1399441265":["hashtag1","hashtag2"]},{"1399441261":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399441263, 1399441266, 1399441268, 1399441256, 1399441265, 1399441261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.619237422943115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 07:56:22.577715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/35/image_15122025_07_35_15_10647.jpg', '/home/pi/Desktop/images/15122025/07/35/image_15122025_07_35_24_9861.jpg', '/home/pi/Desktop/images/15122025/07/35/image_15122025_07_35_34_9730.jpg', '/home/pi/Desktop/images/15122025/07/35/image_15122025_07_35_44_9722.jpg', '/home/pi/Desktop/images/15122025/07/35/image_15122025_07_35_54_10061.jpg', '/home/pi/Desktop/images/15122025/07/35/image_15122025_07_36_05_10581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/35/image_15122025_07_35_15_10647.jpg
/home/pi/Desktop/images/15122025/07/35/image_15122025_07_35_24_9861.jpg
/home/pi/Desktop/images/15122025/07/35/image_15122025_07_35_34_9730.jpg
/home/pi/Desktop/images/15122025/07/35/image_15122025_07_35_44_9722.jpg
/home/pi/Desktop/images/15122025/07/35/image_15122025_07_35_54_10061.jpg
/home/pi/Desktop/images/15122025/07/35/image_15122025_07_36_05_10581.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5129647254943848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 07:56:32.644302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 07:56:42.663549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_13_6266.jpg', '/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_19_6022.jpg', '/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_20_1551.jpg', '/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_22_1643.jpg', '/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_24_1632.jpg', '/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_32_8047.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_13_6266.jpg
/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_19_6022.jpg
/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_20_1551.jpg
/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_22_1643.jpg
/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_24_1632.jpg
/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_32_8047.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399441298","1399441292","1399441295","1399441294","1399441287","1399441296"],"photo_ids_order":["1399441287","1399441292","1399441294","1399441295","1399441296","1399441298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0aad378e0c114c1a39076b4dc7ce0a90.jpg","text":"TemporaryFile(/tmp/multipartBody903624754422036793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781863365,"filename":"image_05112025_14_12_32_8047.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/22e638c4f8ccc867da14ab5504dbc5db.jpg","text":"TemporaryFile(/tmp/multipartBody8071901715941708232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781863365,"filename":"image_05112025_14_12_19_6022.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a9e9125ce76997baafe0845d5d895d01.jpg","text":"TemporaryFile(/tmp/multipartBody4585252533586891339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781863365,"filename":"image_05112025_14_12_22_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/15/2249029d4c6889ef89da83c8ee902cab.jpg","text":"TemporaryFile(/tmp/multipartBody7596668620425390553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781863365,"filename":"image_05112025_14_12_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/15/2a8d47856c29d1bf156673e5b3970c38.jpg","text":"TemporaryFile(/tmp/multipartBody6777126474233746716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781863365,"filename":"image_05112025_14_12_13_6266.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/360c5fa3db683c667c7912a7260fcfd3.jpg","text":"TemporaryFile(/tmp/multipartBody7730845016476353356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781863365,"filename":"image_05112025_14_12_24_1632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399441294","file1":"1399441292","file0":"1399441287","file4":"1399441296","file5":"1399441298","file3":"1399441295"},"map_files_photo_id_array":[{"photo_id":"1399441298","filename":"file5"},{"photo_id":"1399441294","filename":"file2"},{"photo_id":"1399441296","filename":"file4"},{"photo_id":"1399441292","filename":"file1"},{"photo_id":"1399441287","filename":"file0"},{"photo_id":"1399441295","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399441298":["hashtag1","hashtag2"]},{"1399441292":["hashtag1","hashtag2"]},{"1399441295":["hashtag1","hashtag2"]},{"1399441294":["hashtag1","hashtag2"]},{"1399441287":["hashtag1","hashtag2"]},{"1399441296":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399441298, 1399441292, 1399441295, 1399441294, 1399441287, 1399441296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10300540924072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 07:57:21.939965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/35/image_15122025_07_35_15_10647.jpg', '/home/pi/Desktop/images/15122025/07/35/image_15122025_07_35_24_9861.jpg', '/home/pi/Desktop/images/15122025/07/35/image_15122025_07_35_34_9730.jpg', '/home/pi/Desktop/images/15122025/07/35/image_15122025_07_35_44_9722.jpg', '/home/pi/Desktop/images/15122025/07/35/image_15122025_07_35_54_10061.jpg', '/home/pi/Desktop/images/15122025/07/35/image_15122025_07_36_05_10581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/35/image_15122025_07_35_15_10647.jpg
/home/pi/Desktop/images/15122025/07/35/image_15122025_07_35_24_9861.jpg
/home/pi/Desktop/images/15122025/07/35/image_15122025_07_35_34_9730.jpg
/home/pi/Desktop/images/15122025/07/35/image_15122025_07_35_44_9722.jpg
/home/pi/Desktop/images/15122025/07/35/image_15122025_07_35_54_10061.jpg
/home/pi/Desktop/images/15122025/07/35/image_15122025_07_36_05_10581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399441316","1399441310","1399441313","1399441307","1399441301","1399441303"],"photo_ids_order":["1399441301","1399441303","1399441307","1399441310","1399441313","1399441316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8f3a235027fee766ddad4776788339e9.jpg","text":"TemporaryFile(/tmp/multipartBody498510979900224346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781902553,"filename":"image_15122025_07_36_05_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/52acc87d1eddfe4672b86a3ae640cf80.jpg","text":"TemporaryFile(/tmp/multipartBody2870290531175058736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781902553,"filename":"image_15122025_07_35_44_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/73aecc5faaabd36ea3ac267a5ce4af55.jpg","text":"TemporaryFile(/tmp/multipartBody2863610341263434414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781902553,"filename":"image_15122025_07_35_54_10061.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/702f4acc9a276618e3a963d7adf524cb.jpg","text":"TemporaryFile(/tmp/multipartBody4580747352575346601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781902553,"filename":"image_15122025_07_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/15/fadfc1d7f3f9048c3fdaea06dc7db8d7.jpg","text":"TemporaryFile(/tmp/multipartBody6405514433235050004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781902553,"filename":"image_15122025_07_35_15_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/65c1874bb46fdcfc308f72ee4ee691d3.jpg","text":"TemporaryFile(/tmp/multipartBody4716662611785895062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765781902553,"filename":"image_15122025_07_35_24_9861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399441307","file1":"1399441303","file0":"1399441301","file4":"1399441313","file5":"1399441316","file3":"1399441310"},"map_files_photo_id_array":[{"photo_id":"1399441316","filename":"file5"},{"photo_id":"1399441307","filename":"file2"},{"photo_id":"1399441313","filename":"file4"},{"photo_id":"1399441303","filename":"file1"},{"photo_id":"1399441301","filename":"file0"},{"photo_id":"1399441310","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399441316":["hashtag1","hashtag2"]},{"1399441310":["hashtag1","hashtag2"]},{"1399441313":["hashtag1","hashtag2"]},{"1399441307":["hashtag1","hashtag2"]},{"1399441301":["hashtag1","hashtag2"]},{"1399441303":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399441316, 1399441310, 1399441313, 1399441307, 1399441301, 1399441303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.904481172561646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 07:59:03.106445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/36/image_15122025_07_36_14_9816.jpg', '/home/pi/Desktop/images/15122025/07/36/image_15122025_07_36_24_9554.jpg', '/home/pi/Desktop/images/15122025/07/36/image_15122025_07_36_35_10746.jpg', '/home/pi/Desktop/images/15122025/07/36/image_15122025_07_36_44_9805.jpg', '/home/pi/Desktop/images/15122025/07/36/image_15122025_07_36_54_9762.jpg', '/home/pi/Desktop/images/15122025/07/36/image_15122025_07_37_04_10023.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/36/image_15122025_07_36_14_9816.jpg
/home/pi/Desktop/images/15122025/07/36/image_15122025_07_36_24_9554.jpg
/home/pi/Desktop/images/15122025/07/36/image_15122025_07_36_35_10746.jpg
/home/pi/Desktop/images/15122025/07/36/image_15122025_07_36_44_9805.jpg
/home/pi/Desktop/images/15122025/07/36/image_15122025_07_36_54_9762.jpg
/home/pi/Desktop/images/15122025/07/36/image_15122025_07_37_04_10023.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399441332","1399441329","1399441340","1399441343","1399441345","1399441336"],"photo_ids_order":["1399441329","1399441332","1399441336","1399441340","1399441343","1399441345"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5962f95815795c0d707e4d6bd0471e1b.jpg","text":"TemporaryFile(/tmp/multipartBody3657703754825618283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782003810,"filename":"image_15122025_07_36_24_9554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bdb958a4f750d0f00fc5c10883cce873.jpg","text":"TemporaryFile(/tmp/multipartBody6658502570313182376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782003810,"filename":"image_15122025_07_36_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/15/e4962dc6f8f881a5005eadb4acc5e4ec.jpg","text":"TemporaryFile(/tmp/multipartBody8871105516548259048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782003810,"filename":"image_15122025_07_36_44_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/04195069525de2129ebfbd28ac3539d1.jpg","text":"TemporaryFile(/tmp/multipartBody8883580985114895258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782003810,"filename":"image_15122025_07_36_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/15/6b6387890868efa8169754409aea2c51.jpg","text":"TemporaryFile(/tmp/multipartBody6054396416810590787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782003810,"filename":"image_15122025_07_37_04_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/15/048d24f2a5800b3f675a7398de6938d5.jpg","text":"TemporaryFile(/tmp/multipartBody732248627318316375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782003810,"filename":"image_15122025_07_36_35_10746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399441336","file1":"1399441332","file0":"1399441329","file4":"1399441343","file5":"1399441345","file3":"1399441340"},"map_files_photo_id_array":[{"photo_id":"1399441345","filename":"file5"},{"photo_id":"1399441336","filename":"file2"},{"photo_id":"1399441343","filename":"file4"},{"photo_id":"1399441332","filename":"file1"},{"photo_id":"1399441329","filename":"file0"},{"photo_id":"1399441340","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399441332":["hashtag1","hashtag2"]},{"1399441329":["hashtag1","hashtag2"]},{"1399441340":["hashtag1","hashtag2"]},{"1399441343":["hashtag1","hashtag2"]},{"1399441345":["hashtag1","hashtag2"]},{"1399441336":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399441332, 1399441329, 1399441340, 1399441343, 1399441345, 1399441336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01425647735596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 07:59:42.391375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_33_1612.jpg', '/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_35_1695.jpg', '/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_37_1740.jpg', '/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_38_1524.jpg', '/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_46_7189.jpg', '/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_47_1786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_33_1612.jpg
/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_35_1695.jpg
/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_37_1740.jpg
/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_38_1524.jpg
/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_46_7189.jpg
/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_47_1786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399441557","1399441451","1399441418","1399441378","1399441522","1399441485"],"photo_ids_order":["1399441378","1399441418","1399441451","1399441485","1399441522","1399441557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/87117b64336a64094119f14a9df8f11a.jpg","text":"TemporaryFile(/tmp/multipartBody6190643923106435154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782043094,"filename":"image_05112025_14_12_47_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/15/dded51eb49ed2bf20b1fcf4b3085d3d5.jpg","text":"TemporaryFile(/tmp/multipartBody2312432473348701659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782043094,"filename":"image_05112025_14_12_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/15/aad37f13d9f85299d74814263fe82a1e.jpg","text":"TemporaryFile(/tmp/multipartBody6638094873490973980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782043094,"filename":"image_05112025_14_12_35_1695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/69845ea9b467cf03bff65b23b8a6fb6c.jpg","text":"TemporaryFile(/tmp/multipartBody2208737664342791396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782043094,"filename":"image_05112025_14_12_33_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/15/ddfd6b44f9e27ba7edc2bbb5a4e2b447.jpg","text":"TemporaryFile(/tmp/multipartBody4716788329582693357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782043094,"filename":"image_05112025_14_12_46_7189.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dd2cb01a06bf9132ca4a38a9f9622735.jpg","text":"TemporaryFile(/tmp/multipartBody562335441469917760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782043094,"filename":"image_05112025_14_12_38_1524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399441451","file1":"1399441418","file0":"1399441378","file4":"1399441522","file5":"1399441557","file3":"1399441485"},"map_files_photo_id_array":[{"photo_id":"1399441557","filename":"file5"},{"photo_id":"1399441451","filename":"file2"},{"photo_id":"1399441522","filename":"file4"},{"photo_id":"1399441418","filename":"file1"},{"photo_id":"1399441378","filename":"file0"},{"photo_id":"1399441485","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399441557":["hashtag1","hashtag2"]},{"1399441451":["hashtag1","hashtag2"]},{"1399441418":["hashtag1","hashtag2"]},{"1399441378":["hashtag1","hashtag2"]},{"1399441522":["hashtag1","hashtag2"]},{"1399441485":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399441557, 1399441451, 1399441418, 1399441378, 1399441522, 1399441485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17371392250061 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 08:00:22.613696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/37/image_15122025_07_37_14_9703.jpg', '/home/pi/Desktop/images/15122025/07/37/image_15122025_07_37_24_9803.jpg', '/home/pi/Desktop/images/15122025/07/37/image_15122025_07_37_34_10547.jpg', '/home/pi/Desktop/images/15122025/07/37/image_15122025_07_37_44_9605.jpg', '/home/pi/Desktop/images/15122025/07/37/image_15122025_07_37_55_10725.jpg', '/home/pi/Desktop/images/15122025/07/37/image_15122025_07_38_04_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/37/image_15122025_07_37_14_9703.jpg
/home/pi/Desktop/images/15122025/07/37/image_15122025_07_37_24_9803.jpg
/home/pi/Desktop/images/15122025/07/37/image_15122025_07_37_34_10547.jpg
/home/pi/Desktop/images/15122025/07/37/image_15122025_07_37_44_9605.jpg
/home/pi/Desktop/images/15122025/07/37/image_15122025_07_37_55_10725.jpg
/home/pi/Desktop/images/15122025/07/37/image_15122025_07_38_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":["1399441734","1399441928","1399441771","1399441695","1399441875","1399441807"],"photo_ids_order":["1399441695","1399441734","1399441771","1399441807","1399441875","1399441928"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8454c4b23ef74a05ff97d3bbeffc68c9.jpg","text":"TemporaryFile(/tmp/multipartBody5005940571421575836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782083201,"filename":"image_15122025_07_37_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/15/6d857203d42129c2d0ddabb0054cdb84.jpg","text":"TemporaryFile(/tmp/multipartBody5180304190356581122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782083201,"filename":"image_15122025_07_38_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/15/e6ddc30b631838cfa522b49bd84da622.jpg","text":"TemporaryFile(/tmp/multipartBody8130753291578988603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782083201,"filename":"image_15122025_07_37_34_10547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8ec6d59bfc93f3be9f98135fc99e0654.jpg","text":"TemporaryFile(/tmp/multipartBody506332542790373091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782083201,"filename":"image_15122025_07_37_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/15/dda64b2fc8bd184408b634bbc1ef608e.jpg","text":"TemporaryFile(/tmp/multipartBody9064151085708695994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782083201,"filename":"image_15122025_07_37_55_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c0538d411c929fedb3f2ee229a9ed7ff.jpg","text":"TemporaryFile(/tmp/multipartBody6102686233923507346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782083201,"filename":"image_15122025_07_37_44_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399441771","file1":"1399441734","file0":"1399441695","file4":"1399441875","file5":"1399441928","file3":"1399441807"},"map_files_photo_id_array":[{"photo_id":"1399441928","filename":"file5"},{"photo_id":"1399441771","filename":"file2"},{"photo_id":"1399441875","filename":"file4"},{"photo_id":"1399441734","filename":"file1"},{"photo_id":"1399441695","filename":"file0"},{"photo_id":"1399441807","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399441734":["hashtag1","hashtag2"]},{"1399441928":["hashtag1","hashtag2"]},{"1399441771":["hashtag1","hashtag2"]},{"1399441695":["hashtag1","hashtag2"]},{"1399441875":["hashtag1","hashtag2"]},{"1399441807":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399441734, 1399441928, 1399441771, 1399441695, 1399441875, 1399441807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40329551696777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 08:01:03.508271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/38/image_15122025_07_38_14_9978.jpg', '/home/pi/Desktop/images/15122025/07/38/image_15122025_07_38_24_9751.jpg', '/home/pi/Desktop/images/15122025/07/38/image_15122025_07_38_35_10637.jpg', '/home/pi/Desktop/images/15122025/07/38/image_15122025_07_38_44_9632.jpg', '/home/pi/Desktop/images/15122025/07/38/image_15122025_07_38_54_9801.jpg', '/home/pi/Desktop/images/15122025/07/38/image_15122025_07_39_04_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/38/image_15122025_07_38_14_9978.jpg
/home/pi/Desktop/images/15122025/07/38/image_15122025_07_38_24_9751.jpg
/home/pi/Desktop/images/15122025/07/38/image_15122025_07_38_35_10637.jpg
/home/pi/Desktop/images/15122025/07/38/image_15122025_07_38_44_9632.jpg
/home/pi/Desktop/images/15122025/07/38/image_15122025_07_38_54_9801.jpg
/home/pi/Desktop/images/15122025/07/38/image_15122025_07_39_04_9698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399442186","1399442327","1399442063","1399442102","1399442134","1399442250"],"photo_ids_order":["1399442063","1399442102","1399442134","1399442186","1399442250","1399442327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/64ea865625c2dd40726fb2c1492117eb.jpg","text":"TemporaryFile(/tmp/multipartBody2483847757789444336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782124227,"filename":"image_15122025_07_38_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/15/319e3af65c038a84e83249c3f53dbb34.jpg","text":"TemporaryFile(/tmp/multipartBody7669570175112447426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782124227,"filename":"image_15122025_07_39_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/15/398756c619b06fcd456862eea79e5cc4.jpg","text":"TemporaryFile(/tmp/multipartBody8173091828971930035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782124227,"filename":"image_15122025_07_38_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/15/337eb9ebc747ee5c08523013f9627ea4.jpg","text":"TemporaryFile(/tmp/multipartBody943304129916829435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782124227,"filename":"image_15122025_07_38_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/15/f585baee63528fbd146284b52303ce95.jpg","text":"TemporaryFile(/tmp/multipartBody1894167498545017743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782124227,"filename":"image_15122025_07_38_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/15/c13879bdeff25211e00cabe716f7ec7c.jpg","text":"TemporaryFile(/tmp/multipartBody5045120842111065154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782124227,"filename":"image_15122025_07_38_54_9801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399442134","file1":"1399442102","file0":"1399442063","file4":"1399442250","file5":"1399442327","file3":"1399442186"},"map_files_photo_id_array":[{"photo_id":"1399442327","filename":"file5"},{"photo_id":"1399442134","filename":"file2"},{"photo_id":"1399442250","filename":"file4"},{"photo_id":"1399442102","filename":"file1"},{"photo_id":"1399442063","filename":"file0"},{"photo_id":"1399442186","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399442186":["hashtag1","hashtag2"]},{"1399442327":["hashtag1","hashtag2"]},{"1399442063":["hashtag1","hashtag2"]},{"1399442102":["hashtag1","hashtag2"]},{"1399442134":["hashtag1","hashtag2"]},{"1399442250":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399442186, 1399442327, 1399442063, 1399442102, 1399442134, 1399442250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71455645561218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 08:01:42.902343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_49_1647.jpg', '/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_51_1680.jpg', '/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_52_1703.jpg', '/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_54_1622.jpg', '/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_56_1618.jpg', '/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_57_1649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_49_1647.jpg
/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_51_1680.jpg
/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_52_1703.jpg
/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_54_1622.jpg
/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_56_1618.jpg
/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_57_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":["1399442777","1399442636","1399442567","1399442680","1399442740","1399442520"],"photo_ids_order":["1399442520","1399442567","1399442636","1399442680","1399442740","1399442777"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a2a1901dc2e6c0966d52baa0b4587a66.jpg","text":"TemporaryFile(/tmp/multipartBody2423951736070342195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782163603,"filename":"image_05112025_14_12_57_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/15/3cbf9d818aa1f7db330331db352f4c91.jpg","text":"TemporaryFile(/tmp/multipartBody9052178754473318910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782163603,"filename":"image_05112025_14_12_52_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/15/386ea47e7d30993837fdd01119cb7bc7.jpg","text":"TemporaryFile(/tmp/multipartBody4204023583742545847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782163603,"filename":"image_05112025_14_12_51_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c4b201ce66c217b0121d47178e4f181c.jpg","text":"TemporaryFile(/tmp/multipartBody8513585481275712993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782163603,"filename":"image_05112025_14_12_54_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/15/ab60ab1b97f179f85be8917183630fbe.jpg","text":"TemporaryFile(/tmp/multipartBody1063497554993005045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782163603,"filename":"image_05112025_14_12_56_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/18ee6709e7ade7b6ed0ea7fafb92a198.jpg","text":"TemporaryFile(/tmp/multipartBody8626813544292790239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782163603,"filename":"image_05112025_14_12_49_1647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399442636","file1":"1399442567","file0":"1399442520","file4":"1399442740","file5":"1399442777","file3":"1399442680"},"map_files_photo_id_array":[{"photo_id":"1399442777","filename":"file5"},{"photo_id":"1399442636","filename":"file2"},{"photo_id":"1399442740","filename":"file4"},{"photo_id":"1399442567","filename":"file1"},{"photo_id":"1399442520","filename":"file0"},{"photo_id":"1399442680","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399442777":["hashtag1","hashtag2"]},{"1399442636":["hashtag1","hashtag2"]},{"1399442567":["hashtag1","hashtag2"]},{"1399442680":["hashtag1","hashtag2"]},{"1399442740":["hashtag1","hashtag2"]},{"1399442520":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399442777, 1399442636, 1399442567, 1399442680, 1399442740, 1399442520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83016037940979 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 08:02:22.209766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/39/image_15122025_07_39_44_9689.jpg', '/home/pi/Desktop/images/15122025/07/39/image_15122025_07_40_04_9589.jpg', '/home/pi/Desktop/images/15122025/07/40/image_15122025_07_40_15_10876.jpg', '/home/pi/Desktop/images/15122025/07/40/image_15122025_07_40_24_9693.jpg', '/home/pi/Desktop/images/15122025/07/40/image_15122025_07_40_34_9566.jpg', '/home/pi/Desktop/images/15122025/07/40/image_15122025_07_40_44_10587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/39/image_15122025_07_39_44_9689.jpg
/home/pi/Desktop/images/15122025/07/39/image_15122025_07_40_04_9589.jpg
/home/pi/Desktop/images/15122025/07/40/image_15122025_07_40_15_10876.jpg
/home/pi/Desktop/images/15122025/07/40/image_15122025_07_40_24_9693.jpg
/home/pi/Desktop/images/15122025/07/40/image_15122025_07_40_34_9566.jpg
/home/pi/Desktop/images/15122025/07/40/image_15122025_07_40_44_10587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399442972","1399442974","1399442906","1399442977","1399442941","1399442982"],"photo_ids_order":["1399442906","1399442941","1399442972","1399442974","1399442977","1399442982"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b1f6d9370f2368d95190b78a3d637569.jpg","text":"TemporaryFile(/tmp/multipartBody1701341707092542183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782202830,"filename":"image_15122025_07_40_15_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/15/32e171a77b6c74a522a0d9e42aff33fd.jpg","text":"TemporaryFile(/tmp/multipartBody7851686458670087876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782202830,"filename":"image_15122025_07_40_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/15/c161234c15eddab69ae6d2e0fe88e913.jpg","text":"TemporaryFile(/tmp/multipartBody7646787667463961151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782202830,"filename":"image_15122025_07_39_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/15/9a8f9101add168df2e5c5a31cd4115b4.jpg","text":"TemporaryFile(/tmp/multipartBody714385825657603342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782202830,"filename":"image_15122025_07_40_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/15/f5507ff3c08945f30db504fa566505cb.jpg","text":"TemporaryFile(/tmp/multipartBody2956689389226515155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782202830,"filename":"image_15122025_07_40_04_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/03062f94a109dacddbe780de2072448d.jpg","text":"TemporaryFile(/tmp/multipartBody7192866023862430810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782202830,"filename":"image_15122025_07_40_44_10587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399442972","file1":"1399442941","file0":"1399442906","file4":"1399442977","file5":"1399442982","file3":"1399442974"},"map_files_photo_id_array":[{"photo_id":"1399442982","filename":"file5"},{"photo_id":"1399442972","filename":"file2"},{"photo_id":"1399442977","filename":"file4"},{"photo_id":"1399442941","filename":"file1"},{"photo_id":"1399442906","filename":"file0"},{"photo_id":"1399442974","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399442972":["hashtag1","hashtag2"]},{"1399442974":["hashtag1","hashtag2"]},{"1399442906":["hashtag1","hashtag2"]},{"1399442977":["hashtag1","hashtag2"]},{"1399442941":["hashtag1","hashtag2"]},{"1399442982":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399442972, 1399442974, 1399442906, 1399442977, 1399442941, 1399442982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73863673210144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 08:03:02.891415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/41/image_15122025_07_41_14_9744.jpg', '/home/pi/Desktop/images/15122025/07/41/image_15122025_07_41_25_10696.jpg', '/home/pi/Desktop/images/15122025/07/41/image_15122025_07_41_34_9434.jpg', '/home/pi/Desktop/images/15122025/07/41/image_15122025_07_41_44_9627.jpg', '/home/pi/Desktop/images/15122025/07/41/image_15122025_07_41_54_10632.jpg', '/home/pi/Desktop/images/15122025/07/41/image_15122025_07_42_04_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/41/image_15122025_07_41_14_9744.jpg
/home/pi/Desktop/images/15122025/07/41/image_15122025_07_41_25_10696.jpg
/home/pi/Desktop/images/15122025/07/41/image_15122025_07_41_34_9434.jpg
/home/pi/Desktop/images/15122025/07/41/image_15122025_07_41_44_9627.jpg
/home/pi/Desktop/images/15122025/07/41/image_15122025_07_41_54_10632.jpg
/home/pi/Desktop/images/15122025/07/41/image_15122025_07_42_04_9760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399442999","1399443008","1399443005","1399443010","1399443001","1399443003"],"photo_ids_order":["1399442999","1399443001","1399443003","1399443005","1399443008","1399443010"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dceaf88992a03eb57c34607f03c6bf56.jpg","text":"TemporaryFile(/tmp/multipartBody8456166241636684051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782246116,"filename":"image_15122025_07_41_14_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/88a43bea726d08c470fc14fbb424b653.jpg","text":"TemporaryFile(/tmp/multipartBody90352077855515075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782246116,"filename":"image_15122025_07_41_54_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/201ab8cf260938c5c3276910fdf3f8f1.jpg","text":"TemporaryFile(/tmp/multipartBody4504646148420761233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782246116,"filename":"image_15122025_07_41_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/15/39fcc95b0570045a66ac90204aa4bd75.jpg","text":"TemporaryFile(/tmp/multipartBody7146904793337169349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782246116,"filename":"image_15122025_07_42_04_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0f970a176bcfb93f26aaa70529c02993.jpg","text":"TemporaryFile(/tmp/multipartBody1364598514271859601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782246116,"filename":"image_15122025_07_41_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/15/22273303fa28cfd3fd9fa749917860e0.jpg","text":"TemporaryFile(/tmp/multipartBody900688784219200358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782246116,"filename":"image_15122025_07_41_34_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399443003","file1":"1399443001","file0":"1399442999","file4":"1399443008","file5":"1399443010","file3":"1399443005"},"map_files_photo_id_array":[{"photo_id":"1399443010","filename":"file5"},{"photo_id":"1399443003","filename":"file2"},{"photo_id":"1399443008","filename":"file4"},{"photo_id":"1399443001","filename":"file1"},{"photo_id":"1399442999","filename":"file0"},{"photo_id":"1399443005","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399442999":["hashtag1","hashtag2"]},{"1399443008":["hashtag1","hashtag2"]},{"1399443005":["hashtag1","hashtag2"]},{"1399443010":["hashtag1","hashtag2"]},{"1399443001":["hashtag1","hashtag2"]},{"1399443003":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399442999, 1399443008, 1399443005, 1399443010, 1399443001, 1399443003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.39888906478882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 08:03:42.421049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_59_1863.jpg', '/home/pi/Desktop/images/05112025/14/13/image_05112025_14_13_01_1758.jpg', '/home/pi/Desktop/images/05112025/14/13/image_05112025_14_13_02_1560.jpg', '/home/pi/Desktop/images/05112025/14/13/image_05112025_14_13_04_1611.jpg', '/home/pi/Desktop/images/05112025/14/13/image_05112025_14_13_06_1691.jpg', '/home/pi/Desktop/images/05112025/14/13/image_05112025_14_13_07_1612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/12/image_05112025_14_12_59_1863.jpg
/home/pi/Desktop/images/05112025/14/13/image_05112025_14_13_01_1758.jpg
/home/pi/Desktop/images/05112025/14/13/image_05112025_14_13_02_1560.jpg
/home/pi/Desktop/images/05112025/14/13/image_05112025_14_13_04_1611.jpg
/home/pi/Desktop/images/05112025/14/13/image_05112025_14_13_06_1691.jpg
/home/pi/Desktop/images/05112025/14/13/image_05112025_14_13_07_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":["1399443119","1399443325","1399443183","1399443366","1399443288","1399443246"],"photo_ids_order":["1399443119","1399443183","1399443246","1399443288","1399443325","1399443366"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1c4b60add7ea87cf6cdcc2122656296c.jpg","text":"TemporaryFile(/tmp/multipartBody2322287344722154519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782283134,"filename":"image_05112025_14_12_59_1863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a07cedb1f2911aad3025f40ba40a0af5.jpg","text":"TemporaryFile(/tmp/multipartBody5937067144826895923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782283134,"filename":"image_05112025_14_13_06_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/15/0cccfa4cd33d17773157219d9d235afe.jpg","text":"TemporaryFile(/tmp/multipartBody6345649230576292824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782283134,"filename":"image_05112025_14_13_01_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/15/46a5fac1cb378d29e28f461df758758e.jpg","text":"TemporaryFile(/tmp/multipartBody1427627265736692484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782283134,"filename":"image_05112025_14_13_07_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/15/8407298ad2cc2b964d5073e75b3fae6c.jpg","text":"TemporaryFile(/tmp/multipartBody309228450436861961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782283134,"filename":"image_05112025_14_13_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/15/635a7395c5f6f211fa6384fce16f4ad6.jpg","text":"TemporaryFile(/tmp/multipartBody4056529019794067656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782283134,"filename":"image_05112025_14_13_02_1560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399443246","file1":"1399443183","file0":"1399443119","file4":"1399443325","file5":"1399443366","file3":"1399443288"},"map_files_photo_id_array":[{"photo_id":"1399443366","filename":"file5"},{"photo_id":"1399443246","filename":"file2"},{"photo_id":"1399443325","filename":"file4"},{"photo_id":"1399443183","filename":"file1"},{"photo_id":"1399443119","filename":"file0"},{"photo_id":"1399443288","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399443119":["hashtag1","hashtag2"]},{"1399443325":["hashtag1","hashtag2"]},{"1399443183":["hashtag1","hashtag2"]},{"1399443366":["hashtag1","hashtag2"]},{"1399443288":["hashtag1","hashtag2"]},{"1399443246":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399443119, 1399443325, 1399443183, 1399443366, 1399443288, 1399443246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.534831285476685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 08:04:22.636180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/42/image_15122025_07_42_25_10675.jpg', '/home/pi/Desktop/images/15122025/07/42/image_15122025_07_42_44_9674.jpg', '/home/pi/Desktop/images/15122025/07/42/image_15122025_07_42_54_9722.jpg', '/home/pi/Desktop/images/15122025/07/42/image_15122025_07_43_05_10565.jpg', '/home/pi/Desktop/images/15122025/07/43/image_15122025_07_43_34_9770.jpg', '/home/pi/Desktop/images/15122025/07/43/image_15122025_07_44_04_9839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/42/image_15122025_07_42_25_10675.jpg
/home/pi/Desktop/images/15122025/07/42/image_15122025_07_42_44_9674.jpg
/home/pi/Desktop/images/15122025/07/42/image_15122025_07_42_54_9722.jpg
/home/pi/Desktop/images/15122025/07/42/image_15122025_07_43_05_10565.jpg
/home/pi/Desktop/images/15122025/07/43/image_15122025_07_43_34_9770.jpg
/home/pi/Desktop/images/15122025/07/43/image_15122025_07_44_04_9839.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5079433917999268 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 08:04:32.654323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 08:04:42.602407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/13/image_05112025_14_13_09_1607.jpg', '/home/pi/Desktop/images/05112025/14/13/image_05112025_14_13_13_4175.jpg', '/home/pi/Desktop/images/05112025/14/13/image_05112025_14_13_16_3064.jpg', '/home/pi/Desktop/images/05112025/14/13/image_05112025_14_13_18_1672.jpg', '/home/pi/Desktop/images/05112025/14/13/image_05112025_14_13_27_9190.jpg', '/home/pi/Desktop/images/05112025/14/13/image_05112025_14_13_36_9166.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/13/image_05112025_14_13_09_1607.jpg
/home/pi/Desktop/images/05112025/14/13/image_05112025_14_13_13_4175.jpg
/home/pi/Desktop/images/05112025/14/13/image_05112025_14_13_16_3064.jpg
/home/pi/Desktop/images/05112025/14/13/image_05112025_14_13_18_1672.jpg
/home/pi/Desktop/images/05112025/14/13/image_05112025_14_13_27_9190.jpg
/home/pi/Desktop/images/05112025/14/13/image_05112025_14_13_36_9166.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399443530","1399443559","1399443538","1399443517","1399443555","1399443491"],"photo_ids_order":["1399443491","1399443517","1399443530","1399443538","1399443555","1399443559"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ba3c23e7f87c5130e3ce3a62072eb9d6.jpg","text":"TemporaryFile(/tmp/multipartBody204444244906777449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782343350,"filename":"image_05112025_14_13_16_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/15/439824727e9a2478efbb6d8e52b8dcb8.jpg","text":"TemporaryFile(/tmp/multipartBody2785228003710378765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782343350,"filename":"image_05112025_14_13_36_9166.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dca8645b7ef08aaef2d751f48bfb750a.jpg","text":"TemporaryFile(/tmp/multipartBody6392979205338781207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782343350,"filename":"image_05112025_14_13_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/15/ffb86d8c7c6336d9dfb35a1ef747328d.jpg","text":"TemporaryFile(/tmp/multipartBody2917731693111441141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782343350,"filename":"image_05112025_14_13_13_4175.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a47e2633515c48c4533521e088b07eba.jpg","text":"TemporaryFile(/tmp/multipartBody6593302052891660396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782343350,"filename":"image_05112025_14_13_27_9190.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/50edf26b9320d137d3a58b056610c502.jpg","text":"TemporaryFile(/tmp/multipartBody3060427287456517064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782343350,"filename":"image_05112025_14_13_09_1607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399443530","file1":"1399443517","file0":"1399443491","file4":"1399443555","file5":"1399443559","file3":"1399443538"},"map_files_photo_id_array":[{"photo_id":"1399443559","filename":"file5"},{"photo_id":"1399443530","filename":"file2"},{"photo_id":"1399443555","filename":"file4"},{"photo_id":"1399443517","filename":"file1"},{"photo_id":"1399443491","filename":"file0"},{"photo_id":"1399443538","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399443530":["hashtag1","hashtag2"]},{"1399443559":["hashtag1","hashtag2"]},{"1399443538":["hashtag1","hashtag2"]},{"1399443517":["hashtag1","hashtag2"]},{"1399443555":["hashtag1","hashtag2"]},{"1399443491":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399443530, 1399443559, 1399443538, 1399443517, 1399443555, 1399443491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.798237323760986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 08:05:21.898802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/42/image_15122025_07_42_25_10675.jpg', '/home/pi/Desktop/images/15122025/07/42/image_15122025_07_42_44_9674.jpg', '/home/pi/Desktop/images/15122025/07/42/image_15122025_07_42_54_9722.jpg', '/home/pi/Desktop/images/15122025/07/42/image_15122025_07_43_05_10565.jpg', '/home/pi/Desktop/images/15122025/07/43/image_15122025_07_43_34_9770.jpg', '/home/pi/Desktop/images/15122025/07/43/image_15122025_07_44_04_9839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/42/image_15122025_07_42_25_10675.jpg
/home/pi/Desktop/images/15122025/07/42/image_15122025_07_42_44_9674.jpg
/home/pi/Desktop/images/15122025/07/42/image_15122025_07_42_54_9722.jpg
/home/pi/Desktop/images/15122025/07/42/image_15122025_07_43_05_10565.jpg
/home/pi/Desktop/images/15122025/07/43/image_15122025_07_43_34_9770.jpg
/home/pi/Desktop/images/15122025/07/43/image_15122025_07_44_04_9839.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399443581","1399443583","1399443586","1399443591","1399443594","1399443588"],"photo_ids_order":["1399443581","1399443583","1399443586","1399443588","1399443591","1399443594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0ea6db71cf6452a4922a05a6faee8245.jpg","text":"TemporaryFile(/tmp/multipartBody1011369219662740102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782382516,"filename":"image_15122025_07_42_25_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7a6bbb8fcf1b3526445907a574b0a556.jpg","text":"TemporaryFile(/tmp/multipartBody7566421727534803872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782382516,"filename":"image_15122025_07_42_44_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3c7969b79dcb17c6ea666e75ad9de491.jpg","text":"TemporaryFile(/tmp/multipartBody4631351769782756807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782382516,"filename":"image_15122025_07_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/15/e9c8f15a6532efc2762e8176630d419f.jpg","text":"TemporaryFile(/tmp/multipartBody5603072200314445760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782382516,"filename":"image_15122025_07_43_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/15/3533ed1e3bbd55af7bcee2ef5f40ed38.jpg","text":"TemporaryFile(/tmp/multipartBody2916496461587698394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782382516,"filename":"image_15122025_07_44_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/15/f22324efb762933926b6491f5d38cb3b.jpg","text":"TemporaryFile(/tmp/multipartBody453399460787253092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782382516,"filename":"image_15122025_07_43_05_10565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399443586","file1":"1399443583","file0":"1399443581","file4":"1399443591","file5":"1399443594","file3":"1399443588"},"map_files_photo_id_array":[{"photo_id":"1399443594","filename":"file5"},{"photo_id":"1399443586","filename":"file2"},{"photo_id":"1399443591","filename":"file4"},{"photo_id":"1399443583","filename":"file1"},{"photo_id":"1399443581","filename":"file0"},{"photo_id":"1399443588","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399443581":["hashtag1","hashtag2"]},{"1399443583":["hashtag1","hashtag2"]},{"1399443586":["hashtag1","hashtag2"]},{"1399443591":["hashtag1","hashtag2"]},{"1399443594":["hashtag1","hashtag2"]},{"1399443588":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399443581, 1399443583, 1399443586, 1399443591, 1399443594, 1399443588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.52511286735535 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-15 08:06:14.003253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 08:06:24.220642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/44/image_15122025_07_44_25_10701.jpg', '/home/pi/Desktop/images/15122025/07/44/image_15122025_07_44_34_9644.jpg', '/home/pi/Desktop/images/15122025/07/44/image_15122025_07_44_44_9854.jpg', '/home/pi/Desktop/images/15122025/07/44/image_15122025_07_45_04_10685.jpg', '/home/pi/Desktop/images/15122025/07/45/image_15122025_07_45_14_9673.jpg', '/home/pi/Desktop/images/15122025/07/45/image_15122025_07_45_24_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/44/image_15122025_07_44_25_10701.jpg
/home/pi/Desktop/images/15122025/07/44/image_15122025_07_44_34_9644.jpg
/home/pi/Desktop/images/15122025/07/44/image_15122025_07_44_44_9854.jpg
/home/pi/Desktop/images/15122025/07/44/image_15122025_07_45_04_10685.jpg
/home/pi/Desktop/images/15122025/07/45/image_15122025_07_45_14_9673.jpg
/home/pi/Desktop/images/15122025/07/45/image_15122025_07_45_24_9675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399443613","1399443607","1399443616","1399443619","1399443610","1399443603"],"photo_ids_order":["1399443603","1399443607","1399443610","1399443613","1399443616","1399443619"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6d76fba810914bf706b999293d9183a5.jpg","text":"TemporaryFile(/tmp/multipartBody8023071889225006981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782444898,"filename":"image_15122025_07_45_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/15/d49684f93e41070d7285eb5a21dad765.jpg","text":"TemporaryFile(/tmp/multipartBody4482993956362386153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782444898,"filename":"image_15122025_07_44_34_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f9d16e80bad9b2cc9f50304e06cf29dd.jpg","text":"TemporaryFile(/tmp/multipartBody7654850543846595252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782444898,"filename":"image_15122025_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/15/9910142a34c3e911b160915c50a413f8.jpg","text":"TemporaryFile(/tmp/multipartBody6255212656098437987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782444898,"filename":"image_15122025_07_45_24_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b03ecd2afd0221ee87afe8bcdc44018f.jpg","text":"TemporaryFile(/tmp/multipartBody6052072492411550093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782444898,"filename":"image_15122025_07_44_44_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c09e2ea8f01f90019f571599827c9810.jpg","text":"TemporaryFile(/tmp/multipartBody6304986284806816241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782444898,"filename":"image_15122025_07_44_25_10701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399443610","file1":"1399443607","file0":"1399443603","file4":"1399443616","file5":"1399443619","file3":"1399443613"},"map_files_photo_id_array":[{"photo_id":"1399443619","filename":"file5"},{"photo_id":"1399443610","filename":"file2"},{"photo_id":"1399443616","filename":"file4"},{"photo_id":"1399443607","filename":"file1"},{"photo_id":"1399443603","filename":"file0"},{"photo_id":"1399443613","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399443613":["hashtag1","hashtag2"]},{"1399443607":["hashtag1","hashtag2"]},{"1399443616":["hashtag1","hashtag2"]},{"1399443619":["hashtag1","hashtag2"]},{"1399443610":["hashtag1","hashtag2"]},{"1399443603":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399443613, 1399443607, 1399443616, 1399443619, 1399443610, 1399443603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.15771675109863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 08:07:12.323769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 08:07:22.310208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/45/image_15122025_07_45_34_10633.jpg', '/home/pi/Desktop/images/15122025/07/45/image_15122025_07_45_44_9751.jpg', '/home/pi/Desktop/images/15122025/07/45/image_15122025_07_45_54_9739.jpg', '/home/pi/Desktop/images/15122025/07/45/image_15122025_07_46_05_10632.jpg', '/home/pi/Desktop/images/15122025/07/46/image_15122025_07_46_24_9744.jpg', '/home/pi/Desktop/images/15122025/07/46/image_15122025_07_46_34_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/45/image_15122025_07_45_34_10633.jpg
/home/pi/Desktop/images/15122025/07/45/image_15122025_07_45_44_9751.jpg
/home/pi/Desktop/images/15122025/07/45/image_15122025_07_45_54_9739.jpg
/home/pi/Desktop/images/15122025/07/45/image_15122025_07_46_05_10632.jpg
/home/pi/Desktop/images/15122025/07/46/image_15122025_07_46_24_9744.jpg
/home/pi/Desktop/images/15122025/07/46/image_15122025_07_46_34_9718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399443680","1399443674","1399443640","1399443672","1399443675","1399443678"],"photo_ids_order":["1399443640","1399443672","1399443674","1399443675","1399443678","1399443680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9a906ff25324e2b8b1685ea558435001.jpg","text":"TemporaryFile(/tmp/multipartBody8062452901913686924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782503060,"filename":"image_15122025_07_46_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/15/ab364de8cc0e3059ea463b68cfdb9af7.jpg","text":"TemporaryFile(/tmp/multipartBody3705021273542042868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782503060,"filename":"image_15122025_07_45_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/15/5c00354a5d7b217c20b58353c4b8b06b.jpg","text":"TemporaryFile(/tmp/multipartBody8043757824811756561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782503060,"filename":"image_15122025_07_45_34_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/15/4362978d252133288018fcc33b28067f.jpg","text":"TemporaryFile(/tmp/multipartBody2210168827216972858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782503060,"filename":"image_15122025_07_45_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/15/da84a4409869043689aa6729e46661e6.jpg","text":"TemporaryFile(/tmp/multipartBody6467886364628424567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782503060,"filename":"image_15122025_07_46_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/15/510ced191e5af9f015cfeba9738d206a.jpg","text":"TemporaryFile(/tmp/multipartBody6850722081094915413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782503060,"filename":"image_15122025_07_46_24_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399443674","file1":"1399443672","file0":"1399443640","file4":"1399443678","file5":"1399443680","file3":"1399443675"},"map_files_photo_id_array":[{"photo_id":"1399443680","filename":"file5"},{"photo_id":"1399443674","filename":"file2"},{"photo_id":"1399443678","filename":"file4"},{"photo_id":"1399443672","filename":"file1"},{"photo_id":"1399443640","filename":"file0"},{"photo_id":"1399443675","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399443680":["hashtag1","hashtag2"]},{"1399443674":["hashtag1","hashtag2"]},{"1399443640":["hashtag1","hashtag2"]},{"1399443672":["hashtag1","hashtag2"]},{"1399443675":["hashtag1","hashtag2"]},{"1399443678":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399443680, 1399443674, 1399443640, 1399443672, 1399443675, 1399443678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.522984743118286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 08:08:03.031974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/46/image_15122025_07_46_45_10862.jpg', '/home/pi/Desktop/images/15122025/07/46/image_15122025_07_46_54_9657.jpg', '/home/pi/Desktop/images/15122025/07/46/image_15122025_07_47_04_9775.jpg', '/home/pi/Desktop/images/15122025/07/47/image_15122025_07_47_14_9640.jpg', '/home/pi/Desktop/images/15122025/07/47/image_15122025_07_47_44_9657.jpg', '/home/pi/Desktop/images/15122025/07/47/image_15122025_07_47_55_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/46/image_15122025_07_46_45_10862.jpg
/home/pi/Desktop/images/15122025/07/46/image_15122025_07_46_54_9657.jpg
/home/pi/Desktop/images/15122025/07/46/image_15122025_07_47_04_9775.jpg
/home/pi/Desktop/images/15122025/07/47/image_15122025_07_47_14_9640.jpg
/home/pi/Desktop/images/15122025/07/47/image_15122025_07_47_44_9657.jpg
/home/pi/Desktop/images/15122025/07/47/image_15122025_07_47_55_10638.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.550060510635376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 08:08:12.579247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 08:08:22.568823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/46/image_15122025_07_46_45_10862.jpg', '/home/pi/Desktop/images/15122025/07/46/image_15122025_07_46_54_9657.jpg', '/home/pi/Desktop/images/15122025/07/46/image_15122025_07_47_04_9775.jpg', '/home/pi/Desktop/images/15122025/07/47/image_15122025_07_47_14_9640.jpg', '/home/pi/Desktop/images/15122025/07/47/image_15122025_07_47_44_9657.jpg', '/home/pi/Desktop/images/15122025/07/47/image_15122025_07_47_55_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/46/image_15122025_07_46_45_10862.jpg
/home/pi/Desktop/images/15122025/07/46/image_15122025_07_46_54_9657.jpg
/home/pi/Desktop/images/15122025/07/46/image_15122025_07_47_04_9775.jpg
/home/pi/Desktop/images/15122025/07/47/image_15122025_07_47_14_9640.jpg
/home/pi/Desktop/images/15122025/07/47/image_15122025_07_47_44_9657.jpg
/home/pi/Desktop/images/15122025/07/47/image_15122025_07_47_55_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":["1399443707","1399443784","1399443742","1399443700","1399443703","1399443705"],"photo_ids_order":["1399443700","1399443703","1399443705","1399443707","1399443742","1399443784"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/162bc770bf623d9d8f0ce5246afb0d3b.jpg","text":"TemporaryFile(/tmp/multipartBody7844998266239521831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782563214,"filename":"image_15122025_07_47_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/15/f7ae445405758b319b40dbde0e837275.jpg","text":"TemporaryFile(/tmp/multipartBody4195446893926756523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782563214,"filename":"image_15122025_07_47_55_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9f188b8eb07db28674f66cbfcb3e97d0.jpg","text":"TemporaryFile(/tmp/multipartBody5782345446463835590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782563214,"filename":"image_15122025_07_47_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/15/212420db739359a1c9e81aeac747213e.jpg","text":"TemporaryFile(/tmp/multipartBody5972689707029966326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782563214,"filename":"image_15122025_07_46_45_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/15/5e7824bda158be0a0bd477a8136e5296.jpg","text":"TemporaryFile(/tmp/multipartBody8958052168783460448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782563214,"filename":"image_15122025_07_46_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/15/c37cebc95b4662f66259cc2ba8dd7f64.jpg","text":"TemporaryFile(/tmp/multipartBody6914758410095679007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782563214,"filename":"image_15122025_07_47_04_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399443705","file1":"1399443703","file0":"1399443700","file4":"1399443742","file5":"1399443784","file3":"1399443707"},"map_files_photo_id_array":[{"photo_id":"1399443784","filename":"file5"},{"photo_id":"1399443705","filename":"file2"},{"photo_id":"1399443742","filename":"file4"},{"photo_id":"1399443703","filename":"file1"},{"photo_id":"1399443700","filename":"file0"},{"photo_id":"1399443707","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399443707":["hashtag1","hashtag2"]},{"1399443784":["hashtag1","hashtag2"]},{"1399443742":["hashtag1","hashtag2"]},{"1399443700":["hashtag1","hashtag2"]},{"1399443703":["hashtag1","hashtag2"]},{"1399443705":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399443707, 1399443784, 1399443742, 1399443700, 1399443703, 1399443705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.815417528152466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 08:09:03.733142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/47/image_15122025_07_48_04_9761.jpg', '/home/pi/Desktop/images/15122025/07/48/image_15122025_07_48_14_9593.jpg', '/home/pi/Desktop/images/15122025/07/48/image_15122025_07_48_24_9939.jpg', '/home/pi/Desktop/images/15122025/07/48/image_15122025_07_48_35_10802.jpg', '/home/pi/Desktop/images/15122025/07/48/image_15122025_07_48_44_9624.jpg', '/home/pi/Desktop/images/15122025/07/48/image_15122025_07_48_54_10172.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/47/image_15122025_07_48_04_9761.jpg
/home/pi/Desktop/images/15122025/07/48/image_15122025_07_48_14_9593.jpg
/home/pi/Desktop/images/15122025/07/48/image_15122025_07_48_24_9939.jpg
/home/pi/Desktop/images/15122025/07/48/image_15122025_07_48_35_10802.jpg
/home/pi/Desktop/images/15122025/07/48/image_15122025_07_48_44_9624.jpg
/home/pi/Desktop/images/15122025/07/48/image_15122025_07_48_54_10172.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399443788","1399443793","1399443796","1399443792","1399443794","1399443791"],"photo_ids_order":["1399443788","1399443791","1399443792","1399443793","1399443794","1399443796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8d2fb5efa46bbc24a7543162dd015989.jpg","text":"TemporaryFile(/tmp/multipartBody1551111009860166832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782604497,"filename":"image_15122025_07_48_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/15/870c0fdf332f4a6f6eb5439178946e6b.jpg","text":"TemporaryFile(/tmp/multipartBody7430864249604952801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782604497,"filename":"image_15122025_07_48_35_10802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ee2251f6aee6d5069d71f80ee8c6c354.jpg","text":"TemporaryFile(/tmp/multipartBody6442981351762841494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782604497,"filename":"image_15122025_07_48_54_10172.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9cab527c44609c5f3dd8abde4f1becdb.jpg","text":"TemporaryFile(/tmp/multipartBody488240336871372287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782604497,"filename":"image_15122025_07_48_24_9939.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/289ec0449e6d6767a749efd2521523c6.jpg","text":"TemporaryFile(/tmp/multipartBody609218482698593167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782604497,"filename":"image_15122025_07_48_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/15/e3478aff7f5cd76a6dc9ba553480fb9e.jpg","text":"TemporaryFile(/tmp/multipartBody618723501385605361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782604497,"filename":"image_15122025_07_48_14_9593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399443792","file1":"1399443791","file0":"1399443788","file4":"1399443794","file5":"1399443796","file3":"1399443793"},"map_files_photo_id_array":[{"photo_id":"1399443796","filename":"file5"},{"photo_id":"1399443792","filename":"file2"},{"photo_id":"1399443794","filename":"file4"},{"photo_id":"1399443791","filename":"file1"},{"photo_id":"1399443788","filename":"file0"},{"photo_id":"1399443793","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399443788":["hashtag1","hashtag2"]},{"1399443793":["hashtag1","hashtag2"]},{"1399443796":["hashtag1","hashtag2"]},{"1399443792":["hashtag1","hashtag2"]},{"1399443794":["hashtag1","hashtag2"]},{"1399443791":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399443788, 1399443793, 1399443796, 1399443792, 1399443794, 1399443791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.796955823898315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 08:09:42.909322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/13/image_05112025_14_13_38_1724.jpg', '/home/pi/Desktop/images/05112025/14/13/image_05112025_14_13_51_13229.jpg', '/home/pi/Desktop/images/05112025/14/13/image_05112025_14_13_53_1566.jpg', '/home/pi/Desktop/images/05112025/14/13/image_05112025_14_13_55_1804.jpg', '/home/pi/Desktop/images/05112025/14/13/image_05112025_14_13_56_1612.jpg', '/home/pi/Desktop/images/05112025/14/13/image_05112025_14_13_58_1795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/13/image_05112025_14_13_38_1724.jpg
/home/pi/Desktop/images/05112025/14/13/image_05112025_14_13_51_13229.jpg
/home/pi/Desktop/images/05112025/14/13/image_05112025_14_13_53_1566.jpg
/home/pi/Desktop/images/05112025/14/13/image_05112025_14_13_55_1804.jpg
/home/pi/Desktop/images/05112025/14/13/image_05112025_14_13_56_1612.jpg
/home/pi/Desktop/images/05112025/14/13/image_05112025_14_13_58_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":["1399443806","1399443805","1399443808","1399443802","1399443804","1399443807"],"photo_ids_order":["1399443802","1399443804","1399443805","1399443806","1399443807","1399443808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7876e13b26e7dc7ac33ca41aca5e1fc9.jpg","text":"TemporaryFile(/tmp/multipartBody882604184453145107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782644083,"filename":"image_05112025_14_13_55_1804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2a0d765a0571f885f5c1c0084c598b38.jpg","text":"TemporaryFile(/tmp/multipartBody1669899150711654005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782644083,"filename":"image_05112025_14_13_53_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/15/99924b26edf2dfc4ed8e002e573b546e.jpg","text":"TemporaryFile(/tmp/multipartBody6480315612967099341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782644083,"filename":"image_05112025_14_13_58_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/15/d70eb8d6686749bf8ca9646985e753f5.jpg","text":"TemporaryFile(/tmp/multipartBody7920083071155891878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782644083,"filename":"image_05112025_14_13_38_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/15/c35db908710c4a673e4cbff273eb6112.jpg","text":"TemporaryFile(/tmp/multipartBody1527748610707988747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782644083,"filename":"image_05112025_14_13_51_13229.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/398d2ca13ddfeec57c60063392e99123.jpg","text":"TemporaryFile(/tmp/multipartBody3309745081662038405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782644083,"filename":"image_05112025_14_13_56_1612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399443805","file1":"1399443804","file0":"1399443802","file4":"1399443807","file5":"1399443808","file3":"1399443806"},"map_files_photo_id_array":[{"photo_id":"1399443808","filename":"file5"},{"photo_id":"1399443805","filename":"file2"},{"photo_id":"1399443807","filename":"file4"},{"photo_id":"1399443804","filename":"file1"},{"photo_id":"1399443802","filename":"file0"},{"photo_id":"1399443806","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399443806":["hashtag1","hashtag2"]},{"1399443805":["hashtag1","hashtag2"]},{"1399443808":["hashtag1","hashtag2"]},{"1399443802":["hashtag1","hashtag2"]},{"1399443804":["hashtag1","hashtag2"]},{"1399443807":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399443806, 1399443805, 1399443808, 1399443802, 1399443804, 1399443807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.236799240112305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 08:10:22.156556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/48/image_15122025_07_49_04_9681.jpg', '/home/pi/Desktop/images/15122025/07/49/image_15122025_07_49_14_9686.jpg', '/home/pi/Desktop/images/15122025/07/49/image_15122025_07_49_25_10807.jpg', '/home/pi/Desktop/images/15122025/07/49/image_15122025_07_49_34_9640.jpg', '/home/pi/Desktop/images/15122025/07/49/image_15122025_07_49_44_9635.jpg', '/home/pi/Desktop/images/15122025/07/49/image_15122025_07_49_54_10035.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/48/image_15122025_07_49_04_9681.jpg
/home/pi/Desktop/images/15122025/07/49/image_15122025_07_49_14_9686.jpg
/home/pi/Desktop/images/15122025/07/49/image_15122025_07_49_25_10807.jpg
/home/pi/Desktop/images/15122025/07/49/image_15122025_07_49_34_9640.jpg
/home/pi/Desktop/images/15122025/07/49/image_15122025_07_49_44_9635.jpg
/home/pi/Desktop/images/15122025/07/49/image_15122025_07_49_54_10035.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399443818","1399443841","1399443847","1399443811","1399443810","1399443813"],"photo_ids_order":["1399443810","1399443811","1399443813","1399443818","1399443841","1399443847"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e84b723284aabd7f42844de0ddf9a610.jpg","text":"TemporaryFile(/tmp/multipartBody2530438324685014632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782683071,"filename":"image_15122025_07_49_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/15/9b4dc9c9cbb4f8fc0e1d53fdd11c2dcb.jpg","text":"TemporaryFile(/tmp/multipartBody1871360203877872215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782683071,"filename":"image_15122025_07_49_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/15/2b488f9b043b59eb6695216907016abe.jpg","text":"TemporaryFile(/tmp/multipartBody4431509747234421279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782683071,"filename":"image_15122025_07_49_54_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/15/df014024648d168e3ee5942ab3aee414.jpg","text":"TemporaryFile(/tmp/multipartBody4544684894388685936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782683071,"filename":"image_15122025_07_49_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/15/f2a9377b1a71f99c733cc450b7136473.jpg","text":"TemporaryFile(/tmp/multipartBody3590044124248962988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782683071,"filename":"image_15122025_07_49_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/15/4b71836ad05326c730caa67ffdaedf17.jpg","text":"TemporaryFile(/tmp/multipartBody462185131400199307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782683071,"filename":"image_15122025_07_49_25_10807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399443813","file1":"1399443811","file0":"1399443810","file4":"1399443841","file5":"1399443847","file3":"1399443818"},"map_files_photo_id_array":[{"photo_id":"1399443847","filename":"file5"},{"photo_id":"1399443813","filename":"file2"},{"photo_id":"1399443841","filename":"file4"},{"photo_id":"1399443811","filename":"file1"},{"photo_id":"1399443810","filename":"file0"},{"photo_id":"1399443818","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399443818":["hashtag1","hashtag2"]},{"1399443841":["hashtag1","hashtag2"]},{"1399443847":["hashtag1","hashtag2"]},{"1399443811":["hashtag1","hashtag2"]},{"1399443810":["hashtag1","hashtag2"]},{"1399443813":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399443818, 1399443841, 1399443847, 1399443811, 1399443810, 1399443813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.813140630722046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 08:11:03.085142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/49/image_15122025_07_50_05_10673.jpg', '/home/pi/Desktop/images/15122025/07/50/image_15122025_07_50_14_9767.jpg', '/home/pi/Desktop/images/15122025/07/50/image_15122025_07_50_24_9796.jpg', '/home/pi/Desktop/images/15122025/07/50/image_15122025_07_50_34_9688.jpg', '/home/pi/Desktop/images/15122025/07/50/image_15122025_07_50_45_10873.jpg', '/home/pi/Desktop/images/15122025/07/50/image_15122025_07_50_55_9840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/49/image_15122025_07_50_05_10673.jpg
/home/pi/Desktop/images/15122025/07/50/image_15122025_07_50_14_9767.jpg
/home/pi/Desktop/images/15122025/07/50/image_15122025_07_50_24_9796.jpg
/home/pi/Desktop/images/15122025/07/50/image_15122025_07_50_34_9688.jpg
/home/pi/Desktop/images/15122025/07/50/image_15122025_07_50_45_10873.jpg
/home/pi/Desktop/images/15122025/07/50/image_15122025_07_50_55_9840.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399443872","1399443874","1399443877","1399443873","1399443876","1399443875"],"photo_ids_order":["1399443872","1399443873","1399443874","1399443875","1399443876","1399443877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/861dd4b799e6b27486ff140c53f09375.jpg","text":"TemporaryFile(/tmp/multipartBody8965999882089184082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782723873,"filename":"image_15122025_07_50_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/15/7e96491c7c75cffc126658233686cb8a.jpg","text":"TemporaryFile(/tmp/multipartBody4663301823859357224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782723873,"filename":"image_15122025_07_50_24_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4bf11cb8cf15786cb91c85af17a6a8c4.jpg","text":"TemporaryFile(/tmp/multipartBody3813482603780244772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782723873,"filename":"image_15122025_07_50_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/15/b5a18989934c408690f9d6dd4a0c1db1.jpg","text":"TemporaryFile(/tmp/multipartBody3744550028789760531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782723873,"filename":"image_15122025_07_50_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/15/9082bbf4b1a7e1c4379c4dcaea6a2533.jpg","text":"TemporaryFile(/tmp/multipartBody6988436153431993719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782723873,"filename":"image_15122025_07_50_45_10873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e1f7535d0cef5a48d56419c7befbc18e.jpg","text":"TemporaryFile(/tmp/multipartBody7868761473261877661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782723873,"filename":"image_15122025_07_50_34_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399443874","file1":"1399443873","file0":"1399443872","file4":"1399443876","file5":"1399443877","file3":"1399443875"},"map_files_photo_id_array":[{"photo_id":"1399443877","filename":"file5"},{"photo_id":"1399443874","filename":"file2"},{"photo_id":"1399443876","filename":"file4"},{"photo_id":"1399443873","filename":"file1"},{"photo_id":"1399443872","filename":"file0"},{"photo_id":"1399443875","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399443872":["hashtag1","hashtag2"]},{"1399443874":["hashtag1","hashtag2"]},{"1399443877":["hashtag1","hashtag2"]},{"1399443873":["hashtag1","hashtag2"]},{"1399443876":["hashtag1","hashtag2"]},{"1399443875":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399443872, 1399443874, 1399443877, 1399443873, 1399443876, 1399443875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.390413761138916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 08:11:42.519430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/13/image_05112025_14_14_00_1624.jpg', '/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_01_1690.jpg', '/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_03_1636.jpg', '/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_05_1847.jpg', '/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_06_1545.jpg', '/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_08_1622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/13/image_05112025_14_14_00_1624.jpg
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_01_1690.jpg
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_03_1636.jpg
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_05_1847.jpg
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_06_1545.jpg
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_08_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":["1399443908","1399443886","1399443883","1399443901","1399443888","1399443890"],"photo_ids_order":["1399443883","1399443886","1399443888","1399443890","1399443901","1399443908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3fe449c52207cedabe21cd7a99c62dbe.jpg","text":"TemporaryFile(/tmp/multipartBody8894016067252506290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782763290,"filename":"image_05112025_14_14_08_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/15/027523529eef598b081be6c161c12a7e.jpg","text":"TemporaryFile(/tmp/multipartBody7846210739755776661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782763290,"filename":"image_05112025_14_14_01_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/15/f428848195941522aacf0080212633ac.jpg","text":"TemporaryFile(/tmp/multipartBody3920162423118150099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782763290,"filename":"image_05112025_14_14_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/15/5c50ff1e02f40cfe170c9826a2d6d0f9.jpg","text":"TemporaryFile(/tmp/multipartBody1863894506774542698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782763290,"filename":"image_05112025_14_14_06_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/15/c8729a2802ea87e2581b7191e0dec382.jpg","text":"TemporaryFile(/tmp/multipartBody1538283713287711215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782763290,"filename":"image_05112025_14_14_03_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f97487ce79152e041b68dbf11e0ac2e9.jpg","text":"TemporaryFile(/tmp/multipartBody2756900661518372095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782763290,"filename":"image_05112025_14_14_05_1847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399443888","file1":"1399443886","file0":"1399443883","file4":"1399443901","file5":"1399443908","file3":"1399443890"},"map_files_photo_id_array":[{"photo_id":"1399443908","filename":"file5"},{"photo_id":"1399443888","filename":"file2"},{"photo_id":"1399443901","filename":"file4"},{"photo_id":"1399443886","filename":"file1"},{"photo_id":"1399443883","filename":"file0"},{"photo_id":"1399443890","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399443908":["hashtag1","hashtag2"]},{"1399443886":["hashtag1","hashtag2"]},{"1399443883":["hashtag1","hashtag2"]},{"1399443901":["hashtag1","hashtag2"]},{"1399443888":["hashtag1","hashtag2"]},{"1399443890":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399443908, 1399443886, 1399443883, 1399443901, 1399443888, 1399443890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89908242225647 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 08:12:22.897030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/50/image_15122025_07_51_04_9801.jpg', '/home/pi/Desktop/images/15122025/07/51/image_15122025_07_51_14_9896.jpg', '/home/pi/Desktop/images/15122025/07/51/image_15122025_07_51_24_9661.jpg', '/home/pi/Desktop/images/15122025/07/51/image_15122025_07_51_34_9846.jpg', '/home/pi/Desktop/images/15122025/07/51/image_15122025_07_51_44_10737.jpg', '/home/pi/Desktop/images/15122025/07/51/image_15122025_07_51_54_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/50/image_15122025_07_51_04_9801.jpg
/home/pi/Desktop/images/15122025/07/51/image_15122025_07_51_14_9896.jpg
/home/pi/Desktop/images/15122025/07/51/image_15122025_07_51_24_9661.jpg
/home/pi/Desktop/images/15122025/07/51/image_15122025_07_51_34_9846.jpg
/home/pi/Desktop/images/15122025/07/51/image_15122025_07_51_44_10737.jpg
/home/pi/Desktop/images/15122025/07/51/image_15122025_07_51_54_9658.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5452077388763428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 08:12:32.844792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 08:12:42.792284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_10_1591.jpg', '/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_11_1638.jpg', '/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_13_1565.jpg', '/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_14_1757.jpg', '/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_16_1669.jpg', '/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_18_1694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_10_1591.jpg
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_11_1638.jpg
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_13_1565.jpg
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_14_1757.jpg
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_16_1669.jpg
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_18_1694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399443953","1399443952","1399443937","1399443927","1399443936","1399443924"],"photo_ids_order":["1399443924","1399443927","1399443936","1399443937","1399443952","1399443953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/042c3e4d0964ba5ad1240dc94d88909b.jpg","text":"TemporaryFile(/tmp/multipartBody4522926962625389342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782823512,"filename":"image_05112025_14_14_18_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/15/dd61224ba48c9251aca07fef45bcf328.jpg","text":"TemporaryFile(/tmp/multipartBody3886435939638969689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782823512,"filename":"image_05112025_14_14_16_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/15/4da049e3e566272c69531c8a0121ac50.jpg","text":"TemporaryFile(/tmp/multipartBody3442622622208204036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782823512,"filename":"image_05112025_14_14_14_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/15/939541e9d31e81a6b0322268dd0fbb33.jpg","text":"TemporaryFile(/tmp/multipartBody6991774106851113859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782823512,"filename":"image_05112025_14_14_11_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/15/1643abe82efa9fb2bc7302f5acdcb838.jpg","text":"TemporaryFile(/tmp/multipartBody4590720286725780078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782823512,"filename":"image_05112025_14_14_13_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/15/cec70e69efa07c6f05208e64d86dc0f5.jpg","text":"TemporaryFile(/tmp/multipartBody7557691258159295919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782823512,"filename":"image_05112025_14_14_10_1591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399443936","file1":"1399443927","file0":"1399443924","file4":"1399443952","file5":"1399443953","file3":"1399443937"},"map_files_photo_id_array":[{"photo_id":"1399443953","filename":"file5"},{"photo_id":"1399443936","filename":"file2"},{"photo_id":"1399443952","filename":"file4"},{"photo_id":"1399443927","filename":"file1"},{"photo_id":"1399443924","filename":"file0"},{"photo_id":"1399443937","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399443953":["hashtag1","hashtag2"]},{"1399443952":["hashtag1","hashtag2"]},{"1399443937":["hashtag1","hashtag2"]},{"1399443927":["hashtag1","hashtag2"]},{"1399443936":["hashtag1","hashtag2"]},{"1399443924":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399443953, 1399443952, 1399443937, 1399443927, 1399443936, 1399443924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14011478424072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 08:13:22.022434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/50/image_15122025_07_51_04_9801.jpg', '/home/pi/Desktop/images/15122025/07/51/image_15122025_07_51_14_9896.jpg', '/home/pi/Desktop/images/15122025/07/51/image_15122025_07_51_24_9661.jpg', '/home/pi/Desktop/images/15122025/07/51/image_15122025_07_51_34_9846.jpg', '/home/pi/Desktop/images/15122025/07/51/image_15122025_07_51_44_10737.jpg', '/home/pi/Desktop/images/15122025/07/51/image_15122025_07_51_54_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/50/image_15122025_07_51_04_9801.jpg
/home/pi/Desktop/images/15122025/07/51/image_15122025_07_51_14_9896.jpg
/home/pi/Desktop/images/15122025/07/51/image_15122025_07_51_24_9661.jpg
/home/pi/Desktop/images/15122025/07/51/image_15122025_07_51_34_9846.jpg
/home/pi/Desktop/images/15122025/07/51/image_15122025_07_51_44_10737.jpg
/home/pi/Desktop/images/15122025/07/51/image_15122025_07_51_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":["1399443959","1399443955","1399443964","1399443966","1399443957","1399443962"],"photo_ids_order":["1399443955","1399443957","1399443959","1399443962","1399443964","1399443966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a61fb973148d19cddeccdea639897100.jpg","text":"TemporaryFile(/tmp/multipartBody6300807978618634342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782862671,"filename":"image_15122025_07_51_24_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/baeced1b3985f490ebe6e168e59393a2.jpg","text":"TemporaryFile(/tmp/multipartBody5777693181181188380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782862671,"filename":"image_15122025_07_51_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/15/ad53133574759d0b9a53335ffaa836c9.jpg","text":"TemporaryFile(/tmp/multipartBody1608518068236401252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782862671,"filename":"image_15122025_07_51_44_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/15/c1f489d3f61021187da284c95906f6be.jpg","text":"TemporaryFile(/tmp/multipartBody1977429519965646485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782862671,"filename":"image_15122025_07_51_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/15/bece35297c8fa0a29741c39d3fcaef4b.jpg","text":"TemporaryFile(/tmp/multipartBody4723042862223329586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782862671,"filename":"image_15122025_07_51_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/15/b0a5e7c6a2a02d97267b7c8f69327052.jpg","text":"TemporaryFile(/tmp/multipartBody3442430769554013268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782862671,"filename":"image_15122025_07_51_34_9846.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399443959","file1":"1399443957","file0":"1399443955","file4":"1399443964","file5":"1399443966","file3":"1399443962"},"map_files_photo_id_array":[{"photo_id":"1399443966","filename":"file5"},{"photo_id":"1399443959","filename":"file2"},{"photo_id":"1399443964","filename":"file4"},{"photo_id":"1399443957","filename":"file1"},{"photo_id":"1399443955","filename":"file0"},{"photo_id":"1399443962","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399443959":["hashtag1","hashtag2"]},{"1399443955":["hashtag1","hashtag2"]},{"1399443964":["hashtag1","hashtag2"]},{"1399443966":["hashtag1","hashtag2"]},{"1399443957":["hashtag1","hashtag2"]},{"1399443962":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399443959, 1399443955, 1399443964, 1399443966, 1399443957, 1399443962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29638719558716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 08:14:02.851996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/51/image_15122025_07_52_04_9683.jpg', '/home/pi/Desktop/images/15122025/07/52/image_15122025_07_52_15_10774.jpg', '/home/pi/Desktop/images/15122025/07/52/image_15122025_07_52_24_9719.jpg', '/home/pi/Desktop/images/15122025/07/52/image_15122025_07_52_34_9763.jpg', '/home/pi/Desktop/images/15122025/07/52/image_15122025_07_52_44_9735.jpg', '/home/pi/Desktop/images/15122025/07/52/image_15122025_07_52_55_10712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/51/image_15122025_07_52_04_9683.jpg
/home/pi/Desktop/images/15122025/07/52/image_15122025_07_52_15_10774.jpg
/home/pi/Desktop/images/15122025/07/52/image_15122025_07_52_24_9719.jpg
/home/pi/Desktop/images/15122025/07/52/image_15122025_07_52_34_9763.jpg
/home/pi/Desktop/images/15122025/07/52/image_15122025_07_52_44_9735.jpg
/home/pi/Desktop/images/15122025/07/52/image_15122025_07_52_55_10712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399443979","1399443970","1399443976","1399443972","1399443974","1399443968"],"photo_ids_order":["1399443968","1399443970","1399443972","1399443974","1399443976","1399443979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c8af092325cc544151160588f80d966d.jpg","text":"TemporaryFile(/tmp/multipartBody6711236634643968530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782903705,"filename":"image_15122025_07_52_55_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/29f27d3e90addb61736113127c094fe7.jpg","text":"TemporaryFile(/tmp/multipartBody4768670743390308987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782903705,"filename":"image_15122025_07_52_15_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/15/8b73ba05941bf4c5b18a0a9dc25e82c2.jpg","text":"TemporaryFile(/tmp/multipartBody3293705694253458513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782903705,"filename":"image_15122025_07_52_44_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/46357efbbb7e4cd7472b43b53d973a4f.jpg","text":"TemporaryFile(/tmp/multipartBody3822157634282394078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782903705,"filename":"image_15122025_07_52_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/15/ccf7c3e50e8750eb0bd5910d9335b3e6.jpg","text":"TemporaryFile(/tmp/multipartBody2020485286793364519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782903705,"filename":"image_15122025_07_52_34_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/08ad3eec63a946b2086ff7c4cb39a6b4.jpg","text":"TemporaryFile(/tmp/multipartBody4982811223727226736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782903705,"filename":"image_15122025_07_52_04_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399443972","file1":"1399443970","file0":"1399443968","file4":"1399443976","file5":"1399443979","file3":"1399443974"},"map_files_photo_id_array":[{"photo_id":"1399443979","filename":"file5"},{"photo_id":"1399443972","filename":"file2"},{"photo_id":"1399443976","filename":"file4"},{"photo_id":"1399443970","filename":"file1"},{"photo_id":"1399443968","filename":"file0"},{"photo_id":"1399443974","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399443979":["hashtag1","hashtag2"]},{"1399443970":["hashtag1","hashtag2"]},{"1399443976":["hashtag1","hashtag2"]},{"1399443972":["hashtag1","hashtag2"]},{"1399443974":["hashtag1","hashtag2"]},{"1399443968":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399443979, 1399443970, 1399443976, 1399443972, 1399443974, 1399443968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16991972923279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 08:14:42.305361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_19_1569.jpg', '/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_21_1818.jpg', '/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_23_1685.jpg', '/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_24_1588.jpg', '/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_26_1689.jpg', '/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_28_1579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_19_1569.jpg
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_21_1818.jpg
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_23_1685.jpg
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_24_1588.jpg
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_26_1689.jpg
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_28_1579.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.628969669342041 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 08:15:03.206996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/53/image_15122025_07_53_14_9775.jpg', '/home/pi/Desktop/images/15122025/07/53/image_15122025_07_53_25_10703.jpg', '/home/pi/Desktop/images/15122025/07/53/image_15122025_07_53_34_9570.jpg', '/home/pi/Desktop/images/15122025/07/53/image_15122025_07_53_54_9805.jpg', '/home/pi/Desktop/images/15122025/07/54/image_15122025_07_54_14_9666.jpg', '/home/pi/Desktop/images/15122025/07/54/image_15122025_07_54_24_9587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/53/image_15122025_07_53_14_9775.jpg
/home/pi/Desktop/images/15122025/07/53/image_15122025_07_53_25_10703.jpg
/home/pi/Desktop/images/15122025/07/53/image_15122025_07_53_34_9570.jpg
/home/pi/Desktop/images/15122025/07/53/image_15122025_07_53_54_9805.jpg
/home/pi/Desktop/images/15122025/07/54/image_15122025_07_54_14_9666.jpg
/home/pi/Desktop/images/15122025/07/54/image_15122025_07_54_24_9587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399444007","1399444006","1399444009","1399444008","1399444011","1399444005"],"photo_ids_order":["1399444005","1399444006","1399444007","1399444008","1399444009","1399444011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fa086d7a5745f3206f7cce873556258e.jpg","text":"TemporaryFile(/tmp/multipartBody4905392132080903625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782963898,"filename":"image_15122025_07_53_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/15/0e3b7390e135cc64af6eac9f8c6be13f.jpg","text":"TemporaryFile(/tmp/multipartBody2265150011495137141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782963898,"filename":"image_15122025_07_53_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/15/30552acef15e8891cee473c08a1cbaf9.jpg","text":"TemporaryFile(/tmp/multipartBody4332243821418641163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782963898,"filename":"image_15122025_07_54_14_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/68f072bdfe61a01e4df64dcdf996571a.jpg","text":"TemporaryFile(/tmp/multipartBody1522114528873421953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782963898,"filename":"image_15122025_07_53_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/15/218c9689f9e76c14711fe08de6c80d1a.jpg","text":"TemporaryFile(/tmp/multipartBody2715825039127927391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782963898,"filename":"image_15122025_07_54_24_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/17b05cd240147e3580a3156b5e393bbd.jpg","text":"TemporaryFile(/tmp/multipartBody7355546746788409173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765782963898,"filename":"image_15122025_07_53_14_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399444007","file1":"1399444006","file0":"1399444005","file4":"1399444009","file5":"1399444011","file3":"1399444008"},"map_files_photo_id_array":[{"photo_id":"1399444011","filename":"file5"},{"photo_id":"1399444007","filename":"file2"},{"photo_id":"1399444009","filename":"file4"},{"photo_id":"1399444006","filename":"file1"},{"photo_id":"1399444005","filename":"file0"},{"photo_id":"1399444008","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399444007":["hashtag1","hashtag2"]},{"1399444006":["hashtag1","hashtag2"]},{"1399444009":["hashtag1","hashtag2"]},{"1399444008":["hashtag1","hashtag2"]},{"1399444011":["hashtag1","hashtag2"]},{"1399444005":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399444007, 1399444006, 1399444009, 1399444008, 1399444011, 1399444005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35611844062805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 08:15:42.637823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_19_1569.jpg', '/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_21_1818.jpg', '/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_23_1685.jpg', '/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_24_1588.jpg', '/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_26_1689.jpg', '/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_28_1579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_19_1569.jpg
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_21_1818.jpg
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_23_1685.jpg
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_24_1588.jpg
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_26_1689.jpg
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_28_1579.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5158596038818359 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 08:16:02.376675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/54/image_15122025_07_54_35_10767.jpg', '/home/pi/Desktop/images/15122025/07/54/image_15122025_07_54_44_9759.jpg', '/home/pi/Desktop/images/15122025/07/54/image_15122025_07_54_54_9826.jpg', '/home/pi/Desktop/images/15122025/07/54/image_15122025_07_55_04_9790.jpg', '/home/pi/Desktop/images/15122025/07/55/image_15122025_07_55_14_9920.jpg', '/home/pi/Desktop/images/15122025/07/55/image_15122025_07_55_24_10551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/54/image_15122025_07_54_35_10767.jpg
/home/pi/Desktop/images/15122025/07/54/image_15122025_07_54_44_9759.jpg
/home/pi/Desktop/images/15122025/07/54/image_15122025_07_54_54_9826.jpg
/home/pi/Desktop/images/15122025/07/54/image_15122025_07_55_04_9790.jpg
/home/pi/Desktop/images/15122025/07/55/image_15122025_07_55_14_9920.jpg
/home/pi/Desktop/images/15122025/07/55/image_15122025_07_55_24_10551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399444040","1399444022","1399444054","1399444045","1399444024","1399444052"],"photo_ids_order":["1399444022","1399444024","1399444040","1399444045","1399444052","1399444054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/750a05a190b801c2a06a7b1e82db83c4.jpg","text":"TemporaryFile(/tmp/multipartBody7328794984433131143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783023083,"filename":"image_15122025_07_54_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/15/a856a5f189f73afa767a9539b4bf3713.jpg","text":"TemporaryFile(/tmp/multipartBody6959605073214123670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783023083,"filename":"image_15122025_07_54_35_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/15/c16d18f7e224fbf51501d3fb794a902a.jpg","text":"TemporaryFile(/tmp/multipartBody4595062038333284704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783023083,"filename":"image_15122025_07_55_24_10551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a6d8cd7e87faa3549a5af5746cf27ca7.jpg","text":"TemporaryFile(/tmp/multipartBody2877103294346194943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783023083,"filename":"image_15122025_07_55_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/15/a859975f93c7f13be6ed08a82816ec55.jpg","text":"TemporaryFile(/tmp/multipartBody4326588742417071728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783023083,"filename":"image_15122025_07_54_44_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fc41424b253b5c5397eaf6382f68258d.jpg","text":"TemporaryFile(/tmp/multipartBody6779562221711139946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783023083,"filename":"image_15122025_07_55_14_9920.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399444040","file1":"1399444024","file0":"1399444022","file4":"1399444052","file5":"1399444054","file3":"1399444045"},"map_files_photo_id_array":[{"photo_id":"1399444054","filename":"file5"},{"photo_id":"1399444040","filename":"file2"},{"photo_id":"1399444052","filename":"file4"},{"photo_id":"1399444024","filename":"file1"},{"photo_id":"1399444022","filename":"file0"},{"photo_id":"1399444045","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399444040":["hashtag1","hashtag2"]},{"1399444022":["hashtag1","hashtag2"]},{"1399444054":["hashtag1","hashtag2"]},{"1399444045":["hashtag1","hashtag2"]},{"1399444024":["hashtag1","hashtag2"]},{"1399444052":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399444040, 1399444022, 1399444054, 1399444045, 1399444024, 1399444052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45610022544861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 08:16:41.791927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_19_1569.jpg', '/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_21_1818.jpg', '/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_23_1685.jpg', '/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_24_1588.jpg', '/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_26_1689.jpg', '/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_28_1579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_19_1569.jpg
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_21_1818.jpg
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_23_1685.jpg
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_24_1588.jpg
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_26_1689.jpg
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_28_1579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399444063","1399444073","1399444061","1399444070","1399444064","1399444058"],"photo_ids_order":["1399444058","1399444061","1399444063","1399444064","1399444070","1399444073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/540ce49b254ee970ffdc81d7c3b4c167.jpg","text":"TemporaryFile(/tmp/multipartBody5293368814702390927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783062442,"filename":"image_05112025_14_14_23_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/15/d9be68f54abd3f9106ea5c8a75a71c01.jpg","text":"TemporaryFile(/tmp/multipartBody3847679787684184049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783062442,"filename":"image_05112025_14_14_28_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/15/55ef5a465c0e979f1cedfc3b97eba001.jpg","text":"TemporaryFile(/tmp/multipartBody8749693483648384927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783062442,"filename":"image_05112025_14_14_21_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/15/2a46dc900d7ff5ec8d11ab53e750aa32.jpg","text":"TemporaryFile(/tmp/multipartBody3709034281660398158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783062442,"filename":"image_05112025_14_14_26_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/15/d7b4bc5bad376f9d2ef0737efb5e7782.jpg","text":"TemporaryFile(/tmp/multipartBody7626441134337285410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783062442,"filename":"image_05112025_14_14_24_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/15/3237cb7120bcf40926cbb0cbbe872746.jpg","text":"TemporaryFile(/tmp/multipartBody2399210230374368377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783062442,"filename":"image_05112025_14_14_19_1569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399444063","file1":"1399444061","file0":"1399444058","file4":"1399444070","file5":"1399444073","file3":"1399444064"},"map_files_photo_id_array":[{"photo_id":"1399444073","filename":"file5"},{"photo_id":"1399444063","filename":"file2"},{"photo_id":"1399444070","filename":"file4"},{"photo_id":"1399444061","filename":"file1"},{"photo_id":"1399444058","filename":"file0"},{"photo_id":"1399444064","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399444063":["hashtag1","hashtag2"]},{"1399444073":["hashtag1","hashtag2"]},{"1399444061":["hashtag1","hashtag2"]},{"1399444070":["hashtag1","hashtag2"]},{"1399444064":["hashtag1","hashtag2"]},{"1399444058":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399444063, 1399444073, 1399444061, 1399444070, 1399444064, 1399444058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.41401791572571 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 08:17:22.030267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/55/image_15122025_07_55_34_9595.jpg', '/home/pi/Desktop/images/15122025/07/55/image_15122025_07_55_45_10570.jpg', '/home/pi/Desktop/images/15122025/07/55/image_15122025_07_55_54_9662.jpg', '/home/pi/Desktop/images/15122025/07/55/image_15122025_07_56_04_10218.jpg', '/home/pi/Desktop/images/15122025/07/56/image_15122025_07_56_14_9756.jpg', '/home/pi/Desktop/images/15122025/07/56/image_15122025_07_56_34_9944.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/55/image_15122025_07_55_34_9595.jpg
/home/pi/Desktop/images/15122025/07/55/image_15122025_07_55_45_10570.jpg
/home/pi/Desktop/images/15122025/07/55/image_15122025_07_55_54_9662.jpg
/home/pi/Desktop/images/15122025/07/55/image_15122025_07_56_04_10218.jpg
/home/pi/Desktop/images/15122025/07/56/image_15122025_07_56_14_9756.jpg
/home/pi/Desktop/images/15122025/07/56/image_15122025_07_56_34_9944.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399444207","1399444077","1399444170","1399444134","1399444097","1399444244"],"photo_ids_order":["1399444077","1399444097","1399444134","1399444170","1399444207","1399444244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/62cc67fa47f16ad79bdf3303c418c975.jpg","text":"TemporaryFile(/tmp/multipartBody1986998198044626357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783102650,"filename":"image_15122025_07_56_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/15/af8d5d19f82b3ed6e06d7c1ab3a19014.jpg","text":"TemporaryFile(/tmp/multipartBody5140919842414858108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783102650,"filename":"image_15122025_07_55_34_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/efd0d4b080eb4e26832a75a2a745d366.jpg","text":"TemporaryFile(/tmp/multipartBody6424347371946181316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783102650,"filename":"image_15122025_07_56_04_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/15/229df81669eac7de3f5eab10522f6341.jpg","text":"TemporaryFile(/tmp/multipartBody4514575275826259728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783102650,"filename":"image_15122025_07_55_54_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/31a9dcae8feea26b9aabaa991e78ea41.jpg","text":"TemporaryFile(/tmp/multipartBody3554942191208760276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783102650,"filename":"image_15122025_07_55_45_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8f4586b4c03d9f849caf94b2bf762293.jpg","text":"TemporaryFile(/tmp/multipartBody547357732510957286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783102650,"filename":"image_15122025_07_56_34_9944.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399444134","file1":"1399444097","file0":"1399444077","file4":"1399444207","file5":"1399444244","file3":"1399444170"},"map_files_photo_id_array":[{"photo_id":"1399444244","filename":"file5"},{"photo_id":"1399444134","filename":"file2"},{"photo_id":"1399444207","filename":"file4"},{"photo_id":"1399444097","filename":"file1"},{"photo_id":"1399444077","filename":"file0"},{"photo_id":"1399444170","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399444207":["hashtag1","hashtag2"]},{"1399444077":["hashtag1","hashtag2"]},{"1399444170":["hashtag1","hashtag2"]},{"1399444134":["hashtag1","hashtag2"]},{"1399444097":["hashtag1","hashtag2"]},{"1399444244":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399444207, 1399444077, 1399444170, 1399444134, 1399444097, 1399444244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.033010482788086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 08:18:02.633915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/56/image_15122025_07_56_44_10639.jpg', '/home/pi/Desktop/images/15122025/07/56/image_15122025_07_56_54_9694.jpg', '/home/pi/Desktop/images/15122025/07/56/image_15122025_07_57_04_9803.jpg', '/home/pi/Desktop/images/15122025/07/57/image_15122025_07_57_24_9740.jpg', '/home/pi/Desktop/images/15122025/07/57/image_15122025_07_57_34_9730.jpg', '/home/pi/Desktop/images/15122025/07/57/image_15122025_07_57_45_10541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/56/image_15122025_07_56_44_10639.jpg
/home/pi/Desktop/images/15122025/07/56/image_15122025_07_56_54_9694.jpg
/home/pi/Desktop/images/15122025/07/56/image_15122025_07_57_04_9803.jpg
/home/pi/Desktop/images/15122025/07/57/image_15122025_07_57_24_9740.jpg
/home/pi/Desktop/images/15122025/07/57/image_15122025_07_57_34_9730.jpg
/home/pi/Desktop/images/15122025/07/57/image_15122025_07_57_45_10541.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5813696384429932 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 08:18:12.206200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 08:18:22.231466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/56/image_15122025_07_56_44_10639.jpg', '/home/pi/Desktop/images/15122025/07/56/image_15122025_07_56_54_9694.jpg', '/home/pi/Desktop/images/15122025/07/56/image_15122025_07_57_04_9803.jpg', '/home/pi/Desktop/images/15122025/07/57/image_15122025_07_57_24_9740.jpg', '/home/pi/Desktop/images/15122025/07/57/image_15122025_07_57_34_9730.jpg', '/home/pi/Desktop/images/15122025/07/57/image_15122025_07_57_45_10541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/56/image_15122025_07_56_44_10639.jpg
/home/pi/Desktop/images/15122025/07/56/image_15122025_07_56_54_9694.jpg
/home/pi/Desktop/images/15122025/07/56/image_15122025_07_57_04_9803.jpg
/home/pi/Desktop/images/15122025/07/57/image_15122025_07_57_24_9740.jpg
/home/pi/Desktop/images/15122025/07/57/image_15122025_07_57_34_9730.jpg
/home/pi/Desktop/images/15122025/07/57/image_15122025_07_57_45_10541.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399444369","1399444363","1399444365","1399444367","1399444346","1399444361"],"photo_ids_order":["1399444346","1399444361","1399444363","1399444365","1399444367","1399444369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cd0ca7d7c48cbd6dcb60f164db9143f3.jpg","text":"TemporaryFile(/tmp/multipartBody4407423460634488189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783162846,"filename":"image_15122025_07_57_45_10541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/93e1d280987c558da6820043b4a9f4cd.jpg","text":"TemporaryFile(/tmp/multipartBody1949675230881135095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783162846,"filename":"image_15122025_07_57_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/15/53e5b4ea06aae20e08e4e3b0483e40b8.jpg","text":"TemporaryFile(/tmp/multipartBody1219787504705368046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783162846,"filename":"image_15122025_07_57_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/15/e321cd3004c504fb45f309fc11943633.jpg","text":"TemporaryFile(/tmp/multipartBody6536524031999049837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783162846,"filename":"image_15122025_07_57_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/15/86808340ace0ce96bae99ae1aae33326.jpg","text":"TemporaryFile(/tmp/multipartBody4140854087157720586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783162846,"filename":"image_15122025_07_56_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/15/e295c6747ff81e52952ec26e903449bf.jpg","text":"TemporaryFile(/tmp/multipartBody4963649243688561355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783162846,"filename":"image_15122025_07_56_54_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399444363","file1":"1399444361","file0":"1399444346","file4":"1399444367","file5":"1399444369","file3":"1399444365"},"map_files_photo_id_array":[{"photo_id":"1399444369","filename":"file5"},{"photo_id":"1399444363","filename":"file2"},{"photo_id":"1399444367","filename":"file4"},{"photo_id":"1399444361","filename":"file1"},{"photo_id":"1399444346","filename":"file0"},{"photo_id":"1399444365","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399444369":["hashtag1","hashtag2"]},{"1399444363":["hashtag1","hashtag2"]},{"1399444365":["hashtag1","hashtag2"]},{"1399444367":["hashtag1","hashtag2"]},{"1399444346":["hashtag1","hashtag2"]},{"1399444361":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399444369, 1399444363, 1399444365, 1399444367, 1399444346, 1399444361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98116946220398 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 08:19:03.620001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/57/image_15122025_07_57_54_9624.jpg', '/home/pi/Desktop/images/15122025/07/57/image_15122025_07_58_04_9594.jpg', '/home/pi/Desktop/images/15122025/07/58/image_15122025_07_58_15_10756.jpg', '/home/pi/Desktop/images/15122025/07/58/image_15122025_07_58_24_9732.jpg', '/home/pi/Desktop/images/15122025/07/58/image_15122025_07_58_34_9665.jpg', '/home/pi/Desktop/images/15122025/07/58/image_15122025_07_58_54_9100.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/57/image_15122025_07_57_54_9624.jpg
/home/pi/Desktop/images/15122025/07/57/image_15122025_07_58_04_9594.jpg
/home/pi/Desktop/images/15122025/07/58/image_15122025_07_58_15_10756.jpg
/home/pi/Desktop/images/15122025/07/58/image_15122025_07_58_24_9732.jpg
/home/pi/Desktop/images/15122025/07/58/image_15122025_07_58_34_9665.jpg
/home/pi/Desktop/images/15122025/07/58/image_15122025_07_58_54_9100.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399444474","1399444479","1399444482","1399444476","1399444464","1399444472"],"photo_ids_order":["1399444464","1399444472","1399444474","1399444476","1399444479","1399444482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/04a2c521ec37411ca1db240fdb129e6d.jpg","text":"TemporaryFile(/tmp/multipartBody287169212080464992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783204415,"filename":"image_15122025_07_58_15_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2367accf42bb48885ed18051cad34fe3.jpg","text":"TemporaryFile(/tmp/multipartBody7128824293826732435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783204415,"filename":"image_15122025_07_58_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/15/b096f99348e006e246670b707c81de50.jpg","text":"TemporaryFile(/tmp/multipartBody6814938784870342312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783204415,"filename":"image_15122025_07_58_54_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/15/cb7550d09f1add87b6cc6e49e3eb8819.jpg","text":"TemporaryFile(/tmp/multipartBody440763937297821348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783204415,"filename":"image_15122025_07_58_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/15/462c8851c0deffd450f3efa5fecb2dd1.jpg","text":"TemporaryFile(/tmp/multipartBody3791398532804876617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783204415,"filename":"image_15122025_07_57_54_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/15/f89e75306ba8cf58b53f1add795f3716.jpg","text":"TemporaryFile(/tmp/multipartBody6571612590779930061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783204415,"filename":"image_15122025_07_58_04_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399444474","file1":"1399444472","file0":"1399444464","file4":"1399444479","file5":"1399444482","file3":"1399444476"},"map_files_photo_id_array":[{"photo_id":"1399444482","filename":"file5"},{"photo_id":"1399444474","filename":"file2"},{"photo_id":"1399444479","filename":"file4"},{"photo_id":"1399444472","filename":"file1"},{"photo_id":"1399444464","filename":"file0"},{"photo_id":"1399444476","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399444474":["hashtag1","hashtag2"]},{"1399444479":["hashtag1","hashtag2"]},{"1399444482":["hashtag1","hashtag2"]},{"1399444476":["hashtag1","hashtag2"]},{"1399444464":["hashtag1","hashtag2"]},{"1399444472":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399444474, 1399444479, 1399444482, 1399444476, 1399444464, 1399444472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.51459002494812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 08:20:03.129873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/07/58/image_15122025_07_59_04_10673.jpg', '/home/pi/Desktop/images/15122025/07/59/image_15122025_07_59_24_9678.jpg', '/home/pi/Desktop/images/15122025/07/59/image_15122025_07_59_34_10527.jpg', '/home/pi/Desktop/images/15122025/07/59/image_15122025_07_59_44_9715.jpg', '/home/pi/Desktop/images/15122025/07/59/image_15122025_07_59_54_9671.jpg', '/home/pi/Desktop/images/15122025/08/01/image_15122025_08_01_25_10794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/07/58/image_15122025_07_59_04_10673.jpg
/home/pi/Desktop/images/15122025/07/59/image_15122025_07_59_24_9678.jpg
/home/pi/Desktop/images/15122025/07/59/image_15122025_07_59_34_10527.jpg
/home/pi/Desktop/images/15122025/07/59/image_15122025_07_59_44_9715.jpg
/home/pi/Desktop/images/15122025/07/59/image_15122025_07_59_54_9671.jpg
/home/pi/Desktop/images/15122025/08/01/image_15122025_08_01_25_10794.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399444502","1399444495","1399444496","1399444499","1399444490","1399444508"],"photo_ids_order":["1399444490","1399444495","1399444496","1399444499","1399444502","1399444508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/df98640ac2e83935c0359fedb9b65955.jpg","text":"TemporaryFile(/tmp/multipartBody2960639197156054335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783263776,"filename":"image_15122025_07_59_54_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ba002f6b4b19f48a7c0c4fc38402fec4.jpg","text":"TemporaryFile(/tmp/multipartBody5375346150371628405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783263776,"filename":"image_15122025_07_59_24_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bd65b279d96942dda40ef0795ee623bb.jpg","text":"TemporaryFile(/tmp/multipartBody3680540305760219871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783263776,"filename":"image_15122025_07_59_34_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/15/ccac735747ad17e51981d13db6ca97a2.jpg","text":"TemporaryFile(/tmp/multipartBody5718211064915367418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783263776,"filename":"image_15122025_07_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/15/24c1c1813b1aa521246f4ba8635e9fe4.jpg","text":"TemporaryFile(/tmp/multipartBody7440003764826433214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783263776,"filename":"image_15122025_07_59_04_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a41eb71aae3af10a48b17b843f831dd8.jpg","text":"TemporaryFile(/tmp/multipartBody5779294731471900381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783263776,"filename":"image_15122025_08_01_25_10794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399444496","file1":"1399444495","file0":"1399444490","file4":"1399444502","file5":"1399444508","file3":"1399444499"},"map_files_photo_id_array":[{"photo_id":"1399444508","filename":"file5"},{"photo_id":"1399444496","filename":"file2"},{"photo_id":"1399444502","filename":"file4"},{"photo_id":"1399444495","filename":"file1"},{"photo_id":"1399444490","filename":"file0"},{"photo_id":"1399444499","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399444502":["hashtag1","hashtag2"]},{"1399444495":["hashtag1","hashtag2"]},{"1399444496":["hashtag1","hashtag2"]},{"1399444499":["hashtag1","hashtag2"]},{"1399444490":["hashtag1","hashtag2"]},{"1399444508":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399444502, 1399444495, 1399444496, 1399444499, 1399444490, 1399444508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77823853492737 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 08:20:42.632429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_29_1684.jpg', '/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_31_1702.jpg', '/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_33_1708.jpg', '/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_37_4490.jpg', '/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_41_3238.jpg', '/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_42_1637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_29_1684.jpg
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_31_1702.jpg
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_33_1708.jpg
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_37_4490.jpg
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_41_3238.jpg
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_42_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":["1399444517","1399444519","1399444516","1399444515","1399444527","1399444526"],"photo_ids_order":["1399444515","1399444516","1399444517","1399444519","1399444526","1399444527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7a396e5535b5a527011df01656b781e2.jpg","text":"TemporaryFile(/tmp/multipartBody8316925427399670378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783303341,"filename":"image_05112025_14_14_33_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/15/38186a3c94918c60b4fd25e1ddb4354b.jpg","text":"TemporaryFile(/tmp/multipartBody6171315370155555032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783303341,"filename":"image_05112025_14_14_37_4490.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e15a1fa66718967c1d1f5337d5884311.jpg","text":"TemporaryFile(/tmp/multipartBody8187350512810433157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783303341,"filename":"image_05112025_14_14_31_1702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b08ed5fd7d3d69c9deebead00ac12b9b.jpg","text":"TemporaryFile(/tmp/multipartBody2741947354985009947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783303341,"filename":"image_05112025_14_14_29_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/15/7f0e61df1982c207af11b0d210a63f82.jpg","text":"TemporaryFile(/tmp/multipartBody4099488181707857295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783303341,"filename":"image_05112025_14_14_42_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2e88dee3dd8087539d18e453162d89dc.jpg","text":"TemporaryFile(/tmp/multipartBody258719140069191501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783303341,"filename":"image_05112025_14_14_41_3238.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399444517","file1":"1399444516","file0":"1399444515","file4":"1399444526","file5":"1399444527","file3":"1399444519"},"map_files_photo_id_array":[{"photo_id":"1399444527","filename":"file5"},{"photo_id":"1399444517","filename":"file2"},{"photo_id":"1399444526","filename":"file4"},{"photo_id":"1399444516","filename":"file1"},{"photo_id":"1399444515","filename":"file0"},{"photo_id":"1399444519","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399444517":["hashtag1","hashtag2"]},{"1399444519":["hashtag1","hashtag2"]},{"1399444516":["hashtag1","hashtag2"]},{"1399444515":["hashtag1","hashtag2"]},{"1399444527":["hashtag1","hashtag2"]},{"1399444526":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399444517, 1399444519, 1399444516, 1399444515, 1399444527, 1399444526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91305685043335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 08:21:21.883767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/01/image_15122025_08_01_34_9828.jpg', '/home/pi/Desktop/images/15122025/08/01/image_15122025_08_01_44_9814.jpg', '/home/pi/Desktop/images/15122025/08/01/image_15122025_08_01_54_9689.jpg', '/home/pi/Desktop/images/15122025/08/01/image_15122025_08_02_05_10667.jpg', '/home/pi/Desktop/images/15122025/08/02/image_15122025_08_02_14_9762.jpg', '/home/pi/Desktop/images/15122025/08/02/image_15122025_08_02_24_9814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/01/image_15122025_08_01_34_9828.jpg
/home/pi/Desktop/images/15122025/08/01/image_15122025_08_01_44_9814.jpg
/home/pi/Desktop/images/15122025/08/01/image_15122025_08_01_54_9689.jpg
/home/pi/Desktop/images/15122025/08/01/image_15122025_08_02_05_10667.jpg
/home/pi/Desktop/images/15122025/08/02/image_15122025_08_02_14_9762.jpg
/home/pi/Desktop/images/15122025/08/02/image_15122025_08_02_24_9814.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399444660","1399444650","1399444653","1399444662","1399444656","1399444658"],"photo_ids_order":["1399444650","1399444653","1399444656","1399444658","1399444660","1399444662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7ce4b502b74c298941350247072e639e.jpg","text":"TemporaryFile(/tmp/multipartBody4810383060849330665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783342496,"filename":"image_15122025_08_02_14_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6c2fab9043320a15d89827f20d463648.jpg","text":"TemporaryFile(/tmp/multipartBody6941443454973227510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783342496,"filename":"image_15122025_08_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/15/5f9fef15baf86940f9b47e8b3ea70e0d.jpg","text":"TemporaryFile(/tmp/multipartBody349293437835832442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783342496,"filename":"image_15122025_08_01_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/15/66d75962d47dc014b67090204740f390.jpg","text":"TemporaryFile(/tmp/multipartBody4932008395271574630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783342496,"filename":"image_15122025_08_02_24_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/34d03e88321d41f913402d584d052f1f.jpg","text":"TemporaryFile(/tmp/multipartBody9207208822497900604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783342496,"filename":"image_15122025_08_01_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/15/28f65949f593c40c40ac60fc16d430b7.jpg","text":"TemporaryFile(/tmp/multipartBody6662483894579355267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783342496,"filename":"image_15122025_08_02_05_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399444656","file1":"1399444653","file0":"1399444650","file4":"1399444660","file5":"1399444662","file3":"1399444658"},"map_files_photo_id_array":[{"photo_id":"1399444662","filename":"file5"},{"photo_id":"1399444656","filename":"file2"},{"photo_id":"1399444660","filename":"file4"},{"photo_id":"1399444653","filename":"file1"},{"photo_id":"1399444650","filename":"file0"},{"photo_id":"1399444658","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399444660":["hashtag1","hashtag2"]},{"1399444650":["hashtag1","hashtag2"]},{"1399444653":["hashtag1","hashtag2"]},{"1399444662":["hashtag1","hashtag2"]},{"1399444656":["hashtag1","hashtag2"]},{"1399444658":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399444660, 1399444650, 1399444653, 1399444662, 1399444656, 1399444658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60455274581909 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 08:22:02.620044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/02/image_15122025_08_02_34_9647.jpg', '/home/pi/Desktop/images/15122025/08/02/image_15122025_08_02_54_9762.jpg', '/home/pi/Desktop/images/15122025/08/02/image_15122025_08_03_04_9793.jpg', '/home/pi/Desktop/images/15122025/08/03/image_15122025_08_03_34_9680.jpg', '/home/pi/Desktop/images/15122025/08/03/image_15122025_08_03_54_10594.jpg', '/home/pi/Desktop/images/15122025/08/04/image_15122025_08_04_54_9877.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/02/image_15122025_08_02_34_9647.jpg
/home/pi/Desktop/images/15122025/08/02/image_15122025_08_02_54_9762.jpg
/home/pi/Desktop/images/15122025/08/02/image_15122025_08_03_04_9793.jpg
/home/pi/Desktop/images/15122025/08/03/image_15122025_08_03_34_9680.jpg
/home/pi/Desktop/images/15122025/08/03/image_15122025_08_03_54_10594.jpg
/home/pi/Desktop/images/15122025/08/04/image_15122025_08_04_54_9877.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399444684","1399444771","1399444666","1399444671","1399444668","1399444664"],"photo_ids_order":["1399444664","1399444666","1399444668","1399444671","1399444684","1399444771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7900104f17ff626a270b64159f7055c1.jpg","text":"TemporaryFile(/tmp/multipartBody2758014920987822688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783383262,"filename":"image_15122025_08_03_54_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/15/1ed0cb5c9ebfff1c21b93a0ff13a8dda.jpg","text":"TemporaryFile(/tmp/multipartBody6999222312284950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783383262,"filename":"image_15122025_08_04_54_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/15/16c9bb59a7aa797e6b8e21cb24f73e20.jpg","text":"TemporaryFile(/tmp/multipartBody5945949463258559679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783383262,"filename":"image_15122025_08_02_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/15/fca1a3bece53137ea9c26f35d49da8c2.jpg","text":"TemporaryFile(/tmp/multipartBody301579958991925162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783383262,"filename":"image_15122025_08_03_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/15/8dc89f13eb742ae4a55ed3fcd2f7e836.jpg","text":"TemporaryFile(/tmp/multipartBody6116007705502450099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783383262,"filename":"image_15122025_08_03_04_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/76a6a98dc840d564dbd70288bf083209.jpg","text":"TemporaryFile(/tmp/multipartBody501563173886403434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783383262,"filename":"image_15122025_08_02_34_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399444668","file1":"1399444666","file0":"1399444664","file4":"1399444684","file5":"1399444771","file3":"1399444671"},"map_files_photo_id_array":[{"photo_id":"1399444771","filename":"file5"},{"photo_id":"1399444668","filename":"file2"},{"photo_id":"1399444684","filename":"file4"},{"photo_id":"1399444666","filename":"file1"},{"photo_id":"1399444664","filename":"file0"},{"photo_id":"1399444671","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399444684":["hashtag1","hashtag2"]},{"1399444771":["hashtag1","hashtag2"]},{"1399444666":["hashtag1","hashtag2"]},{"1399444671":["hashtag1","hashtag2"]},{"1399444668":["hashtag1","hashtag2"]},{"1399444664":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399444684, 1399444771, 1399444666, 1399444671, 1399444668, 1399444664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80580186843872 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 08:22:42.129512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_44_1883.jpg', '/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_46_1574.jpg', '/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_47_1705.jpg', '/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_51_3238.jpg', '/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_52_1769.jpg', '/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_01_9084.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_44_1883.jpg
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_46_1574.jpg
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_47_1705.jpg
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_51_3238.jpg
/home/pi/Desktop/images/05112025/14/14/image_05112025_14_14_52_1769.jpg
/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_01_9084.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399444798","1399444840","1399444837","1399444799","1399444796","1399444838"],"photo_ids_order":["1399444796","1399444798","1399444799","1399444837","1399444838","1399444840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ef60d10dac4eb8c57acff40428dc0c53.jpg","text":"TemporaryFile(/tmp/multipartBody2722434140938709172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783422849,"filename":"image_05112025_14_14_46_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/15/866db2a33f2bf6b016a80d4de8bf906d.jpg","text":"TemporaryFile(/tmp/multipartBody7420718550208767040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783422849,"filename":"image_05112025_14_15_01_9084.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d81f143d1dd2553a626a94fd0c03b1a3.jpg","text":"TemporaryFile(/tmp/multipartBody200707440158991520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783422849,"filename":"image_05112025_14_14_51_3238.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7b2cab5fa35912de13eb51e81e89906e.jpg","text":"TemporaryFile(/tmp/multipartBody4088936620855752596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783422849,"filename":"image_05112025_14_14_47_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/15/0dd4d06ff08290dadace2261e9063d57.jpg","text":"TemporaryFile(/tmp/multipartBody4779208392092787471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783422849,"filename":"image_05112025_14_14_44_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/15/84bb8127e7bb2bb9ad6ef4d1baac3d35.jpg","text":"TemporaryFile(/tmp/multipartBody6763489523281944853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783422849,"filename":"image_05112025_14_14_52_1769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399444799","file1":"1399444798","file0":"1399444796","file4":"1399444838","file5":"1399444840","file3":"1399444837"},"map_files_photo_id_array":[{"photo_id":"1399444840","filename":"file5"},{"photo_id":"1399444799","filename":"file2"},{"photo_id":"1399444838","filename":"file4"},{"photo_id":"1399444798","filename":"file1"},{"photo_id":"1399444796","filename":"file0"},{"photo_id":"1399444837","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399444798":["hashtag1","hashtag2"]},{"1399444840":["hashtag1","hashtag2"]},{"1399444837":["hashtag1","hashtag2"]},{"1399444799":["hashtag1","hashtag2"]},{"1399444796":["hashtag1","hashtag2"]},{"1399444838":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399444798, 1399444840, 1399444837, 1399444799, 1399444796, 1399444838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10387110710144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 08:23:22.522284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/05/image_15122025_08_05_15_10721.jpg', '/home/pi/Desktop/images/15122025/08/05/image_15122025_08_05_24_9718.jpg', '/home/pi/Desktop/images/15122025/08/05/image_15122025_08_05_45_10734.jpg', '/home/pi/Desktop/images/15122025/08/05/image_15122025_08_05_55_9867.jpg', '/home/pi/Desktop/images/15122025/08/05/image_15122025_08_06_04_9537.jpg', '/home/pi/Desktop/images/15122025/08/06/image_15122025_08_06_25_10721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/05/image_15122025_08_05_15_10721.jpg
/home/pi/Desktop/images/15122025/08/05/image_15122025_08_05_24_9718.jpg
/home/pi/Desktop/images/15122025/08/05/image_15122025_08_05_45_10734.jpg
/home/pi/Desktop/images/15122025/08/05/image_15122025_08_05_55_9867.jpg
/home/pi/Desktop/images/15122025/08/05/image_15122025_08_06_04_9537.jpg
/home/pi/Desktop/images/15122025/08/06/image_15122025_08_06_25_10721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399444852","1399444846","1399444855","1399444849","1399444848","1399444853"],"photo_ids_order":["1399444846","1399444848","1399444849","1399444852","1399444853","1399444855"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/66ee9b80998e4e72b522cd55dc2d087b.jpg","text":"TemporaryFile(/tmp/multipartBody2858093443669212737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783463135,"filename":"image_15122025_08_05_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/15/d7bc2c8751cba3c7bfdf3b79e1e36cbe.jpg","text":"TemporaryFile(/tmp/multipartBody5837544816458448281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783463135,"filename":"image_15122025_08_05_15_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/129b8c8b0ecade4a7eaf65d148d57afe.jpg","text":"TemporaryFile(/tmp/multipartBody6780237653434466062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783463135,"filename":"image_15122025_08_06_25_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/93425ea4712773596d9ad2c8ccf97e5c.jpg","text":"TemporaryFile(/tmp/multipartBody8049606844278018337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783463135,"filename":"image_15122025_08_05_45_10734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8ad956ab7b12a00c94446afb0f9f6440.jpg","text":"TemporaryFile(/tmp/multipartBody2498179538010207440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783463135,"filename":"image_15122025_08_05_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/15/5bdcf8a64f4ba887c4aeed5c2744d0d9.jpg","text":"TemporaryFile(/tmp/multipartBody3703941551927783686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783463135,"filename":"image_15122025_08_06_04_9537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399444849","file1":"1399444848","file0":"1399444846","file4":"1399444853","file5":"1399444855","file3":"1399444852"},"map_files_photo_id_array":[{"photo_id":"1399444855","filename":"file5"},{"photo_id":"1399444849","filename":"file2"},{"photo_id":"1399444853","filename":"file4"},{"photo_id":"1399444848","filename":"file1"},{"photo_id":"1399444846","filename":"file0"},{"photo_id":"1399444852","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399444852":["hashtag1","hashtag2"]},{"1399444846":["hashtag1","hashtag2"]},{"1399444855":["hashtag1","hashtag2"]},{"1399444849":["hashtag1","hashtag2"]},{"1399444848":["hashtag1","hashtag2"]},{"1399444853":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399444852, 1399444846, 1399444855, 1399444849, 1399444848, 1399444853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75077772140503 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 08:24:03.418967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/06/image_15122025_08_06_34_9559.jpg', '/home/pi/Desktop/images/15122025/08/06/image_15122025_08_07_05_10675.jpg', '/home/pi/Desktop/images/15122025/08/07/image_15122025_08_07_24_9829.jpg', '/home/pi/Desktop/images/15122025/08/07/image_15122025_08_07_35_10682.jpg', '/home/pi/Desktop/images/15122025/08/07/image_15122025_08_07_44_9695.jpg', '/home/pi/Desktop/images/15122025/08/07/image_15122025_08_07_54_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/06/image_15122025_08_06_34_9559.jpg
/home/pi/Desktop/images/15122025/08/06/image_15122025_08_07_05_10675.jpg
/home/pi/Desktop/images/15122025/08/07/image_15122025_08_07_24_9829.jpg
/home/pi/Desktop/images/15122025/08/07/image_15122025_08_07_35_10682.jpg
/home/pi/Desktop/images/15122025/08/07/image_15122025_08_07_44_9695.jpg
/home/pi/Desktop/images/15122025/08/07/image_15122025_08_07_54_9704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399444864","1399444861","1399444863","1399444857","1399444866","1399444859"],"photo_ids_order":["1399444857","1399444859","1399444861","1399444863","1399444864","1399444866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e2eb7b9994d8269e7f105a00c7597c76.jpg","text":"TemporaryFile(/tmp/multipartBody8731290029007843302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783504083,"filename":"image_15122025_08_07_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/15/9aee89e11c4f25d198e1dded0413b358.jpg","text":"TemporaryFile(/tmp/multipartBody8344044764521051072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783504083,"filename":"image_15122025_08_07_24_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7b5e3a70647bfffdd5b794ee29e5df93.jpg","text":"TemporaryFile(/tmp/multipartBody5891792506299110883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783504083,"filename":"image_15122025_08_07_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/15/746a4a94dd001e2d2d54fc0e3a6156d1.jpg","text":"TemporaryFile(/tmp/multipartBody3397293846713709071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783504083,"filename":"image_15122025_08_06_34_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fc0ea41969c2b6cd505e8f0a188d0f64.jpg","text":"TemporaryFile(/tmp/multipartBody2461452890346461064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783504083,"filename":"image_15122025_08_07_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/15/a09eed9d1befb0dbd1efa8922ad42cf1.jpg","text":"TemporaryFile(/tmp/multipartBody6270120730540420468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783504083,"filename":"image_15122025_08_07_05_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399444861","file1":"1399444859","file0":"1399444857","file4":"1399444864","file5":"1399444866","file3":"1399444863"},"map_files_photo_id_array":[{"photo_id":"1399444866","filename":"file5"},{"photo_id":"1399444861","filename":"file2"},{"photo_id":"1399444864","filename":"file4"},{"photo_id":"1399444859","filename":"file1"},{"photo_id":"1399444857","filename":"file0"},{"photo_id":"1399444863","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399444864":["hashtag1","hashtag2"]},{"1399444861":["hashtag1","hashtag2"]},{"1399444863":["hashtag1","hashtag2"]},{"1399444857":["hashtag1","hashtag2"]},{"1399444866":["hashtag1","hashtag2"]},{"1399444859":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399444864, 1399444861, 1399444863, 1399444857, 1399444866, 1399444859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65991830825806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 08:24:42.732198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_04_2037.jpg', '/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_06_2091.jpg', '/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_07_1622.jpg', '/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_09_1700.jpg', '/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_11_1574.jpg', '/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_12_1666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_04_2037.jpg
/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_06_2091.jpg
/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_07_1622.jpg
/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_09_1700.jpg
/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_11_1574.jpg
/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_12_1666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399444897","1399444885","1399444888","1399444887","1399444878","1399444886"],"photo_ids_order":["1399444878","1399444885","1399444886","1399444887","1399444888","1399444897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6871c956c3359a47513fe3158645b658.jpg","text":"TemporaryFile(/tmp/multipartBody2935736674695513426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783543437,"filename":"image_05112025_14_15_12_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ff0008f02b246f1efd34862471827ae9.jpg","text":"TemporaryFile(/tmp/multipartBody3214785605184194745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783543437,"filename":"image_05112025_14_15_06_2091.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/27f5e0a16490f203a45d20a498e53911.jpg","text":"TemporaryFile(/tmp/multipartBody2021850811969829800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783543437,"filename":"image_05112025_14_15_11_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/15/d8f85fdae5bedc3f122e0c49575df003.jpg","text":"TemporaryFile(/tmp/multipartBody2560236846802236437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783543437,"filename":"image_05112025_14_15_09_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/15/1486f45adca8729dc2048d18d4e88fc5.jpg","text":"TemporaryFile(/tmp/multipartBody5184273751813996117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783543437,"filename":"image_05112025_14_15_04_2037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a478ed6118c29f386a5475cfa503a587.jpg","text":"TemporaryFile(/tmp/multipartBody5703785548461260804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783543437,"filename":"image_05112025_14_15_07_1622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399444886","file1":"1399444885","file0":"1399444878","file4":"1399444888","file5":"1399444897","file3":"1399444887"},"map_files_photo_id_array":[{"photo_id":"1399444897","filename":"file5"},{"photo_id":"1399444886","filename":"file2"},{"photo_id":"1399444888","filename":"file4"},{"photo_id":"1399444885","filename":"file1"},{"photo_id":"1399444878","filename":"file0"},{"photo_id":"1399444887","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399444897":["hashtag1","hashtag2"]},{"1399444885":["hashtag1","hashtag2"]},{"1399444888":["hashtag1","hashtag2"]},{"1399444887":["hashtag1","hashtag2"]},{"1399444878":["hashtag1","hashtag2"]},{"1399444886":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399444897, 1399444885, 1399444888, 1399444887, 1399444878, 1399444886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.341777324676514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 08:25:22.003049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/07/image_15122025_08_08_05_10671.jpg', '/home/pi/Desktop/images/15122025/08/08/image_15122025_08_08_24_9721.jpg', '/home/pi/Desktop/images/15122025/08/08/image_15122025_08_08_45_10811.jpg', '/home/pi/Desktop/images/15122025/08/08/image_15122025_08_08_54_9681.jpg', '/home/pi/Desktop/images/15122025/08/08/image_15122025_08_09_04_9621.jpg', '/home/pi/Desktop/images/15122025/08/09/image_15122025_08_09_15_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/07/image_15122025_08_08_05_10671.jpg
/home/pi/Desktop/images/15122025/08/08/image_15122025_08_08_24_9721.jpg
/home/pi/Desktop/images/15122025/08/08/image_15122025_08_08_45_10811.jpg
/home/pi/Desktop/images/15122025/08/08/image_15122025_08_08_54_9681.jpg
/home/pi/Desktop/images/15122025/08/08/image_15122025_08_09_04_9621.jpg
/home/pi/Desktop/images/15122025/08/09/image_15122025_08_09_15_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":["1399444907","1399444901","1399444909","1399444903","1399444911","1399444905"],"photo_ids_order":["1399444901","1399444903","1399444905","1399444907","1399444909","1399444911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6a3ff2eb2f7c1a4f9f7c1b2f406c206b.jpg","text":"TemporaryFile(/tmp/multipartBody2223800456902948062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783582614,"filename":"image_15122025_08_08_54_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6a098601de0936ba95b5f2afb6ef9319.jpg","text":"TemporaryFile(/tmp/multipartBody5217461708929529846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783582614,"filename":"image_15122025_08_08_05_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/90eb12a2809dc7f8975890cb771e78c6.jpg","text":"TemporaryFile(/tmp/multipartBody181167013743475277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783582614,"filename":"image_15122025_08_09_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/15/4cacdd691a0ed84fd3fc8618e8238b3f.jpg","text":"TemporaryFile(/tmp/multipartBody2924263094428439438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783582614,"filename":"image_15122025_08_08_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/15/9a829bfb53f82e38e9686721ad28c6d0.jpg","text":"TemporaryFile(/tmp/multipartBody3185702414821369547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783582614,"filename":"image_15122025_08_09_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/15/a957ecc297f8d7bb8c8cbd1700122b42.jpg","text":"TemporaryFile(/tmp/multipartBody1046609042913052167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783582614,"filename":"image_15122025_08_08_45_10811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399444905","file1":"1399444903","file0":"1399444901","file4":"1399444909","file5":"1399444911","file3":"1399444907"},"map_files_photo_id_array":[{"photo_id":"1399444911","filename":"file5"},{"photo_id":"1399444905","filename":"file2"},{"photo_id":"1399444909","filename":"file4"},{"photo_id":"1399444903","filename":"file1"},{"photo_id":"1399444901","filename":"file0"},{"photo_id":"1399444907","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399444907":["hashtag1","hashtag2"]},{"1399444901":["hashtag1","hashtag2"]},{"1399444909":["hashtag1","hashtag2"]},{"1399444903":["hashtag1","hashtag2"]},{"1399444911":["hashtag1","hashtag2"]},{"1399444905":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399444907, 1399444901, 1399444909, 1399444903, 1399444911, 1399444905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18202042579651 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 08:26:02.804838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/09/image_15122025_08_09_24_9665.jpg', '/home/pi/Desktop/images/15122025/08/09/image_15122025_08_09_34_9623.jpg', '/home/pi/Desktop/images/15122025/08/09/image_15122025_08_09_44_10585.jpg', '/home/pi/Desktop/images/15122025/08/09/image_15122025_08_09_54_9798.jpg', '/home/pi/Desktop/images/15122025/08/09/image_15122025_08_10_04_9649.jpg', '/home/pi/Desktop/images/15122025/08/10/image_15122025_08_10_24_9576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/09/image_15122025_08_09_24_9665.jpg
/home/pi/Desktop/images/15122025/08/09/image_15122025_08_09_34_9623.jpg
/home/pi/Desktop/images/15122025/08/09/image_15122025_08_09_44_10585.jpg
/home/pi/Desktop/images/15122025/08/09/image_15122025_08_09_54_9798.jpg
/home/pi/Desktop/images/15122025/08/09/image_15122025_08_10_04_9649.jpg
/home/pi/Desktop/images/15122025/08/10/image_15122025_08_10_24_9576.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5195937156677246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 08:26:12.211046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 08:26:22.417212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/09/image_15122025_08_09_24_9665.jpg', '/home/pi/Desktop/images/15122025/08/09/image_15122025_08_09_34_9623.jpg', '/home/pi/Desktop/images/15122025/08/09/image_15122025_08_09_44_10585.jpg', '/home/pi/Desktop/images/15122025/08/09/image_15122025_08_09_54_9798.jpg', '/home/pi/Desktop/images/15122025/08/09/image_15122025_08_10_04_9649.jpg', '/home/pi/Desktop/images/15122025/08/10/image_15122025_08_10_24_9576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/09/image_15122025_08_09_24_9665.jpg
/home/pi/Desktop/images/15122025/08/09/image_15122025_08_09_34_9623.jpg
/home/pi/Desktop/images/15122025/08/09/image_15122025_08_09_44_10585.jpg
/home/pi/Desktop/images/15122025/08/09/image_15122025_08_09_54_9798.jpg
/home/pi/Desktop/images/15122025/08/09/image_15122025_08_10_04_9649.jpg
/home/pi/Desktop/images/15122025/08/10/image_15122025_08_10_24_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":["1399444928","1399444939","1399444933","1399444941","1399444922","1399444925"],"photo_ids_order":["1399444922","1399444925","1399444928","1399444933","1399444939","1399444941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/125b3c6880ae8a75f1c7734581e5c5da.jpg","text":"TemporaryFile(/tmp/multipartBody6937818371075347833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783643021,"filename":"image_15122025_08_09_44_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/15/6724db2896af727a92701b7b576900b0.jpg","text":"TemporaryFile(/tmp/multipartBody2436203177076003130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783643021,"filename":"image_15122025_08_10_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/15/e558cd1d197be4d53eda09b2b091c3a7.jpg","text":"TemporaryFile(/tmp/multipartBody9148837663745506108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783643021,"filename":"image_15122025_08_09_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/15/59ad2d72ddf0248b44d536229735aded.jpg","text":"TemporaryFile(/tmp/multipartBody6172077189224888528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783643021,"filename":"image_15122025_08_10_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/15/319593e6aea790e6d6212fdf2186ba47.jpg","text":"TemporaryFile(/tmp/multipartBody6131107225624642468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783643021,"filename":"image_15122025_08_09_24_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/804b6d17cc8d6fa5998a5c0419caea36.jpg","text":"TemporaryFile(/tmp/multipartBody6042677639581262037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783643021,"filename":"image_15122025_08_09_34_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399444928","file1":"1399444925","file0":"1399444922","file4":"1399444939","file5":"1399444941","file3":"1399444933"},"map_files_photo_id_array":[{"photo_id":"1399444941","filename":"file5"},{"photo_id":"1399444928","filename":"file2"},{"photo_id":"1399444939","filename":"file4"},{"photo_id":"1399444925","filename":"file1"},{"photo_id":"1399444922","filename":"file0"},{"photo_id":"1399444933","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399444928":["hashtag1","hashtag2"]},{"1399444939":["hashtag1","hashtag2"]},{"1399444933":["hashtag1","hashtag2"]},{"1399444941":["hashtag1","hashtag2"]},{"1399444922":["hashtag1","hashtag2"]},{"1399444925":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399444928, 1399444939, 1399444933, 1399444941, 1399444922, 1399444925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43475914001465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 08:27:03.272886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/11/image_15122025_08_11_14_9618.jpg', '/home/pi/Desktop/images/15122025/08/11/image_15122025_08_11_25_10670.jpg', '/home/pi/Desktop/images/15122025/08/11/image_15122025_08_11_34_9720.jpg', '/home/pi/Desktop/images/15122025/08/11/image_15122025_08_11_54_9689.jpg', '/home/pi/Desktop/images/15122025/08/11/image_15122025_08_12_05_10897.jpg', '/home/pi/Desktop/images/15122025/08/12/image_15122025_08_12_14_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/11/image_15122025_08_11_14_9618.jpg
/home/pi/Desktop/images/15122025/08/11/image_15122025_08_11_25_10670.jpg
/home/pi/Desktop/images/15122025/08/11/image_15122025_08_11_34_9720.jpg
/home/pi/Desktop/images/15122025/08/11/image_15122025_08_11_54_9689.jpg
/home/pi/Desktop/images/15122025/08/11/image_15122025_08_12_05_10897.jpg
/home/pi/Desktop/images/15122025/08/12/image_15122025_08_12_14_9723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399444960","1399444954","1399444956","1399444950","1399444952","1399444958"],"photo_ids_order":["1399444950","1399444952","1399444954","1399444956","1399444958","1399444960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1c1417e9cbce5bfe2ac93445dea0beba.jpg","text":"TemporaryFile(/tmp/multipartBody2244704906293147806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783683956,"filename":"image_15122025_08_12_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/15/d9fca3029be9d3f3624ea32da4511a0e.jpg","text":"TemporaryFile(/tmp/multipartBody3875028116217592917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783683956,"filename":"image_15122025_08_11_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/15/33451d8bce56a038990a6a2d800359b0.jpg","text":"TemporaryFile(/tmp/multipartBody8771391313512723050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783683956,"filename":"image_15122025_08_11_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/15/6c982978e6e7df12c790584bebcf49e2.jpg","text":"TemporaryFile(/tmp/multipartBody3647612682442785290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783683956,"filename":"image_15122025_08_11_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/15/07435a205637765fb69b3502d6e0ab55.jpg","text":"TemporaryFile(/tmp/multipartBody3678307849439219278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783683956,"filename":"image_15122025_08_11_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/15/018bd8328103c158dce6d047cc658a79.jpg","text":"TemporaryFile(/tmp/multipartBody4055826899686027746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783683956,"filename":"image_15122025_08_12_05_10897.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399444954","file1":"1399444952","file0":"1399444950","file4":"1399444958","file5":"1399444960","file3":"1399444956"},"map_files_photo_id_array":[{"photo_id":"1399444960","filename":"file5"},{"photo_id":"1399444954","filename":"file2"},{"photo_id":"1399444958","filename":"file4"},{"photo_id":"1399444952","filename":"file1"},{"photo_id":"1399444950","filename":"file0"},{"photo_id":"1399444956","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399444960":["hashtag1","hashtag2"]},{"1399444954":["hashtag1","hashtag2"]},{"1399444956":["hashtag1","hashtag2"]},{"1399444950":["hashtag1","hashtag2"]},{"1399444952":["hashtag1","hashtag2"]},{"1399444958":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399444960, 1399444954, 1399444956, 1399444950, 1399444952, 1399444958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95867371559143 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 08:27:42.530943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_14_1657.jpg', '/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_16_1734.jpg', '/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_17_1555.jpg', '/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_19_1561.jpg', '/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_20_1627.jpg', '/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_22_1636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_14_1657.jpg
/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_16_1734.jpg
/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_17_1555.jpg
/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_19_1561.jpg
/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_20_1627.jpg
/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_22_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":["1399444966","1399444969","1399444968","1399444971","1399444970","1399444967"],"photo_ids_order":["1399444966","1399444967","1399444968","1399444969","1399444970","1399444971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9d84c87e5473cbceceab280e465f5062.jpg","text":"TemporaryFile(/tmp/multipartBody5514599295640767712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783723247,"filename":"image_05112025_14_15_14_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/15/5bc46f68e4197a126e9a3238d8f950e2.jpg","text":"TemporaryFile(/tmp/multipartBody6774952345502245432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783723247,"filename":"image_05112025_14_15_19_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/15/3038e8b986a3727da9e400286e800b90.jpg","text":"TemporaryFile(/tmp/multipartBody8740626775810181494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783723247,"filename":"image_05112025_14_15_17_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/15/d9b15225981b3d315dc3a6262223a899.jpg","text":"TemporaryFile(/tmp/multipartBody8893424156431952692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783723247,"filename":"image_05112025_14_15_22_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/15/d11930b65a85b6ec4d7ac5acd96614e7.jpg","text":"TemporaryFile(/tmp/multipartBody7334958660512842926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783723247,"filename":"image_05112025_14_15_20_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/15/81f7e3ccf46c0ea224d5cc3669bb66a7.jpg","text":"TemporaryFile(/tmp/multipartBody8717064356772857731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783723247,"filename":"image_05112025_14_15_16_1734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399444968","file1":"1399444967","file0":"1399444966","file4":"1399444970","file5":"1399444971","file3":"1399444969"},"map_files_photo_id_array":[{"photo_id":"1399444971","filename":"file5"},{"photo_id":"1399444968","filename":"file2"},{"photo_id":"1399444970","filename":"file4"},{"photo_id":"1399444967","filename":"file1"},{"photo_id":"1399444966","filename":"file0"},{"photo_id":"1399444969","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399444966":["hashtag1","hashtag2"]},{"1399444969":["hashtag1","hashtag2"]},{"1399444968":["hashtag1","hashtag2"]},{"1399444971":["hashtag1","hashtag2"]},{"1399444970":["hashtag1","hashtag2"]},{"1399444967":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399444966, 1399444969, 1399444968, 1399444971, 1399444970, 1399444967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13353395462036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 08:28:22.786237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/12/image_15122025_08_12_24_9787.jpg', '/home/pi/Desktop/images/15122025/08/12/image_15122025_08_12_45_10805.jpg', '/home/pi/Desktop/images/15122025/08/12/image_15122025_08_13_04_9569.jpg', '/home/pi/Desktop/images/15122025/08/13/image_15122025_08_13_24_9718.jpg', '/home/pi/Desktop/images/15122025/08/13/image_15122025_08_13_44_10604.jpg', '/home/pi/Desktop/images/15122025/08/13/image_15122025_08_13_54_9905.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/12/image_15122025_08_12_24_9787.jpg
/home/pi/Desktop/images/15122025/08/12/image_15122025_08_12_45_10805.jpg
/home/pi/Desktop/images/15122025/08/12/image_15122025_08_13_04_9569.jpg
/home/pi/Desktop/images/15122025/08/13/image_15122025_08_13_24_9718.jpg
/home/pi/Desktop/images/15122025/08/13/image_15122025_08_13_44_10604.jpg
/home/pi/Desktop/images/15122025/08/13/image_15122025_08_13_54_9905.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399444984","1399444978","1399444989","1399444980","1399444982","1399444976"],"photo_ids_order":["1399444976","1399444978","1399444980","1399444982","1399444984","1399444989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/25383f9341e15cf0f0d77b59950919b7.jpg","text":"TemporaryFile(/tmp/multipartBody81989440318177101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783763432,"filename":"image_15122025_08_13_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/15/ddd360e4f3feddb71de287f4eaa0fc88.jpg","text":"TemporaryFile(/tmp/multipartBody6525848016205954518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783763432,"filename":"image_15122025_08_12_45_10805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a6ab7ac96db274781ed824d8774dc706.jpg","text":"TemporaryFile(/tmp/multipartBody550996619199469011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783763432,"filename":"image_15122025_08_13_54_9905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a957ac0ab2a9298eac9685c4cabc522f.jpg","text":"TemporaryFile(/tmp/multipartBody6556377282894373249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783763432,"filename":"image_15122025_08_13_04_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/45697bc32cba234367cf64d97bec5688.jpg","text":"TemporaryFile(/tmp/multipartBody3903922316404906144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783763432,"filename":"image_15122025_08_13_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/15/c50dadf2099410d805b6b97b120783aa.jpg","text":"TemporaryFile(/tmp/multipartBody8475522534944603560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783763432,"filename":"image_15122025_08_12_24_9787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399444980","file1":"1399444978","file0":"1399444976","file4":"1399444984","file5":"1399444989","file3":"1399444982"},"map_files_photo_id_array":[{"photo_id":"1399444989","filename":"file5"},{"photo_id":"1399444980","filename":"file2"},{"photo_id":"1399444984","filename":"file4"},{"photo_id":"1399444978","filename":"file1"},{"photo_id":"1399444976","filename":"file0"},{"photo_id":"1399444982","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399444984":["hashtag1","hashtag2"]},{"1399444978":["hashtag1","hashtag2"]},{"1399444989":["hashtag1","hashtag2"]},{"1399444980":["hashtag1","hashtag2"]},{"1399444982":["hashtag1","hashtag2"]},{"1399444976":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399444984, 1399444978, 1399444989, 1399444980, 1399444982, 1399444976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05000352859497 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 08:29:03.205125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/13/image_15122025_08_14_04_9793.jpg', '/home/pi/Desktop/images/15122025/08/14/image_15122025_08_14_25_10723.jpg', '/home/pi/Desktop/images/15122025/08/14/image_15122025_08_14_34_9710.jpg', '/home/pi/Desktop/images/15122025/08/14/image_15122025_08_14_44_9727.jpg', '/home/pi/Desktop/images/15122025/08/14/image_15122025_08_15_04_9857.jpg', '/home/pi/Desktop/images/15122025/08/15/image_15122025_08_15_14_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/13/image_15122025_08_14_04_9793.jpg
/home/pi/Desktop/images/15122025/08/14/image_15122025_08_14_25_10723.jpg
/home/pi/Desktop/images/15122025/08/14/image_15122025_08_14_34_9710.jpg
/home/pi/Desktop/images/15122025/08/14/image_15122025_08_14_44_9727.jpg
/home/pi/Desktop/images/15122025/08/14/image_15122025_08_15_04_9857.jpg
/home/pi/Desktop/images/15122025/08/15/image_15122025_08_15_14_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":["1399445002","1399444995","1399445004","1399444998","1399445007","1399445000"],"photo_ids_order":["1399444995","1399444998","1399445000","1399445002","1399445004","1399445007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/526cea24c7c3ebc78619c451399f7c97.jpg","text":"TemporaryFile(/tmp/multipartBody7742898611015236038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783803958,"filename":"image_15122025_08_14_44_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/46ee451c36ba83fca01bb3ddc44fb9fe.jpg","text":"TemporaryFile(/tmp/multipartBody7388500616114126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783803958,"filename":"image_15122025_08_14_04_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ce36e64145e31b27808fb97c62542aa7.jpg","text":"TemporaryFile(/tmp/multipartBody8945849835662284834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783803958,"filename":"image_15122025_08_15_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/15/aa496005193a50cbdb6de7a363c82fa7.jpg","text":"TemporaryFile(/tmp/multipartBody3883817681773802527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783803958,"filename":"image_15122025_08_14_25_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/922182cccc02edd95a779f12efe1550b.jpg","text":"TemporaryFile(/tmp/multipartBody1308370357224659149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783803958,"filename":"image_15122025_08_15_14_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/15/65c8abdd6826c33b43576dc3b427dbcf.jpg","text":"TemporaryFile(/tmp/multipartBody3538371463930024250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783803958,"filename":"image_15122025_08_14_34_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399445000","file1":"1399444998","file0":"1399444995","file4":"1399445004","file5":"1399445007","file3":"1399445002"},"map_files_photo_id_array":[{"photo_id":"1399445007","filename":"file5"},{"photo_id":"1399445000","filename":"file2"},{"photo_id":"1399445004","filename":"file4"},{"photo_id":"1399444998","filename":"file1"},{"photo_id":"1399444995","filename":"file0"},{"photo_id":"1399445002","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399445002":["hashtag1","hashtag2"]},{"1399444995":["hashtag1","hashtag2"]},{"1399445004":["hashtag1","hashtag2"]},{"1399444998":["hashtag1","hashtag2"]},{"1399445007":["hashtag1","hashtag2"]},{"1399445000":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399445002, 1399444995, 1399445004, 1399444998, 1399445007, 1399445000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78931999206543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 08:29:42.152813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_24_1665.jpg', '/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_25_1722.jpg', '/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_27_1575.jpg', '/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_29_1694.jpg', '/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_30_1513.jpg', '/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_32_1574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_24_1665.jpg
/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_25_1722.jpg
/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_27_1575.jpg
/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_29_1694.jpg
/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_30_1513.jpg
/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_32_1574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399445020","1399445014","1399445022","1399445019","1399445021","1399445018"],"photo_ids_order":["1399445014","1399445018","1399445019","1399445020","1399445021","1399445022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6f9bbf31307906be927b904cd835c8e8.jpg","text":"TemporaryFile(/tmp/multipartBody8634507224281011327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783842858,"filename":"image_05112025_14_15_29_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/15/18b547f7e045ce2cf1d65f3627a41a1e.jpg","text":"TemporaryFile(/tmp/multipartBody3946654562860871636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783842858,"filename":"image_05112025_14_15_24_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/15/6d15ec43a1e8a6318099db217cd51550.jpg","text":"TemporaryFile(/tmp/multipartBody356594682749338737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783842858,"filename":"image_05112025_14_15_32_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/15/abfb8123f520fc1433e4f57ed57d8b38.jpg","text":"TemporaryFile(/tmp/multipartBody6580520296740242810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783842858,"filename":"image_05112025_14_15_27_1575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0483616aed915ac352d80ad582e3f65c.jpg","text":"TemporaryFile(/tmp/multipartBody1656819272338397933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783842858,"filename":"image_05112025_14_15_30_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/15/4264fd51327f265e89b34e0074ab041e.jpg","text":"TemporaryFile(/tmp/multipartBody2643106497317126101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783842858,"filename":"image_05112025_14_15_25_1722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399445019","file1":"1399445018","file0":"1399445014","file4":"1399445021","file5":"1399445022","file3":"1399445020"},"map_files_photo_id_array":[{"photo_id":"1399445022","filename":"file5"},{"photo_id":"1399445019","filename":"file2"},{"photo_id":"1399445021","filename":"file4"},{"photo_id":"1399445018","filename":"file1"},{"photo_id":"1399445014","filename":"file0"},{"photo_id":"1399445020","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399445020":["hashtag1","hashtag2"]},{"1399445014":["hashtag1","hashtag2"]},{"1399445022":["hashtag1","hashtag2"]},{"1399445019":["hashtag1","hashtag2"]},{"1399445021":["hashtag1","hashtag2"]},{"1399445018":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399445020, 1399445014, 1399445022, 1399445019, 1399445021, 1399445018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36329460144043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 08:30:22.427075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/15/image_15122025_08_15_24_9719.jpg', '/home/pi/Desktop/images/15122025/08/15/image_15122025_08_15_35_10563.jpg', '/home/pi/Desktop/images/15122025/08/15/image_15122025_08_15_44_9714.jpg', '/home/pi/Desktop/images/15122025/08/16/image_15122025_08_16_24_9757.jpg', '/home/pi/Desktop/images/15122025/08/16/image_15122025_08_16_34_9594.jpg', '/home/pi/Desktop/images/15122025/08/16/image_15122025_08_16_45_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/15/image_15122025_08_15_24_9719.jpg
/home/pi/Desktop/images/15122025/08/15/image_15122025_08_15_35_10563.jpg
/home/pi/Desktop/images/15122025/08/15/image_15122025_08_15_44_9714.jpg
/home/pi/Desktop/images/15122025/08/16/image_15122025_08_16_24_9757.jpg
/home/pi/Desktop/images/15122025/08/16/image_15122025_08_16_34_9594.jpg
/home/pi/Desktop/images/15122025/08/16/image_15122025_08_16_45_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":["1399445049","1399445037","1399445034","1399445045","1399445039","1399445030"],"photo_ids_order":["1399445030","1399445034","1399445037","1399445039","1399445045","1399445049"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dd45869138fca6df5e85a6599724e3ba.jpg","text":"TemporaryFile(/tmp/multipartBody8925344455135903123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783883047,"filename":"image_15122025_08_16_45_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4ecd218e36a8c07aa3e1507805a48470.jpg","text":"TemporaryFile(/tmp/multipartBody1761885200081315858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783883047,"filename":"image_15122025_08_15_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/15/779296f6b27ff733dc728a184e4bcb39.jpg","text":"TemporaryFile(/tmp/multipartBody6591033970676144443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783883047,"filename":"image_15122025_08_15_35_10563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1f5207d6c80af6eefb27ba51910fe313.jpg","text":"TemporaryFile(/tmp/multipartBody6946265137134367247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783883047,"filename":"image_15122025_08_16_34_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/18a75eded3719a5a02c0c0d3225fb92c.jpg","text":"TemporaryFile(/tmp/multipartBody1932851320088843961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783883047,"filename":"image_15122025_08_16_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/15/9187218bdbcb8adba2a3f20a100a5ae5.jpg","text":"TemporaryFile(/tmp/multipartBody2491802494806102055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783883047,"filename":"image_15122025_08_15_24_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399445037","file1":"1399445034","file0":"1399445030","file4":"1399445045","file5":"1399445049","file3":"1399445039"},"map_files_photo_id_array":[{"photo_id":"1399445049","filename":"file5"},{"photo_id":"1399445037","filename":"file2"},{"photo_id":"1399445045","filename":"file4"},{"photo_id":"1399445034","filename":"file1"},{"photo_id":"1399445030","filename":"file0"},{"photo_id":"1399445039","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399445049":["hashtag1","hashtag2"]},{"1399445037":["hashtag1","hashtag2"]},{"1399445034":["hashtag1","hashtag2"]},{"1399445045":["hashtag1","hashtag2"]},{"1399445039":["hashtag1","hashtag2"]},{"1399445030":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399445049, 1399445037, 1399445034, 1399445045, 1399445039, 1399445030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.77674460411072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 08:31:03.201765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/16/image_15122025_08_16_54_9707.jpg', '/home/pi/Desktop/images/15122025/08/16/image_15122025_08_17_04_9660.jpg', '/home/pi/Desktop/images/15122025/08/17/image_15122025_08_17_15_10802.jpg', '/home/pi/Desktop/images/15122025/08/17/image_15122025_08_17_34_9622.jpg', '/home/pi/Desktop/images/15122025/08/17/image_15122025_08_17_45_10766.jpg', '/home/pi/Desktop/images/15122025/08/17/image_15122025_08_17_55_9873.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/16/image_15122025_08_16_54_9707.jpg
/home/pi/Desktop/images/15122025/08/16/image_15122025_08_17_04_9660.jpg
/home/pi/Desktop/images/15122025/08/17/image_15122025_08_17_15_10802.jpg
/home/pi/Desktop/images/15122025/08/17/image_15122025_08_17_34_9622.jpg
/home/pi/Desktop/images/15122025/08/17/image_15122025_08_17_45_10766.jpg
/home/pi/Desktop/images/15122025/08/17/image_15122025_08_17_55_9873.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399445059","1399445061","1399445055","1399445064","1399445063","1399445057"],"photo_ids_order":["1399445055","1399445057","1399445059","1399445061","1399445063","1399445064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9cb8fa04cfc6ca832a22a6065a46e17c.jpg","text":"TemporaryFile(/tmp/multipartBody8646010479278121843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783923904,"filename":"image_15122025_08_17_15_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/15/28829c87377b28cb33f82917fb1b3071.jpg","text":"TemporaryFile(/tmp/multipartBody8452818492645290701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783923904,"filename":"image_15122025_08_17_34_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b2a9561d5b1236c144c8554a15c765c9.jpg","text":"TemporaryFile(/tmp/multipartBody3292326423457566390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783923904,"filename":"image_15122025_08_16_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/15/082bf166642cebc49e073de9b068c4e8.jpg","text":"TemporaryFile(/tmp/multipartBody7402421828250833893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783923904,"filename":"image_15122025_08_17_55_9873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/844d07853b4cbbc908f4f4a394ef3b8d.jpg","text":"TemporaryFile(/tmp/multipartBody2379957433240495875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783923904,"filename":"image_15122025_08_17_45_10766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0178a6b67eb1b491d432786dc28efc8c.jpg","text":"TemporaryFile(/tmp/multipartBody9026850276367005446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783923904,"filename":"image_15122025_08_17_04_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399445059","file1":"1399445057","file0":"1399445055","file4":"1399445063","file5":"1399445064","file3":"1399445061"},"map_files_photo_id_array":[{"photo_id":"1399445064","filename":"file5"},{"photo_id":"1399445059","filename":"file2"},{"photo_id":"1399445063","filename":"file4"},{"photo_id":"1399445057","filename":"file1"},{"photo_id":"1399445055","filename":"file0"},{"photo_id":"1399445061","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399445059":["hashtag1","hashtag2"]},{"1399445061":["hashtag1","hashtag2"]},{"1399445055":["hashtag1","hashtag2"]},{"1399445064":["hashtag1","hashtag2"]},{"1399445063":["hashtag1","hashtag2"]},{"1399445057":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399445059, 1399445061, 1399445055, 1399445064, 1399445063, 1399445057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12636590003967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 08:31:42.775474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_33_1611.jpg', '/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_35_1542.jpg', '/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_36_1607.jpg', '/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_39_2609.jpg', '/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_43_3567.jpg', '/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_45_2788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_33_1611.jpg
/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_35_1542.jpg
/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_36_1607.jpg
/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_39_2609.jpg
/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_43_3567.jpg
/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_45_2788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399445071","1399445074","1399445073","1399445072","1399445069","1399445077"],"photo_ids_order":["1399445069","1399445071","1399445072","1399445073","1399445074","1399445077"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b072c5277d7e223b2bf362a795e30490.jpg","text":"TemporaryFile(/tmp/multipartBody3133328454923153396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783963558,"filename":"image_05112025_14_15_35_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/15/e2762dea00d3ce53cf841302a901a4b3.jpg","text":"TemporaryFile(/tmp/multipartBody2272221125111537442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783963558,"filename":"image_05112025_14_15_43_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cd2d0818aba8df011fc459d505ce4333.jpg","text":"TemporaryFile(/tmp/multipartBody2874260486604712522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783963558,"filename":"image_05112025_14_15_39_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/15/d9f263b77fee960c817ef527280b59f3.jpg","text":"TemporaryFile(/tmp/multipartBody191571443739859894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783963558,"filename":"image_05112025_14_15_36_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/15/c5447883e9bdc54eeba0ac29326a097e.jpg","text":"TemporaryFile(/tmp/multipartBody1440653922031712362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783963558,"filename":"image_05112025_14_15_33_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/15/9810a92b93fd51963b68bf9ddb0968df.jpg","text":"TemporaryFile(/tmp/multipartBody897544188573132262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765783963558,"filename":"image_05112025_14_15_45_2788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399445072","file1":"1399445071","file0":"1399445069","file4":"1399445074","file5":"1399445077","file3":"1399445073"},"map_files_photo_id_array":[{"photo_id":"1399445077","filename":"file5"},{"photo_id":"1399445072","filename":"file2"},{"photo_id":"1399445074","filename":"file4"},{"photo_id":"1399445071","filename":"file1"},{"photo_id":"1399445069","filename":"file0"},{"photo_id":"1399445073","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399445071":["hashtag1","hashtag2"]},{"1399445074":["hashtag1","hashtag2"]},{"1399445073":["hashtag1","hashtag2"]},{"1399445072":["hashtag1","hashtag2"]},{"1399445069":["hashtag1","hashtag2"]},{"1399445077":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399445071, 1399445074, 1399445073, 1399445072, 1399445069, 1399445077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.54181504249573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 08:32:32.068061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 08:32:42.107222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_48_2564.jpg', '/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_52_3605.jpg', '/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_54_2617.jpg', '/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_57_2633.jpg', '/home/pi/Desktop/images/05112025/14/15/image_05112025_14_16_00_3531.jpg', '/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_03_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_48_2564.jpg
/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_52_3605.jpg
/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_54_2617.jpg
/home/pi/Desktop/images/05112025/14/15/image_05112025_14_15_57_2633.jpg
/home/pi/Desktop/images/05112025/14/15/image_05112025_14_16_00_3531.jpg
/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_03_2716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399445101","1399445091","1399445094","1399445096","1399445100","1399445099"],"photo_ids_order":["1399445091","1399445094","1399445096","1399445099","1399445100","1399445101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c0e56452ff0c832a6a475a351eda30b6.jpg","text":"TemporaryFile(/tmp/multipartBody2342167620987481761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784022819,"filename":"image_05112025_14_16_03_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/809b6e895b825d5623eee91990bfd517.jpg","text":"TemporaryFile(/tmp/multipartBody4435124115338242448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784022819,"filename":"image_05112025_14_15_48_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/15/7c0259fe8b5d8ee8e833219b560feb5e.jpg","text":"TemporaryFile(/tmp/multipartBody8035030490779179115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784022819,"filename":"image_05112025_14_15_52_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/15/a637fa1a10b936e87219775cbb1f7343.jpg","text":"TemporaryFile(/tmp/multipartBody7912367269607989032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784022819,"filename":"image_05112025_14_15_54_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/68a0692cd392283f914f701a950dfb5b.jpg","text":"TemporaryFile(/tmp/multipartBody3944483640345365174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784022819,"filename":"image_05112025_14_16_00_3531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dc2a50f5cf6a52af57f9ccfd56916677.jpg","text":"TemporaryFile(/tmp/multipartBody1455096972994750545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784022819,"filename":"image_05112025_14_15_57_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399445096","file1":"1399445094","file0":"1399445091","file4":"1399445100","file5":"1399445101","file3":"1399445099"},"map_files_photo_id_array":[{"photo_id":"1399445101","filename":"file5"},{"photo_id":"1399445096","filename":"file2"},{"photo_id":"1399445100","filename":"file4"},{"photo_id":"1399445094","filename":"file1"},{"photo_id":"1399445091","filename":"file0"},{"photo_id":"1399445099","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399445101":["hashtag1","hashtag2"]},{"1399445091":["hashtag1","hashtag2"]},{"1399445094":["hashtag1","hashtag2"]},{"1399445096":["hashtag1","hashtag2"]},{"1399445100":["hashtag1","hashtag2"]},{"1399445099":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399445101, 1399445091, 1399445094, 1399445096, 1399445100, 1399445099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.39721322059631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 08:33:22.367945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/17/image_15122025_08_18_04_9707.jpg', '/home/pi/Desktop/images/15122025/08/18/image_15122025_08_18_14_9794.jpg', '/home/pi/Desktop/images/15122025/08/18/image_15122025_08_18_24_10018.jpg', '/home/pi/Desktop/images/15122025/08/18/image_15122025_08_19_04_9706.jpg', '/home/pi/Desktop/images/15122025/08/19/image_15122025_08_19_14_9702.jpg', '/home/pi/Desktop/images/15122025/08/19/image_15122025_08_19_44_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/17/image_15122025_08_18_04_9707.jpg
/home/pi/Desktop/images/15122025/08/18/image_15122025_08_18_14_9794.jpg
/home/pi/Desktop/images/15122025/08/18/image_15122025_08_18_24_10018.jpg
/home/pi/Desktop/images/15122025/08/18/image_15122025_08_19_04_9706.jpg
/home/pi/Desktop/images/15122025/08/19/image_15122025_08_19_14_9702.jpg
/home/pi/Desktop/images/15122025/08/19/image_15122025_08_19_44_9770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399445113","1399445110","1399445106","1399445115","1399445120","1399445117"],"photo_ids_order":["1399445106","1399445110","1399445113","1399445115","1399445117","1399445120"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7d99141b0b2e67251a0e4d57453b1d95.jpg","text":"TemporaryFile(/tmp/multipartBody6468099386674393440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784063012,"filename":"image_15122025_08_18_24_10018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/987c07b9c1b399d74213d6509582524a.jpg","text":"TemporaryFile(/tmp/multipartBody3168775099928653525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784063012,"filename":"image_15122025_08_18_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/15/3ef19f3760dcf0e3c271da6f91908d6e.jpg","text":"TemporaryFile(/tmp/multipartBody6489964657044878559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784063012,"filename":"image_15122025_08_18_04_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/133411b6e39751e1c7ea3f572b953422.jpg","text":"TemporaryFile(/tmp/multipartBody5805073268129956452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784063012,"filename":"image_15122025_08_19_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/15/44aa83266a253cd3db0d001602ce1f2f.jpg","text":"TemporaryFile(/tmp/multipartBody3945131047754115078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784063012,"filename":"image_15122025_08_19_44_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0dafc7f82f902468587f3b8d1841280c.jpg","text":"TemporaryFile(/tmp/multipartBody6807703973236190464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784063012,"filename":"image_15122025_08_19_14_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399445113","file1":"1399445110","file0":"1399445106","file4":"1399445117","file5":"1399445120","file3":"1399445115"},"map_files_photo_id_array":[{"photo_id":"1399445120","filename":"file5"},{"photo_id":"1399445113","filename":"file2"},{"photo_id":"1399445117","filename":"file4"},{"photo_id":"1399445110","filename":"file1"},{"photo_id":"1399445106","filename":"file0"},{"photo_id":"1399445115","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399445113":["hashtag1","hashtag2"]},{"1399445110":["hashtag1","hashtag2"]},{"1399445106":["hashtag1","hashtag2"]},{"1399445115":["hashtag1","hashtag2"]},{"1399445120":["hashtag1","hashtag2"]},{"1399445117":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399445113, 1399445110, 1399445106, 1399445115, 1399445120, 1399445117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.495872020721436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 08:34:03.240466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/19/image_15122025_08_19_54_9702.jpg', '/home/pi/Desktop/images/15122025/08/20/image_15122025_08_20_34_10617.jpg', '/home/pi/Desktop/images/15122025/08/20/image_15122025_08_20_44_9594.jpg', '/home/pi/Desktop/images/15122025/08/20/image_15122025_08_20_55_10647.jpg', '/home/pi/Desktop/images/15122025/08/20/image_15122025_08_21_04_9752.jpg', '/home/pi/Desktop/images/15122025/08/21/image_15122025_08_21_14_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/19/image_15122025_08_19_54_9702.jpg
/home/pi/Desktop/images/15122025/08/20/image_15122025_08_20_34_10617.jpg
/home/pi/Desktop/images/15122025/08/20/image_15122025_08_20_44_9594.jpg
/home/pi/Desktop/images/15122025/08/20/image_15122025_08_20_55_10647.jpg
/home/pi/Desktop/images/15122025/08/20/image_15122025_08_21_04_9752.jpg
/home/pi/Desktop/images/15122025/08/21/image_15122025_08_21_14_9670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399445125","1399445121","1399445127","1399445132","1399445129","1399445123"],"photo_ids_order":["1399445121","1399445123","1399445125","1399445127","1399445129","1399445132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5d3483b5fc8a896cfdef030a29a37c73.jpg","text":"TemporaryFile(/tmp/multipartBody1245592518186611118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784103892,"filename":"image_15122025_08_20_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/15/378b67b94977a2703834842029e1f91e.jpg","text":"TemporaryFile(/tmp/multipartBody8858191044839381902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784103892,"filename":"image_15122025_08_19_54_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/59383c98670c42394cc940ebde8a2854.jpg","text":"TemporaryFile(/tmp/multipartBody809328256304225853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784103892,"filename":"image_15122025_08_20_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/15/98f22dd4bc11626b10feab845f6887d1.jpg","text":"TemporaryFile(/tmp/multipartBody7489654746174056961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784103892,"filename":"image_15122025_08_21_14_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d2b668bd97d9c6bbcb5b0ee8d414d205.jpg","text":"TemporaryFile(/tmp/multipartBody4396174169688454122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784103892,"filename":"image_15122025_08_21_04_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/09253d757fb05b4a28112a84ff14a240.jpg","text":"TemporaryFile(/tmp/multipartBody3557271810402432605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784103892,"filename":"image_15122025_08_20_34_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399445125","file1":"1399445123","file0":"1399445121","file4":"1399445129","file5":"1399445132","file3":"1399445127"},"map_files_photo_id_array":[{"photo_id":"1399445132","filename":"file5"},{"photo_id":"1399445125","filename":"file2"},{"photo_id":"1399445129","filename":"file4"},{"photo_id":"1399445123","filename":"file1"},{"photo_id":"1399445121","filename":"file0"},{"photo_id":"1399445127","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399445125":["hashtag1","hashtag2"]},{"1399445121":["hashtag1","hashtag2"]},{"1399445127":["hashtag1","hashtag2"]},{"1399445132":["hashtag1","hashtag2"]},{"1399445129":["hashtag1","hashtag2"]},{"1399445123":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399445125, 1399445121, 1399445127, 1399445132, 1399445129, 1399445123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73964166641235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 08:34:42.557914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_07_3611.jpg', '/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_09_2564.jpg', '/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_12_2686.jpg', '/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_16_3751.jpg', '/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_18_2622.jpg', '/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_21_2527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_07_3611.jpg
/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_09_2564.jpg
/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_12_2686.jpg
/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_16_3751.jpg
/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_18_2622.jpg
/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_21_2527.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399445152","1399445146","1399445148","1399445142","1399445151","1399445150"],"photo_ids_order":["1399445142","1399445146","1399445148","1399445150","1399445151","1399445152"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a0936b2452ed70897223d533890b1927.jpg","text":"TemporaryFile(/tmp/multipartBody4283725019926810663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784143292,"filename":"image_05112025_14_16_21_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/15/2e793faccfc64ccfe47b7ca30cdb8d79.jpg","text":"TemporaryFile(/tmp/multipartBody1130220612799385132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784143292,"filename":"image_05112025_14_16_09_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/15/081e53e7e7e0fdd8c7fcf95da8d3cacb.jpg","text":"TemporaryFile(/tmp/multipartBody4161022995356947015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784143292,"filename":"image_05112025_14_16_12_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/238653c8e333e48fa33f3f2b15cefa42.jpg","text":"TemporaryFile(/tmp/multipartBody8215403923573889329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784143292,"filename":"image_05112025_14_16_07_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/15/ab9d10529b76e3a6871441af1726decd.jpg","text":"TemporaryFile(/tmp/multipartBody3773553614774685094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784143292,"filename":"image_05112025_14_16_18_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/15/eccfd31ebea954a6e1eee8c131b2c7ad.jpg","text":"TemporaryFile(/tmp/multipartBody804932144473714468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784143292,"filename":"image_05112025_14_16_16_3751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399445148","file1":"1399445146","file0":"1399445142","file4":"1399445151","file5":"1399445152","file3":"1399445150"},"map_files_photo_id_array":[{"photo_id":"1399445152","filename":"file5"},{"photo_id":"1399445148","filename":"file2"},{"photo_id":"1399445151","filename":"file4"},{"photo_id":"1399445146","filename":"file1"},{"photo_id":"1399445142","filename":"file0"},{"photo_id":"1399445150","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399445152":["hashtag1","hashtag2"]},{"1399445146":["hashtag1","hashtag2"]},{"1399445148":["hashtag1","hashtag2"]},{"1399445142":["hashtag1","hashtag2"]},{"1399445151":["hashtag1","hashtag2"]},{"1399445150":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399445152, 1399445146, 1399445148, 1399445142, 1399445151, 1399445150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82619500160217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 08:35:21.805305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/21/image_15122025_08_21_24_9910.jpg', '/home/pi/Desktop/images/15122025/08/21/image_15122025_08_21_35_10689.jpg', '/home/pi/Desktop/images/15122025/08/22/image_15122025_08_22_14_10558.jpg', '/home/pi/Desktop/images/15122025/08/22/image_15122025_08_22_24_9752.jpg', '/home/pi/Desktop/images/15122025/08/22/image_15122025_08_22_34_9622.jpg', '/home/pi/Desktop/images/15122025/08/22/image_15122025_08_22_45_10722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/21/image_15122025_08_21_24_9910.jpg
/home/pi/Desktop/images/15122025/08/21/image_15122025_08_21_35_10689.jpg
/home/pi/Desktop/images/15122025/08/22/image_15122025_08_22_14_10558.jpg
/home/pi/Desktop/images/15122025/08/22/image_15122025_08_22_24_9752.jpg
/home/pi/Desktop/images/15122025/08/22/image_15122025_08_22_34_9622.jpg
/home/pi/Desktop/images/15122025/08/22/image_15122025_08_22_45_10722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399445164","1399445158","1399445167","1399445160","1399445162","1399445156"],"photo_ids_order":["1399445156","1399445158","1399445160","1399445162","1399445164","1399445167"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fbe36d7479f80ac10f122d6285e168e8.jpg","text":"TemporaryFile(/tmp/multipartBody9098961851073771964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784182453,"filename":"image_15122025_08_22_34_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2aaf56583e3e9551ae4e8dcfb3a1d6c4.jpg","text":"TemporaryFile(/tmp/multipartBody2778524063762175754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784182453,"filename":"image_15122025_08_21_35_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f005a64048f39fbce24cdb26e2c0ac76.jpg","text":"TemporaryFile(/tmp/multipartBody5989773731574777968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784182453,"filename":"image_15122025_08_22_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/15/8ec479df26fa202df856d432dbd8b6f3.jpg","text":"TemporaryFile(/tmp/multipartBody3268473239181807723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784182453,"filename":"image_15122025_08_22_14_10558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/49a61749f443f65922488c1b1e7e54aa.jpg","text":"TemporaryFile(/tmp/multipartBody1037418666468463815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784182453,"filename":"image_15122025_08_22_24_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9ad72ceb89b165365bafaee99a065186.jpg","text":"TemporaryFile(/tmp/multipartBody4030389992040774868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784182453,"filename":"image_15122025_08_21_24_9910.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399445160","file1":"1399445158","file0":"1399445156","file4":"1399445164","file5":"1399445167","file3":"1399445162"},"map_files_photo_id_array":[{"photo_id":"1399445167","filename":"file5"},{"photo_id":"1399445160","filename":"file2"},{"photo_id":"1399445164","filename":"file4"},{"photo_id":"1399445158","filename":"file1"},{"photo_id":"1399445156","filename":"file0"},{"photo_id":"1399445162","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399445164":["hashtag1","hashtag2"]},{"1399445158":["hashtag1","hashtag2"]},{"1399445167":["hashtag1","hashtag2"]},{"1399445160":["hashtag1","hashtag2"]},{"1399445162":["hashtag1","hashtag2"]},{"1399445156":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399445164, 1399445158, 1399445167, 1399445160, 1399445162, 1399445156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.057474851608276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 08:36:02.458114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/22/image_15122025_08_22_54_9703.jpg', '/home/pi/Desktop/images/15122025/08/23/image_15122025_08_23_14_10619.jpg', '/home/pi/Desktop/images/15122025/08/23/image_15122025_08_23_24_9538.jpg', '/home/pi/Desktop/images/15122025/08/23/image_15122025_08_23_35_10720.jpg', '/home/pi/Desktop/images/15122025/08/23/image_15122025_08_23_44_9554.jpg', '/home/pi/Desktop/images/15122025/08/23/image_15122025_08_23_54_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/22/image_15122025_08_22_54_9703.jpg
/home/pi/Desktop/images/15122025/08/23/image_15122025_08_23_14_10619.jpg
/home/pi/Desktop/images/15122025/08/23/image_15122025_08_23_24_9538.jpg
/home/pi/Desktop/images/15122025/08/23/image_15122025_08_23_35_10720.jpg
/home/pi/Desktop/images/15122025/08/23/image_15122025_08_23_44_9554.jpg
/home/pi/Desktop/images/15122025/08/23/image_15122025_08_23_54_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":["1399445185","1399445179","1399445187","1399445181","1399445189","1399445191"],"photo_ids_order":["1399445179","1399445181","1399445185","1399445187","1399445189","1399445191"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6bcb9e5b0a4c28de50cbca6abc45bbec.jpg","text":"TemporaryFile(/tmp/multipartBody4635215364847053039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784223088,"filename":"image_15122025_08_23_24_9538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/37ccd687ecea06d6a690da7aefe73458.jpg","text":"TemporaryFile(/tmp/multipartBody3288060674091745016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784223088,"filename":"image_15122025_08_22_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/15/bc7d357ebaceae63dd972b80695f254d.jpg","text":"TemporaryFile(/tmp/multipartBody5458670173647679939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784223088,"filename":"image_15122025_08_23_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/15/f4dc028e159b294011677fbf3038b5cd.jpg","text":"TemporaryFile(/tmp/multipartBody1542889713292508299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784223088,"filename":"image_15122025_08_23_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/15/f0ee9623c0b3a361f2eb356c18c0c47f.jpg","text":"TemporaryFile(/tmp/multipartBody6796451843814700928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784223088,"filename":"image_15122025_08_23_44_9554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ce12dad7c7690b3763003bf6eb02e324.jpg","text":"TemporaryFile(/tmp/multipartBody8974557926098937643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784223088,"filename":"image_15122025_08_23_54_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399445185","file1":"1399445181","file0":"1399445179","file4":"1399445189","file5":"1399445191","file3":"1399445187"},"map_files_photo_id_array":[{"photo_id":"1399445191","filename":"file5"},{"photo_id":"1399445185","filename":"file2"},{"photo_id":"1399445189","filename":"file4"},{"photo_id":"1399445181","filename":"file1"},{"photo_id":"1399445179","filename":"file0"},{"photo_id":"1399445187","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399445185":["hashtag1","hashtag2"]},{"1399445179":["hashtag1","hashtag2"]},{"1399445187":["hashtag1","hashtag2"]},{"1399445181":["hashtag1","hashtag2"]},{"1399445189":["hashtag1","hashtag2"]},{"1399445191":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399445185, 1399445179, 1399445187, 1399445181, 1399445189, 1399445191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23552060127258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 08:36:42.051140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_24_3589.jpg', '/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_27_2620.jpg', '/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_31_3634.jpg', '/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_33_2545.jpg', '/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_36_2628.jpg', '/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_40_3674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_24_3589.jpg
/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_27_2620.jpg
/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_31_3634.jpg
/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_33_2545.jpg
/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_36_2628.jpg
/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_40_3674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399445224","1399445227","1399445212","1399445200","1399445220","1399445226"],"photo_ids_order":["1399445200","1399445212","1399445220","1399445224","1399445226","1399445227"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8af508d81f25e18de3d9ecd3ccc3e595.jpg","text":"TemporaryFile(/tmp/multipartBody5091167744793869211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784262744,"filename":"image_05112025_14_16_33_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/15/9822acb2a1fb3e806818488eb578a2b9.jpg","text":"TemporaryFile(/tmp/multipartBody5593337929317664115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784262744,"filename":"image_05112025_14_16_40_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/15/b2e8f3f38489ec5f0f61da8a7d1e2eaa.jpg","text":"TemporaryFile(/tmp/multipartBody2291440267724307306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784262744,"filename":"image_05112025_14_16_27_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/15/b640f3a27109e405ea3fb9b63e2f66cf.jpg","text":"TemporaryFile(/tmp/multipartBody643056027869570749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784262744,"filename":"image_05112025_14_16_24_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/15/538b905bf28a93b854d60769b0ef48ca.jpg","text":"TemporaryFile(/tmp/multipartBody8194418694483251326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784262744,"filename":"image_05112025_14_16_31_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/15/860c3e0c40743bf33e86b15143ad3b3c.jpg","text":"TemporaryFile(/tmp/multipartBody7429429176716927910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784262744,"filename":"image_05112025_14_16_36_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399445220","file1":"1399445212","file0":"1399445200","file4":"1399445226","file5":"1399445227","file3":"1399445224"},"map_files_photo_id_array":[{"photo_id":"1399445227","filename":"file5"},{"photo_id":"1399445220","filename":"file2"},{"photo_id":"1399445226","filename":"file4"},{"photo_id":"1399445212","filename":"file1"},{"photo_id":"1399445200","filename":"file0"},{"photo_id":"1399445224","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399445224":["hashtag1","hashtag2"]},{"1399445227":["hashtag1","hashtag2"]},{"1399445212":["hashtag1","hashtag2"]},{"1399445200":["hashtag1","hashtag2"]},{"1399445220":["hashtag1","hashtag2"]},{"1399445226":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399445224, 1399445227, 1399445212, 1399445200, 1399445220, 1399445226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.807668924331665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 08:37:22.265695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/23/image_15122025_08_24_05_10589.jpg', '/home/pi/Desktop/images/15122025/08/24/image_15122025_08_24_14_9672.jpg', '/home/pi/Desktop/images/15122025/08/24/image_15122025_08_24_24_9773.jpg', '/home/pi/Desktop/images/15122025/08/24/image_15122025_08_24_34_9800.jpg', '/home/pi/Desktop/images/15122025/08/24/image_15122025_08_24_44_10626.jpg', '/home/pi/Desktop/images/15122025/08/24/image_15122025_08_25_04_9874.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/23/image_15122025_08_24_05_10589.jpg
/home/pi/Desktop/images/15122025/08/24/image_15122025_08_24_14_9672.jpg
/home/pi/Desktop/images/15122025/08/24/image_15122025_08_24_24_9773.jpg
/home/pi/Desktop/images/15122025/08/24/image_15122025_08_24_34_9800.jpg
/home/pi/Desktop/images/15122025/08/24/image_15122025_08_24_44_10626.jpg
/home/pi/Desktop/images/15122025/08/24/image_15122025_08_25_04_9874.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399445265","1399445295","1399445268","1399445262","1399445285","1399445275"],"photo_ids_order":["1399445262","1399445265","1399445268","1399445275","1399445285","1399445295"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/62b83cd6e8507cf062faf00d586f1290.jpg","text":"TemporaryFile(/tmp/multipartBody4926794561905021949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784302868,"filename":"image_15122025_08_24_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/15/5a164f1aac9361cb6f66a1ad67ebb2e3.jpg","text":"TemporaryFile(/tmp/multipartBody4157369838559480702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784302868,"filename":"image_15122025_08_25_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/15/32326193bf9f13f92eb5dbdf722a330e.jpg","text":"TemporaryFile(/tmp/multipartBody1784577624873421191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784302868,"filename":"image_15122025_08_24_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/15/ee2fc281c6e5d794234ff59e81f143be.jpg","text":"TemporaryFile(/tmp/multipartBody83763843234535842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784302868,"filename":"image_15122025_08_24_05_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f9b7424e5de85b3b8402924246259ffe.jpg","text":"TemporaryFile(/tmp/multipartBody3727599920153283307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784302868,"filename":"image_15122025_08_24_44_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/59878be66d8dd65056b9edd8d41ad89d.jpg","text":"TemporaryFile(/tmp/multipartBody1261927458535093475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784302868,"filename":"image_15122025_08_24_34_9800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399445268","file1":"1399445265","file0":"1399445262","file4":"1399445285","file5":"1399445295","file3":"1399445275"},"map_files_photo_id_array":[{"photo_id":"1399445295","filename":"file5"},{"photo_id":"1399445268","filename":"file2"},{"photo_id":"1399445285","filename":"file4"},{"photo_id":"1399445265","filename":"file1"},{"photo_id":"1399445262","filename":"file0"},{"photo_id":"1399445275","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399445265":["hashtag1","hashtag2"]},{"1399445295":["hashtag1","hashtag2"]},{"1399445268":["hashtag1","hashtag2"]},{"1399445262":["hashtag1","hashtag2"]},{"1399445285":["hashtag1","hashtag2"]},{"1399445275":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399445265, 1399445295, 1399445268, 1399445262, 1399445285, 1399445275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24124455451965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 08:38:03.094829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/25/image_15122025_08_25_15_10752.jpg', '/home/pi/Desktop/images/15122025/08/25/image_15122025_08_25_24_9534.jpg', '/home/pi/Desktop/images/15122025/08/25/image_15122025_08_25_44_10588.jpg', '/home/pi/Desktop/images/15122025/08/25/image_15122025_08_25_54_9740.jpg', '/home/pi/Desktop/images/15122025/08/25/image_15122025_08_26_04_9657.jpg', '/home/pi/Desktop/images/15122025/08/26/image_15122025_08_26_14_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/25/image_15122025_08_25_15_10752.jpg
/home/pi/Desktop/images/15122025/08/25/image_15122025_08_25_24_9534.jpg
/home/pi/Desktop/images/15122025/08/25/image_15122025_08_25_44_10588.jpg
/home/pi/Desktop/images/15122025/08/25/image_15122025_08_25_54_9740.jpg
/home/pi/Desktop/images/15122025/08/25/image_15122025_08_26_04_9657.jpg
/home/pi/Desktop/images/15122025/08/26/image_15122025_08_26_14_10619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399445317","1399445334","1399445328","1399445319","1399445324","1399445318"],"photo_ids_order":["1399445317","1399445318","1399445319","1399445324","1399445328","1399445334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/448ff99b104676bf288ce12aa3a072ab.jpg","text":"TemporaryFile(/tmp/multipartBody1309936467444306788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784343734,"filename":"image_15122025_08_25_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/15/4ec3d7a3c344dddd5c7ca15b08959d1a.jpg","text":"TemporaryFile(/tmp/multipartBody5503624449234887713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784343734,"filename":"image_15122025_08_26_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/15/b9b4feeee8bbfb78be2f354026ea6a55.jpg","text":"TemporaryFile(/tmp/multipartBody6129873013367218430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784343734,"filename":"image_15122025_08_26_04_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/86288152e3af916806445f5b885e56c0.jpg","text":"TemporaryFile(/tmp/multipartBody5458169365449875390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784343734,"filename":"image_15122025_08_25_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/15/fe2d18bf6e4c0bd6fe51953c1f85f9f1.jpg","text":"TemporaryFile(/tmp/multipartBody5768929620687366713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784343734,"filename":"image_15122025_08_25_54_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/10e4cfbd67e83996fd8b88765e22e02c.jpg","text":"TemporaryFile(/tmp/multipartBody3982401568521123847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784343734,"filename":"image_15122025_08_25_24_9534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399445319","file1":"1399445318","file0":"1399445317","file4":"1399445328","file5":"1399445334","file3":"1399445324"},"map_files_photo_id_array":[{"photo_id":"1399445334","filename":"file5"},{"photo_id":"1399445319","filename":"file2"},{"photo_id":"1399445328","filename":"file4"},{"photo_id":"1399445318","filename":"file1"},{"photo_id":"1399445317","filename":"file0"},{"photo_id":"1399445324","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399445317":["hashtag1","hashtag2"]},{"1399445334":["hashtag1","hashtag2"]},{"1399445328":["hashtag1","hashtag2"]},{"1399445319":["hashtag1","hashtag2"]},{"1399445324":["hashtag1","hashtag2"]},{"1399445318":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399445317, 1399445334, 1399445328, 1399445319, 1399445324, 1399445318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95994544029236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 08:38:42.572533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_42_2625.jpg', '/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_45_2663.jpg', '/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_49_3668.jpg', '/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_51_2678.jpg', '/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_54_2602.jpg', '/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_57_3586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_42_2625.jpg
/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_45_2663.jpg
/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_49_3668.jpg
/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_51_2678.jpg
/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_54_2602.jpg
/home/pi/Desktop/images/05112025/14/16/image_05112025_14_16_57_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":["1399445365","1399445359","1399445358","1399445357","1399445351","1399445360"],"photo_ids_order":["1399445351","1399445357","1399445358","1399445359","1399445360","1399445365"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c06489f443a6e782612990be72f46de0.jpg","text":"TemporaryFile(/tmp/multipartBody714166501713399429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784383279,"filename":"image_05112025_14_16_57_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/15/2798b3066b5d1af5240d95103138b1dd.jpg","text":"TemporaryFile(/tmp/multipartBody809099145714601319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784383279,"filename":"image_05112025_14_16_51_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/193b0192a20da7ed34199cd8043f94d8.jpg","text":"TemporaryFile(/tmp/multipartBody4217286510903922263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784383279,"filename":"image_05112025_14_16_49_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/802943e096227019865744864797fcec.jpg","text":"TemporaryFile(/tmp/multipartBody2902011633280469865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784383279,"filename":"image_05112025_14_16_45_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/15/f3b324da4e44c0136888fae8670169a1.jpg","text":"TemporaryFile(/tmp/multipartBody2655813817434414757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784383279,"filename":"image_05112025_14_16_42_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/15/96f681e043c41ef7ee692f7ad51c0ff9.jpg","text":"TemporaryFile(/tmp/multipartBody3364503182814429000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784383279,"filename":"image_05112025_14_16_54_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399445358","file1":"1399445357","file0":"1399445351","file4":"1399445360","file5":"1399445365","file3":"1399445359"},"map_files_photo_id_array":[{"photo_id":"1399445365","filename":"file5"},{"photo_id":"1399445358","filename":"file2"},{"photo_id":"1399445360","filename":"file4"},{"photo_id":"1399445357","filename":"file1"},{"photo_id":"1399445351","filename":"file0"},{"photo_id":"1399445359","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399445365":["hashtag1","hashtag2"]},{"1399445359":["hashtag1","hashtag2"]},{"1399445358":["hashtag1","hashtag2"]},{"1399445357":["hashtag1","hashtag2"]},{"1399445351":["hashtag1","hashtag2"]},{"1399445360":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399445365, 1399445359, 1399445358, 1399445357, 1399445351, 1399445360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.266976833343506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 08:39:22.996915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/26/image_15122025_08_26_24_9721.jpg', '/home/pi/Desktop/images/15122025/08/26/image_15122025_08_26_34_9797.jpg', '/home/pi/Desktop/images/15122025/08/26/image_15122025_08_26_45_10567.jpg', '/home/pi/Desktop/images/15122025/08/26/image_15122025_08_26_54_9645.jpg', '/home/pi/Desktop/images/15122025/08/27/image_15122025_08_27_15_10674.jpg', '/home/pi/Desktop/images/15122025/08/27/image_15122025_08_27_24_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/26/image_15122025_08_26_24_9721.jpg
/home/pi/Desktop/images/15122025/08/26/image_15122025_08_26_34_9797.jpg
/home/pi/Desktop/images/15122025/08/26/image_15122025_08_26_45_10567.jpg
/home/pi/Desktop/images/15122025/08/26/image_15122025_08_26_54_9645.jpg
/home/pi/Desktop/images/15122025/08/27/image_15122025_08_27_15_10674.jpg
/home/pi/Desktop/images/15122025/08/27/image_15122025_08_27_24_9707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399445482","1399445425","1399445589","1399445517","1399445555","1399445600"],"photo_ids_order":["1399445425","1399445482","1399445517","1399445555","1399445589","1399445600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f3d371cebf388766877de2aaae839eca.jpg","text":"TemporaryFile(/tmp/multipartBody736209650987746129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784423612,"filename":"image_15122025_08_26_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/15/d8eac212fa55303355a38151f821088a.jpg","text":"TemporaryFile(/tmp/multipartBody8154224842317092526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784423612,"filename":"image_15122025_08_26_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/15/f3920c54adf6ca499fd72246673d4295.jpg","text":"TemporaryFile(/tmp/multipartBody2451298430874383218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784423612,"filename":"image_15122025_08_27_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/15/cc2b9e6c922910b84ba2ba53ab78fd52.jpg","text":"TemporaryFile(/tmp/multipartBody8385528066781904886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784423612,"filename":"image_15122025_08_26_45_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3749636f2c26c218e199ec785cb96ffc.jpg","text":"TemporaryFile(/tmp/multipartBody6681018998810082280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784423612,"filename":"image_15122025_08_26_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/15/96e7b3f8563f3b1fcf4edb332bf1a502.jpg","text":"TemporaryFile(/tmp/multipartBody4285046070922320906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784423612,"filename":"image_15122025_08_27_24_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399445517","file1":"1399445482","file0":"1399445425","file4":"1399445589","file5":"1399445600","file3":"1399445555"},"map_files_photo_id_array":[{"photo_id":"1399445600","filename":"file5"},{"photo_id":"1399445517","filename":"file2"},{"photo_id":"1399445589","filename":"file4"},{"photo_id":"1399445482","filename":"file1"},{"photo_id":"1399445425","filename":"file0"},{"photo_id":"1399445555","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399445482":["hashtag1","hashtag2"]},{"1399445425":["hashtag1","hashtag2"]},{"1399445589":["hashtag1","hashtag2"]},{"1399445517":["hashtag1","hashtag2"]},{"1399445555":["hashtag1","hashtag2"]},{"1399445600":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399445482, 1399445425, 1399445589, 1399445517, 1399445555, 1399445600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.504387617111206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 08:40:02.477961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/27/image_15122025_08_27_34_9888.jpg', '/home/pi/Desktop/images/15122025/08/27/image_15122025_08_27_44_9755.jpg', '/home/pi/Desktop/images/15122025/08/27/image_15122025_08_27_54_9824.jpg', '/home/pi/Desktop/images/15122025/08/28/image_15122025_08_28_15_10700.jpg', '/home/pi/Desktop/images/15122025/08/28/image_15122025_08_28_24_9668.jpg', '/home/pi/Desktop/images/15122025/08/28/image_15122025_08_28_34_9847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/27/image_15122025_08_27_34_9888.jpg
/home/pi/Desktop/images/15122025/08/27/image_15122025_08_27_44_9755.jpg
/home/pi/Desktop/images/15122025/08/27/image_15122025_08_27_54_9824.jpg
/home/pi/Desktop/images/15122025/08/28/image_15122025_08_28_15_10700.jpg
/home/pi/Desktop/images/15122025/08/28/image_15122025_08_28_24_9668.jpg
/home/pi/Desktop/images/15122025/08/28/image_15122025_08_28_34_9847.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399445707","1399445635","1399445737","1399445601","1399445603","1399445671"],"photo_ids_order":["1399445601","1399445603","1399445635","1399445671","1399445707","1399445737"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/937378dcb07878fa7a61bed20eac4942.jpg","text":"TemporaryFile(/tmp/multipartBody4210497098123580064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784463156,"filename":"image_15122025_08_28_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/15/f8ceb7c45149afb02851e1fe507d9a5a.jpg","text":"TemporaryFile(/tmp/multipartBody162265814383206987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784463156,"filename":"image_15122025_08_27_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/15/02411729c6b68c7d889e1d0f309cdc91.jpg","text":"TemporaryFile(/tmp/multipartBody2507267641361236048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784463156,"filename":"image_15122025_08_28_34_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a8fa8b00e3e6a82f5627c464eaccc0cd.jpg","text":"TemporaryFile(/tmp/multipartBody8886323601658505326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784463156,"filename":"image_15122025_08_27_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/15/21c1e36da29cc70a6e269ba1f3167f06.jpg","text":"TemporaryFile(/tmp/multipartBody4561652720268630627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784463156,"filename":"image_15122025_08_27_44_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/23ac7145021a0e1a38150a7c1e87cfde.jpg","text":"TemporaryFile(/tmp/multipartBody6566026084660502894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784463156,"filename":"image_15122025_08_28_15_10700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399445635","file1":"1399445603","file0":"1399445601","file4":"1399445707","file5":"1399445737","file3":"1399445671"},"map_files_photo_id_array":[{"photo_id":"1399445737","filename":"file5"},{"photo_id":"1399445635","filename":"file2"},{"photo_id":"1399445707","filename":"file4"},{"photo_id":"1399445603","filename":"file1"},{"photo_id":"1399445601","filename":"file0"},{"photo_id":"1399445671","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399445707":["hashtag1","hashtag2"]},{"1399445635":["hashtag1","hashtag2"]},{"1399445737":["hashtag1","hashtag2"]},{"1399445601":["hashtag1","hashtag2"]},{"1399445603":["hashtag1","hashtag2"]},{"1399445671":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399445707, 1399445635, 1399445737, 1399445601, 1399445603, 1399445671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8780255317688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 08:40:41.998998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/16/image_05112025_14_17_00_2754.jpg', '/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_03_2840.jpg', '/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_06_2828.jpg', '/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_09_3541.jpg', '/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_12_2715.jpg', '/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_15_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/16/image_05112025_14_17_00_2754.jpg
/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_03_2840.jpg
/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_06_2828.jpg
/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_09_3541.jpg
/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_12_2715.jpg
/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_15_2625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399445752","1399445754","1399445747","1399445756","1399445750","1399445758"],"photo_ids_order":["1399445747","1399445750","1399445752","1399445754","1399445756","1399445758"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8661d428723d54301a73db938be9ded9.jpg","text":"TemporaryFile(/tmp/multipartBody2341461258430211188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784502725,"filename":"image_05112025_14_17_06_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/15/00640c06bab2ff94f5155bc5e72a0619.jpg","text":"TemporaryFile(/tmp/multipartBody7085464813311812958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784502725,"filename":"image_05112025_14_17_09_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e5b1a3d0f61f12c498cc14d84e1336b6.jpg","text":"TemporaryFile(/tmp/multipartBody7751939329831883650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784502725,"filename":"image_05112025_14_17_00_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/15/640594e0927fa5fbcbbdaf08769ff467.jpg","text":"TemporaryFile(/tmp/multipartBody4615952459607702750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784502725,"filename":"image_05112025_14_17_12_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e973da3452184781b102b123e06fb9f3.jpg","text":"TemporaryFile(/tmp/multipartBody1330987039892755225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784502725,"filename":"image_05112025_14_17_03_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/15/056d52bb5ec7e5dac70c72cd2596698a.jpg","text":"TemporaryFile(/tmp/multipartBody6573290005972276146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784502725,"filename":"image_05112025_14_17_15_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399445752","file1":"1399445750","file0":"1399445747","file4":"1399445756","file5":"1399445758","file3":"1399445754"},"map_files_photo_id_array":[{"photo_id":"1399445758","filename":"file5"},{"photo_id":"1399445752","filename":"file2"},{"photo_id":"1399445756","filename":"file4"},{"photo_id":"1399445750","filename":"file1"},{"photo_id":"1399445747","filename":"file0"},{"photo_id":"1399445754","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399445752":["hashtag1","hashtag2"]},{"1399445754":["hashtag1","hashtag2"]},{"1399445747":["hashtag1","hashtag2"]},{"1399445756":["hashtag1","hashtag2"]},{"1399445750":["hashtag1","hashtag2"]},{"1399445758":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399445752, 1399445754, 1399445747, 1399445756, 1399445750, 1399445758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38241624832153 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 08:41:22.324863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/28/image_15122025_08_28_45_10729.jpg', '/home/pi/Desktop/images/15122025/08/28/image_15122025_08_28_54_9695.jpg', '/home/pi/Desktop/images/15122025/08/28/image_15122025_08_29_04_9738.jpg', '/home/pi/Desktop/images/15122025/08/29/image_15122025_08_29_14_9786.jpg', '/home/pi/Desktop/images/15122025/08/29/image_15122025_08_29_25_10638.jpg', '/home/pi/Desktop/images/15122025/08/29/image_15122025_08_29_55_10710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/28/image_15122025_08_28_45_10729.jpg
/home/pi/Desktop/images/15122025/08/28/image_15122025_08_28_54_9695.jpg
/home/pi/Desktop/images/15122025/08/28/image_15122025_08_29_04_9738.jpg
/home/pi/Desktop/images/15122025/08/29/image_15122025_08_29_14_9786.jpg
/home/pi/Desktop/images/15122025/08/29/image_15122025_08_29_25_10638.jpg
/home/pi/Desktop/images/15122025/08/29/image_15122025_08_29_55_10710.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.503312349319458 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 08:41:32.260181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 08:41:42.257610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_18_3008.jpg', '/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_21_3380.jpg', '/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_24_2699.jpg', '/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_27_3711.jpg', '/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_30_2763.jpg', '/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_33_2566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_18_3008.jpg
/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_21_3380.jpg
/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_24_2699.jpg
/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_27_3711.jpg
/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_30_2763.jpg
/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_33_2566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399445787","1399445784","1399445783","1399445786","1399445774","1399445785"],"photo_ids_order":["1399445774","1399445783","1399445784","1399445785","1399445786","1399445787"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9afe0e3d7a92a00a78540352e35193e1.jpg","text":"TemporaryFile(/tmp/multipartBody2979706498599166351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784563028,"filename":"image_05112025_14_17_33_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/15/0cd9a7e42648b90583fa71bf3d68be9d.jpg","text":"TemporaryFile(/tmp/multipartBody555642898990230628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784563028,"filename":"image_05112025_14_17_24_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/15/52ad929efb2e9a576721301b3ecd287e.jpg","text":"TemporaryFile(/tmp/multipartBody1620283904493375965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784563028,"filename":"image_05112025_14_17_21_3380.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cf7441ad2cfccacc5606ee4ec1ff0eb0.jpg","text":"TemporaryFile(/tmp/multipartBody292651515330405862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784563028,"filename":"image_05112025_14_17_30_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/15/6963075dae14d252b99eb1ccf03ee690.jpg","text":"TemporaryFile(/tmp/multipartBody1418250313752503390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784563028,"filename":"image_05112025_14_17_18_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/15/05ab622829c5e57aaae185afab6c5061.jpg","text":"TemporaryFile(/tmp/multipartBody8316305608818544228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784563028,"filename":"image_05112025_14_17_27_3711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399445784","file1":"1399445783","file0":"1399445774","file4":"1399445786","file5":"1399445787","file3":"1399445785"},"map_files_photo_id_array":[{"photo_id":"1399445787","filename":"file5"},{"photo_id":"1399445784","filename":"file2"},{"photo_id":"1399445786","filename":"file4"},{"photo_id":"1399445783","filename":"file1"},{"photo_id":"1399445774","filename":"file0"},{"photo_id":"1399445785","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399445787":["hashtag1","hashtag2"]},{"1399445784":["hashtag1","hashtag2"]},{"1399445783":["hashtag1","hashtag2"]},{"1399445786":["hashtag1","hashtag2"]},{"1399445774":["hashtag1","hashtag2"]},{"1399445785":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399445787, 1399445784, 1399445783, 1399445786, 1399445774, 1399445785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06304597854614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 08:42:22.501029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/28/image_15122025_08_28_45_10729.jpg', '/home/pi/Desktop/images/15122025/08/28/image_15122025_08_28_54_9695.jpg', '/home/pi/Desktop/images/15122025/08/28/image_15122025_08_29_04_9738.jpg', '/home/pi/Desktop/images/15122025/08/29/image_15122025_08_29_14_9786.jpg', '/home/pi/Desktop/images/15122025/08/29/image_15122025_08_29_25_10638.jpg', '/home/pi/Desktop/images/15122025/08/29/image_15122025_08_29_55_10710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/28/image_15122025_08_28_45_10729.jpg
/home/pi/Desktop/images/15122025/08/28/image_15122025_08_28_54_9695.jpg
/home/pi/Desktop/images/15122025/08/28/image_15122025_08_29_04_9738.jpg
/home/pi/Desktop/images/15122025/08/29/image_15122025_08_29_14_9786.jpg
/home/pi/Desktop/images/15122025/08/29/image_15122025_08_29_25_10638.jpg
/home/pi/Desktop/images/15122025/08/29/image_15122025_08_29_55_10710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399445833","1399445799","1399445818","1399445793","1399445796","1399445816"],"photo_ids_order":["1399445793","1399445796","1399445799","1399445816","1399445818","1399445833"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5346b84419b0d5be5bf9c393e9163569.jpg","text":"TemporaryFile(/tmp/multipartBody4561772484230976376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784603111,"filename":"image_15122025_08_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/15/b1387448038a17b3c85f2a67fef7bc6c.jpg","text":"TemporaryFile(/tmp/multipartBody1122831274029373456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784603111,"filename":"image_15122025_08_29_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/15/14500173d95497adaca1889b48922aa9.jpg","text":"TemporaryFile(/tmp/multipartBody7684710530782083337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784603111,"filename":"image_15122025_08_29_25_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d74bd59c9fbd445ade87b44bfffd62eb.jpg","text":"TemporaryFile(/tmp/multipartBody5099592132386100955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784603111,"filename":"image_15122025_08_28_45_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b77aaa71092f9bccd121a9ac7ad63005.jpg","text":"TemporaryFile(/tmp/multipartBody1709068102612718886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784603111,"filename":"image_15122025_08_28_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/15/92a8996db2e08d9d80fbabd078ecfbb8.jpg","text":"TemporaryFile(/tmp/multipartBody4113882616667555775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784603111,"filename":"image_15122025_08_29_14_9786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399445799","file1":"1399445796","file0":"1399445793","file4":"1399445818","file5":"1399445833","file3":"1399445816"},"map_files_photo_id_array":[{"photo_id":"1399445833","filename":"file5"},{"photo_id":"1399445799","filename":"file2"},{"photo_id":"1399445818","filename":"file4"},{"photo_id":"1399445796","filename":"file1"},{"photo_id":"1399445793","filename":"file0"},{"photo_id":"1399445816","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399445833":["hashtag1","hashtag2"]},{"1399445799":["hashtag1","hashtag2"]},{"1399445818":["hashtag1","hashtag2"]},{"1399445793":["hashtag1","hashtag2"]},{"1399445796":["hashtag1","hashtag2"]},{"1399445816":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399445833, 1399445799, 1399445818, 1399445793, 1399445796, 1399445816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.695385694503784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 08:43:11.869531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 08:43:21.867207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/30/image_15122025_08_30_14_10056.jpg', '/home/pi/Desktop/images/15122025/08/30/image_15122025_08_30_25_10618.jpg', '/home/pi/Desktop/images/15122025/08/30/image_15122025_08_30_34_9616.jpg', '/home/pi/Desktop/images/15122025/08/30/image_15122025_08_30_44_9803.jpg', '/home/pi/Desktop/images/15122025/08/30/image_15122025_08_31_04_9655.jpg', '/home/pi/Desktop/images/15122025/08/31/image_15122025_08_31_15_10601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/30/image_15122025_08_30_14_10056.jpg
/home/pi/Desktop/images/15122025/08/30/image_15122025_08_30_25_10618.jpg
/home/pi/Desktop/images/15122025/08/30/image_15122025_08_30_34_9616.jpg
/home/pi/Desktop/images/15122025/08/30/image_15122025_08_30_44_9803.jpg
/home/pi/Desktop/images/15122025/08/30/image_15122025_08_31_04_9655.jpg
/home/pi/Desktop/images/15122025/08/31/image_15122025_08_31_15_10601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399445862","1399445856","1399445858","1399445888","1399445930","1399445860"],"photo_ids_order":["1399445856","1399445858","1399445860","1399445862","1399445888","1399445930"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b0a3401fc5b0d443dea8c84beaa107cd.jpg","text":"TemporaryFile(/tmp/multipartBody7452870479909931122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784662480,"filename":"image_15122025_08_30_44_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6eb155f6ae332430415f953e643fe7e4.jpg","text":"TemporaryFile(/tmp/multipartBody2320970127207684525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784662480,"filename":"image_15122025_08_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/15/60b602c8a2c219b3c75350ace23329bc.jpg","text":"TemporaryFile(/tmp/multipartBody3719466292321143365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784662480,"filename":"image_15122025_08_30_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/15/0712c985ba17037a09077b840c07525f.jpg","text":"TemporaryFile(/tmp/multipartBody8978581148349847705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784662480,"filename":"image_15122025_08_31_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/15/bcbd71d3468709fb238f8a6088bdb0e5.jpg","text":"TemporaryFile(/tmp/multipartBody5770879302146805015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784662480,"filename":"image_15122025_08_31_15_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/48cd61539ad304e96dc39f1ffa8f9837.jpg","text":"TemporaryFile(/tmp/multipartBody7965944815210060938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784662480,"filename":"image_15122025_08_30_34_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399445860","file1":"1399445858","file0":"1399445856","file4":"1399445888","file5":"1399445930","file3":"1399445862"},"map_files_photo_id_array":[{"photo_id":"1399445930","filename":"file5"},{"photo_id":"1399445860","filename":"file2"},{"photo_id":"1399445888","filename":"file4"},{"photo_id":"1399445858","filename":"file1"},{"photo_id":"1399445856","filename":"file0"},{"photo_id":"1399445862","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399445862":["hashtag1","hashtag2"]},{"1399445856":["hashtag1","hashtag2"]},{"1399445858":["hashtag1","hashtag2"]},{"1399445888":["hashtag1","hashtag2"]},{"1399445930":["hashtag1","hashtag2"]},{"1399445860":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399445862, 1399445856, 1399445858, 1399445888, 1399445930, 1399445860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.07870578765869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 08:44:02.792626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/31/image_15122025_08_31_25_9746.jpg', '/home/pi/Desktop/images/15122025/08/31/image_15122025_08_31_34_9666.jpg', '/home/pi/Desktop/images/15122025/08/31/image_15122025_08_31_44_9770.jpg', '/home/pi/Desktop/images/15122025/08/31/image_15122025_08_31_55_10862.jpg', '/home/pi/Desktop/images/15122025/08/31/image_15122025_08_32_05_9774.jpg', '/home/pi/Desktop/images/15122025/08/32/image_15122025_08_32_15_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/31/image_15122025_08_31_25_9746.jpg
/home/pi/Desktop/images/15122025/08/31/image_15122025_08_31_34_9666.jpg
/home/pi/Desktop/images/15122025/08/31/image_15122025_08_31_44_9770.jpg
/home/pi/Desktop/images/15122025/08/31/image_15122025_08_31_55_10862.jpg
/home/pi/Desktop/images/15122025/08/31/image_15122025_08_32_05_9774.jpg
/home/pi/Desktop/images/15122025/08/32/image_15122025_08_32_15_9681.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5933592319488525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 08:44:12.015296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 08:44:22.113773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/31/image_15122025_08_31_25_9746.jpg', '/home/pi/Desktop/images/15122025/08/31/image_15122025_08_31_34_9666.jpg', '/home/pi/Desktop/images/15122025/08/31/image_15122025_08_31_44_9770.jpg', '/home/pi/Desktop/images/15122025/08/31/image_15122025_08_31_55_10862.jpg', '/home/pi/Desktop/images/15122025/08/31/image_15122025_08_32_05_9774.jpg', '/home/pi/Desktop/images/15122025/08/32/image_15122025_08_32_15_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/31/image_15122025_08_31_25_9746.jpg
/home/pi/Desktop/images/15122025/08/31/image_15122025_08_31_34_9666.jpg
/home/pi/Desktop/images/15122025/08/31/image_15122025_08_31_44_9770.jpg
/home/pi/Desktop/images/15122025/08/31/image_15122025_08_31_55_10862.jpg
/home/pi/Desktop/images/15122025/08/31/image_15122025_08_32_05_9774.jpg
/home/pi/Desktop/images/15122025/08/32/image_15122025_08_32_15_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":["1399446114","1399446155","1399446101","1399446091","1399446085","1399446097"],"photo_ids_order":["1399446085","1399446091","1399446097","1399446101","1399446114","1399446155"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e6fbfbca12529344f814b2d0e0ecc7f7.jpg","text":"TemporaryFile(/tmp/multipartBody8156889187910933757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784722726,"filename":"image_15122025_08_32_05_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/39ccc2cc9c46130818b73124126c3051.jpg","text":"TemporaryFile(/tmp/multipartBody309437351489763053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784722726,"filename":"image_15122025_08_32_15_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/463daeffa098ecc7255cac91a6d0ba7d.jpg","text":"TemporaryFile(/tmp/multipartBody40152105946096536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784722726,"filename":"image_15122025_08_31_55_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/15/69ec7fed8e15dd3c07973a8ee83688d0.jpg","text":"TemporaryFile(/tmp/multipartBody3437896454166032043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784722726,"filename":"image_15122025_08_31_34_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d694687206cbff5b800d89aa1f465371.jpg","text":"TemporaryFile(/tmp/multipartBody5066175281385703478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784722726,"filename":"image_15122025_08_31_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/15/dc49eca75abc59da89f26875f4ae5dbf.jpg","text":"TemporaryFile(/tmp/multipartBody3422796935440215578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784722726,"filename":"image_15122025_08_31_44_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399446097","file1":"1399446091","file0":"1399446085","file4":"1399446114","file5":"1399446155","file3":"1399446101"},"map_files_photo_id_array":[{"photo_id":"1399446155","filename":"file5"},{"photo_id":"1399446097","filename":"file2"},{"photo_id":"1399446114","filename":"file4"},{"photo_id":"1399446091","filename":"file1"},{"photo_id":"1399446085","filename":"file0"},{"photo_id":"1399446101","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399446114":["hashtag1","hashtag2"]},{"1399446155":["hashtag1","hashtag2"]},{"1399446101":["hashtag1","hashtag2"]},{"1399446091":["hashtag1","hashtag2"]},{"1399446085":["hashtag1","hashtag2"]},{"1399446097":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399446114, 1399446155, 1399446101, 1399446091, 1399446085, 1399446097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85167932510376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 08:45:02.885595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/32/image_15122025_08_32_35_10697.jpg', '/home/pi/Desktop/images/15122025/08/32/image_15122025_08_32_45_9666.jpg', '/home/pi/Desktop/images/15122025/08/32/image_15122025_08_32_54_9607.jpg', '/home/pi/Desktop/images/15122025/08/32/image_15122025_08_33_05_10693.jpg', '/home/pi/Desktop/images/15122025/08/33/image_15122025_08_33_15_9652.jpg', '/home/pi/Desktop/images/15122025/08/33/image_15122025_08_33_24_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/32/image_15122025_08_32_35_10697.jpg
/home/pi/Desktop/images/15122025/08/32/image_15122025_08_32_45_9666.jpg
/home/pi/Desktop/images/15122025/08/32/image_15122025_08_32_54_9607.jpg
/home/pi/Desktop/images/15122025/08/32/image_15122025_08_33_05_10693.jpg
/home/pi/Desktop/images/15122025/08/33/image_15122025_08_33_15_9652.jpg
/home/pi/Desktop/images/15122025/08/33/image_15122025_08_33_24_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":["1399446192","1399446255","1399446249","1399446228","1399446251","1399446253"],"photo_ids_order":["1399446192","1399446228","1399446249","1399446251","1399446253","1399446255"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2089e93f2449b4ba0baf2ba5f303421b.jpg","text":"TemporaryFile(/tmp/multipartBody2364205629098064439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784763564,"filename":"image_15122025_08_32_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/15/4a557c210c5cff4db199d24f663cee55.jpg","text":"TemporaryFile(/tmp/multipartBody3753939896349127414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784763564,"filename":"image_15122025_08_33_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/15/6ed04a90edee2c506f23e548d8e77cca.jpg","text":"TemporaryFile(/tmp/multipartBody6983292944982944320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784763564,"filename":"image_15122025_08_32_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/15/2fb3c76306ca69138dbe9b5f4b112c84.jpg","text":"TemporaryFile(/tmp/multipartBody18105341052056852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784763564,"filename":"image_15122025_08_32_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/15/6c02c4fa6a03aa2c26c80683516486e4.jpg","text":"TemporaryFile(/tmp/multipartBody518850526545350116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784763564,"filename":"image_15122025_08_33_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/15/6699d8f73e4475965b7007a0d4973740.jpg","text":"TemporaryFile(/tmp/multipartBody2390130628368091556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784763564,"filename":"image_15122025_08_33_15_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399446249","file1":"1399446228","file0":"1399446192","file4":"1399446253","file5":"1399446255","file3":"1399446251"},"map_files_photo_id_array":[{"photo_id":"1399446255","filename":"file5"},{"photo_id":"1399446249","filename":"file2"},{"photo_id":"1399446253","filename":"file4"},{"photo_id":"1399446228","filename":"file1"},{"photo_id":"1399446192","filename":"file0"},{"photo_id":"1399446251","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399446192":["hashtag1","hashtag2"]},{"1399446255":["hashtag1","hashtag2"]},{"1399446249":["hashtag1","hashtag2"]},{"1399446228":["hashtag1","hashtag2"]},{"1399446251":["hashtag1","hashtag2"]},{"1399446253":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399446192, 1399446255, 1399446249, 1399446228, 1399446251, 1399446253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.521477699279785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 08:45:42.198445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_36_3220.jpg', '/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_39_2658.jpg', '/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_42_3622.jpg', '/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_45_2564.jpg', '/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_49_3678.jpg', '/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_51_2708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_36_3220.jpg
/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_39_2658.jpg
/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_42_3622.jpg
/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_45_2564.jpg
/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_49_3678.jpg
/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_51_2708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399446276","1399446273","1399446275","1399446260","1399446274","1399446277"],"photo_ids_order":["1399446260","1399446273","1399446274","1399446275","1399446276","1399446277"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1ff9db601e0cecf9806f087f178b13c5.jpg","text":"TemporaryFile(/tmp/multipartBody3258574212409846555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784802966,"filename":"image_05112025_14_17_49_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/15/d508b6a6fdef2bb2394660f0fa5c2d83.jpg","text":"TemporaryFile(/tmp/multipartBody1484374135904176619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784802966,"filename":"image_05112025_14_17_39_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/15/7f7ae4dcdeb9f4b3bc53d88571611e8f.jpg","text":"TemporaryFile(/tmp/multipartBody2713550744019699212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784802966,"filename":"image_05112025_14_17_45_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/15/0cb2fd0ed71a9c62f80d4c4473448ff7.jpg","text":"TemporaryFile(/tmp/multipartBody3164911056219386011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784802966,"filename":"image_05112025_14_17_36_3220.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/044e39bf389f0ab165ecc1ed4dcf1c66.jpg","text":"TemporaryFile(/tmp/multipartBody8431124729946960461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784802966,"filename":"image_05112025_14_17_42_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/15/c1bdbdc72f739fb631bbe3fb28b2e05d.jpg","text":"TemporaryFile(/tmp/multipartBody2240968724612581002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784802966,"filename":"image_05112025_14_17_51_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399446274","file1":"1399446273","file0":"1399446260","file4":"1399446276","file5":"1399446277","file3":"1399446275"},"map_files_photo_id_array":[{"photo_id":"1399446277","filename":"file5"},{"photo_id":"1399446274","filename":"file2"},{"photo_id":"1399446276","filename":"file4"},{"photo_id":"1399446273","filename":"file1"},{"photo_id":"1399446260","filename":"file0"},{"photo_id":"1399446275","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399446276":["hashtag1","hashtag2"]},{"1399446273":["hashtag1","hashtag2"]},{"1399446275":["hashtag1","hashtag2"]},{"1399446260":["hashtag1","hashtag2"]},{"1399446274":["hashtag1","hashtag2"]},{"1399446277":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399446276, 1399446273, 1399446275, 1399446260, 1399446274, 1399446277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.710346937179565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 08:46:22.462047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/33/image_15122025_08_33_35_10657.jpg', '/home/pi/Desktop/images/15122025/08/33/image_15122025_08_33_45_9669.jpg', '/home/pi/Desktop/images/15122025/08/33/image_15122025_08_33_54_9707.jpg', '/home/pi/Desktop/images/15122025/08/34/image_15122025_08_34_15_10610.jpg', '/home/pi/Desktop/images/15122025/08/34/image_15122025_08_34_25_9808.jpg', '/home/pi/Desktop/images/15122025/08/34/image_15122025_08_34_34_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/33/image_15122025_08_33_35_10657.jpg
/home/pi/Desktop/images/15122025/08/33/image_15122025_08_33_45_9669.jpg
/home/pi/Desktop/images/15122025/08/33/image_15122025_08_33_54_9707.jpg
/home/pi/Desktop/images/15122025/08/34/image_15122025_08_34_15_10610.jpg
/home/pi/Desktop/images/15122025/08/34/image_15122025_08_34_25_9808.jpg
/home/pi/Desktop/images/15122025/08/34/image_15122025_08_34_34_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":["1399446369","1399446366","1399446371","1399446374","1399446362","1399446358"],"photo_ids_order":["1399446358","1399446362","1399446366","1399446369","1399446371","1399446374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/11a532b1d0fb6821abf4f12fc3e028c7.jpg","text":"TemporaryFile(/tmp/multipartBody4289246037067786579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784843089,"filename":"image_15122025_08_34_15_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/81015ed54ffda3bdf5b41035adaccd87.jpg","text":"TemporaryFile(/tmp/multipartBody1843885852401370282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784843089,"filename":"image_15122025_08_33_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/15/54cb15b5c889e799be302435b2a25648.jpg","text":"TemporaryFile(/tmp/multipartBody8799699374733506303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784843089,"filename":"image_15122025_08_34_25_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/03de6a6787406cdba5adccae581edf4d.jpg","text":"TemporaryFile(/tmp/multipartBody7394332478504209078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784843089,"filename":"image_15122025_08_34_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/15/da6e2c3ccf56bd6fc8eada98852365f3.jpg","text":"TemporaryFile(/tmp/multipartBody1854565629084363486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784843089,"filename":"image_15122025_08_33_45_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c33be66d2a9dd37d5cfa55331eab7b09.jpg","text":"TemporaryFile(/tmp/multipartBody6099541708661533075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784843089,"filename":"image_15122025_08_33_35_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399446366","file1":"1399446362","file0":"1399446358","file4":"1399446371","file5":"1399446374","file3":"1399446369"},"map_files_photo_id_array":[{"photo_id":"1399446374","filename":"file5"},{"photo_id":"1399446366","filename":"file2"},{"photo_id":"1399446371","filename":"file4"},{"photo_id":"1399446362","filename":"file1"},{"photo_id":"1399446358","filename":"file0"},{"photo_id":"1399446369","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399446369":["hashtag1","hashtag2"]},{"1399446366":["hashtag1","hashtag2"]},{"1399446371":["hashtag1","hashtag2"]},{"1399446374":["hashtag1","hashtag2"]},{"1399446362":["hashtag1","hashtag2"]},{"1399446358":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399446369, 1399446366, 1399446371, 1399446374, 1399446362, 1399446358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.68913650512695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 08:47:03.421324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/34/image_15122025_08_34_45_10819.jpg', '/home/pi/Desktop/images/15122025/08/34/image_15122025_08_34_55_9759.jpg', '/home/pi/Desktop/images/15122025/08/34/image_15122025_08_35_05_9786.jpg', '/home/pi/Desktop/images/15122025/08/35/image_15122025_08_35_14_9741.jpg', '/home/pi/Desktop/images/15122025/08/35/image_15122025_08_35_24_9850.jpg', '/home/pi/Desktop/images/15122025/08/35/image_15122025_08_35_35_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/34/image_15122025_08_34_45_10819.jpg
/home/pi/Desktop/images/15122025/08/34/image_15122025_08_34_55_9759.jpg
/home/pi/Desktop/images/15122025/08/34/image_15122025_08_35_05_9786.jpg
/home/pi/Desktop/images/15122025/08/35/image_15122025_08_35_14_9741.jpg
/home/pi/Desktop/images/15122025/08/35/image_15122025_08_35_24_9850.jpg
/home/pi/Desktop/images/15122025/08/35/image_15122025_08_35_35_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":["1399446384","1399446378","1399446386","1399446389","1399446380","1399446382"],"photo_ids_order":["1399446378","1399446380","1399446382","1399446384","1399446386","1399446389"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d24f4b58bff5a68d522154db91f19cb3.jpg","text":"TemporaryFile(/tmp/multipartBody2039709923313941018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784884033,"filename":"image_15122025_08_35_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/15/179b20dbbc5f125c5d9a2bd09120cccb.jpg","text":"TemporaryFile(/tmp/multipartBody1893449255242812950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784884033,"filename":"image_15122025_08_34_45_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/15/9a44bb3d1bd4649da2750d062c083958.jpg","text":"TemporaryFile(/tmp/multipartBody6728515000621925459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784884033,"filename":"image_15122025_08_35_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/15/a47601a31dc89c0c1e7a7e77e2f1f6d6.jpg","text":"TemporaryFile(/tmp/multipartBody3248404918978110480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784884033,"filename":"image_15122025_08_35_35_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5ae45b6b620b6c634c714c12b3446022.jpg","text":"TemporaryFile(/tmp/multipartBody8371583724479597300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784884033,"filename":"image_15122025_08_34_55_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/39bcf20a42829ee96ed6fdd2c86e6ae1.jpg","text":"TemporaryFile(/tmp/multipartBody8737037581437216905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784884033,"filename":"image_15122025_08_35_05_9786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399446382","file1":"1399446380","file0":"1399446378","file4":"1399446386","file5":"1399446389","file3":"1399446384"},"map_files_photo_id_array":[{"photo_id":"1399446389","filename":"file5"},{"photo_id":"1399446382","filename":"file2"},{"photo_id":"1399446386","filename":"file4"},{"photo_id":"1399446380","filename":"file1"},{"photo_id":"1399446378","filename":"file0"},{"photo_id":"1399446384","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399446384":["hashtag1","hashtag2"]},{"1399446378":["hashtag1","hashtag2"]},{"1399446386":["hashtag1","hashtag2"]},{"1399446389":["hashtag1","hashtag2"]},{"1399446380":["hashtag1","hashtag2"]},{"1399446382":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399446384, 1399446378, 1399446386, 1399446389, 1399446380, 1399446382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95528531074524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 08:47:42.669148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_54_2668.jpg', '/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_57_2706.jpg', '/home/pi/Desktop/images/05112025/14/17/image_05112025_14_18_00_3563.jpg', '/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_03_2575.jpg', '/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_06_3591.jpg', '/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_15_8605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_54_2668.jpg
/home/pi/Desktop/images/05112025/14/17/image_05112025_14_17_57_2706.jpg
/home/pi/Desktop/images/05112025/14/17/image_05112025_14_18_00_3563.jpg
/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_03_2575.jpg
/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_06_3591.jpg
/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_15_8605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399446403","1399446405","1399446402","1399446404","1399446394","1399446400"],"photo_ids_order":["1399446394","1399446400","1399446402","1399446403","1399446404","1399446405"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b79903431f92194a2e254e7d4763621c.jpg","text":"TemporaryFile(/tmp/multipartBody759880561709999126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784923444,"filename":"image_05112025_14_18_03_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/15/4abb0b677b98cb6ca46d15470d34ac5f.jpg","text":"TemporaryFile(/tmp/multipartBody6412205619949627907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784923444,"filename":"image_05112025_14_18_15_8605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/61aa67697d9f5b5c5a2833c2c1727dc6.jpg","text":"TemporaryFile(/tmp/multipartBody1669768508021052339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784923444,"filename":"image_05112025_14_18_00_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/15/69747ac0a6c6280efe9311870d6b4a4e.jpg","text":"TemporaryFile(/tmp/multipartBody4894612066738582321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784923444,"filename":"image_05112025_14_18_06_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/15/3f1b5fd035c16455409c803774c18433.jpg","text":"TemporaryFile(/tmp/multipartBody1565329544178257082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784923444,"filename":"image_05112025_14_17_54_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/15/8c754dfff59ee331e5ba1b5c83a31426.jpg","text":"TemporaryFile(/tmp/multipartBody6441428862898050435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784923444,"filename":"image_05112025_14_17_57_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399446402","file1":"1399446400","file0":"1399446394","file4":"1399446404","file5":"1399446405","file3":"1399446403"},"map_files_photo_id_array":[{"photo_id":"1399446405","filename":"file5"},{"photo_id":"1399446402","filename":"file2"},{"photo_id":"1399446404","filename":"file4"},{"photo_id":"1399446400","filename":"file1"},{"photo_id":"1399446394","filename":"file0"},{"photo_id":"1399446403","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399446403":["hashtag1","hashtag2"]},{"1399446405":["hashtag1","hashtag2"]},{"1399446402":["hashtag1","hashtag2"]},{"1399446404":["hashtag1","hashtag2"]},{"1399446394":["hashtag1","hashtag2"]},{"1399446400":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399446403, 1399446405, 1399446402, 1399446404, 1399446394, 1399446400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7493097782135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 08:48:21.933502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/35/image_15122025_08_35_44_9598.jpg', '/home/pi/Desktop/images/15122025/08/35/image_15122025_08_36_05_9790.jpg', '/home/pi/Desktop/images/15122025/08/36/image_15122025_08_36_15_9671.jpg', '/home/pi/Desktop/images/15122025/08/36/image_15122025_08_36_24_9596.jpg', '/home/pi/Desktop/images/15122025/08/36/image_15122025_08_36_35_10705.jpg', '/home/pi/Desktop/images/15122025/08/36/image_15122025_08_36_45_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/35/image_15122025_08_35_44_9598.jpg
/home/pi/Desktop/images/15122025/08/35/image_15122025_08_36_05_9790.jpg
/home/pi/Desktop/images/15122025/08/36/image_15122025_08_36_15_9671.jpg
/home/pi/Desktop/images/15122025/08/36/image_15122025_08_36_24_9596.jpg
/home/pi/Desktop/images/15122025/08/36/image_15122025_08_36_35_10705.jpg
/home/pi/Desktop/images/15122025/08/36/image_15122025_08_36_45_9654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399446424","1399446412","1399446423","1399446426","1399446417","1399446419"],"photo_ids_order":["1399446412","1399446417","1399446419","1399446423","1399446424","1399446426"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f921b6dc3a974810fe7baa98a1bdd8ce.jpg","text":"TemporaryFile(/tmp/multipartBody6902316035877642417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784962548,"filename":"image_15122025_08_36_35_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2696ec78ef9bb5dc81de127b898d5c9a.jpg","text":"TemporaryFile(/tmp/multipartBody6303223431702598098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784962548,"filename":"image_15122025_08_35_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/15/b1211191bf3d3ce12dc9daf4f9005f94.jpg","text":"TemporaryFile(/tmp/multipartBody6423755206834774476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784962548,"filename":"image_15122025_08_36_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/15/b7f749393309de39fc4e94f3124f666e.jpg","text":"TemporaryFile(/tmp/multipartBody1760408723131994863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784962548,"filename":"image_15122025_08_36_45_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/784917201be039d3a0878e58f515c7ba.jpg","text":"TemporaryFile(/tmp/multipartBody2464242133288226978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784962548,"filename":"image_15122025_08_36_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/15/014b8ea6d4a32e3f1399f5fb5b537c6a.jpg","text":"TemporaryFile(/tmp/multipartBody6749816650354147472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765784962548,"filename":"image_15122025_08_36_15_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399446419","file1":"1399446417","file0":"1399446412","file4":"1399446424","file5":"1399446426","file3":"1399446423"},"map_files_photo_id_array":[{"photo_id":"1399446426","filename":"file5"},{"photo_id":"1399446419","filename":"file2"},{"photo_id":"1399446424","filename":"file4"},{"photo_id":"1399446417","filename":"file1"},{"photo_id":"1399446412","filename":"file0"},{"photo_id":"1399446423","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399446424":["hashtag1","hashtag2"]},{"1399446412":["hashtag1","hashtag2"]},{"1399446423":["hashtag1","hashtag2"]},{"1399446426":["hashtag1","hashtag2"]},{"1399446417":["hashtag1","hashtag2"]},{"1399446419":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399446424, 1399446412, 1399446423, 1399446426, 1399446417, 1399446419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14327549934387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 08:49:03.141536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/36/image_15122025_08_36_54_9699.jpg', '/home/pi/Desktop/images/15122025/08/36/image_15122025_08_37_05_10735.jpg', '/home/pi/Desktop/images/15122025/08/37/image_15122025_08_37_15_9753.jpg', '/home/pi/Desktop/images/15122025/08/37/image_15122025_08_37_25_9791.jpg', '/home/pi/Desktop/images/15122025/08/37/image_15122025_08_37_35_10300.jpg', '/home/pi/Desktop/images/15122025/08/37/image_15122025_08_37_45_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/36/image_15122025_08_36_54_9699.jpg
/home/pi/Desktop/images/15122025/08/36/image_15122025_08_37_05_10735.jpg
/home/pi/Desktop/images/15122025/08/37/image_15122025_08_37_15_9753.jpg
/home/pi/Desktop/images/15122025/08/37/image_15122025_08_37_25_9791.jpg
/home/pi/Desktop/images/15122025/08/37/image_15122025_08_37_35_10300.jpg
/home/pi/Desktop/images/15122025/08/37/image_15122025_08_37_45_9709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399446690","1399446771","1399446648","1399446609","1399446575","1399446728"],"photo_ids_order":["1399446575","1399446609","1399446648","1399446690","1399446728","1399446771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ffd1f5e2c71c96050bb1f7eb53a996d6.jpg","text":"TemporaryFile(/tmp/multipartBody5303477445605776108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785004043,"filename":"image_15122025_08_37_25_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dab1a8afabef5c0c6857d5b5f6755a1e.jpg","text":"TemporaryFile(/tmp/multipartBody5218709058572836599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785004043,"filename":"image_15122025_08_37_45_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/861bf41552849f603beea555cd2631fc.jpg","text":"TemporaryFile(/tmp/multipartBody8613915671347461957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785004043,"filename":"image_15122025_08_37_15_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/93da2108a25c13cb2f40afb943aa8fef.jpg","text":"TemporaryFile(/tmp/multipartBody1163933659746638099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785004043,"filename":"image_15122025_08_37_05_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7f435fd4daa13350f4d31a5815ea0955.jpg","text":"TemporaryFile(/tmp/multipartBody8514475891681305471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785004043,"filename":"image_15122025_08_36_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/15/622083f811bb55879b0bc3557434754e.jpg","text":"TemporaryFile(/tmp/multipartBody7568170169363152722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785004043,"filename":"image_15122025_08_37_35_10300.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399446648","file1":"1399446609","file0":"1399446575","file4":"1399446728","file5":"1399446771","file3":"1399446690"},"map_files_photo_id_array":[{"photo_id":"1399446771","filename":"file5"},{"photo_id":"1399446648","filename":"file2"},{"photo_id":"1399446728","filename":"file4"},{"photo_id":"1399446609","filename":"file1"},{"photo_id":"1399446575","filename":"file0"},{"photo_id":"1399446690","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399446690":["hashtag1","hashtag2"]},{"1399446771":["hashtag1","hashtag2"]},{"1399446648":["hashtag1","hashtag2"]},{"1399446609":["hashtag1","hashtag2"]},{"1399446575":["hashtag1","hashtag2"]},{"1399446728":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399446690, 1399446771, 1399446648, 1399446609, 1399446575, 1399446728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.666285276412964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 08:50:02.947014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/37/image_15122025_08_38_05_10740.jpg', '/home/pi/Desktop/images/15122025/08/38/image_15122025_08_38_15_9650.jpg', '/home/pi/Desktop/images/15122025/08/38/image_15122025_08_38_25_9798.jpg', '/home/pi/Desktop/images/15122025/08/38/image_15122025_08_38_34_9778.jpg', '/home/pi/Desktop/images/15122025/08/38/image_15122025_08_38_45_10671.jpg', '/home/pi/Desktop/images/15122025/08/38/image_15122025_08_38_55_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/37/image_15122025_08_38_05_10740.jpg
/home/pi/Desktop/images/15122025/08/38/image_15122025_08_38_15_9650.jpg
/home/pi/Desktop/images/15122025/08/38/image_15122025_08_38_25_9798.jpg
/home/pi/Desktop/images/15122025/08/38/image_15122025_08_38_34_9778.jpg
/home/pi/Desktop/images/15122025/08/38/image_15122025_08_38_45_10671.jpg
/home/pi/Desktop/images/15122025/08/38/image_15122025_08_38_55_9739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399446792","1399446786","1399446788","1399446785","1399446800","1399446796"],"photo_ids_order":["1399446785","1399446786","1399446788","1399446792","1399446796","1399446800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/70707802befbed6241448ba0980df5f9.jpg","text":"TemporaryFile(/tmp/multipartBody1730401862909311405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785063579,"filename":"image_15122025_08_38_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/15/8c7a5f23d90e5a4c8d7f6def0886f348.jpg","text":"TemporaryFile(/tmp/multipartBody5614387876210127872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785063579,"filename":"image_15122025_08_38_15_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a18e371eeb0b4809553a6991570ad019.jpg","text":"TemporaryFile(/tmp/multipartBody595728111536019946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785063579,"filename":"image_15122025_08_38_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/15/fdebc0aaf6dd8d5b3c85fdc309b88025.jpg","text":"TemporaryFile(/tmp/multipartBody6560792805619418996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785063579,"filename":"image_15122025_08_38_05_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fafee99bfd8538429eb6ec11d523cac7.jpg","text":"TemporaryFile(/tmp/multipartBody8883953648586351520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785063579,"filename":"image_15122025_08_38_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/15/d13ff48f5e92d8c729843a9079b72cbb.jpg","text":"TemporaryFile(/tmp/multipartBody1495948520535642259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785063579,"filename":"image_15122025_08_38_45_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399446788","file1":"1399446786","file0":"1399446785","file4":"1399446796","file5":"1399446800","file3":"1399446792"},"map_files_photo_id_array":[{"photo_id":"1399446800","filename":"file5"},{"photo_id":"1399446788","filename":"file2"},{"photo_id":"1399446796","filename":"file4"},{"photo_id":"1399446786","filename":"file1"},{"photo_id":"1399446785","filename":"file0"},{"photo_id":"1399446792","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399446792":["hashtag1","hashtag2"]},{"1399446786":["hashtag1","hashtag2"]},{"1399446788":["hashtag1","hashtag2"]},{"1399446785":["hashtag1","hashtag2"]},{"1399446800":["hashtag1","hashtag2"]},{"1399446796":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399446792, 1399446786, 1399446788, 1399446785, 1399446800, 1399446796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.19023776054382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 08:51:03.502112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/38/image_15122025_08_39_05_9861.jpg', '/home/pi/Desktop/images/15122025/08/39/image_15122025_08_39_14_9814.jpg', '/home/pi/Desktop/images/15122025/08/39/image_15122025_08_39_24_9757.jpg', '/home/pi/Desktop/images/15122025/08/39/image_15122025_08_39_35_10559.jpg', '/home/pi/Desktop/images/15122025/08/39/image_15122025_08_39_44_9613.jpg', '/home/pi/Desktop/images/15122025/08/39/image_15122025_08_39_55_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/38/image_15122025_08_39_05_9861.jpg
/home/pi/Desktop/images/15122025/08/39/image_15122025_08_39_14_9814.jpg
/home/pi/Desktop/images/15122025/08/39/image_15122025_08_39_24_9757.jpg
/home/pi/Desktop/images/15122025/08/39/image_15122025_08_39_35_10559.jpg
/home/pi/Desktop/images/15122025/08/39/image_15122025_08_39_44_9613.jpg
/home/pi/Desktop/images/15122025/08/39/image_15122025_08_39_55_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":["1399446834","1399446828","1399446837","1399446830","1399446832","1399446826"],"photo_ids_order":["1399446826","1399446828","1399446830","1399446832","1399446834","1399446837"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3fd50f1dcc88d7a6bfc2642797fed3b1.jpg","text":"TemporaryFile(/tmp/multipartBody2512588224076876779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785124219,"filename":"image_15122025_08_39_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/15/fe45d3dd19ea634e65ef813d7903802a.jpg","text":"TemporaryFile(/tmp/multipartBody1628338457186959265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785124219,"filename":"image_15122025_08_39_14_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9dc376993454797f8e67bc5c9a11a55c.jpg","text":"TemporaryFile(/tmp/multipartBody5200829165687089912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785124219,"filename":"image_15122025_08_39_55_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/15/210702c2e177bb01da95e3234f8809b4.jpg","text":"TemporaryFile(/tmp/multipartBody5935171921985810523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785124219,"filename":"image_15122025_08_39_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/15/77c7c28cd0f5dfa984a2f7f1e6c4b7ee.jpg","text":"TemporaryFile(/tmp/multipartBody9193646458435281534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785124219,"filename":"image_15122025_08_39_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/15/d00731d3c95fa53864d487471b4ffda1.jpg","text":"TemporaryFile(/tmp/multipartBody9080607879715126560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785124219,"filename":"image_15122025_08_39_05_9861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399446830","file1":"1399446828","file0":"1399446826","file4":"1399446834","file5":"1399446837","file3":"1399446832"},"map_files_photo_id_array":[{"photo_id":"1399446837","filename":"file5"},{"photo_id":"1399446830","filename":"file2"},{"photo_id":"1399446834","filename":"file4"},{"photo_id":"1399446828","filename":"file1"},{"photo_id":"1399446826","filename":"file0"},{"photo_id":"1399446832","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399446834":["hashtag1","hashtag2"]},{"1399446828":["hashtag1","hashtag2"]},{"1399446837":["hashtag1","hashtag2"]},{"1399446830":["hashtag1","hashtag2"]},{"1399446832":["hashtag1","hashtag2"]},{"1399446826":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399446834, 1399446828, 1399446837, 1399446830, 1399446832, 1399446826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.300546646118164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 08:51:42.732097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_17_1578.jpg', '/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_18_1609.jpg', '/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_21_2870.jpg', '/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_23_1655.jpg', '/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_25_1821.jpg', '/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_27_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_17_1578.jpg
/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_18_1609.jpg
/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_21_2870.jpg
/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_23_1655.jpg
/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_25_1821.jpg
/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_27_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":["1399446846","1399446860","1399446848","1399446868","1399446877","1399446844"],"photo_ids_order":["1399446844","1399446846","1399446848","1399446860","1399446868","1399446877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3a92c897f2322bf18e8233224313b121.jpg","text":"TemporaryFile(/tmp/multipartBody7251181072053983007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785163443,"filename":"image_05112025_14_18_18_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/15/aac5d58213ab3335ccaf1ace69add61d.jpg","text":"TemporaryFile(/tmp/multipartBody2902344428277507523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785163443,"filename":"image_05112025_14_18_23_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/15/94d6abf115f42ae2255fa715f3837915.jpg","text":"TemporaryFile(/tmp/multipartBody6928402724684035213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785163443,"filename":"image_05112025_14_18_21_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/15/c4bd33eb14607da7ad06ddc4b3e9aa0b.jpg","text":"TemporaryFile(/tmp/multipartBody5514908647864269636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785163443,"filename":"image_05112025_14_18_25_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/15/eb08f0e6a632543a9982697e41c3fced.jpg","text":"TemporaryFile(/tmp/multipartBody1216929935332223441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785163443,"filename":"image_05112025_14_18_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/15/04f64e66debb2bb429c308301323075e.jpg","text":"TemporaryFile(/tmp/multipartBody3897248390617507115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785163443,"filename":"image_05112025_14_18_17_1578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399446848","file1":"1399446846","file0":"1399446844","file4":"1399446868","file5":"1399446877","file3":"1399446860"},"map_files_photo_id_array":[{"photo_id":"1399446877","filename":"file5"},{"photo_id":"1399446848","filename":"file2"},{"photo_id":"1399446868","filename":"file4"},{"photo_id":"1399446846","filename":"file1"},{"photo_id":"1399446844","filename":"file0"},{"photo_id":"1399446860","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399446846":["hashtag1","hashtag2"]},{"1399446860":["hashtag1","hashtag2"]},{"1399446848":["hashtag1","hashtag2"]},{"1399446868":["hashtag1","hashtag2"]},{"1399446877":["hashtag1","hashtag2"]},{"1399446844":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399446846, 1399446860, 1399446848, 1399446868, 1399446877, 1399446844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.826985359191895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 08:52:21.973607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/39/image_15122025_08_40_05_9697.jpg', '/home/pi/Desktop/images/15122025/08/40/image_15122025_08_40_14_9595.jpg', '/home/pi/Desktop/images/15122025/08/40/image_15122025_08_40_25_10719.jpg', '/home/pi/Desktop/images/15122025/08/40/image_15122025_08_40_35_9617.jpg', '/home/pi/Desktop/images/15122025/08/40/image_15122025_08_40_45_10006.jpg', '/home/pi/Desktop/images/15122025/08/40/image_15122025_08_40_54_9536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/39/image_15122025_08_40_05_9697.jpg
/home/pi/Desktop/images/15122025/08/40/image_15122025_08_40_14_9595.jpg
/home/pi/Desktop/images/15122025/08/40/image_15122025_08_40_25_10719.jpg
/home/pi/Desktop/images/15122025/08/40/image_15122025_08_40_35_9617.jpg
/home/pi/Desktop/images/15122025/08/40/image_15122025_08_40_45_10006.jpg
/home/pi/Desktop/images/15122025/08/40/image_15122025_08_40_54_9536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399446901","1399446927","1399446912","1399446923","1399446917","1399446919"],"photo_ids_order":["1399446901","1399446912","1399446917","1399446919","1399446923","1399446927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1bd806c7cd83bac34867b654bf95d44a.jpg","text":"TemporaryFile(/tmp/multipartBody9140666239720625375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785202618,"filename":"image_15122025_08_40_05_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d3a9bb54b46d37eb3aab443308e95e89.jpg","text":"TemporaryFile(/tmp/multipartBody5543516417062575505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785202618,"filename":"image_15122025_08_40_54_9536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2cf497f0dad4a1a8b1b045d231fb26bf.jpg","text":"TemporaryFile(/tmp/multipartBody9011075569499364752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785202618,"filename":"image_15122025_08_40_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/15/fa9695f4b7c53b0b4ddc536aba7ca914.jpg","text":"TemporaryFile(/tmp/multipartBody5470127193071925408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785202618,"filename":"image_15122025_08_40_45_10006.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8fb70debee7a1abf32ba7619d1605793.jpg","text":"TemporaryFile(/tmp/multipartBody5646950129649789855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785202618,"filename":"image_15122025_08_40_25_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bace227572480915c9c91913c34c37b4.jpg","text":"TemporaryFile(/tmp/multipartBody2051058380573640811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785202618,"filename":"image_15122025_08_40_35_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399446917","file1":"1399446912","file0":"1399446901","file4":"1399446923","file5":"1399446927","file3":"1399446919"},"map_files_photo_id_array":[{"photo_id":"1399446927","filename":"file5"},{"photo_id":"1399446917","filename":"file2"},{"photo_id":"1399446923","filename":"file4"},{"photo_id":"1399446912","filename":"file1"},{"photo_id":"1399446901","filename":"file0"},{"photo_id":"1399446919","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399446901":["hashtag1","hashtag2"]},{"1399446927":["hashtag1","hashtag2"]},{"1399446912":["hashtag1","hashtag2"]},{"1399446923":["hashtag1","hashtag2"]},{"1399446917":["hashtag1","hashtag2"]},{"1399446919":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399446901, 1399446927, 1399446912, 1399446923, 1399446917, 1399446919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.283350229263306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 08:53:03.084606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/40/image_15122025_08_41_05_10699.jpg', '/home/pi/Desktop/images/15122025/08/41/image_15122025_08_41_15_9763.jpg', '/home/pi/Desktop/images/15122025/08/41/image_15122025_08_41_24_9656.jpg', '/home/pi/Desktop/images/15122025/08/41/image_15122025_08_41_35_10848.jpg', '/home/pi/Desktop/images/15122025/08/41/image_15122025_08_41_45_9624.jpg', '/home/pi/Desktop/images/15122025/08/41/image_15122025_08_41_54_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/40/image_15122025_08_41_05_10699.jpg
/home/pi/Desktop/images/15122025/08/41/image_15122025_08_41_15_9763.jpg
/home/pi/Desktop/images/15122025/08/41/image_15122025_08_41_24_9656.jpg
/home/pi/Desktop/images/15122025/08/41/image_15122025_08_41_35_10848.jpg
/home/pi/Desktop/images/15122025/08/41/image_15122025_08_41_45_9624.jpg
/home/pi/Desktop/images/15122025/08/41/image_15122025_08_41_54_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":["1399446957","1399446954","1399446959","1399446952","1399446946","1399446937"],"photo_ids_order":["1399446937","1399446946","1399446952","1399446954","1399446957","1399446959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/37e0a1eeb6b9d581fd4c3b85628a9c44.jpg","text":"TemporaryFile(/tmp/multipartBody8948155690080718124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785243752,"filename":"image_15122025_08_41_45_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/527358c8a0daa7f0b3ea9617e8ebaa07.jpg","text":"TemporaryFile(/tmp/multipartBody976396407670301022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785243752,"filename":"image_15122025_08_41_35_10848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/23b4a0f948ae936bcb8d1f97e9a5aa4a.jpg","text":"TemporaryFile(/tmp/multipartBody8533083395122685251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785243752,"filename":"image_15122025_08_41_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/15/a73dbee92b8cd31176336c4a40cb7ea6.jpg","text":"TemporaryFile(/tmp/multipartBody9110941545832525086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785243752,"filename":"image_15122025_08_41_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/15/97ae9eb7c98549f500413f35fb2933a9.jpg","text":"TemporaryFile(/tmp/multipartBody7762896001942563521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785243752,"filename":"image_15122025_08_41_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/15/b416d86d2063ad8e8bc83b2544aa96eb.jpg","text":"TemporaryFile(/tmp/multipartBody8031651650595654609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785243752,"filename":"image_15122025_08_41_05_10699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399446952","file1":"1399446946","file0":"1399446937","file4":"1399446957","file5":"1399446959","file3":"1399446954"},"map_files_photo_id_array":[{"photo_id":"1399446959","filename":"file5"},{"photo_id":"1399446952","filename":"file2"},{"photo_id":"1399446957","filename":"file4"},{"photo_id":"1399446946","filename":"file1"},{"photo_id":"1399446937","filename":"file0"},{"photo_id":"1399446954","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399446957":["hashtag1","hashtag2"]},{"1399446954":["hashtag1","hashtag2"]},{"1399446959":["hashtag1","hashtag2"]},{"1399446952":["hashtag1","hashtag2"]},{"1399446946":["hashtag1","hashtag2"]},{"1399446937":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399446957, 1399446954, 1399446959, 1399446952, 1399446946, 1399446937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.43722367286682 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 08:54:03.230318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/41/image_15122025_08_42_04_9895.jpg', '/home/pi/Desktop/images/15122025/08/42/image_15122025_08_42_15_10771.jpg', '/home/pi/Desktop/images/15122025/08/42/image_15122025_08_42_25_9579.jpg', '/home/pi/Desktop/images/15122025/08/42/image_15122025_08_42_34_9712.jpg', '/home/pi/Desktop/images/15122025/08/42/image_15122025_08_42_45_10777.jpg', '/home/pi/Desktop/images/15122025/08/42/image_15122025_08_42_55_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/41/image_15122025_08_42_04_9895.jpg
/home/pi/Desktop/images/15122025/08/42/image_15122025_08_42_15_10771.jpg
/home/pi/Desktop/images/15122025/08/42/image_15122025_08_42_25_9579.jpg
/home/pi/Desktop/images/15122025/08/42/image_15122025_08_42_34_9712.jpg
/home/pi/Desktop/images/15122025/08/42/image_15122025_08_42_45_10777.jpg
/home/pi/Desktop/images/15122025/08/42/image_15122025_08_42_55_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":["1399446978","1399446980","1399446974","1399446982","1399446985","1399446976"],"photo_ids_order":["1399446974","1399446976","1399446978","1399446980","1399446982","1399446985"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/69b94ea9069dedb28ef8c5508b0ea8fd.jpg","text":"TemporaryFile(/tmp/multipartBody6420411335218634410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785303886,"filename":"image_15122025_08_42_25_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/400757b06d35d0865f76afc87494459d.jpg","text":"TemporaryFile(/tmp/multipartBody4002640461173899802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785303886,"filename":"image_15122025_08_42_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/15/a38e13ccad53681ad5bb5285c20f09fd.jpg","text":"TemporaryFile(/tmp/multipartBody9024606284116750328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785303886,"filename":"image_15122025_08_42_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/15/45f183c545f688f5bcec8519f34b2fc9.jpg","text":"TemporaryFile(/tmp/multipartBody3728908977163879483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785303886,"filename":"image_15122025_08_42_45_10777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a25e08358c4820ca7c1d704d64d59584.jpg","text":"TemporaryFile(/tmp/multipartBody4531928399050229715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785303886,"filename":"image_15122025_08_42_55_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a4575b17fca7c4c6746cb6fe4fd83112.jpg","text":"TemporaryFile(/tmp/multipartBody4361141985944520883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785303886,"filename":"image_15122025_08_42_15_10771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399446978","file1":"1399446976","file0":"1399446974","file4":"1399446982","file5":"1399446985","file3":"1399446980"},"map_files_photo_id_array":[{"photo_id":"1399446985","filename":"file5"},{"photo_id":"1399446978","filename":"file2"},{"photo_id":"1399446982","filename":"file4"},{"photo_id":"1399446976","filename":"file1"},{"photo_id":"1399446974","filename":"file0"},{"photo_id":"1399446980","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399446978":["hashtag1","hashtag2"]},{"1399446980":["hashtag1","hashtag2"]},{"1399446974":["hashtag1","hashtag2"]},{"1399446982":["hashtag1","hashtag2"]},{"1399446985":["hashtag1","hashtag2"]},{"1399446976":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399446978, 1399446980, 1399446974, 1399446982, 1399446985, 1399446976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22872853279114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 08:54:42.638560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_30_2748.jpg', '/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_33_2656.jpg', '/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_37_3937.jpg', '/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_39_2619.jpg', '/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_42_2673.jpg', '/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_45_3685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_30_2748.jpg
/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_33_2656.jpg
/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_37_3937.jpg
/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_39_2619.jpg
/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_42_2673.jpg
/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_45_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":["1399446999","1399447002","1399447005","1399447001","1399446997","1399447003"],"photo_ids_order":["1399446997","1399446999","1399447001","1399447002","1399447003","1399447005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d96abeef7f1ec4e6b91bffff7b3c976e.jpg","text":"TemporaryFile(/tmp/multipartBody4720079459161014059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785343338,"filename":"image_05112025_14_18_33_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/15/06be8a29319846338063073d56ae2d86.jpg","text":"TemporaryFile(/tmp/multipartBody4695224621931827451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785343338,"filename":"image_05112025_14_18_39_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/15/9da2c1dc4a9fa7284ab715d05342e57c.jpg","text":"TemporaryFile(/tmp/multipartBody6179321547750682037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785343338,"filename":"image_05112025_14_18_45_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/15/9092e79d2f12458d131d9bafa8891ea1.jpg","text":"TemporaryFile(/tmp/multipartBody256300707818470683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785343338,"filename":"image_05112025_14_18_37_3937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2024af52e4fa2721b9ddb3780441876e.jpg","text":"TemporaryFile(/tmp/multipartBody4642414441054305800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785343338,"filename":"image_05112025_14_18_30_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/15/1cd432af3aa915bc15b32ebbb4eb43b0.jpg","text":"TemporaryFile(/tmp/multipartBody2310234569784979470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785343338,"filename":"image_05112025_14_18_42_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399447001","file1":"1399446999","file0":"1399446997","file4":"1399447003","file5":"1399447005","file3":"1399447002"},"map_files_photo_id_array":[{"photo_id":"1399447005","filename":"file5"},{"photo_id":"1399447001","filename":"file2"},{"photo_id":"1399447003","filename":"file4"},{"photo_id":"1399446999","filename":"file1"},{"photo_id":"1399446997","filename":"file0"},{"photo_id":"1399447002","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399446999":["hashtag1","hashtag2"]},{"1399447002":["hashtag1","hashtag2"]},{"1399447005":["hashtag1","hashtag2"]},{"1399447001":["hashtag1","hashtag2"]},{"1399446997":["hashtag1","hashtag2"]},{"1399447003":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399446999, 1399447002, 1399447005, 1399447001, 1399446997, 1399447003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.752801179885864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 08:55:21.900135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/42/image_15122025_08_43_05_9775.jpg', '/home/pi/Desktop/images/15122025/08/43/image_15122025_08_43_14_9703.jpg', '/home/pi/Desktop/images/15122025/08/43/image_15122025_08_43_25_10705.jpg', '/home/pi/Desktop/images/15122025/08/43/image_15122025_08_43_35_9687.jpg', '/home/pi/Desktop/images/15122025/08/43/image_15122025_08_43_44_9669.jpg', '/home/pi/Desktop/images/15122025/08/43/image_15122025_08_43_55_10718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/42/image_15122025_08_43_05_9775.jpg
/home/pi/Desktop/images/15122025/08/43/image_15122025_08_43_14_9703.jpg
/home/pi/Desktop/images/15122025/08/43/image_15122025_08_43_25_10705.jpg
/home/pi/Desktop/images/15122025/08/43/image_15122025_08_43_35_9687.jpg
/home/pi/Desktop/images/15122025/08/43/image_15122025_08_43_44_9669.jpg
/home/pi/Desktop/images/15122025/08/43/image_15122025_08_43_55_10718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399447019","1399447010","1399447013","1399447016","1399447021","1399447024"],"photo_ids_order":["1399447010","1399447013","1399447016","1399447019","1399447021","1399447024"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/39a12ef41e8b96f995161ffdd86bb402.jpg","text":"TemporaryFile(/tmp/multipartBody2705902800821644242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785382555,"filename":"image_15122025_08_43_35_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/12b0612bc596986e89670d6dbdca5623.jpg","text":"TemporaryFile(/tmp/multipartBody2224782664792775843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785382555,"filename":"image_15122025_08_43_05_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/15/85a37ee4456e36a07e8dfd5d5c74cb9e.jpg","text":"TemporaryFile(/tmp/multipartBody5548518567521463474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785382555,"filename":"image_15122025_08_43_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/15/2746e0dfa421f42e790308ce88e046d0.jpg","text":"TemporaryFile(/tmp/multipartBody7785466910638283010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785382555,"filename":"image_15122025_08_43_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/15/8544f0a95fd56e463d11cdf62678dadb.jpg","text":"TemporaryFile(/tmp/multipartBody5874860953721138366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785382555,"filename":"image_15122025_08_43_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/15/23c1875394cc703839727b45e99d6f3e.jpg","text":"TemporaryFile(/tmp/multipartBody7988139268484611165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785382555,"filename":"image_15122025_08_43_55_10718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399447016","file1":"1399447013","file0":"1399447010","file4":"1399447021","file5":"1399447024","file3":"1399447019"},"map_files_photo_id_array":[{"photo_id":"1399447024","filename":"file5"},{"photo_id":"1399447016","filename":"file2"},{"photo_id":"1399447021","filename":"file4"},{"photo_id":"1399447013","filename":"file1"},{"photo_id":"1399447010","filename":"file0"},{"photo_id":"1399447019","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399447019":["hashtag1","hashtag2"]},{"1399447010":["hashtag1","hashtag2"]},{"1399447013":["hashtag1","hashtag2"]},{"1399447016":["hashtag1","hashtag2"]},{"1399447021":["hashtag1","hashtag2"]},{"1399447024":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399447019, 1399447010, 1399447013, 1399447016, 1399447021, 1399447024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.951841592788696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 08:56:02.668644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/43/image_15122025_08_44_05_9772.jpg', '/home/pi/Desktop/images/15122025/08/44/image_15122025_08_44_14_9570.jpg', '/home/pi/Desktop/images/15122025/08/44/image_15122025_08_44_35_10792.jpg', '/home/pi/Desktop/images/15122025/08/44/image_15122025_08_44_45_9722.jpg', '/home/pi/Desktop/images/15122025/08/44/image_15122025_08_44_54_9605.jpg', '/home/pi/Desktop/images/15122025/08/45/image_15122025_08_45_15_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/43/image_15122025_08_44_05_9772.jpg
/home/pi/Desktop/images/15122025/08/44/image_15122025_08_44_14_9570.jpg
/home/pi/Desktop/images/15122025/08/44/image_15122025_08_44_35_10792.jpg
/home/pi/Desktop/images/15122025/08/44/image_15122025_08_44_45_9722.jpg
/home/pi/Desktop/images/15122025/08/44/image_15122025_08_44_54_9605.jpg
/home/pi/Desktop/images/15122025/08/45/image_15122025_08_45_15_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399447032","1399447040","1399447031","1399447034","1399447033","1399447036"],"photo_ids_order":["1399447031","1399447032","1399447033","1399447034","1399447036","1399447040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/746b639983049a1c52f94b697210c026.jpg","text":"TemporaryFile(/tmp/multipartBody263678178233453280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785423285,"filename":"image_15122025_08_44_14_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2e39203a0104dacd85faa92033914cf7.jpg","text":"TemporaryFile(/tmp/multipartBody2448103549573158212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785423285,"filename":"image_15122025_08_45_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/15/deb2e722c1d9bedf7e025c0462f100f4.jpg","text":"TemporaryFile(/tmp/multipartBody8199974080921619237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785423285,"filename":"image_15122025_08_44_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/15/7f75d05e3458fda46035b1590c808758.jpg","text":"TemporaryFile(/tmp/multipartBody8271572535582251019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785423285,"filename":"image_15122025_08_44_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/15/17015f117f6bb9e955a90c136e17879d.jpg","text":"TemporaryFile(/tmp/multipartBody5095472811711251477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785423285,"filename":"image_15122025_08_44_35_10792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5cf3e4e6c013b98fd67a9d2db0e3b1dd.jpg","text":"TemporaryFile(/tmp/multipartBody6325240393421461611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785423285,"filename":"image_15122025_08_44_54_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399447033","file1":"1399447032","file0":"1399447031","file4":"1399447036","file5":"1399447040","file3":"1399447034"},"map_files_photo_id_array":[{"photo_id":"1399447040","filename":"file5"},{"photo_id":"1399447033","filename":"file2"},{"photo_id":"1399447036","filename":"file4"},{"photo_id":"1399447032","filename":"file1"},{"photo_id":"1399447031","filename":"file0"},{"photo_id":"1399447034","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399447032":["hashtag1","hashtag2"]},{"1399447040":["hashtag1","hashtag2"]},{"1399447031":["hashtag1","hashtag2"]},{"1399447034":["hashtag1","hashtag2"]},{"1399447033":["hashtag1","hashtag2"]},{"1399447036":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399447032, 1399447040, 1399447031, 1399447034, 1399447033, 1399447036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11322093009949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 08:56:42.116462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_48_2788.jpg', '/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_51_2582.jpg', '/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_54_3614.jpg', '/home/pi/Desktop/images/05112025/14/18/image_05112025_14_19_00_2778.jpg', '/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_03_2885.jpg', '/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_06_3718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_48_2788.jpg
/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_51_2582.jpg
/home/pi/Desktop/images/05112025/14/18/image_05112025_14_18_54_3614.jpg
/home/pi/Desktop/images/05112025/14/18/image_05112025_14_19_00_2778.jpg
/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_03_2885.jpg
/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_06_3718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399447068","1399447061","1399447052","1399447063","1399447066","1399447062"],"photo_ids_order":["1399447052","1399447061","1399447062","1399447063","1399447066","1399447068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/94ec3d386a0e4d056d7e2bd581fa4d38.jpg","text":"TemporaryFile(/tmp/multipartBody4393571188528483982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785462829,"filename":"image_05112025_14_19_06_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d23d162e2f2190772b672a8474de3be5.jpg","text":"TemporaryFile(/tmp/multipartBody2069977831988738396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785462829,"filename":"image_05112025_14_18_51_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/15/5fc602c9e61120b111c514a0e5ec59a0.jpg","text":"TemporaryFile(/tmp/multipartBody5764245019045621484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785462829,"filename":"image_05112025_14_18_48_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/15/a37cd14002e5cf549306558a4ffdee40.jpg","text":"TemporaryFile(/tmp/multipartBody6516327453549198122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785462829,"filename":"image_05112025_14_19_00_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/15/91d2ddefff8ba086cde400a8d3dd158f.jpg","text":"TemporaryFile(/tmp/multipartBody249494993271935419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785462829,"filename":"image_05112025_14_19_03_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/15/8e9a06dbe2c927ee681e599f3f7f64e3.jpg","text":"TemporaryFile(/tmp/multipartBody2698759395438850570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785462829,"filename":"image_05112025_14_18_54_3614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399447062","file1":"1399447061","file0":"1399447052","file4":"1399447066","file5":"1399447068","file3":"1399447063"},"map_files_photo_id_array":[{"photo_id":"1399447068","filename":"file5"},{"photo_id":"1399447062","filename":"file2"},{"photo_id":"1399447066","filename":"file4"},{"photo_id":"1399447061","filename":"file1"},{"photo_id":"1399447052","filename":"file0"},{"photo_id":"1399447063","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399447068":["hashtag1","hashtag2"]},{"1399447061":["hashtag1","hashtag2"]},{"1399447052":["hashtag1","hashtag2"]},{"1399447063":["hashtag1","hashtag2"]},{"1399447066":["hashtag1","hashtag2"]},{"1399447062":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399447068, 1399447061, 1399447052, 1399447063, 1399447066, 1399447062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02997159957886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 08:57:22.372468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/45/image_15122025_08_45_24_9839.jpg', '/home/pi/Desktop/images/15122025/08/45/image_15122025_08_45_35_10601.jpg', '/home/pi/Desktop/images/15122025/08/45/image_15122025_08_45_45_9778.jpg', '/home/pi/Desktop/images/15122025/08/45/image_15122025_08_45_55_9728.jpg', '/home/pi/Desktop/images/15122025/08/45/image_15122025_08_46_04_9705.jpg', '/home/pi/Desktop/images/15122025/08/46/image_15122025_08_46_15_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/45/image_15122025_08_45_24_9839.jpg
/home/pi/Desktop/images/15122025/08/45/image_15122025_08_45_35_10601.jpg
/home/pi/Desktop/images/15122025/08/45/image_15122025_08_45_45_9778.jpg
/home/pi/Desktop/images/15122025/08/45/image_15122025_08_45_55_9728.jpg
/home/pi/Desktop/images/15122025/08/45/image_15122025_08_46_04_9705.jpg
/home/pi/Desktop/images/15122025/08/46/image_15122025_08_46_15_10665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399447091","1399447073","1399447076","1399447084","1399447080","1399447074"],"photo_ids_order":["1399447073","1399447074","1399447076","1399447080","1399447084","1399447091"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f6b9c51b6c17c50f8328e606a716e8f6.jpg","text":"TemporaryFile(/tmp/multipartBody8357783196490451331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785502979,"filename":"image_15122025_08_46_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/15/a67cb9d2211d53c83ec20b7c5cb41284.jpg","text":"TemporaryFile(/tmp/multipartBody698637578357524359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785502979,"filename":"image_15122025_08_45_24_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/15/5d5c6c6efc3ff2f7f7baa8beb8581849.jpg","text":"TemporaryFile(/tmp/multipartBody5214946868912523782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785502979,"filename":"image_15122025_08_45_45_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fff5ea589bd2d54202cf3fb2ec925d68.jpg","text":"TemporaryFile(/tmp/multipartBody8061529684109997075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785502979,"filename":"image_15122025_08_46_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/15/e1d2dabb887ce1444e1e11514eec48c2.jpg","text":"TemporaryFile(/tmp/multipartBody5649103500280843893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785502979,"filename":"image_15122025_08_45_55_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ecc61fc798d87246ff3a498a33cd3298.jpg","text":"TemporaryFile(/tmp/multipartBody7985813621160116654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785502979,"filename":"image_15122025_08_45_35_10601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399447076","file1":"1399447074","file0":"1399447073","file4":"1399447084","file5":"1399447091","file3":"1399447080"},"map_files_photo_id_array":[{"photo_id":"1399447091","filename":"file5"},{"photo_id":"1399447076","filename":"file2"},{"photo_id":"1399447084","filename":"file4"},{"photo_id":"1399447074","filename":"file1"},{"photo_id":"1399447073","filename":"file0"},{"photo_id":"1399447080","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399447091":["hashtag1","hashtag2"]},{"1399447073":["hashtag1","hashtag2"]},{"1399447076":["hashtag1","hashtag2"]},{"1399447084":["hashtag1","hashtag2"]},{"1399447080":["hashtag1","hashtag2"]},{"1399447074":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399447091, 1399447073, 1399447076, 1399447084, 1399447080, 1399447074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07552099227905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 08:59:02.729221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/46/image_15122025_08_46_24_9605.jpg', '/home/pi/Desktop/images/15122025/08/46/image_15122025_08_46_45_9632.jpg', '/home/pi/Desktop/images/15122025/08/46/image_15122025_08_46_54_9726.jpg', '/home/pi/Desktop/images/15122025/08/46/image_15122025_08_47_04_9731.jpg', '/home/pi/Desktop/images/15122025/08/47/image_15122025_08_47_15_10561.jpg', '/home/pi/Desktop/images/15122025/08/47/image_15122025_08_47_24_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/46/image_15122025_08_46_24_9605.jpg
/home/pi/Desktop/images/15122025/08/46/image_15122025_08_46_45_9632.jpg
/home/pi/Desktop/images/15122025/08/46/image_15122025_08_46_54_9726.jpg
/home/pi/Desktop/images/15122025/08/46/image_15122025_08_47_04_9731.jpg
/home/pi/Desktop/images/15122025/08/47/image_15122025_08_47_15_10561.jpg
/home/pi/Desktop/images/15122025/08/47/image_15122025_08_47_24_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":["1399447481","1399447486","1399447555","1399447483","1399447513","1399447488"],"photo_ids_order":["1399447481","1399447483","1399447486","1399447488","1399447513","1399447555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c90c5713c73f291677c12e6b82307b8a.jpg","text":"TemporaryFile(/tmp/multipartBody5997895774858472186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785603536,"filename":"image_15122025_08_46_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/15/a3c48cf83e839d6ca27d4abec2eae7fb.jpg","text":"TemporaryFile(/tmp/multipartBody8438711556342056360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785603536,"filename":"image_15122025_08_46_54_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5df05f6c74db80ca47fabf761fec4941.jpg","text":"TemporaryFile(/tmp/multipartBody1770031334240486329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785603536,"filename":"image_15122025_08_47_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/15/4be089073624481fd60be69f4351a9db.jpg","text":"TemporaryFile(/tmp/multipartBody1958987053731761473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785603536,"filename":"image_15122025_08_46_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/15/a4a0346c6ca0140b23604715c598ac5b.jpg","text":"TemporaryFile(/tmp/multipartBody7529322266624280460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785603536,"filename":"image_15122025_08_47_15_10561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8b1815cf1188fe9b52ce00ea5c268b28.jpg","text":"TemporaryFile(/tmp/multipartBody3801610957163533104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785603536,"filename":"image_15122025_08_47_04_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399447486","file1":"1399447483","file0":"1399447481","file4":"1399447513","file5":"1399447555","file3":"1399447488"},"map_files_photo_id_array":[{"photo_id":"1399447555","filename":"file5"},{"photo_id":"1399447486","filename":"file2"},{"photo_id":"1399447513","filename":"file4"},{"photo_id":"1399447483","filename":"file1"},{"photo_id":"1399447481","filename":"file0"},{"photo_id":"1399447488","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399447481":["hashtag1","hashtag2"]},{"1399447486":["hashtag1","hashtag2"]},{"1399447555":["hashtag1","hashtag2"]},{"1399447483":["hashtag1","hashtag2"]},{"1399447513":["hashtag1","hashtag2"]},{"1399447488":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399447481, 1399447486, 1399447555, 1399447483, 1399447513, 1399447488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.85877561569214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 09:00:02.518977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/47/image_15122025_08_47_35_10660.jpg', '/home/pi/Desktop/images/15122025/08/47/image_15122025_08_47_45_9616.jpg', '/home/pi/Desktop/images/15122025/08/47/image_15122025_08_47_54_9631.jpg', '/home/pi/Desktop/images/15122025/08/47/image_15122025_08_48_05_10652.jpg', '/home/pi/Desktop/images/15122025/08/48/image_15122025_08_48_15_9808.jpg', '/home/pi/Desktop/images/15122025/08/48/image_15122025_08_48_25_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/47/image_15122025_08_47_35_10660.jpg
/home/pi/Desktop/images/15122025/08/47/image_15122025_08_47_45_9616.jpg
/home/pi/Desktop/images/15122025/08/47/image_15122025_08_47_54_9631.jpg
/home/pi/Desktop/images/15122025/08/47/image_15122025_08_48_05_10652.jpg
/home/pi/Desktop/images/15122025/08/48/image_15122025_08_48_15_9808.jpg
/home/pi/Desktop/images/15122025/08/48/image_15122025_08_48_25_9740.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.550318717956543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 09:00:12.233440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 09:00:22.152071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/47/image_15122025_08_47_35_10660.jpg', '/home/pi/Desktop/images/15122025/08/47/image_15122025_08_47_45_9616.jpg', '/home/pi/Desktop/images/15122025/08/47/image_15122025_08_47_54_9631.jpg', '/home/pi/Desktop/images/15122025/08/47/image_15122025_08_48_05_10652.jpg', '/home/pi/Desktop/images/15122025/08/48/image_15122025_08_48_15_9808.jpg', '/home/pi/Desktop/images/15122025/08/48/image_15122025_08_48_25_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/47/image_15122025_08_47_35_10660.jpg
/home/pi/Desktop/images/15122025/08/47/image_15122025_08_47_45_9616.jpg
/home/pi/Desktop/images/15122025/08/47/image_15122025_08_47_54_9631.jpg
/home/pi/Desktop/images/15122025/08/47/image_15122025_08_48_05_10652.jpg
/home/pi/Desktop/images/15122025/08/48/image_15122025_08_48_15_9808.jpg
/home/pi/Desktop/images/15122025/08/48/image_15122025_08_48_25_9740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399447862","1399447864","1399447858","1399447867","1399447855","1399447860"],"photo_ids_order":["1399447855","1399447858","1399447860","1399447862","1399447864","1399447867"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/204f7227d3293b127708c2d84a53d99a.jpg","text":"TemporaryFile(/tmp/multipartBody400074757178060027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785682814,"filename":"image_15122025_08_48_05_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0041ac1015db496e8466763cad8aaf76.jpg","text":"TemporaryFile(/tmp/multipartBody7389551712181680550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785682814,"filename":"image_15122025_08_48_15_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8a90b7b6ee8cb9de3e022261f219203e.jpg","text":"TemporaryFile(/tmp/multipartBody5892919436193577596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785682814,"filename":"image_15122025_08_47_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/15/2ce0282b26db9e46602ad331447172d6.jpg","text":"TemporaryFile(/tmp/multipartBody2108558791829804517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785682814,"filename":"image_15122025_08_48_25_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/20267cad6095e14306b7b6f720d9d032.jpg","text":"TemporaryFile(/tmp/multipartBody3415225209664366162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785682814,"filename":"image_15122025_08_47_35_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9677b70004218e87e7307fa7c3b1544a.jpg","text":"TemporaryFile(/tmp/multipartBody6843998676229857330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785682814,"filename":"image_15122025_08_47_54_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399447860","file1":"1399447858","file0":"1399447855","file4":"1399447864","file5":"1399447867","file3":"1399447862"},"map_files_photo_id_array":[{"photo_id":"1399447867","filename":"file5"},{"photo_id":"1399447860","filename":"file2"},{"photo_id":"1399447864","filename":"file4"},{"photo_id":"1399447858","filename":"file1"},{"photo_id":"1399447855","filename":"file0"},{"photo_id":"1399447862","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399447862":["hashtag1","hashtag2"]},{"1399447864":["hashtag1","hashtag2"]},{"1399447858":["hashtag1","hashtag2"]},{"1399447867":["hashtag1","hashtag2"]},{"1399447855":["hashtag1","hashtag2"]},{"1399447860":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399447862, 1399447864, 1399447858, 1399447867, 1399447855, 1399447860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98487830162048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 09:01:02.909840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/48/image_15122025_08_48_35_10562.jpg', '/home/pi/Desktop/images/15122025/08/48/image_15122025_08_48_45_9710.jpg', '/home/pi/Desktop/images/15122025/08/48/image_15122025_08_48_54_9577.jpg', '/home/pi/Desktop/images/15122025/08/48/image_15122025_08_49_05_10724.jpg', '/home/pi/Desktop/images/15122025/08/49/image_15122025_08_49_15_9660.jpg', '/home/pi/Desktop/images/15122025/08/49/image_15122025_08_49_24_9589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/48/image_15122025_08_48_35_10562.jpg
/home/pi/Desktop/images/15122025/08/48/image_15122025_08_48_45_9710.jpg
/home/pi/Desktop/images/15122025/08/48/image_15122025_08_48_54_9577.jpg
/home/pi/Desktop/images/15122025/08/48/image_15122025_08_49_05_10724.jpg
/home/pi/Desktop/images/15122025/08/49/image_15122025_08_49_15_9660.jpg
/home/pi/Desktop/images/15122025/08/49/image_15122025_08_49_24_9589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399448027","1399448009","1399448012","1399447916","1399447875","1399448010"],"photo_ids_order":["1399447875","1399447916","1399448009","1399448010","1399448012","1399448027"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/67cf147fe2fb212a4d568e79235de5f0.jpg","text":"TemporaryFile(/tmp/multipartBody1516900302817991325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785723582,"filename":"image_15122025_08_49_24_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9029330497fbab01fd2df8998a8e4681.jpg","text":"TemporaryFile(/tmp/multipartBody7717882625295839181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785723582,"filename":"image_15122025_08_48_54_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a0be080f1f7a2ebd81fb4e6baeffbf71.jpg","text":"TemporaryFile(/tmp/multipartBody6082289434524855707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785723582,"filename":"image_15122025_08_49_15_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c1784907c725ea97eaa34aa91ef17d85.jpg","text":"TemporaryFile(/tmp/multipartBody6496106517809240304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785723582,"filename":"image_15122025_08_48_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/15/e2dd90b7b173167dff56345fb69f84f0.jpg","text":"TemporaryFile(/tmp/multipartBody2314817622888747222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785723582,"filename":"image_15122025_08_48_35_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/15/88ab51b0dc5afb6b42aee95cdfb6b00d.jpg","text":"TemporaryFile(/tmp/multipartBody5529500432842802801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785723582,"filename":"image_15122025_08_49_05_10724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399448009","file1":"1399447916","file0":"1399447875","file4":"1399448012","file5":"1399448027","file3":"1399448010"},"map_files_photo_id_array":[{"photo_id":"1399448027","filename":"file5"},{"photo_id":"1399448009","filename":"file2"},{"photo_id":"1399448012","filename":"file4"},{"photo_id":"1399447916","filename":"file1"},{"photo_id":"1399447875","filename":"file0"},{"photo_id":"1399448010","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399448027":["hashtag1","hashtag2"]},{"1399448009":["hashtag1","hashtag2"]},{"1399448012":["hashtag1","hashtag2"]},{"1399447916":["hashtag1","hashtag2"]},{"1399447875":["hashtag1","hashtag2"]},{"1399448010":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399448027, 1399448009, 1399448012, 1399447916, 1399447875, 1399448010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.09464359283447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 09:02:03.135984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/49/image_15122025_08_49_35_10613.jpg', '/home/pi/Desktop/images/15122025/08/49/image_15122025_08_49_45_9739.jpg', '/home/pi/Desktop/images/15122025/08/49/image_15122025_08_49_54_9709.jpg', '/home/pi/Desktop/images/15122025/08/49/image_15122025_08_50_05_10543.jpg', '/home/pi/Desktop/images/15122025/08/50/image_15122025_08_50_15_9661.jpg', '/home/pi/Desktop/images/15122025/08/50/image_15122025_08_50_24_9541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/49/image_15122025_08_49_35_10613.jpg
/home/pi/Desktop/images/15122025/08/49/image_15122025_08_49_45_9739.jpg
/home/pi/Desktop/images/15122025/08/49/image_15122025_08_49_54_9709.jpg
/home/pi/Desktop/images/15122025/08/49/image_15122025_08_50_05_10543.jpg
/home/pi/Desktop/images/15122025/08/50/image_15122025_08_50_15_9661.jpg
/home/pi/Desktop/images/15122025/08/50/image_15122025_08_50_24_9541.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399448453","1399448527","1399448341","1399448413","1399448376","1399448490"],"photo_ids_order":["1399448341","1399448376","1399448413","1399448453","1399448490","1399448527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/85be6df0899c50e1540873b334daadc0.jpg","text":"TemporaryFile(/tmp/multipartBody5977122778814816102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785783749,"filename":"image_15122025_08_50_05_10543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f2f24e4002e96226ff413d83e035b86c.jpg","text":"TemporaryFile(/tmp/multipartBody5053732518553559447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785783749,"filename":"image_15122025_08_50_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/15/8be8d94587bfd28a2e735b0f92aec977.jpg","text":"TemporaryFile(/tmp/multipartBody2684661352079877659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785783749,"filename":"image_15122025_08_49_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/15/414f25ec130182e32574675e12e57ac3.jpg","text":"TemporaryFile(/tmp/multipartBody7918319032187858512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785783749,"filename":"image_15122025_08_49_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/15/727770cffbd7b86d63ce43df5525f793.jpg","text":"TemporaryFile(/tmp/multipartBody5203416551665089133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785783749,"filename":"image_15122025_08_49_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/15/ba9daea3010bb3663a0d54f17e40b133.jpg","text":"TemporaryFile(/tmp/multipartBody7936948703637151851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785783749,"filename":"image_15122025_08_50_15_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399448413","file1":"1399448376","file0":"1399448341","file4":"1399448490","file5":"1399448527","file3":"1399448453"},"map_files_photo_id_array":[{"photo_id":"1399448527","filename":"file5"},{"photo_id":"1399448413","filename":"file2"},{"photo_id":"1399448490","filename":"file4"},{"photo_id":"1399448376","filename":"file1"},{"photo_id":"1399448341","filename":"file0"},{"photo_id":"1399448453","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399448453":["hashtag1","hashtag2"]},{"1399448527":["hashtag1","hashtag2"]},{"1399448341":["hashtag1","hashtag2"]},{"1399448413":["hashtag1","hashtag2"]},{"1399448376":["hashtag1","hashtag2"]},{"1399448490":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399448453, 1399448527, 1399448341, 1399448413, 1399448376, 1399448490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93428039550781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 09:02:42.567115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_09_2623.jpg', '/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_12_2640.jpg', '/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_15_3608.jpg', '/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_18_2716.jpg', '/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_21_2674.jpg', '/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_24_3709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_09_2623.jpg
/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_12_2640.jpg
/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_15_3608.jpg
/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_18_2716.jpg
/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_21_2674.jpg
/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_24_3709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399448777","1399448663","1399448705","1399448743","1399448818","1399448856"],"photo_ids_order":["1399448663","1399448705","1399448743","1399448777","1399448818","1399448856"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/90fe8d75ab432b7c31c01f711a625476.jpg","text":"TemporaryFile(/tmp/multipartBody2373803076735542000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785823269,"filename":"image_05112025_14_19_18_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/15/a650f4777a3c8c7575f8a2de38b02da1.jpg","text":"TemporaryFile(/tmp/multipartBody2138592600910257812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785823269,"filename":"image_05112025_14_19_09_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/15/117130fe43ac78d64ca13b0b367b392d.jpg","text":"TemporaryFile(/tmp/multipartBody4563629961236356881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785823269,"filename":"image_05112025_14_19_12_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/15/f922e7be9c7c15c5d9c745c581a78fb1.jpg","text":"TemporaryFile(/tmp/multipartBody6618142992455589981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785823269,"filename":"image_05112025_14_19_15_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8d6f06de179d9f8a0513de1591cb47ed.jpg","text":"TemporaryFile(/tmp/multipartBody4275797842307867649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785823269,"filename":"image_05112025_14_19_21_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/15/f126abf6361a1a321b1361d3fad79894.jpg","text":"TemporaryFile(/tmp/multipartBody8877276464499415512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785823269,"filename":"image_05112025_14_19_24_3709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399448743","file1":"1399448705","file0":"1399448663","file4":"1399448818","file5":"1399448856","file3":"1399448777"},"map_files_photo_id_array":[{"photo_id":"1399448856","filename":"file5"},{"photo_id":"1399448743","filename":"file2"},{"photo_id":"1399448818","filename":"file4"},{"photo_id":"1399448705","filename":"file1"},{"photo_id":"1399448663","filename":"file0"},{"photo_id":"1399448777","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399448777":["hashtag1","hashtag2"]},{"1399448663":["hashtag1","hashtag2"]},{"1399448705":["hashtag1","hashtag2"]},{"1399448743":["hashtag1","hashtag2"]},{"1399448818":["hashtag1","hashtag2"]},{"1399448856":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399448777, 1399448663, 1399448705, 1399448743, 1399448818, 1399448856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30794286727905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 09:03:21.883415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/50/image_15122025_08_50_35_10739.jpg', '/home/pi/Desktop/images/15122025/08/50/image_15122025_08_50_45_9683.jpg', '/home/pi/Desktop/images/15122025/08/50/image_15122025_08_50_54_9557.jpg', '/home/pi/Desktop/images/15122025/08/50/image_15122025_08_51_05_10653.jpg', '/home/pi/Desktop/images/15122025/08/51/image_15122025_08_51_14_9614.jpg', '/home/pi/Desktop/images/15122025/08/51/image_15122025_08_51_24_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/50/image_15122025_08_50_35_10739.jpg
/home/pi/Desktop/images/15122025/08/50/image_15122025_08_50_45_9683.jpg
/home/pi/Desktop/images/15122025/08/50/image_15122025_08_50_54_9557.jpg
/home/pi/Desktop/images/15122025/08/50/image_15122025_08_51_05_10653.jpg
/home/pi/Desktop/images/15122025/08/51/image_15122025_08_51_14_9614.jpg
/home/pi/Desktop/images/15122025/08/51/image_15122025_08_51_24_9776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399449038","1399448999","1399448989","1399448983","1399448991","1399448987"],"photo_ids_order":["1399448983","1399448987","1399448989","1399448991","1399448999","1399449038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cd357ff4769c6aac2248066b4d9ab600.jpg","text":"TemporaryFile(/tmp/multipartBody4452892923245647429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785862504,"filename":"image_15122025_08_51_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/15/ef61de40ae5e7b868d73f899130c4157.jpg","text":"TemporaryFile(/tmp/multipartBody7098358600111492732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785862504,"filename":"image_15122025_08_51_14_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e6d909e5b8db34e96e14ddc8d7980ef5.jpg","text":"TemporaryFile(/tmp/multipartBody8875742361949558999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785862504,"filename":"image_15122025_08_50_54_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/15/cccce3ba0e9bdc69187a5a7e34133bed.jpg","text":"TemporaryFile(/tmp/multipartBody5035410808402015614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785862504,"filename":"image_15122025_08_50_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/15/ebe176fd9d7b89e8287d230c89760087.jpg","text":"TemporaryFile(/tmp/multipartBody7028913604747383226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785862504,"filename":"image_15122025_08_51_05_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bc50b9c937e2f833cf3acfd1940b3856.jpg","text":"TemporaryFile(/tmp/multipartBody7750519636767812226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785862504,"filename":"image_15122025_08_50_45_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399448989","file1":"1399448987","file0":"1399448983","file4":"1399448999","file5":"1399449038","file3":"1399448991"},"map_files_photo_id_array":[{"photo_id":"1399449038","filename":"file5"},{"photo_id":"1399448989","filename":"file2"},{"photo_id":"1399448999","filename":"file4"},{"photo_id":"1399448987","filename":"file1"},{"photo_id":"1399448983","filename":"file0"},{"photo_id":"1399448991","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399449038":["hashtag1","hashtag2"]},{"1399448999":["hashtag1","hashtag2"]},{"1399448989":["hashtag1","hashtag2"]},{"1399448983":["hashtag1","hashtag2"]},{"1399448991":["hashtag1","hashtag2"]},{"1399448987":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399449038, 1399448999, 1399448989, 1399448983, 1399448991, 1399448987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.941983222961426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 09:04:02.773061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/51/image_15122025_08_51_35_10746.jpg', '/home/pi/Desktop/images/15122025/08/51/image_15122025_08_51_45_9783.jpg', '/home/pi/Desktop/images/15122025/08/51/image_15122025_08_51_54_9720.jpg', '/home/pi/Desktop/images/15122025/08/51/image_15122025_08_52_05_10668.jpg', '/home/pi/Desktop/images/15122025/08/52/image_15122025_08_52_15_9788.jpg', '/home/pi/Desktop/images/15122025/08/52/image_15122025_08_52_24_9558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/51/image_15122025_08_51_35_10746.jpg
/home/pi/Desktop/images/15122025/08/51/image_15122025_08_51_45_9783.jpg
/home/pi/Desktop/images/15122025/08/51/image_15122025_08_51_54_9720.jpg
/home/pi/Desktop/images/15122025/08/51/image_15122025_08_52_05_10668.jpg
/home/pi/Desktop/images/15122025/08/52/image_15122025_08_52_15_9788.jpg
/home/pi/Desktop/images/15122025/08/52/image_15122025_08_52_24_9558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399449251","1399449178","1399449285","1399449522","1399449216","1399449374"],"photo_ids_order":["1399449178","1399449216","1399449251","1399449285","1399449374","1399449522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/98983e8ae69d1690aeb69a295957b170.jpg","text":"TemporaryFile(/tmp/multipartBody5620648476654446676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785903469,"filename":"image_15122025_08_51_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/15/ea4ab7feb0fe205a424c19891444374d.jpg","text":"TemporaryFile(/tmp/multipartBody2351992487019488298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785903469,"filename":"image_15122025_08_51_35_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9d20ba9f7807b90fc7aefdc384897d95.jpg","text":"TemporaryFile(/tmp/multipartBody6144866040555807419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785903469,"filename":"image_15122025_08_52_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/15/2a2f6d1f7c569a4c57f2a0cacc7cacba.jpg","text":"TemporaryFile(/tmp/multipartBody883078408104970703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785903469,"filename":"image_15122025_08_52_24_9558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/81f03139675335211d7b338cedb388f1.jpg","text":"TemporaryFile(/tmp/multipartBody8582161905643525353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785903469,"filename":"image_15122025_08_51_45_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/15/815b908dac897fd126e06b10dad9120f.jpg","text":"TemporaryFile(/tmp/multipartBody3251844372375295900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785903469,"filename":"image_15122025_08_52_15_9788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399449251","file1":"1399449216","file0":"1399449178","file4":"1399449374","file5":"1399449522","file3":"1399449285"},"map_files_photo_id_array":[{"photo_id":"1399449522","filename":"file5"},{"photo_id":"1399449251","filename":"file2"},{"photo_id":"1399449374","filename":"file4"},{"photo_id":"1399449216","filename":"file1"},{"photo_id":"1399449178","filename":"file0"},{"photo_id":"1399449285","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399449251":["hashtag1","hashtag2"]},{"1399449178":["hashtag1","hashtag2"]},{"1399449285":["hashtag1","hashtag2"]},{"1399449522":["hashtag1","hashtag2"]},{"1399449216":["hashtag1","hashtag2"]},{"1399449374":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399449251, 1399449178, 1399449285, 1399449522, 1399449216, 1399449374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71405839920044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 09:04:42.106668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_27_2609.jpg', '/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_30_2638.jpg', '/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_33_3606.jpg', '/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_36_2489.jpg', '/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_39_3691.jpg', '/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_42_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_27_2609.jpg
/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_30_2638.jpg
/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_33_3606.jpg
/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_36_2489.jpg
/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_39_3691.jpg
/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_42_2678.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.592055082321167 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 09:05:03.167473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/52/image_15122025_08_52_35_10510.jpg', '/home/pi/Desktop/images/15122025/08/52/image_15122025_08_52_45_9698.jpg', '/home/pi/Desktop/images/15122025/08/52/image_15122025_08_52_54_9727.jpg', '/home/pi/Desktop/images/15122025/08/52/image_15122025_08_53_05_10742.jpg', '/home/pi/Desktop/images/15122025/08/53/image_15122025_08_53_15_9640.jpg', '/home/pi/Desktop/images/15122025/08/53/image_15122025_08_53_25_9801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/52/image_15122025_08_52_35_10510.jpg
/home/pi/Desktop/images/15122025/08/52/image_15122025_08_52_45_9698.jpg
/home/pi/Desktop/images/15122025/08/52/image_15122025_08_52_54_9727.jpg
/home/pi/Desktop/images/15122025/08/52/image_15122025_08_53_05_10742.jpg
/home/pi/Desktop/images/15122025/08/53/image_15122025_08_53_15_9640.jpg
/home/pi/Desktop/images/15122025/08/53/image_15122025_08_53_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":["1399451000","1399450789","1399450747","1399450912","1399450860","1399450827"],"photo_ids_order":["1399450747","1399450789","1399450827","1399450860","1399450912","1399451000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3e3c43a9bae0f98001b54402bab170f8.jpg","text":"TemporaryFile(/tmp/multipartBody2855629578331942664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785963822,"filename":"image_15122025_08_53_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/15/a39d1bad1f9a3205763fabd63ba15e85.jpg","text":"TemporaryFile(/tmp/multipartBody6180313180111023963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785963822,"filename":"image_15122025_08_52_45_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/76c79665394300742a9b1c88c491f2f4.jpg","text":"TemporaryFile(/tmp/multipartBody4442532754740421595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785963822,"filename":"image_15122025_08_52_35_10510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1ce71ab6bdcb154d8f530080195b671c.jpg","text":"TemporaryFile(/tmp/multipartBody4734454747687746272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785963822,"filename":"image_15122025_08_53_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/15/ea3a60c1c843b86038cec52e7c223786.jpg","text":"TemporaryFile(/tmp/multipartBody4348122336626471723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785963822,"filename":"image_15122025_08_53_05_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/15/5400e756fd2eb964458ddfe9aebd81c8.jpg","text":"TemporaryFile(/tmp/multipartBody6665362267907281577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765785963822,"filename":"image_15122025_08_52_54_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399450827","file1":"1399450789","file0":"1399450747","file4":"1399450912","file5":"1399451000","file3":"1399450860"},"map_files_photo_id_array":[{"photo_id":"1399451000","filename":"file5"},{"photo_id":"1399450827","filename":"file2"},{"photo_id":"1399450912","filename":"file4"},{"photo_id":"1399450789","filename":"file1"},{"photo_id":"1399450747","filename":"file0"},{"photo_id":"1399450860","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399451000":["hashtag1","hashtag2"]},{"1399450789":["hashtag1","hashtag2"]},{"1399450747":["hashtag1","hashtag2"]},{"1399450912":["hashtag1","hashtag2"]},{"1399450860":["hashtag1","hashtag2"]},{"1399450827":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399451000, 1399450789, 1399450747, 1399450912, 1399450860, 1399450827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76215958595276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 09:05:42.287806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_27_2609.jpg', '/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_30_2638.jpg', '/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_33_3606.jpg', '/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_36_2489.jpg', '/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_39_3691.jpg', '/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_42_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_27_2609.jpg
/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_30_2638.jpg
/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_33_3606.jpg
/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_36_2489.jpg
/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_39_3691.jpg
/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_42_2678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399451228","1399451485","1399451518","1399451379","1399451451","1399451553"],"photo_ids_order":["1399451228","1399451379","1399451451","1399451485","1399451518","1399451553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f5b5c46e199f42833befef6a52a70e82.jpg","text":"TemporaryFile(/tmp/multipartBody6717689718701550799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786002910,"filename":"image_05112025_14_19_27_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/15/0fe7a9d51679f8f3f922d2746f8e79cf.jpg","text":"TemporaryFile(/tmp/multipartBody6471587509328883281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786002910,"filename":"image_05112025_14_19_36_2489.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9b573470588846cb721d146078cae4c0.jpg","text":"TemporaryFile(/tmp/multipartBody1442887378232965642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786002910,"filename":"image_05112025_14_19_39_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/66444ad66f75cbbd743877ce8d46dce3.jpg","text":"TemporaryFile(/tmp/multipartBody4351112032307346870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786002910,"filename":"image_05112025_14_19_30_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/15/9684178000d8f1b9bd0de348915a055e.jpg","text":"TemporaryFile(/tmp/multipartBody6218882296099941741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786002910,"filename":"image_05112025_14_19_33_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/15/1d4a2ece56eb61b902908a673be19080.jpg","text":"TemporaryFile(/tmp/multipartBody2023835772948636135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786002910,"filename":"image_05112025_14_19_42_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399451451","file1":"1399451379","file0":"1399451228","file4":"1399451518","file5":"1399451553","file3":"1399451485"},"map_files_photo_id_array":[{"photo_id":"1399451553","filename":"file5"},{"photo_id":"1399451451","filename":"file2"},{"photo_id":"1399451518","filename":"file4"},{"photo_id":"1399451379","filename":"file1"},{"photo_id":"1399451228","filename":"file0"},{"photo_id":"1399451485","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399451228":["hashtag1","hashtag2"]},{"1399451485":["hashtag1","hashtag2"]},{"1399451518":["hashtag1","hashtag2"]},{"1399451379":["hashtag1","hashtag2"]},{"1399451451":["hashtag1","hashtag2"]},{"1399451553":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399451228, 1399451485, 1399451518, 1399451379, 1399451451, 1399451553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.527305364608765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 09:06:22.629068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/53/image_15122025_08_53_34_9657.jpg', '/home/pi/Desktop/images/15122025/08/53/image_15122025_08_53_45_10566.jpg', '/home/pi/Desktop/images/15122025/08/53/image_15122025_08_53_55_9738.jpg', '/home/pi/Desktop/images/15122025/08/53/image_15122025_08_54_04_9797.jpg', '/home/pi/Desktop/images/15122025/08/54/image_15122025_08_54_15_10608.jpg', '/home/pi/Desktop/images/15122025/08/54/image_15122025_08_54_25_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/53/image_15122025_08_53_34_9657.jpg
/home/pi/Desktop/images/15122025/08/53/image_15122025_08_53_45_10566.jpg
/home/pi/Desktop/images/15122025/08/53/image_15122025_08_53_55_9738.jpg
/home/pi/Desktop/images/15122025/08/53/image_15122025_08_54_04_9797.jpg
/home/pi/Desktop/images/15122025/08/54/image_15122025_08_54_15_10608.jpg
/home/pi/Desktop/images/15122025/08/54/image_15122025_08_54_25_9651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399451729","1399451723","1399451791","1399451725","1399451771","1399451703"],"photo_ids_order":["1399451703","1399451723","1399451725","1399451729","1399451771","1399451791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3513fe2cec212e410fa479428f143f27.jpg","text":"TemporaryFile(/tmp/multipartBody5468735276928560690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786043217,"filename":"image_15122025_08_54_04_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f8b1d7849806ca960ef8203db21881c8.jpg","text":"TemporaryFile(/tmp/multipartBody5274478639906002093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786043217,"filename":"image_15122025_08_53_45_10566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3d895afe8a7670f9db8e1ae09824bf48.jpg","text":"TemporaryFile(/tmp/multipartBody7682239515150711650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786043217,"filename":"image_15122025_08_54_25_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9bfc9689613d949dc1613a903fcbcf9e.jpg","text":"TemporaryFile(/tmp/multipartBody2848852129693622237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786043217,"filename":"image_15122025_08_53_55_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/addf04925e7c074caaa08f6175263548.jpg","text":"TemporaryFile(/tmp/multipartBody4838572203243790744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786043217,"filename":"image_15122025_08_54_15_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e5bbbeef0d684677afb56938ddd48781.jpg","text":"TemporaryFile(/tmp/multipartBody4381294598411251592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786043217,"filename":"image_15122025_08_53_34_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399451725","file1":"1399451723","file0":"1399451703","file4":"1399451771","file5":"1399451791","file3":"1399451729"},"map_files_photo_id_array":[{"photo_id":"1399451791","filename":"file5"},{"photo_id":"1399451725","filename":"file2"},{"photo_id":"1399451771","filename":"file4"},{"photo_id":"1399451723","filename":"file1"},{"photo_id":"1399451703","filename":"file0"},{"photo_id":"1399451729","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399451729":["hashtag1","hashtag2"]},{"1399451723":["hashtag1","hashtag2"]},{"1399451791":["hashtag1","hashtag2"]},{"1399451725":["hashtag1","hashtag2"]},{"1399451771":["hashtag1","hashtag2"]},{"1399451703":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399451729, 1399451723, 1399451791, 1399451725, 1399451771, 1399451703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.768370389938354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 09:07:03.513825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/54/image_15122025_08_54_34_9648.jpg', '/home/pi/Desktop/images/15122025/08/54/image_15122025_08_54_45_10846.jpg', '/home/pi/Desktop/images/15122025/08/54/image_15122025_08_54_55_9640.jpg', '/home/pi/Desktop/images/15122025/08/54/image_15122025_08_55_04_9695.jpg', '/home/pi/Desktop/images/15122025/08/55/image_15122025_08_55_15_10616.jpg', '/home/pi/Desktop/images/15122025/08/55/image_15122025_08_55_25_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/54/image_15122025_08_54_34_9648.jpg
/home/pi/Desktop/images/15122025/08/54/image_15122025_08_54_45_10846.jpg
/home/pi/Desktop/images/15122025/08/54/image_15122025_08_54_55_9640.jpg
/home/pi/Desktop/images/15122025/08/54/image_15122025_08_55_04_9695.jpg
/home/pi/Desktop/images/15122025/08/55/image_15122025_08_55_15_10616.jpg
/home/pi/Desktop/images/15122025/08/55/image_15122025_08_55_25_9618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399451801","1399451804","1399451807","1399451809","1399451793","1399451805"],"photo_ids_order":["1399451793","1399451801","1399451804","1399451805","1399451807","1399451809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e247404887722ec74cd43e243a52eb5d.jpg","text":"TemporaryFile(/tmp/multipartBody5088506796568392117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786084284,"filename":"image_15122025_08_54_45_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/15/303c9e8982acb2f27b56d83a0861cafd.jpg","text":"TemporaryFile(/tmp/multipartBody3579926816192467767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786084284,"filename":"image_15122025_08_54_55_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c7c40da58e0ad97d1224f3ff6713bbf8.jpg","text":"TemporaryFile(/tmp/multipartBody619822347724056355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786084284,"filename":"image_15122025_08_55_15_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1f95d4ce5568eb9e51f7b5cbfd37738f.jpg","text":"TemporaryFile(/tmp/multipartBody53076616316256497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786084284,"filename":"image_15122025_08_55_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/15/2756900efee0ca4ec83d29983f7729d5.jpg","text":"TemporaryFile(/tmp/multipartBody8556632369791940070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786084284,"filename":"image_15122025_08_54_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/15/5e2fcfc32a588f8aadd506dc3d126dab.jpg","text":"TemporaryFile(/tmp/multipartBody2651602027358734424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786084284,"filename":"image_15122025_08_55_04_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399451804","file1":"1399451801","file0":"1399451793","file4":"1399451807","file5":"1399451809","file3":"1399451805"},"map_files_photo_id_array":[{"photo_id":"1399451809","filename":"file5"},{"photo_id":"1399451804","filename":"file2"},{"photo_id":"1399451807","filename":"file4"},{"photo_id":"1399451801","filename":"file1"},{"photo_id":"1399451793","filename":"file0"},{"photo_id":"1399451805","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399451801":["hashtag1","hashtag2"]},{"1399451804":["hashtag1","hashtag2"]},{"1399451807":["hashtag1","hashtag2"]},{"1399451809":["hashtag1","hashtag2"]},{"1399451793":["hashtag1","hashtag2"]},{"1399451805":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399451801, 1399451804, 1399451807, 1399451809, 1399451793, 1399451805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26419401168823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 09:07:42.738808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_45_2679.jpg', '/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_47_2669.jpg', '/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_54_6409.jpg', '/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_56_1795.jpg', '/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_58_1931.jpg', '/home/pi/Desktop/images/05112025/14/19/image_05112025_14_20_00_2546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_45_2679.jpg
/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_47_2669.jpg
/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_54_6409.jpg
/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_56_1795.jpg
/home/pi/Desktop/images/05112025/14/19/image_05112025_14_19_58_1931.jpg
/home/pi/Desktop/images/05112025/14/19/image_05112025_14_20_00_2546.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399451816","1399451819","1399451818","1399451817","1399451820","1399451814"],"photo_ids_order":["1399451814","1399451816","1399451817","1399451818","1399451819","1399451820"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/230a5e045aac5f4757c04810893769ac.jpg","text":"TemporaryFile(/tmp/multipartBody448297214562267438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786123439,"filename":"image_05112025_14_19_47_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/15/c7a76decd77f9006f11959a39fb1ddc3.jpg","text":"TemporaryFile(/tmp/multipartBody8522611289802048182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786123439,"filename":"image_05112025_14_19_58_1931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8c2f70cbddba28b943b9f1a09100cf1d.jpg","text":"TemporaryFile(/tmp/multipartBody5399453377977328359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786123439,"filename":"image_05112025_14_19_56_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/15/ba6d8dc9f530086d2320fea906054fff.jpg","text":"TemporaryFile(/tmp/multipartBody367978934276820892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786123439,"filename":"image_05112025_14_19_54_6409.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/95859ae219ff723e4e3bce2165fd79e6.jpg","text":"TemporaryFile(/tmp/multipartBody8441614533095828117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786123439,"filename":"image_05112025_14_20_00_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/15/a23894e31a4065ffc6ea06915448e895.jpg","text":"TemporaryFile(/tmp/multipartBody2857108270998712655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786123439,"filename":"image_05112025_14_19_45_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399451817","file1":"1399451816","file0":"1399451814","file4":"1399451819","file5":"1399451820","file3":"1399451818"},"map_files_photo_id_array":[{"photo_id":"1399451820","filename":"file5"},{"photo_id":"1399451817","filename":"file2"},{"photo_id":"1399451819","filename":"file4"},{"photo_id":"1399451816","filename":"file1"},{"photo_id":"1399451814","filename":"file0"},{"photo_id":"1399451818","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399451816":["hashtag1","hashtag2"]},{"1399451819":["hashtag1","hashtag2"]},{"1399451818":["hashtag1","hashtag2"]},{"1399451817":["hashtag1","hashtag2"]},{"1399451820":["hashtag1","hashtag2"]},{"1399451814":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399451816, 1399451819, 1399451818, 1399451817, 1399451820, 1399451814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01920962333679 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 09:08:22.029892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/55/image_15122025_08_55_34_9638.jpg', '/home/pi/Desktop/images/15122025/08/55/image_15122025_08_55_45_10648.jpg', '/home/pi/Desktop/images/15122025/08/55/image_15122025_08_55_55_9728.jpg', '/home/pi/Desktop/images/15122025/08/55/image_15122025_08_56_04_9794.jpg', '/home/pi/Desktop/images/15122025/08/56/image_15122025_08_56_15_10652.jpg', '/home/pi/Desktop/images/15122025/08/56/image_15122025_08_56_25_9579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/55/image_15122025_08_55_34_9638.jpg
/home/pi/Desktop/images/15122025/08/55/image_15122025_08_55_45_10648.jpg
/home/pi/Desktop/images/15122025/08/55/image_15122025_08_55_55_9728.jpg
/home/pi/Desktop/images/15122025/08/55/image_15122025_08_56_04_9794.jpg
/home/pi/Desktop/images/15122025/08/56/image_15122025_08_56_15_10652.jpg
/home/pi/Desktop/images/15122025/08/56/image_15122025_08_56_25_9579.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.48277807235717773 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 09:08:32.175464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 09:08:42.084766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_03_2580.jpg', '/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_06_2814.jpg', '/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_09_3727.jpg', '/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_13_3510.jpg', '/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_14_1668.jpg', '/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_18_3756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_03_2580.jpg
/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_06_2814.jpg
/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_09_3727.jpg
/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_13_3510.jpg
/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_14_1668.jpg
/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_18_3756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399451843","1399451845","1399451839","1399451835","1399451838","1399451846"],"photo_ids_order":["1399451835","1399451838","1399451839","1399451843","1399451845","1399451846"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/29b5a2370fc7f46420f64192e20b4acd.jpg","text":"TemporaryFile(/tmp/multipartBody1050446072206512348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786182785,"filename":"image_05112025_14_20_13_3510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/813b44e748c8f40366572588c8ca2acd.jpg","text":"TemporaryFile(/tmp/multipartBody3852204583434441279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786182785,"filename":"image_05112025_14_20_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/15/cb68d35bb173d0cca13a44430e89df9f.jpg","text":"TemporaryFile(/tmp/multipartBody487379428001737778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786182785,"filename":"image_05112025_14_20_09_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/15/bba17a2e6ba979eeaf3af0e948952223.jpg","text":"TemporaryFile(/tmp/multipartBody9064071777538169707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786182785,"filename":"image_05112025_14_20_03_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/20e8cc74e01015a47b9460759e776c45.jpg","text":"TemporaryFile(/tmp/multipartBody639726003017237881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786182785,"filename":"image_05112025_14_20_06_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/15/18482422111b20538a321010079afb2f.jpg","text":"TemporaryFile(/tmp/multipartBody8219266924641757035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786182785,"filename":"image_05112025_14_20_18_3756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399451839","file1":"1399451838","file0":"1399451835","file4":"1399451845","file5":"1399451846","file3":"1399451843"},"map_files_photo_id_array":[{"photo_id":"1399451846","filename":"file5"},{"photo_id":"1399451839","filename":"file2"},{"photo_id":"1399451845","filename":"file4"},{"photo_id":"1399451838","filename":"file1"},{"photo_id":"1399451835","filename":"file0"},{"photo_id":"1399451843","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399451843":["hashtag1","hashtag2"]},{"1399451845":["hashtag1","hashtag2"]},{"1399451839":["hashtag1","hashtag2"]},{"1399451835":["hashtag1","hashtag2"]},{"1399451838":["hashtag1","hashtag2"]},{"1399451846":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399451843, 1399451845, 1399451839, 1399451835, 1399451838, 1399451846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59604787826538 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 09:09:22.374489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/55/image_15122025_08_55_34_9638.jpg', '/home/pi/Desktop/images/15122025/08/55/image_15122025_08_55_45_10648.jpg', '/home/pi/Desktop/images/15122025/08/55/image_15122025_08_55_55_9728.jpg', '/home/pi/Desktop/images/15122025/08/55/image_15122025_08_56_04_9794.jpg', '/home/pi/Desktop/images/15122025/08/56/image_15122025_08_56_15_10652.jpg', '/home/pi/Desktop/images/15122025/08/56/image_15122025_08_56_25_9579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/55/image_15122025_08_55_34_9638.jpg
/home/pi/Desktop/images/15122025/08/55/image_15122025_08_55_45_10648.jpg
/home/pi/Desktop/images/15122025/08/55/image_15122025_08_55_55_9728.jpg
/home/pi/Desktop/images/15122025/08/55/image_15122025_08_56_04_9794.jpg
/home/pi/Desktop/images/15122025/08/56/image_15122025_08_56_15_10652.jpg
/home/pi/Desktop/images/15122025/08/56/image_15122025_08_56_25_9579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399451854","1399451848","1399451856","1399451850","1399451858","1399451852"],"photo_ids_order":["1399451848","1399451850","1399451852","1399451854","1399451856","1399451858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/748de7f4e3c12ac58026be4e73ad7dba.jpg","text":"TemporaryFile(/tmp/multipartBody7574191021703836810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786222989,"filename":"image_15122025_08_56_04_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0235ed632bc20f9017c8c186cdf7ffab.jpg","text":"TemporaryFile(/tmp/multipartBody1934146531799569343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786222989,"filename":"image_15122025_08_55_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/15/49ab9b855abbde498f6d2ea386664bba.jpg","text":"TemporaryFile(/tmp/multipartBody7288843271939016411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786222989,"filename":"image_15122025_08_56_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/15/531677d5d27ed564538ec1be75d766f1.jpg","text":"TemporaryFile(/tmp/multipartBody44840181279781004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786222989,"filename":"image_15122025_08_55_45_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6bbfb3a0548ab134312eb1d581e98d05.jpg","text":"TemporaryFile(/tmp/multipartBody7297785277616711936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786222989,"filename":"image_15122025_08_56_25_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/667575624afb70ee633367e62f6efe3b.jpg","text":"TemporaryFile(/tmp/multipartBody5369938327188134500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786222989,"filename":"image_15122025_08_55_55_9728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399451852","file1":"1399451850","file0":"1399451848","file4":"1399451856","file5":"1399451858","file3":"1399451854"},"map_files_photo_id_array":[{"photo_id":"1399451858","filename":"file5"},{"photo_id":"1399451852","filename":"file2"},{"photo_id":"1399451856","filename":"file4"},{"photo_id":"1399451850","filename":"file1"},{"photo_id":"1399451848","filename":"file0"},{"photo_id":"1399451854","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399451854":["hashtag1","hashtag2"]},{"1399451848":["hashtag1","hashtag2"]},{"1399451856":["hashtag1","hashtag2"]},{"1399451850":["hashtag1","hashtag2"]},{"1399451858":["hashtag1","hashtag2"]},{"1399451852":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399451854, 1399451848, 1399451856, 1399451850, 1399451858, 1399451852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45893883705139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 09:10:03.138470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/56/image_15122025_08_56_35_9886.jpg', '/home/pi/Desktop/images/15122025/08/56/image_15122025_08_56_44_9643.jpg', '/home/pi/Desktop/images/15122025/08/56/image_15122025_08_56_55_10784.jpg', '/home/pi/Desktop/images/15122025/08/56/image_15122025_08_57_05_9712.jpg', '/home/pi/Desktop/images/15122025/08/57/image_15122025_08_57_14_9735.jpg', '/home/pi/Desktop/images/15122025/08/57/image_15122025_08_57_24_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/56/image_15122025_08_56_35_9886.jpg
/home/pi/Desktop/images/15122025/08/56/image_15122025_08_56_44_9643.jpg
/home/pi/Desktop/images/15122025/08/56/image_15122025_08_56_55_10784.jpg
/home/pi/Desktop/images/15122025/08/56/image_15122025_08_57_05_9712.jpg
/home/pi/Desktop/images/15122025/08/57/image_15122025_08_57_14_9735.jpg
/home/pi/Desktop/images/15122025/08/57/image_15122025_08_57_24_9690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399451861","1399451860","1399451863","1399451862","1399451859","1399451867"],"photo_ids_order":["1399451859","1399451860","1399451861","1399451862","1399451863","1399451867"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6a5be4b6c8cd5965ee30cb6cc4a6d34b.jpg","text":"TemporaryFile(/tmp/multipartBody8028590050547759607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786263750,"filename":"image_15122025_08_56_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/15/f6f908b046e5472ba3c2a328af7bd4a1.jpg","text":"TemporaryFile(/tmp/multipartBody8527969990899692811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786263750,"filename":"image_15122025_08_56_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/15/540579a2cd8c7c0a6fd76303647f78e9.jpg","text":"TemporaryFile(/tmp/multipartBody7943374449165390940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786263750,"filename":"image_15122025_08_57_14_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cd6c1ace8c0feda5d3eb59e325f4f9d3.jpg","text":"TemporaryFile(/tmp/multipartBody2682559813975584295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786263750,"filename":"image_15122025_08_57_05_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/36eca5e4474cf26fe60f47581473be5a.jpg","text":"TemporaryFile(/tmp/multipartBody6599520044871860834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786263750,"filename":"image_15122025_08_56_35_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/15/10c44232056924f36ad3d6c29db0635d.jpg","text":"TemporaryFile(/tmp/multipartBody1303691026625725486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786263750,"filename":"image_15122025_08_57_24_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399451861","file1":"1399451860","file0":"1399451859","file4":"1399451863","file5":"1399451867","file3":"1399451862"},"map_files_photo_id_array":[{"photo_id":"1399451867","filename":"file5"},{"photo_id":"1399451861","filename":"file2"},{"photo_id":"1399451863","filename":"file4"},{"photo_id":"1399451860","filename":"file1"},{"photo_id":"1399451859","filename":"file0"},{"photo_id":"1399451862","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399451861":["hashtag1","hashtag2"]},{"1399451860":["hashtag1","hashtag2"]},{"1399451863":["hashtag1","hashtag2"]},{"1399451862":["hashtag1","hashtag2"]},{"1399451859":["hashtag1","hashtag2"]},{"1399451867":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399451861, 1399451860, 1399451863, 1399451862, 1399451859, 1399451867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2169508934021 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 09:10:42.675466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_21_2435.jpg', '/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_23_2788.jpg', '/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_27_3579.jpg', '/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_31_4025.jpg', '/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_33_1617.jpg', '/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_36_3591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_21_2435.jpg
/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_23_2788.jpg
/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_27_3579.jpg
/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_31_4025.jpg
/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_33_1617.jpg
/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_36_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":["1399451954","1399451912","1399451928","1399451913","1399451957","1399451945"],"photo_ids_order":["1399451912","1399451913","1399451928","1399451945","1399451954","1399451957"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/082d7488a1b9a5d93d392570f6751ec1.jpg","text":"TemporaryFile(/tmp/multipartBody3851992977615432015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786303373,"filename":"image_05112025_14_20_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/15/158234098c7897a12419e6fcb2fd0834.jpg","text":"TemporaryFile(/tmp/multipartBody1227923855951157159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786303373,"filename":"image_05112025_14_20_21_2435.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bba5007d9f73aaabb3086b548f77fe94.jpg","text":"TemporaryFile(/tmp/multipartBody8171686877645110379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786303373,"filename":"image_05112025_14_20_27_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/40529768ad2c2332941caeb680d5279f.jpg","text":"TemporaryFile(/tmp/multipartBody7129946166283175648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786303373,"filename":"image_05112025_14_20_23_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/15/52f630ccdbdeb66fb926dcba370f4ece.jpg","text":"TemporaryFile(/tmp/multipartBody7381660092212558011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786303373,"filename":"image_05112025_14_20_36_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/15/910990c6ff73951e91a6a394cb096e1d.jpg","text":"TemporaryFile(/tmp/multipartBody4142562977327269267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786303373,"filename":"image_05112025_14_20_31_4025.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399451928","file1":"1399451913","file0":"1399451912","file4":"1399451954","file5":"1399451957","file3":"1399451945"},"map_files_photo_id_array":[{"photo_id":"1399451957","filename":"file5"},{"photo_id":"1399451928","filename":"file2"},{"photo_id":"1399451954","filename":"file4"},{"photo_id":"1399451913","filename":"file1"},{"photo_id":"1399451912","filename":"file0"},{"photo_id":"1399451945","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399451954":["hashtag1","hashtag2"]},{"1399451912":["hashtag1","hashtag2"]},{"1399451928":["hashtag1","hashtag2"]},{"1399451913":["hashtag1","hashtag2"]},{"1399451957":["hashtag1","hashtag2"]},{"1399451945":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399451954, 1399451912, 1399451928, 1399451913, 1399451957, 1399451945)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.70134520530701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 09:11:31.993800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 09:11:41.981455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_39_2632.jpg', '/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_41_2552.jpg', '/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_45_3613.jpg', '/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_48_2651.jpg', '/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_51_3567.jpg', '/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_54_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_39_2632.jpg
/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_41_2552.jpg
/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_45_3613.jpg
/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_48_2651.jpg
/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_51_3567.jpg
/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_54_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":["1399451971","1399451974","1399451968","1399451970","1399451973","1399451972"],"photo_ids_order":["1399451968","1399451970","1399451971","1399451972","1399451973","1399451974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5c1843fb02be48c5d4b8dc369db8819d.jpg","text":"TemporaryFile(/tmp/multipartBody4246558586271730760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786362677,"filename":"image_05112025_14_20_45_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/15/50c5f9d28e8899a2ba6505e51ffe11e4.jpg","text":"TemporaryFile(/tmp/multipartBody5973014051399919856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786362677,"filename":"image_05112025_14_20_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/15/745ad01269915a8be3670b09c5095830.jpg","text":"TemporaryFile(/tmp/multipartBody433007521651676677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786362677,"filename":"image_05112025_14_20_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/15/30633103d4c028adf2790da0ba8ac19d.jpg","text":"TemporaryFile(/tmp/multipartBody8731848444050269247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786362677,"filename":"image_05112025_14_20_41_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/15/dc23bbbf47a37b18801edb86adceaa3d.jpg","text":"TemporaryFile(/tmp/multipartBody6737337544227448005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786362677,"filename":"image_05112025_14_20_51_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/855f46de974905bd884f374e379fe92d.jpg","text":"TemporaryFile(/tmp/multipartBody495032308342106384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786362677,"filename":"image_05112025_14_20_48_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399451971","file1":"1399451970","file0":"1399451968","file4":"1399451973","file5":"1399451974","file3":"1399451972"},"map_files_photo_id_array":[{"photo_id":"1399451974","filename":"file5"},{"photo_id":"1399451971","filename":"file2"},{"photo_id":"1399451973","filename":"file4"},{"photo_id":"1399451970","filename":"file1"},{"photo_id":"1399451968","filename":"file0"},{"photo_id":"1399451972","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399451971":["hashtag1","hashtag2"]},{"1399451974":["hashtag1","hashtag2"]},{"1399451968":["hashtag1","hashtag2"]},{"1399451970":["hashtag1","hashtag2"]},{"1399451973":["hashtag1","hashtag2"]},{"1399451972":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399451971, 1399451974, 1399451968, 1399451970, 1399451973, 1399451972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.92157244682312 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 09:12:22.223774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/57/image_15122025_08_57_35_10844.jpg', '/home/pi/Desktop/images/15122025/08/57/image_15122025_08_57_45_9603.jpg', '/home/pi/Desktop/images/15122025/08/57/image_15122025_08_57_54_9781.jpg', '/home/pi/Desktop/images/15122025/08/57/image_15122025_08_58_05_10705.jpg', '/home/pi/Desktop/images/15122025/08/58/image_15122025_08_58_15_9675.jpg', '/home/pi/Desktop/images/15122025/08/58/image_15122025_08_58_25_9794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/57/image_15122025_08_57_35_10844.jpg
/home/pi/Desktop/images/15122025/08/57/image_15122025_08_57_45_9603.jpg
/home/pi/Desktop/images/15122025/08/57/image_15122025_08_57_54_9781.jpg
/home/pi/Desktop/images/15122025/08/57/image_15122025_08_58_05_10705.jpg
/home/pi/Desktop/images/15122025/08/58/image_15122025_08_58_15_9675.jpg
/home/pi/Desktop/images/15122025/08/58/image_15122025_08_58_25_9794.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4859170913696289 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 09:12:32.305977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 09:12:42.205974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_57_2613.jpg', '/home/pi/Desktop/images/05112025/14/20/image_05112025_14_21_00_3525.jpg', '/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_03_2756.jpg', '/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_05_2618.jpg', '/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_09_3626.jpg', '/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_12_2533.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/20/image_05112025_14_20_57_2613.jpg
/home/pi/Desktop/images/05112025/14/20/image_05112025_14_21_00_3525.jpg
/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_03_2756.jpg
/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_05_2618.jpg
/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_09_3626.jpg
/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_12_2533.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399451992","1399451989","1399451985","1399451994","1399451993","1399451996"],"photo_ids_order":["1399451985","1399451989","1399451992","1399451993","1399451994","1399451996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3751a93d12a4b569b6246f3d2c4210e4.jpg","text":"TemporaryFile(/tmp/multipartBody3835309887004676536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786422904,"filename":"image_05112025_14_21_03_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/15/91808acceeff0990cc7eed2b4037df51.jpg","text":"TemporaryFile(/tmp/multipartBody513652289047344036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786422904,"filename":"image_05112025_14_21_00_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/15/e7c29a89063ed2b3f922029ca05b82ff.jpg","text":"TemporaryFile(/tmp/multipartBody2300423295119917035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786422904,"filename":"image_05112025_14_20_57_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/15/23d74d6313e7fc3f22b5d84f0c678a26.jpg","text":"TemporaryFile(/tmp/multipartBody2511885252123483910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786422904,"filename":"image_05112025_14_21_09_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/15/ab62c554690420400a3c15947ad04e4a.jpg","text":"TemporaryFile(/tmp/multipartBody6341782081215776626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786422904,"filename":"image_05112025_14_21_05_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/15/bd95adc113185a677bb706fa4e49928b.jpg","text":"TemporaryFile(/tmp/multipartBody7006071249746313828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786422904,"filename":"image_05112025_14_21_12_2533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399451992","file1":"1399451989","file0":"1399451985","file4":"1399451994","file5":"1399451996","file3":"1399451993"},"map_files_photo_id_array":[{"photo_id":"1399451996","filename":"file5"},{"photo_id":"1399451992","filename":"file2"},{"photo_id":"1399451994","filename":"file4"},{"photo_id":"1399451989","filename":"file1"},{"photo_id":"1399451985","filename":"file0"},{"photo_id":"1399451993","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399451992":["hashtag1","hashtag2"]},{"1399451989":["hashtag1","hashtag2"]},{"1399451985":["hashtag1","hashtag2"]},{"1399451994":["hashtag1","hashtag2"]},{"1399451993":["hashtag1","hashtag2"]},{"1399451996":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399451992, 1399451989, 1399451985, 1399451994, 1399451993, 1399451996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18276786804199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 09:13:22.476458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/57/image_15122025_08_57_35_10844.jpg', '/home/pi/Desktop/images/15122025/08/57/image_15122025_08_57_45_9603.jpg', '/home/pi/Desktop/images/15122025/08/57/image_15122025_08_57_54_9781.jpg', '/home/pi/Desktop/images/15122025/08/57/image_15122025_08_58_05_10705.jpg', '/home/pi/Desktop/images/15122025/08/58/image_15122025_08_58_15_9675.jpg', '/home/pi/Desktop/images/15122025/08/58/image_15122025_08_58_25_9794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/57/image_15122025_08_57_35_10844.jpg
/home/pi/Desktop/images/15122025/08/57/image_15122025_08_57_45_9603.jpg
/home/pi/Desktop/images/15122025/08/57/image_15122025_08_57_54_9781.jpg
/home/pi/Desktop/images/15122025/08/57/image_15122025_08_58_05_10705.jpg
/home/pi/Desktop/images/15122025/08/58/image_15122025_08_58_15_9675.jpg
/home/pi/Desktop/images/15122025/08/58/image_15122025_08_58_25_9794.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399452002","1399452005","1399451998","1399451997","1399452000","1399452008"],"photo_ids_order":["1399451997","1399451998","1399452000","1399452002","1399452005","1399452008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/20b8b92486e35ec525df79813caf7377.jpg","text":"TemporaryFile(/tmp/multipartBody6636118313193287876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786463065,"filename":"image_15122025_08_58_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/15/b444d9bf6d59ad4e3d61311526cff211.jpg","text":"TemporaryFile(/tmp/multipartBody2506680818644227000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786463065,"filename":"image_15122025_08_58_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/15/56ce009c4e4c81328876bf3edda078f8.jpg","text":"TemporaryFile(/tmp/multipartBody5871135816064068114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786463065,"filename":"image_15122025_08_57_45_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/15/42cecb60e0781103e47db714a895373b.jpg","text":"TemporaryFile(/tmp/multipartBody3572918663368011281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786463065,"filename":"image_15122025_08_57_35_10844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a693b8d225d5d1ddeed12aed8ff6dec8.jpg","text":"TemporaryFile(/tmp/multipartBody2097502093995930574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786463065,"filename":"image_15122025_08_57_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/15/6555c986e8348b3f4a1da10918242582.jpg","text":"TemporaryFile(/tmp/multipartBody9039297314831154233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786463065,"filename":"image_15122025_08_58_25_9794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452000","file1":"1399451998","file0":"1399451997","file4":"1399452005","file5":"1399452008","file3":"1399452002"},"map_files_photo_id_array":[{"photo_id":"1399452008","filename":"file5"},{"photo_id":"1399452000","filename":"file2"},{"photo_id":"1399452005","filename":"file4"},{"photo_id":"1399451998","filename":"file1"},{"photo_id":"1399451997","filename":"file0"},{"photo_id":"1399452002","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399452002":["hashtag1","hashtag2"]},{"1399452005":["hashtag1","hashtag2"]},{"1399451998":["hashtag1","hashtag2"]},{"1399451997":["hashtag1","hashtag2"]},{"1399452000":["hashtag1","hashtag2"]},{"1399452008":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399452002, 1399452005, 1399451998, 1399451997, 1399452000, 1399452008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.618266344070435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 09:14:03.498692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/58/image_15122025_08_58_34_9853.jpg', '/home/pi/Desktop/images/15122025/08/58/image_15122025_08_58_45_10723.jpg', '/home/pi/Desktop/images/15122025/08/58/image_15122025_08_58_55_9611.jpg', '/home/pi/Desktop/images/15122025/08/58/image_15122025_08_59_05_9835.jpg', '/home/pi/Desktop/images/15122025/08/59/image_15122025_08_59_14_9734.jpg', '/home/pi/Desktop/images/15122025/08/59/image_15122025_08_59_24_10007.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/58/image_15122025_08_58_34_9853.jpg
/home/pi/Desktop/images/15122025/08/58/image_15122025_08_58_45_10723.jpg
/home/pi/Desktop/images/15122025/08/58/image_15122025_08_58_55_9611.jpg
/home/pi/Desktop/images/15122025/08/58/image_15122025_08_59_05_9835.jpg
/home/pi/Desktop/images/15122025/08/59/image_15122025_08_59_14_9734.jpg
/home/pi/Desktop/images/15122025/08/59/image_15122025_08_59_24_10007.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399452017","1399452013","1399452015","1399452018","1399452020","1399452014"],"photo_ids_order":["1399452013","1399452014","1399452015","1399452017","1399452018","1399452020"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bb2c7acc012ae19f93b8794672bdb4ad.jpg","text":"TemporaryFile(/tmp/multipartBody8580426259692418402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786504188,"filename":"image_15122025_08_59_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/15/31fb3ec117a10f8630f547940371625e.jpg","text":"TemporaryFile(/tmp/multipartBody5682087184803067968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786504188,"filename":"image_15122025_08_58_34_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2526a132573093246854a8cc29ce5bb0.jpg","text":"TemporaryFile(/tmp/multipartBody4848891367454550492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786504188,"filename":"image_15122025_08_58_55_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7bfca3d83c56a3e44b6d0fbbaa166318.jpg","text":"TemporaryFile(/tmp/multipartBody3625807448600597976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786504188,"filename":"image_15122025_08_59_14_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c5203349ce185c6b468b179afdef0966.jpg","text":"TemporaryFile(/tmp/multipartBody3128303515850115956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786504188,"filename":"image_15122025_08_59_24_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/15/192e4c0fc33387710824bd67e71f0681.jpg","text":"TemporaryFile(/tmp/multipartBody1045998467302014961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786504188,"filename":"image_15122025_08_58_45_10723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452015","file1":"1399452014","file0":"1399452013","file4":"1399452018","file5":"1399452020","file3":"1399452017"},"map_files_photo_id_array":[{"photo_id":"1399452020","filename":"file5"},{"photo_id":"1399452015","filename":"file2"},{"photo_id":"1399452018","filename":"file4"},{"photo_id":"1399452014","filename":"file1"},{"photo_id":"1399452013","filename":"file0"},{"photo_id":"1399452017","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399452017":["hashtag1","hashtag2"]},{"1399452013":["hashtag1","hashtag2"]},{"1399452015":["hashtag1","hashtag2"]},{"1399452018":["hashtag1","hashtag2"]},{"1399452020":["hashtag1","hashtag2"]},{"1399452014":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399452017, 1399452013, 1399452015, 1399452018, 1399452020, 1399452014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09834170341492 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 09:14:42.671488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_14_2814.jpg', '/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_18_3534.jpg', '/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_21_2636.jpg', '/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_24_3668.jpg', '/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_27_2525.jpg', '/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_29_2731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_14_2814.jpg
/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_18_3534.jpg
/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_21_2636.jpg
/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_24_3668.jpg
/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_27_2525.jpg
/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_29_2731.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6137998104095459 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 09:15:02.517569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/08/59/image_15122025_08_59_35_10651.jpg', '/home/pi/Desktop/images/15122025/08/59/image_15122025_08_59_45_9602.jpg', '/home/pi/Desktop/images/15122025/08/59/image_15122025_08_59_54_9635.jpg', '/home/pi/Desktop/images/15122025/09/00/image_15122025_09_00_14_10053.jpg', '/home/pi/Desktop/images/15122025/09/00/image_15122025_09_00_24_10658.jpg', '/home/pi/Desktop/images/15122025/09/00/image_15122025_09_00_34_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/08/59/image_15122025_08_59_35_10651.jpg
/home/pi/Desktop/images/15122025/08/59/image_15122025_08_59_45_9602.jpg
/home/pi/Desktop/images/15122025/08/59/image_15122025_08_59_54_9635.jpg
/home/pi/Desktop/images/15122025/09/00/image_15122025_09_00_14_10053.jpg
/home/pi/Desktop/images/15122025/09/00/image_15122025_09_00_24_10658.jpg
/home/pi/Desktop/images/15122025/09/00/image_15122025_09_00_34_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":["1399452037","1399452036","1399452039","1399452038","1399452041","1399452035"],"photo_ids_order":["1399452035","1399452036","1399452037","1399452038","1399452039","1399452041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/085577a916c5e30db20f3449ca4296be.jpg","text":"TemporaryFile(/tmp/multipartBody2017707689907822041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786563183,"filename":"image_15122025_08_59_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/15/a68fe85d36258973e10af4dda4f4aa20.jpg","text":"TemporaryFile(/tmp/multipartBody2611613355563028086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786563183,"filename":"image_15122025_08_59_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/15/bc197d96c47932725a76b0604f742e7d.jpg","text":"TemporaryFile(/tmp/multipartBody8256174411723189531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786563183,"filename":"image_15122025_09_00_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/15/acfecee1bae4179b97263c924c6503a8.jpg","text":"TemporaryFile(/tmp/multipartBody6596665398295973817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786563183,"filename":"image_15122025_09_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/15/d4551f2d48972457828ade0577708d1d.jpg","text":"TemporaryFile(/tmp/multipartBody3410944541886400090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786563183,"filename":"image_15122025_09_00_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/15/e629e6cd4446cdd6b9067f0e0337fed9.jpg","text":"TemporaryFile(/tmp/multipartBody6743493596018862845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786563183,"filename":"image_15122025_08_59_35_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452037","file1":"1399452036","file0":"1399452035","file4":"1399452039","file5":"1399452041","file3":"1399452038"},"map_files_photo_id_array":[{"photo_id":"1399452041","filename":"file5"},{"photo_id":"1399452037","filename":"file2"},{"photo_id":"1399452039","filename":"file4"},{"photo_id":"1399452036","filename":"file1"},{"photo_id":"1399452035","filename":"file0"},{"photo_id":"1399452038","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399452037":["hashtag1","hashtag2"]},{"1399452036":["hashtag1","hashtag2"]},{"1399452039":["hashtag1","hashtag2"]},{"1399452038":["hashtag1","hashtag2"]},{"1399452041":["hashtag1","hashtag2"]},{"1399452035":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399452037, 1399452036, 1399452039, 1399452038, 1399452041, 1399452035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79690170288086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 09:15:41.931054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_14_2814.jpg', '/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_18_3534.jpg', '/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_21_2636.jpg', '/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_24_3668.jpg', '/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_27_2525.jpg', '/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_29_2731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_14_2814.jpg
/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_18_3534.jpg
/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_21_2636.jpg
/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_24_3668.jpg
/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_27_2525.jpg
/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_29_2731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399452049","1399452052","1399452046","1399452051","1399452048","1399452050"],"photo_ids_order":["1399452046","1399452048","1399452049","1399452050","1399452051","1399452052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6bec55c15bed3460a3d907c52ad47ff9.jpg","text":"TemporaryFile(/tmp/multipartBody2209585115388236510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786602519,"filename":"image_05112025_14_21_21_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/15/165c0a07d57e18974d4a2c5a08ccf9a3.jpg","text":"TemporaryFile(/tmp/multipartBody472944544801574611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786602519,"filename":"image_05112025_14_21_29_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6ca02c2e4e60269cd34d09380493c48e.jpg","text":"TemporaryFile(/tmp/multipartBody5554017959511710611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786602519,"filename":"image_05112025_14_21_14_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/15/76ff15a6e436f79e1797e2b2188c9adc.jpg","text":"TemporaryFile(/tmp/multipartBody3597659862229794299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786602519,"filename":"image_05112025_14_21_27_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/15/1c5b853fc5b8e12fee2f526138e3de49.jpg","text":"TemporaryFile(/tmp/multipartBody8036702630538712759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786602519,"filename":"image_05112025_14_21_18_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/15/8bdef5e1d707df2d9e74b2505b311a09.jpg","text":"TemporaryFile(/tmp/multipartBody8912554780028015845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786602519,"filename":"image_05112025_14_21_24_3668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452049","file1":"1399452048","file0":"1399452046","file4":"1399452051","file5":"1399452052","file3":"1399452050"},"map_files_photo_id_array":[{"photo_id":"1399452052","filename":"file5"},{"photo_id":"1399452049","filename":"file2"},{"photo_id":"1399452051","filename":"file4"},{"photo_id":"1399452048","filename":"file1"},{"photo_id":"1399452046","filename":"file0"},{"photo_id":"1399452050","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399452049":["hashtag1","hashtag2"]},{"1399452052":["hashtag1","hashtag2"]},{"1399452046":["hashtag1","hashtag2"]},{"1399452051":["hashtag1","hashtag2"]},{"1399452048":["hashtag1","hashtag2"]},{"1399452050":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399452049, 1399452052, 1399452046, 1399452051, 1399452048, 1399452050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.031153440475464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 09:16:22.269103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/00/image_15122025_09_00_45_10651.jpg', '/home/pi/Desktop/images/15122025/09/00/image_15122025_09_00_54_9681.jpg', '/home/pi/Desktop/images/15122025/09/00/image_15122025_09_01_04_9694.jpg', '/home/pi/Desktop/images/15122025/09/01/image_15122025_09_01_14_9740.jpg', '/home/pi/Desktop/images/15122025/09/01/image_15122025_09_01_24_10690.jpg', '/home/pi/Desktop/images/15122025/09/01/image_15122025_09_01_34_9843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/00/image_15122025_09_00_45_10651.jpg
/home/pi/Desktop/images/15122025/09/00/image_15122025_09_00_54_9681.jpg
/home/pi/Desktop/images/15122025/09/00/image_15122025_09_01_04_9694.jpg
/home/pi/Desktop/images/15122025/09/01/image_15122025_09_01_14_9740.jpg
/home/pi/Desktop/images/15122025/09/01/image_15122025_09_01_24_10690.jpg
/home/pi/Desktop/images/15122025/09/01/image_15122025_09_01_34_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":["1399452061","1399452055","1399452057","1399452065","1399452059","1399452053"],"photo_ids_order":["1399452053","1399452055","1399452057","1399452059","1399452061","1399452065"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/edfad95e5b0dd9fcfa44d68b2b2780c6.jpg","text":"TemporaryFile(/tmp/multipartBody4050829078563729248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786642881,"filename":"image_15122025_09_01_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/15/6bb943de87a1dad2e2c8c9ba5e0626fc.jpg","text":"TemporaryFile(/tmp/multipartBody1641151704787399516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786642881,"filename":"image_15122025_09_00_54_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5e73ae31025fbb3dc58dc845f8b25a14.jpg","text":"TemporaryFile(/tmp/multipartBody4620363946795868371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786642881,"filename":"image_15122025_09_01_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/15/e0cfb790db03ed41c54831aa06c7f200.jpg","text":"TemporaryFile(/tmp/multipartBody5368956897685139385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786642881,"filename":"image_15122025_09_01_34_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/15/870937dab13d962a55004063733b9932.jpg","text":"TemporaryFile(/tmp/multipartBody5367612765649424171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786642881,"filename":"image_15122025_09_01_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/15/762bc9e5fb3ad9f97a1be13a31f31eab.jpg","text":"TemporaryFile(/tmp/multipartBody4517713132621342003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786642881,"filename":"image_15122025_09_00_45_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452057","file1":"1399452055","file0":"1399452053","file4":"1399452061","file5":"1399452065","file3":"1399452059"},"map_files_photo_id_array":[{"photo_id":"1399452065","filename":"file5"},{"photo_id":"1399452057","filename":"file2"},{"photo_id":"1399452061","filename":"file4"},{"photo_id":"1399452055","filename":"file1"},{"photo_id":"1399452053","filename":"file0"},{"photo_id":"1399452059","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399452061":["hashtag1","hashtag2"]},{"1399452055":["hashtag1","hashtag2"]},{"1399452057":["hashtag1","hashtag2"]},{"1399452065":["hashtag1","hashtag2"]},{"1399452059":["hashtag1","hashtag2"]},{"1399452053":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399452061, 1399452055, 1399452057, 1399452065, 1399452059, 1399452053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01037049293518 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 09:17:03.203519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/01/image_15122025_09_01_44_9585.jpg', '/home/pi/Desktop/images/15122025/09/01/image_15122025_09_01_54_9826.jpg', '/home/pi/Desktop/images/15122025/09/01/image_15122025_09_02_04_10573.jpg', '/home/pi/Desktop/images/15122025/09/02/image_15122025_09_02_14_9646.jpg', '/home/pi/Desktop/images/15122025/09/02/image_15122025_09_02_25_10644.jpg', '/home/pi/Desktop/images/15122025/09/02/image_15122025_09_02_34_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/01/image_15122025_09_01_44_9585.jpg
/home/pi/Desktop/images/15122025/09/01/image_15122025_09_01_54_9826.jpg
/home/pi/Desktop/images/15122025/09/01/image_15122025_09_02_04_10573.jpg
/home/pi/Desktop/images/15122025/09/02/image_15122025_09_02_14_9646.jpg
/home/pi/Desktop/images/15122025/09/02/image_15122025_09_02_25_10644.jpg
/home/pi/Desktop/images/15122025/09/02/image_15122025_09_02_34_9665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399452079","1399452076","1399452081","1399452078","1399452074","1399452077"],"photo_ids_order":["1399452074","1399452076","1399452077","1399452078","1399452079","1399452081"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bc29345c6a3eaae7c0968ff7632f7aa9.jpg","text":"TemporaryFile(/tmp/multipartBody8358545079612635545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786683864,"filename":"image_15122025_09_02_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/15/f85e4497062b4a496b4f69fe2442782a.jpg","text":"TemporaryFile(/tmp/multipartBody3403649102287822584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786683864,"filename":"image_15122025_09_01_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/15/a5359fe5184b587b23db8ec122738be8.jpg","text":"TemporaryFile(/tmp/multipartBody4262080980085085218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786683864,"filename":"image_15122025_09_02_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/15/5fde974d75e7d48e4171827cd7274f4c.jpg","text":"TemporaryFile(/tmp/multipartBody1001852127856594160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786683864,"filename":"image_15122025_09_02_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/15/dfae183b560c75cae847db05b545e789.jpg","text":"TemporaryFile(/tmp/multipartBody7241750074449331149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786683864,"filename":"image_15122025_09_01_44_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/34cf4a9e4f359a992d477951e4da02d2.jpg","text":"TemporaryFile(/tmp/multipartBody8963199889741004718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786683864,"filename":"image_15122025_09_02_04_10573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452077","file1":"1399452076","file0":"1399452074","file4":"1399452079","file5":"1399452081","file3":"1399452078"},"map_files_photo_id_array":[{"photo_id":"1399452081","filename":"file5"},{"photo_id":"1399452077","filename":"file2"},{"photo_id":"1399452079","filename":"file4"},{"photo_id":"1399452076","filename":"file1"},{"photo_id":"1399452074","filename":"file0"},{"photo_id":"1399452078","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399452079":["hashtag1","hashtag2"]},{"1399452076":["hashtag1","hashtag2"]},{"1399452081":["hashtag1","hashtag2"]},{"1399452078":["hashtag1","hashtag2"]},{"1399452074":["hashtag1","hashtag2"]},{"1399452077":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399452079, 1399452076, 1399452081, 1399452078, 1399452074, 1399452077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11428093910217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 09:17:42.382903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_33_3679.jpg', '/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_36_2502.jpg', '/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_38_2631.jpg', '/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_42_3744.jpg', '/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_45_2641.jpg', '/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_47_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_33_3679.jpg
/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_36_2502.jpg
/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_38_2631.jpg
/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_42_3744.jpg
/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_45_2641.jpg
/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_47_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":["1399452091","1399452088","1399452099","1399452093","1399452095","1399452097"],"photo_ids_order":["1399452088","1399452091","1399452093","1399452095","1399452097","1399452099"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2f5382aae7dba7beef55b1ac5d6c9e11.jpg","text":"TemporaryFile(/tmp/multipartBody2538758225628924866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786723115,"filename":"image_05112025_14_21_36_2502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6c3c6f3580bf7f0deea272bfd3a3287e.jpg","text":"TemporaryFile(/tmp/multipartBody1227995221104344233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786723115,"filename":"image_05112025_14_21_33_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/15/46d2f28d2af0bd61548134052f2faaf7.jpg","text":"TemporaryFile(/tmp/multipartBody3045779544709850875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786723115,"filename":"image_05112025_14_21_47_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/15/1e18ba23346341449047337ef8cb11b9.jpg","text":"TemporaryFile(/tmp/multipartBody1888674239974074644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786723115,"filename":"image_05112025_14_21_38_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1df2281921f4667c96a48e66b37c9a0d.jpg","text":"TemporaryFile(/tmp/multipartBody2745540475915083988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786723115,"filename":"image_05112025_14_21_42_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/15/4d42d4f365a9c2605751c4ddcd9d68a6.jpg","text":"TemporaryFile(/tmp/multipartBody8016450566028937430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786723115,"filename":"image_05112025_14_21_45_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452093","file1":"1399452091","file0":"1399452088","file4":"1399452097","file5":"1399452099","file3":"1399452095"},"map_files_photo_id_array":[{"photo_id":"1399452099","filename":"file5"},{"photo_id":"1399452093","filename":"file2"},{"photo_id":"1399452097","filename":"file4"},{"photo_id":"1399452091","filename":"file1"},{"photo_id":"1399452088","filename":"file0"},{"photo_id":"1399452095","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399452091":["hashtag1","hashtag2"]},{"1399452088":["hashtag1","hashtag2"]},{"1399452099":["hashtag1","hashtag2"]},{"1399452093":["hashtag1","hashtag2"]},{"1399452095":["hashtag1","hashtag2"]},{"1399452097":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399452091, 1399452088, 1399452099, 1399452093, 1399452095, 1399452097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43807291984558 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 09:18:22.639407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/02/image_15122025_09_02_44_9699.jpg', '/home/pi/Desktop/images/15122025/09/02/image_15122025_09_02_55_10677.jpg', '/home/pi/Desktop/images/15122025/09/02/image_15122025_09_03_04_9780.jpg', '/home/pi/Desktop/images/15122025/09/03/image_15122025_09_03_14_9603.jpg', '/home/pi/Desktop/images/15122025/09/03/image_15122025_09_03_24_9955.jpg', '/home/pi/Desktop/images/15122025/09/03/image_15122025_09_03_35_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/02/image_15122025_09_02_44_9699.jpg
/home/pi/Desktop/images/15122025/09/02/image_15122025_09_02_55_10677.jpg
/home/pi/Desktop/images/15122025/09/02/image_15122025_09_03_04_9780.jpg
/home/pi/Desktop/images/15122025/09/03/image_15122025_09_03_14_9603.jpg
/home/pi/Desktop/images/15122025/09/03/image_15122025_09_03_24_9955.jpg
/home/pi/Desktop/images/15122025/09/03/image_15122025_09_03_35_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":["1399452101","1399452103","1399452106","1399452108","1399452110","1399452113"],"photo_ids_order":["1399452101","1399452103","1399452106","1399452108","1399452110","1399452113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c4aadd802411b26df461860cd5545bd3.jpg","text":"TemporaryFile(/tmp/multipartBody7445046065031744136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786763261,"filename":"image_15122025_09_02_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/15/e43f362558506cc7513dd109e6de544c.jpg","text":"TemporaryFile(/tmp/multipartBody817258016681647983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786763261,"filename":"image_15122025_09_02_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/15/dbe9ac23f04fb2b7552805252453b717.jpg","text":"TemporaryFile(/tmp/multipartBody2823218889520174618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786763261,"filename":"image_15122025_09_03_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/15/1362fa2f720d49dae250ab52ff28ef2a.jpg","text":"TemporaryFile(/tmp/multipartBody3580319955223808845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786763261,"filename":"image_15122025_09_03_14_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2633bcfdd33ae899f37b2b2fba375721.jpg","text":"TemporaryFile(/tmp/multipartBody7598594928497048067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786763261,"filename":"image_15122025_09_03_24_9955.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fedab70439238b096a01ee69ac4773de.jpg","text":"TemporaryFile(/tmp/multipartBody2291540470383585266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786763261,"filename":"image_15122025_09_03_35_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452106","file1":"1399452103","file0":"1399452101","file4":"1399452110","file5":"1399452113","file3":"1399452108"},"map_files_photo_id_array":[{"photo_id":"1399452113","filename":"file5"},{"photo_id":"1399452106","filename":"file2"},{"photo_id":"1399452110","filename":"file4"},{"photo_id":"1399452103","filename":"file1"},{"photo_id":"1399452101","filename":"file0"},{"photo_id":"1399452108","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399452101":["hashtag1","hashtag2"]},{"1399452103":["hashtag1","hashtag2"]},{"1399452106":["hashtag1","hashtag2"]},{"1399452108":["hashtag1","hashtag2"]},{"1399452110":["hashtag1","hashtag2"]},{"1399452113":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399452101, 1399452103, 1399452106, 1399452108, 1399452110, 1399452113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.593711376190186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 09:19:02.853119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/03/image_15122025_09_03_44_9838.jpg', '/home/pi/Desktop/images/15122025/09/03/image_15122025_09_03_54_9857.jpg', '/home/pi/Desktop/images/15122025/09/03/image_15122025_09_04_04_9787.jpg', '/home/pi/Desktop/images/15122025/09/04/image_15122025_09_04_14_9742.jpg', '/home/pi/Desktop/images/15122025/09/04/image_15122025_09_04_25_10742.jpg', '/home/pi/Desktop/images/15122025/09/04/image_15122025_09_04_34_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/03/image_15122025_09_03_44_9838.jpg
/home/pi/Desktop/images/15122025/09/03/image_15122025_09_03_54_9857.jpg
/home/pi/Desktop/images/15122025/09/03/image_15122025_09_04_04_9787.jpg
/home/pi/Desktop/images/15122025/09/04/image_15122025_09_04_14_9742.jpg
/home/pi/Desktop/images/15122025/09/04/image_15122025_09_04_25_10742.jpg
/home/pi/Desktop/images/15122025/09/04/image_15122025_09_04_34_9670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399452121","1399452118","1399452120","1399452123","1399452117","1399452119"],"photo_ids_order":["1399452117","1399452118","1399452119","1399452120","1399452121","1399452123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e51dbcb9cd25af22e1a32548a970ae2a.jpg","text":"TemporaryFile(/tmp/multipartBody7049885532136602333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786803610,"filename":"image_15122025_09_04_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/15/bcb43a81a77a2deb1f2c27fb5500b220.jpg","text":"TemporaryFile(/tmp/multipartBody6104191109059302586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786803610,"filename":"image_15122025_09_03_54_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/73159350a795703814e4a843b60dcf8b.jpg","text":"TemporaryFile(/tmp/multipartBody6263187568964919702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786803610,"filename":"image_15122025_09_04_14_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/38715ca660db939801cb3e46addbc048.jpg","text":"TemporaryFile(/tmp/multipartBody1459643664684494072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786803610,"filename":"image_15122025_09_04_34_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4d68eba8b14078f24a63820126a77818.jpg","text":"TemporaryFile(/tmp/multipartBody2655480647558808403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786803610,"filename":"image_15122025_09_03_44_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/92da435d25606dd90ef02c839d892c62.jpg","text":"TemporaryFile(/tmp/multipartBody8995305099107383075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786803610,"filename":"image_15122025_09_04_04_9787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452119","file1":"1399452118","file0":"1399452117","file4":"1399452121","file5":"1399452123","file3":"1399452120"},"map_files_photo_id_array":[{"photo_id":"1399452123","filename":"file5"},{"photo_id":"1399452119","filename":"file2"},{"photo_id":"1399452121","filename":"file4"},{"photo_id":"1399452118","filename":"file1"},{"photo_id":"1399452117","filename":"file0"},{"photo_id":"1399452120","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399452121":["hashtag1","hashtag2"]},{"1399452118":["hashtag1","hashtag2"]},{"1399452120":["hashtag1","hashtag2"]},{"1399452123":["hashtag1","hashtag2"]},{"1399452117":["hashtag1","hashtag2"]},{"1399452119":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399452121, 1399452118, 1399452120, 1399452123, 1399452117, 1399452119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.571367502212524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 09:19:41.845451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_51_3780.jpg', '/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_54_2713.jpg', '/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_56_2620.jpg', '/home/pi/Desktop/images/05112025/14/21/image_05112025_14_22_00_3774.jpg', '/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_03_2532.jpg', '/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_06_2855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_51_3780.jpg
/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_54_2713.jpg
/home/pi/Desktop/images/05112025/14/21/image_05112025_14_21_56_2620.jpg
/home/pi/Desktop/images/05112025/14/21/image_05112025_14_22_00_3774.jpg
/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_03_2532.jpg
/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_06_2855.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399452133","1399452132","1399452135","1399452131","1399452134","1399452128"],"photo_ids_order":["1399452128","1399452131","1399452132","1399452133","1399452134","1399452135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dc66b8f9dc8952dd0172c6380bf8e846.jpg","text":"TemporaryFile(/tmp/multipartBody6464349172574745759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786842543,"filename":"image_05112025_14_22_00_3774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3d2b0e6b097847e79323529335d0c8df.jpg","text":"TemporaryFile(/tmp/multipartBody6802887273941585621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786842543,"filename":"image_05112025_14_21_56_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/15/0524a1d3df47191365074ca7b0a6ed3e.jpg","text":"TemporaryFile(/tmp/multipartBody6475299517655807333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786842543,"filename":"image_05112025_14_22_06_2855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f15d87d9cdffcb5fc305b15088e6fbac.jpg","text":"TemporaryFile(/tmp/multipartBody1534431869942110331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786842543,"filename":"image_05112025_14_21_54_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/15/2b46b72f38c22e2ff73b931830ebc421.jpg","text":"TemporaryFile(/tmp/multipartBody8544226240285961454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786842543,"filename":"image_05112025_14_22_03_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/15/872c8fbae38f980a6295f02dd3f245b0.jpg","text":"TemporaryFile(/tmp/multipartBody8957352936700432723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786842543,"filename":"image_05112025_14_21_51_3780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452132","file1":"1399452131","file0":"1399452128","file4":"1399452134","file5":"1399452135","file3":"1399452133"},"map_files_photo_id_array":[{"photo_id":"1399452135","filename":"file5"},{"photo_id":"1399452132","filename":"file2"},{"photo_id":"1399452134","filename":"file4"},{"photo_id":"1399452131","filename":"file1"},{"photo_id":"1399452128","filename":"file0"},{"photo_id":"1399452133","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399452133":["hashtag1","hashtag2"]},{"1399452132":["hashtag1","hashtag2"]},{"1399452135":["hashtag1","hashtag2"]},{"1399452131":["hashtag1","hashtag2"]},{"1399452134":["hashtag1","hashtag2"]},{"1399452128":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399452133, 1399452132, 1399452135, 1399452131, 1399452134, 1399452128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29144263267517 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 09:20:22.112390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/04/image_15122025_09_04_44_9604.jpg', '/home/pi/Desktop/images/15122025/09/04/image_15122025_09_04_55_10676.jpg', '/home/pi/Desktop/images/15122025/09/04/image_15122025_09_05_04_9869.jpg', '/home/pi/Desktop/images/15122025/09/05/image_15122025_09_05_14_9637.jpg', '/home/pi/Desktop/images/15122025/09/05/image_15122025_09_05_24_9774.jpg', '/home/pi/Desktop/images/15122025/09/05/image_15122025_09_05_35_10728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/04/image_15122025_09_04_44_9604.jpg
/home/pi/Desktop/images/15122025/09/04/image_15122025_09_04_55_10676.jpg
/home/pi/Desktop/images/15122025/09/04/image_15122025_09_05_04_9869.jpg
/home/pi/Desktop/images/15122025/09/05/image_15122025_09_05_14_9637.jpg
/home/pi/Desktop/images/15122025/09/05/image_15122025_09_05_24_9774.jpg
/home/pi/Desktop/images/15122025/09/05/image_15122025_09_05_35_10728.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.524489164352417 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 09:20:32.253483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 09:20:42.065491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_15_2657.jpg', '/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_17_2497.jpg', '/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_21_3506.jpg', '/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_23_2629.jpg', '/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_27_3646.jpg', '/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_30_2714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_15_2657.jpg
/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_17_2497.jpg
/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_21_3506.jpg
/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_23_2629.jpg
/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_27_3646.jpg
/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_30_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":["1399452151","1399452150","1399452153","1399452149","1399452152","1399452146"],"photo_ids_order":["1399452146","1399452149","1399452150","1399452151","1399452152","1399452153"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/884f24dc67a21907875c3607901a77f1.jpg","text":"TemporaryFile(/tmp/multipartBody4668939476110364852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786902760,"filename":"image_05112025_14_22_23_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/15/46b67e0ad7e7e4a47ace0562683d5bb9.jpg","text":"TemporaryFile(/tmp/multipartBody5636282457178108739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786902760,"filename":"image_05112025_14_22_21_3506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5a490ab73e9a95dc67846a74bc22a8b9.jpg","text":"TemporaryFile(/tmp/multipartBody6907493092934390707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786902760,"filename":"image_05112025_14_22_30_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/15/9677013ceb35e1f91c5932216d276ffc.jpg","text":"TemporaryFile(/tmp/multipartBody4324155088469291314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786902760,"filename":"image_05112025_14_22_17_2497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dcc60b7aa72853477221d275ed579211.jpg","text":"TemporaryFile(/tmp/multipartBody1183784642006852712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786902760,"filename":"image_05112025_14_22_27_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/15/633a493e5bc7f39cf73532f3f6852980.jpg","text":"TemporaryFile(/tmp/multipartBody7105746881699513210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786902760,"filename":"image_05112025_14_22_15_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452150","file1":"1399452149","file0":"1399452146","file4":"1399452152","file5":"1399452153","file3":"1399452151"},"map_files_photo_id_array":[{"photo_id":"1399452153","filename":"file5"},{"photo_id":"1399452150","filename":"file2"},{"photo_id":"1399452152","filename":"file4"},{"photo_id":"1399452149","filename":"file1"},{"photo_id":"1399452146","filename":"file0"},{"photo_id":"1399452151","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399452151":["hashtag1","hashtag2"]},{"1399452150":["hashtag1","hashtag2"]},{"1399452153":["hashtag1","hashtag2"]},{"1399452149":["hashtag1","hashtag2"]},{"1399452152":["hashtag1","hashtag2"]},{"1399452146":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399452151, 1399452150, 1399452153, 1399452149, 1399452152, 1399452146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59541177749634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 09:21:22.432440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/04/image_15122025_09_04_44_9604.jpg', '/home/pi/Desktop/images/15122025/09/04/image_15122025_09_04_55_10676.jpg', '/home/pi/Desktop/images/15122025/09/04/image_15122025_09_05_04_9869.jpg', '/home/pi/Desktop/images/15122025/09/05/image_15122025_09_05_14_9637.jpg', '/home/pi/Desktop/images/15122025/09/05/image_15122025_09_05_24_9774.jpg', '/home/pi/Desktop/images/15122025/09/05/image_15122025_09_05_35_10728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/04/image_15122025_09_04_44_9604.jpg
/home/pi/Desktop/images/15122025/09/04/image_15122025_09_04_55_10676.jpg
/home/pi/Desktop/images/15122025/09/04/image_15122025_09_05_04_9869.jpg
/home/pi/Desktop/images/15122025/09/05/image_15122025_09_05_14_9637.jpg
/home/pi/Desktop/images/15122025/09/05/image_15122025_09_05_24_9774.jpg
/home/pi/Desktop/images/15122025/09/05/image_15122025_09_05_35_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":["1399452154","1399452163","1399452157","1399452165","1399452161","1399452158"],"photo_ids_order":["1399452154","1399452157","1399452158","1399452161","1399452163","1399452165"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/08bb59baf78d241f2f1b67396f23a0f7.jpg","text":"TemporaryFile(/tmp/multipartBody4079142572773073509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786943090,"filename":"image_15122025_09_04_44_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8bc85bcd9f23c088de0e577b602e6519.jpg","text":"TemporaryFile(/tmp/multipartBody6784200772751176621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786943090,"filename":"image_15122025_09_05_24_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b122fb2d89668f7e70c16b6cbb9fa9a2.jpg","text":"TemporaryFile(/tmp/multipartBody2228021470400688130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786943090,"filename":"image_15122025_09_04_55_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/629ddf4aa4f0d6f407fb342d99a5c5b5.jpg","text":"TemporaryFile(/tmp/multipartBody5618850982468484775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786943090,"filename":"image_15122025_09_05_35_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d7bf474ae54d7d96efcb56e05e118e76.jpg","text":"TemporaryFile(/tmp/multipartBody2466628237848131033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786943090,"filename":"image_15122025_09_05_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/15/2894718aaedc2e7d0e1d2e63088bc091.jpg","text":"TemporaryFile(/tmp/multipartBody7827392657538351226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765786943090,"filename":"image_15122025_09_05_04_9869.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452158","file1":"1399452157","file0":"1399452154","file4":"1399452163","file5":"1399452165","file3":"1399452161"},"map_files_photo_id_array":[{"photo_id":"1399452165","filename":"file5"},{"photo_id":"1399452158","filename":"file2"},{"photo_id":"1399452163","filename":"file4"},{"photo_id":"1399452157","filename":"file1"},{"photo_id":"1399452154","filename":"file0"},{"photo_id":"1399452161","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399452154":["hashtag1","hashtag2"]},{"1399452163":["hashtag1","hashtag2"]},{"1399452157":["hashtag1","hashtag2"]},{"1399452165":["hashtag1","hashtag2"]},{"1399452161":["hashtag1","hashtag2"]},{"1399452158":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399452154, 1399452163, 1399452157, 1399452165, 1399452161, 1399452158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.12989544868469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 09:22:12.560768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 09:22:22.659049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/05/image_15122025_09_05_44_9681.jpg', '/home/pi/Desktop/images/15122025/09/05/image_15122025_09_05_54_9842.jpg', '/home/pi/Desktop/images/15122025/09/05/image_15122025_09_06_04_9732.jpg', '/home/pi/Desktop/images/15122025/09/06/image_15122025_09_06_15_10762.jpg', '/home/pi/Desktop/images/15122025/09/06/image_15122025_09_06_24_9371.jpg', '/home/pi/Desktop/images/15122025/09/06/image_15122025_09_06_35_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/05/image_15122025_09_05_44_9681.jpg
/home/pi/Desktop/images/15122025/09/05/image_15122025_09_05_54_9842.jpg
/home/pi/Desktop/images/15122025/09/05/image_15122025_09_06_04_9732.jpg
/home/pi/Desktop/images/15122025/09/06/image_15122025_09_06_15_10762.jpg
/home/pi/Desktop/images/15122025/09/06/image_15122025_09_06_24_9371.jpg
/home/pi/Desktop/images/15122025/09/06/image_15122025_09_06_35_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":["1399452172","1399452175","1399452174","1399452168","1399452176","1399452170"],"photo_ids_order":["1399452168","1399452170","1399452172","1399452174","1399452175","1399452176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cf857b6c08369b9b8e9cde8fc327741d.jpg","text":"TemporaryFile(/tmp/multipartBody8445892220038694751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787003325,"filename":"image_15122025_09_06_04_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c5abe47d4fc700b0e78c9162664a3b86.jpg","text":"TemporaryFile(/tmp/multipartBody3338400278848459075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787003325,"filename":"image_15122025_09_06_24_9371.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/17f5af50ff2a6d4a5e212ceccd3b2f0b.jpg","text":"TemporaryFile(/tmp/multipartBody5948232992306719974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787003325,"filename":"image_15122025_09_06_15_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3738b8fdc9fd3faec8828075aeb32d23.jpg","text":"TemporaryFile(/tmp/multipartBody1728970274839909468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787003325,"filename":"image_15122025_09_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/15/28aecf98b544d6f389e365a120a492c5.jpg","text":"TemporaryFile(/tmp/multipartBody6789615198271366123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787003325,"filename":"image_15122025_09_06_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/15/6c80c398d28c2da282b2069b3448407f.jpg","text":"TemporaryFile(/tmp/multipartBody7951562123162292784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787003325,"filename":"image_15122025_09_05_54_9842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452172","file1":"1399452170","file0":"1399452168","file4":"1399452175","file5":"1399452176","file3":"1399452174"},"map_files_photo_id_array":[{"photo_id":"1399452176","filename":"file5"},{"photo_id":"1399452172","filename":"file2"},{"photo_id":"1399452175","filename":"file4"},{"photo_id":"1399452170","filename":"file1"},{"photo_id":"1399452168","filename":"file0"},{"photo_id":"1399452174","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399452172":["hashtag1","hashtag2"]},{"1399452175":["hashtag1","hashtag2"]},{"1399452174":["hashtag1","hashtag2"]},{"1399452168":["hashtag1","hashtag2"]},{"1399452176":["hashtag1","hashtag2"]},{"1399452170":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399452172, 1399452175, 1399452174, 1399452168, 1399452176, 1399452170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75914406776428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 09:23:03.492485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/06/image_15122025_09_06_44_9706.jpg', '/home/pi/Desktop/images/15122025/09/06/image_15122025_09_06_54_9702.jpg', '/home/pi/Desktop/images/15122025/09/06/image_15122025_09_07_05_10637.jpg', '/home/pi/Desktop/images/15122025/09/07/image_15122025_09_07_14_9813.jpg', '/home/pi/Desktop/images/15122025/09/07/image_15122025_09_07_25_10156.jpg', '/home/pi/Desktop/images/15122025/09/07/image_15122025_09_07_34_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/06/image_15122025_09_06_44_9706.jpg
/home/pi/Desktop/images/15122025/09/06/image_15122025_09_06_54_9702.jpg
/home/pi/Desktop/images/15122025/09/06/image_15122025_09_07_05_10637.jpg
/home/pi/Desktop/images/15122025/09/07/image_15122025_09_07_14_9813.jpg
/home/pi/Desktop/images/15122025/09/07/image_15122025_09_07_25_10156.jpg
/home/pi/Desktop/images/15122025/09/07/image_15122025_09_07_34_9613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399452184","1399452178","1399452180","1399452183","1399452186","1399452182"],"photo_ids_order":["1399452178","1399452180","1399452182","1399452183","1399452184","1399452186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8238375d4d143eb32a1c816c19c7d36d.jpg","text":"TemporaryFile(/tmp/multipartBody4138742211932237091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787044181,"filename":"image_15122025_09_07_25_10156.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b679e4e6b799ae0cf0888feeec49fb1c.jpg","text":"TemporaryFile(/tmp/multipartBody308688693424265078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787044181,"filename":"image_15122025_09_06_44_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/87ffc3f2ccc6710a20116b9a704d473c.jpg","text":"TemporaryFile(/tmp/multipartBody4821241438044640486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787044181,"filename":"image_15122025_09_06_54_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0372575d95e479d2693a7a692138a22e.jpg","text":"TemporaryFile(/tmp/multipartBody8451111349819373385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787044181,"filename":"image_15122025_09_07_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/15/108e7073b91a7543348351a617c301e4.jpg","text":"TemporaryFile(/tmp/multipartBody145560352451504014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787044181,"filename":"image_15122025_09_07_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/15/2c8cd7020db52554ee1bc9966fb05473.jpg","text":"TemporaryFile(/tmp/multipartBody4344433513927336094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787044181,"filename":"image_15122025_09_07_05_10637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452182","file1":"1399452180","file0":"1399452178","file4":"1399452184","file5":"1399452186","file3":"1399452183"},"map_files_photo_id_array":[{"photo_id":"1399452186","filename":"file5"},{"photo_id":"1399452182","filename":"file2"},{"photo_id":"1399452184","filename":"file4"},{"photo_id":"1399452180","filename":"file1"},{"photo_id":"1399452178","filename":"file0"},{"photo_id":"1399452183","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399452184":["hashtag1","hashtag2"]},{"1399452178":["hashtag1","hashtag2"]},{"1399452180":["hashtag1","hashtag2"]},{"1399452183":["hashtag1","hashtag2"]},{"1399452186":["hashtag1","hashtag2"]},{"1399452182":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399452184, 1399452178, 1399452180, 1399452183, 1399452186, 1399452182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69016909599304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 09:23:42.771586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_32_2625.jpg', '/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_36_3692.jpg', '/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_39_2650.jpg', '/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_41_2647.jpg', '/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_45_3696.jpg', '/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_48_2848.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_32_2625.jpg
/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_36_3692.jpg
/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_39_2650.jpg
/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_41_2647.jpg
/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_45_3696.jpg
/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_48_2848.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5856113433837891 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 09:24:02.769465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/07/image_15122025_09_07_44_9617.jpg', '/home/pi/Desktop/images/15122025/09/07/image_15122025_09_07_55_10746.jpg', '/home/pi/Desktop/images/15122025/09/07/image_15122025_09_08_04_9602.jpg', '/home/pi/Desktop/images/15122025/09/08/image_15122025_09_08_14_9790.jpg', '/home/pi/Desktop/images/15122025/09/08/image_15122025_09_08_25_10564.jpg', '/home/pi/Desktop/images/15122025/09/08/image_15122025_09_08_34_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/07/image_15122025_09_07_44_9617.jpg
/home/pi/Desktop/images/15122025/09/07/image_15122025_09_07_55_10746.jpg
/home/pi/Desktop/images/15122025/09/07/image_15122025_09_08_04_9602.jpg
/home/pi/Desktop/images/15122025/09/08/image_15122025_09_08_14_9790.jpg
/home/pi/Desktop/images/15122025/09/08/image_15122025_09_08_25_10564.jpg
/home/pi/Desktop/images/15122025/09/08/image_15122025_09_08_34_9705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399452209","1399452199","1399452203","1399452205","1399452207","1399452201"],"photo_ids_order":["1399452199","1399452201","1399452203","1399452205","1399452207","1399452209"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dac1a677ff621d765df88cec5381d02a.jpg","text":"TemporaryFile(/tmp/multipartBody4362804192945469936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787103445,"filename":"image_15122025_09_08_34_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/19370f0ebabe063a1c54b7a406189a43.jpg","text":"TemporaryFile(/tmp/multipartBody6281979765782042159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787103445,"filename":"image_15122025_09_07_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/15/41c5729ef8fb754d7e83ed0bd9dab207.jpg","text":"TemporaryFile(/tmp/multipartBody3263159354275915900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787103445,"filename":"image_15122025_09_08_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/15/b78ab183b1b0cd68b0b8d0e29dc8efcb.jpg","text":"TemporaryFile(/tmp/multipartBody6457423853232125795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787103445,"filename":"image_15122025_09_08_14_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/565b45bb648d67674b72315972f4b6f0.jpg","text":"TemporaryFile(/tmp/multipartBody8350456308217210631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787103445,"filename":"image_15122025_09_08_25_10564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cb1231c504bd9cd67f75ca396f26fe2e.jpg","text":"TemporaryFile(/tmp/multipartBody916833541866614955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787103445,"filename":"image_15122025_09_07_55_10746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452203","file1":"1399452201","file0":"1399452199","file4":"1399452207","file5":"1399452209","file3":"1399452205"},"map_files_photo_id_array":[{"photo_id":"1399452209","filename":"file5"},{"photo_id":"1399452203","filename":"file2"},{"photo_id":"1399452207","filename":"file4"},{"photo_id":"1399452201","filename":"file1"},{"photo_id":"1399452199","filename":"file0"},{"photo_id":"1399452205","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399452209":["hashtag1","hashtag2"]},{"1399452199":["hashtag1","hashtag2"]},{"1399452203":["hashtag1","hashtag2"]},{"1399452205":["hashtag1","hashtag2"]},{"1399452207":["hashtag1","hashtag2"]},{"1399452201":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399452209, 1399452199, 1399452203, 1399452205, 1399452207, 1399452201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94507336616516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 09:24:42.095213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_32_2625.jpg', '/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_36_3692.jpg', '/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_39_2650.jpg', '/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_41_2647.jpg', '/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_45_3696.jpg', '/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_48_2848.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_32_2625.jpg
/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_36_3692.jpg
/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_39_2650.jpg
/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_41_2647.jpg
/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_45_3696.jpg
/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_48_2848.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399452221","1399452215","1399452220","1399452223","1399452222","1399452219"],"photo_ids_order":["1399452215","1399452219","1399452220","1399452221","1399452222","1399452223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cca3c628a7f39ce4f1174c689f53bb70.jpg","text":"TemporaryFile(/tmp/multipartBody2529373368266392461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787142713,"filename":"image_05112025_14_22_41_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/669f29129f72ba0c909ab6d70b66a88c.jpg","text":"TemporaryFile(/tmp/multipartBody6951150941945137267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787142713,"filename":"image_05112025_14_22_32_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/15/2e44b5e2afe64784faf0fe6d8a80bc0b.jpg","text":"TemporaryFile(/tmp/multipartBody8753374547518508047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787142713,"filename":"image_05112025_14_22_39_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/15/8f9b8a9ab684bafc7c072edd8f51766d.jpg","text":"TemporaryFile(/tmp/multipartBody5348588813261157865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787142713,"filename":"image_05112025_14_22_48_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/15/6a97f9aa2f80e2b5d45ec7a4107c2476.jpg","text":"TemporaryFile(/tmp/multipartBody6017499957766040046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787142713,"filename":"image_05112025_14_22_45_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e4245c88de85d72f7016cccc831f243b.jpg","text":"TemporaryFile(/tmp/multipartBody2605271763427275489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787142713,"filename":"image_05112025_14_22_36_3692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452220","file1":"1399452219","file0":"1399452215","file4":"1399452222","file5":"1399452223","file3":"1399452221"},"map_files_photo_id_array":[{"photo_id":"1399452223","filename":"file5"},{"photo_id":"1399452220","filename":"file2"},{"photo_id":"1399452222","filename":"file4"},{"photo_id":"1399452219","filename":"file1"},{"photo_id":"1399452215","filename":"file0"},{"photo_id":"1399452221","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399452221":["hashtag1","hashtag2"]},{"1399452215":["hashtag1","hashtag2"]},{"1399452220":["hashtag1","hashtag2"]},{"1399452223":["hashtag1","hashtag2"]},{"1399452222":["hashtag1","hashtag2"]},{"1399452219":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399452221, 1399452215, 1399452220, 1399452223, 1399452222, 1399452219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.036147117614746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 09:25:22.297588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/08/image_15122025_09_08_44_9784.jpg', '/home/pi/Desktop/images/15122025/09/08/image_15122025_09_08_54_9824.jpg', '/home/pi/Desktop/images/15122025/09/08/image_15122025_09_09_05_10782.jpg', '/home/pi/Desktop/images/15122025/09/09/image_15122025_09_09_14_9650.jpg', '/home/pi/Desktop/images/15122025/09/09/image_15122025_09_09_24_9755.jpg', '/home/pi/Desktop/images/15122025/09/09/image_15122025_09_09_34_9845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/08/image_15122025_09_08_44_9784.jpg
/home/pi/Desktop/images/15122025/09/08/image_15122025_09_08_54_9824.jpg
/home/pi/Desktop/images/15122025/09/08/image_15122025_09_09_05_10782.jpg
/home/pi/Desktop/images/15122025/09/09/image_15122025_09_09_14_9650.jpg
/home/pi/Desktop/images/15122025/09/09/image_15122025_09_09_24_9755.jpg
/home/pi/Desktop/images/15122025/09/09/image_15122025_09_09_34_9845.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399452232","1399452235","1399452229","1399452231","1399452225","1399452227"],"photo_ids_order":["1399452225","1399452227","1399452229","1399452231","1399452232","1399452235"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/69647e3f8c2fe0c61f7151b09897f428.jpg","text":"TemporaryFile(/tmp/multipartBody5784033309265296991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787182919,"filename":"image_15122025_09_09_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/15/fc3cf581f14fbfd83dca67aab647c1b7.jpg","text":"TemporaryFile(/tmp/multipartBody3352376480096610410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787182919,"filename":"image_15122025_09_09_34_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/af1411390e381d86d37e991f60585b8d.jpg","text":"TemporaryFile(/tmp/multipartBody6916501273427483001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787182919,"filename":"image_15122025_09_09_05_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/15/e696cd1652547b8ca0379398db40bfd6.jpg","text":"TemporaryFile(/tmp/multipartBody1345841446646554471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787182919,"filename":"image_15122025_09_09_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/15/625ed7cacdaefb4a3e084471cc8fa40b.jpg","text":"TemporaryFile(/tmp/multipartBody989830170722903244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787182919,"filename":"image_15122025_09_08_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/15/c9c7c4b5bdce25757ec8923e01b8ee33.jpg","text":"TemporaryFile(/tmp/multipartBody7924780045077340102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787182919,"filename":"image_15122025_09_08_54_9824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452229","file1":"1399452227","file0":"1399452225","file4":"1399452232","file5":"1399452235","file3":"1399452231"},"map_files_photo_id_array":[{"photo_id":"1399452235","filename":"file5"},{"photo_id":"1399452229","filename":"file2"},{"photo_id":"1399452232","filename":"file4"},{"photo_id":"1399452227","filename":"file1"},{"photo_id":"1399452225","filename":"file0"},{"photo_id":"1399452231","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399452232":["hashtag1","hashtag2"]},{"1399452235":["hashtag1","hashtag2"]},{"1399452229":["hashtag1","hashtag2"]},{"1399452231":["hashtag1","hashtag2"]},{"1399452225":["hashtag1","hashtag2"]},{"1399452227":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399452232, 1399452235, 1399452229, 1399452231, 1399452225, 1399452227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49466872215271 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 09:26:03.146568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/09/image_15122025_09_09_44_10628.jpg', '/home/pi/Desktop/images/15122025/09/09/image_15122025_09_09_54_9815.jpg', '/home/pi/Desktop/images/15122025/09/09/image_15122025_09_10_04_9712.jpg', '/home/pi/Desktop/images/15122025/09/10/image_15122025_09_10_14_9696.jpg', '/home/pi/Desktop/images/15122025/09/10/image_15122025_09_10_24_10709.jpg', '/home/pi/Desktop/images/15122025/09/10/image_15122025_09_10_34_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/09/image_15122025_09_09_44_10628.jpg
/home/pi/Desktop/images/15122025/09/09/image_15122025_09_09_54_9815.jpg
/home/pi/Desktop/images/15122025/09/09/image_15122025_09_10_04_9712.jpg
/home/pi/Desktop/images/15122025/09/10/image_15122025_09_10_14_9696.jpg
/home/pi/Desktop/images/15122025/09/10/image_15122025_09_10_24_10709.jpg
/home/pi/Desktop/images/15122025/09/10/image_15122025_09_10_34_9678.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.532416820526123 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 09:26:12.596640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 09:26:22.583126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/09/image_15122025_09_09_44_10628.jpg', '/home/pi/Desktop/images/15122025/09/09/image_15122025_09_09_54_9815.jpg', '/home/pi/Desktop/images/15122025/09/09/image_15122025_09_10_04_9712.jpg', '/home/pi/Desktop/images/15122025/09/10/image_15122025_09_10_14_9696.jpg', '/home/pi/Desktop/images/15122025/09/10/image_15122025_09_10_24_10709.jpg', '/home/pi/Desktop/images/15122025/09/10/image_15122025_09_10_34_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/09/image_15122025_09_09_44_10628.jpg
/home/pi/Desktop/images/15122025/09/09/image_15122025_09_09_54_9815.jpg
/home/pi/Desktop/images/15122025/09/09/image_15122025_09_10_04_9712.jpg
/home/pi/Desktop/images/15122025/09/10/image_15122025_09_10_14_9696.jpg
/home/pi/Desktop/images/15122025/09/10/image_15122025_09_10_24_10709.jpg
/home/pi/Desktop/images/15122025/09/10/image_15122025_09_10_34_9678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399452247","1399452243","1399452249","1399452254","1399452251","1399452245"],"photo_ids_order":["1399452243","1399452245","1399452247","1399452249","1399452251","1399452254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8763b877f47eb5ea381c87859df78b7c.jpg","text":"TemporaryFile(/tmp/multipartBody8930202738796037958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787243205,"filename":"image_15122025_09_10_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/15/7dd12e31ee2bfa8f7e18dbdac1e47e85.jpg","text":"TemporaryFile(/tmp/multipartBody4898163301870793355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787243205,"filename":"image_15122025_09_09_44_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/15/00eca7b50cf40c6095df21f060692d41.jpg","text":"TemporaryFile(/tmp/multipartBody414045832681705963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787243205,"filename":"image_15122025_09_10_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/15/cb82714f1b0f8718df1a66bdeab7497a.jpg","text":"TemporaryFile(/tmp/multipartBody4389569160824837152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787243205,"filename":"image_15122025_09_10_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/15/b06852fd5db3032d82b34e01a36bd13f.jpg","text":"TemporaryFile(/tmp/multipartBody211218290855544393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787243205,"filename":"image_15122025_09_10_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/15/e595d7613ceb7b9c2ca2bf25648c2197.jpg","text":"TemporaryFile(/tmp/multipartBody2647374274161371996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787243205,"filename":"image_15122025_09_09_54_9815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452247","file1":"1399452245","file0":"1399452243","file4":"1399452251","file5":"1399452254","file3":"1399452249"},"map_files_photo_id_array":[{"photo_id":"1399452254","filename":"file5"},{"photo_id":"1399452247","filename":"file2"},{"photo_id":"1399452251","filename":"file4"},{"photo_id":"1399452245","filename":"file1"},{"photo_id":"1399452243","filename":"file0"},{"photo_id":"1399452249","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399452247":["hashtag1","hashtag2"]},{"1399452243":["hashtag1","hashtag2"]},{"1399452249":["hashtag1","hashtag2"]},{"1399452254":["hashtag1","hashtag2"]},{"1399452251":["hashtag1","hashtag2"]},{"1399452245":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399452247, 1399452243, 1399452249, 1399452254, 1399452251, 1399452245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09957003593445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 09:27:03.361248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/10/image_15122025_09_10_44_9711.jpg', '/home/pi/Desktop/images/15122025/09/10/image_15122025_09_10_55_10745.jpg', '/home/pi/Desktop/images/15122025/09/10/image_15122025_09_11_04_9751.jpg', '/home/pi/Desktop/images/15122025/09/11/image_15122025_09_11_14_9715.jpg', '/home/pi/Desktop/images/15122025/09/11/image_15122025_09_11_24_9675.jpg', '/home/pi/Desktop/images/15122025/09/11/image_15122025_09_11_34_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/10/image_15122025_09_10_44_9711.jpg
/home/pi/Desktop/images/15122025/09/10/image_15122025_09_10_55_10745.jpg
/home/pi/Desktop/images/15122025/09/10/image_15122025_09_11_04_9751.jpg
/home/pi/Desktop/images/15122025/09/11/image_15122025_09_11_14_9715.jpg
/home/pi/Desktop/images/15122025/09/11/image_15122025_09_11_24_9675.jpg
/home/pi/Desktop/images/15122025/09/11/image_15122025_09_11_34_10639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399452259","1399452256","1399452261","1399452258","1399452255","1399452257"],"photo_ids_order":["1399452255","1399452256","1399452257","1399452258","1399452259","1399452261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a1f034d207d8efed688423be0536171d.jpg","text":"TemporaryFile(/tmp/multipartBody4524630298764661517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787284100,"filename":"image_15122025_09_11_24_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d2caefee33c7a6724f0ef7d1e095e893.jpg","text":"TemporaryFile(/tmp/multipartBody79152923244529199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787284100,"filename":"image_15122025_09_10_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/15/f5ba079ba127c9c90c14a05eb505797a.jpg","text":"TemporaryFile(/tmp/multipartBody3610848175167267968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787284100,"filename":"image_15122025_09_11_34_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4da58b15dc0db9b304f9e0585f467e5e.jpg","text":"TemporaryFile(/tmp/multipartBody7752631339344016574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787284100,"filename":"image_15122025_09_11_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/15/63b862274eb76a4e99b4aaca25804ba7.jpg","text":"TemporaryFile(/tmp/multipartBody8851825582141625230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787284100,"filename":"image_15122025_09_10_44_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/19e9c9728b7fd95e45ee58753367d8fb.jpg","text":"TemporaryFile(/tmp/multipartBody4661150594845200332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787284100,"filename":"image_15122025_09_11_04_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452257","file1":"1399452256","file0":"1399452255","file4":"1399452259","file5":"1399452261","file3":"1399452258"},"map_files_photo_id_array":[{"photo_id":"1399452261","filename":"file5"},{"photo_id":"1399452257","filename":"file2"},{"photo_id":"1399452259","filename":"file4"},{"photo_id":"1399452256","filename":"file1"},{"photo_id":"1399452255","filename":"file0"},{"photo_id":"1399452258","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399452259":["hashtag1","hashtag2"]},{"1399452256":["hashtag1","hashtag2"]},{"1399452261":["hashtag1","hashtag2"]},{"1399452258":["hashtag1","hashtag2"]},{"1399452255":["hashtag1","hashtag2"]},{"1399452257":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399452259, 1399452256, 1399452261, 1399452258, 1399452255, 1399452257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.422091484069824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 09:27:42.803914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_51_2951.jpg', '/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_54_2787.jpg', '/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_56_2546.jpg', '/home/pi/Desktop/images/05112025/14/22/image_05112025_14_23_00_3552.jpg', '/home/pi/Desktop/images/05112025/14/23/image_05112025_14_23_02_2602.jpg', '/home/pi/Desktop/images/05112025/14/23/image_05112025_14_23_09_3662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_51_2951.jpg
/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_54_2787.jpg
/home/pi/Desktop/images/05112025/14/22/image_05112025_14_22_56_2546.jpg
/home/pi/Desktop/images/05112025/14/22/image_05112025_14_23_00_3552.jpg
/home/pi/Desktop/images/05112025/14/23/image_05112025_14_23_02_2602.jpg
/home/pi/Desktop/images/05112025/14/23/image_05112025_14_23_09_3662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399452271","1399452270","1399452273","1399452267","1399452272","1399452269"],"photo_ids_order":["1399452267","1399452269","1399452270","1399452271","1399452272","1399452273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2b76129524f2d9514e964294d3e2db09.jpg","text":"TemporaryFile(/tmp/multipartBody9040256596504396852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787323543,"filename":"image_05112025_14_23_00_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/15/fcb4d5fa0cdb44022d5730547b9816a2.jpg","text":"TemporaryFile(/tmp/multipartBody5627063974262912617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787323543,"filename":"image_05112025_14_22_56_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/15/44b49eba46c4c63a12877d37ea5d0082.jpg","text":"TemporaryFile(/tmp/multipartBody1304443775286245787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787323543,"filename":"image_05112025_14_23_09_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/38b400ba645e33e0b14e27b4b30380d3.jpg","text":"TemporaryFile(/tmp/multipartBody6715737461451824299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787323543,"filename":"image_05112025_14_22_51_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/15/d08e59175cb1804608b528dcb737c803.jpg","text":"TemporaryFile(/tmp/multipartBody16384769442157944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787323543,"filename":"image_05112025_14_23_02_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/15/67711484f51cad16a7f5ab4ecf304371.jpg","text":"TemporaryFile(/tmp/multipartBody8791539231300490937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787323543,"filename":"image_05112025_14_22_54_2787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452270","file1":"1399452269","file0":"1399452267","file4":"1399452272","file5":"1399452273","file3":"1399452271"},"map_files_photo_id_array":[{"photo_id":"1399452273","filename":"file5"},{"photo_id":"1399452270","filename":"file2"},{"photo_id":"1399452272","filename":"file4"},{"photo_id":"1399452269","filename":"file1"},{"photo_id":"1399452267","filename":"file0"},{"photo_id":"1399452271","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399452271":["hashtag1","hashtag2"]},{"1399452270":["hashtag1","hashtag2"]},{"1399452273":["hashtag1","hashtag2"]},{"1399452267":["hashtag1","hashtag2"]},{"1399452272":["hashtag1","hashtag2"]},{"1399452269":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399452271, 1399452270, 1399452273, 1399452267, 1399452272, 1399452269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.319663763046265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 09:28:22.151328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/11/image_15122025_09_11_44_9697.jpg', '/home/pi/Desktop/images/15122025/09/11/image_15122025_09_11_54_9731.jpg', '/home/pi/Desktop/images/15122025/09/11/image_15122025_09_12_04_10663.jpg', '/home/pi/Desktop/images/15122025/09/12/image_15122025_09_12_14_9625.jpg', '/home/pi/Desktop/images/15122025/09/12/image_15122025_09_12_24_9668.jpg', '/home/pi/Desktop/images/15122025/09/12/image_15122025_09_12_34_10741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/11/image_15122025_09_11_44_9697.jpg
/home/pi/Desktop/images/15122025/09/11/image_15122025_09_11_54_9731.jpg
/home/pi/Desktop/images/15122025/09/11/image_15122025_09_12_04_10663.jpg
/home/pi/Desktop/images/15122025/09/12/image_15122025_09_12_14_9625.jpg
/home/pi/Desktop/images/15122025/09/12/image_15122025_09_12_24_9668.jpg
/home/pi/Desktop/images/15122025/09/12/image_15122025_09_12_34_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":["1399452280","1399452274","1399452282","1399452287","1399452275","1399452278"],"photo_ids_order":["1399452274","1399452275","1399452278","1399452280","1399452282","1399452287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/74f98621f41803c034bbbf58b645fdd6.jpg","text":"TemporaryFile(/tmp/multipartBody6211987565903779259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787362778,"filename":"image_15122025_09_12_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/15/1f4df0f6cf67741b24780fa78fbe18f3.jpg","text":"TemporaryFile(/tmp/multipartBody6852567196994527091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787362778,"filename":"image_15122025_09_11_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/15/30a6ba61c04236966f63a71d083540df.jpg","text":"TemporaryFile(/tmp/multipartBody2290358331299471631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787362778,"filename":"image_15122025_09_12_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/15/d387cb2f7be7a6b635a1964841599e77.jpg","text":"TemporaryFile(/tmp/multipartBody3016399435803244900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787362778,"filename":"image_15122025_09_12_34_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7deb708cff3a1d7f80b0ca91ff4ce452.jpg","text":"TemporaryFile(/tmp/multipartBody1396036322926012946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787362778,"filename":"image_15122025_09_11_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/15/f5e95df80e6708b687103742c2d9a854.jpg","text":"TemporaryFile(/tmp/multipartBody604607830842253622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787362778,"filename":"image_15122025_09_12_04_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452278","file1":"1399452275","file0":"1399452274","file4":"1399452282","file5":"1399452287","file3":"1399452280"},"map_files_photo_id_array":[{"photo_id":"1399452287","filename":"file5"},{"photo_id":"1399452278","filename":"file2"},{"photo_id":"1399452282","filename":"file4"},{"photo_id":"1399452275","filename":"file1"},{"photo_id":"1399452274","filename":"file0"},{"photo_id":"1399452280","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399452280":["hashtag1","hashtag2"]},{"1399452274":["hashtag1","hashtag2"]},{"1399452282":["hashtag1","hashtag2"]},{"1399452287":["hashtag1","hashtag2"]},{"1399452275":["hashtag1","hashtag2"]},{"1399452278":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399452280, 1399452274, 1399452282, 1399452287, 1399452275, 1399452278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.238839626312256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 09:29:03.291082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/12/image_15122025_09_12_44_9662.jpg', '/home/pi/Desktop/images/15122025/09/12/image_15122025_09_12_54_9701.jpg', '/home/pi/Desktop/images/15122025/09/12/image_15122025_09_13_05_10731.jpg', '/home/pi/Desktop/images/15122025/09/13/image_15122025_09_13_14_9636.jpg', '/home/pi/Desktop/images/15122025/09/13/image_15122025_09_13_24_9927.jpg', '/home/pi/Desktop/images/15122025/09/13/image_15122025_09_13_34_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/12/image_15122025_09_12_44_9662.jpg
/home/pi/Desktop/images/15122025/09/12/image_15122025_09_12_54_9701.jpg
/home/pi/Desktop/images/15122025/09/12/image_15122025_09_13_05_10731.jpg
/home/pi/Desktop/images/15122025/09/13/image_15122025_09_13_14_9636.jpg
/home/pi/Desktop/images/15122025/09/13/image_15122025_09_13_24_9927.jpg
/home/pi/Desktop/images/15122025/09/13/image_15122025_09_13_34_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":["1399452298","1399452292","1399452294","1399452297","1399452300","1399452295"],"photo_ids_order":["1399452292","1399452294","1399452295","1399452297","1399452298","1399452300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ea0a5ea8484d77107771759763e58458.jpg","text":"TemporaryFile(/tmp/multipartBody7228636316328020193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787404068,"filename":"image_15122025_09_13_24_9927.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0fbb777ed46b2801b1a962fe726c87b3.jpg","text":"TemporaryFile(/tmp/multipartBody2534520933513058037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787404068,"filename":"image_15122025_09_12_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/15/f70ee22c49786871787f2ae28c48a03b.jpg","text":"TemporaryFile(/tmp/multipartBody4738324841885504246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787404068,"filename":"image_15122025_09_12_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/15/929c454660cd6ae6598ad31fd1d3082d.jpg","text":"TemporaryFile(/tmp/multipartBody6633168228016076549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787404068,"filename":"image_15122025_09_13_14_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b4f7400b18618b1a5f453799431d6a73.jpg","text":"TemporaryFile(/tmp/multipartBody3123248755169648700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787404068,"filename":"image_15122025_09_13_34_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fe34a6bfcff66e8538b66aaaa2ab1cf7.jpg","text":"TemporaryFile(/tmp/multipartBody7776604215770947618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787404068,"filename":"image_15122025_09_13_05_10731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452295","file1":"1399452294","file0":"1399452292","file4":"1399452298","file5":"1399452300","file3":"1399452297"},"map_files_photo_id_array":[{"photo_id":"1399452300","filename":"file5"},{"photo_id":"1399452295","filename":"file2"},{"photo_id":"1399452298","filename":"file4"},{"photo_id":"1399452294","filename":"file1"},{"photo_id":"1399452292","filename":"file0"},{"photo_id":"1399452297","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399452298":["hashtag1","hashtag2"]},{"1399452292":["hashtag1","hashtag2"]},{"1399452294":["hashtag1","hashtag2"]},{"1399452297":["hashtag1","hashtag2"]},{"1399452300":["hashtag1","hashtag2"]},{"1399452295":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399452298, 1399452292, 1399452294, 1399452297, 1399452300, 1399452295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.357388734817505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 09:29:42.218915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/23/image_05112025_14_23_14_2675.jpg', '/home/pi/Desktop/images/05112025/14/23/image_05112025_14_23_18_3671.jpg', '/home/pi/Desktop/images/05112025/14/23/image_05112025_14_23_21_2605.jpg', '/home/pi/Desktop/images/05112025/14/23/image_05112025_14_23_23_2572.jpg', '/home/pi/Desktop/images/05112025/14/23/image_05112025_14_23_27_3662.jpg', '/home/pi/Desktop/images/05112025/14/23/image_05112025_14_23_29_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/23/image_05112025_14_23_14_2675.jpg
/home/pi/Desktop/images/05112025/14/23/image_05112025_14_23_18_3671.jpg
/home/pi/Desktop/images/05112025/14/23/image_05112025_14_23_21_2605.jpg
/home/pi/Desktop/images/05112025/14/23/image_05112025_14_23_23_2572.jpg
/home/pi/Desktop/images/05112025/14/23/image_05112025_14_23_27_3662.jpg
/home/pi/Desktop/images/05112025/14/23/image_05112025_14_23_29_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":["1399452320","1399452316","1399452306","1399452315","1399452318","1399452317"],"photo_ids_order":["1399452306","1399452315","1399452316","1399452317","1399452318","1399452320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e664b7e8538877281303d3f3c4e116c8.jpg","text":"TemporaryFile(/tmp/multipartBody3022847244641347119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787442925,"filename":"image_05112025_14_23_29_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/02572300bd8a8d1ced389630b1250bd6.jpg","text":"TemporaryFile(/tmp/multipartBody6365826951338891005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787442925,"filename":"image_05112025_14_23_21_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/15/5f89b0d449cfca907f800a7955fc9d83.jpg","text":"TemporaryFile(/tmp/multipartBody5718883207923444106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787442925,"filename":"image_05112025_14_23_14_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/15/295b17672ed47db28f22d1cd14f4d922.jpg","text":"TemporaryFile(/tmp/multipartBody3117912016694324461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787442925,"filename":"image_05112025_14_23_18_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/15/996928767b2f36f873da901fff7c449e.jpg","text":"TemporaryFile(/tmp/multipartBody982813997810211997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787442925,"filename":"image_05112025_14_23_27_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/476a2909f20c0d9f03c658f139792096.jpg","text":"TemporaryFile(/tmp/multipartBody8049174487245059518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787442925,"filename":"image_05112025_14_23_23_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452316","file1":"1399452315","file0":"1399452306","file4":"1399452318","file5":"1399452320","file3":"1399452317"},"map_files_photo_id_array":[{"photo_id":"1399452320","filename":"file5"},{"photo_id":"1399452316","filename":"file2"},{"photo_id":"1399452318","filename":"file4"},{"photo_id":"1399452315","filename":"file1"},{"photo_id":"1399452306","filename":"file0"},{"photo_id":"1399452317","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399452320":["hashtag1","hashtag2"]},{"1399452316":["hashtag1","hashtag2"]},{"1399452306":["hashtag1","hashtag2"]},{"1399452315":["hashtag1","hashtag2"]},{"1399452318":["hashtag1","hashtag2"]},{"1399452317":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399452320, 1399452316, 1399452306, 1399452315, 1399452318, 1399452317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92630910873413 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 09:30:22.483403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/13/image_15122025_09_13_45_10763.jpg', '/home/pi/Desktop/images/15122025/09/13/image_15122025_09_13_54_9713.jpg', '/home/pi/Desktop/images/15122025/09/13/image_15122025_09_14_04_9681.jpg', '/home/pi/Desktop/images/15122025/09/14/image_15122025_09_14_14_9761.jpg', '/home/pi/Desktop/images/15122025/09/14/image_15122025_09_14_24_10721.jpg', '/home/pi/Desktop/images/15122025/09/14/image_15122025_09_14_34_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/13/image_15122025_09_13_45_10763.jpg
/home/pi/Desktop/images/15122025/09/13/image_15122025_09_13_54_9713.jpg
/home/pi/Desktop/images/15122025/09/13/image_15122025_09_14_04_9681.jpg
/home/pi/Desktop/images/15122025/09/14/image_15122025_09_14_14_9761.jpg
/home/pi/Desktop/images/15122025/09/14/image_15122025_09_14_24_10721.jpg
/home/pi/Desktop/images/15122025/09/14/image_15122025_09_14_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":["1399452328","1399452325","1399452330","1399452333","1399452336","1399452321"],"photo_ids_order":["1399452321","1399452325","1399452328","1399452330","1399452333","1399452336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d92f8361fdb68e3e503e6a921f4ae08d.jpg","text":"TemporaryFile(/tmp/multipartBody832195842818009387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787483119,"filename":"image_15122025_09_14_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/15/dba91a2dfb6bf0615b027ef1c83610d0.jpg","text":"TemporaryFile(/tmp/multipartBody1334265926973930107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787483119,"filename":"image_15122025_09_13_54_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/25ca0c0c1c30245ac58ca2729a4f4cef.jpg","text":"TemporaryFile(/tmp/multipartBody6253187655776864559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787483119,"filename":"image_15122025_09_14_14_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9dc857462b63916e88d0a6083b141356.jpg","text":"TemporaryFile(/tmp/multipartBody3048062470231328632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787483119,"filename":"image_15122025_09_14_24_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2c79d120c7594f15c1d4e30863768c6e.jpg","text":"TemporaryFile(/tmp/multipartBody167600859389833540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787483119,"filename":"image_15122025_09_14_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/15/a6421631a35b78f478f83df608065caf.jpg","text":"TemporaryFile(/tmp/multipartBody5297908010717407471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787483119,"filename":"image_15122025_09_13_45_10763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452328","file1":"1399452325","file0":"1399452321","file4":"1399452333","file5":"1399452336","file3":"1399452330"},"map_files_photo_id_array":[{"photo_id":"1399452336","filename":"file5"},{"photo_id":"1399452328","filename":"file2"},{"photo_id":"1399452333","filename":"file4"},{"photo_id":"1399452325","filename":"file1"},{"photo_id":"1399452321","filename":"file0"},{"photo_id":"1399452330","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399452328":["hashtag1","hashtag2"]},{"1399452325":["hashtag1","hashtag2"]},{"1399452330":["hashtag1","hashtag2"]},{"1399452333":["hashtag1","hashtag2"]},{"1399452336":["hashtag1","hashtag2"]},{"1399452321":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399452328, 1399452325, 1399452330, 1399452333, 1399452336, 1399452321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83010649681091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 09:31:03.392542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/14/image_15122025_09_14_44_9565.jpg', '/home/pi/Desktop/images/15122025/09/14/image_15122025_09_14_55_10936.jpg', '/home/pi/Desktop/images/15122025/09/14/image_15122025_09_15_04_9714.jpg', '/home/pi/Desktop/images/15122025/09/15/image_15122025_09_15_14_9736.jpg', '/home/pi/Desktop/images/15122025/09/15/image_15122025_09_15_24_9747.jpg', '/home/pi/Desktop/images/15122025/09/15/image_15122025_09_15_35_10683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/14/image_15122025_09_14_44_9565.jpg
/home/pi/Desktop/images/15122025/09/14/image_15122025_09_14_55_10936.jpg
/home/pi/Desktop/images/15122025/09/14/image_15122025_09_15_04_9714.jpg
/home/pi/Desktop/images/15122025/09/15/image_15122025_09_15_14_9736.jpg
/home/pi/Desktop/images/15122025/09/15/image_15122025_09_15_24_9747.jpg
/home/pi/Desktop/images/15122025/09/15/image_15122025_09_15_35_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":["1399452376","1399452373","1399452343","1399452351","1399452374","1399452362"],"photo_ids_order":["1399452343","1399452351","1399452362","1399452373","1399452374","1399452376"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0fb16f4e83ca8c5696018110c75f3e60.jpg","text":"TemporaryFile(/tmp/multipartBody636315964197927213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787524107,"filename":"image_15122025_09_15_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/15/b2dadc3b091740ead02b809db1fe8bdb.jpg","text":"TemporaryFile(/tmp/multipartBody660481571406894560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787524107,"filename":"image_15122025_09_15_14_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f10255ce8f6223d839db8b210d96c149.jpg","text":"TemporaryFile(/tmp/multipartBody1159036449269540072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787524107,"filename":"image_15122025_09_14_44_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/efb48587d8cde0e61a17098f2f30f424.jpg","text":"TemporaryFile(/tmp/multipartBody542162704809750474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787524107,"filename":"image_15122025_09_14_55_10936.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/50c893fc5807b7eb40129255011920a8.jpg","text":"TemporaryFile(/tmp/multipartBody2472603941641679486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787524107,"filename":"image_15122025_09_15_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/15/56def7899aea5b8d01e507a91fe6326e.jpg","text":"TemporaryFile(/tmp/multipartBody6517060784609331835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787524107,"filename":"image_15122025_09_15_04_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452362","file1":"1399452351","file0":"1399452343","file4":"1399452374","file5":"1399452376","file3":"1399452373"},"map_files_photo_id_array":[{"photo_id":"1399452376","filename":"file5"},{"photo_id":"1399452362","filename":"file2"},{"photo_id":"1399452374","filename":"file4"},{"photo_id":"1399452351","filename":"file1"},{"photo_id":"1399452343","filename":"file0"},{"photo_id":"1399452373","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399452376":["hashtag1","hashtag2"]},{"1399452373":["hashtag1","hashtag2"]},{"1399452343":["hashtag1","hashtag2"]},{"1399452351":["hashtag1","hashtag2"]},{"1399452374":["hashtag1","hashtag2"]},{"1399452362":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399452376, 1399452373, 1399452343, 1399452351, 1399452374, 1399452362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.213027238845825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 09:31:42.634523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/23/image_05112025_14_23_32_2602.jpg', '/home/pi/Desktop/images/05112025/14/23/image_05112025_14_23_36_3874.jpg', '/home/pi/Desktop/images/05112025/14/23/image_05112025_14_23_39_2934.jpg', '/home/pi/Desktop/images/05112025/14/23/image_05112025_14_23_42_2684.jpg', '/home/pi/Desktop/images/05112025/14/23/image_05112025_14_23_44_2650.jpg', '/home/pi/Desktop/images/05112025/14/23/image_05112025_14_23_48_3860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/23/image_05112025_14_23_32_2602.jpg
/home/pi/Desktop/images/05112025/14/23/image_05112025_14_23_36_3874.jpg
/home/pi/Desktop/images/05112025/14/23/image_05112025_14_23_39_2934.jpg
/home/pi/Desktop/images/05112025/14/23/image_05112025_14_23_42_2684.jpg
/home/pi/Desktop/images/05112025/14/23/image_05112025_14_23_44_2650.jpg
/home/pi/Desktop/images/05112025/14/23/image_05112025_14_23_48_3860.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399452382","1399452385","1399452388","1399452387","1399452384","1399452386"],"photo_ids_order":["1399452382","1399452384","1399452385","1399452386","1399452387","1399452388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3bf1953582e5b7aa865788dc8d111001.jpg","text":"TemporaryFile(/tmp/multipartBody7178033696822738516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787563365,"filename":"image_05112025_14_23_32_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/15/0c816305ca0fd3f32c6ea28916848ea3.jpg","text":"TemporaryFile(/tmp/multipartBody4595910697371570713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787563365,"filename":"image_05112025_14_23_39_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/15/64c47eb5449e3b6aadb51808420038b2.jpg","text":"TemporaryFile(/tmp/multipartBody5214844735688546787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787563365,"filename":"image_05112025_14_23_48_3860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/98172c45f5522bec96d1c04f60f38359.jpg","text":"TemporaryFile(/tmp/multipartBody3930219197656086356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787563365,"filename":"image_05112025_14_23_44_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/15/3fdc9a36c2c5ce14019b4f1d2e13c0bf.jpg","text":"TemporaryFile(/tmp/multipartBody5133909727219737391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787563365,"filename":"image_05112025_14_23_36_3874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/da86c5409ec3f99ffb587d1358c3dc08.jpg","text":"TemporaryFile(/tmp/multipartBody2344078593739938971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787563365,"filename":"image_05112025_14_23_42_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452385","file1":"1399452384","file0":"1399452382","file4":"1399452387","file5":"1399452388","file3":"1399452386"},"map_files_photo_id_array":[{"photo_id":"1399452388","filename":"file5"},{"photo_id":"1399452385","filename":"file2"},{"photo_id":"1399452387","filename":"file4"},{"photo_id":"1399452384","filename":"file1"},{"photo_id":"1399452382","filename":"file0"},{"photo_id":"1399452386","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399452382":["hashtag1","hashtag2"]},{"1399452385":["hashtag1","hashtag2"]},{"1399452388":["hashtag1","hashtag2"]},{"1399452387":["hashtag1","hashtag2"]},{"1399452384":["hashtag1","hashtag2"]},{"1399452386":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399452382, 1399452385, 1399452388, 1399452387, 1399452384, 1399452386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66205096244812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 09:32:21.978527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/15/image_15122025_09_15_44_9810.jpg', '/home/pi/Desktop/images/15122025/09/15/image_15122025_09_15_54_9869.jpg', '/home/pi/Desktop/images/15122025/09/15/image_15122025_09_16_04_9715.jpg', '/home/pi/Desktop/images/15122025/09/16/image_15122025_09_16_14_9910.jpg', '/home/pi/Desktop/images/15122025/09/16/image_15122025_09_16_24_10608.jpg', '/home/pi/Desktop/images/15122025/09/16/image_15122025_09_16_34_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/15/image_15122025_09_15_44_9810.jpg
/home/pi/Desktop/images/15122025/09/15/image_15122025_09_15_54_9869.jpg
/home/pi/Desktop/images/15122025/09/15/image_15122025_09_16_04_9715.jpg
/home/pi/Desktop/images/15122025/09/16/image_15122025_09_16_14_9910.jpg
/home/pi/Desktop/images/15122025/09/16/image_15122025_09_16_24_10608.jpg
/home/pi/Desktop/images/15122025/09/16/image_15122025_09_16_34_9685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399452391","1399452399","1399452393","1399452405","1399452402","1399452389"],"photo_ids_order":["1399452389","1399452391","1399452393","1399452399","1399452402","1399452405"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5e2eeecaf2658bf6865635d221d97011.jpg","text":"TemporaryFile(/tmp/multipartBody6220920548481017770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787602721,"filename":"image_15122025_09_15_54_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/15/41196577d1a0f6b2e21a66f148b5c266.jpg","text":"TemporaryFile(/tmp/multipartBody501846571064593871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787602721,"filename":"image_15122025_09_16_14_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/15/4b3839e4355deda2df6ba3b79dc15b15.jpg","text":"TemporaryFile(/tmp/multipartBody1075621177705324862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787602721,"filename":"image_15122025_09_16_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/15/e82d080cca87acfde8474a5fa863ba50.jpg","text":"TemporaryFile(/tmp/multipartBody8352365321178254623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787602721,"filename":"image_15122025_09_16_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/15/0082d10566b229d7c1f1af519a794b68.jpg","text":"TemporaryFile(/tmp/multipartBody7408110230843734027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787602721,"filename":"image_15122025_09_16_24_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9ec0c832bd130f62f153dee645277154.jpg","text":"TemporaryFile(/tmp/multipartBody6631378379604563209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787602721,"filename":"image_15122025_09_15_44_9810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452393","file1":"1399452391","file0":"1399452389","file4":"1399452402","file5":"1399452405","file3":"1399452399"},"map_files_photo_id_array":[{"photo_id":"1399452405","filename":"file5"},{"photo_id":"1399452393","filename":"file2"},{"photo_id":"1399452402","filename":"file4"},{"photo_id":"1399452391","filename":"file1"},{"photo_id":"1399452389","filename":"file0"},{"photo_id":"1399452399","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399452391":["hashtag1","hashtag2"]},{"1399452399":["hashtag1","hashtag2"]},{"1399452393":["hashtag1","hashtag2"]},{"1399452405":["hashtag1","hashtag2"]},{"1399452402":["hashtag1","hashtag2"]},{"1399452389":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399452391, 1399452399, 1399452393, 1399452405, 1399452402, 1399452389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.388023376464844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 09:33:02.714803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/16/image_15122025_09_16_44_9798.jpg', '/home/pi/Desktop/images/15122025/09/16/image_15122025_09_16_54_9936.jpg', '/home/pi/Desktop/images/15122025/09/16/image_15122025_09_17_04_10563.jpg', '/home/pi/Desktop/images/15122025/09/17/image_15122025_09_17_14_9603.jpg', '/home/pi/Desktop/images/15122025/09/17/image_15122025_09_17_25_10589.jpg', '/home/pi/Desktop/images/15122025/09/17/image_15122025_09_17_34_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/16/image_15122025_09_16_44_9798.jpg
/home/pi/Desktop/images/15122025/09/16/image_15122025_09_16_54_9936.jpg
/home/pi/Desktop/images/15122025/09/16/image_15122025_09_17_04_10563.jpg
/home/pi/Desktop/images/15122025/09/17/image_15122025_09_17_14_9603.jpg
/home/pi/Desktop/images/15122025/09/17/image_15122025_09_17_25_10589.jpg
/home/pi/Desktop/images/15122025/09/17/image_15122025_09_17_34_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":["1399452421","1399452424","1399452418","1399452420","1399452422","1399452419"],"photo_ids_order":["1399452418","1399452419","1399452420","1399452421","1399452422","1399452424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/745b79c34824c5deaf8647568d80fb2a.jpg","text":"TemporaryFile(/tmp/multipartBody3828361865418202123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787643417,"filename":"image_15122025_09_17_14_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a480b16ce08f1a83acb83492125c9a2c.jpg","text":"TemporaryFile(/tmp/multipartBody6726770060341534794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787643417,"filename":"image_15122025_09_17_34_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a08b3d16ec871de5224e69b9bd0d6e43.jpg","text":"TemporaryFile(/tmp/multipartBody1851901697337283891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787643417,"filename":"image_15122025_09_16_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/15/2576e8baf14ef0e3aad0dda3881a17a2.jpg","text":"TemporaryFile(/tmp/multipartBody1239318651465070277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787643417,"filename":"image_15122025_09_17_04_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/15/0fa3b7ea23cfc1fa02f8bf2fb2215cb3.jpg","text":"TemporaryFile(/tmp/multipartBody7701199794856280318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787643417,"filename":"image_15122025_09_17_25_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/15b46a1ff35c3d0e28fb22450781d38d.jpg","text":"TemporaryFile(/tmp/multipartBody2148613776724282668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787643417,"filename":"image_15122025_09_16_54_9936.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452420","file1":"1399452419","file0":"1399452418","file4":"1399452422","file5":"1399452424","file3":"1399452421"},"map_files_photo_id_array":[{"photo_id":"1399452424","filename":"file5"},{"photo_id":"1399452420","filename":"file2"},{"photo_id":"1399452422","filename":"file4"},{"photo_id":"1399452419","filename":"file1"},{"photo_id":"1399452418","filename":"file0"},{"photo_id":"1399452421","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399452421":["hashtag1","hashtag2"]},{"1399452424":["hashtag1","hashtag2"]},{"1399452418":["hashtag1","hashtag2"]},{"1399452420":["hashtag1","hashtag2"]},{"1399452422":["hashtag1","hashtag2"]},{"1399452419":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399452421, 1399452424, 1399452418, 1399452420, 1399452422, 1399452419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81791710853577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 09:33:42.195255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/23/image_05112025_14_23_51_2776.jpg', '/home/pi/Desktop/images/05112025/14/23/image_05112025_14_23_57_6276.jpg', '/home/pi/Desktop/images/05112025/14/23/image_05112025_14_23_59_1597.jpg', '/home/pi/Desktop/images/05112025/14/23/image_05112025_14_24_00_1662.jpg', '/home/pi/Desktop/images/05112025/14/24/image_05112025_14_24_03_2547.jpg', '/home/pi/Desktop/images/05112025/14/24/image_05112025_14_24_06_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/23/image_05112025_14_23_51_2776.jpg
/home/pi/Desktop/images/05112025/14/23/image_05112025_14_23_57_6276.jpg
/home/pi/Desktop/images/05112025/14/23/image_05112025_14_23_59_1597.jpg
/home/pi/Desktop/images/05112025/14/23/image_05112025_14_24_00_1662.jpg
/home/pi/Desktop/images/05112025/14/24/image_05112025_14_24_03_2547.jpg
/home/pi/Desktop/images/05112025/14/24/image_05112025_14_24_06_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":["1399452445","1399452433","1399452435","1399452432","1399452429","1399452434"],"photo_ids_order":["1399452429","1399452432","1399452433","1399452434","1399452435","1399452445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5d42041c1cb91f0beaace26b955884cf.jpg","text":"TemporaryFile(/tmp/multipartBody6710405985043677663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787682899,"filename":"image_05112025_14_24_06_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/15/ea48e0ef51d2b27379faf9b8437a2d79.jpg","text":"TemporaryFile(/tmp/multipartBody8033245835630822917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787682899,"filename":"image_05112025_14_23_59_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/15/af0d882c252df9b592d194791b54ea6b.jpg","text":"TemporaryFile(/tmp/multipartBody3293765934724987735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787682899,"filename":"image_05112025_14_24_03_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/15/0465aeb1d1e744196388fcdfec2ac78d.jpg","text":"TemporaryFile(/tmp/multipartBody4498120714215567831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787682899,"filename":"image_05112025_14_23_57_6276.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/58a7fc1c6c20abe635766a60ed6caaee.jpg","text":"TemporaryFile(/tmp/multipartBody3933993258621256490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787682899,"filename":"image_05112025_14_23_51_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e47a8f2d0a78213828ea6ef480ae1250.jpg","text":"TemporaryFile(/tmp/multipartBody8614181039985856928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787682899,"filename":"image_05112025_14_24_00_1662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452433","file1":"1399452432","file0":"1399452429","file4":"1399452435","file5":"1399452445","file3":"1399452434"},"map_files_photo_id_array":[{"photo_id":"1399452445","filename":"file5"},{"photo_id":"1399452433","filename":"file2"},{"photo_id":"1399452435","filename":"file4"},{"photo_id":"1399452432","filename":"file1"},{"photo_id":"1399452429","filename":"file0"},{"photo_id":"1399452434","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399452445":["hashtag1","hashtag2"]},{"1399452433":["hashtag1","hashtag2"]},{"1399452435":["hashtag1","hashtag2"]},{"1399452432":["hashtag1","hashtag2"]},{"1399452429":["hashtag1","hashtag2"]},{"1399452434":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399452445, 1399452433, 1399452435, 1399452432, 1399452429, 1399452434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43096375465393 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 09:34:22.436727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/17/image_15122025_09_17_44_9708.jpg', '/home/pi/Desktop/images/15122025/09/17/image_15122025_09_17_54_9660.jpg', '/home/pi/Desktop/images/15122025/09/17/image_15122025_09_18_05_10859.jpg', '/home/pi/Desktop/images/15122025/09/18/image_15122025_09_18_14_9818.jpg', '/home/pi/Desktop/images/15122025/09/18/image_15122025_09_18_24_9850.jpg', '/home/pi/Desktop/images/15122025/09/18/image_15122025_09_18_34_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/17/image_15122025_09_17_44_9708.jpg
/home/pi/Desktop/images/15122025/09/17/image_15122025_09_17_54_9660.jpg
/home/pi/Desktop/images/15122025/09/17/image_15122025_09_18_05_10859.jpg
/home/pi/Desktop/images/15122025/09/18/image_15122025_09_18_14_9818.jpg
/home/pi/Desktop/images/15122025/09/18/image_15122025_09_18_24_9850.jpg
/home/pi/Desktop/images/15122025/09/18/image_15122025_09_18_34_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399452475","1399452472","1399452492","1399452477","1399452482","1399452473"],"photo_ids_order":["1399452472","1399452473","1399452475","1399452477","1399452482","1399452492"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7a50aba6dbca1c7481584373e9ff7e0d.jpg","text":"TemporaryFile(/tmp/multipartBody5127074246740700948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787723075,"filename":"image_15122025_09_18_05_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/15/22a0fca2bb22d0ce4cd027b42ce40aa1.jpg","text":"TemporaryFile(/tmp/multipartBody4145454126218144482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787723075,"filename":"image_15122025_09_17_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/15/71d137c13c2a8c031ef79d5b8a17f9ff.jpg","text":"TemporaryFile(/tmp/multipartBody2045653285841280629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787723075,"filename":"image_15122025_09_18_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/15/27a6760ae33041f6757b4d0335c9debe.jpg","text":"TemporaryFile(/tmp/multipartBody4417127141594190446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787723075,"filename":"image_15122025_09_18_14_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/766cc36e0c465e5c10f473515dba4641.jpg","text":"TemporaryFile(/tmp/multipartBody6494635085740196816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787723075,"filename":"image_15122025_09_18_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/15/e05b7b4f15c88ab38ada0392da335448.jpg","text":"TemporaryFile(/tmp/multipartBody2031646372262408308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787723075,"filename":"image_15122025_09_17_54_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452475","file1":"1399452473","file0":"1399452472","file4":"1399452482","file5":"1399452492","file3":"1399452477"},"map_files_photo_id_array":[{"photo_id":"1399452492","filename":"file5"},{"photo_id":"1399452475","filename":"file2"},{"photo_id":"1399452482","filename":"file4"},{"photo_id":"1399452473","filename":"file1"},{"photo_id":"1399452472","filename":"file0"},{"photo_id":"1399452477","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399452475":["hashtag1","hashtag2"]},{"1399452472":["hashtag1","hashtag2"]},{"1399452492":["hashtag1","hashtag2"]},{"1399452477":["hashtag1","hashtag2"]},{"1399452482":["hashtag1","hashtag2"]},{"1399452473":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399452475, 1399452472, 1399452492, 1399452477, 1399452482, 1399452473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34798622131348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 09:35:03.317731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/18/image_15122025_09_18_45_10589.jpg', '/home/pi/Desktop/images/15122025/09/18/image_15122025_09_18_54_9821.jpg', '/home/pi/Desktop/images/15122025/09/18/image_15122025_09_19_04_9766.jpg', '/home/pi/Desktop/images/15122025/09/19/image_15122025_09_19_14_9629.jpg', '/home/pi/Desktop/images/15122025/09/19/image_15122025_09_19_24_10733.jpg', '/home/pi/Desktop/images/15122025/09/19/image_15122025_09_19_34_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/18/image_15122025_09_18_45_10589.jpg
/home/pi/Desktop/images/15122025/09/18/image_15122025_09_18_54_9821.jpg
/home/pi/Desktop/images/15122025/09/18/image_15122025_09_19_04_9766.jpg
/home/pi/Desktop/images/15122025/09/19/image_15122025_09_19_14_9629.jpg
/home/pi/Desktop/images/15122025/09/19/image_15122025_09_19_24_10733.jpg
/home/pi/Desktop/images/15122025/09/19/image_15122025_09_19_34_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":["1399452506","1399452508","1399452505","1399452504","1399452501","1399452503"],"photo_ids_order":["1399452501","1399452503","1399452504","1399452505","1399452506","1399452508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7d8e76da8095a13be1b88677cd1fb797.jpg","text":"TemporaryFile(/tmp/multipartBody335058073566134103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787764056,"filename":"image_15122025_09_19_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/15/2dbe4df3f17f596466d7149f647c68dc.jpg","text":"TemporaryFile(/tmp/multipartBody3274731715603882343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787764056,"filename":"image_15122025_09_19_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/15/f8cd354ab7dba356ca3df3afcbd310ca.jpg","text":"TemporaryFile(/tmp/multipartBody8025554860468943189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787764056,"filename":"image_15122025_09_19_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/15/b080a6a71a5554b133603acbf03f4b9e.jpg","text":"TemporaryFile(/tmp/multipartBody3126389496628990991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787764056,"filename":"image_15122025_09_19_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/15/b1ac5645beab4ddc566254c3c45e95ed.jpg","text":"TemporaryFile(/tmp/multipartBody2574659115412400748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787764056,"filename":"image_15122025_09_18_45_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9ba34e88154cbe3c954ef160a3758214.jpg","text":"TemporaryFile(/tmp/multipartBody8630400969594617751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787764056,"filename":"image_15122025_09_18_54_9821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452504","file1":"1399452503","file0":"1399452501","file4":"1399452506","file5":"1399452508","file3":"1399452505"},"map_files_photo_id_array":[{"photo_id":"1399452508","filename":"file5"},{"photo_id":"1399452504","filename":"file2"},{"photo_id":"1399452506","filename":"file4"},{"photo_id":"1399452503","filename":"file1"},{"photo_id":"1399452501","filename":"file0"},{"photo_id":"1399452505","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399452506":["hashtag1","hashtag2"]},{"1399452508":["hashtag1","hashtag2"]},{"1399452505":["hashtag1","hashtag2"]},{"1399452504":["hashtag1","hashtag2"]},{"1399452501":["hashtag1","hashtag2"]},{"1399452503":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399452506, 1399452508, 1399452505, 1399452504, 1399452501, 1399452503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99961733818054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 09:35:42.691250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/24/image_05112025_14_24_08_2671.jpg', '/home/pi/Desktop/images/05112025/14/24/image_05112025_14_24_15_2737.jpg', '/home/pi/Desktop/images/05112025/14/24/image_05112025_14_24_17_2795.jpg', '/home/pi/Desktop/images/05112025/14/24/image_05112025_14_24_20_2671.jpg', '/home/pi/Desktop/images/05112025/14/24/image_05112025_14_24_24_3879.jpg', '/home/pi/Desktop/images/05112025/14/24/image_05112025_14_24_27_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/24/image_05112025_14_24_08_2671.jpg
/home/pi/Desktop/images/05112025/14/24/image_05112025_14_24_15_2737.jpg
/home/pi/Desktop/images/05112025/14/24/image_05112025_14_24_17_2795.jpg
/home/pi/Desktop/images/05112025/14/24/image_05112025_14_24_20_2671.jpg
/home/pi/Desktop/images/05112025/14/24/image_05112025_14_24_24_3879.jpg
/home/pi/Desktop/images/05112025/14/24/image_05112025_14_24_27_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":["1399452526","1399452520","1399452523","1399452522","1399452513","1399452524"],"photo_ids_order":["1399452513","1399452520","1399452522","1399452523","1399452524","1399452526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/47d048ad27bc90be97184381f651e42b.jpg","text":"TemporaryFile(/tmp/multipartBody3531063058858014774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787803401,"filename":"image_05112025_14_24_27_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/15/d00b8c10fc01f3aa7791fe72d0b8bfc1.jpg","text":"TemporaryFile(/tmp/multipartBody4354164736684002749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787803401,"filename":"image_05112025_14_24_15_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/15/7158a8ad6111e97b1fe1c079ec53a9ae.jpg","text":"TemporaryFile(/tmp/multipartBody8698146507992376574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787803401,"filename":"image_05112025_14_24_20_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a0a5379cdb1e812be9c1d439549b2fc9.jpg","text":"TemporaryFile(/tmp/multipartBody952053768414253464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787803401,"filename":"image_05112025_14_24_17_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/21dae5ac7fa5f8799031f5afefe40003.jpg","text":"TemporaryFile(/tmp/multipartBody6907250532650235591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787803401,"filename":"image_05112025_14_24_08_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/15/d52c5a5084ac15e4a633beea935c4cc4.jpg","text":"TemporaryFile(/tmp/multipartBody2127753655308564354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787803401,"filename":"image_05112025_14_24_24_3879.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452522","file1":"1399452520","file0":"1399452513","file4":"1399452524","file5":"1399452526","file3":"1399452523"},"map_files_photo_id_array":[{"photo_id":"1399452526","filename":"file5"},{"photo_id":"1399452522","filename":"file2"},{"photo_id":"1399452524","filename":"file4"},{"photo_id":"1399452520","filename":"file1"},{"photo_id":"1399452513","filename":"file0"},{"photo_id":"1399452523","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399452526":["hashtag1","hashtag2"]},{"1399452520":["hashtag1","hashtag2"]},{"1399452523":["hashtag1","hashtag2"]},{"1399452522":["hashtag1","hashtag2"]},{"1399452513":["hashtag1","hashtag2"]},{"1399452524":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399452526, 1399452520, 1399452523, 1399452522, 1399452513, 1399452524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.480613231658936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 09:36:21.958460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/19/image_15122025_09_19_44_9639.jpg', '/home/pi/Desktop/images/15122025/09/19/image_15122025_09_19_54_10718.jpg', '/home/pi/Desktop/images/15122025/09/19/image_15122025_09_20_04_9858.jpg', '/home/pi/Desktop/images/15122025/09/20/image_15122025_09_20_14_9677.jpg', '/home/pi/Desktop/images/15122025/09/20/image_15122025_09_20_24_9767.jpg', '/home/pi/Desktop/images/15122025/09/20/image_15122025_09_20_35_10731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/19/image_15122025_09_19_44_9639.jpg
/home/pi/Desktop/images/15122025/09/19/image_15122025_09_19_54_10718.jpg
/home/pi/Desktop/images/15122025/09/19/image_15122025_09_20_04_9858.jpg
/home/pi/Desktop/images/15122025/09/20/image_15122025_09_20_14_9677.jpg
/home/pi/Desktop/images/15122025/09/20/image_15122025_09_20_24_9767.jpg
/home/pi/Desktop/images/15122025/09/20/image_15122025_09_20_35_10731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399452535","1399452529","1399452540","1399452537","1399452531","1399452533"],"photo_ids_order":["1399452529","1399452531","1399452533","1399452535","1399452537","1399452540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4c0a594bb281c69ace80fd86d2a413ae.jpg","text":"TemporaryFile(/tmp/multipartBody7273228007930888872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787842587,"filename":"image_15122025_09_20_14_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4f8a768e9d9d484ad00d8287cafb5ff3.jpg","text":"TemporaryFile(/tmp/multipartBody5754265460930953024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787842587,"filename":"image_15122025_09_19_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3f180137075abc9dee22d7220c312b2e.jpg","text":"TemporaryFile(/tmp/multipartBody6244019363962650070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787842587,"filename":"image_15122025_09_20_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/15/cd17411fe4366b33995e097e93f9c0a9.jpg","text":"TemporaryFile(/tmp/multipartBody2660216807661122758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787842587,"filename":"image_15122025_09_20_24_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e9c4bd8837c5ca997d0f5d2d133e979e.jpg","text":"TemporaryFile(/tmp/multipartBody3817828013799465150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787842587,"filename":"image_15122025_09_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/15/d8e1745c22dd91afd6a1a1fd0f8d64ba.jpg","text":"TemporaryFile(/tmp/multipartBody3641686273085966367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787842587,"filename":"image_15122025_09_20_04_9858.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452533","file1":"1399452531","file0":"1399452529","file4":"1399452537","file5":"1399452540","file3":"1399452535"},"map_files_photo_id_array":[{"photo_id":"1399452540","filename":"file5"},{"photo_id":"1399452533","filename":"file2"},{"photo_id":"1399452537","filename":"file4"},{"photo_id":"1399452531","filename":"file1"},{"photo_id":"1399452529","filename":"file0"},{"photo_id":"1399452535","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399452535":["hashtag1","hashtag2"]},{"1399452529":["hashtag1","hashtag2"]},{"1399452540":["hashtag1","hashtag2"]},{"1399452537":["hashtag1","hashtag2"]},{"1399452531":["hashtag1","hashtag2"]},{"1399452533":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399452535, 1399452529, 1399452540, 1399452537, 1399452531, 1399452533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.451576232910156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 09:37:02.944942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/20/image_15122025_09_20_44_9748.jpg', '/home/pi/Desktop/images/15122025/09/20/image_15122025_09_20_54_9650.jpg', '/home/pi/Desktop/images/15122025/09/20/image_15122025_09_21_05_10734.jpg', '/home/pi/Desktop/images/15122025/09/21/image_15122025_09_21_14_9775.jpg', '/home/pi/Desktop/images/15122025/09/21/image_15122025_09_21_24_9688.jpg', '/home/pi/Desktop/images/15122025/09/21/image_15122025_09_21_34_9828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/20/image_15122025_09_20_44_9748.jpg
/home/pi/Desktop/images/15122025/09/20/image_15122025_09_20_54_9650.jpg
/home/pi/Desktop/images/15122025/09/20/image_15122025_09_21_05_10734.jpg
/home/pi/Desktop/images/15122025/09/21/image_15122025_09_21_14_9775.jpg
/home/pi/Desktop/images/15122025/09/21/image_15122025_09_21_24_9688.jpg
/home/pi/Desktop/images/15122025/09/21/image_15122025_09_21_34_9828.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399452544","1399452553","1399452547","1399452549","1399452551","1399452542"],"photo_ids_order":["1399452542","1399452544","1399452547","1399452549","1399452551","1399452553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ad4079a0d80faf19a11fd01f6c51d98c.jpg","text":"TemporaryFile(/tmp/multipartBody7822772507585724116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787883619,"filename":"image_15122025_09_20_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/15/a7b180c9d8508865909c3d8c9ddabf6b.jpg","text":"TemporaryFile(/tmp/multipartBody2404714674312350809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787883619,"filename":"image_15122025_09_21_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/15/0b8c6972433dbafbf6f927aec2e2a4e7.jpg","text":"TemporaryFile(/tmp/multipartBody396273445579272922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787883619,"filename":"image_15122025_09_21_05_10734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/76d5a89e9593b816446da7092d46c108.jpg","text":"TemporaryFile(/tmp/multipartBody1283614329851306376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787883619,"filename":"image_15122025_09_21_14_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fb0483842eaf335adb086679aa65f3a1.jpg","text":"TemporaryFile(/tmp/multipartBody6200356481478100680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787883619,"filename":"image_15122025_09_21_24_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a0e89d9ebeab0bc0b7c39259939521fe.jpg","text":"TemporaryFile(/tmp/multipartBody4582488978209521496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787883619,"filename":"image_15122025_09_20_44_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452547","file1":"1399452544","file0":"1399452542","file4":"1399452551","file5":"1399452553","file3":"1399452549"},"map_files_photo_id_array":[{"photo_id":"1399452553","filename":"file5"},{"photo_id":"1399452547","filename":"file2"},{"photo_id":"1399452551","filename":"file4"},{"photo_id":"1399452544","filename":"file1"},{"photo_id":"1399452542","filename":"file0"},{"photo_id":"1399452549","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399452544":["hashtag1","hashtag2"]},{"1399452553":["hashtag1","hashtag2"]},{"1399452547":["hashtag1","hashtag2"]},{"1399452549":["hashtag1","hashtag2"]},{"1399452551":["hashtag1","hashtag2"]},{"1399452542":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399452544, 1399452553, 1399452547, 1399452549, 1399452551, 1399452542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88110399246216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 09:37:42.217249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/24/image_05112025_14_24_29_2658.jpg', '/home/pi/Desktop/images/05112025/14/24/image_05112025_14_24_32_2834.jpg', '/home/pi/Desktop/images/05112025/14/24/image_05112025_14_24_36_3643.jpg', '/home/pi/Desktop/images/05112025/14/24/image_05112025_14_24_41_2670.jpg', '/home/pi/Desktop/images/05112025/14/24/image_05112025_14_24_45_3549.jpg', '/home/pi/Desktop/images/05112025/14/24/image_05112025_14_24_47_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/24/image_05112025_14_24_29_2658.jpg
/home/pi/Desktop/images/05112025/14/24/image_05112025_14_24_32_2834.jpg
/home/pi/Desktop/images/05112025/14/24/image_05112025_14_24_36_3643.jpg
/home/pi/Desktop/images/05112025/14/24/image_05112025_14_24_41_2670.jpg
/home/pi/Desktop/images/05112025/14/24/image_05112025_14_24_45_3549.jpg
/home/pi/Desktop/images/05112025/14/24/image_05112025_14_24_47_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":["1399452583","1399452571","1399452579","1399452621","1399452615","1399452581"],"photo_ids_order":["1399452571","1399452579","1399452581","1399452583","1399452615","1399452621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7dff6a4dd163ff699c4a782dc8b0e88d.jpg","text":"TemporaryFile(/tmp/multipartBody2147853637331093368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787922926,"filename":"image_05112025_14_24_41_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/15/c87ff01302aadefb066bc188a27179bb.jpg","text":"TemporaryFile(/tmp/multipartBody1371902096626085706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787922926,"filename":"image_05112025_14_24_29_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/15/2c9775a019272d10595e9e25123087ad.jpg","text":"TemporaryFile(/tmp/multipartBody2748588982822759853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787922926,"filename":"image_05112025_14_24_32_2834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e743e3dc5f9fa2d7ffc7d9bbafcf99da.jpg","text":"TemporaryFile(/tmp/multipartBody3939707987338478100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787922926,"filename":"image_05112025_14_24_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/15/1a515722782745f0684219f19926790d.jpg","text":"TemporaryFile(/tmp/multipartBody2456129346477045267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787922926,"filename":"image_05112025_14_24_45_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/15/cb34998a46baf47a3c37c1f21d5c65cf.jpg","text":"TemporaryFile(/tmp/multipartBody7233370332712762629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787922926,"filename":"image_05112025_14_24_36_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452581","file1":"1399452579","file0":"1399452571","file4":"1399452615","file5":"1399452621","file3":"1399452583"},"map_files_photo_id_array":[{"photo_id":"1399452621","filename":"file5"},{"photo_id":"1399452581","filename":"file2"},{"photo_id":"1399452615","filename":"file4"},{"photo_id":"1399452579","filename":"file1"},{"photo_id":"1399452571","filename":"file0"},{"photo_id":"1399452583","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399452583":["hashtag1","hashtag2"]},{"1399452571":["hashtag1","hashtag2"]},{"1399452579":["hashtag1","hashtag2"]},{"1399452621":["hashtag1","hashtag2"]},{"1399452615":["hashtag1","hashtag2"]},{"1399452581":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399452583, 1399452571, 1399452579, 1399452621, 1399452615, 1399452581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.006239891052246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 09:38:22.460050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/21/image_15122025_09_21_45_10672.jpg', '/home/pi/Desktop/images/15122025/09/21/image_15122025_09_21_54_9770.jpg', '/home/pi/Desktop/images/15122025/09/21/image_15122025_09_22_04_9613.jpg', '/home/pi/Desktop/images/15122025/09/22/image_15122025_09_22_14_10039.jpg', '/home/pi/Desktop/images/15122025/09/22/image_15122025_09_22_24_9725.jpg', '/home/pi/Desktop/images/15122025/09/22/image_15122025_09_22_35_10769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/21/image_15122025_09_21_45_10672.jpg
/home/pi/Desktop/images/15122025/09/21/image_15122025_09_21_54_9770.jpg
/home/pi/Desktop/images/15122025/09/21/image_15122025_09_22_04_9613.jpg
/home/pi/Desktop/images/15122025/09/22/image_15122025_09_22_14_10039.jpg
/home/pi/Desktop/images/15122025/09/22/image_15122025_09_22_24_9725.jpg
/home/pi/Desktop/images/15122025/09/22/image_15122025_09_22_35_10769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399452640","1399452651","1399452624","1399452632","1399452626","1399452623"],"photo_ids_order":["1399452623","1399452624","1399452626","1399452632","1399452640","1399452651"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/910d95004a3182040731e0ca8f463621.jpg","text":"TemporaryFile(/tmp/multipartBody4032756318700377249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787963114,"filename":"image_15122025_09_22_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/15/6441627ee9bc70531a9c4afcc87e2292.jpg","text":"TemporaryFile(/tmp/multipartBody2433987805394589264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787963114,"filename":"image_15122025_09_22_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/15/8eb9e08275dbd8cd52f5482761d89b5d.jpg","text":"TemporaryFile(/tmp/multipartBody4777869591780055537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787963114,"filename":"image_15122025_09_21_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/15/90a1d8b285e7f0cdcd1582662459a826.jpg","text":"TemporaryFile(/tmp/multipartBody4202294479994229555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787963114,"filename":"image_15122025_09_22_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/15/3e3b872235878893df8848ef77c3144d.jpg","text":"TemporaryFile(/tmp/multipartBody5130289354091272447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787963114,"filename":"image_15122025_09_22_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/15/210fad1f3e6a8ee250fe372be419a58a.jpg","text":"TemporaryFile(/tmp/multipartBody4684462582440730229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765787963114,"filename":"image_15122025_09_21_45_10672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452626","file1":"1399452624","file0":"1399452623","file4":"1399452640","file5":"1399452651","file3":"1399452632"},"map_files_photo_id_array":[{"photo_id":"1399452651","filename":"file5"},{"photo_id":"1399452626","filename":"file2"},{"photo_id":"1399452640","filename":"file4"},{"photo_id":"1399452624","filename":"file1"},{"photo_id":"1399452623","filename":"file0"},{"photo_id":"1399452632","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399452640":["hashtag1","hashtag2"]},{"1399452651":["hashtag1","hashtag2"]},{"1399452624":["hashtag1","hashtag2"]},{"1399452632":["hashtag1","hashtag2"]},{"1399452626":["hashtag1","hashtag2"]},{"1399452623":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399452640, 1399452651, 1399452624, 1399452632, 1399452626, 1399452623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.40167021751404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 09:39:03.443904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/22/image_15122025_09_22_44_9629.jpg', '/home/pi/Desktop/images/15122025/09/22/image_15122025_09_22_54_9893.jpg', '/home/pi/Desktop/images/15122025/09/22/image_15122025_09_23_05_10555.jpg', '/home/pi/Desktop/images/15122025/09/23/image_15122025_09_23_14_9589.jpg', '/home/pi/Desktop/images/15122025/09/23/image_15122025_09_23_24_9863.jpg', '/home/pi/Desktop/images/15122025/09/23/image_15122025_09_23_34_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/22/image_15122025_09_22_44_9629.jpg
/home/pi/Desktop/images/15122025/09/22/image_15122025_09_22_54_9893.jpg
/home/pi/Desktop/images/15122025/09/22/image_15122025_09_23_05_10555.jpg
/home/pi/Desktop/images/15122025/09/23/image_15122025_09_23_14_9589.jpg
/home/pi/Desktop/images/15122025/09/23/image_15122025_09_23_24_9863.jpg
/home/pi/Desktop/images/15122025/09/23/image_15122025_09_23_34_9731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399452661","1399452664","1399452660","1399452657","1399452662","1399452659"],"photo_ids_order":["1399452657","1399452659","1399452660","1399452661","1399452662","1399452664"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2071f6d75587a88795c360707dd6d9f3.jpg","text":"TemporaryFile(/tmp/multipartBody3662890132152430751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788004195,"filename":"image_15122025_09_23_14_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ee47d2981a0df9b857271712ad24259c.jpg","text":"TemporaryFile(/tmp/multipartBody1220900795245310346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788004195,"filename":"image_15122025_09_23_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/15/34ea70162953049ecebfe618d07bac58.jpg","text":"TemporaryFile(/tmp/multipartBody7708498161573564049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788004195,"filename":"image_15122025_09_23_05_10555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/14b2aa7faa652a063d7ec94be1a76e29.jpg","text":"TemporaryFile(/tmp/multipartBody193553129985597852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788004195,"filename":"image_15122025_09_22_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/15/3defe735efd0ff7397d4d9c29ef44a90.jpg","text":"TemporaryFile(/tmp/multipartBody3858218990330966601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788004195,"filename":"image_15122025_09_23_24_9863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/04160bc110c050b014abd7c71aa7f58d.jpg","text":"TemporaryFile(/tmp/multipartBody7702692654297087096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788004195,"filename":"image_15122025_09_22_54_9893.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452660","file1":"1399452659","file0":"1399452657","file4":"1399452662","file5":"1399452664","file3":"1399452661"},"map_files_photo_id_array":[{"photo_id":"1399452664","filename":"file5"},{"photo_id":"1399452660","filename":"file2"},{"photo_id":"1399452662","filename":"file4"},{"photo_id":"1399452659","filename":"file1"},{"photo_id":"1399452657","filename":"file0"},{"photo_id":"1399452661","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399452661":["hashtag1","hashtag2"]},{"1399452664":["hashtag1","hashtag2"]},{"1399452660":["hashtag1","hashtag2"]},{"1399452657":["hashtag1","hashtag2"]},{"1399452662":["hashtag1","hashtag2"]},{"1399452659":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399452661, 1399452664, 1399452660, 1399452657, 1399452662, 1399452659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36560249328613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 09:39:42.627924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/24/image_05112025_14_25_00_3776.jpg', '/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_03_2667.jpg', '/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_05_2910.jpg', '/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_08_2658.jpg', '/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_12_3712.jpg', '/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_15_2739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/24/image_05112025_14_25_00_3776.jpg
/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_03_2667.jpg
/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_05_2910.jpg
/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_08_2658.jpg
/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_12_3712.jpg
/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_15_2739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399452673","1399452676","1399452670","1399452672","1399452675","1399452674"],"photo_ids_order":["1399452670","1399452672","1399452673","1399452674","1399452675","1399452676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0c5e856dbf10fb6dccb213d320ae578e.jpg","text":"TemporaryFile(/tmp/multipartBody1490658205725090977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788043346,"filename":"image_05112025_14_25_05_2910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dbcc0ca404b3911d40719b511772c6a1.jpg","text":"TemporaryFile(/tmp/multipartBody8916102194608032602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788043346,"filename":"image_05112025_14_25_15_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/37e316b556e99cafcd2b1155e477a680.jpg","text":"TemporaryFile(/tmp/multipartBody5016452782727347196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788043346,"filename":"image_05112025_14_25_00_3776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c79cdbee9bf394485426e50107011bd1.jpg","text":"TemporaryFile(/tmp/multipartBody5582214928886753689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788043346,"filename":"image_05112025_14_25_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/15/9ece236f205d31f8377301ac436d7d47.jpg","text":"TemporaryFile(/tmp/multipartBody2777995406473798560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788043346,"filename":"image_05112025_14_25_12_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/15/0cc5e8398afc716a1fdd8b432d1ab11c.jpg","text":"TemporaryFile(/tmp/multipartBody155045175077761538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788043346,"filename":"image_05112025_14_25_08_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452673","file1":"1399452672","file0":"1399452670","file4":"1399452675","file5":"1399452676","file3":"1399452674"},"map_files_photo_id_array":[{"photo_id":"1399452676","filename":"file5"},{"photo_id":"1399452673","filename":"file2"},{"photo_id":"1399452675","filename":"file4"},{"photo_id":"1399452672","filename":"file1"},{"photo_id":"1399452670","filename":"file0"},{"photo_id":"1399452674","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399452673":["hashtag1","hashtag2"]},{"1399452676":["hashtag1","hashtag2"]},{"1399452670":["hashtag1","hashtag2"]},{"1399452672":["hashtag1","hashtag2"]},{"1399452675":["hashtag1","hashtag2"]},{"1399452674":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399452673, 1399452676, 1399452670, 1399452672, 1399452675, 1399452674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.157679319381714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 09:40:21.889779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/23/image_15122025_09_23_44_10599.jpg', '/home/pi/Desktop/images/15122025/09/23/image_15122025_09_23_54_9660.jpg', '/home/pi/Desktop/images/15122025/09/23/image_15122025_09_24_04_9786.jpg', '/home/pi/Desktop/images/15122025/09/24/image_15122025_09_24_15_10687.jpg', '/home/pi/Desktop/images/15122025/09/24/image_15122025_09_24_24_9739.jpg', '/home/pi/Desktop/images/15122025/09/24/image_15122025_09_24_34_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/23/image_15122025_09_23_44_10599.jpg
/home/pi/Desktop/images/15122025/09/23/image_15122025_09_23_54_9660.jpg
/home/pi/Desktop/images/15122025/09/23/image_15122025_09_24_04_9786.jpg
/home/pi/Desktop/images/15122025/09/24/image_15122025_09_24_15_10687.jpg
/home/pi/Desktop/images/15122025/09/24/image_15122025_09_24_24_9739.jpg
/home/pi/Desktop/images/15122025/09/24/image_15122025_09_24_34_9698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399452688","1399452679","1399452684","1399452677","1399452686","1399452691"],"photo_ids_order":["1399452677","1399452679","1399452684","1399452686","1399452688","1399452691"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7287e22428b7dc923427b7a418937bed.jpg","text":"TemporaryFile(/tmp/multipartBody973884162154923604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788082544,"filename":"image_15122025_09_24_24_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1d8472157f9476e7f46b90e1cc882d0e.jpg","text":"TemporaryFile(/tmp/multipartBody1325384916459070689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788082544,"filename":"image_15122025_09_23_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/15/de578a601a0c0f33451c5d557be31559.jpg","text":"TemporaryFile(/tmp/multipartBody6682819403708483290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788082544,"filename":"image_15122025_09_24_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/15/14d9667f55eb74573752474714b3d606.jpg","text":"TemporaryFile(/tmp/multipartBody4150246125427078159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788082544,"filename":"image_15122025_09_23_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/15/1b880e2e960fcaebb111a1eafe42b00c.jpg","text":"TemporaryFile(/tmp/multipartBody4126399555878218610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788082544,"filename":"image_15122025_09_24_15_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0996676969851874238694afb91d91ff.jpg","text":"TemporaryFile(/tmp/multipartBody2410586003474104585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788082544,"filename":"image_15122025_09_24_34_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452684","file1":"1399452679","file0":"1399452677","file4":"1399452688","file5":"1399452691","file3":"1399452686"},"map_files_photo_id_array":[{"photo_id":"1399452691","filename":"file5"},{"photo_id":"1399452684","filename":"file2"},{"photo_id":"1399452688","filename":"file4"},{"photo_id":"1399452679","filename":"file1"},{"photo_id":"1399452677","filename":"file0"},{"photo_id":"1399452686","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399452688":["hashtag1","hashtag2"]},{"1399452679":["hashtag1","hashtag2"]},{"1399452684":["hashtag1","hashtag2"]},{"1399452677":["hashtag1","hashtag2"]},{"1399452686":["hashtag1","hashtag2"]},{"1399452691":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399452688, 1399452679, 1399452684, 1399452677, 1399452686, 1399452691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.10676336288452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 09:41:02.878284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/24/image_15122025_09_24_45_10664.jpg', '/home/pi/Desktop/images/15122025/09/24/image_15122025_09_24_54_9711.jpg', '/home/pi/Desktop/images/15122025/09/24/image_15122025_09_25_04_9730.jpg', '/home/pi/Desktop/images/15122025/09/25/image_15122025_09_25_14_9838.jpg', '/home/pi/Desktop/images/15122025/09/25/image_15122025_09_25_25_10717.jpg', '/home/pi/Desktop/images/15122025/09/25/image_15122025_09_25_34_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/24/image_15122025_09_24_45_10664.jpg
/home/pi/Desktop/images/15122025/09/24/image_15122025_09_24_54_9711.jpg
/home/pi/Desktop/images/15122025/09/24/image_15122025_09_25_04_9730.jpg
/home/pi/Desktop/images/15122025/09/25/image_15122025_09_25_14_9838.jpg
/home/pi/Desktop/images/15122025/09/25/image_15122025_09_25_25_10717.jpg
/home/pi/Desktop/images/15122025/09/25/image_15122025_09_25_34_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":["1399452706","1399452696","1399452700","1399452693","1399452702","1399452698"],"photo_ids_order":["1399452693","1399452696","1399452698","1399452700","1399452702","1399452706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5679a576e056bfdb432cdd54c50b2d6a.jpg","text":"TemporaryFile(/tmp/multipartBody1766146048593955859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788123591,"filename":"image_15122025_09_25_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/15/5b88cd776f150741da5e5ad23bb6d7fb.jpg","text":"TemporaryFile(/tmp/multipartBody2275461386686241572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788123591,"filename":"image_15122025_09_24_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/15/bb654badd21442d1dbb3833627e2b90e.jpg","text":"TemporaryFile(/tmp/multipartBody6961198597002868684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788123591,"filename":"image_15122025_09_25_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/15/7e348bfef5a953b20c763ebbd695fdf2.jpg","text":"TemporaryFile(/tmp/multipartBody2500384572571673483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788123591,"filename":"image_15122025_09_24_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/15/561746555b659a3a0f1bb7884bc814b1.jpg","text":"TemporaryFile(/tmp/multipartBody7222626725854918101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788123591,"filename":"image_15122025_09_25_25_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/181e99dccc9b371bee74773cfa719798.jpg","text":"TemporaryFile(/tmp/multipartBody4348848451673186379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788123591,"filename":"image_15122025_09_25_04_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452698","file1":"1399452696","file0":"1399452693","file4":"1399452702","file5":"1399452706","file3":"1399452700"},"map_files_photo_id_array":[{"photo_id":"1399452706","filename":"file5"},{"photo_id":"1399452698","filename":"file2"},{"photo_id":"1399452702","filename":"file4"},{"photo_id":"1399452696","filename":"file1"},{"photo_id":"1399452693","filename":"file0"},{"photo_id":"1399452700","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399452706":["hashtag1","hashtag2"]},{"1399452696":["hashtag1","hashtag2"]},{"1399452700":["hashtag1","hashtag2"]},{"1399452693":["hashtag1","hashtag2"]},{"1399452702":["hashtag1","hashtag2"]},{"1399452698":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399452706, 1399452696, 1399452700, 1399452693, 1399452702, 1399452698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.58530235290527 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 09:41:42.092426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_17_2612.jpg', '/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_21_3650.jpg', '/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_23_2656.jpg', '/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_26_2765.jpg', '/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_29_2661.jpg', '/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_33_3670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_17_2612.jpg
/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_21_3650.jpg
/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_23_2656.jpg
/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_26_2765.jpg
/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_29_2661.jpg
/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_33_3670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399452710","1399452742","1399452718","1399452723","1399452731","1399452713"],"photo_ids_order":["1399452710","1399452713","1399452718","1399452723","1399452731","1399452742"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c17fad454b1f2b9804dd089288edb69c.jpg","text":"TemporaryFile(/tmp/multipartBody6532210978945354171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788162805,"filename":"image_05112025_14_25_17_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/15/fde2d9f32f34782a4117d5fad3d585dd.jpg","text":"TemporaryFile(/tmp/multipartBody9125172285120726461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788162805,"filename":"image_05112025_14_25_33_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/15/f03523796b06a42dafcc3c29c63ec738.jpg","text":"TemporaryFile(/tmp/multipartBody8650134820374152141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788162805,"filename":"image_05112025_14_25_23_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/15/49f1186570949cdeeb14ba551fef2335.jpg","text":"TemporaryFile(/tmp/multipartBody8565792862759500182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788162805,"filename":"image_05112025_14_25_26_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/15/ae16157219dc4d65c9e929358cd82636.jpg","text":"TemporaryFile(/tmp/multipartBody6883581811239190517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788162805,"filename":"image_05112025_14_25_29_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e03f91793178039eb6327d390f78af48.jpg","text":"TemporaryFile(/tmp/multipartBody6143277597569028617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788162805,"filename":"image_05112025_14_25_21_3650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452718","file1":"1399452713","file0":"1399452710","file4":"1399452731","file5":"1399452742","file3":"1399452723"},"map_files_photo_id_array":[{"photo_id":"1399452742","filename":"file5"},{"photo_id":"1399452718","filename":"file2"},{"photo_id":"1399452731","filename":"file4"},{"photo_id":"1399452713","filename":"file1"},{"photo_id":"1399452710","filename":"file0"},{"photo_id":"1399452723","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399452710":["hashtag1","hashtag2"]},{"1399452742":["hashtag1","hashtag2"]},{"1399452718":["hashtag1","hashtag2"]},{"1399452723":["hashtag1","hashtag2"]},{"1399452731":["hashtag1","hashtag2"]},{"1399452713":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399452710, 1399452742, 1399452718, 1399452723, 1399452731, 1399452713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.530582666397095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 09:42:22.348666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/25/image_15122025_09_25_44_9752.jpg', '/home/pi/Desktop/images/15122025/09/25/image_15122025_09_25_55_10648.jpg', '/home/pi/Desktop/images/15122025/09/25/image_15122025_09_26_04_9590.jpg', '/home/pi/Desktop/images/15122025/09/26/image_15122025_09_26_14_9624.jpg', '/home/pi/Desktop/images/15122025/09/26/image_15122025_09_26_25_10803.jpg', '/home/pi/Desktop/images/15122025/09/26/image_15122025_09_26_34_9781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/25/image_15122025_09_25_44_9752.jpg
/home/pi/Desktop/images/15122025/09/25/image_15122025_09_25_55_10648.jpg
/home/pi/Desktop/images/15122025/09/25/image_15122025_09_26_04_9590.jpg
/home/pi/Desktop/images/15122025/09/26/image_15122025_09_26_14_9624.jpg
/home/pi/Desktop/images/15122025/09/26/image_15122025_09_26_25_10803.jpg
/home/pi/Desktop/images/15122025/09/26/image_15122025_09_26_34_9781.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399452777","1399452771","1399452780","1399452782","1399452761","1399452785"],"photo_ids_order":["1399452761","1399452771","1399452777","1399452780","1399452782","1399452785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/26dd358f249381207c32a61e9d7ef5c9.jpg","text":"TemporaryFile(/tmp/multipartBody584050158025386080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788203012,"filename":"image_15122025_09_26_04_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f3b05a00e4ddabbd67150ba2cdbcb841.jpg","text":"TemporaryFile(/tmp/multipartBody5828682463714676701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788203012,"filename":"image_15122025_09_25_55_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e024c1b8861e8c8984d45121ddfc0240.jpg","text":"TemporaryFile(/tmp/multipartBody4042997361207697672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788203012,"filename":"image_15122025_09_26_14_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/15/2d8cc5e5c23ce59121a6fbc3151623fc.jpg","text":"TemporaryFile(/tmp/multipartBody1028246801254087089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788203012,"filename":"image_15122025_09_26_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/15/1aa98e5d70ce3923494b554cbda9b3c8.jpg","text":"TemporaryFile(/tmp/multipartBody1012257343043613367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788203012,"filename":"image_15122025_09_25_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/15/c8ed8ea9c437937f765d7e27948610af.jpg","text":"TemporaryFile(/tmp/multipartBody1543561298307957968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788203012,"filename":"image_15122025_09_26_34_9781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452777","file1":"1399452771","file0":"1399452761","file4":"1399452782","file5":"1399452785","file3":"1399452780"},"map_files_photo_id_array":[{"photo_id":"1399452785","filename":"file5"},{"photo_id":"1399452777","filename":"file2"},{"photo_id":"1399452782","filename":"file4"},{"photo_id":"1399452771","filename":"file1"},{"photo_id":"1399452761","filename":"file0"},{"photo_id":"1399452780","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399452777":["hashtag1","hashtag2"]},{"1399452771":["hashtag1","hashtag2"]},{"1399452780":["hashtag1","hashtag2"]},{"1399452782":["hashtag1","hashtag2"]},{"1399452761":["hashtag1","hashtag2"]},{"1399452785":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399452777, 1399452771, 1399452780, 1399452782, 1399452761, 1399452785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.89087390899658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 09:43:03.333959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/26/image_15122025_09_26_44_9692.jpg', '/home/pi/Desktop/images/15122025/09/26/image_15122025_09_26_54_9820.jpg', '/home/pi/Desktop/images/15122025/09/26/image_15122025_09_27_05_10677.jpg', '/home/pi/Desktop/images/15122025/09/27/image_15122025_09_27_14_9632.jpg', '/home/pi/Desktop/images/15122025/09/27/image_15122025_09_27_24_9847.jpg', '/home/pi/Desktop/images/15122025/09/27/image_15122025_09_27_34_10016.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/26/image_15122025_09_26_44_9692.jpg
/home/pi/Desktop/images/15122025/09/26/image_15122025_09_26_54_9820.jpg
/home/pi/Desktop/images/15122025/09/26/image_15122025_09_27_05_10677.jpg
/home/pi/Desktop/images/15122025/09/27/image_15122025_09_27_14_9632.jpg
/home/pi/Desktop/images/15122025/09/27/image_15122025_09_27_24_9847.jpg
/home/pi/Desktop/images/15122025/09/27/image_15122025_09_27_34_10016.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399453149","1399453056","1399452888","1399452963","1399452822","1399453195"],"photo_ids_order":["1399452822","1399452888","1399452963","1399453056","1399453149","1399453195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/745797f7c860a86459af6c4ab05e74bf.jpg","text":"TemporaryFile(/tmp/multipartBody3689888147197750434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788244028,"filename":"image_15122025_09_27_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/15/c3517bacb903f9ca3db209a478cec28b.jpg","text":"TemporaryFile(/tmp/multipartBody2269091095131425170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788244028,"filename":"image_15122025_09_27_14_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1b7b9317930a37103e9acc23b7d090e8.jpg","text":"TemporaryFile(/tmp/multipartBody3849973216971391965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788244028,"filename":"image_15122025_09_26_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/15/4c9ae4d82d006c5923186417decac38d.jpg","text":"TemporaryFile(/tmp/multipartBody750481422413566712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788244028,"filename":"image_15122025_09_27_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/15/37cca4a97144f30f0715a801e8786821.jpg","text":"TemporaryFile(/tmp/multipartBody8024060527411840007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788244028,"filename":"image_15122025_09_26_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/15/82dddbb0521f4cf2c2cb5ec17618efbb.jpg","text":"TemporaryFile(/tmp/multipartBody383608908620838453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788244028,"filename":"image_15122025_09_27_34_10016.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399452963","file1":"1399452888","file0":"1399452822","file4":"1399453149","file5":"1399453195","file3":"1399453056"},"map_files_photo_id_array":[{"photo_id":"1399453195","filename":"file5"},{"photo_id":"1399452963","filename":"file2"},{"photo_id":"1399453149","filename":"file4"},{"photo_id":"1399452888","filename":"file1"},{"photo_id":"1399452822","filename":"file0"},{"photo_id":"1399453056","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399453149":["hashtag1","hashtag2"]},{"1399453056":["hashtag1","hashtag2"]},{"1399452888":["hashtag1","hashtag2"]},{"1399452963":["hashtag1","hashtag2"]},{"1399452822":["hashtag1","hashtag2"]},{"1399453195":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399453149, 1399453056, 1399452888, 1399452963, 1399452822, 1399453195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.025134563446045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 09:43:42.545219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_35_2586.jpg', '/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_38_2716.jpg', '/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_42_3727.jpg', '/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_44_2659.jpg', '/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_47_2717.jpg', '/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_51_3578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_35_2586.jpg
/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_38_2716.jpg
/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_42_3727.jpg
/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_44_2659.jpg
/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_47_2717.jpg
/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_51_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":["1399453386","1399453303","1399453323","1399453244","1399453304","1399453273"],"photo_ids_order":["1399453244","1399453273","1399453303","1399453304","1399453323","1399453386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b43799c11184c9a2f226831229f0a102.jpg","text":"TemporaryFile(/tmp/multipartBody2047524784856006876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788283243,"filename":"image_05112025_14_25_51_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/15/b6fd534092858c06e8a8509cf35dd091.jpg","text":"TemporaryFile(/tmp/multipartBody4988263903469587932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788283243,"filename":"image_05112025_14_25_42_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/15/95ac95e8b4c98bbcbd8e18325beabb6a.jpg","text":"TemporaryFile(/tmp/multipartBody30689109509283359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788283243,"filename":"image_05112025_14_25_47_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/15/762a7d4d3ce56d507bd721bcb9cd2cdd.jpg","text":"TemporaryFile(/tmp/multipartBody4325676401530868512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788283243,"filename":"image_05112025_14_25_35_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f1407dea75274cb0d179e2dd1c2d0911.jpg","text":"TemporaryFile(/tmp/multipartBody8118851516659465695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788283243,"filename":"image_05112025_14_25_44_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/15/b0774497f852e41807d1fa6caba98448.jpg","text":"TemporaryFile(/tmp/multipartBody6063705995676212747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788283243,"filename":"image_05112025_14_25_38_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399453303","file1":"1399453273","file0":"1399453244","file4":"1399453323","file5":"1399453386","file3":"1399453304"},"map_files_photo_id_array":[{"photo_id":"1399453386","filename":"file5"},{"photo_id":"1399453303","filename":"file2"},{"photo_id":"1399453323","filename":"file4"},{"photo_id":"1399453273","filename":"file1"},{"photo_id":"1399453244","filename":"file0"},{"photo_id":"1399453304","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399453386":["hashtag1","hashtag2"]},{"1399453303":["hashtag1","hashtag2"]},{"1399453323":["hashtag1","hashtag2"]},{"1399453244":["hashtag1","hashtag2"]},{"1399453304":["hashtag1","hashtag2"]},{"1399453273":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399453386, 1399453303, 1399453323, 1399453244, 1399453304, 1399453273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02826166152954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 09:44:22.840112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/27/image_15122025_09_27_44_9690.jpg', '/home/pi/Desktop/images/15122025/09/27/image_15122025_09_27_54_10094.jpg', '/home/pi/Desktop/images/15122025/09/27/image_15122025_09_28_05_10640.jpg', '/home/pi/Desktop/images/15122025/09/28/image_15122025_09_28_14_9546.jpg', '/home/pi/Desktop/images/15122025/09/28/image_15122025_09_28_24_9686.jpg', '/home/pi/Desktop/images/15122025/09/28/image_15122025_09_28_34_10608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/27/image_15122025_09_27_44_9690.jpg
/home/pi/Desktop/images/15122025/09/27/image_15122025_09_27_54_10094.jpg
/home/pi/Desktop/images/15122025/09/27/image_15122025_09_28_05_10640.jpg
/home/pi/Desktop/images/15122025/09/28/image_15122025_09_28_14_9546.jpg
/home/pi/Desktop/images/15122025/09/28/image_15122025_09_28_24_9686.jpg
/home/pi/Desktop/images/15122025/09/28/image_15122025_09_28_34_10608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399453636","1399453705","1399453689","1399453556","1399453484","1399453622"],"photo_ids_order":["1399453484","1399453556","1399453622","1399453636","1399453689","1399453705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7f7030c0451ca15f158782c70421b6aa.jpg","text":"TemporaryFile(/tmp/multipartBody597461367849050884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788323469,"filename":"image_15122025_09_28_14_9546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/21ec80c4dc618dc0ff50372cb5185078.jpg","text":"TemporaryFile(/tmp/multipartBody6128332429312492936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788323469,"filename":"image_15122025_09_28_34_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/15/a306fabcc8460f78e7c5a2f868da2a3a.jpg","text":"TemporaryFile(/tmp/multipartBody8765101911808124366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788323469,"filename":"image_15122025_09_28_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/15/cf91102602044c6e3d76549377d7aa4e.jpg","text":"TemporaryFile(/tmp/multipartBody553228883649402963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788323469,"filename":"image_15122025_09_27_54_10094.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4c4ff7851ceb54ebd02954e4afd10c75.jpg","text":"TemporaryFile(/tmp/multipartBody6673817495583275502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788323469,"filename":"image_15122025_09_27_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/15/7fd6d68cf0d4df12debd015c0eafa850.jpg","text":"TemporaryFile(/tmp/multipartBody8536679307285705713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788323469,"filename":"image_15122025_09_28_05_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399453622","file1":"1399453556","file0":"1399453484","file4":"1399453689","file5":"1399453705","file3":"1399453636"},"map_files_photo_id_array":[{"photo_id":"1399453705","filename":"file5"},{"photo_id":"1399453622","filename":"file2"},{"photo_id":"1399453689","filename":"file4"},{"photo_id":"1399453556","filename":"file1"},{"photo_id":"1399453484","filename":"file0"},{"photo_id":"1399453636","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399453636":["hashtag1","hashtag2"]},{"1399453705":["hashtag1","hashtag2"]},{"1399453689":["hashtag1","hashtag2"]},{"1399453556":["hashtag1","hashtag2"]},{"1399453484":["hashtag1","hashtag2"]},{"1399453622":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399453636, 1399453705, 1399453689, 1399453556, 1399453484, 1399453622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94040322303772 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 09:45:02.817612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/28/image_15122025_09_28_44_9739.jpg', '/home/pi/Desktop/images/15122025/09/28/image_15122025_09_28_54_9881.jpg', '/home/pi/Desktop/images/15122025/09/28/image_15122025_09_29_04_9780.jpg', '/home/pi/Desktop/images/15122025/09/29/image_15122025_09_29_14_10727.jpg', '/home/pi/Desktop/images/15122025/09/29/image_15122025_09_29_24_9790.jpg', '/home/pi/Desktop/images/15122025/09/29/image_15122025_09_29_34_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/28/image_15122025_09_28_44_9739.jpg
/home/pi/Desktop/images/15122025/09/28/image_15122025_09_28_54_9881.jpg
/home/pi/Desktop/images/15122025/09/28/image_15122025_09_29_04_9780.jpg
/home/pi/Desktop/images/15122025/09/29/image_15122025_09_29_14_10727.jpg
/home/pi/Desktop/images/15122025/09/29/image_15122025_09_29_24_9790.jpg
/home/pi/Desktop/images/15122025/09/29/image_15122025_09_29_34_9774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399453773","1399453776","1399453785","1399453781","1399453769","1399453778"],"photo_ids_order":["1399453769","1399453773","1399453776","1399453778","1399453781","1399453785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0d5fbeec1adc57a88938c3956f0f56d1.jpg","text":"TemporaryFile(/tmp/multipartBody2774075795793178033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788363590,"filename":"image_15122025_09_28_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/15/47100285c1fcf5bc42063867520f843c.jpg","text":"TemporaryFile(/tmp/multipartBody4754994485700760328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788363590,"filename":"image_15122025_09_29_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/15/4f7193bc086fd20d92841c8f4ebba2fb.jpg","text":"TemporaryFile(/tmp/multipartBody2260428309478252825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788363590,"filename":"image_15122025_09_29_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/15/c7337cbd76980170c021d805b55ad7aa.jpg","text":"TemporaryFile(/tmp/multipartBody8573400607121641252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788363590,"filename":"image_15122025_09_29_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/15/18c161d58963a29f34255c358c0eb8ec.jpg","text":"TemporaryFile(/tmp/multipartBody5086361226223374989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788363590,"filename":"image_15122025_09_28_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/15/bbaf395c1496753e6e6c4b4aa9e1931d.jpg","text":"TemporaryFile(/tmp/multipartBody7756078892322264078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788363590,"filename":"image_15122025_09_29_14_10727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399453776","file1":"1399453773","file0":"1399453769","file4":"1399453781","file5":"1399453785","file3":"1399453778"},"map_files_photo_id_array":[{"photo_id":"1399453785","filename":"file5"},{"photo_id":"1399453776","filename":"file2"},{"photo_id":"1399453781","filename":"file4"},{"photo_id":"1399453773","filename":"file1"},{"photo_id":"1399453769","filename":"file0"},{"photo_id":"1399453778","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399453773":["hashtag1","hashtag2"]},{"1399453776":["hashtag1","hashtag2"]},{"1399453785":["hashtag1","hashtag2"]},{"1399453781":["hashtag1","hashtag2"]},{"1399453769":["hashtag1","hashtag2"]},{"1399453778":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399453773, 1399453776, 1399453785, 1399453781, 1399453769, 1399453778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22967791557312 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 09:45:42.035635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_53_2609.jpg', '/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_57_3559.jpg', '/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_59_2682.jpg', '/home/pi/Desktop/images/05112025/14/26/image_05112025_14_26_02_2709.jpg', '/home/pi/Desktop/images/05112025/14/26/image_05112025_14_26_08_2637.jpg', '/home/pi/Desktop/images/05112025/14/26/image_05112025_14_26_11_2536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_53_2609.jpg
/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_57_3559.jpg
/home/pi/Desktop/images/05112025/14/25/image_05112025_14_25_59_2682.jpg
/home/pi/Desktop/images/05112025/14/26/image_05112025_14_26_02_2709.jpg
/home/pi/Desktop/images/05112025/14/26/image_05112025_14_26_08_2637.jpg
/home/pi/Desktop/images/05112025/14/26/image_05112025_14_26_11_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":["1399453794","1399453797","1399453790","1399453793","1399453796","1399453795"],"photo_ids_order":["1399453790","1399453793","1399453794","1399453795","1399453796","1399453797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/339d07ce21835b0b67cb38f09cfc4994.jpg","text":"TemporaryFile(/tmp/multipartBody3660558948680018033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788402747,"filename":"image_05112025_14_25_59_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/15/455aa49d6ad472deca010ab69839239e.jpg","text":"TemporaryFile(/tmp/multipartBody39421195661862940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788402747,"filename":"image_05112025_14_26_11_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/15/d4cea35a9b182ecfe8e0565785c13235.jpg","text":"TemporaryFile(/tmp/multipartBody3665793613305849076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788402747,"filename":"image_05112025_14_25_53_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/15/a4dc6bf6bd457a77c8d92495ca291d43.jpg","text":"TemporaryFile(/tmp/multipartBody7811782362986533824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788402747,"filename":"image_05112025_14_25_57_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/15/48c4b274a0d23c9411a362e0686a38eb.jpg","text":"TemporaryFile(/tmp/multipartBody706850302997371714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788402747,"filename":"image_05112025_14_26_08_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/15/b82f0f3b4acb90e8b6056e0d4961f0d5.jpg","text":"TemporaryFile(/tmp/multipartBody1406950391222260212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788402747,"filename":"image_05112025_14_26_02_2709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399453794","file1":"1399453793","file0":"1399453790","file4":"1399453796","file5":"1399453797","file3":"1399453795"},"map_files_photo_id_array":[{"photo_id":"1399453797","filename":"file5"},{"photo_id":"1399453794","filename":"file2"},{"photo_id":"1399453796","filename":"file4"},{"photo_id":"1399453793","filename":"file1"},{"photo_id":"1399453790","filename":"file0"},{"photo_id":"1399453795","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399453794":["hashtag1","hashtag2"]},{"1399453797":["hashtag1","hashtag2"]},{"1399453790":["hashtag1","hashtag2"]},{"1399453793":["hashtag1","hashtag2"]},{"1399453796":["hashtag1","hashtag2"]},{"1399453795":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399453794, 1399453797, 1399453790, 1399453793, 1399453796, 1399453795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47122931480408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 09:46:22.305686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/29/image_15122025_09_29_44_9784.jpg', '/home/pi/Desktop/images/15122025/09/29/image_15122025_09_29_54_9873.jpg', '/home/pi/Desktop/images/15122025/09/30/image_15122025_09_30_14_10055.jpg', '/home/pi/Desktop/images/15122025/09/30/image_15122025_09_30_25_10684.jpg', '/home/pi/Desktop/images/15122025/09/30/image_15122025_09_30_35_9726.jpg', '/home/pi/Desktop/images/15122025/09/30/image_15122025_09_30_45_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/29/image_15122025_09_29_44_9784.jpg
/home/pi/Desktop/images/15122025/09/29/image_15122025_09_29_54_9873.jpg
/home/pi/Desktop/images/15122025/09/30/image_15122025_09_30_14_10055.jpg
/home/pi/Desktop/images/15122025/09/30/image_15122025_09_30_25_10684.jpg
/home/pi/Desktop/images/15122025/09/30/image_15122025_09_30_35_9726.jpg
/home/pi/Desktop/images/15122025/09/30/image_15122025_09_30_45_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":["1399453813","1399453816","1399453801","1399453804","1399453807","1399453811"],"photo_ids_order":["1399453801","1399453804","1399453807","1399453811","1399453813","1399453816"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8992786f6df1a12b5ba21cf66690cb81.jpg","text":"TemporaryFile(/tmp/multipartBody843331273491843715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788442936,"filename":"image_15122025_09_30_35_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f691aef9243af7236bbf426ed46aa594.jpg","text":"TemporaryFile(/tmp/multipartBody1052963678050939015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788442936,"filename":"image_15122025_09_30_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/15/67a796cfd326da0587c171809aca537c.jpg","text":"TemporaryFile(/tmp/multipartBody1800874640671020819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788442936,"filename":"image_15122025_09_29_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/15/09fa92bc28ff14eb5451ebdff62ba3cb.jpg","text":"TemporaryFile(/tmp/multipartBody8163131358273136420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788442936,"filename":"image_15122025_09_29_54_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/15/d0e86e21fe637d8b9bcfe44b04667fbf.jpg","text":"TemporaryFile(/tmp/multipartBody3366302488502995836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788442936,"filename":"image_15122025_09_30_14_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fedc69f391cef844e4d131ed42c38621.jpg","text":"TemporaryFile(/tmp/multipartBody8427039563943221488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788442936,"filename":"image_15122025_09_30_25_10684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399453807","file1":"1399453804","file0":"1399453801","file4":"1399453813","file5":"1399453816","file3":"1399453811"},"map_files_photo_id_array":[{"photo_id":"1399453816","filename":"file5"},{"photo_id":"1399453807","filename":"file2"},{"photo_id":"1399453813","filename":"file4"},{"photo_id":"1399453804","filename":"file1"},{"photo_id":"1399453801","filename":"file0"},{"photo_id":"1399453811","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399453813":["hashtag1","hashtag2"]},{"1399453816":["hashtag1","hashtag2"]},{"1399453801":["hashtag1","hashtag2"]},{"1399453804":["hashtag1","hashtag2"]},{"1399453807":["hashtag1","hashtag2"]},{"1399453811":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399453813, 1399453816, 1399453801, 1399453804, 1399453807, 1399453811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46229529380798 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 09:47:03.189434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/30/image_15122025_09_30_54_9755.jpg', '/home/pi/Desktop/images/15122025/09/30/image_15122025_09_31_05_10778.jpg', '/home/pi/Desktop/images/15122025/09/31/image_15122025_09_31_15_9822.jpg', '/home/pi/Desktop/images/15122025/09/31/image_15122025_09_31_25_9803.jpg', '/home/pi/Desktop/images/15122025/09/31/image_15122025_09_31_34_9649.jpg', '/home/pi/Desktop/images/15122025/09/31/image_15122025_09_31_45_10768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/30/image_15122025_09_30_54_9755.jpg
/home/pi/Desktop/images/15122025/09/30/image_15122025_09_31_05_10778.jpg
/home/pi/Desktop/images/15122025/09/31/image_15122025_09_31_15_9822.jpg
/home/pi/Desktop/images/15122025/09/31/image_15122025_09_31_25_9803.jpg
/home/pi/Desktop/images/15122025/09/31/image_15122025_09_31_34_9649.jpg
/home/pi/Desktop/images/15122025/09/31/image_15122025_09_31_45_10768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399453828","1399453825","1399453827","1399453823","1399453832","1399453826"],"photo_ids_order":["1399453823","1399453825","1399453826","1399453827","1399453828","1399453832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3a4454727098155b86942653528ef1c7.jpg","text":"TemporaryFile(/tmp/multipartBody6580642361054132955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788483924,"filename":"image_15122025_09_31_34_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/99ad8e333eee9f859bf8a972b900cbd6.jpg","text":"TemporaryFile(/tmp/multipartBody658945408910586461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788483924,"filename":"image_15122025_09_31_05_10778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/729499818f135e6b94e0a42f48b82c52.jpg","text":"TemporaryFile(/tmp/multipartBody5401636106237565825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788483924,"filename":"image_15122025_09_31_25_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/df94b509b844aaba913c8a387bbbb012.jpg","text":"TemporaryFile(/tmp/multipartBody1146452121770235378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788483924,"filename":"image_15122025_09_30_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/15/1b8138fd4492e83c12651618ea95d1dc.jpg","text":"TemporaryFile(/tmp/multipartBody2189901153153486860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788483924,"filename":"image_15122025_09_31_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/15/ad9ae02826e3d9e4dbfa53abbee987e1.jpg","text":"TemporaryFile(/tmp/multipartBody3783583454382630540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788483924,"filename":"image_15122025_09_31_15_9822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399453826","file1":"1399453825","file0":"1399453823","file4":"1399453828","file5":"1399453832","file3":"1399453827"},"map_files_photo_id_array":[{"photo_id":"1399453832","filename":"file5"},{"photo_id":"1399453826","filename":"file2"},{"photo_id":"1399453828","filename":"file4"},{"photo_id":"1399453825","filename":"file1"},{"photo_id":"1399453823","filename":"file0"},{"photo_id":"1399453827","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399453828":["hashtag1","hashtag2"]},{"1399453825":["hashtag1","hashtag2"]},{"1399453827":["hashtag1","hashtag2"]},{"1399453823":["hashtag1","hashtag2"]},{"1399453832":["hashtag1","hashtag2"]},{"1399453826":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399453828, 1399453825, 1399453827, 1399453823, 1399453832, 1399453826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.035603046417236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 09:47:42.587530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/26/image_05112025_14_26_15_3595.jpg', '/home/pi/Desktop/images/05112025/14/26/image_05112025_14_26_17_2580.jpg', '/home/pi/Desktop/images/05112025/14/26/image_05112025_14_26_20_2654.jpg', '/home/pi/Desktop/images/05112025/14/26/image_05112025_14_26_23_3649.jpg', '/home/pi/Desktop/images/05112025/14/26/image_05112025_14_26_26_2553.jpg', '/home/pi/Desktop/images/05112025/14/26/image_05112025_14_26_30_3717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/26/image_05112025_14_26_15_3595.jpg
/home/pi/Desktop/images/05112025/14/26/image_05112025_14_26_17_2580.jpg
/home/pi/Desktop/images/05112025/14/26/image_05112025_14_26_20_2654.jpg
/home/pi/Desktop/images/05112025/14/26/image_05112025_14_26_23_3649.jpg
/home/pi/Desktop/images/05112025/14/26/image_05112025_14_26_26_2553.jpg
/home/pi/Desktop/images/05112025/14/26/image_05112025_14_26_30_3717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399453855","1399453854","1399453839","1399453853","1399453856","1399453852"],"photo_ids_order":["1399453839","1399453852","1399453853","1399453854","1399453855","1399453856"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b20d6889bdfd0bc3bf71fe93e00eefbd.jpg","text":"TemporaryFile(/tmp/multipartBody7621750107107359478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788523289,"filename":"image_05112025_14_26_26_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/15/c70018a08b315a839fc95fced07e3a54.jpg","text":"TemporaryFile(/tmp/multipartBody4758528395065411631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788523289,"filename":"image_05112025_14_26_23_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/15/60c82008ea0c512914cac70be13bfe06.jpg","text":"TemporaryFile(/tmp/multipartBody4928517047916730651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788523289,"filename":"image_05112025_14_26_15_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/15/d3ce519556450b0c94877d4415884d2c.jpg","text":"TemporaryFile(/tmp/multipartBody2657087798787636493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788523289,"filename":"image_05112025_14_26_20_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/15/3f74401c512e30f7b5895bf60e6b2cb8.jpg","text":"TemporaryFile(/tmp/multipartBody3494136437167426673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788523289,"filename":"image_05112025_14_26_30_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/385f3c43e173490285b70d785ab68734.jpg","text":"TemporaryFile(/tmp/multipartBody4374299362597943690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788523289,"filename":"image_05112025_14_26_17_2580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399453853","file1":"1399453852","file0":"1399453839","file4":"1399453855","file5":"1399453856","file3":"1399453854"},"map_files_photo_id_array":[{"photo_id":"1399453856","filename":"file5"},{"photo_id":"1399453853","filename":"file2"},{"photo_id":"1399453855","filename":"file4"},{"photo_id":"1399453852","filename":"file1"},{"photo_id":"1399453839","filename":"file0"},{"photo_id":"1399453854","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399453855":["hashtag1","hashtag2"]},{"1399453854":["hashtag1","hashtag2"]},{"1399453839":["hashtag1","hashtag2"]},{"1399453853":["hashtag1","hashtag2"]},{"1399453856":["hashtag1","hashtag2"]},{"1399453852":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399453855, 1399453854, 1399453839, 1399453853, 1399453856, 1399453852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15991735458374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 09:48:21.868819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/31/image_15122025_09_31_55_9955.jpg', '/home/pi/Desktop/images/15122025/09/31/image_15122025_09_32_05_9634.jpg', '/home/pi/Desktop/images/15122025/09/32/image_15122025_09_32_14_9756.jpg', '/home/pi/Desktop/images/15122025/09/32/image_15122025_09_32_25_10286.jpg', '/home/pi/Desktop/images/15122025/09/32/image_15122025_09_32_35_9977.jpg', '/home/pi/Desktop/images/15122025/09/32/image_15122025_09_32_44_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/31/image_15122025_09_31_55_9955.jpg
/home/pi/Desktop/images/15122025/09/31/image_15122025_09_32_05_9634.jpg
/home/pi/Desktop/images/15122025/09/32/image_15122025_09_32_14_9756.jpg
/home/pi/Desktop/images/15122025/09/32/image_15122025_09_32_25_10286.jpg
/home/pi/Desktop/images/15122025/09/32/image_15122025_09_32_35_9977.jpg
/home/pi/Desktop/images/15122025/09/32/image_15122025_09_32_44_9623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399453952","1399453862","1399453996","1399453907","1399453864","1399453867"],"photo_ids_order":["1399453862","1399453864","1399453867","1399453907","1399453952","1399453996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9c77da9f6d0e71bc4ace9097c66d2761.jpg","text":"TemporaryFile(/tmp/multipartBody6556301595650382427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788562539,"filename":"image_15122025_09_32_35_9977.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0883511b7c2f29405492dd81e4468e27.jpg","text":"TemporaryFile(/tmp/multipartBody52752754699947043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788562539,"filename":"image_15122025_09_31_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/15/d0876fcb9f9af37809694da74c92f4c3.jpg","text":"TemporaryFile(/tmp/multipartBody5293380510221957526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788562539,"filename":"image_15122025_09_32_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/15/714de8c91391905217df85b0b18bfe14.jpg","text":"TemporaryFile(/tmp/multipartBody7781892552549612410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788562539,"filename":"image_15122025_09_32_25_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/15/d658cc000fe1a51cc69c4b2cc0450752.jpg","text":"TemporaryFile(/tmp/multipartBody3002260183447320020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788562539,"filename":"image_15122025_09_32_05_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c182984dad6ea732d2c0a7f86c65fae3.jpg","text":"TemporaryFile(/tmp/multipartBody7382863383433632073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788562539,"filename":"image_15122025_09_32_14_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399453867","file1":"1399453864","file0":"1399453862","file4":"1399453952","file5":"1399453996","file3":"1399453907"},"map_files_photo_id_array":[{"photo_id":"1399453996","filename":"file5"},{"photo_id":"1399453867","filename":"file2"},{"photo_id":"1399453952","filename":"file4"},{"photo_id":"1399453864","filename":"file1"},{"photo_id":"1399453862","filename":"file0"},{"photo_id":"1399453907","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399453952":["hashtag1","hashtag2"]},{"1399453862":["hashtag1","hashtag2"]},{"1399453996":["hashtag1","hashtag2"]},{"1399453907":["hashtag1","hashtag2"]},{"1399453864":["hashtag1","hashtag2"]},{"1399453867":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399453952, 1399453862, 1399453996, 1399453907, 1399453864, 1399453867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.971338748931885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 09:49:02.900933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/32/image_15122025_09_32_55_10850.jpg', '/home/pi/Desktop/images/15122025/09/32/image_15122025_09_33_05_9612.jpg', '/home/pi/Desktop/images/15122025/09/33/image_15122025_09_33_14_9645.jpg', '/home/pi/Desktop/images/15122025/09/33/image_15122025_09_33_24_9922.jpg', '/home/pi/Desktop/images/15122025/09/33/image_15122025_09_33_35_10663.jpg', '/home/pi/Desktop/images/15122025/09/33/image_15122025_09_33_45_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/32/image_15122025_09_32_55_10850.jpg
/home/pi/Desktop/images/15122025/09/32/image_15122025_09_33_05_9612.jpg
/home/pi/Desktop/images/15122025/09/33/image_15122025_09_33_14_9645.jpg
/home/pi/Desktop/images/15122025/09/33/image_15122025_09_33_24_9922.jpg
/home/pi/Desktop/images/15122025/09/33/image_15122025_09_33_35_10663.jpg
/home/pi/Desktop/images/15122025/09/33/image_15122025_09_33_45_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399454209","1399454200","1399454130","1399454211","1399454205","1399454167"],"photo_ids_order":["1399454130","1399454167","1399454200","1399454205","1399454209","1399454211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a8e9bdd329f0369499c26193fa3a8f9c.jpg","text":"TemporaryFile(/tmp/multipartBody5960177518254629043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788603684,"filename":"image_15122025_09_33_35_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/aab999f1c62e85309d41ee703548811e.jpg","text":"TemporaryFile(/tmp/multipartBody7599538803729381071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788603684,"filename":"image_15122025_09_33_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/15/1989d90bd53f8cc140e05143b34d39b3.jpg","text":"TemporaryFile(/tmp/multipartBody133050598408937335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788603684,"filename":"image_15122025_09_32_55_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/15/55251853c36fd02278df70b025e95640.jpg","text":"TemporaryFile(/tmp/multipartBody6354137443254562575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788603684,"filename":"image_15122025_09_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/15/6c4512f92d2167da15f63c0ba8a33eaa.jpg","text":"TemporaryFile(/tmp/multipartBody2065263219541045708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788603684,"filename":"image_15122025_09_33_24_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/15/b6914443e2da74b9ce84c9d728b18e15.jpg","text":"TemporaryFile(/tmp/multipartBody3040224187225902075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788603684,"filename":"image_15122025_09_33_05_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399454200","file1":"1399454167","file0":"1399454130","file4":"1399454209","file5":"1399454211","file3":"1399454205"},"map_files_photo_id_array":[{"photo_id":"1399454211","filename":"file5"},{"photo_id":"1399454200","filename":"file2"},{"photo_id":"1399454209","filename":"file4"},{"photo_id":"1399454167","filename":"file1"},{"photo_id":"1399454130","filename":"file0"},{"photo_id":"1399454205","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399454209":["hashtag1","hashtag2"]},{"1399454200":["hashtag1","hashtag2"]},{"1399454130":["hashtag1","hashtag2"]},{"1399454211":["hashtag1","hashtag2"]},{"1399454205":["hashtag1","hashtag2"]},{"1399454167":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399454209, 1399454200, 1399454130, 1399454211, 1399454205, 1399454167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04135060310364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 09:49:42.053194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/26/image_05112025_14_26_32_2580.jpg', '/home/pi/Desktop/images/05112025/14/26/image_05112025_14_26_35_2525.jpg', '/home/pi/Desktop/images/05112025/14/26/image_05112025_14_26_38_3578.jpg', '/home/pi/Desktop/images/05112025/14/26/image_05112025_14_26_41_2691.jpg', '/home/pi/Desktop/images/05112025/14/26/image_05112025_14_26_44_2781.jpg', '/home/pi/Desktop/images/05112025/14/26/image_05112025_14_26_47_2967.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/26/image_05112025_14_26_32_2580.jpg
/home/pi/Desktop/images/05112025/14/26/image_05112025_14_26_35_2525.jpg
/home/pi/Desktop/images/05112025/14/26/image_05112025_14_26_38_3578.jpg
/home/pi/Desktop/images/05112025/14/26/image_05112025_14_26_41_2691.jpg
/home/pi/Desktop/images/05112025/14/26/image_05112025_14_26_44_2781.jpg
/home/pi/Desktop/images/05112025/14/26/image_05112025_14_26_47_2967.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399454220","1399454223","1399454219","1399454222","1399454216","1399454221"],"photo_ids_order":["1399454216","1399454219","1399454220","1399454221","1399454222","1399454223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f31d241c8fbe4a1d0e2f09ff31aa6c5b.jpg","text":"TemporaryFile(/tmp/multipartBody3985799081735604922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788642750,"filename":"image_05112025_14_26_38_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/15/747d9cc04b777ea112dad4727bd5aa8c.jpg","text":"TemporaryFile(/tmp/multipartBody6009494025651723660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788642750,"filename":"image_05112025_14_26_47_2967.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e0d2d4ec4a516d8d13ea33be20951018.jpg","text":"TemporaryFile(/tmp/multipartBody6533658799569042811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788642750,"filename":"image_05112025_14_26_35_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/15/847d22ffaf2cb106d1f27ac817f3ea0d.jpg","text":"TemporaryFile(/tmp/multipartBody8492314809563719000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788642750,"filename":"image_05112025_14_26_44_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4200613dcd67571b21979bab2387b98e.jpg","text":"TemporaryFile(/tmp/multipartBody3234366369561506990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788642750,"filename":"image_05112025_14_26_32_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/41e61d557281aa3883dea3df1c2278f2.jpg","text":"TemporaryFile(/tmp/multipartBody665582020939108120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788642750,"filename":"image_05112025_14_26_41_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399454220","file1":"1399454219","file0":"1399454216","file4":"1399454222","file5":"1399454223","file3":"1399454221"},"map_files_photo_id_array":[{"photo_id":"1399454223","filename":"file5"},{"photo_id":"1399454220","filename":"file2"},{"photo_id":"1399454222","filename":"file4"},{"photo_id":"1399454219","filename":"file1"},{"photo_id":"1399454216","filename":"file0"},{"photo_id":"1399454221","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399454220":["hashtag1","hashtag2"]},{"1399454223":["hashtag1","hashtag2"]},{"1399454219":["hashtag1","hashtag2"]},{"1399454222":["hashtag1","hashtag2"]},{"1399454216":["hashtag1","hashtag2"]},{"1399454221":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399454220, 1399454223, 1399454219, 1399454222, 1399454216, 1399454221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.43008518218994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 09:50:22.327188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/33/image_15122025_09_33_54_9724.jpg', '/home/pi/Desktop/images/15122025/09/33/image_15122025_09_34_05_10656.jpg', '/home/pi/Desktop/images/15122025/09/34/image_15122025_09_34_15_9693.jpg', '/home/pi/Desktop/images/15122025/09/34/image_15122025_09_34_24_9685.jpg', '/home/pi/Desktop/images/15122025/09/34/image_15122025_09_34_35_10660.jpg', '/home/pi/Desktop/images/15122025/09/34/image_15122025_09_34_45_9833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/33/image_15122025_09_33_54_9724.jpg
/home/pi/Desktop/images/15122025/09/33/image_15122025_09_34_05_10656.jpg
/home/pi/Desktop/images/15122025/09/34/image_15122025_09_34_15_9693.jpg
/home/pi/Desktop/images/15122025/09/34/image_15122025_09_34_24_9685.jpg
/home/pi/Desktop/images/15122025/09/34/image_15122025_09_34_35_10660.jpg
/home/pi/Desktop/images/15122025/09/34/image_15122025_09_34_45_9833.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399454235","1399454238","1399454243","1399454246","1399454231","1399454240"],"photo_ids_order":["1399454231","1399454235","1399454238","1399454240","1399454243","1399454246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d71d34d94af8f188f3aec3200d3778d2.jpg","text":"TemporaryFile(/tmp/multipartBody3734287260951322139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788682980,"filename":"image_15122025_09_34_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/15/c58a6fba00c4dece8756812dd06d8cb5.jpg","text":"TemporaryFile(/tmp/multipartBody6362622502733804203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788682980,"filename":"image_15122025_09_34_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/15/17bdcf696c667af13ae18551c73d2b82.jpg","text":"TemporaryFile(/tmp/multipartBody6024424534153081338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788682980,"filename":"image_15122025_09_34_35_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/71ff51c7a19c935d6d052f5ea8e7f7f8.jpg","text":"TemporaryFile(/tmp/multipartBody4894082953996174358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788682980,"filename":"image_15122025_09_34_45_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f43c140f3577b31c0da0983086d4a0c6.jpg","text":"TemporaryFile(/tmp/multipartBody1582042408078077949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788682980,"filename":"image_15122025_09_33_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/15/e0dd1d47bfc3ab04905b051702dc8846.jpg","text":"TemporaryFile(/tmp/multipartBody6577294671697923579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788682980,"filename":"image_15122025_09_34_24_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399454238","file1":"1399454235","file0":"1399454231","file4":"1399454243","file5":"1399454246","file3":"1399454240"},"map_files_photo_id_array":[{"photo_id":"1399454246","filename":"file5"},{"photo_id":"1399454238","filename":"file2"},{"photo_id":"1399454243","filename":"file4"},{"photo_id":"1399454235","filename":"file1"},{"photo_id":"1399454231","filename":"file0"},{"photo_id":"1399454240","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399454235":["hashtag1","hashtag2"]},{"1399454238":["hashtag1","hashtag2"]},{"1399454243":["hashtag1","hashtag2"]},{"1399454246":["hashtag1","hashtag2"]},{"1399454231":["hashtag1","hashtag2"]},{"1399454240":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399454235, 1399454238, 1399454243, 1399454246, 1399454231, 1399454240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.14079523086548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 09:51:03.137759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/34/image_15122025_09_34_55_9644.jpg', '/home/pi/Desktop/images/15122025/09/34/image_15122025_09_35_05_10675.jpg', '/home/pi/Desktop/images/15122025/09/35/image_15122025_09_35_15_9692.jpg', '/home/pi/Desktop/images/15122025/09/35/image_15122025_09_35_25_9786.jpg', '/home/pi/Desktop/images/15122025/09/35/image_15122025_09_35_34_9712.jpg', '/home/pi/Desktop/images/15122025/09/35/image_15122025_09_35_44_9848.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/34/image_15122025_09_34_55_9644.jpg
/home/pi/Desktop/images/15122025/09/34/image_15122025_09_35_05_10675.jpg
/home/pi/Desktop/images/15122025/09/35/image_15122025_09_35_15_9692.jpg
/home/pi/Desktop/images/15122025/09/35/image_15122025_09_35_25_9786.jpg
/home/pi/Desktop/images/15122025/09/35/image_15122025_09_35_34_9712.jpg
/home/pi/Desktop/images/15122025/09/35/image_15122025_09_35_44_9848.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399454262","1399454270","1399454264","1399454258","1399454267","1399454260"],"photo_ids_order":["1399454258","1399454260","1399454262","1399454264","1399454267","1399454270"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5e9a298495499a05310b48e837432254.jpg","text":"TemporaryFile(/tmp/multipartBody6772322435796920723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788723822,"filename":"image_15122025_09_35_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/15/e67957cc54418c4e055d6ab203c8b64d.jpg","text":"TemporaryFile(/tmp/multipartBody1443512099278944750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788723822,"filename":"image_15122025_09_35_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/15/b1b3ad6fd3e59fadb8e9f563885846cf.jpg","text":"TemporaryFile(/tmp/multipartBody4810546804673426508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788723822,"filename":"image_15122025_09_35_25_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8dc57cb2566657dc7d5c22d49c8e66f4.jpg","text":"TemporaryFile(/tmp/multipartBody1575158780702267861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788723822,"filename":"image_15122025_09_34_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/15/8b87b386f03ee9ac53ab0f51e669240e.jpg","text":"TemporaryFile(/tmp/multipartBody1214996696064518698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788723822,"filename":"image_15122025_09_35_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/15/8d9f05854bfac3565fb41c12b8a6f971.jpg","text":"TemporaryFile(/tmp/multipartBody4125187801239997424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788723822,"filename":"image_15122025_09_35_05_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399454262","file1":"1399454260","file0":"1399454258","file4":"1399454267","file5":"1399454270","file3":"1399454264"},"map_files_photo_id_array":[{"photo_id":"1399454270","filename":"file5"},{"photo_id":"1399454262","filename":"file2"},{"photo_id":"1399454267","filename":"file4"},{"photo_id":"1399454260","filename":"file1"},{"photo_id":"1399454258","filename":"file0"},{"photo_id":"1399454264","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399454262":["hashtag1","hashtag2"]},{"1399454270":["hashtag1","hashtag2"]},{"1399454264":["hashtag1","hashtag2"]},{"1399454258":["hashtag1","hashtag2"]},{"1399454267":["hashtag1","hashtag2"]},{"1399454260":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399454262, 1399454270, 1399454264, 1399454258, 1399454267, 1399454260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.490997314453125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 09:51:42.519538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/26/image_05112025_14_26_53_2686.jpg', '/home/pi/Desktop/images/05112025/14/26/image_05112025_14_26_59_2652.jpg', '/home/pi/Desktop/images/05112025/14/27/image_05112025_14_27_02_3768.jpg', '/home/pi/Desktop/images/05112025/14/27/image_05112025_14_27_05_2636.jpg', '/home/pi/Desktop/images/05112025/14/27/image_05112025_14_27_08_2720.jpg', '/home/pi/Desktop/images/05112025/14/27/image_05112025_14_27_11_3675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/26/image_05112025_14_26_53_2686.jpg
/home/pi/Desktop/images/05112025/14/26/image_05112025_14_26_59_2652.jpg
/home/pi/Desktop/images/05112025/14/27/image_05112025_14_27_02_3768.jpg
/home/pi/Desktop/images/05112025/14/27/image_05112025_14_27_05_2636.jpg
/home/pi/Desktop/images/05112025/14/27/image_05112025_14_27_08_2720.jpg
/home/pi/Desktop/images/05112025/14/27/image_05112025_14_27_11_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":["1399454280","1399454273","1399454276","1399454279","1399454281","1399454278"],"photo_ids_order":["1399454273","1399454276","1399454278","1399454279","1399454280","1399454281"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6fa59655d1b159dd2d858f1aeda313bf.jpg","text":"TemporaryFile(/tmp/multipartBody183240470488703086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788763229,"filename":"image_05112025_14_27_08_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/15/ef6383aaf4a757760020806506201e9d.jpg","text":"TemporaryFile(/tmp/multipartBody13474163919054153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788763229,"filename":"image_05112025_14_26_53_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/15/08c925090a70442ddf41528a733a32e6.jpg","text":"TemporaryFile(/tmp/multipartBody7328505503639348520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788763229,"filename":"image_05112025_14_26_59_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/15/f3631a2264f6a7d7fbae5d4c69da4fce.jpg","text":"TemporaryFile(/tmp/multipartBody1904947741841718127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788763229,"filename":"image_05112025_14_27_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/15/e5589f2b7eca8dbb2a3338a6b9c11be2.jpg","text":"TemporaryFile(/tmp/multipartBody8305835068392151448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788763229,"filename":"image_05112025_14_27_11_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/03ae00a6a74953af56c308c23d9c7b4c.jpg","text":"TemporaryFile(/tmp/multipartBody5757842107986342737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788763229,"filename":"image_05112025_14_27_02_3768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399454278","file1":"1399454276","file0":"1399454273","file4":"1399454280","file5":"1399454281","file3":"1399454279"},"map_files_photo_id_array":[{"photo_id":"1399454281","filename":"file5"},{"photo_id":"1399454278","filename":"file2"},{"photo_id":"1399454280","filename":"file4"},{"photo_id":"1399454276","filename":"file1"},{"photo_id":"1399454273","filename":"file0"},{"photo_id":"1399454279","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399454280":["hashtag1","hashtag2"]},{"1399454273":["hashtag1","hashtag2"]},{"1399454276":["hashtag1","hashtag2"]},{"1399454279":["hashtag1","hashtag2"]},{"1399454281":["hashtag1","hashtag2"]},{"1399454278":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399454280, 1399454273, 1399454276, 1399454279, 1399454281, 1399454278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.979933977127075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 09:52:22.745693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/35/image_15122025_09_35_55_10612.jpg', '/home/pi/Desktop/images/15122025/09/35/image_15122025_09_36_05_9600.jpg', '/home/pi/Desktop/images/15122025/09/36/image_15122025_09_36_15_10550.jpg', '/home/pi/Desktop/images/15122025/09/36/image_15122025_09_36_25_9859.jpg', '/home/pi/Desktop/images/15122025/09/36/image_15122025_09_36_35_9646.jpg', '/home/pi/Desktop/images/15122025/09/36/image_15122025_09_36_45_10676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/35/image_15122025_09_35_55_10612.jpg
/home/pi/Desktop/images/15122025/09/35/image_15122025_09_36_05_9600.jpg
/home/pi/Desktop/images/15122025/09/36/image_15122025_09_36_15_10550.jpg
/home/pi/Desktop/images/15122025/09/36/image_15122025_09_36_25_9859.jpg
/home/pi/Desktop/images/15122025/09/36/image_15122025_09_36_35_9646.jpg
/home/pi/Desktop/images/15122025/09/36/image_15122025_09_36_45_10676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399454314","1399454291","1399454294","1399454288","1399454309","1399454300"],"photo_ids_order":["1399454288","1399454291","1399454294","1399454300","1399454309","1399454314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/72e72097941aa7c2e4121e8f70f1429f.jpg","text":"TemporaryFile(/tmp/multipartBody3436182606296325449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788803367,"filename":"image_15122025_09_36_45_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dabbecba3de349b66e8c62b0d08eedcf.jpg","text":"TemporaryFile(/tmp/multipartBody1559258745098924977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788803367,"filename":"image_15122025_09_36_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/15/cf7ac564c094a9252b44cfd6419ca01e.jpg","text":"TemporaryFile(/tmp/multipartBody7612209586514683838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788803367,"filename":"image_15122025_09_36_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/15/e903abcfa1dff597e31417b1726bcbe1.jpg","text":"TemporaryFile(/tmp/multipartBody4387380456188868575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788803367,"filename":"image_15122025_09_35_55_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/15/bae283c83eb890fb14a96b88e355956c.jpg","text":"TemporaryFile(/tmp/multipartBody4403959232690949821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788803367,"filename":"image_15122025_09_36_35_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7a9d9e87cbd5ff44f5b961e1e28cbf58.jpg","text":"TemporaryFile(/tmp/multipartBody6435278844033267476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788803367,"filename":"image_15122025_09_36_25_9859.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399454294","file1":"1399454291","file0":"1399454288","file4":"1399454309","file5":"1399454314","file3":"1399454300"},"map_files_photo_id_array":[{"photo_id":"1399454314","filename":"file5"},{"photo_id":"1399454294","filename":"file2"},{"photo_id":"1399454309","filename":"file4"},{"photo_id":"1399454291","filename":"file1"},{"photo_id":"1399454288","filename":"file0"},{"photo_id":"1399454300","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399454314":["hashtag1","hashtag2"]},{"1399454291":["hashtag1","hashtag2"]},{"1399454294":["hashtag1","hashtag2"]},{"1399454288":["hashtag1","hashtag2"]},{"1399454309":["hashtag1","hashtag2"]},{"1399454300":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399454314, 1399454291, 1399454294, 1399454288, 1399454309, 1399454300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.514304399490356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 09:53:12.049052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 09:53:22.145975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/36/image_15122025_09_36_55_9715.jpg', '/home/pi/Desktop/images/15122025/09/36/image_15122025_09_37_05_9752.jpg', '/home/pi/Desktop/images/15122025/09/37/image_15122025_09_37_14_9714.jpg', '/home/pi/Desktop/images/15122025/09/37/image_15122025_09_37_24_9978.jpg', '/home/pi/Desktop/images/15122025/09/37/image_15122025_09_37_35_10622.jpg', '/home/pi/Desktop/images/15122025/09/37/image_15122025_09_37_45_9837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/36/image_15122025_09_36_55_9715.jpg
/home/pi/Desktop/images/15122025/09/36/image_15122025_09_37_05_9752.jpg
/home/pi/Desktop/images/15122025/09/37/image_15122025_09_37_14_9714.jpg
/home/pi/Desktop/images/15122025/09/37/image_15122025_09_37_24_9978.jpg
/home/pi/Desktop/images/15122025/09/37/image_15122025_09_37_35_10622.jpg
/home/pi/Desktop/images/15122025/09/37/image_15122025_09_37_45_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.5050132274627686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 09:53:32.133171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 09:53:42.056622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/27/image_05112025_14_27_17_2603.jpg', '/home/pi/Desktop/images/05112025/14/27/image_05112025_14_27_29_3571.jpg', '/home/pi/Desktop/images/05112025/14/27/image_05112025_14_27_32_2665.jpg', '/home/pi/Desktop/images/05112025/14/27/image_05112025_14_27_38_3567.jpg', '/home/pi/Desktop/images/05112025/14/27/image_05112025_14_27_44_2658.jpg', '/home/pi/Desktop/images/05112025/14/27/image_05112025_14_27_47_3603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/27/image_05112025_14_27_17_2603.jpg
/home/pi/Desktop/images/05112025/14/27/image_05112025_14_27_29_3571.jpg
/home/pi/Desktop/images/05112025/14/27/image_05112025_14_27_32_2665.jpg
/home/pi/Desktop/images/05112025/14/27/image_05112025_14_27_38_3567.jpg
/home/pi/Desktop/images/05112025/14/27/image_05112025_14_27_44_2658.jpg
/home/pi/Desktop/images/05112025/14/27/image_05112025_14_27_47_3603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399454349","1399454342","1399454351","1399454348","1399454347","1399454350"],"photo_ids_order":["1399454342","1399454347","1399454348","1399454349","1399454350","1399454351"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6cbfbf7ba293ade84eab0c293f0fd861.jpg","text":"TemporaryFile(/tmp/multipartBody3897753873046836982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788882774,"filename":"image_05112025_14_27_38_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cb390adb7e10d03bef67f2261cb2703d.jpg","text":"TemporaryFile(/tmp/multipartBody5833110970353598250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788882774,"filename":"image_05112025_14_27_17_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/15/d94f8d61b44d827f2c13f1598abb69b9.jpg","text":"TemporaryFile(/tmp/multipartBody8550230893277753852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788882774,"filename":"image_05112025_14_27_47_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/15/bf5a71692a5131dc9ef1789b2c237523.jpg","text":"TemporaryFile(/tmp/multipartBody8495642168889301463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788882774,"filename":"image_05112025_14_27_32_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/15/cc0f1e43fe4b48b7d711e752c51cf890.jpg","text":"TemporaryFile(/tmp/multipartBody2036902780342038750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788882774,"filename":"image_05112025_14_27_29_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/15/1a7dfe668650bade9a92ee48f48b3ae8.jpg","text":"TemporaryFile(/tmp/multipartBody2373947237193916006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788882774,"filename":"image_05112025_14_27_44_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399454348","file1":"1399454347","file0":"1399454342","file4":"1399454350","file5":"1399454351","file3":"1399454349"},"map_files_photo_id_array":[{"photo_id":"1399454351","filename":"file5"},{"photo_id":"1399454348","filename":"file2"},{"photo_id":"1399454350","filename":"file4"},{"photo_id":"1399454347","filename":"file1"},{"photo_id":"1399454342","filename":"file0"},{"photo_id":"1399454349","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399454349":["hashtag1","hashtag2"]},{"1399454342":["hashtag1","hashtag2"]},{"1399454351":["hashtag1","hashtag2"]},{"1399454348":["hashtag1","hashtag2"]},{"1399454347":["hashtag1","hashtag2"]},{"1399454350":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399454349, 1399454342, 1399454351, 1399454348, 1399454347, 1399454350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62365937232971 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 09:54:22.405390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/36/image_15122025_09_36_55_9715.jpg', '/home/pi/Desktop/images/15122025/09/36/image_15122025_09_37_05_9752.jpg', '/home/pi/Desktop/images/15122025/09/37/image_15122025_09_37_14_9714.jpg', '/home/pi/Desktop/images/15122025/09/37/image_15122025_09_37_24_9978.jpg', '/home/pi/Desktop/images/15122025/09/37/image_15122025_09_37_35_10622.jpg', '/home/pi/Desktop/images/15122025/09/37/image_15122025_09_37_45_9837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/36/image_15122025_09_36_55_9715.jpg
/home/pi/Desktop/images/15122025/09/36/image_15122025_09_37_05_9752.jpg
/home/pi/Desktop/images/15122025/09/37/image_15122025_09_37_14_9714.jpg
/home/pi/Desktop/images/15122025/09/37/image_15122025_09_37_24_9978.jpg
/home/pi/Desktop/images/15122025/09/37/image_15122025_09_37_35_10622.jpg
/home/pi/Desktop/images/15122025/09/37/image_15122025_09_37_45_9837.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399454358","1399454367","1399454361","1399454363","1399454357","1399454365"],"photo_ids_order":["1399454357","1399454358","1399454361","1399454363","1399454365","1399454367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/18856ee19ef859a7811c78beac95f405.jpg","text":"TemporaryFile(/tmp/multipartBody5568408296859174559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788923116,"filename":"image_15122025_09_37_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/15/ef340bb616765d3e49a3d6b8daad4d37.jpg","text":"TemporaryFile(/tmp/multipartBody4614658923958842638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788923116,"filename":"image_15122025_09_37_45_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bf3ed6ba16493a03b99ea5a5dccbb35f.jpg","text":"TemporaryFile(/tmp/multipartBody8485565840116695950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788923116,"filename":"image_15122025_09_37_14_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8378efd106fe454982801513d37cfa9d.jpg","text":"TemporaryFile(/tmp/multipartBody4132317303690923906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788923116,"filename":"image_15122025_09_37_24_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/15/34e7a1ea3eff599a7cd1790cd1c254df.jpg","text":"TemporaryFile(/tmp/multipartBody423179451036614893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788923116,"filename":"image_15122025_09_36_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/15/ada3dc50ed22e0a70bbbd2095dfd1697.jpg","text":"TemporaryFile(/tmp/multipartBody9191530788647825415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788923116,"filename":"image_15122025_09_37_35_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399454361","file1":"1399454358","file0":"1399454357","file4":"1399454365","file5":"1399454367","file3":"1399454363"},"map_files_photo_id_array":[{"photo_id":"1399454367","filename":"file5"},{"photo_id":"1399454361","filename":"file2"},{"photo_id":"1399454365","filename":"file4"},{"photo_id":"1399454358","filename":"file1"},{"photo_id":"1399454357","filename":"file0"},{"photo_id":"1399454363","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399454358":["hashtag1","hashtag2"]},{"1399454367":["hashtag1","hashtag2"]},{"1399454361":["hashtag1","hashtag2"]},{"1399454363":["hashtag1","hashtag2"]},{"1399454357":["hashtag1","hashtag2"]},{"1399454365":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399454358, 1399454367, 1399454361, 1399454363, 1399454357, 1399454365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95674800872803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 09:55:03.146892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/37/image_15122025_09_37_54_9584.jpg', '/home/pi/Desktop/images/15122025/09/37/image_15122025_09_38_05_10600.jpg', '/home/pi/Desktop/images/15122025/09/38/image_15122025_09_38_15_9698.jpg', '/home/pi/Desktop/images/15122025/09/38/image_15122025_09_38_25_9838.jpg', '/home/pi/Desktop/images/15122025/09/38/image_15122025_09_38_35_10667.jpg', '/home/pi/Desktop/images/15122025/09/38/image_15122025_09_38_45_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/37/image_15122025_09_37_54_9584.jpg
/home/pi/Desktop/images/15122025/09/37/image_15122025_09_38_05_10600.jpg
/home/pi/Desktop/images/15122025/09/38/image_15122025_09_38_15_9698.jpg
/home/pi/Desktop/images/15122025/09/38/image_15122025_09_38_25_9838.jpg
/home/pi/Desktop/images/15122025/09/38/image_15122025_09_38_35_10667.jpg
/home/pi/Desktop/images/15122025/09/38/image_15122025_09_38_45_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":["1399454407","1399454370","1399454373","1399454409","1399454375","1399454395"],"photo_ids_order":["1399454370","1399454373","1399454375","1399454395","1399454407","1399454409"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bfd6e269407bfe7166fc9728fb1e271d.jpg","text":"TemporaryFile(/tmp/multipartBody8644992165765707228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788963933,"filename":"image_15122025_09_38_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/15/1dafe2fddc0e7d46169462d1028e1dac.jpg","text":"TemporaryFile(/tmp/multipartBody2852623632311851024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788963933,"filename":"image_15122025_09_37_54_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/517cb74bb761e24becf3263e5d1bfa22.jpg","text":"TemporaryFile(/tmp/multipartBody1016143889456442779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788963933,"filename":"image_15122025_09_38_05_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ef406efbb88c603a65467aa9a92d5fa3.jpg","text":"TemporaryFile(/tmp/multipartBody2308590685579197200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788963933,"filename":"image_15122025_09_38_45_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a494d853fe31db8156e657fe4c2c7c9d.jpg","text":"TemporaryFile(/tmp/multipartBody3175877602446168134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788963933,"filename":"image_15122025_09_38_15_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1b52b7213556b742a2e07ddc63d5f019.jpg","text":"TemporaryFile(/tmp/multipartBody3751211181718814777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765788963933,"filename":"image_15122025_09_38_25_9838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399454375","file1":"1399454373","file0":"1399454370","file4":"1399454407","file5":"1399454409","file3":"1399454395"},"map_files_photo_id_array":[{"photo_id":"1399454409","filename":"file5"},{"photo_id":"1399454375","filename":"file2"},{"photo_id":"1399454407","filename":"file4"},{"photo_id":"1399454373","filename":"file1"},{"photo_id":"1399454370","filename":"file0"},{"photo_id":"1399454395","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399454407":["hashtag1","hashtag2"]},{"1399454370":["hashtag1","hashtag2"]},{"1399454373":["hashtag1","hashtag2"]},{"1399454409":["hashtag1","hashtag2"]},{"1399454375":["hashtag1","hashtag2"]},{"1399454395":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399454407, 1399454370, 1399454373, 1399454409, 1399454375, 1399454395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.366172552108765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 09:55:42.471183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/27/image_05112025_14_27_50_2850.jpg', '/home/pi/Desktop/images/05112025/14/27/image_05112025_14_27_59_2872.jpg', '/home/pi/Desktop/images/05112025/14/28/image_05112025_14_28_02_2606.jpg', '/home/pi/Desktop/images/05112025/14/28/image_05112025_14_28_05_3635.jpg', '/home/pi/Desktop/images/05112025/14/28/image_05112025_14_28_08_2657.jpg', '/home/pi/Desktop/images/05112025/14/28/image_05112025_14_28_11_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/27/image_05112025_14_27_50_2850.jpg
/home/pi/Desktop/images/05112025/14/27/image_05112025_14_27_59_2872.jpg
/home/pi/Desktop/images/05112025/14/28/image_05112025_14_28_02_2606.jpg
/home/pi/Desktop/images/05112025/14/28/image_05112025_14_28_05_3635.jpg
/home/pi/Desktop/images/05112025/14/28/image_05112025_14_28_08_2657.jpg
/home/pi/Desktop/images/05112025/14/28/image_05112025_14_28_11_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":["1399454457","1399454454","1399454456","1399454450","1399454452","1399454455"],"photo_ids_order":["1399454450","1399454452","1399454454","1399454455","1399454456","1399454457"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7853c1feb9e96d5d8c7dccf431314231.jpg","text":"TemporaryFile(/tmp/multipartBody7054893724107113943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789003173,"filename":"image_05112025_14_28_11_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/03ffcf1eb4933ce8110166c279a597d4.jpg","text":"TemporaryFile(/tmp/multipartBody5423948965931629476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789003173,"filename":"image_05112025_14_28_02_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/15/306963f41bdb4be169386b86d7066e2b.jpg","text":"TemporaryFile(/tmp/multipartBody8438337330048348925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789003173,"filename":"image_05112025_14_28_08_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/15/50490b3bf23d6e6b034edddaf2a97f7a.jpg","text":"TemporaryFile(/tmp/multipartBody1371108085131420113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789003173,"filename":"image_05112025_14_27_50_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/15/38f71503a64c45a4e1612abcb973380f.jpg","text":"TemporaryFile(/tmp/multipartBody2655622560078591985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789003173,"filename":"image_05112025_14_27_59_2872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a8c438aa6d65b8cf172074a22b626294.jpg","text":"TemporaryFile(/tmp/multipartBody34465245092816774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789003173,"filename":"image_05112025_14_28_05_3635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399454454","file1":"1399454452","file0":"1399454450","file4":"1399454456","file5":"1399454457","file3":"1399454455"},"map_files_photo_id_array":[{"photo_id":"1399454457","filename":"file5"},{"photo_id":"1399454454","filename":"file2"},{"photo_id":"1399454456","filename":"file4"},{"photo_id":"1399454452","filename":"file1"},{"photo_id":"1399454450","filename":"file0"},{"photo_id":"1399454455","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399454457":["hashtag1","hashtag2"]},{"1399454454":["hashtag1","hashtag2"]},{"1399454456":["hashtag1","hashtag2"]},{"1399454450":["hashtag1","hashtag2"]},{"1399454452":["hashtag1","hashtag2"]},{"1399454455":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399454457, 1399454454, 1399454456, 1399454450, 1399454452, 1399454455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93465495109558 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 09:56:22.773741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/38/image_15122025_09_38_55_9665.jpg', '/home/pi/Desktop/images/15122025/09/38/image_15122025_09_39_05_10717.jpg', '/home/pi/Desktop/images/15122025/09/39/image_15122025_09_39_15_9577.jpg', '/home/pi/Desktop/images/15122025/09/39/image_15122025_09_39_25_9710.jpg', '/home/pi/Desktop/images/15122025/09/39/image_15122025_09_39_35_10626.jpg', '/home/pi/Desktop/images/15122025/09/39/image_15122025_09_39_45_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/38/image_15122025_09_38_55_9665.jpg
/home/pi/Desktop/images/15122025/09/38/image_15122025_09_39_05_10717.jpg
/home/pi/Desktop/images/15122025/09/39/image_15122025_09_39_15_9577.jpg
/home/pi/Desktop/images/15122025/09/39/image_15122025_09_39_25_9710.jpg
/home/pi/Desktop/images/15122025/09/39/image_15122025_09_39_35_10626.jpg
/home/pi/Desktop/images/15122025/09/39/image_15122025_09_39_45_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":["1399454469","1399454463","1399454471","1399454479","1399454473","1399454467"],"photo_ids_order":["1399454463","1399454467","1399454469","1399454471","1399454473","1399454479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/01af59bbd2c7e325a81c30dead420072.jpg","text":"TemporaryFile(/tmp/multipartBody2675199450883534030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789043395,"filename":"image_15122025_09_39_15_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/15/d9ff8bda1d6d9e180582d0f3da5b4115.jpg","text":"TemporaryFile(/tmp/multipartBody3054336276885352621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789043395,"filename":"image_15122025_09_38_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/15/52aa5a03e60ae6738156c3c3c68e5895.jpg","text":"TemporaryFile(/tmp/multipartBody1166573975157271457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789043395,"filename":"image_15122025_09_39_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/15/31c7c7e45e2025ceae843fa8088bd96f.jpg","text":"TemporaryFile(/tmp/multipartBody76057869183789070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789043395,"filename":"image_15122025_09_39_45_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/15/fb73edab23eba9896ee092b4eb8f200b.jpg","text":"TemporaryFile(/tmp/multipartBody1948591984927219127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789043395,"filename":"image_15122025_09_39_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/15/4eeb3fc14b08f84efd64e0a3cf51127c.jpg","text":"TemporaryFile(/tmp/multipartBody7585759310170968979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789043395,"filename":"image_15122025_09_39_05_10717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399454469","file1":"1399454467","file0":"1399454463","file4":"1399454473","file5":"1399454479","file3":"1399454471"},"map_files_photo_id_array":[{"photo_id":"1399454479","filename":"file5"},{"photo_id":"1399454469","filename":"file2"},{"photo_id":"1399454473","filename":"file4"},{"photo_id":"1399454467","filename":"file1"},{"photo_id":"1399454463","filename":"file0"},{"photo_id":"1399454471","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399454469":["hashtag1","hashtag2"]},{"1399454463":["hashtag1","hashtag2"]},{"1399454471":["hashtag1","hashtag2"]},{"1399454479":["hashtag1","hashtag2"]},{"1399454473":["hashtag1","hashtag2"]},{"1399454467":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399454469, 1399454463, 1399454471, 1399454479, 1399454473, 1399454467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.238852739334106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 09:57:02.616081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/39/image_15122025_09_39_55_9672.jpg', '/home/pi/Desktop/images/15122025/09/39/image_15122025_09_40_04_9704.jpg', '/home/pi/Desktop/images/15122025/09/40/image_15122025_09_40_15_10673.jpg', '/home/pi/Desktop/images/15122025/09/40/image_15122025_09_40_25_9812.jpg', '/home/pi/Desktop/images/15122025/09/40/image_15122025_09_40_34_9618.jpg', '/home/pi/Desktop/images/15122025/09/40/image_15122025_09_40_45_10677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/39/image_15122025_09_39_55_9672.jpg
/home/pi/Desktop/images/15122025/09/39/image_15122025_09_40_04_9704.jpg
/home/pi/Desktop/images/15122025/09/40/image_15122025_09_40_15_10673.jpg
/home/pi/Desktop/images/15122025/09/40/image_15122025_09_40_25_9812.jpg
/home/pi/Desktop/images/15122025/09/40/image_15122025_09_40_34_9618.jpg
/home/pi/Desktop/images/15122025/09/40/image_15122025_09_40_45_10677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399454673","1399454562","1399454637","1399454523","1399454601","1399454713"],"photo_ids_order":["1399454523","1399454562","1399454601","1399454637","1399454673","1399454713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6cb2d38aac7b0b14f497a5036516b982.jpg","text":"TemporaryFile(/tmp/multipartBody1969839938958668523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789083309,"filename":"image_15122025_09_40_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/15/afccf150016187f3f06557a55269c9b8.jpg","text":"TemporaryFile(/tmp/multipartBody4129214782927362273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789083309,"filename":"image_15122025_09_40_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/15/3169efad7ba66e39ec41bebebcf54562.jpg","text":"TemporaryFile(/tmp/multipartBody237692613135083738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789083309,"filename":"image_15122025_09_40_25_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4836231198f07f4e7fc8d87c22909155.jpg","text":"TemporaryFile(/tmp/multipartBody7488200312895199370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789083309,"filename":"image_15122025_09_39_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/15/dc2232b6e2eb05f1b3e3a4fe727a78f2.jpg","text":"TemporaryFile(/tmp/multipartBody8428857364545386651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789083309,"filename":"image_15122025_09_40_15_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5af4cb3c31f4173ed9e1cb52548a4287.jpg","text":"TemporaryFile(/tmp/multipartBody7888030327347036116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789083309,"filename":"image_15122025_09_40_45_10677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399454601","file1":"1399454562","file0":"1399454523","file4":"1399454673","file5":"1399454713","file3":"1399454637"},"map_files_photo_id_array":[{"photo_id":"1399454713","filename":"file5"},{"photo_id":"1399454601","filename":"file2"},{"photo_id":"1399454673","filename":"file4"},{"photo_id":"1399454562","filename":"file1"},{"photo_id":"1399454523","filename":"file0"},{"photo_id":"1399454637","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399454673":["hashtag1","hashtag2"]},{"1399454562":["hashtag1","hashtag2"]},{"1399454637":["hashtag1","hashtag2"]},{"1399454523":["hashtag1","hashtag2"]},{"1399454601":["hashtag1","hashtag2"]},{"1399454713":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399454673, 1399454562, 1399454637, 1399454523, 1399454601, 1399454713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09126281738281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 09:57:41.980213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/28/image_05112025_14_28_23_2709.jpg', '/home/pi/Desktop/images/05112025/14/28/image_05112025_14_28_29_2663.jpg', '/home/pi/Desktop/images/05112025/14/28/image_05112025_14_28_32_2712.jpg', '/home/pi/Desktop/images/05112025/14/28/image_05112025_14_28_35_3575.jpg', '/home/pi/Desktop/images/05112025/14/28/image_05112025_14_28_38_2628.jpg', '/home/pi/Desktop/images/05112025/14/28/image_05112025_14_28_44_2871.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/28/image_05112025_14_28_23_2709.jpg
/home/pi/Desktop/images/05112025/14/28/image_05112025_14_28_29_2663.jpg
/home/pi/Desktop/images/05112025/14/28/image_05112025_14_28_32_2712.jpg
/home/pi/Desktop/images/05112025/14/28/image_05112025_14_28_35_3575.jpg
/home/pi/Desktop/images/05112025/14/28/image_05112025_14_28_38_2628.jpg
/home/pi/Desktop/images/05112025/14/28/image_05112025_14_28_44_2871.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399454769","1399454771","1399454831","1399454794","1399454773","1399454869"],"photo_ids_order":["1399454769","1399454771","1399454773","1399454794","1399454831","1399454869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b8d4bdc32bf5814eddf1eb52c62ff0d8.jpg","text":"TemporaryFile(/tmp/multipartBody2430863143261627411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789122683,"filename":"image_05112025_14_28_23_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5085abc2f62e2ed5e5df87da66f4b45e.jpg","text":"TemporaryFile(/tmp/multipartBody1470566731573640638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789122683,"filename":"image_05112025_14_28_29_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a72bc0fafb614a14f01a7407f194007c.jpg","text":"TemporaryFile(/tmp/multipartBody69952954982640739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789122683,"filename":"image_05112025_14_28_38_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/15/6d4016930ba335dfbe975b55021055a8.jpg","text":"TemporaryFile(/tmp/multipartBody3848292200883249211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789122683,"filename":"image_05112025_14_28_35_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/42f8baa3af0dd90f9fc65e9a91f8db5c.jpg","text":"TemporaryFile(/tmp/multipartBody7322416412126993222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789122683,"filename":"image_05112025_14_28_32_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5e712f53fe9aa2a217efdf2cb7a0e594.jpg","text":"TemporaryFile(/tmp/multipartBody8139044231589399962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789122683,"filename":"image_05112025_14_28_44_2871.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399454773","file1":"1399454771","file0":"1399454769","file4":"1399454831","file5":"1399454869","file3":"1399454794"},"map_files_photo_id_array":[{"photo_id":"1399454869","filename":"file5"},{"photo_id":"1399454773","filename":"file2"},{"photo_id":"1399454831","filename":"file4"},{"photo_id":"1399454771","filename":"file1"},{"photo_id":"1399454769","filename":"file0"},{"photo_id":"1399454794","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399454769":["hashtag1","hashtag2"]},{"1399454771":["hashtag1","hashtag2"]},{"1399454831":["hashtag1","hashtag2"]},{"1399454794":["hashtag1","hashtag2"]},{"1399454773":["hashtag1","hashtag2"]},{"1399454869":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399454769, 1399454771, 1399454831, 1399454794, 1399454773, 1399454869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.518141984939575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 09:59:03.076873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/40/image_15122025_09_40_55_9718.jpg', '/home/pi/Desktop/images/15122025/09/40/image_15122025_09_41_05_9923.jpg', '/home/pi/Desktop/images/15122025/09/41/image_15122025_09_41_14_9594.jpg', '/home/pi/Desktop/images/15122025/09/41/image_15122025_09_41_25_10596.jpg', '/home/pi/Desktop/images/15122025/09/41/image_15122025_09_41_35_9693.jpg', '/home/pi/Desktop/images/15122025/09/41/image_15122025_09_41_45_10577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/40/image_15122025_09_40_55_9718.jpg
/home/pi/Desktop/images/15122025/09/40/image_15122025_09_41_05_9923.jpg
/home/pi/Desktop/images/15122025/09/41/image_15122025_09_41_14_9594.jpg
/home/pi/Desktop/images/15122025/09/41/image_15122025_09_41_25_10596.jpg
/home/pi/Desktop/images/15122025/09/41/image_15122025_09_41_35_9693.jpg
/home/pi/Desktop/images/15122025/09/41/image_15122025_09_41_45_10577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399454937","1399455041","1399454990","1399454942","1399454930","1399454950"],"photo_ids_order":["1399454930","1399454937","1399454942","1399454950","1399454990","1399455041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fcf116d82dcc469264fc57f27962ce97.jpg","text":"TemporaryFile(/tmp/multipartBody5239368182292023987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789203848,"filename":"image_15122025_09_41_05_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/15/ffe8bd36cbc79ae413c6e92fb603959c.jpg","text":"TemporaryFile(/tmp/multipartBody7716633515017646592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789203848,"filename":"image_15122025_09_41_45_10577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/265adb90b728ca960a542fb720a5bcde.jpg","text":"TemporaryFile(/tmp/multipartBody151545166657131268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789203848,"filename":"image_15122025_09_41_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/15/37fa496854f2d9caf591743378dde006.jpg","text":"TemporaryFile(/tmp/multipartBody1988441191833420295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789203848,"filename":"image_15122025_09_41_14_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8bb22aa9e9f2a440582cab080553eb63.jpg","text":"TemporaryFile(/tmp/multipartBody6447586793734396212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789203848,"filename":"image_15122025_09_40_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/15/f90012066ac354b7cfc9b84c54dc4c4b.jpg","text":"TemporaryFile(/tmp/multipartBody9083659818470622215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789203848,"filename":"image_15122025_09_41_25_10596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399454942","file1":"1399454937","file0":"1399454930","file4":"1399454990","file5":"1399455041","file3":"1399454950"},"map_files_photo_id_array":[{"photo_id":"1399455041","filename":"file5"},{"photo_id":"1399454942","filename":"file2"},{"photo_id":"1399454990","filename":"file4"},{"photo_id":"1399454937","filename":"file1"},{"photo_id":"1399454930","filename":"file0"},{"photo_id":"1399454950","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399454937":["hashtag1","hashtag2"]},{"1399455041":["hashtag1","hashtag2"]},{"1399454990":["hashtag1","hashtag2"]},{"1399454942":["hashtag1","hashtag2"]},{"1399454930":["hashtag1","hashtag2"]},{"1399454950":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399454937, 1399455041, 1399454990, 1399454942, 1399454930, 1399454950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.657599687576294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 10:00:03.205277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/41/image_15122025_09_41_55_9730.jpg', '/home/pi/Desktop/images/15122025/09/41/image_15122025_09_42_05_9653.jpg', '/home/pi/Desktop/images/15122025/09/42/image_15122025_09_42_14_9852.jpg', '/home/pi/Desktop/images/15122025/09/42/image_15122025_09_42_25_10642.jpg', '/home/pi/Desktop/images/15122025/09/42/image_15122025_09_42_35_9593.jpg', '/home/pi/Desktop/images/15122025/09/42/image_15122025_09_42_45_9810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/41/image_15122025_09_41_55_9730.jpg
/home/pi/Desktop/images/15122025/09/41/image_15122025_09_42_05_9653.jpg
/home/pi/Desktop/images/15122025/09/42/image_15122025_09_42_14_9852.jpg
/home/pi/Desktop/images/15122025/09/42/image_15122025_09_42_25_10642.jpg
/home/pi/Desktop/images/15122025/09/42/image_15122025_09_42_35_9593.jpg
/home/pi/Desktop/images/15122025/09/42/image_15122025_09_42_45_9810.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399455359","1399455356","1399455350","1399455298","1399455334","1399455354"],"photo_ids_order":["1399455298","1399455334","1399455350","1399455354","1399455356","1399455359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/38d1b6f064cf89aaf95cce506ca8288d.jpg","text":"TemporaryFile(/tmp/multipartBody470896130574389522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789263818,"filename":"image_15122025_09_42_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/15/696d8575da5e8be442f79a5f88980f16.jpg","text":"TemporaryFile(/tmp/multipartBody2801068120221971028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789263818,"filename":"image_15122025_09_42_35_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f92b9a2e06e5a298a12ad3ba466cf1c8.jpg","text":"TemporaryFile(/tmp/multipartBody744541595260445587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789263818,"filename":"image_15122025_09_42_14_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0c88efefc3ad07aed134895add31b99a.jpg","text":"TemporaryFile(/tmp/multipartBody14823588694114960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789263818,"filename":"image_15122025_09_41_55_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e71efa6f002a93742d5e86578af035a2.jpg","text":"TemporaryFile(/tmp/multipartBody2495602499255627731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789263818,"filename":"image_15122025_09_42_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/15/84965a08a31a7ea2505a08d5cc10090d.jpg","text":"TemporaryFile(/tmp/multipartBody6518496315853424701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789263818,"filename":"image_15122025_09_42_25_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399455350","file1":"1399455334","file0":"1399455298","file4":"1399455356","file5":"1399455359","file3":"1399455354"},"map_files_photo_id_array":[{"photo_id":"1399455359","filename":"file5"},{"photo_id":"1399455350","filename":"file2"},{"photo_id":"1399455356","filename":"file4"},{"photo_id":"1399455334","filename":"file1"},{"photo_id":"1399455298","filename":"file0"},{"photo_id":"1399455354","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399455359":["hashtag1","hashtag2"]},{"1399455356":["hashtag1","hashtag2"]},{"1399455350":["hashtag1","hashtag2"]},{"1399455298":["hashtag1","hashtag2"]},{"1399455334":["hashtag1","hashtag2"]},{"1399455354":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399455359, 1399455356, 1399455350, 1399455298, 1399455334, 1399455354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57962441444397 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 10:00:42.635250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/28/image_05112025_14_28_51_3533.jpg', '/home/pi/Desktop/images/05112025/14/28/image_05112025_14_28_53_2780.jpg', '/home/pi/Desktop/images/05112025/14/28/image_05112025_14_28_56_2560.jpg', '/home/pi/Desktop/images/05112025/14/28/image_05112025_14_28_59_2649.jpg', '/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_02_3784.jpg', '/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_08_2724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/28/image_05112025_14_28_51_3533.jpg
/home/pi/Desktop/images/05112025/14/28/image_05112025_14_28_53_2780.jpg
/home/pi/Desktop/images/05112025/14/28/image_05112025_14_28_56_2560.jpg
/home/pi/Desktop/images/05112025/14/28/image_05112025_14_28_59_2649.jpg
/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_02_3784.jpg
/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_08_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":["1399455522","1399455494","1399455428","1399455466","1399455517","1399455492"],"photo_ids_order":["1399455428","1399455466","1399455492","1399455494","1399455517","1399455522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/466ba1ed710c5d8cc8925b99d171d726.jpg","text":"TemporaryFile(/tmp/multipartBody4262248084111285929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789303347,"filename":"image_05112025_14_29_08_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/15/b04fca12316a4e9eacc9b0b7ffdb7577.jpg","text":"TemporaryFile(/tmp/multipartBody2415595791541977101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789303347,"filename":"image_05112025_14_28_59_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/475b18a9150bb79356eb4e0ffa9d6997.jpg","text":"TemporaryFile(/tmp/multipartBody5216435120109368137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789303347,"filename":"image_05112025_14_28_51_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/df2e93b18acfe782d23d59c9f4e312ad.jpg","text":"TemporaryFile(/tmp/multipartBody1590537460426770107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789303347,"filename":"image_05112025_14_28_53_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/15/3b5c61793a227be9252909b21e7d9bae.jpg","text":"TemporaryFile(/tmp/multipartBody8869538131424065639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789303347,"filename":"image_05112025_14_29_02_3784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2f3cd88bf6674df2ddb84f44d90ccdf7.jpg","text":"TemporaryFile(/tmp/multipartBody3136595408378085025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789303347,"filename":"image_05112025_14_28_56_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399455492","file1":"1399455466","file0":"1399455428","file4":"1399455517","file5":"1399455522","file3":"1399455494"},"map_files_photo_id_array":[{"photo_id":"1399455522","filename":"file5"},{"photo_id":"1399455492","filename":"file2"},{"photo_id":"1399455517","filename":"file4"},{"photo_id":"1399455466","filename":"file1"},{"photo_id":"1399455428","filename":"file0"},{"photo_id":"1399455494","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399455522":["hashtag1","hashtag2"]},{"1399455494":["hashtag1","hashtag2"]},{"1399455428":["hashtag1","hashtag2"]},{"1399455466":["hashtag1","hashtag2"]},{"1399455517":["hashtag1","hashtag2"]},{"1399455492":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399455522, 1399455494, 1399455428, 1399455466, 1399455517, 1399455492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.193262815475464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 10:01:21.952449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/42/image_15122025_09_42_55_10725.jpg', '/home/pi/Desktop/images/15122025/09/42/image_15122025_09_43_05_9737.jpg', '/home/pi/Desktop/images/15122025/09/43/image_15122025_09_43_15_9602.jpg', '/home/pi/Desktop/images/15122025/09/43/image_15122025_09_43_25_10647.jpg', '/home/pi/Desktop/images/15122025/09/43/image_15122025_09_43_35_9703.jpg', '/home/pi/Desktop/images/15122025/09/43/image_15122025_09_43_45_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/42/image_15122025_09_42_55_10725.jpg
/home/pi/Desktop/images/15122025/09/42/image_15122025_09_43_05_9737.jpg
/home/pi/Desktop/images/15122025/09/43/image_15122025_09_43_15_9602.jpg
/home/pi/Desktop/images/15122025/09/43/image_15122025_09_43_25_10647.jpg
/home/pi/Desktop/images/15122025/09/43/image_15122025_09_43_35_9703.jpg
/home/pi/Desktop/images/15122025/09/43/image_15122025_09_43_45_9700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399455713","1399455629","1399455754","1399455841","1399455795","1399455666"],"photo_ids_order":["1399455629","1399455666","1399455713","1399455754","1399455795","1399455841"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e5dddcf5108a9c5baa41744b54290619.jpg","text":"TemporaryFile(/tmp/multipartBody6125189090190646237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789342619,"filename":"image_15122025_09_43_15_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/15/02bfa9cf1fdf32fa272536afe538becb.jpg","text":"TemporaryFile(/tmp/multipartBody3371091623527761101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789342619,"filename":"image_15122025_09_42_55_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0847dc958f1f797461e2cc5fa779e1b5.jpg","text":"TemporaryFile(/tmp/multipartBody6423361522272578428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789342619,"filename":"image_15122025_09_43_25_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/20577e0bdc1b9cb0af7e0070adece9b2.jpg","text":"TemporaryFile(/tmp/multipartBody482698030885617200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789342619,"filename":"image_15122025_09_43_45_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7b470ae2c24c7640e5aa68df1d40a452.jpg","text":"TemporaryFile(/tmp/multipartBody5066277527060526977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789342619,"filename":"image_15122025_09_43_35_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d21a1f0b5d3dd69deae93a4ee1981784.jpg","text":"TemporaryFile(/tmp/multipartBody5148253299010132295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789342619,"filename":"image_15122025_09_43_05_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399455713","file1":"1399455666","file0":"1399455629","file4":"1399455795","file5":"1399455841","file3":"1399455754"},"map_files_photo_id_array":[{"photo_id":"1399455841","filename":"file5"},{"photo_id":"1399455713","filename":"file2"},{"photo_id":"1399455795","filename":"file4"},{"photo_id":"1399455666","filename":"file1"},{"photo_id":"1399455629","filename":"file0"},{"photo_id":"1399455754","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399455713":["hashtag1","hashtag2"]},{"1399455629":["hashtag1","hashtag2"]},{"1399455754":["hashtag1","hashtag2"]},{"1399455841":["hashtag1","hashtag2"]},{"1399455795":["hashtag1","hashtag2"]},{"1399455666":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399455713, 1399455629, 1399455754, 1399455841, 1399455795, 1399455666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.300354957580566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 10:02:02.519026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/43/image_15122025_09_43_54_9702.jpg', '/home/pi/Desktop/images/15122025/09/43/image_15122025_09_44_05_10656.jpg', '/home/pi/Desktop/images/15122025/09/44/image_15122025_09_44_15_9690.jpg', '/home/pi/Desktop/images/15122025/09/44/image_15122025_09_44_25_10570.jpg', '/home/pi/Desktop/images/15122025/09/44/image_15122025_09_44_35_9958.jpg', '/home/pi/Desktop/images/15122025/09/44/image_15122025_09_44_45_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/43/image_15122025_09_43_54_9702.jpg
/home/pi/Desktop/images/15122025/09/43/image_15122025_09_44_05_10656.jpg
/home/pi/Desktop/images/15122025/09/44/image_15122025_09_44_15_9690.jpg
/home/pi/Desktop/images/15122025/09/44/image_15122025_09_44_25_10570.jpg
/home/pi/Desktop/images/15122025/09/44/image_15122025_09_44_35_9958.jpg
/home/pi/Desktop/images/15122025/09/44/image_15122025_09_44_45_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":["1399455933","1399455947","1399455929","1399455938","1399455931","1399455943"],"photo_ids_order":["1399455929","1399455931","1399455933","1399455938","1399455943","1399455947"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ed66fcbfbaff2c0354f1742fb6708280.jpg","text":"TemporaryFile(/tmp/multipartBody1754983254987195780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789383155,"filename":"image_15122025_09_44_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/15/e431e48444b96454c0a1afb7cac57302.jpg","text":"TemporaryFile(/tmp/multipartBody870531707357208078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789383155,"filename":"image_15122025_09_44_45_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0867fd8a87deb270f7fd2f465020c7fd.jpg","text":"TemporaryFile(/tmp/multipartBody2454415118659715893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789383155,"filename":"image_15122025_09_43_54_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/61370a5d47ec7c7c189a7420a30c87d7.jpg","text":"TemporaryFile(/tmp/multipartBody8669368375043869998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789383155,"filename":"image_15122025_09_44_25_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/15/e1239d4135c163802c44d7b79acf9fa1.jpg","text":"TemporaryFile(/tmp/multipartBody4745380146086504022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789383155,"filename":"image_15122025_09_44_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/15/809fdd8a14127dd24eb063b443bf71ea.jpg","text":"TemporaryFile(/tmp/multipartBody9071571839457385910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789383155,"filename":"image_15122025_09_44_35_9958.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399455933","file1":"1399455931","file0":"1399455929","file4":"1399455943","file5":"1399455947","file3":"1399455938"},"map_files_photo_id_array":[{"photo_id":"1399455947","filename":"file5"},{"photo_id":"1399455933","filename":"file2"},{"photo_id":"1399455943","filename":"file4"},{"photo_id":"1399455931","filename":"file1"},{"photo_id":"1399455929","filename":"file0"},{"photo_id":"1399455938","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399455933":["hashtag1","hashtag2"]},{"1399455947":["hashtag1","hashtag2"]},{"1399455929":["hashtag1","hashtag2"]},{"1399455938":["hashtag1","hashtag2"]},{"1399455931":["hashtag1","hashtag2"]},{"1399455943":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399455933, 1399455947, 1399455929, 1399455938, 1399455931, 1399455943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96489953994751 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 10:02:42.060817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_11_3712.jpg', '/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_17_2577.jpg', '/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_20_3861.jpg', '/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_23_2822.jpg', '/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_26_2697.jpg', '/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_29_3557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_11_3712.jpg
/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_17_2577.jpg
/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_20_3861.jpg
/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_23_2822.jpg
/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_26_2697.jpg
/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_29_3557.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399455968","1399455962","1399455970","1399455964","1399455958","1399455966"],"photo_ids_order":["1399455958","1399455962","1399455964","1399455966","1399455968","1399455970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c59a2b0240d4dcdd2604cd662293fb95.jpg","text":"TemporaryFile(/tmp/multipartBody6823182668940696904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789422780,"filename":"image_05112025_14_29_26_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0bad426e9e9732c35e5085c9f60be8fb.jpg","text":"TemporaryFile(/tmp/multipartBody3576343706302642668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789422780,"filename":"image_05112025_14_29_17_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6f3b3a114e7af2d5786ba173f8dd9e1a.jpg","text":"TemporaryFile(/tmp/multipartBody4329984491052286844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789422780,"filename":"image_05112025_14_29_29_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/47319415d323ce3a8f970ede52cf4214.jpg","text":"TemporaryFile(/tmp/multipartBody3258095859558173723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789422780,"filename":"image_05112025_14_29_20_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/15/f98786fa9418d340fc1572c709b700f7.jpg","text":"TemporaryFile(/tmp/multipartBody1231732824504015101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789422780,"filename":"image_05112025_14_29_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/15/4c540a6b48bec07538a5835427400364.jpg","text":"TemporaryFile(/tmp/multipartBody7482937117099440478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789422780,"filename":"image_05112025_14_29_23_2822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399455964","file1":"1399455962","file0":"1399455958","file4":"1399455968","file5":"1399455970","file3":"1399455966"},"map_files_photo_id_array":[{"photo_id":"1399455970","filename":"file5"},{"photo_id":"1399455964","filename":"file2"},{"photo_id":"1399455968","filename":"file4"},{"photo_id":"1399455962","filename":"file1"},{"photo_id":"1399455958","filename":"file0"},{"photo_id":"1399455966","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399455968":["hashtag1","hashtag2"]},{"1399455962":["hashtag1","hashtag2"]},{"1399455970":["hashtag1","hashtag2"]},{"1399455964":["hashtag1","hashtag2"]},{"1399455958":["hashtag1","hashtag2"]},{"1399455966":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399455968, 1399455962, 1399455970, 1399455964, 1399455958, 1399455966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.67677593231201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 10:03:22.257156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/44/image_15122025_09_44_55_9707.jpg', '/home/pi/Desktop/images/15122025/09/44/image_15122025_09_45_05_9997.jpg', '/home/pi/Desktop/images/15122025/09/45/image_15122025_09_45_15_10684.jpg', '/home/pi/Desktop/images/15122025/09/45/image_15122025_09_45_25_9644.jpg', '/home/pi/Desktop/images/15122025/09/45/image_15122025_09_45_35_9791.jpg', '/home/pi/Desktop/images/15122025/09/45/image_15122025_09_45_44_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/44/image_15122025_09_44_55_9707.jpg
/home/pi/Desktop/images/15122025/09/44/image_15122025_09_45_05_9997.jpg
/home/pi/Desktop/images/15122025/09/45/image_15122025_09_45_15_10684.jpg
/home/pi/Desktop/images/15122025/09/45/image_15122025_09_45_25_9644.jpg
/home/pi/Desktop/images/15122025/09/45/image_15122025_09_45_35_9791.jpg
/home/pi/Desktop/images/15122025/09/45/image_15122025_09_45_44_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":["1399456133","1399456210","1399456092","1399456204","1399456173","1399456053"],"photo_ids_order":["1399456053","1399456092","1399456133","1399456173","1399456204","1399456210"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bcc421a926e6e3d4a80e7d8db44a712d.jpg","text":"TemporaryFile(/tmp/multipartBody397054227254321886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789462876,"filename":"image_15122025_09_45_15_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a335fa44e347b0533f567f0cb4c4b2f6.jpg","text":"TemporaryFile(/tmp/multipartBody5369337077408294818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789462876,"filename":"image_15122025_09_45_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/15/f7be79ac2a93d29ab402568c1d1a1144.jpg","text":"TemporaryFile(/tmp/multipartBody7113327118686773021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789462876,"filename":"image_15122025_09_45_05_9997.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6e42642937c817e17909995e19c784b7.jpg","text":"TemporaryFile(/tmp/multipartBody6947869583471875043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789462876,"filename":"image_15122025_09_45_35_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9dbeb523ed1bccd3f84baa636f2c80d2.jpg","text":"TemporaryFile(/tmp/multipartBody4898727543888247537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789462876,"filename":"image_15122025_09_45_25_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5f16d79183ad4a21d0190811dca76f91.jpg","text":"TemporaryFile(/tmp/multipartBody7534594687027654406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789462876,"filename":"image_15122025_09_44_55_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399456133","file1":"1399456092","file0":"1399456053","file4":"1399456204","file5":"1399456210","file3":"1399456173"},"map_files_photo_id_array":[{"photo_id":"1399456210","filename":"file5"},{"photo_id":"1399456133","filename":"file2"},{"photo_id":"1399456204","filename":"file4"},{"photo_id":"1399456092","filename":"file1"},{"photo_id":"1399456053","filename":"file0"},{"photo_id":"1399456173","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399456133":["hashtag1","hashtag2"]},{"1399456210":["hashtag1","hashtag2"]},{"1399456092":["hashtag1","hashtag2"]},{"1399456204":["hashtag1","hashtag2"]},{"1399456173":["hashtag1","hashtag2"]},{"1399456053":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399456133, 1399456210, 1399456092, 1399456204, 1399456173, 1399456053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.15460014343262 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 10:04:03.303682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/45/image_15122025_09_45_55_10742.jpg', '/home/pi/Desktop/images/15122025/09/45/image_15122025_09_46_05_9698.jpg', '/home/pi/Desktop/images/15122025/09/46/image_15122025_09_46_14_9638.jpg', '/home/pi/Desktop/images/15122025/09/46/image_15122025_09_46_25_10664.jpg', '/home/pi/Desktop/images/15122025/09/46/image_15122025_09_46_35_9615.jpg', '/home/pi/Desktop/images/15122025/09/46/image_15122025_09_46_45_10527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/45/image_15122025_09_45_55_10742.jpg
/home/pi/Desktop/images/15122025/09/45/image_15122025_09_46_05_9698.jpg
/home/pi/Desktop/images/15122025/09/46/image_15122025_09_46_14_9638.jpg
/home/pi/Desktop/images/15122025/09/46/image_15122025_09_46_25_10664.jpg
/home/pi/Desktop/images/15122025/09/46/image_15122025_09_46_35_9615.jpg
/home/pi/Desktop/images/15122025/09/46/image_15122025_09_46_45_10527.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399456215","1399456220","1399456217","1399456211","1399456213","1399456218"],"photo_ids_order":["1399456211","1399456213","1399456215","1399456217","1399456218","1399456220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fd6fdc6b82b0dfea1b153f08178005fc.jpg","text":"TemporaryFile(/tmp/multipartBody4815639019032480328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789503960,"filename":"image_15122025_09_46_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/15/421e93d234f75610f5704e2064088d3b.jpg","text":"TemporaryFile(/tmp/multipartBody4156976919872887980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789503960,"filename":"image_15122025_09_46_45_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/15/c0ea43c3b4f6acce6b55bf100bd44880.jpg","text":"TemporaryFile(/tmp/multipartBody6889457527339773304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789503960,"filename":"image_15122025_09_46_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/15/7dce11ebe7561709e77ef7a70bde5c6e.jpg","text":"TemporaryFile(/tmp/multipartBody8809442571790096081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789503960,"filename":"image_15122025_09_45_55_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f0cf2a3d7924453459e55c7c208a2abb.jpg","text":"TemporaryFile(/tmp/multipartBody4123725381809902773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789503960,"filename":"image_15122025_09_46_05_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4e8cc5b5031b0efd3dc7e835f95c4e47.jpg","text":"TemporaryFile(/tmp/multipartBody2210700242148499979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789503960,"filename":"image_15122025_09_46_35_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399456215","file1":"1399456213","file0":"1399456211","file4":"1399456218","file5":"1399456220","file3":"1399456217"},"map_files_photo_id_array":[{"photo_id":"1399456220","filename":"file5"},{"photo_id":"1399456215","filename":"file2"},{"photo_id":"1399456218","filename":"file4"},{"photo_id":"1399456213","filename":"file1"},{"photo_id":"1399456211","filename":"file0"},{"photo_id":"1399456217","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399456215":["hashtag1","hashtag2"]},{"1399456220":["hashtag1","hashtag2"]},{"1399456217":["hashtag1","hashtag2"]},{"1399456211":["hashtag1","hashtag2"]},{"1399456213":["hashtag1","hashtag2"]},{"1399456218":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399456215, 1399456220, 1399456217, 1399456211, 1399456213, 1399456218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01761865615845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 10:04:42.625323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_32_2657.jpg', '/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_35_2626.jpg', '/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_37_2747.jpg', '/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_41_3659.jpg', '/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_44_2713.jpg', '/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_47_2838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_32_2657.jpg
/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_35_2626.jpg
/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_37_2747.jpg
/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_41_3659.jpg
/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_44_2713.jpg
/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_47_2838.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399456271","1399456265","1399456259","1399456255","1399456269","1399456260"],"photo_ids_order":["1399456255","1399456259","1399456260","1399456265","1399456269","1399456271"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3d2172d27d7996654437fd633473adf8.jpg","text":"TemporaryFile(/tmp/multipartBody3884092640972852311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789544509,"filename":"image_05112025_14_29_47_2838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/702b8a7b7eabf099a042f80a8741288e.jpg","text":"TemporaryFile(/tmp/multipartBody1759321280200778927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789544509,"filename":"image_05112025_14_29_41_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/84328bed6e4f8fbf52c573b763399dda.jpg","text":"TemporaryFile(/tmp/multipartBody837736312138892191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789544509,"filename":"image_05112025_14_29_35_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/15/1c364f40f4253939d957ef47380fcf17.jpg","text":"TemporaryFile(/tmp/multipartBody5450665744215256598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789544509,"filename":"image_05112025_14_29_32_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/15/23839bf99263660a0e836f95348f955c.jpg","text":"TemporaryFile(/tmp/multipartBody3553944738313187191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789544509,"filename":"image_05112025_14_29_44_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/68e7733713eef627917630b06831465b.jpg","text":"TemporaryFile(/tmp/multipartBody5184018032502152004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789544509,"filename":"image_05112025_14_29_37_2747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399456260","file1":"1399456259","file0":"1399456255","file4":"1399456269","file5":"1399456271","file3":"1399456265"},"map_files_photo_id_array":[{"photo_id":"1399456271","filename":"file5"},{"photo_id":"1399456260","filename":"file2"},{"photo_id":"1399456269","filename":"file4"},{"photo_id":"1399456259","filename":"file1"},{"photo_id":"1399456255","filename":"file0"},{"photo_id":"1399456265","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399456271":["hashtag1","hashtag2"]},{"1399456265":["hashtag1","hashtag2"]},{"1399456259":["hashtag1","hashtag2"]},{"1399456255":["hashtag1","hashtag2"]},{"1399456269":["hashtag1","hashtag2"]},{"1399456260":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399456271, 1399456265, 1399456259, 1399456255, 1399456269, 1399456260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.35580825805664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 10:05:31.948870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 10:05:41.838850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_50_3608.jpg', '/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_53_2681.jpg', '/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_56_2729.jpg', '/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_59_3574.jpg', '/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_08_3011.jpg', '/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_11_3618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_50_3608.jpg
/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_53_2681.jpg
/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_56_2729.jpg
/home/pi/Desktop/images/05112025/14/29/image_05112025_14_29_59_3574.jpg
/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_08_3011.jpg
/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_11_3618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399456298","1399456291","1399456369","1399456441","1399456330","1399456411"],"photo_ids_order":["1399456291","1399456298","1399456330","1399456369","1399456411","1399456441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/854b811ed324e9007215bcd03e56c858.jpg","text":"TemporaryFile(/tmp/multipartBody2661681069374035092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789602548,"filename":"image_05112025_14_29_53_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/15/9a490dd10a01f76db177f347660a2ebb.jpg","text":"TemporaryFile(/tmp/multipartBody3530940597519485382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789602548,"filename":"image_05112025_14_29_50_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4959a26df194e77eb3722362d627ae18.jpg","text":"TemporaryFile(/tmp/multipartBody2580232635782944302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789602548,"filename":"image_05112025_14_29_59_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2e0c56ff025f5666710ae05edacecd27.jpg","text":"TemporaryFile(/tmp/multipartBody2909672646766477111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789602548,"filename":"image_05112025_14_30_11_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/15/05437781ba4b88f9521930e29a92815f.jpg","text":"TemporaryFile(/tmp/multipartBody1064038945740105575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789602548,"filename":"image_05112025_14_29_56_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/15/19a28859e1b42a7cb1e238f779a32e00.jpg","text":"TemporaryFile(/tmp/multipartBody7623478847736050604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789602548,"filename":"image_05112025_14_30_08_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399456330","file1":"1399456298","file0":"1399456291","file4":"1399456411","file5":"1399456441","file3":"1399456369"},"map_files_photo_id_array":[{"photo_id":"1399456441","filename":"file5"},{"photo_id":"1399456330","filename":"file2"},{"photo_id":"1399456411","filename":"file4"},{"photo_id":"1399456298","filename":"file1"},{"photo_id":"1399456291","filename":"file0"},{"photo_id":"1399456369","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399456298":["hashtag1","hashtag2"]},{"1399456291":["hashtag1","hashtag2"]},{"1399456369":["hashtag1","hashtag2"]},{"1399456441":["hashtag1","hashtag2"]},{"1399456330":["hashtag1","hashtag2"]},{"1399456411":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399456298, 1399456291, 1399456369, 1399456441, 1399456330, 1399456411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.556631088256836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 10:06:22.064830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/46/image_15122025_09_46_55_9602.jpg', '/home/pi/Desktop/images/15122025/09/46/image_15122025_09_47_05_9652.jpg', '/home/pi/Desktop/images/15122025/09/47/image_15122025_09_47_15_10618.jpg', '/home/pi/Desktop/images/15122025/09/47/image_15122025_09_47_25_9580.jpg', '/home/pi/Desktop/images/15122025/09/47/image_15122025_09_47_35_9833.jpg', '/home/pi/Desktop/images/15122025/09/47/image_15122025_09_47_44_9790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/46/image_15122025_09_46_55_9602.jpg
/home/pi/Desktop/images/15122025/09/46/image_15122025_09_47_05_9652.jpg
/home/pi/Desktop/images/15122025/09/47/image_15122025_09_47_15_10618.jpg
/home/pi/Desktop/images/15122025/09/47/image_15122025_09_47_25_9580.jpg
/home/pi/Desktop/images/15122025/09/47/image_15122025_09_47_35_9833.jpg
/home/pi/Desktop/images/15122025/09/47/image_15122025_09_47_44_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":["1399456457","1399456451","1399456448","1399456468","1399456453","1399456446"],"photo_ids_order":["1399456446","1399456448","1399456451","1399456453","1399456457","1399456468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2b410dbd2f2c63ddf71aa7fcfac4d3d6.jpg","text":"TemporaryFile(/tmp/multipartBody5223369296682759385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789642676,"filename":"image_15122025_09_47_35_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0bd3db9409a6e0615c0b7b5a2efc6bc7.jpg","text":"TemporaryFile(/tmp/multipartBody6535366703051971644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789642676,"filename":"image_15122025_09_47_15_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dbcc64ef1c837316bf49745faef2bfd1.jpg","text":"TemporaryFile(/tmp/multipartBody98777228365405214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789642676,"filename":"image_15122025_09_47_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/15/14ea71c1b4865e83cd572f439a6df69c.jpg","text":"TemporaryFile(/tmp/multipartBody7835592880743293229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789642676,"filename":"image_15122025_09_47_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/15/713bfb2f536116f185660e6644b481b5.jpg","text":"TemporaryFile(/tmp/multipartBody6688310670034035341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789642676,"filename":"image_15122025_09_47_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/15/c0a6f2e5da8f6968c52010bd16b28861.jpg","text":"TemporaryFile(/tmp/multipartBody8417015386558939807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789642676,"filename":"image_15122025_09_46_55_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399456451","file1":"1399456448","file0":"1399456446","file4":"1399456457","file5":"1399456468","file3":"1399456453"},"map_files_photo_id_array":[{"photo_id":"1399456468","filename":"file5"},{"photo_id":"1399456451","filename":"file2"},{"photo_id":"1399456457","filename":"file4"},{"photo_id":"1399456448","filename":"file1"},{"photo_id":"1399456446","filename":"file0"},{"photo_id":"1399456453","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399456457":["hashtag1","hashtag2"]},{"1399456451":["hashtag1","hashtag2"]},{"1399456448":["hashtag1","hashtag2"]},{"1399456468":["hashtag1","hashtag2"]},{"1399456453":["hashtag1","hashtag2"]},{"1399456446":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399456457, 1399456451, 1399456448, 1399456468, 1399456453, 1399456446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58929681777954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 10:07:03.090345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/47/image_15122025_09_47_55_10594.jpg', '/home/pi/Desktop/images/15122025/09/47/image_15122025_09_48_05_9626.jpg', '/home/pi/Desktop/images/15122025/09/48/image_15122025_09_48_15_10658.jpg', '/home/pi/Desktop/images/15122025/09/48/image_15122025_09_48_25_9652.jpg', '/home/pi/Desktop/images/15122025/09/48/image_15122025_09_48_35_9648.jpg', '/home/pi/Desktop/images/15122025/09/48/image_15122025_09_48_44_9823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/47/image_15122025_09_47_55_10594.jpg
/home/pi/Desktop/images/15122025/09/47/image_15122025_09_48_05_9626.jpg
/home/pi/Desktop/images/15122025/09/48/image_15122025_09_48_15_10658.jpg
/home/pi/Desktop/images/15122025/09/48/image_15122025_09_48_25_9652.jpg
/home/pi/Desktop/images/15122025/09/48/image_15122025_09_48_35_9648.jpg
/home/pi/Desktop/images/15122025/09/48/image_15122025_09_48_44_9823.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399456484","1399456486","1399456482","1399456491","1399456479","1399456488"],"photo_ids_order":["1399456479","1399456482","1399456484","1399456486","1399456488","1399456491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d23c85933c2f6c9ff981fbdb82ea8bb4.jpg","text":"TemporaryFile(/tmp/multipartBody7896007969699947879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789683748,"filename":"image_15122025_09_48_15_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ab57844fd8f6ecc3ef35da619cb0736c.jpg","text":"TemporaryFile(/tmp/multipartBody1413174034831438616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789683748,"filename":"image_15122025_09_48_25_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f732d538e13f1eef16b27f815a4ce988.jpg","text":"TemporaryFile(/tmp/multipartBody6586292122247374156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789683748,"filename":"image_15122025_09_48_05_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/498c3ae163cdc5f732c46da79bba37aa.jpg","text":"TemporaryFile(/tmp/multipartBody7275366883394686853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789683748,"filename":"image_15122025_09_48_44_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6c2fbca0859ca163586c552e5ee957a0.jpg","text":"TemporaryFile(/tmp/multipartBody6774671118619515774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789683748,"filename":"image_15122025_09_47_55_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d7606c021b3678b90318a22ab47002cd.jpg","text":"TemporaryFile(/tmp/multipartBody1703622010370256784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789683748,"filename":"image_15122025_09_48_35_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399456484","file1":"1399456482","file0":"1399456479","file4":"1399456488","file5":"1399456491","file3":"1399456486"},"map_files_photo_id_array":[{"photo_id":"1399456491","filename":"file5"},{"photo_id":"1399456484","filename":"file2"},{"photo_id":"1399456488","filename":"file4"},{"photo_id":"1399456482","filename":"file1"},{"photo_id":"1399456479","filename":"file0"},{"photo_id":"1399456486","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399456484":["hashtag1","hashtag2"]},{"1399456486":["hashtag1","hashtag2"]},{"1399456482":["hashtag1","hashtag2"]},{"1399456491":["hashtag1","hashtag2"]},{"1399456479":["hashtag1","hashtag2"]},{"1399456488":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399456484, 1399456486, 1399456482, 1399456491, 1399456479, 1399456488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.034151554107666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 10:07:42.429963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_14_2591.jpg', '/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_18_3678.jpg', '/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_20_2613.jpg', '/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_23_2691.jpg', '/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_27_3578.jpg', '/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_29_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_14_2591.jpg
/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_18_3678.jpg
/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_20_2613.jpg
/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_23_2691.jpg
/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_27_3578.jpg
/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_29_2658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399456496","1399456502","1399456501","1399456500","1399456499","1399456503"],"photo_ids_order":["1399456496","1399456499","1399456500","1399456501","1399456502","1399456503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/aeeb4fbab5f3f372a86c442159a71e0e.jpg","text":"TemporaryFile(/tmp/multipartBody2439336126298388864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789723131,"filename":"image_05112025_14_30_14_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cddecff705a84760af5bbdbb9b392c5c.jpg","text":"TemporaryFile(/tmp/multipartBody4119185570549190481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789723131,"filename":"image_05112025_14_30_27_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/15/3788acb2a9d04d233cff7dfd03aeba71.jpg","text":"TemporaryFile(/tmp/multipartBody7917359790904080948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789723131,"filename":"image_05112025_14_30_23_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/15/16adc8afe7b3d523dec8e55f8ccbcad1.jpg","text":"TemporaryFile(/tmp/multipartBody5183963692629147106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789723131,"filename":"image_05112025_14_30_20_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/15/0c6d0b26d4c869a5b33e6997749818f4.jpg","text":"TemporaryFile(/tmp/multipartBody7462463709706783154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789723131,"filename":"image_05112025_14_30_18_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c1b0f78bfa69c84f3ec6cf26d9ce8594.jpg","text":"TemporaryFile(/tmp/multipartBody5777205665207930563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789723131,"filename":"image_05112025_14_30_29_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399456500","file1":"1399456499","file0":"1399456496","file4":"1399456502","file5":"1399456503","file3":"1399456501"},"map_files_photo_id_array":[{"photo_id":"1399456503","filename":"file5"},{"photo_id":"1399456500","filename":"file2"},{"photo_id":"1399456502","filename":"file4"},{"photo_id":"1399456499","filename":"file1"},{"photo_id":"1399456496","filename":"file0"},{"photo_id":"1399456501","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399456496":["hashtag1","hashtag2"]},{"1399456502":["hashtag1","hashtag2"]},{"1399456501":["hashtag1","hashtag2"]},{"1399456500":["hashtag1","hashtag2"]},{"1399456499":["hashtag1","hashtag2"]},{"1399456503":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399456496, 1399456502, 1399456501, 1399456500, 1399456499, 1399456503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96301865577698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 10:08:22.762840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/48/image_15122025_09_48_55_10649.jpg', '/home/pi/Desktop/images/15122025/09/48/image_15122025_09_49_05_9647.jpg', '/home/pi/Desktop/images/15122025/09/49/image_15122025_09_49_15_9911.jpg', '/home/pi/Desktop/images/15122025/09/49/image_15122025_09_49_25_10654.jpg', '/home/pi/Desktop/images/15122025/09/49/image_15122025_09_49_35_9613.jpg', '/home/pi/Desktop/images/15122025/09/49/image_15122025_09_49_45_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/48/image_15122025_09_48_55_10649.jpg
/home/pi/Desktop/images/15122025/09/48/image_15122025_09_49_05_9647.jpg
/home/pi/Desktop/images/15122025/09/49/image_15122025_09_49_15_9911.jpg
/home/pi/Desktop/images/15122025/09/49/image_15122025_09_49_25_10654.jpg
/home/pi/Desktop/images/15122025/09/49/image_15122025_09_49_35_9613.jpg
/home/pi/Desktop/images/15122025/09/49/image_15122025_09_49_45_9773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399456540","1399456525","1399456527","1399456521","1399456524","1399456518"],"photo_ids_order":["1399456518","1399456521","1399456524","1399456525","1399456527","1399456540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/38f14409c3fbba2adf63f5ef5e2dcf22.jpg","text":"TemporaryFile(/tmp/multipartBody6565628012458061424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789763385,"filename":"image_15122025_09_49_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/15/37758fbd0c497cbd43e509978ed2f29a.jpg","text":"TemporaryFile(/tmp/multipartBody8425482021140129697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789763385,"filename":"image_15122025_09_49_25_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8297a2aa1c3edf627cf3d2fb4a6abb41.jpg","text":"TemporaryFile(/tmp/multipartBody3665372796216078435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789763385,"filename":"image_15122025_09_49_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/15/d2000f5f9cb159bd7737680b55ff7630.jpg","text":"TemporaryFile(/tmp/multipartBody4799644222148838696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789763385,"filename":"image_15122025_09_49_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/15/137a8ac55779f2ab9bf47c18aa98b729.jpg","text":"TemporaryFile(/tmp/multipartBody4979842867149747581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789763385,"filename":"image_15122025_09_49_15_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/15/5fed21c5a0e55bdf9dcc4e10ee4a9a5c.jpg","text":"TemporaryFile(/tmp/multipartBody8685684472175364292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789763385,"filename":"image_15122025_09_48_55_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399456524","file1":"1399456521","file0":"1399456518","file4":"1399456527","file5":"1399456540","file3":"1399456525"},"map_files_photo_id_array":[{"photo_id":"1399456540","filename":"file5"},{"photo_id":"1399456524","filename":"file2"},{"photo_id":"1399456527","filename":"file4"},{"photo_id":"1399456521","filename":"file1"},{"photo_id":"1399456518","filename":"file0"},{"photo_id":"1399456525","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399456540":["hashtag1","hashtag2"]},{"1399456525":["hashtag1","hashtag2"]},{"1399456527":["hashtag1","hashtag2"]},{"1399456521":["hashtag1","hashtag2"]},{"1399456524":["hashtag1","hashtag2"]},{"1399456518":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399456540, 1399456525, 1399456527, 1399456521, 1399456524, 1399456518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99719500541687 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 10:09:02.902594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/49/image_15122025_09_49_54_9882.jpg', '/home/pi/Desktop/images/15122025/09/49/image_15122025_09_50_05_10601.jpg', '/home/pi/Desktop/images/15122025/09/50/image_15122025_09_50_15_9730.jpg', '/home/pi/Desktop/images/15122025/09/50/image_15122025_09_50_25_9720.jpg', '/home/pi/Desktop/images/15122025/09/50/image_15122025_09_50_35_10687.jpg', '/home/pi/Desktop/images/15122025/09/50/image_15122025_09_50_45_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/49/image_15122025_09_49_54_9882.jpg
/home/pi/Desktop/images/15122025/09/49/image_15122025_09_50_05_10601.jpg
/home/pi/Desktop/images/15122025/09/50/image_15122025_09_50_15_9730.jpg
/home/pi/Desktop/images/15122025/09/50/image_15122025_09_50_25_9720.jpg
/home/pi/Desktop/images/15122025/09/50/image_15122025_09_50_35_10687.jpg
/home/pi/Desktop/images/15122025/09/50/image_15122025_09_50_45_9760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399456616","1399456618","1399456590","1399456650","1399456614","1399456592"],"photo_ids_order":["1399456590","1399456592","1399456614","1399456616","1399456618","1399456650"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4da6b7cbd67d8559f7a48426194fc4e7.jpg","text":"TemporaryFile(/tmp/multipartBody5926482522049798676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789803683,"filename":"image_15122025_09_50_25_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bae3b4184767bfb64992164eca707fff.jpg","text":"TemporaryFile(/tmp/multipartBody7765255137834921130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789803683,"filename":"image_15122025_09_50_35_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/045845d048e37bf6b16d96665d23ed2e.jpg","text":"TemporaryFile(/tmp/multipartBody276684642401208588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789803683,"filename":"image_15122025_09_49_54_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f829d07196e2d78c65a65e019d84872f.jpg","text":"TemporaryFile(/tmp/multipartBody4027109817692893644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789803683,"filename":"image_15122025_09_50_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/15/e4536587be73be7b899c2b04c9a033d5.jpg","text":"TemporaryFile(/tmp/multipartBody2420518076995228933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789803683,"filename":"image_15122025_09_50_15_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/96409919c99d7077dad29c4e94b40b90.jpg","text":"TemporaryFile(/tmp/multipartBody7131609292278673592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789803683,"filename":"image_15122025_09_50_05_10601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399456614","file1":"1399456592","file0":"1399456590","file4":"1399456618","file5":"1399456650","file3":"1399456616"},"map_files_photo_id_array":[{"photo_id":"1399456650","filename":"file5"},{"photo_id":"1399456614","filename":"file2"},{"photo_id":"1399456618","filename":"file4"},{"photo_id":"1399456592","filename":"file1"},{"photo_id":"1399456590","filename":"file0"},{"photo_id":"1399456616","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399456616":["hashtag1","hashtag2"]},{"1399456618":["hashtag1","hashtag2"]},{"1399456590":["hashtag1","hashtag2"]},{"1399456650":["hashtag1","hashtag2"]},{"1399456614":["hashtag1","hashtag2"]},{"1399456592":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399456616, 1399456618, 1399456590, 1399456650, 1399456614, 1399456592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.489497900009155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 10:09:42.053691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_32_2864.jpg', '/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_36_3572.jpg', '/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_38_2736.jpg', '/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_41_2729.jpg', '/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_44_2693.jpg', '/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_48_3685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_32_2864.jpg
/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_36_3572.jpg
/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_38_2736.jpg
/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_41_2729.jpg
/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_44_2693.jpg
/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_48_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":["1399456852","1399456855","1399456813","1399456776","1399456857","1399456758"],"photo_ids_order":["1399456758","1399456776","1399456813","1399456852","1399456855","1399456857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f581cebf8c796718410ee5b94c766c09.jpg","text":"TemporaryFile(/tmp/multipartBody6256937383049626649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789842756,"filename":"image_05112025_14_30_41_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/15/acbe7ee8f7f39c76abc73d274c77ef81.jpg","text":"TemporaryFile(/tmp/multipartBody5960596763403071923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789842756,"filename":"image_05112025_14_30_44_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/09c133b4b1f39808f880ff485d0b3f0c.jpg","text":"TemporaryFile(/tmp/multipartBody7933836380586960417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789842756,"filename":"image_05112025_14_30_38_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/15/ccfeedb521dc481613b2091cbc9f825e.jpg","text":"TemporaryFile(/tmp/multipartBody8316577864890648067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789842756,"filename":"image_05112025_14_30_36_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/15/e1f5fe87f0c7c1eef8cf6579ad247e3e.jpg","text":"TemporaryFile(/tmp/multipartBody4050070756419358248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789842756,"filename":"image_05112025_14_30_48_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8fece259d92ea90773839259e99395fa.jpg","text":"TemporaryFile(/tmp/multipartBody919899233758544993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789842756,"filename":"image_05112025_14_30_32_2864.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399456813","file1":"1399456776","file0":"1399456758","file4":"1399456855","file5":"1399456857","file3":"1399456852"},"map_files_photo_id_array":[{"photo_id":"1399456857","filename":"file5"},{"photo_id":"1399456813","filename":"file2"},{"photo_id":"1399456855","filename":"file4"},{"photo_id":"1399456776","filename":"file1"},{"photo_id":"1399456758","filename":"file0"},{"photo_id":"1399456852","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399456852":["hashtag1","hashtag2"]},{"1399456855":["hashtag1","hashtag2"]},{"1399456813":["hashtag1","hashtag2"]},{"1399456776":["hashtag1","hashtag2"]},{"1399456857":["hashtag1","hashtag2"]},{"1399456758":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399456852, 1399456855, 1399456813, 1399456776, 1399456857, 1399456758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67827868461609 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 10:10:22.333349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/50/image_15122025_09_50_55_9797.jpg', '/home/pi/Desktop/images/15122025/09/50/image_15122025_09_51_05_9875.jpg', '/home/pi/Desktop/images/15122025/09/51/image_15122025_09_51_14_9770.jpg', '/home/pi/Desktop/images/15122025/09/51/image_15122025_09_51_25_10741.jpg', '/home/pi/Desktop/images/15122025/09/51/image_15122025_09_51_35_9655.jpg', '/home/pi/Desktop/images/15122025/09/51/image_15122025_09_51_44_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/50/image_15122025_09_50_55_9797.jpg
/home/pi/Desktop/images/15122025/09/50/image_15122025_09_51_05_9875.jpg
/home/pi/Desktop/images/15122025/09/51/image_15122025_09_51_14_9770.jpg
/home/pi/Desktop/images/15122025/09/51/image_15122025_09_51_25_10741.jpg
/home/pi/Desktop/images/15122025/09/51/image_15122025_09_51_35_9655.jpg
/home/pi/Desktop/images/15122025/09/51/image_15122025_09_51_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":["1399456868","1399456861","1399456870","1399456864","1399456866","1399456875"],"photo_ids_order":["1399456861","1399456864","1399456866","1399456868","1399456870","1399456875"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d81f5a68a824548504ed90e73dce0ddb.jpg","text":"TemporaryFile(/tmp/multipartBody1233243961736565760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789882946,"filename":"image_15122025_09_51_25_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/446f58124278a3e52864fce1f2782d17.jpg","text":"TemporaryFile(/tmp/multipartBody1634832119274560721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789882946,"filename":"image_15122025_09_50_55_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/be9faf685153ec6a18d189f82f5d9644.jpg","text":"TemporaryFile(/tmp/multipartBody592968684996550945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789882946,"filename":"image_15122025_09_51_35_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0e4b1f1593ec961ae148d8e318f91183.jpg","text":"TemporaryFile(/tmp/multipartBody920177568595609935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789882946,"filename":"image_15122025_09_51_05_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/15/1b9cc35f9e2c1f53b2fd26840dee4661.jpg","text":"TemporaryFile(/tmp/multipartBody8399437266875867851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789882946,"filename":"image_15122025_09_51_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/15/7128a0b88d7601070bc6a05497309f35.jpg","text":"TemporaryFile(/tmp/multipartBody3792386928928086622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789882946,"filename":"image_15122025_09_51_44_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399456866","file1":"1399456864","file0":"1399456861","file4":"1399456870","file5":"1399456875","file3":"1399456868"},"map_files_photo_id_array":[{"photo_id":"1399456875","filename":"file5"},{"photo_id":"1399456866","filename":"file2"},{"photo_id":"1399456870","filename":"file4"},{"photo_id":"1399456864","filename":"file1"},{"photo_id":"1399456861","filename":"file0"},{"photo_id":"1399456868","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399456868":["hashtag1","hashtag2"]},{"1399456861":["hashtag1","hashtag2"]},{"1399456870":["hashtag1","hashtag2"]},{"1399456864":["hashtag1","hashtag2"]},{"1399456866":["hashtag1","hashtag2"]},{"1399456875":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399456868, 1399456861, 1399456870, 1399456864, 1399456866, 1399456875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83002328872681 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 10:11:03.176976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/51/image_15122025_09_51_55_10728.jpg', '/home/pi/Desktop/images/15122025/09/51/image_15122025_09_52_05_9635.jpg', '/home/pi/Desktop/images/15122025/09/52/image_15122025_09_52_14_9627.jpg', '/home/pi/Desktop/images/15122025/09/52/image_15122025_09_52_25_10709.jpg', '/home/pi/Desktop/images/15122025/09/52/image_15122025_09_52_35_9593.jpg', '/home/pi/Desktop/images/15122025/09/52/image_15122025_09_52_44_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/51/image_15122025_09_51_55_10728.jpg
/home/pi/Desktop/images/15122025/09/51/image_15122025_09_52_05_9635.jpg
/home/pi/Desktop/images/15122025/09/52/image_15122025_09_52_14_9627.jpg
/home/pi/Desktop/images/15122025/09/52/image_15122025_09_52_25_10709.jpg
/home/pi/Desktop/images/15122025/09/52/image_15122025_09_52_35_9593.jpg
/home/pi/Desktop/images/15122025/09/52/image_15122025_09_52_44_9616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399456960","1399457011","1399457002","1399457016","1399457004","1399457013"],"photo_ids_order":["1399456960","1399457002","1399457004","1399457011","1399457013","1399457016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/34982f6342b7a87bbadb6814a3cfcb59.jpg","text":"TemporaryFile(/tmp/multipartBody5339994205335452535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789923870,"filename":"image_15122025_09_51_55_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/15/4f1c54d784ccdce4706596c00878f425.jpg","text":"TemporaryFile(/tmp/multipartBody1086788205256648452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789923870,"filename":"image_15122025_09_52_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/15/ca8eeb6179cb5fc53ab713c37ed9ec7f.jpg","text":"TemporaryFile(/tmp/multipartBody2468589736535826215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789923870,"filename":"image_15122025_09_52_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/15/ea1aa6e4160e1113a7d825eadea446fa.jpg","text":"TemporaryFile(/tmp/multipartBody6021840930413513257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789923870,"filename":"image_15122025_09_52_44_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e2f5b81d4618b239a619b5c061107fe3.jpg","text":"TemporaryFile(/tmp/multipartBody1363740858804087947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789923870,"filename":"image_15122025_09_52_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/15/923715d0c272f62ff9ddb8cfcc91d447.jpg","text":"TemporaryFile(/tmp/multipartBody7607615048236865001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789923870,"filename":"image_15122025_09_52_35_9593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399457004","file1":"1399457002","file0":"1399456960","file4":"1399457013","file5":"1399457016","file3":"1399457011"},"map_files_photo_id_array":[{"photo_id":"1399457016","filename":"file5"},{"photo_id":"1399457004","filename":"file2"},{"photo_id":"1399457013","filename":"file4"},{"photo_id":"1399457002","filename":"file1"},{"photo_id":"1399456960","filename":"file0"},{"photo_id":"1399457011","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399456960":["hashtag1","hashtag2"]},{"1399457011":["hashtag1","hashtag2"]},{"1399457002":["hashtag1","hashtag2"]},{"1399457016":["hashtag1","hashtag2"]},{"1399457004":["hashtag1","hashtag2"]},{"1399457013":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399456960, 1399457011, 1399457002, 1399457016, 1399457004, 1399457013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97366380691528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 10:11:42.615505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_50_2646.jpg', '/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_53_2678.jpg', '/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_57_3683.jpg', '/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_59_2717.jpg', '/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_02_2637.jpg', '/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_06_3648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_50_2646.jpg
/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_53_2678.jpg
/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_57_3683.jpg
/home/pi/Desktop/images/05112025/14/30/image_05112025_14_30_59_2717.jpg
/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_02_2637.jpg
/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_06_3648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399457080","1399457104","1399457107","1399457064","1399457106","1399457063"],"photo_ids_order":["1399457063","1399457064","1399457080","1399457104","1399457106","1399457107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f7f68bfc7e48740702d497c1eced851c.jpg","text":"TemporaryFile(/tmp/multipartBody4789291103011822804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789963360,"filename":"image_05112025_14_30_57_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/15/20066b1d4db78a987910b46fd29b5e8a.jpg","text":"TemporaryFile(/tmp/multipartBody9032048918754380002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789963360,"filename":"image_05112025_14_30_59_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/621e5279e4b862cbf85e3b6b4a7d06a6.jpg","text":"TemporaryFile(/tmp/multipartBody299709076973544389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789963360,"filename":"image_05112025_14_31_06_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/15/9a1db68edf042c4f2aa8591c25eccb28.jpg","text":"TemporaryFile(/tmp/multipartBody9048503361272009602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789963360,"filename":"image_05112025_14_30_53_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/15/24807359c08e62e42069d580c76e27cc.jpg","text":"TemporaryFile(/tmp/multipartBody1636437063614875380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789963360,"filename":"image_05112025_14_31_02_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/15/737aba5185e165d1f37dcb31498a4f7e.jpg","text":"TemporaryFile(/tmp/multipartBody9155045454469117154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765789963360,"filename":"image_05112025_14_30_50_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399457080","file1":"1399457064","file0":"1399457063","file4":"1399457106","file5":"1399457107","file3":"1399457104"},"map_files_photo_id_array":[{"photo_id":"1399457107","filename":"file5"},{"photo_id":"1399457080","filename":"file2"},{"photo_id":"1399457106","filename":"file4"},{"photo_id":"1399457064","filename":"file1"},{"photo_id":"1399457063","filename":"file0"},{"photo_id":"1399457104","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399457080":["hashtag1","hashtag2"]},{"1399457104":["hashtag1","hashtag2"]},{"1399457107":["hashtag1","hashtag2"]},{"1399457064":["hashtag1","hashtag2"]},{"1399457106":["hashtag1","hashtag2"]},{"1399457063":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399457080, 1399457104, 1399457107, 1399457064, 1399457106, 1399457063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.029183864593506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 10:12:21.829173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/52/image_15122025_09_52_55_10825.jpg', '/home/pi/Desktop/images/15122025/09/52/image_15122025_09_53_05_9799.jpg', '/home/pi/Desktop/images/15122025/09/53/image_15122025_09_53_15_9929.jpg', '/home/pi/Desktop/images/15122025/09/53/image_15122025_09_53_25_9610.jpg', '/home/pi/Desktop/images/15122025/09/53/image_15122025_09_53_35_10650.jpg', '/home/pi/Desktop/images/15122025/09/53/image_15122025_09_53_45_9891.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/52/image_15122025_09_52_55_10825.jpg
/home/pi/Desktop/images/15122025/09/52/image_15122025_09_53_05_9799.jpg
/home/pi/Desktop/images/15122025/09/53/image_15122025_09_53_15_9929.jpg
/home/pi/Desktop/images/15122025/09/53/image_15122025_09_53_25_9610.jpg
/home/pi/Desktop/images/15122025/09/53/image_15122025_09_53_35_10650.jpg
/home/pi/Desktop/images/15122025/09/53/image_15122025_09_53_45_9891.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399457432","1399457437","1399457343","1399457244","1399457427","1399457429"],"photo_ids_order":["1399457244","1399457343","1399457427","1399457429","1399457432","1399457437"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8609a9b59273f0ef9a925ee01cc4f3df.jpg","text":"TemporaryFile(/tmp/multipartBody2234603578048575078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790002438,"filename":"image_15122025_09_53_35_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/18c42c3eb7207b4071fe0a4a072e0228.jpg","text":"TemporaryFile(/tmp/multipartBody233866238224540856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790002438,"filename":"image_15122025_09_53_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/15/941c8dc56d7b20e4d66c6efcc9713ccd.jpg","text":"TemporaryFile(/tmp/multipartBody1919029840588570109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790002438,"filename":"image_15122025_09_53_05_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8f832bce4b51c150b1dda5374c7d1f5a.jpg","text":"TemporaryFile(/tmp/multipartBody5015280351032798435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790002438,"filename":"image_15122025_09_52_55_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/15/861d3135d4301d5a2e8e4acf297cbffd.jpg","text":"TemporaryFile(/tmp/multipartBody7834095018817126641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790002438,"filename":"image_15122025_09_53_15_9929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/389b2c06ff2ab7cabde47f4dbebcaf1a.jpg","text":"TemporaryFile(/tmp/multipartBody5016552135948732068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790002438,"filename":"image_15122025_09_53_25_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399457427","file1":"1399457343","file0":"1399457244","file4":"1399457432","file5":"1399457437","file3":"1399457429"},"map_files_photo_id_array":[{"photo_id":"1399457437","filename":"file5"},{"photo_id":"1399457427","filename":"file2"},{"photo_id":"1399457432","filename":"file4"},{"photo_id":"1399457343","filename":"file1"},{"photo_id":"1399457244","filename":"file0"},{"photo_id":"1399457429","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399457432":["hashtag1","hashtag2"]},{"1399457437":["hashtag1","hashtag2"]},{"1399457343":["hashtag1","hashtag2"]},{"1399457244":["hashtag1","hashtag2"]},{"1399457427":["hashtag1","hashtag2"]},{"1399457429":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399457432, 1399457437, 1399457343, 1399457244, 1399457427, 1399457429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54439997673035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 10:13:02.910433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/53/image_15122025_09_53_55_9719.jpg', '/home/pi/Desktop/images/15122025/09/53/image_15122025_09_54_05_9695.jpg', '/home/pi/Desktop/images/15122025/09/54/image_15122025_09_54_14_9900.jpg', '/home/pi/Desktop/images/15122025/09/54/image_15122025_09_54_25_10754.jpg', '/home/pi/Desktop/images/15122025/09/54/image_15122025_09_54_35_9701.jpg', '/home/pi/Desktop/images/15122025/09/54/image_15122025_09_54_45_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/53/image_15122025_09_53_55_9719.jpg
/home/pi/Desktop/images/15122025/09/53/image_15122025_09_54_05_9695.jpg
/home/pi/Desktop/images/15122025/09/54/image_15122025_09_54_14_9900.jpg
/home/pi/Desktop/images/15122025/09/54/image_15122025_09_54_25_10754.jpg
/home/pi/Desktop/images/15122025/09/54/image_15122025_09_54_35_9701.jpg
/home/pi/Desktop/images/15122025/09/54/image_15122025_09_54_45_9788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399457476","1399457473","1399457461","1399457478","1399457463","1399457454"],"photo_ids_order":["1399457454","1399457461","1399457463","1399457473","1399457476","1399457478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b67ca820d4c32022aab1a4475c45d913.jpg","text":"TemporaryFile(/tmp/multipartBody4724603533953305075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790043564,"filename":"image_15122025_09_54_35_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/642358d63aa7225ffb1d7b6fe5ee6408.jpg","text":"TemporaryFile(/tmp/multipartBody1457955065999753154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790043564,"filename":"image_15122025_09_54_25_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a5a3bada1de0b4b2bc87331033cbfcf7.jpg","text":"TemporaryFile(/tmp/multipartBody4120585401738535725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790043564,"filename":"image_15122025_09_54_05_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7d999e17f66c3655effa4cb0e9332134.jpg","text":"TemporaryFile(/tmp/multipartBody3372519927361551896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790043564,"filename":"image_15122025_09_54_45_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/01a0f18d322a37a850cf5c82c8e6b596.jpg","text":"TemporaryFile(/tmp/multipartBody8313874020714730193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790043564,"filename":"image_15122025_09_54_14_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/15/7cb2a7d418f22674e2e3bb8d2df49b1a.jpg","text":"TemporaryFile(/tmp/multipartBody921458690887945676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790043564,"filename":"image_15122025_09_53_55_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399457463","file1":"1399457461","file0":"1399457454","file4":"1399457476","file5":"1399457478","file3":"1399457473"},"map_files_photo_id_array":[{"photo_id":"1399457478","filename":"file5"},{"photo_id":"1399457463","filename":"file2"},{"photo_id":"1399457476","filename":"file4"},{"photo_id":"1399457461","filename":"file1"},{"photo_id":"1399457454","filename":"file0"},{"photo_id":"1399457473","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399457476":["hashtag1","hashtag2"]},{"1399457473":["hashtag1","hashtag2"]},{"1399457461":["hashtag1","hashtag2"]},{"1399457478":["hashtag1","hashtag2"]},{"1399457463":["hashtag1","hashtag2"]},{"1399457454":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399457476, 1399457473, 1399457461, 1399457478, 1399457463, 1399457454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90563082695007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 10:13:42.183733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_08_2596.jpg', '/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_11_2575.jpg', '/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_14_3747.jpg', '/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_18_3198.jpg', '/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_20_2580.jpg', '/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_23_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_08_2596.jpg
/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_11_2575.jpg
/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_14_3747.jpg
/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_18_3198.jpg
/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_20_2580.jpg
/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_23_2701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399457494","1399457485","1399457493","1399457484","1399457486","1399457495"],"photo_ids_order":["1399457484","1399457485","1399457486","1399457493","1399457494","1399457495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cc8013fc8c67af3564f39f7c9d988630.jpg","text":"TemporaryFile(/tmp/multipartBody8120578863239789528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790082891,"filename":"image_05112025_14_31_20_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/67db6c586c77ced74a5225eccfa728df.jpg","text":"TemporaryFile(/tmp/multipartBody960922766015736960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790082891,"filename":"image_05112025_14_31_11_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/15/df5be4c4d296cfaafd25104866bed4de.jpg","text":"TemporaryFile(/tmp/multipartBody3944470736522372176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790082891,"filename":"image_05112025_14_31_18_3198.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/af21ac722cdf6d107e45b14a0e181806.jpg","text":"TemporaryFile(/tmp/multipartBody7604661829643626182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790082891,"filename":"image_05112025_14_31_08_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7166b7e61b1f8348aaf202871b0d7546.jpg","text":"TemporaryFile(/tmp/multipartBody8370901807645766957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790082891,"filename":"image_05112025_14_31_14_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7f913d50bf9efe6af041925212754419.jpg","text":"TemporaryFile(/tmp/multipartBody5222415833999297762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790082891,"filename":"image_05112025_14_31_23_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399457486","file1":"1399457485","file0":"1399457484","file4":"1399457494","file5":"1399457495","file3":"1399457493"},"map_files_photo_id_array":[{"photo_id":"1399457495","filename":"file5"},{"photo_id":"1399457486","filename":"file2"},{"photo_id":"1399457494","filename":"file4"},{"photo_id":"1399457485","filename":"file1"},{"photo_id":"1399457484","filename":"file0"},{"photo_id":"1399457493","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399457494":["hashtag1","hashtag2"]},{"1399457485":["hashtag1","hashtag2"]},{"1399457493":["hashtag1","hashtag2"]},{"1399457484":["hashtag1","hashtag2"]},{"1399457486":["hashtag1","hashtag2"]},{"1399457495":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399457494, 1399457485, 1399457493, 1399457484, 1399457486, 1399457495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.626086950302124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 10:14:22.504018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/54/image_15122025_09_54_54_9735.jpg', '/home/pi/Desktop/images/15122025/09/54/image_15122025_09_55_05_10706.jpg', '/home/pi/Desktop/images/15122025/09/55/image_15122025_09_55_15_9627.jpg', '/home/pi/Desktop/images/15122025/09/55/image_15122025_09_55_24_9703.jpg', '/home/pi/Desktop/images/15122025/09/55/image_15122025_09_55_35_10595.jpg', '/home/pi/Desktop/images/15122025/09/55/image_15122025_09_55_45_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/54/image_15122025_09_54_54_9735.jpg
/home/pi/Desktop/images/15122025/09/54/image_15122025_09_55_05_10706.jpg
/home/pi/Desktop/images/15122025/09/55/image_15122025_09_55_15_9627.jpg
/home/pi/Desktop/images/15122025/09/55/image_15122025_09_55_24_9703.jpg
/home/pi/Desktop/images/15122025/09/55/image_15122025_09_55_35_10595.jpg
/home/pi/Desktop/images/15122025/09/55/image_15122025_09_55_45_9590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399457501","1399457507","1399457515","1399457509","1399457503","1399457523"],"photo_ids_order":["1399457501","1399457503","1399457507","1399457509","1399457515","1399457523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3aa6c56648d4fca80aa9f578e540e96c.jpg","text":"TemporaryFile(/tmp/multipartBody6240990324157748686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790123142,"filename":"image_15122025_09_54_54_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bd42a8628481d3be15febb9adf9575da.jpg","text":"TemporaryFile(/tmp/multipartBody1383591465238807212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790123142,"filename":"image_15122025_09_55_15_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/edc5f8cc307bc145be3f9a568aed6635.jpg","text":"TemporaryFile(/tmp/multipartBody317060605623245747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790123142,"filename":"image_15122025_09_55_35_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/352c2e6d6f01f06ddf24b16e2122fb8b.jpg","text":"TemporaryFile(/tmp/multipartBody5909833321817834979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790123142,"filename":"image_15122025_09_55_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/15/5154cac19b8018aeed329f7c0cfdf2f3.jpg","text":"TemporaryFile(/tmp/multipartBody5158839192245140538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790123142,"filename":"image_15122025_09_55_05_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/15/9a161b1cb5b0c7a3a359231d521f0f74.jpg","text":"TemporaryFile(/tmp/multipartBody4704248175435535398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790123142,"filename":"image_15122025_09_55_45_9590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399457507","file1":"1399457503","file0":"1399457501","file4":"1399457515","file5":"1399457523","file3":"1399457509"},"map_files_photo_id_array":[{"photo_id":"1399457523","filename":"file5"},{"photo_id":"1399457507","filename":"file2"},{"photo_id":"1399457515","filename":"file4"},{"photo_id":"1399457503","filename":"file1"},{"photo_id":"1399457501","filename":"file0"},{"photo_id":"1399457509","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399457501":["hashtag1","hashtag2"]},{"1399457507":["hashtag1","hashtag2"]},{"1399457515":["hashtag1","hashtag2"]},{"1399457509":["hashtag1","hashtag2"]},{"1399457503":["hashtag1","hashtag2"]},{"1399457523":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399457501, 1399457507, 1399457515, 1399457509, 1399457503, 1399457523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.241477251052856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 10:15:03.474379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/55/image_15122025_09_55_55_10646.jpg', '/home/pi/Desktop/images/15122025/09/55/image_15122025_09_56_05_9716.jpg', '/home/pi/Desktop/images/15122025/09/56/image_15122025_09_56_15_9766.jpg', '/home/pi/Desktop/images/15122025/09/56/image_15122025_09_56_24_9734.jpg', '/home/pi/Desktop/images/15122025/09/56/image_15122025_09_56_35_10666.jpg', '/home/pi/Desktop/images/15122025/09/56/image_15122025_09_56_45_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/55/image_15122025_09_55_55_10646.jpg
/home/pi/Desktop/images/15122025/09/55/image_15122025_09_56_05_9716.jpg
/home/pi/Desktop/images/15122025/09/56/image_15122025_09_56_15_9766.jpg
/home/pi/Desktop/images/15122025/09/56/image_15122025_09_56_24_9734.jpg
/home/pi/Desktop/images/15122025/09/56/image_15122025_09_56_35_10666.jpg
/home/pi/Desktop/images/15122025/09/56/image_15122025_09_56_45_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":["1399457545","1399457530","1399457548","1399457542","1399457544","1399457540"],"photo_ids_order":["1399457530","1399457540","1399457542","1399457544","1399457545","1399457548"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f48e925556053b0e54947781a4396c3d.jpg","text":"TemporaryFile(/tmp/multipartBody1249953409615955184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790164147,"filename":"image_15122025_09_56_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/15/9a339462bc1dd46bbe5b86c108419d20.jpg","text":"TemporaryFile(/tmp/multipartBody6492705068639072435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790164147,"filename":"image_15122025_09_55_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/15/4fec146c78af71e8b5206a550e6f879d.jpg","text":"TemporaryFile(/tmp/multipartBody4579762897110523263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790164147,"filename":"image_15122025_09_56_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/15/3853d7a5fbac70cc920c602d5dc83aa8.jpg","text":"TemporaryFile(/tmp/multipartBody6536301969394245283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790164147,"filename":"image_15122025_09_56_15_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/116902ad925faa982764895450898cc4.jpg","text":"TemporaryFile(/tmp/multipartBody4822771861220114500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790164147,"filename":"image_15122025_09_56_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/15/7f3fbf8fdf63403e1b91fd21a1262704.jpg","text":"TemporaryFile(/tmp/multipartBody1950475827383240694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790164147,"filename":"image_15122025_09_56_05_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399457542","file1":"1399457540","file0":"1399457530","file4":"1399457545","file5":"1399457548","file3":"1399457544"},"map_files_photo_id_array":[{"photo_id":"1399457548","filename":"file5"},{"photo_id":"1399457542","filename":"file2"},{"photo_id":"1399457545","filename":"file4"},{"photo_id":"1399457540","filename":"file1"},{"photo_id":"1399457530","filename":"file0"},{"photo_id":"1399457544","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399457545":["hashtag1","hashtag2"]},{"1399457530":["hashtag1","hashtag2"]},{"1399457548":["hashtag1","hashtag2"]},{"1399457542":["hashtag1","hashtag2"]},{"1399457544":["hashtag1","hashtag2"]},{"1399457540":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399457545, 1399457530, 1399457548, 1399457542, 1399457544, 1399457540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08673906326294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 10:15:42.733029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_27_3614.jpg', '/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_29_2600.jpg', '/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_32_2790.jpg', '/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_35_3544.jpg', '/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_38_2692.jpg', '/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_41_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_27_3614.jpg
/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_29_2600.jpg
/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_32_2790.jpg
/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_35_3544.jpg
/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_38_2692.jpg
/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_41_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":["1399457584","1399457571","1399457553","1399457583","1399457565","1399457585"],"photo_ids_order":["1399457553","1399457565","1399457571","1399457583","1399457584","1399457585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/75cd39bdeab1b1c9392af91ae5b0b920.jpg","text":"TemporaryFile(/tmp/multipartBody9098786738427929721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790203441,"filename":"image_05112025_14_31_38_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/15/2fa7e744da2d3ee0f647972a63f4d229.jpg","text":"TemporaryFile(/tmp/multipartBody2192935903105147634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790203441,"filename":"image_05112025_14_31_32_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/15/262f9ff3d44c4b264376f4f0bd29a0d5.jpg","text":"TemporaryFile(/tmp/multipartBody3656401844686166421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790203441,"filename":"image_05112025_14_31_27_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/15/59fc64d695df3e159a0bc516484b5690.jpg","text":"TemporaryFile(/tmp/multipartBody8115527240904475089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790203441,"filename":"image_05112025_14_31_35_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/15/4cc4e2cda746335fcf557c8611308541.jpg","text":"TemporaryFile(/tmp/multipartBody3026387478535913465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790203441,"filename":"image_05112025_14_31_29_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/15/853f2559e5c1133cb59e1570d2ad7e0a.jpg","text":"TemporaryFile(/tmp/multipartBody7857104951143344249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790203441,"filename":"image_05112025_14_31_41_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399457571","file1":"1399457565","file0":"1399457553","file4":"1399457584","file5":"1399457585","file3":"1399457583"},"map_files_photo_id_array":[{"photo_id":"1399457585","filename":"file5"},{"photo_id":"1399457571","filename":"file2"},{"photo_id":"1399457584","filename":"file4"},{"photo_id":"1399457565","filename":"file1"},{"photo_id":"1399457553","filename":"file0"},{"photo_id":"1399457583","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399457584":["hashtag1","hashtag2"]},{"1399457571":["hashtag1","hashtag2"]},{"1399457553":["hashtag1","hashtag2"]},{"1399457583":["hashtag1","hashtag2"]},{"1399457565":["hashtag1","hashtag2"]},{"1399457585":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399457584, 1399457571, 1399457553, 1399457583, 1399457565, 1399457585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45078110694885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 10:16:21.970179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/56/image_15122025_09_56_55_9710.jpg', '/home/pi/Desktop/images/15122025/09/56/image_15122025_09_57_05_10590.jpg', '/home/pi/Desktop/images/15122025/09/57/image_15122025_09_57_15_9647.jpg', '/home/pi/Desktop/images/15122025/09/57/image_15122025_09_57_25_9708.jpg', '/home/pi/Desktop/images/15122025/09/57/image_15122025_09_57_35_10524.jpg', '/home/pi/Desktop/images/15122025/09/57/image_15122025_09_57_45_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/56/image_15122025_09_56_55_9710.jpg
/home/pi/Desktop/images/15122025/09/56/image_15122025_09_57_05_10590.jpg
/home/pi/Desktop/images/15122025/09/57/image_15122025_09_57_15_9647.jpg
/home/pi/Desktop/images/15122025/09/57/image_15122025_09_57_25_9708.jpg
/home/pi/Desktop/images/15122025/09/57/image_15122025_09_57_35_10524.jpg
/home/pi/Desktop/images/15122025/09/57/image_15122025_09_57_45_9574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399457674","1399457749","1399457784","1399457778","1399457763","1399457712"],"photo_ids_order":["1399457674","1399457712","1399457749","1399457763","1399457778","1399457784"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/784dcee8033f0cd138402b9b234443b5.jpg","text":"TemporaryFile(/tmp/multipartBody8165822622879907078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790242597,"filename":"image_15122025_09_56_55_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fb8c17ef29d9523e1372f674572a618a.jpg","text":"TemporaryFile(/tmp/multipartBody2821264070784234821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790242597,"filename":"image_15122025_09_57_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/15/678f6b7821c01ef929e4bf1237d86e33.jpg","text":"TemporaryFile(/tmp/multipartBody5343290820998938052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790242597,"filename":"image_15122025_09_57_45_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b14266c483ea38c062374dde6c80e465.jpg","text":"TemporaryFile(/tmp/multipartBody985172953570616270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790242597,"filename":"image_15122025_09_57_35_10524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b199fba27ddcc725868262a9aca891f7.jpg","text":"TemporaryFile(/tmp/multipartBody6741457085215073920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790242597,"filename":"image_15122025_09_57_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/15/d16c2d8f9617fac156eaaee1112ca1f9.jpg","text":"TemporaryFile(/tmp/multipartBody8172730151956807981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790242597,"filename":"image_15122025_09_57_05_10590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399457749","file1":"1399457712","file0":"1399457674","file4":"1399457778","file5":"1399457784","file3":"1399457763"},"map_files_photo_id_array":[{"photo_id":"1399457784","filename":"file5"},{"photo_id":"1399457749","filename":"file2"},{"photo_id":"1399457778","filename":"file4"},{"photo_id":"1399457712","filename":"file1"},{"photo_id":"1399457674","filename":"file0"},{"photo_id":"1399457763","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399457674":["hashtag1","hashtag2"]},{"1399457749":["hashtag1","hashtag2"]},{"1399457784":["hashtag1","hashtag2"]},{"1399457778":["hashtag1","hashtag2"]},{"1399457763":["hashtag1","hashtag2"]},{"1399457712":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399457674, 1399457749, 1399457784, 1399457778, 1399457763, 1399457712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63297486305237 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 10:17:03.066778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/57/image_15122025_09_57_54_9746.jpg', '/home/pi/Desktop/images/15122025/09/57/image_15122025_09_58_05_10757.jpg', '/home/pi/Desktop/images/15122025/09/58/image_15122025_09_58_15_9684.jpg', '/home/pi/Desktop/images/15122025/09/58/image_15122025_09_58_25_9722.jpg', '/home/pi/Desktop/images/15122025/09/58/image_15122025_09_58_34_9729.jpg', '/home/pi/Desktop/images/15122025/09/58/image_15122025_09_58_45_10692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/57/image_15122025_09_57_54_9746.jpg
/home/pi/Desktop/images/15122025/09/57/image_15122025_09_58_05_10757.jpg
/home/pi/Desktop/images/15122025/09/58/image_15122025_09_58_15_9684.jpg
/home/pi/Desktop/images/15122025/09/58/image_15122025_09_58_25_9722.jpg
/home/pi/Desktop/images/15122025/09/58/image_15122025_09_58_34_9729.jpg
/home/pi/Desktop/images/15122025/09/58/image_15122025_09_58_45_10692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399458101","1399458076","1399458103","1399458108","1399458042","1399458105"],"photo_ids_order":["1399458042","1399458076","1399458101","1399458103","1399458105","1399458108"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0ba41a8b1485d9a4e54c192e4950ce55.jpg","text":"TemporaryFile(/tmp/multipartBody484774125745478005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790283782,"filename":"image_15122025_09_58_15_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0126b99bc5eed8d34f20984f6b3b9647.jpg","text":"TemporaryFile(/tmp/multipartBody7862527410316581475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790283782,"filename":"image_15122025_09_58_05_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/15/b41a8667d19b8be573e31e714e2f57b1.jpg","text":"TemporaryFile(/tmp/multipartBody338475296028467905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790283782,"filename":"image_15122025_09_58_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/15/4751d52d9f8ebaa5dccd434de7e92fac.jpg","text":"TemporaryFile(/tmp/multipartBody7399832578721337924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790283782,"filename":"image_15122025_09_58_45_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cb756a858395fa6a4f1a49eb524bcdc9.jpg","text":"TemporaryFile(/tmp/multipartBody6117383242846969551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790283782,"filename":"image_15122025_09_57_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/15/9377615bba03c3193473c860d13e5adc.jpg","text":"TemporaryFile(/tmp/multipartBody1569652139674275083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790283782,"filename":"image_15122025_09_58_34_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399458101","file1":"1399458076","file0":"1399458042","file4":"1399458105","file5":"1399458108","file3":"1399458103"},"map_files_photo_id_array":[{"photo_id":"1399458108","filename":"file5"},{"photo_id":"1399458101","filename":"file2"},{"photo_id":"1399458105","filename":"file4"},{"photo_id":"1399458076","filename":"file1"},{"photo_id":"1399458042","filename":"file0"},{"photo_id":"1399458103","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399458101":["hashtag1","hashtag2"]},{"1399458076":["hashtag1","hashtag2"]},{"1399458103":["hashtag1","hashtag2"]},{"1399458108":["hashtag1","hashtag2"]},{"1399458042":["hashtag1","hashtag2"]},{"1399458105":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399458101, 1399458076, 1399458103, 1399458108, 1399458042, 1399458105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48553538322449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 10:17:42.378771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_44_3524.jpg', '/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_47_2659.jpg', '/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_50_2706.jpg', '/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_53_3711.jpg', '/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_56_2616.jpg', '/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_59_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_44_3524.jpg
/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_47_2659.jpg
/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_50_2706.jpg
/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_53_3711.jpg
/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_56_2616.jpg
/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_59_2697.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6025805473327637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 10:18:03.149552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/58/image_15122025_09_58_55_9563.jpg', '/home/pi/Desktop/images/15122025/09/58/image_15122025_09_59_04_9768.jpg', '/home/pi/Desktop/images/15122025/09/59/image_15122025_09_59_15_10714.jpg', '/home/pi/Desktop/images/15122025/09/59/image_15122025_09_59_25_9639.jpg', '/home/pi/Desktop/images/15122025/09/59/image_15122025_09_59_35_10611.jpg', '/home/pi/Desktop/images/15122025/09/59/image_15122025_09_59_45_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/58/image_15122025_09_58_55_9563.jpg
/home/pi/Desktop/images/15122025/09/58/image_15122025_09_59_04_9768.jpg
/home/pi/Desktop/images/15122025/09/59/image_15122025_09_59_15_10714.jpg
/home/pi/Desktop/images/15122025/09/59/image_15122025_09_59_25_9639.jpg
/home/pi/Desktop/images/15122025/09/59/image_15122025_09_59_35_10611.jpg
/home/pi/Desktop/images/15122025/09/59/image_15122025_09_59_45_9664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399458193","1399458274","1399458223","1399458195","1399458287","1399458289"],"photo_ids_order":["1399458193","1399458195","1399458223","1399458274","1399458287","1399458289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b99ef9fe67db8ea754f208932e13304f.jpg","text":"TemporaryFile(/tmp/multipartBody1504840884130724173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790343847,"filename":"image_15122025_09_58_55_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/73b2346ca9ce373f7b188fef891d6c97.jpg","text":"TemporaryFile(/tmp/multipartBody3049182854983713192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790343847,"filename":"image_15122025_09_59_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/15/e8d747fcd62049e49dbc031e68bd7361.jpg","text":"TemporaryFile(/tmp/multipartBody3423033868169383803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790343847,"filename":"image_15122025_09_59_15_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c8af782e9dd8f54544f5a03c60280ee8.jpg","text":"TemporaryFile(/tmp/multipartBody8031861063902573833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790343847,"filename":"image_15122025_09_59_04_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fdc8884e655ac3254c557fe1801da941.jpg","text":"TemporaryFile(/tmp/multipartBody5813347391970776957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790343847,"filename":"image_15122025_09_59_35_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6bb4e59fae8196b6b83851d061d1afad.jpg","text":"TemporaryFile(/tmp/multipartBody2790579521788972456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790343847,"filename":"image_15122025_09_59_45_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399458223","file1":"1399458195","file0":"1399458193","file4":"1399458287","file5":"1399458289","file3":"1399458274"},"map_files_photo_id_array":[{"photo_id":"1399458289","filename":"file5"},{"photo_id":"1399458223","filename":"file2"},{"photo_id":"1399458287","filename":"file4"},{"photo_id":"1399458195","filename":"file1"},{"photo_id":"1399458193","filename":"file0"},{"photo_id":"1399458274","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399458193":["hashtag1","hashtag2"]},{"1399458274":["hashtag1","hashtag2"]},{"1399458223":["hashtag1","hashtag2"]},{"1399458195":["hashtag1","hashtag2"]},{"1399458287":["hashtag1","hashtag2"]},{"1399458289":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399458193, 1399458274, 1399458223, 1399458195, 1399458287, 1399458289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22586965560913 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 10:18:42.629201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_44_3524.jpg', '/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_47_2659.jpg', '/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_50_2706.jpg', '/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_53_3711.jpg', '/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_56_2616.jpg', '/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_59_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_44_3524.jpg
/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_47_2659.jpg
/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_50_2706.jpg
/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_53_3711.jpg
/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_56_2616.jpg
/home/pi/Desktop/images/05112025/14/31/image_05112025_14_31_59_2697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399458298","1399458307","1399458301","1399458304","1399458303","1399458302"],"photo_ids_order":["1399458298","1399458301","1399458302","1399458303","1399458304","1399458307"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0f9762cb6670f6a62aeb337601de6204.jpg","text":"TemporaryFile(/tmp/multipartBody1633255502502281133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790383222,"filename":"image_05112025_14_31_44_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/15/eb1e91a2cfe7e90ccf46bc821cd76a3c.jpg","text":"TemporaryFile(/tmp/multipartBody3462620436103670025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790383222,"filename":"image_05112025_14_31_59_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/15/fc3a1b67f1df44e3383383a26de337eb.jpg","text":"TemporaryFile(/tmp/multipartBody8099875722460811171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790383222,"filename":"image_05112025_14_31_47_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2dfe610a0957677661fd583e106eda34.jpg","text":"TemporaryFile(/tmp/multipartBody9104851998134059911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790383222,"filename":"image_05112025_14_31_56_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/15/1b6099a7b799154684a816065838b0ea.jpg","text":"TemporaryFile(/tmp/multipartBody4261024596947228544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790383222,"filename":"image_05112025_14_31_53_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/11d63954a5859ae793a4ffa3d0600a17.jpg","text":"TemporaryFile(/tmp/multipartBody7401360577705594957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790383222,"filename":"image_05112025_14_31_50_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399458302","file1":"1399458301","file0":"1399458298","file4":"1399458304","file5":"1399458307","file3":"1399458303"},"map_files_photo_id_array":[{"photo_id":"1399458307","filename":"file5"},{"photo_id":"1399458302","filename":"file2"},{"photo_id":"1399458304","filename":"file4"},{"photo_id":"1399458301","filename":"file1"},{"photo_id":"1399458298","filename":"file0"},{"photo_id":"1399458303","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399458298":["hashtag1","hashtag2"]},{"1399458307":["hashtag1","hashtag2"]},{"1399458301":["hashtag1","hashtag2"]},{"1399458304":["hashtag1","hashtag2"]},{"1399458303":["hashtag1","hashtag2"]},{"1399458302":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399458298, 1399458307, 1399458301, 1399458304, 1399458303, 1399458302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.786232471466064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 10:19:21.927421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/09/59/image_15122025_09_59_55_9887.jpg', '/home/pi/Desktop/images/15122025/10/00/image_15122025_10_00_15_10058.jpg', '/home/pi/Desktop/images/15122025/10/00/image_15122025_10_00_25_10705.jpg', '/home/pi/Desktop/images/15122025/10/00/image_15122025_10_00_35_9712.jpg', '/home/pi/Desktop/images/15122025/10/00/image_15122025_10_00_45_9667.jpg', '/home/pi/Desktop/images/15122025/10/00/image_15122025_10_00_55_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/09/59/image_15122025_09_59_55_9887.jpg
/home/pi/Desktop/images/15122025/10/00/image_15122025_10_00_15_10058.jpg
/home/pi/Desktop/images/15122025/10/00/image_15122025_10_00_25_10705.jpg
/home/pi/Desktop/images/15122025/10/00/image_15122025_10_00_35_9712.jpg
/home/pi/Desktop/images/15122025/10/00/image_15122025_10_00_45_9667.jpg
/home/pi/Desktop/images/15122025/10/00/image_15122025_10_00_55_10657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399458346","1399458348","1399458350","1399458353","1399458341","1399458344"],"photo_ids_order":["1399458341","1399458344","1399458346","1399458348","1399458350","1399458353"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e2afa7c94e216a7be7fa8cd588eebda6.jpg","text":"TemporaryFile(/tmp/multipartBody1640202212821945701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790422547,"filename":"image_15122025_10_00_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/15/712de8422b8ee7ca0a9694c65b127f61.jpg","text":"TemporaryFile(/tmp/multipartBody7720598756210865065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790422547,"filename":"image_15122025_10_00_35_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/84f6a2987d57dab4ac2dfa71b8c28aaf.jpg","text":"TemporaryFile(/tmp/multipartBody1482731447184154264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790422547,"filename":"image_15122025_10_00_45_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f419a6cb23cd70c5a5671caf06992a41.jpg","text":"TemporaryFile(/tmp/multipartBody1676620712148693710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790422547,"filename":"image_15122025_10_00_55_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6b05a67a189132ce99cc2ecbad7344d8.jpg","text":"TemporaryFile(/tmp/multipartBody1320513337219242608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790422547,"filename":"image_15122025_09_59_55_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ebdd7253763acdae252d3c73066aac96.jpg","text":"TemporaryFile(/tmp/multipartBody1383873719334917987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790422547,"filename":"image_15122025_10_00_15_10058.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399458346","file1":"1399458344","file0":"1399458341","file4":"1399458350","file5":"1399458353","file3":"1399458348"},"map_files_photo_id_array":[{"photo_id":"1399458353","filename":"file5"},{"photo_id":"1399458346","filename":"file2"},{"photo_id":"1399458350","filename":"file4"},{"photo_id":"1399458344","filename":"file1"},{"photo_id":"1399458341","filename":"file0"},{"photo_id":"1399458348","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399458346":["hashtag1","hashtag2"]},{"1399458348":["hashtag1","hashtag2"]},{"1399458350":["hashtag1","hashtag2"]},{"1399458353":["hashtag1","hashtag2"]},{"1399458341":["hashtag1","hashtag2"]},{"1399458344":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399458346, 1399458348, 1399458350, 1399458353, 1399458341, 1399458344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33945417404175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 10:20:02.589697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/00/image_15122025_10_01_05_9783.jpg', '/home/pi/Desktop/images/15122025/10/01/image_15122025_10_01_15_9707.jpg', '/home/pi/Desktop/images/15122025/10/01/image_15122025_10_01_25_10693.jpg', '/home/pi/Desktop/images/15122025/10/01/image_15122025_10_01_35_9815.jpg', '/home/pi/Desktop/images/15122025/10/01/image_15122025_10_01_45_9573.jpg', '/home/pi/Desktop/images/15122025/10/01/image_15122025_10_01_55_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/00/image_15122025_10_01_05_9783.jpg
/home/pi/Desktop/images/15122025/10/01/image_15122025_10_01_15_9707.jpg
/home/pi/Desktop/images/15122025/10/01/image_15122025_10_01_25_10693.jpg
/home/pi/Desktop/images/15122025/10/01/image_15122025_10_01_35_9815.jpg
/home/pi/Desktop/images/15122025/10/01/image_15122025_10_01_45_9573.jpg
/home/pi/Desktop/images/15122025/10/01/image_15122025_10_01_55_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.5427072048187256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 10:20:12.129774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 10:20:22.138392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/00/image_15122025_10_01_05_9783.jpg', '/home/pi/Desktop/images/15122025/10/01/image_15122025_10_01_15_9707.jpg', '/home/pi/Desktop/images/15122025/10/01/image_15122025_10_01_25_10693.jpg', '/home/pi/Desktop/images/15122025/10/01/image_15122025_10_01_35_9815.jpg', '/home/pi/Desktop/images/15122025/10/01/image_15122025_10_01_45_9573.jpg', '/home/pi/Desktop/images/15122025/10/01/image_15122025_10_01_55_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/00/image_15122025_10_01_05_9783.jpg
/home/pi/Desktop/images/15122025/10/01/image_15122025_10_01_15_9707.jpg
/home/pi/Desktop/images/15122025/10/01/image_15122025_10_01_25_10693.jpg
/home/pi/Desktop/images/15122025/10/01/image_15122025_10_01_35_9815.jpg
/home/pi/Desktop/images/15122025/10/01/image_15122025_10_01_45_9573.jpg
/home/pi/Desktop/images/15122025/10/01/image_15122025_10_01_55_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":["1399458544","1399458505","1399458684","1399458630","1399458464","1399458592"],"photo_ids_order":["1399458464","1399458505","1399458544","1399458592","1399458630","1399458684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/27d720512aee2f274f8598ff8a7b44ce.jpg","text":"TemporaryFile(/tmp/multipartBody284309767904858929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790482759,"filename":"image_15122025_10_01_25_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a2126810998c503998633f8e6bf16658.jpg","text":"TemporaryFile(/tmp/multipartBody5368663248917666650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790482759,"filename":"image_15122025_10_01_15_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c037782a224434e99f92faa2ad746382.jpg","text":"TemporaryFile(/tmp/multipartBody600214933029678274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790482759,"filename":"image_15122025_10_01_55_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3b8436c5681f43f142a4b8b666aa3407.jpg","text":"TemporaryFile(/tmp/multipartBody3807671989509495892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790482759,"filename":"image_15122025_10_01_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/15/3ab3d1eb4d3aa36dccf4342de5a977a6.jpg","text":"TemporaryFile(/tmp/multipartBody1927509327085717449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790482759,"filename":"image_15122025_10_01_05_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ddadfc89ded0c223a109807ec35eb287.jpg","text":"TemporaryFile(/tmp/multipartBody6877060299223015029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790482759,"filename":"image_15122025_10_01_35_9815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399458544","file1":"1399458505","file0":"1399458464","file4":"1399458630","file5":"1399458684","file3":"1399458592"},"map_files_photo_id_array":[{"photo_id":"1399458684","filename":"file5"},{"photo_id":"1399458544","filename":"file2"},{"photo_id":"1399458630","filename":"file4"},{"photo_id":"1399458505","filename":"file1"},{"photo_id":"1399458464","filename":"file0"},{"photo_id":"1399458592","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399458544":["hashtag1","hashtag2"]},{"1399458505":["hashtag1","hashtag2"]},{"1399458684":["hashtag1","hashtag2"]},{"1399458630":["hashtag1","hashtag2"]},{"1399458464":["hashtag1","hashtag2"]},{"1399458592":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399458544, 1399458505, 1399458684, 1399458630, 1399458464, 1399458592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01577115058899 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 10:21:03.114279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/01/image_15122025_10_02_05_10696.jpg', '/home/pi/Desktop/images/15122025/10/02/image_15122025_10_02_15_9670.jpg', '/home/pi/Desktop/images/15122025/10/02/image_15122025_10_02_25_9611.jpg', '/home/pi/Desktop/images/15122025/10/02/image_15122025_10_02_35_10698.jpg', '/home/pi/Desktop/images/15122025/10/02/image_15122025_10_02_45_9584.jpg', '/home/pi/Desktop/images/15122025/10/02/image_15122025_10_02_54_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/01/image_15122025_10_02_05_10696.jpg
/home/pi/Desktop/images/15122025/10/02/image_15122025_10_02_15_9670.jpg
/home/pi/Desktop/images/15122025/10/02/image_15122025_10_02_25_9611.jpg
/home/pi/Desktop/images/15122025/10/02/image_15122025_10_02_35_10698.jpg
/home/pi/Desktop/images/15122025/10/02/image_15122025_10_02_45_9584.jpg
/home/pi/Desktop/images/15122025/10/02/image_15122025_10_02_54_9655.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.573756217956543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 10:21:12.290550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 10:21:22.316218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/01/image_15122025_10_02_05_10696.jpg', '/home/pi/Desktop/images/15122025/10/02/image_15122025_10_02_15_9670.jpg', '/home/pi/Desktop/images/15122025/10/02/image_15122025_10_02_25_9611.jpg', '/home/pi/Desktop/images/15122025/10/02/image_15122025_10_02_35_10698.jpg', '/home/pi/Desktop/images/15122025/10/02/image_15122025_10_02_45_9584.jpg', '/home/pi/Desktop/images/15122025/10/02/image_15122025_10_02_54_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/01/image_15122025_10_02_05_10696.jpg
/home/pi/Desktop/images/15122025/10/02/image_15122025_10_02_15_9670.jpg
/home/pi/Desktop/images/15122025/10/02/image_15122025_10_02_25_9611.jpg
/home/pi/Desktop/images/15122025/10/02/image_15122025_10_02_35_10698.jpg
/home/pi/Desktop/images/15122025/10/02/image_15122025_10_02_45_9584.jpg
/home/pi/Desktop/images/15122025/10/02/image_15122025_10_02_54_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399458985","1399459041","1399458885","1399459019","1399459007","1399458827"],"photo_ids_order":["1399458827","1399458885","1399458985","1399459007","1399459019","1399459041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0a9a4408c377437940de1b57b30d6357.jpg","text":"TemporaryFile(/tmp/multipartBody21771039797757737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790542943,"filename":"image_15122025_10_02_25_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c11420bd8c050ba8a0c6bf5bded600ba.jpg","text":"TemporaryFile(/tmp/multipartBody1980060900254523554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790542943,"filename":"image_15122025_10_02_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/15/58da9c0ba61c17391529175a77c2e76a.jpg","text":"TemporaryFile(/tmp/multipartBody6760053405958039241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790542943,"filename":"image_15122025_10_02_15_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f9699c88562bd0f86df9ebc4aff2be0e.jpg","text":"TemporaryFile(/tmp/multipartBody2143001678922949983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790542943,"filename":"image_15122025_10_02_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/15/42cedb0d32e412e88659d583724227f7.jpg","text":"TemporaryFile(/tmp/multipartBody1153237948248547702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790542943,"filename":"image_15122025_10_02_35_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/15/47ed3f6c71870d3a77cad82377f1b6e9.jpg","text":"TemporaryFile(/tmp/multipartBody1721444890840176678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790542943,"filename":"image_15122025_10_02_05_10696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399458985","file1":"1399458885","file0":"1399458827","file4":"1399459019","file5":"1399459041","file3":"1399459007"},"map_files_photo_id_array":[{"photo_id":"1399459041","filename":"file5"},{"photo_id":"1399458985","filename":"file2"},{"photo_id":"1399459019","filename":"file4"},{"photo_id":"1399458885","filename":"file1"},{"photo_id":"1399458827","filename":"file0"},{"photo_id":"1399459007","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399458985":["hashtag1","hashtag2"]},{"1399459041":["hashtag1","hashtag2"]},{"1399458885":["hashtag1","hashtag2"]},{"1399459019":["hashtag1","hashtag2"]},{"1399459007":["hashtag1","hashtag2"]},{"1399458827":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399458985, 1399459041, 1399458885, 1399459019, 1399459007, 1399458827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.012393951416016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 10:22:12.534560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 10:22:22.604470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/02/image_15122025_10_03_05_10666.jpg', '/home/pi/Desktop/images/15122025/10/03/image_15122025_10_03_15_9803.jpg', '/home/pi/Desktop/images/15122025/10/03/image_15122025_10_03_25_9614.jpg', '/home/pi/Desktop/images/15122025/10/03/image_15122025_10_03_35_10569.jpg', '/home/pi/Desktop/images/15122025/10/03/image_15122025_10_03_45_9536.jpg', '/home/pi/Desktop/images/15122025/10/03/image_15122025_10_03_55_10702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/02/image_15122025_10_03_05_10666.jpg
/home/pi/Desktop/images/15122025/10/03/image_15122025_10_03_15_9803.jpg
/home/pi/Desktop/images/15122025/10/03/image_15122025_10_03_25_9614.jpg
/home/pi/Desktop/images/15122025/10/03/image_15122025_10_03_35_10569.jpg
/home/pi/Desktop/images/15122025/10/03/image_15122025_10_03_45_9536.jpg
/home/pi/Desktop/images/15122025/10/03/image_15122025_10_03_55_10702.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.527238130569458 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 10:22:32.554152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 10:22:42.499913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_02_3659.jpg', '/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_05_2638.jpg', '/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_08_2786.jpg', '/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_11_3601.jpg', '/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_14_2588.jpg', '/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_17_2714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_02_3659.jpg
/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_05_2638.jpg
/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_08_2786.jpg
/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_11_3601.jpg
/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_14_2588.jpg
/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_17_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":["1399459108","1399459102","1399459107","1399459097","1399459101","1399459100"],"photo_ids_order":["1399459097","1399459100","1399459101","1399459102","1399459107","1399459108"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/716efafce9fb92932a21d6342219e644.jpg","text":"TemporaryFile(/tmp/multipartBody4447516360390827412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790623450,"filename":"image_05112025_14_32_17_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a1a0d27c30a4f319ec7dbc8b00e791f1.jpg","text":"TemporaryFile(/tmp/multipartBody8898969346426651548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790623450,"filename":"image_05112025_14_32_11_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/15/e201f1331f14bcd8bf3683f1166e8bcf.jpg","text":"TemporaryFile(/tmp/multipartBody4494301320892447874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790623450,"filename":"image_05112025_14_32_14_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/15/7ff601d239af25d7a83ed50537b1f1e1.jpg","text":"TemporaryFile(/tmp/multipartBody3015205577465357878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790623450,"filename":"image_05112025_14_32_02_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e7ba859909bc7fd323febd064f69c05f.jpg","text":"TemporaryFile(/tmp/multipartBody1861329604661769548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790623450,"filename":"image_05112025_14_32_08_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/65a095ba812d6eb78861230266adb517.jpg","text":"TemporaryFile(/tmp/multipartBody942592956902386755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790623450,"filename":"image_05112025_14_32_05_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399459101","file1":"1399459100","file0":"1399459097","file4":"1399459107","file5":"1399459108","file3":"1399459102"},"map_files_photo_id_array":[{"photo_id":"1399459108","filename":"file5"},{"photo_id":"1399459101","filename":"file2"},{"photo_id":"1399459107","filename":"file4"},{"photo_id":"1399459100","filename":"file1"},{"photo_id":"1399459097","filename":"file0"},{"photo_id":"1399459102","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399459108":["hashtag1","hashtag2"]},{"1399459102":["hashtag1","hashtag2"]},{"1399459107":["hashtag1","hashtag2"]},{"1399459097":["hashtag1","hashtag2"]},{"1399459101":["hashtag1","hashtag2"]},{"1399459100":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399459108, 1399459102, 1399459107, 1399459097, 1399459101, 1399459100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.811718463897705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 10:23:22.790954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/02/image_15122025_10_03_05_10666.jpg', '/home/pi/Desktop/images/15122025/10/03/image_15122025_10_03_15_9803.jpg', '/home/pi/Desktop/images/15122025/10/03/image_15122025_10_03_25_9614.jpg', '/home/pi/Desktop/images/15122025/10/03/image_15122025_10_03_35_10569.jpg', '/home/pi/Desktop/images/15122025/10/03/image_15122025_10_03_45_9536.jpg', '/home/pi/Desktop/images/15122025/10/03/image_15122025_10_03_55_10702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/02/image_15122025_10_03_05_10666.jpg
/home/pi/Desktop/images/15122025/10/03/image_15122025_10_03_15_9803.jpg
/home/pi/Desktop/images/15122025/10/03/image_15122025_10_03_25_9614.jpg
/home/pi/Desktop/images/15122025/10/03/image_15122025_10_03_35_10569.jpg
/home/pi/Desktop/images/15122025/10/03/image_15122025_10_03_45_9536.jpg
/home/pi/Desktop/images/15122025/10/03/image_15122025_10_03_55_10702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399459120","1399459114","1399459116","1399459121","1399459118","1399459123"],"photo_ids_order":["1399459114","1399459116","1399459118","1399459120","1399459121","1399459123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3ef69f8b39715047ddb228c204ed88d8.jpg","text":"TemporaryFile(/tmp/multipartBody3607674095826856559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790663439,"filename":"image_15122025_10_03_35_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f7b3e67d947645f42c88fa1a2030f872.jpg","text":"TemporaryFile(/tmp/multipartBody6804177559391797532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790663439,"filename":"image_15122025_10_03_05_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a71f72c4b2f04e3daac682c908d2b208.jpg","text":"TemporaryFile(/tmp/multipartBody1104795421877670832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790663439,"filename":"image_15122025_10_03_15_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/15/d772cfd1a5ebe31d8476d66a36e51f80.jpg","text":"TemporaryFile(/tmp/multipartBody3077618268755533123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790663439,"filename":"image_15122025_10_03_45_9536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/62df8f07dee68ef334528c4f8c829af1.jpg","text":"TemporaryFile(/tmp/multipartBody418351391522428888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790663439,"filename":"image_15122025_10_03_25_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/15/e0aa242304ad4b580bd2719a398f9679.jpg","text":"TemporaryFile(/tmp/multipartBody6840398686539676564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790663439,"filename":"image_15122025_10_03_55_10702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399459118","file1":"1399459116","file0":"1399459114","file4":"1399459121","file5":"1399459123","file3":"1399459120"},"map_files_photo_id_array":[{"photo_id":"1399459123","filename":"file5"},{"photo_id":"1399459118","filename":"file2"},{"photo_id":"1399459121","filename":"file4"},{"photo_id":"1399459116","filename":"file1"},{"photo_id":"1399459114","filename":"file0"},{"photo_id":"1399459120","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399459120":["hashtag1","hashtag2"]},{"1399459114":["hashtag1","hashtag2"]},{"1399459116":["hashtag1","hashtag2"]},{"1399459121":["hashtag1","hashtag2"]},{"1399459118":["hashtag1","hashtag2"]},{"1399459123":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399459120, 1399459114, 1399459116, 1399459121, 1399459118, 1399459123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05003237724304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 10:24:02.745263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/03/image_15122025_10_04_05_9719.jpg', '/home/pi/Desktop/images/15122025/10/04/image_15122025_10_04_15_9782.jpg', '/home/pi/Desktop/images/15122025/10/04/image_15122025_10_04_24_9628.jpg', '/home/pi/Desktop/images/15122025/10/04/image_15122025_10_04_35_10717.jpg', '/home/pi/Desktop/images/15122025/10/04/image_15122025_10_04_45_9755.jpg', '/home/pi/Desktop/images/15122025/10/04/image_15122025_10_04_55_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/03/image_15122025_10_04_05_9719.jpg
/home/pi/Desktop/images/15122025/10/04/image_15122025_10_04_15_9782.jpg
/home/pi/Desktop/images/15122025/10/04/image_15122025_10_04_24_9628.jpg
/home/pi/Desktop/images/15122025/10/04/image_15122025_10_04_35_10717.jpg
/home/pi/Desktop/images/15122025/10/04/image_15122025_10_04_45_9755.jpg
/home/pi/Desktop/images/15122025/10/04/image_15122025_10_04_55_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399459161","1399459155","1399459158","1399459163","1399459160","1399459154"],"photo_ids_order":["1399459154","1399459155","1399459158","1399459160","1399459161","1399459163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9e12d5adfa7e2ee365e4b819409e4311.jpg","text":"TemporaryFile(/tmp/multipartBody8608565365775382491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790703481,"filename":"image_15122025_10_04_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/15/f6a623bfc7cec8b8a4b4b21593132979.jpg","text":"TemporaryFile(/tmp/multipartBody8278537375504049833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790703481,"filename":"image_15122025_10_04_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/15/9523c7a969eaff9c2cf5ac353dc5a16f.jpg","text":"TemporaryFile(/tmp/multipartBody7805962406869364003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790703481,"filename":"image_15122025_10_04_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/15/c35c1cfe636bf0b74c536c898a89caba.jpg","text":"TemporaryFile(/tmp/multipartBody6518541699515627801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790703481,"filename":"image_15122025_10_04_55_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/690ba7c3a0ee5951ad16dfb9081dd505.jpg","text":"TemporaryFile(/tmp/multipartBody3502889321290539010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790703481,"filename":"image_15122025_10_04_35_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2f4586d40a1eadd2cd1a7105da9556f9.jpg","text":"TemporaryFile(/tmp/multipartBody5539489900417465530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790703481,"filename":"image_15122025_10_04_05_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399459158","file1":"1399459155","file0":"1399459154","file4":"1399459161","file5":"1399459163","file3":"1399459160"},"map_files_photo_id_array":[{"photo_id":"1399459163","filename":"file5"},{"photo_id":"1399459158","filename":"file2"},{"photo_id":"1399459161","filename":"file4"},{"photo_id":"1399459155","filename":"file1"},{"photo_id":"1399459154","filename":"file0"},{"photo_id":"1399459160","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399459161":["hashtag1","hashtag2"]},{"1399459155":["hashtag1","hashtag2"]},{"1399459158":["hashtag1","hashtag2"]},{"1399459163":["hashtag1","hashtag2"]},{"1399459160":["hashtag1","hashtag2"]},{"1399459154":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399459161, 1399459155, 1399459158, 1399459163, 1399459160, 1399459154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77609395980835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 10:24:42.191701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_20_3540.jpg', '/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_23_2587.jpg', '/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_26_2769.jpg', '/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_29_3668.jpg', '/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_32_2572.jpg', '/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_35_3600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_20_3540.jpg
/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_23_2587.jpg
/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_26_2769.jpg
/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_29_3668.jpg
/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_32_2572.jpg
/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_35_3600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399459191","1399459185","1399459179","1399459170","1399459187","1399459189"],"photo_ids_order":["1399459170","1399459179","1399459185","1399459187","1399459189","1399459191"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/85626d81f6b2c25b30bfe3201560af7f.jpg","text":"TemporaryFile(/tmp/multipartBody4265896706743031110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790742903,"filename":"image_05112025_14_32_35_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/15/16966d6d890271d7a8ef8250f5b465f1.jpg","text":"TemporaryFile(/tmp/multipartBody682359094697127371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790742903,"filename":"image_05112025_14_32_26_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/15/19318c0ea8dacb72f38649cdac718d49.jpg","text":"TemporaryFile(/tmp/multipartBody2542655321220357076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790742903,"filename":"image_05112025_14_32_23_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/15/64980e3cc11611a7824c7b80afaf232f.jpg","text":"TemporaryFile(/tmp/multipartBody3084683403629269385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790742903,"filename":"image_05112025_14_32_20_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f6bfe0c5ba20666ac573404a87c6765b.jpg","text":"TemporaryFile(/tmp/multipartBody2325751288062577623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790742903,"filename":"image_05112025_14_32_29_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d12bb756bdaf178045ba5bd92f4064cd.jpg","text":"TemporaryFile(/tmp/multipartBody2131343294626411632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790742903,"filename":"image_05112025_14_32_32_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399459185","file1":"1399459179","file0":"1399459170","file4":"1399459189","file5":"1399459191","file3":"1399459187"},"map_files_photo_id_array":[{"photo_id":"1399459191","filename":"file5"},{"photo_id":"1399459185","filename":"file2"},{"photo_id":"1399459189","filename":"file4"},{"photo_id":"1399459179","filename":"file1"},{"photo_id":"1399459170","filename":"file0"},{"photo_id":"1399459187","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399459191":["hashtag1","hashtag2"]},{"1399459185":["hashtag1","hashtag2"]},{"1399459179":["hashtag1","hashtag2"]},{"1399459170":["hashtag1","hashtag2"]},{"1399459187":["hashtag1","hashtag2"]},{"1399459189":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399459191, 1399459185, 1399459179, 1399459170, 1399459187, 1399459189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08556318283081 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 10:25:22.424135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/05/image_15122025_10_05_14_10060.jpg', '/home/pi/Desktop/images/15122025/10/05/image_15122025_10_05_25_10607.jpg', '/home/pi/Desktop/images/15122025/10/05/image_15122025_10_05_35_9685.jpg', '/home/pi/Desktop/images/15122025/10/05/image_15122025_10_05_45_10643.jpg', '/home/pi/Desktop/images/15122025/10/05/image_15122025_10_05_55_9753.jpg', '/home/pi/Desktop/images/15122025/10/05/image_15122025_10_06_05_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/05/image_15122025_10_05_14_10060.jpg
/home/pi/Desktop/images/15122025/10/05/image_15122025_10_05_25_10607.jpg
/home/pi/Desktop/images/15122025/10/05/image_15122025_10_05_35_9685.jpg
/home/pi/Desktop/images/15122025/10/05/image_15122025_10_05_45_10643.jpg
/home/pi/Desktop/images/15122025/10/05/image_15122025_10_05_55_9753.jpg
/home/pi/Desktop/images/15122025/10/05/image_15122025_10_06_05_9742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399459197","1399459201","1399459199","1399459208","1399459202","1399459205"],"photo_ids_order":["1399459197","1399459199","1399459201","1399459202","1399459205","1399459208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0f29c6fe74c7b38c9b4a743a4ece7a83.jpg","text":"TemporaryFile(/tmp/multipartBody7595370119431854219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790783086,"filename":"image_15122025_10_05_14_10060.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c7c5a4d75c4ebfbc28175b4f0dafc2dd.jpg","text":"TemporaryFile(/tmp/multipartBody453759213466321531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790783086,"filename":"image_15122025_10_05_35_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e814e60b3ffc657aba5c8c7aab1cbd4a.jpg","text":"TemporaryFile(/tmp/multipartBody712218706225120279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790783086,"filename":"image_15122025_10_05_25_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/29e60cee48abc65bbc60204a9c4e7576.jpg","text":"TemporaryFile(/tmp/multipartBody5105297125533527872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790783086,"filename":"image_15122025_10_06_05_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3dc94700e2925f05cdbfdb94cfce17a4.jpg","text":"TemporaryFile(/tmp/multipartBody6803130968274519914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790783086,"filename":"image_15122025_10_05_45_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3b2d3ec1d781f44a7ad9c285c8c5d76e.jpg","text":"TemporaryFile(/tmp/multipartBody8466077451026976203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790783086,"filename":"image_15122025_10_05_55_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399459201","file1":"1399459199","file0":"1399459197","file4":"1399459205","file5":"1399459208","file3":"1399459202"},"map_files_photo_id_array":[{"photo_id":"1399459208","filename":"file5"},{"photo_id":"1399459201","filename":"file2"},{"photo_id":"1399459205","filename":"file4"},{"photo_id":"1399459199","filename":"file1"},{"photo_id":"1399459197","filename":"file0"},{"photo_id":"1399459202","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399459197":["hashtag1","hashtag2"]},{"1399459201":["hashtag1","hashtag2"]},{"1399459199":["hashtag1","hashtag2"]},{"1399459208":["hashtag1","hashtag2"]},{"1399459202":["hashtag1","hashtag2"]},{"1399459205":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399459197, 1399459201, 1399459199, 1399459208, 1399459202, 1399459205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91610789299011 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 10:26:03.100585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/06/image_15122025_10_06_15_9729.jpg', '/home/pi/Desktop/images/15122025/10/06/image_15122025_10_06_25_10656.jpg', '/home/pi/Desktop/images/15122025/10/06/image_15122025_10_06_35_9769.jpg', '/home/pi/Desktop/images/15122025/10/06/image_15122025_10_06_45_9785.jpg', '/home/pi/Desktop/images/15122025/10/06/image_15122025_10_06_54_9771.jpg', '/home/pi/Desktop/images/15122025/10/06/image_15122025_10_07_05_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/06/image_15122025_10_06_15_9729.jpg
/home/pi/Desktop/images/15122025/10/06/image_15122025_10_06_25_10656.jpg
/home/pi/Desktop/images/15122025/10/06/image_15122025_10_06_35_9769.jpg
/home/pi/Desktop/images/15122025/10/06/image_15122025_10_06_45_9785.jpg
/home/pi/Desktop/images/15122025/10/06/image_15122025_10_06_54_9771.jpg
/home/pi/Desktop/images/15122025/10/06/image_15122025_10_07_05_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":["1399459225","1399459216","1399459218","1399459220","1399459214","1399459222"],"photo_ids_order":["1399459214","1399459216","1399459218","1399459220","1399459222","1399459225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/84853f048171f5fc729b8ba9f9d867aa.jpg","text":"TemporaryFile(/tmp/multipartBody1217649502705602714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790823736,"filename":"image_15122025_10_07_05_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f349e87d3f5fbd9d25dc2bf717f2e9bc.jpg","text":"TemporaryFile(/tmp/multipartBody7644327605943485961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790823736,"filename":"image_15122025_10_06_25_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d0d6ad36e0ae0f9ec8e4860dab842489.jpg","text":"TemporaryFile(/tmp/multipartBody2531298444891458981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790823736,"filename":"image_15122025_10_06_35_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/56a9c7b6769fe07dd8cda978538f88e9.jpg","text":"TemporaryFile(/tmp/multipartBody394913464026800964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790823736,"filename":"image_15122025_10_06_45_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/15/77b46cd4c27db98600cab73dc886f4a4.jpg","text":"TemporaryFile(/tmp/multipartBody1014662239100640364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790823736,"filename":"image_15122025_10_06_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/15/956ca07d4a94db79c5c51782ebad54bd.jpg","text":"TemporaryFile(/tmp/multipartBody52746762925180885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790823736,"filename":"image_15122025_10_06_54_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399459218","file1":"1399459216","file0":"1399459214","file4":"1399459222","file5":"1399459225","file3":"1399459220"},"map_files_photo_id_array":[{"photo_id":"1399459225","filename":"file5"},{"photo_id":"1399459218","filename":"file2"},{"photo_id":"1399459222","filename":"file4"},{"photo_id":"1399459216","filename":"file1"},{"photo_id":"1399459214","filename":"file0"},{"photo_id":"1399459220","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399459225":["hashtag1","hashtag2"]},{"1399459216":["hashtag1","hashtag2"]},{"1399459218":["hashtag1","hashtag2"]},{"1399459220":["hashtag1","hashtag2"]},{"1399459214":["hashtag1","hashtag2"]},{"1399459222":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399459225, 1399459216, 1399459218, 1399459220, 1399459214, 1399459222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.973408699035645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 10:26:42.623808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_40_4737.jpg', '/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_42_1760.jpg', '/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_44_2491.jpg', '/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_47_2651.jpg', '/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_50_2711.jpg', '/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_53_2977.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_40_4737.jpg
/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_42_1760.jpg
/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_44_2491.jpg
/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_47_2651.jpg
/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_50_2711.jpg
/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_53_2977.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399459231","1399459260","1399459256","1399459265","1399459250","1399459264"],"photo_ids_order":["1399459231","1399459250","1399459256","1399459260","1399459264","1399459265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/38c1692905a699958060bb592ce0583e.jpg","text":"TemporaryFile(/tmp/multipartBody4263478025105237604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790863344,"filename":"image_05112025_14_32_40_4737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/69384bf183641a5a74fed337ae11d081.jpg","text":"TemporaryFile(/tmp/multipartBody2639251502380228661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790863344,"filename":"image_05112025_14_32_47_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4e8667c8737568aeacece783b7983ad5.jpg","text":"TemporaryFile(/tmp/multipartBody7245150735863647380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790863344,"filename":"image_05112025_14_32_44_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/15/c89db003e6977134027708939b46912f.jpg","text":"TemporaryFile(/tmp/multipartBody9059738390543196116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790863344,"filename":"image_05112025_14_32_53_2977.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1f548d1f6d2c03ae2d043bb276e0127a.jpg","text":"TemporaryFile(/tmp/multipartBody6182175762794755033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790863344,"filename":"image_05112025_14_32_42_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/15/5a486538efb4f8eceb68c4220fc934ca.jpg","text":"TemporaryFile(/tmp/multipartBody5445852138415217012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790863344,"filename":"image_05112025_14_32_50_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399459256","file1":"1399459250","file0":"1399459231","file4":"1399459264","file5":"1399459265","file3":"1399459260"},"map_files_photo_id_array":[{"photo_id":"1399459265","filename":"file5"},{"photo_id":"1399459256","filename":"file2"},{"photo_id":"1399459264","filename":"file4"},{"photo_id":"1399459250","filename":"file1"},{"photo_id":"1399459231","filename":"file0"},{"photo_id":"1399459260","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399459231":["hashtag1","hashtag2"]},{"1399459260":["hashtag1","hashtag2"]},{"1399459256":["hashtag1","hashtag2"]},{"1399459265":["hashtag1","hashtag2"]},{"1399459250":["hashtag1","hashtag2"]},{"1399459264":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399459231, 1399459260, 1399459256, 1399459265, 1399459250, 1399459264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.074034690856934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 10:27:21.841057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/07/image_15122025_10_07_15_9943.jpg', '/home/pi/Desktop/images/15122025/10/07/image_15122025_10_07_25_9729.jpg', '/home/pi/Desktop/images/15122025/10/07/image_15122025_10_07_35_9815.jpg', '/home/pi/Desktop/images/15122025/10/07/image_15122025_10_07_44_9793.jpg', '/home/pi/Desktop/images/15122025/10/07/image_15122025_10_07_55_10679.jpg', '/home/pi/Desktop/images/15122025/10/07/image_15122025_10_08_05_9804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/07/image_15122025_10_07_15_9943.jpg
/home/pi/Desktop/images/15122025/10/07/image_15122025_10_07_25_9729.jpg
/home/pi/Desktop/images/15122025/10/07/image_15122025_10_07_35_9815.jpg
/home/pi/Desktop/images/15122025/10/07/image_15122025_10_07_44_9793.jpg
/home/pi/Desktop/images/15122025/10/07/image_15122025_10_07_55_10679.jpg
/home/pi/Desktop/images/15122025/10/07/image_15122025_10_08_05_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":["1399459275","1399459280","1399459271","1399459268","1399459273","1399459276"],"photo_ids_order":["1399459268","1399459271","1399459273","1399459275","1399459276","1399459280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a1139847b4c515744bb5748c67c84182.jpg","text":"TemporaryFile(/tmp/multipartBody7830914386175689940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790902460,"filename":"image_15122025_10_07_44_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6129fcf6d5c0a2199c2fb3882a79a5c3.jpg","text":"TemporaryFile(/tmp/multipartBody4736179742464003614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790902460,"filename":"image_15122025_10_08_05_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/494f3b001db6e5393bccc95fe084d4e5.jpg","text":"TemporaryFile(/tmp/multipartBody4882840468497207630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790902460,"filename":"image_15122025_10_07_25_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/18c4fce9031d10668b6f38b6dce0510b.jpg","text":"TemporaryFile(/tmp/multipartBody4155949707956770027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790902460,"filename":"image_15122025_10_07_15_9943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2e31e5a50824d6a838da261ae62e3404.jpg","text":"TemporaryFile(/tmp/multipartBody6494116734798528179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790902460,"filename":"image_15122025_10_07_35_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2d12dd78422959647b190a43a911334b.jpg","text":"TemporaryFile(/tmp/multipartBody1436377157715995575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790902460,"filename":"image_15122025_10_07_55_10679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399459273","file1":"1399459271","file0":"1399459268","file4":"1399459276","file5":"1399459280","file3":"1399459275"},"map_files_photo_id_array":[{"photo_id":"1399459280","filename":"file5"},{"photo_id":"1399459273","filename":"file2"},{"photo_id":"1399459276","filename":"file4"},{"photo_id":"1399459271","filename":"file1"},{"photo_id":"1399459268","filename":"file0"},{"photo_id":"1399459275","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399459275":["hashtag1","hashtag2"]},{"1399459280":["hashtag1","hashtag2"]},{"1399459271":["hashtag1","hashtag2"]},{"1399459268":["hashtag1","hashtag2"]},{"1399459273":["hashtag1","hashtag2"]},{"1399459276":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399459275, 1399459280, 1399459271, 1399459268, 1399459273, 1399459276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37627029418945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 10:28:02.628071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/08/image_15122025_10_08_25_10697.jpg', '/home/pi/Desktop/images/15122025/10/08/image_15122025_10_08_35_9873.jpg', '/home/pi/Desktop/images/15122025/10/08/image_15122025_10_08_45_9615.jpg', '/home/pi/Desktop/images/15122025/10/08/image_15122025_10_08_55_9851.jpg', '/home/pi/Desktop/images/15122025/10/08/image_15122025_10_09_05_10658.jpg', '/home/pi/Desktop/images/15122025/10/09/image_15122025_10_09_15_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/08/image_15122025_10_08_25_10697.jpg
/home/pi/Desktop/images/15122025/10/08/image_15122025_10_08_35_9873.jpg
/home/pi/Desktop/images/15122025/10/08/image_15122025_10_08_45_9615.jpg
/home/pi/Desktop/images/15122025/10/08/image_15122025_10_08_55_9851.jpg
/home/pi/Desktop/images/15122025/10/08/image_15122025_10_09_05_10658.jpg
/home/pi/Desktop/images/15122025/10/09/image_15122025_10_09_15_9651.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5356717109680176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 10:28:12.122642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 10:28:22.189738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/08/image_15122025_10_08_25_10697.jpg', '/home/pi/Desktop/images/15122025/10/08/image_15122025_10_08_35_9873.jpg', '/home/pi/Desktop/images/15122025/10/08/image_15122025_10_08_45_9615.jpg', '/home/pi/Desktop/images/15122025/10/08/image_15122025_10_08_55_9851.jpg', '/home/pi/Desktop/images/15122025/10/08/image_15122025_10_09_05_10658.jpg', '/home/pi/Desktop/images/15122025/10/09/image_15122025_10_09_15_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/08/image_15122025_10_08_25_10697.jpg
/home/pi/Desktop/images/15122025/10/08/image_15122025_10_08_35_9873.jpg
/home/pi/Desktop/images/15122025/10/08/image_15122025_10_08_45_9615.jpg
/home/pi/Desktop/images/15122025/10/08/image_15122025_10_08_55_9851.jpg
/home/pi/Desktop/images/15122025/10/08/image_15122025_10_09_05_10658.jpg
/home/pi/Desktop/images/15122025/10/09/image_15122025_10_09_15_9651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399459309","1399459290","1399459314","1399459302","1399459292","1399459305"],"photo_ids_order":["1399459290","1399459292","1399459302","1399459305","1399459309","1399459314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9314615e008c311915b774f30cc2615d.jpg","text":"TemporaryFile(/tmp/multipartBody5083647381525737274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790962813,"filename":"image_15122025_10_09_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/15/629c67e2d85ddf4ea4b1bb9049106d30.jpg","text":"TemporaryFile(/tmp/multipartBody154963275170439913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790962813,"filename":"image_15122025_10_08_25_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d7c97644a3c50e9c293149584fe93ad7.jpg","text":"TemporaryFile(/tmp/multipartBody6971883121176216843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790962813,"filename":"image_15122025_10_09_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/15/c1f4755038fef14f634180fb8d8bbf3b.jpg","text":"TemporaryFile(/tmp/multipartBody1010768815841337691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790962813,"filename":"image_15122025_10_08_45_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a0b4244bddfd01f15684ee0d155c808f.jpg","text":"TemporaryFile(/tmp/multipartBody1906939872639461643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790962813,"filename":"image_15122025_10_08_35_9873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6dc1f9dc3ef915897fed2638d3895768.jpg","text":"TemporaryFile(/tmp/multipartBody9082222494231241802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765790962813,"filename":"image_15122025_10_08_55_9851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399459302","file1":"1399459292","file0":"1399459290","file4":"1399459309","file5":"1399459314","file3":"1399459305"},"map_files_photo_id_array":[{"photo_id":"1399459314","filename":"file5"},{"photo_id":"1399459302","filename":"file2"},{"photo_id":"1399459309","filename":"file4"},{"photo_id":"1399459292","filename":"file1"},{"photo_id":"1399459290","filename":"file0"},{"photo_id":"1399459305","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399459309":["hashtag1","hashtag2"]},{"1399459290":["hashtag1","hashtag2"]},{"1399459314":["hashtag1","hashtag2"]},{"1399459302":["hashtag1","hashtag2"]},{"1399459292":["hashtag1","hashtag2"]},{"1399459305":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399459309, 1399459290, 1399459314, 1399459302, 1399459292, 1399459305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22631597518921 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 10:29:03.234404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/09/image_15122025_10_09_24_9626.jpg', '/home/pi/Desktop/images/15122025/10/09/image_15122025_10_09_35_10686.jpg', '/home/pi/Desktop/images/15122025/10/09/image_15122025_10_09_45_9699.jpg', '/home/pi/Desktop/images/15122025/10/09/image_15122025_10_09_54_9610.jpg', '/home/pi/Desktop/images/15122025/10/10/image_15122025_10_10_14_10055.jpg', '/home/pi/Desktop/images/15122025/10/10/image_15122025_10_10_25_10711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/09/image_15122025_10_09_24_9626.jpg
/home/pi/Desktop/images/15122025/10/09/image_15122025_10_09_35_10686.jpg
/home/pi/Desktop/images/15122025/10/09/image_15122025_10_09_45_9699.jpg
/home/pi/Desktop/images/15122025/10/09/image_15122025_10_09_54_9610.jpg
/home/pi/Desktop/images/15122025/10/10/image_15122025_10_10_14_10055.jpg
/home/pi/Desktop/images/15122025/10/10/image_15122025_10_10_25_10711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399459361","1399459358","1399459366","1399459348","1399459363","1399459342"],"photo_ids_order":["1399459342","1399459348","1399459358","1399459361","1399459363","1399459366"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8e0140e39e96c809208466a084f03116.jpg","text":"TemporaryFile(/tmp/multipartBody5652222878868598754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791003990,"filename":"image_15122025_10_09_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/15/14e87dd925cfcd449a6a0820bdb12718.jpg","text":"TemporaryFile(/tmp/multipartBody5378620800700674083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791003990,"filename":"image_15122025_10_09_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/15/36f81fd3a22c9a7c10f20b32593f24b5.jpg","text":"TemporaryFile(/tmp/multipartBody9019385367123337097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791003990,"filename":"image_15122025_10_10_25_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bc1ac3f1c77900ef964864046a6703dc.jpg","text":"TemporaryFile(/tmp/multipartBody735002271283854676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791003990,"filename":"image_15122025_10_09_35_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/15/8bb6c9aaad5f9ff77211f4901b91c105.jpg","text":"TemporaryFile(/tmp/multipartBody7042915830849475203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791003990,"filename":"image_15122025_10_10_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/15/0abf309ee126edba581965485396de1c.jpg","text":"TemporaryFile(/tmp/multipartBody1725788605656338949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791003990,"filename":"image_15122025_10_09_24_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399459358","file1":"1399459348","file0":"1399459342","file4":"1399459363","file5":"1399459366","file3":"1399459361"},"map_files_photo_id_array":[{"photo_id":"1399459366","filename":"file5"},{"photo_id":"1399459358","filename":"file2"},{"photo_id":"1399459363","filename":"file4"},{"photo_id":"1399459348","filename":"file1"},{"photo_id":"1399459342","filename":"file0"},{"photo_id":"1399459361","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399459361":["hashtag1","hashtag2"]},{"1399459358":["hashtag1","hashtag2"]},{"1399459366":["hashtag1","hashtag2"]},{"1399459348":["hashtag1","hashtag2"]},{"1399459363":["hashtag1","hashtag2"]},{"1399459342":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399459361, 1399459358, 1399459366, 1399459348, 1399459363, 1399459342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83848428726196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 10:29:42.471149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_56_3630.jpg', '/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_59_2679.jpg', '/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_02_2857.jpg', '/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_05_2680.jpg', '/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_08_3582.jpg', '/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_11_2790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_56_3630.jpg
/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_59_2679.jpg
/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_02_2857.jpg
/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_05_2680.jpg
/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_08_3582.jpg
/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_11_2790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [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>8bm2aa448</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>8bm2aa448</strong>.
uploaded 0 photos
time to upload: 44.252933502197266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 10:30:32.742698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 10:30:42.715023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_56_3630.jpg', '/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_59_2679.jpg', '/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_02_2857.jpg', '/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_05_2680.jpg', '/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_08_3582.jpg', '/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_11_2790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_56_3630.jpg
/home/pi/Desktop/images/05112025/14/32/image_05112025_14_32_59_2679.jpg
/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_02_2857.jpg
/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_05_2680.jpg
/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_08_3582.jpg
/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_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":["1399459411","1399459408","1399459407","1399459404","1399459406","1399459409"],"photo_ids_order":["1399459404","1399459406","1399459407","1399459408","1399459409","1399459411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a6fccac0e1e6b1f5cdb929859ca7b862.jpg","text":"TemporaryFile(/tmp/multipartBody5689737725861287695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791103324,"filename":"image_05112025_14_33_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/15/694a69e4402817e4b677c8b00b11f6dd.jpg","text":"TemporaryFile(/tmp/multipartBody5411842306730953782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791103324,"filename":"image_05112025_14_33_05_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/14ce8ab76204acac4230ac4cc578b77d.jpg","text":"TemporaryFile(/tmp/multipartBody7654951520965380600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791103324,"filename":"image_05112025_14_33_02_2857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9d004e25f9b2a3397b14fc01e507e112.jpg","text":"TemporaryFile(/tmp/multipartBody5331286576344910949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791103324,"filename":"image_05112025_14_32_56_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/15/39fc396207efc495f18cdb790d25c77a.jpg","text":"TemporaryFile(/tmp/multipartBody2800121169249335429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791103324,"filename":"image_05112025_14_32_59_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/15/b450c7adb70558bfd145a13fe7b32673.jpg","text":"TemporaryFile(/tmp/multipartBody3377274258967914599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791103324,"filename":"image_05112025_14_33_08_3582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399459407","file1":"1399459406","file0":"1399459404","file4":"1399459409","file5":"1399459411","file3":"1399459408"},"map_files_photo_id_array":[{"photo_id":"1399459411","filename":"file5"},{"photo_id":"1399459407","filename":"file2"},{"photo_id":"1399459409","filename":"file4"},{"photo_id":"1399459406","filename":"file1"},{"photo_id":"1399459404","filename":"file0"},{"photo_id":"1399459408","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399459411":["hashtag1","hashtag2"]},{"1399459408":["hashtag1","hashtag2"]},{"1399459407":["hashtag1","hashtag2"]},{"1399459404":["hashtag1","hashtag2"]},{"1399459406":["hashtag1","hashtag2"]},{"1399459409":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399459411, 1399459408, 1399459407, 1399459404, 1399459406, 1399459409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.551454067230225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 10:31:22.003839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/10/image_15122025_10_10_35_9878.jpg', '/home/pi/Desktop/images/15122025/10/10/image_15122025_10_10_44_9727.jpg', '/home/pi/Desktop/images/15122025/10/10/image_15122025_10_10_54_9694.jpg', '/home/pi/Desktop/images/15122025/10/10/image_15122025_10_11_05_10744.jpg', '/home/pi/Desktop/images/15122025/10/11/image_15122025_10_11_14_9729.jpg', '/home/pi/Desktop/images/15122025/10/11/image_15122025_10_11_24_9552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/10/image_15122025_10_10_35_9878.jpg
/home/pi/Desktop/images/15122025/10/10/image_15122025_10_10_44_9727.jpg
/home/pi/Desktop/images/15122025/10/10/image_15122025_10_10_54_9694.jpg
/home/pi/Desktop/images/15122025/10/10/image_15122025_10_11_05_10744.jpg
/home/pi/Desktop/images/15122025/10/11/image_15122025_10_11_14_9729.jpg
/home/pi/Desktop/images/15122025/10/11/image_15122025_10_11_24_9552.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399459423","1399459428","1399459430","1399459424","1399459433","1399459420"],"photo_ids_order":["1399459420","1399459423","1399459424","1399459428","1399459430","1399459433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1553682533d57094d04d5fbbd4f3de87.jpg","text":"TemporaryFile(/tmp/multipartBody6280693082676279892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791142668,"filename":"image_15122025_10_10_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/15/4692fdb9b0430aac3368eaa407d853d8.jpg","text":"TemporaryFile(/tmp/multipartBody2367326597456189568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791142668,"filename":"image_15122025_10_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/15/2001bb41b7688b2c9bcf44a859634b4f.jpg","text":"TemporaryFile(/tmp/multipartBody3445053950756951185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791142668,"filename":"image_15122025_10_11_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/15/8c97ec2d21c2c7b3c2db96687ca6ce5e.jpg","text":"TemporaryFile(/tmp/multipartBody7798303586619588750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791142668,"filename":"image_15122025_10_10_54_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c0f78d9405b9fc4e7b525fe97d4fd44f.jpg","text":"TemporaryFile(/tmp/multipartBody1942577383824714380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791142668,"filename":"image_15122025_10_11_24_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/15/f538d867c6a20f9f6f54a45365340caf.jpg","text":"TemporaryFile(/tmp/multipartBody6503818260538520599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791142668,"filename":"image_15122025_10_10_35_9878.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399459424","file1":"1399459423","file0":"1399459420","file4":"1399459430","file5":"1399459433","file3":"1399459428"},"map_files_photo_id_array":[{"photo_id":"1399459433","filename":"file5"},{"photo_id":"1399459424","filename":"file2"},{"photo_id":"1399459430","filename":"file4"},{"photo_id":"1399459423","filename":"file1"},{"photo_id":"1399459420","filename":"file0"},{"photo_id":"1399459428","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399459423":["hashtag1","hashtag2"]},{"1399459428":["hashtag1","hashtag2"]},{"1399459430":["hashtag1","hashtag2"]},{"1399459424":["hashtag1","hashtag2"]},{"1399459433":["hashtag1","hashtag2"]},{"1399459420":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399459423, 1399459428, 1399459430, 1399459424, 1399459433, 1399459420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.346457719802856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 10:32:02.657186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/11/image_15122025_10_11_35_10660.jpg', '/home/pi/Desktop/images/15122025/10/11/image_15122025_10_11_44_9755.jpg', '/home/pi/Desktop/images/15122025/10/11/image_15122025_10_11_54_9565.jpg', '/home/pi/Desktop/images/15122025/10/11/image_15122025_10_12_05_10782.jpg', '/home/pi/Desktop/images/15122025/10/12/image_15122025_10_12_14_9570.jpg', '/home/pi/Desktop/images/15122025/10/12/image_15122025_10_12_24_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/11/image_15122025_10_11_35_10660.jpg
/home/pi/Desktop/images/15122025/10/11/image_15122025_10_11_44_9755.jpg
/home/pi/Desktop/images/15122025/10/11/image_15122025_10_11_54_9565.jpg
/home/pi/Desktop/images/15122025/10/11/image_15122025_10_12_05_10782.jpg
/home/pi/Desktop/images/15122025/10/12/image_15122025_10_12_14_9570.jpg
/home/pi/Desktop/images/15122025/10/12/image_15122025_10_12_24_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":["1399459438","1399459440","1399459434","1399459442","1399459436","1399459445"],"photo_ids_order":["1399459434","1399459436","1399459438","1399459440","1399459442","1399459445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/35f3e2b2bcd1b7a7ed79c42f71cd8d05.jpg","text":"TemporaryFile(/tmp/multipartBody8990902758758134449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791183306,"filename":"image_15122025_10_11_54_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/15/035b9396eaf1f00c73d964aa9fd34e4f.jpg","text":"TemporaryFile(/tmp/multipartBody2833956142618348132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791183306,"filename":"image_15122025_10_12_05_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/15/b2bed186bedcae9770bd9b4d58c5342c.jpg","text":"TemporaryFile(/tmp/multipartBody4604265320984904662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791183306,"filename":"image_15122025_10_11_35_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/52d0aa35f1a16f103ea48b4f6da1d0e0.jpg","text":"TemporaryFile(/tmp/multipartBody5604360817839501304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791183306,"filename":"image_15122025_10_12_14_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2c21b7b58063792022c712f0414a32ce.jpg","text":"TemporaryFile(/tmp/multipartBody3682379466703636130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791183306,"filename":"image_15122025_10_11_44_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dd0582973132ed8f9275e0bdbe739abc.jpg","text":"TemporaryFile(/tmp/multipartBody7357959800953061933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791183306,"filename":"image_15122025_10_12_24_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399459438","file1":"1399459436","file0":"1399459434","file4":"1399459442","file5":"1399459445","file3":"1399459440"},"map_files_photo_id_array":[{"photo_id":"1399459445","filename":"file5"},{"photo_id":"1399459438","filename":"file2"},{"photo_id":"1399459442","filename":"file4"},{"photo_id":"1399459436","filename":"file1"},{"photo_id":"1399459434","filename":"file0"},{"photo_id":"1399459440","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399459438":["hashtag1","hashtag2"]},{"1399459440":["hashtag1","hashtag2"]},{"1399459434":["hashtag1","hashtag2"]},{"1399459442":["hashtag1","hashtag2"]},{"1399459436":["hashtag1","hashtag2"]},{"1399459445":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399459438, 1399459440, 1399459434, 1399459442, 1399459436, 1399459445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.729143381118774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 10:32:42.263853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_14_2922.jpg', '/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_17_2558.jpg', '/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_20_3580.jpg', '/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_23_2723.jpg', '/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_26_3142.jpg', '/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_28_2521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_14_2922.jpg
/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_17_2558.jpg
/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_20_3580.jpg
/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_23_2723.jpg
/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_26_3142.jpg
/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_28_2521.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399459459","1399459464","1399459463","1399459466","1399459465","1399459462"],"photo_ids_order":["1399459459","1399459462","1399459463","1399459464","1399459465","1399459466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/afe4309b262e85c838bcb8e3fe0a1cb9.jpg","text":"TemporaryFile(/tmp/multipartBody6958428796432758603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791223014,"filename":"image_05112025_14_33_14_2922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/762df36ef3e9d422d1112fbb62216940.jpg","text":"TemporaryFile(/tmp/multipartBody2525874170013949215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791223014,"filename":"image_05112025_14_33_23_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/15/f8707a6a4b4331f9e24bbedadf886041.jpg","text":"TemporaryFile(/tmp/multipartBody459835083040718842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791223014,"filename":"image_05112025_14_33_20_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/15/cfd498812eab9577539b45577ee6931c.jpg","text":"TemporaryFile(/tmp/multipartBody7417398239376169738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791223014,"filename":"image_05112025_14_33_28_2521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7e76c867becf506a81baf029367cd9d1.jpg","text":"TemporaryFile(/tmp/multipartBody7712733565836860381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791223014,"filename":"image_05112025_14_33_26_3142.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c369de12405decfda0dd5422b1604bf2.jpg","text":"TemporaryFile(/tmp/multipartBody7049848555551810115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791223014,"filename":"image_05112025_14_33_17_2558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399459463","file1":"1399459462","file0":"1399459459","file4":"1399459465","file5":"1399459466","file3":"1399459464"},"map_files_photo_id_array":[{"photo_id":"1399459466","filename":"file5"},{"photo_id":"1399459463","filename":"file2"},{"photo_id":"1399459465","filename":"file4"},{"photo_id":"1399459462","filename":"file1"},{"photo_id":"1399459459","filename":"file0"},{"photo_id":"1399459464","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399459459":["hashtag1","hashtag2"]},{"1399459464":["hashtag1","hashtag2"]},{"1399459463":["hashtag1","hashtag2"]},{"1399459466":["hashtag1","hashtag2"]},{"1399459465":["hashtag1","hashtag2"]},{"1399459462":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399459459, 1399459464, 1399459463, 1399459466, 1399459465, 1399459462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45143222808838 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 10:33:22.548649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/12/image_15122025_10_12_35_10842.jpg', '/home/pi/Desktop/images/15122025/10/12/image_15122025_10_12_44_9599.jpg', '/home/pi/Desktop/images/15122025/10/12/image_15122025_10_12_54_9782.jpg', '/home/pi/Desktop/images/15122025/10/12/image_15122025_10_13_04_10025.jpg', '/home/pi/Desktop/images/15122025/10/13/image_15122025_10_13_14_9745.jpg', '/home/pi/Desktop/images/15122025/10/13/image_15122025_10_13_25_10709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/12/image_15122025_10_12_35_10842.jpg
/home/pi/Desktop/images/15122025/10/12/image_15122025_10_12_44_9599.jpg
/home/pi/Desktop/images/15122025/10/12/image_15122025_10_12_54_9782.jpg
/home/pi/Desktop/images/15122025/10/12/image_15122025_10_13_04_10025.jpg
/home/pi/Desktop/images/15122025/10/13/image_15122025_10_13_14_9745.jpg
/home/pi/Desktop/images/15122025/10/13/image_15122025_10_13_25_10709.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.513740062713623 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 10:33:32.434845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 10:33:42.418245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_32_3788.jpg', '/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_35_2625.jpg', '/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_38_2832.jpg', '/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_44_2705.jpg', '/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_50_2836.jpg', '/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_52_2822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_32_3788.jpg
/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_35_2625.jpg
/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_38_2832.jpg
/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_44_2705.jpg
/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_50_2836.jpg
/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_52_2822.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399459519","1399459524","1399459533","1399459526","1399459514","1399459534"],"photo_ids_order":["1399459514","1399459519","1399459524","1399459526","1399459533","1399459534"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/775ba66052717ea4eca3b918a1c54bf6.jpg","text":"TemporaryFile(/tmp/multipartBody5866277865817264484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791283129,"filename":"image_05112025_14_33_35_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/82ee14402a585821447d3a208b537130.jpg","text":"TemporaryFile(/tmp/multipartBody3590404224044517578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791283129,"filename":"image_05112025_14_33_38_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6aca32215711a7e20bd9f56b7e165ed0.jpg","text":"TemporaryFile(/tmp/multipartBody1403606676423361447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791283129,"filename":"image_05112025_14_33_50_2836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ab5296941257228fc915c21ef2eb0650.jpg","text":"TemporaryFile(/tmp/multipartBody7714667300878503117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791283129,"filename":"image_05112025_14_33_44_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/15/d016731cd145489c98df3056081b09ca.jpg","text":"TemporaryFile(/tmp/multipartBody7028879353303377405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791283129,"filename":"image_05112025_14_33_32_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/15/d558cf20addf9f5c2648a45e8b76c66a.jpg","text":"TemporaryFile(/tmp/multipartBody5730086280780488850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791283129,"filename":"image_05112025_14_33_52_2822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399459524","file1":"1399459519","file0":"1399459514","file4":"1399459533","file5":"1399459534","file3":"1399459526"},"map_files_photo_id_array":[{"photo_id":"1399459534","filename":"file5"},{"photo_id":"1399459524","filename":"file2"},{"photo_id":"1399459533","filename":"file4"},{"photo_id":"1399459519","filename":"file1"},{"photo_id":"1399459514","filename":"file0"},{"photo_id":"1399459526","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399459519":["hashtag1","hashtag2"]},{"1399459524":["hashtag1","hashtag2"]},{"1399459533":["hashtag1","hashtag2"]},{"1399459526":["hashtag1","hashtag2"]},{"1399459514":["hashtag1","hashtag2"]},{"1399459534":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399459519, 1399459524, 1399459533, 1399459526, 1399459514, 1399459534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3743212223053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 10:34:22.652657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/12/image_15122025_10_12_35_10842.jpg', '/home/pi/Desktop/images/15122025/10/12/image_15122025_10_12_44_9599.jpg', '/home/pi/Desktop/images/15122025/10/12/image_15122025_10_12_54_9782.jpg', '/home/pi/Desktop/images/15122025/10/12/image_15122025_10_13_04_10025.jpg', '/home/pi/Desktop/images/15122025/10/13/image_15122025_10_13_14_9745.jpg', '/home/pi/Desktop/images/15122025/10/13/image_15122025_10_13_25_10709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/12/image_15122025_10_12_35_10842.jpg
/home/pi/Desktop/images/15122025/10/12/image_15122025_10_12_44_9599.jpg
/home/pi/Desktop/images/15122025/10/12/image_15122025_10_12_54_9782.jpg
/home/pi/Desktop/images/15122025/10/12/image_15122025_10_13_04_10025.jpg
/home/pi/Desktop/images/15122025/10/13/image_15122025_10_13_14_9745.jpg
/home/pi/Desktop/images/15122025/10/13/image_15122025_10_13_25_10709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399459543","1399459545","1399459553","1399459541","1399459547","1399459552"],"photo_ids_order":["1399459541","1399459543","1399459545","1399459547","1399459552","1399459553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fc9f8e1785156ff9f406ba6dc84e01be.jpg","text":"TemporaryFile(/tmp/multipartBody2926953450435427507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791323277,"filename":"image_15122025_10_12_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/15/ede71c2b7856217493e1d59de01f0fc0.jpg","text":"TemporaryFile(/tmp/multipartBody6572553188085779941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791323277,"filename":"image_15122025_10_12_54_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/21017624aa36d880a7700bbae2036545.jpg","text":"TemporaryFile(/tmp/multipartBody2219052102560246857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791323277,"filename":"image_15122025_10_13_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/15/7c8ebdda5e9e97ccc75a97240e25c203.jpg","text":"TemporaryFile(/tmp/multipartBody6247760596672600778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791323277,"filename":"image_15122025_10_12_35_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/15/5458b18c99079294bba2c4f34bd28a63.jpg","text":"TemporaryFile(/tmp/multipartBody6161081430736517726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791323277,"filename":"image_15122025_10_13_04_10025.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d067507cb6f2087082fcdad8ad49d9cf.jpg","text":"TemporaryFile(/tmp/multipartBody72346297301838779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791323277,"filename":"image_15122025_10_13_14_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399459545","file1":"1399459543","file0":"1399459541","file4":"1399459552","file5":"1399459553","file3":"1399459547"},"map_files_photo_id_array":[{"photo_id":"1399459553","filename":"file5"},{"photo_id":"1399459545","filename":"file2"},{"photo_id":"1399459552","filename":"file4"},{"photo_id":"1399459543","filename":"file1"},{"photo_id":"1399459541","filename":"file0"},{"photo_id":"1399459547","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399459543":["hashtag1","hashtag2"]},{"1399459545":["hashtag1","hashtag2"]},{"1399459553":["hashtag1","hashtag2"]},{"1399459541":["hashtag1","hashtag2"]},{"1399459547":["hashtag1","hashtag2"]},{"1399459552":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399459543, 1399459545, 1399459553, 1399459541, 1399459547, 1399459552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87024259567261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 10:35:02.558607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/13/image_15122025_10_13_34_9693.jpg', '/home/pi/Desktop/images/15122025/10/13/image_15122025_10_13_44_9681.jpg', '/home/pi/Desktop/images/15122025/10/13/image_15122025_10_13_55_10684.jpg', '/home/pi/Desktop/images/15122025/10/13/image_15122025_10_14_04_9605.jpg', '/home/pi/Desktop/images/15122025/10/14/image_15122025_10_14_14_9647.jpg', '/home/pi/Desktop/images/15122025/10/14/image_15122025_10_14_25_10700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/13/image_15122025_10_13_34_9693.jpg
/home/pi/Desktop/images/15122025/10/13/image_15122025_10_13_44_9681.jpg
/home/pi/Desktop/images/15122025/10/13/image_15122025_10_13_55_10684.jpg
/home/pi/Desktop/images/15122025/10/13/image_15122025_10_14_04_9605.jpg
/home/pi/Desktop/images/15122025/10/14/image_15122025_10_14_14_9647.jpg
/home/pi/Desktop/images/15122025/10/14/image_15122025_10_14_25_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":["1399459560","1399459562","1399459565","1399459559","1399459570","1399459567"],"photo_ids_order":["1399459559","1399459560","1399459562","1399459565","1399459567","1399459570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2301398a609785b2b0bbb1a91217a816.jpg","text":"TemporaryFile(/tmp/multipartBody1670977207971493295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791363268,"filename":"image_15122025_10_13_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/15/a9e06c6818269492210bd4d5499fedc8.jpg","text":"TemporaryFile(/tmp/multipartBody2934857024843789032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791363268,"filename":"image_15122025_10_13_55_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d760d900ed3b111748b6b69874d58376.jpg","text":"TemporaryFile(/tmp/multipartBody2216481991086377047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791363268,"filename":"image_15122025_10_14_04_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e9a4f4045c747c5f22096cfecd4e5504.jpg","text":"TemporaryFile(/tmp/multipartBody2779111657960093939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791363268,"filename":"image_15122025_10_13_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/15/02e08908da2463840da5cf40b8f29588.jpg","text":"TemporaryFile(/tmp/multipartBody9034609211144553577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791363268,"filename":"image_15122025_10_14_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/15/10bf1912c962b32e0a0cba0e95f3a05d.jpg","text":"TemporaryFile(/tmp/multipartBody3364414850792722636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791363268,"filename":"image_15122025_10_14_14_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399459562","file1":"1399459560","file0":"1399459559","file4":"1399459567","file5":"1399459570","file3":"1399459565"},"map_files_photo_id_array":[{"photo_id":"1399459570","filename":"file5"},{"photo_id":"1399459562","filename":"file2"},{"photo_id":"1399459567","filename":"file4"},{"photo_id":"1399459560","filename":"file1"},{"photo_id":"1399459559","filename":"file0"},{"photo_id":"1399459565","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399459560":["hashtag1","hashtag2"]},{"1399459562":["hashtag1","hashtag2"]},{"1399459565":["hashtag1","hashtag2"]},{"1399459559":["hashtag1","hashtag2"]},{"1399459570":["hashtag1","hashtag2"]},{"1399459567":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399459560, 1399459562, 1399459565, 1399459559, 1399459570, 1399459567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77766418457031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 10:35:41.941915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_56_3635.jpg', '/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_59_2628.jpg', '/home/pi/Desktop/images/05112025/14/34/image_05112025_14_34_01_2671.jpg', '/home/pi/Desktop/images/05112025/14/34/image_05112025_14_34_08_2532.jpg', '/home/pi/Desktop/images/05112025/14/34/image_05112025_14_34_13_4906.jpg', '/home/pi/Desktop/images/05112025/14/34/image_05112025_14_34_15_1998.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_56_3635.jpg
/home/pi/Desktop/images/05112025/14/33/image_05112025_14_33_59_2628.jpg
/home/pi/Desktop/images/05112025/14/34/image_05112025_14_34_01_2671.jpg
/home/pi/Desktop/images/05112025/14/34/image_05112025_14_34_08_2532.jpg
/home/pi/Desktop/images/05112025/14/34/image_05112025_14_34_13_4906.jpg
/home/pi/Desktop/images/05112025/14/34/image_05112025_14_34_15_1998.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399459584","1399459586","1399459583","1399459582","1399459576","1399459585"],"photo_ids_order":["1399459576","1399459582","1399459583","1399459584","1399459585","1399459586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/23e54e1422ec793dee2ac6a85a98d2c2.jpg","text":"TemporaryFile(/tmp/multipartBody7232726159227362444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791402653,"filename":"image_05112025_14_34_08_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/15/7473bd21fe8dcb05b9bea687614d1af5.jpg","text":"TemporaryFile(/tmp/multipartBody5020246154577345254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791402653,"filename":"image_05112025_14_34_15_1998.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a8f48a6aa4d6bcc7ff74daa7005d85c7.jpg","text":"TemporaryFile(/tmp/multipartBody1974743679927630579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791402653,"filename":"image_05112025_14_34_01_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5c01c870eddb9c2dcb4c47c307e9a35a.jpg","text":"TemporaryFile(/tmp/multipartBody4203471691170866049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791402653,"filename":"image_05112025_14_33_59_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8d4a4d1fa4bfaf0a100440330db0bd72.jpg","text":"TemporaryFile(/tmp/multipartBody13416499631590116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791402653,"filename":"image_05112025_14_33_56_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b54b5a68415079377aa306d7e21f6687.jpg","text":"TemporaryFile(/tmp/multipartBody4982149653223115941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791402653,"filename":"image_05112025_14_34_13_4906.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399459583","file1":"1399459582","file0":"1399459576","file4":"1399459585","file5":"1399459586","file3":"1399459584"},"map_files_photo_id_array":[{"photo_id":"1399459586","filename":"file5"},{"photo_id":"1399459583","filename":"file2"},{"photo_id":"1399459585","filename":"file4"},{"photo_id":"1399459582","filename":"file1"},{"photo_id":"1399459576","filename":"file0"},{"photo_id":"1399459584","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399459584":["hashtag1","hashtag2"]},{"1399459586":["hashtag1","hashtag2"]},{"1399459583":["hashtag1","hashtag2"]},{"1399459582":["hashtag1","hashtag2"]},{"1399459576":["hashtag1","hashtag2"]},{"1399459585":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399459584, 1399459586, 1399459583, 1399459582, 1399459576, 1399459585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53990888595581 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 10:36:22.265893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/14/image_15122025_10_14_35_9770.jpg', '/home/pi/Desktop/images/15122025/10/14/image_15122025_10_14_44_9930.jpg', '/home/pi/Desktop/images/15122025/10/14/image_15122025_10_14_54_9643.jpg', '/home/pi/Desktop/images/15122025/10/15/image_15122025_10_15_14_10057.jpg', '/home/pi/Desktop/images/15122025/10/15/image_15122025_10_15_25_10656.jpg', '/home/pi/Desktop/images/15122025/10/15/image_15122025_10_15_34_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/14/image_15122025_10_14_35_9770.jpg
/home/pi/Desktop/images/15122025/10/14/image_15122025_10_14_44_9930.jpg
/home/pi/Desktop/images/15122025/10/14/image_15122025_10_14_54_9643.jpg
/home/pi/Desktop/images/15122025/10/15/image_15122025_10_15_14_10057.jpg
/home/pi/Desktop/images/15122025/10/15/image_15122025_10_15_25_10656.jpg
/home/pi/Desktop/images/15122025/10/15/image_15122025_10_15_34_9679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399459605","1399459598","1399459595","1399459610","1399459607","1399459601"],"photo_ids_order":["1399459595","1399459598","1399459601","1399459605","1399459607","1399459610"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7fad23337525349e030fd86a521938ca.jpg","text":"TemporaryFile(/tmp/multipartBody27120681919800885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791442893,"filename":"image_15122025_10_15_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1486b749791ea4ceb11ad560dc128d48.jpg","text":"TemporaryFile(/tmp/multipartBody760073031326805768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791442893,"filename":"image_15122025_10_14_44_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/15/0f69e0b66550cebda77c129e0ce376ba.jpg","text":"TemporaryFile(/tmp/multipartBody2377377446198362385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791442893,"filename":"image_15122025_10_14_35_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0d291257143711d0a6d1655f8307eddc.jpg","text":"TemporaryFile(/tmp/multipartBody725474226534812720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791442893,"filename":"image_15122025_10_15_34_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/23d7fe779fa6bd1297b97750de1c3fb8.jpg","text":"TemporaryFile(/tmp/multipartBody3202571221459926453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791442893,"filename":"image_15122025_10_15_25_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f3edfd4179ed47831f73ec8020014f6b.jpg","text":"TemporaryFile(/tmp/multipartBody5037809823342377331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791442893,"filename":"image_15122025_10_14_54_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399459601","file1":"1399459598","file0":"1399459595","file4":"1399459607","file5":"1399459610","file3":"1399459605"},"map_files_photo_id_array":[{"photo_id":"1399459610","filename":"file5"},{"photo_id":"1399459601","filename":"file2"},{"photo_id":"1399459607","filename":"file4"},{"photo_id":"1399459598","filename":"file1"},{"photo_id":"1399459595","filename":"file0"},{"photo_id":"1399459605","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399459605":["hashtag1","hashtag2"]},{"1399459598":["hashtag1","hashtag2"]},{"1399459595":["hashtag1","hashtag2"]},{"1399459610":["hashtag1","hashtag2"]},{"1399459607":["hashtag1","hashtag2"]},{"1399459601":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399459605, 1399459598, 1399459595, 1399459610, 1399459607, 1399459601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45278835296631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 10:37:03.151811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/15/image_15122025_10_15_44_9660.jpg', '/home/pi/Desktop/images/15122025/10/15/image_15122025_10_15_55_10592.jpg', '/home/pi/Desktop/images/15122025/10/15/image_15122025_10_16_04_9631.jpg', '/home/pi/Desktop/images/15122025/10/16/image_15122025_10_16_15_10678.jpg', '/home/pi/Desktop/images/15122025/10/16/image_15122025_10_16_25_9674.jpg', '/home/pi/Desktop/images/15122025/10/16/image_15122025_10_16_34_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/15/image_15122025_10_15_44_9660.jpg
/home/pi/Desktop/images/15122025/10/15/image_15122025_10_15_55_10592.jpg
/home/pi/Desktop/images/15122025/10/15/image_15122025_10_16_04_9631.jpg
/home/pi/Desktop/images/15122025/10/16/image_15122025_10_16_15_10678.jpg
/home/pi/Desktop/images/15122025/10/16/image_15122025_10_16_25_9674.jpg
/home/pi/Desktop/images/15122025/10/16/image_15122025_10_16_34_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399459720","1399459620","1399459754","1399459682","1399459649","1399459625"],"photo_ids_order":["1399459620","1399459625","1399459649","1399459682","1399459720","1399459754"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9267589dd5643a36e5fd8e650f721c84.jpg","text":"TemporaryFile(/tmp/multipartBody5854443624708615644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791483893,"filename":"image_15122025_10_16_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/15/435243bbb1e4dad4b36b5571bb2f3f3b.jpg","text":"TemporaryFile(/tmp/multipartBody5894382463404189755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791483893,"filename":"image_15122025_10_15_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/15/7aaa44744724d2ddaef60d9636e45bbd.jpg","text":"TemporaryFile(/tmp/multipartBody6669439184769076727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791483893,"filename":"image_15122025_10_16_34_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0327c8c5be3f78587633a4b056a0edf0.jpg","text":"TemporaryFile(/tmp/multipartBody7814162201636018899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791483893,"filename":"image_15122025_10_16_15_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/15/ced5c83967ce88afa0f6a87a6b8712bf.jpg","text":"TemporaryFile(/tmp/multipartBody4904667613154451059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791483893,"filename":"image_15122025_10_16_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/15/fa38be1584cb0b97eb10f95f1094e232.jpg","text":"TemporaryFile(/tmp/multipartBody7778960081815539407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791483893,"filename":"image_15122025_10_15_55_10592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399459649","file1":"1399459625","file0":"1399459620","file4":"1399459720","file5":"1399459754","file3":"1399459682"},"map_files_photo_id_array":[{"photo_id":"1399459754","filename":"file5"},{"photo_id":"1399459649","filename":"file2"},{"photo_id":"1399459720","filename":"file4"},{"photo_id":"1399459625","filename":"file1"},{"photo_id":"1399459620","filename":"file0"},{"photo_id":"1399459682","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399459720":["hashtag1","hashtag2"]},{"1399459620":["hashtag1","hashtag2"]},{"1399459754":["hashtag1","hashtag2"]},{"1399459682":["hashtag1","hashtag2"]},{"1399459649":["hashtag1","hashtag2"]},{"1399459625":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399459720, 1399459620, 1399459754, 1399459682, 1399459649, 1399459625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.02223777770996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 10:37:42.397860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/34/image_05112025_14_34_17_2593.jpg', '/home/pi/Desktop/images/05112025/14/34/image_05112025_14_34_20_2725.jpg', '/home/pi/Desktop/images/05112025/14/34/image_05112025_14_34_26_2809.jpg', '/home/pi/Desktop/images/05112025/14/34/image_05112025_14_34_30_3231.jpg', '/home/pi/Desktop/images/05112025/14/34/image_05112025_14_34_32_2742.jpg', '/home/pi/Desktop/images/05112025/14/34/image_05112025_14_34_35_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/34/image_05112025_14_34_17_2593.jpg
/home/pi/Desktop/images/05112025/14/34/image_05112025_14_34_20_2725.jpg
/home/pi/Desktop/images/05112025/14/34/image_05112025_14_34_26_2809.jpg
/home/pi/Desktop/images/05112025/14/34/image_05112025_14_34_30_3231.jpg
/home/pi/Desktop/images/05112025/14/34/image_05112025_14_34_32_2742.jpg
/home/pi/Desktop/images/05112025/14/34/image_05112025_14_34_35_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":["1399459816","1399459801","1399459818","1399459827","1399459823","1399459825"],"photo_ids_order":["1399459801","1399459816","1399459818","1399459823","1399459825","1399459827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/88200901e79945c5b87592fb5f7b5f3d.jpg","text":"TemporaryFile(/tmp/multipartBody3285487452934371014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791523112,"filename":"image_05112025_14_34_20_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/15/81342a552cf9b6380b14a6f7bfc71fb1.jpg","text":"TemporaryFile(/tmp/multipartBody55220826050590733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791523112,"filename":"image_05112025_14_34_17_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/15/157fc1d1e2963705149457f8e62273f3.jpg","text":"TemporaryFile(/tmp/multipartBody5450046147984826320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791523112,"filename":"image_05112025_14_34_26_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/15/43050210aa9dd775a8624fa16175dfa2.jpg","text":"TemporaryFile(/tmp/multipartBody2111958477304229456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791523112,"filename":"image_05112025_14_34_35_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/15/cd21edae07dad89c76efb21b49b4ff1a.jpg","text":"TemporaryFile(/tmp/multipartBody8214224604517554927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791523112,"filename":"image_05112025_14_34_30_3231.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ab8150954dcfa685b85fa84835588dc2.jpg","text":"TemporaryFile(/tmp/multipartBody3352324398658606656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791523112,"filename":"image_05112025_14_34_32_2742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399459818","file1":"1399459816","file0":"1399459801","file4":"1399459825","file5":"1399459827","file3":"1399459823"},"map_files_photo_id_array":[{"photo_id":"1399459827","filename":"file5"},{"photo_id":"1399459818","filename":"file2"},{"photo_id":"1399459825","filename":"file4"},{"photo_id":"1399459816","filename":"file1"},{"photo_id":"1399459801","filename":"file0"},{"photo_id":"1399459823","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399459816":["hashtag1","hashtag2"]},{"1399459801":["hashtag1","hashtag2"]},{"1399459818":["hashtag1","hashtag2"]},{"1399459827":["hashtag1","hashtag2"]},{"1399459823":["hashtag1","hashtag2"]},{"1399459825":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399459816, 1399459801, 1399459818, 1399459827, 1399459823, 1399459825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77525997161865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 10:38:22.671746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/16/image_15122025_10_16_45_10730.jpg', '/home/pi/Desktop/images/15122025/10/16/image_15122025_10_16_55_9862.jpg', '/home/pi/Desktop/images/15122025/10/16/image_15122025_10_17_04_9614.jpg', '/home/pi/Desktop/images/15122025/10/17/image_15122025_10_17_14_9805.jpg', '/home/pi/Desktop/images/15122025/10/17/image_15122025_10_17_24_9847.jpg', '/home/pi/Desktop/images/15122025/10/17/image_15122025_10_17_35_10702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/16/image_15122025_10_16_45_10730.jpg
/home/pi/Desktop/images/15122025/10/16/image_15122025_10_16_55_9862.jpg
/home/pi/Desktop/images/15122025/10/16/image_15122025_10_17_04_9614.jpg
/home/pi/Desktop/images/15122025/10/17/image_15122025_10_17_14_9805.jpg
/home/pi/Desktop/images/15122025/10/17/image_15122025_10_17_24_9847.jpg
/home/pi/Desktop/images/15122025/10/17/image_15122025_10_17_35_10702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399459866","1399459848","1399459842","1399459858","1399459837","1399459846"],"photo_ids_order":["1399459837","1399459842","1399459846","1399459848","1399459858","1399459866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0e90ca11afe7063afdb17cef9890a88b.jpg","text":"TemporaryFile(/tmp/multipartBody4858641566639336557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791563299,"filename":"image_15122025_10_17_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/15/5d45cce7cc27a6f869d44180cc4dd244.jpg","text":"TemporaryFile(/tmp/multipartBody7261464725194319300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791563299,"filename":"image_15122025_10_17_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/15/92ab4e58a686f3569ae77371c483748d.jpg","text":"TemporaryFile(/tmp/multipartBody534236165591769395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791563299,"filename":"image_15122025_10_16_55_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/15/05b847712214b66a896ceefd8cae585c.jpg","text":"TemporaryFile(/tmp/multipartBody294883275968923245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791563299,"filename":"image_15122025_10_17_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/15/87279be9879de338cf792c9205040dbc.jpg","text":"TemporaryFile(/tmp/multipartBody5404047083079509352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791563299,"filename":"image_15122025_10_16_45_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3aaa224a4878622267922bc8f1d4e855.jpg","text":"TemporaryFile(/tmp/multipartBody1533946971373496623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791563299,"filename":"image_15122025_10_17_04_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399459846","file1":"1399459842","file0":"1399459837","file4":"1399459858","file5":"1399459866","file3":"1399459848"},"map_files_photo_id_array":[{"photo_id":"1399459866","filename":"file5"},{"photo_id":"1399459846","filename":"file2"},{"photo_id":"1399459858","filename":"file4"},{"photo_id":"1399459842","filename":"file1"},{"photo_id":"1399459837","filename":"file0"},{"photo_id":"1399459848","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399459866":["hashtag1","hashtag2"]},{"1399459848":["hashtag1","hashtag2"]},{"1399459842":["hashtag1","hashtag2"]},{"1399459858":["hashtag1","hashtag2"]},{"1399459837":["hashtag1","hashtag2"]},{"1399459846":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399459866, 1399459848, 1399459842, 1399459858, 1399459837, 1399459846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31602334976196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 10:39:03.106341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/17/image_15122025_10_17_45_9880.jpg', '/home/pi/Desktop/images/15122025/10/17/image_15122025_10_17_54_9728.jpg', '/home/pi/Desktop/images/15122025/10/17/image_15122025_10_18_04_9728.jpg', '/home/pi/Desktop/images/15122025/10/18/image_15122025_10_18_15_10659.jpg', '/home/pi/Desktop/images/15122025/10/18/image_15122025_10_18_24_9642.jpg', '/home/pi/Desktop/images/15122025/10/18/image_15122025_10_18_34_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/17/image_15122025_10_17_45_9880.jpg
/home/pi/Desktop/images/15122025/10/17/image_15122025_10_17_54_9728.jpg
/home/pi/Desktop/images/15122025/10/17/image_15122025_10_18_04_9728.jpg
/home/pi/Desktop/images/15122025/10/18/image_15122025_10_18_15_10659.jpg
/home/pi/Desktop/images/15122025/10/18/image_15122025_10_18_24_9642.jpg
/home/pi/Desktop/images/15122025/10/18/image_15122025_10_18_34_9603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399459884","1399459878","1399459872","1399459880","1399459886","1399459882"],"photo_ids_order":["1399459872","1399459878","1399459880","1399459882","1399459884","1399459886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/890174fed9632a2746826de06d2489d5.jpg","text":"TemporaryFile(/tmp/multipartBody2435105378346847029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791603847,"filename":"image_15122025_10_18_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/15/04526ff18351ce81c20632e8d703575d.jpg","text":"TemporaryFile(/tmp/multipartBody8191362279556358283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791603847,"filename":"image_15122025_10_17_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/15/883b52b61566af5e4ba7545dd3ed8b2e.jpg","text":"TemporaryFile(/tmp/multipartBody9178550962872308006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791603847,"filename":"image_15122025_10_17_45_9880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/92635c9bc6247ebe550ff78d516b3f37.jpg","text":"TemporaryFile(/tmp/multipartBody4881434523860650390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791603847,"filename":"image_15122025_10_18_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/15/fd52912d1aa710a45d68f674b8b89668.jpg","text":"TemporaryFile(/tmp/multipartBody1306807011111008243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791603847,"filename":"image_15122025_10_18_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/15/cb314dc54d0d16ff888363824eb58ad3.jpg","text":"TemporaryFile(/tmp/multipartBody7140907273217191161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791603847,"filename":"image_15122025_10_18_15_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399459880","file1":"1399459878","file0":"1399459872","file4":"1399459884","file5":"1399459886","file3":"1399459882"},"map_files_photo_id_array":[{"photo_id":"1399459886","filename":"file5"},{"photo_id":"1399459880","filename":"file2"},{"photo_id":"1399459884","filename":"file4"},{"photo_id":"1399459878","filename":"file1"},{"photo_id":"1399459872","filename":"file0"},{"photo_id":"1399459882","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399459884":["hashtag1","hashtag2"]},{"1399459878":["hashtag1","hashtag2"]},{"1399459872":["hashtag1","hashtag2"]},{"1399459880":["hashtag1","hashtag2"]},{"1399459886":["hashtag1","hashtag2"]},{"1399459882":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399459884, 1399459878, 1399459872, 1399459880, 1399459886, 1399459882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.897345781326294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 10:39:41.939751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/34/image_05112025_14_34_43_8181.jpg', '/home/pi/Desktop/images/05112025/14/34/image_05112025_14_34_45_1538.jpg', '/home/pi/Desktop/images/05112025/14/34/image_05112025_14_34_46_1522.jpg', '/home/pi/Desktop/images/05112025/14/34/image_05112025_14_34_48_1552.jpg', '/home/pi/Desktop/images/05112025/14/34/image_05112025_14_34_49_1616.jpg', '/home/pi/Desktop/images/05112025/14/34/image_05112025_14_34_53_3790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/34/image_05112025_14_34_43_8181.jpg
/home/pi/Desktop/images/05112025/14/34/image_05112025_14_34_45_1538.jpg
/home/pi/Desktop/images/05112025/14/34/image_05112025_14_34_46_1522.jpg
/home/pi/Desktop/images/05112025/14/34/image_05112025_14_34_48_1552.jpg
/home/pi/Desktop/images/05112025/14/34/image_05112025_14_34_49_1616.jpg
/home/pi/Desktop/images/05112025/14/34/image_05112025_14_34_53_3790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399459903","1399459973","1399459940","1399459891","1399459894","1399459963"],"photo_ids_order":["1399459891","1399459894","1399459903","1399459940","1399459963","1399459973"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7febbce469681fbbd9a0fb8e7efcb556.jpg","text":"TemporaryFile(/tmp/multipartBody5994765404512376599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791642658,"filename":"image_05112025_14_34_46_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/15/3809d2c414b2956b0d67cde8faf406ee.jpg","text":"TemporaryFile(/tmp/multipartBody7343511216279113909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791642658,"filename":"image_05112025_14_34_53_3790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/46ab9a9139eb11e0a2355bbe16884084.jpg","text":"TemporaryFile(/tmp/multipartBody5009613683357724059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791642658,"filename":"image_05112025_14_34_48_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/15/4cfbd9c996222e2d981486ad3b31c1d8.jpg","text":"TemporaryFile(/tmp/multipartBody2146155575599025422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791642658,"filename":"image_05112025_14_34_43_8181.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ed7a826d54378f1f604593fee13e816f.jpg","text":"TemporaryFile(/tmp/multipartBody7638846286438537108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791642658,"filename":"image_05112025_14_34_45_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/15/82864af1244f5e65b8036b9eee9fc4cd.jpg","text":"TemporaryFile(/tmp/multipartBody3252287895663681630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791642658,"filename":"image_05112025_14_34_49_1616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399459903","file1":"1399459894","file0":"1399459891","file4":"1399459963","file5":"1399459973","file3":"1399459940"},"map_files_photo_id_array":[{"photo_id":"1399459973","filename":"file5"},{"photo_id":"1399459903","filename":"file2"},{"photo_id":"1399459963","filename":"file4"},{"photo_id":"1399459894","filename":"file1"},{"photo_id":"1399459891","filename":"file0"},{"photo_id":"1399459940","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399459903":["hashtag1","hashtag2"]},{"1399459973":["hashtag1","hashtag2"]},{"1399459940":["hashtag1","hashtag2"]},{"1399459891":["hashtag1","hashtag2"]},{"1399459894":["hashtag1","hashtag2"]},{"1399459963":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399459903, 1399459973, 1399459940, 1399459891, 1399459894, 1399459963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44288516044617 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 10:40:22.216877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/18/image_15122025_10_18_45_10730.jpg', '/home/pi/Desktop/images/15122025/10/18/image_15122025_10_18_55_9872.jpg', '/home/pi/Desktop/images/15122025/10/18/image_15122025_10_19_04_9595.jpg', '/home/pi/Desktop/images/15122025/10/19/image_15122025_10_19_14_9800.jpg', '/home/pi/Desktop/images/15122025/10/19/image_15122025_10_19_25_10723.jpg', '/home/pi/Desktop/images/15122025/10/19/image_15122025_10_19_34_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/18/image_15122025_10_18_45_10730.jpg
/home/pi/Desktop/images/15122025/10/18/image_15122025_10_18_55_9872.jpg
/home/pi/Desktop/images/15122025/10/18/image_15122025_10_19_04_9595.jpg
/home/pi/Desktop/images/15122025/10/19/image_15122025_10_19_14_9800.jpg
/home/pi/Desktop/images/15122025/10/19/image_15122025_10_19_25_10723.jpg
/home/pi/Desktop/images/15122025/10/19/image_15122025_10_19_34_9595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399460014","1399460017","1399460004","1399460007","1399460012","1399460009"],"photo_ids_order":["1399460004","1399460007","1399460009","1399460012","1399460014","1399460017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d1621734fc22b7df874524fc13899043.jpg","text":"TemporaryFile(/tmp/multipartBody7993182392175670507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791682842,"filename":"image_15122025_10_19_25_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9f731b532edf947c4ca16bb193ac7b87.jpg","text":"TemporaryFile(/tmp/multipartBody2443695010717017624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791682842,"filename":"image_15122025_10_19_34_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/04b841b9171205971c1a00ee62582130.jpg","text":"TemporaryFile(/tmp/multipartBody8345111732169434322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791682842,"filename":"image_15122025_10_18_45_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/28b8ab3d70bf5052c4d9f4b6a14cf2ae.jpg","text":"TemporaryFile(/tmp/multipartBody3656046693979346157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791682842,"filename":"image_15122025_10_18_55_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/15/e1b37082f61304c72b78e1070c32bdca.jpg","text":"TemporaryFile(/tmp/multipartBody3019586821978924271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791682842,"filename":"image_15122025_10_19_14_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fcb723f820637c9714ddbf3e977ad5af.jpg","text":"TemporaryFile(/tmp/multipartBody7722258140473927638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791682842,"filename":"image_15122025_10_19_04_9595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399460009","file1":"1399460007","file0":"1399460004","file4":"1399460014","file5":"1399460017","file3":"1399460012"},"map_files_photo_id_array":[{"photo_id":"1399460017","filename":"file5"},{"photo_id":"1399460009","filename":"file2"},{"photo_id":"1399460014","filename":"file4"},{"photo_id":"1399460007","filename":"file1"},{"photo_id":"1399460004","filename":"file0"},{"photo_id":"1399460012","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399460014":["hashtag1","hashtag2"]},{"1399460017":["hashtag1","hashtag2"]},{"1399460004":["hashtag1","hashtag2"]},{"1399460007":["hashtag1","hashtag2"]},{"1399460012":["hashtag1","hashtag2"]},{"1399460009":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399460014, 1399460017, 1399460004, 1399460007, 1399460012, 1399460009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88323616981506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 10:41:03.129493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/19/image_15122025_10_19_44_9647.jpg', '/home/pi/Desktop/images/15122025/10/19/image_15122025_10_19_55_10894.jpg', '/home/pi/Desktop/images/15122025/10/20/image_15122025_10_20_14_10054.jpg', '/home/pi/Desktop/images/15122025/10/20/image_15122025_10_20_24_10656.jpg', '/home/pi/Desktop/images/15122025/10/20/image_15122025_10_20_34_9652.jpg', '/home/pi/Desktop/images/15122025/10/20/image_15122025_10_20_44_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/19/image_15122025_10_19_44_9647.jpg
/home/pi/Desktop/images/15122025/10/19/image_15122025_10_19_55_10894.jpg
/home/pi/Desktop/images/15122025/10/20/image_15122025_10_20_14_10054.jpg
/home/pi/Desktop/images/15122025/10/20/image_15122025_10_20_24_10656.jpg
/home/pi/Desktop/images/15122025/10/20/image_15122025_10_20_34_9652.jpg
/home/pi/Desktop/images/15122025/10/20/image_15122025_10_20_44_9670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399460023","1399460029","1399460025","1399460019","1399460027","1399460021"],"photo_ids_order":["1399460019","1399460021","1399460023","1399460025","1399460027","1399460029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/67bd3204ec36d4f524fdfebfe0899940.jpg","text":"TemporaryFile(/tmp/multipartBody6595751496936988184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791723813,"filename":"image_15122025_10_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/15/bd1e115658521c3447e9abeb565b7379.jpg","text":"TemporaryFile(/tmp/multipartBody1399645134243588346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791723813,"filename":"image_15122025_10_20_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/15/bc6fd09c4aed52eb39b85374923629d3.jpg","text":"TemporaryFile(/tmp/multipartBody6707691017252142941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791723813,"filename":"image_15122025_10_20_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/15/eee1a7d482d6250ba11de795088874d5.jpg","text":"TemporaryFile(/tmp/multipartBody7911914728677304097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791723813,"filename":"image_15122025_10_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/15/056f3c8dd4f70e3b2d3865690debb495.jpg","text":"TemporaryFile(/tmp/multipartBody4226725740865168635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791723813,"filename":"image_15122025_10_20_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/15/548d64c524acdcac6541f51833f91855.jpg","text":"TemporaryFile(/tmp/multipartBody7438325830686752361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791723813,"filename":"image_15122025_10_19_55_10894.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399460023","file1":"1399460021","file0":"1399460019","file4":"1399460027","file5":"1399460029","file3":"1399460025"},"map_files_photo_id_array":[{"photo_id":"1399460029","filename":"file5"},{"photo_id":"1399460023","filename":"file2"},{"photo_id":"1399460027","filename":"file4"},{"photo_id":"1399460021","filename":"file1"},{"photo_id":"1399460019","filename":"file0"},{"photo_id":"1399460025","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399460023":["hashtag1","hashtag2"]},{"1399460029":["hashtag1","hashtag2"]},{"1399460025":["hashtag1","hashtag2"]},{"1399460019":["hashtag1","hashtag2"]},{"1399460027":["hashtag1","hashtag2"]},{"1399460021":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399460023, 1399460029, 1399460025, 1399460019, 1399460027, 1399460021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67752027511597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 10:41:42.401308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/34/image_05112025_14_34_56_3033.jpg', '/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_01_2474.jpg', '/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_05_3674.jpg', '/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_08_2487.jpg', '/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_11_3550.jpg', '/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_14_2612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/34/image_05112025_14_34_56_3033.jpg
/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_01_2474.jpg
/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_05_3674.jpg
/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_08_2487.jpg
/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_11_3550.jpg
/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_14_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":["1399460085","1399460043","1399460037","1399460100","1399460039","1399460092"],"photo_ids_order":["1399460037","1399460039","1399460043","1399460085","1399460092","1399460100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/82c421c10c5eeb9437132855cd4a6b58.jpg","text":"TemporaryFile(/tmp/multipartBody5953267210150936229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791763210,"filename":"image_05112025_14_35_08_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/15/2924119adea0c1a234c04c5b18b1a596.jpg","text":"TemporaryFile(/tmp/multipartBody8042847465316042005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791763210,"filename":"image_05112025_14_35_05_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/15/28bb8016176fa6bd367627b7a4d37f2e.jpg","text":"TemporaryFile(/tmp/multipartBody2676773340648464859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791763210,"filename":"image_05112025_14_34_56_3033.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f4c7c95b6b72ac4c77b4a29e6f916763.jpg","text":"TemporaryFile(/tmp/multipartBody7189067093830389687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791763210,"filename":"image_05112025_14_35_14_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c98a17f7307142e595f4c62c3ab84fa1.jpg","text":"TemporaryFile(/tmp/multipartBody1832425540767019583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791763210,"filename":"image_05112025_14_35_01_2474.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3768833ab278ae382df874ea417d2c87.jpg","text":"TemporaryFile(/tmp/multipartBody3275866297123077189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791763210,"filename":"image_05112025_14_35_11_3550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399460043","file1":"1399460039","file0":"1399460037","file4":"1399460092","file5":"1399460100","file3":"1399460085"},"map_files_photo_id_array":[{"photo_id":"1399460100","filename":"file5"},{"photo_id":"1399460043","filename":"file2"},{"photo_id":"1399460092","filename":"file4"},{"photo_id":"1399460039","filename":"file1"},{"photo_id":"1399460037","filename":"file0"},{"photo_id":"1399460085","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399460085":["hashtag1","hashtag2"]},{"1399460043":["hashtag1","hashtag2"]},{"1399460037":["hashtag1","hashtag2"]},{"1399460100":["hashtag1","hashtag2"]},{"1399460039":["hashtag1","hashtag2"]},{"1399460092":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399460085, 1399460043, 1399460037, 1399460100, 1399460039, 1399460092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03216886520386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 10:42:22.634400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/20/image_15122025_10_20_54_10657.jpg', '/home/pi/Desktop/images/15122025/10/20/image_15122025_10_21_04_9705.jpg', '/home/pi/Desktop/images/15122025/10/21/image_15122025_10_21_14_9782.jpg', '/home/pi/Desktop/images/15122025/10/21/image_15122025_10_21_24_9874.jpg', '/home/pi/Desktop/images/15122025/10/21/image_15122025_10_21_34_10588.jpg', '/home/pi/Desktop/images/15122025/10/21/image_15122025_10_21_44_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/20/image_15122025_10_20_54_10657.jpg
/home/pi/Desktop/images/15122025/10/20/image_15122025_10_21_04_9705.jpg
/home/pi/Desktop/images/15122025/10/21/image_15122025_10_21_14_9782.jpg
/home/pi/Desktop/images/15122025/10/21/image_15122025_10_21_24_9874.jpg
/home/pi/Desktop/images/15122025/10/21/image_15122025_10_21_34_10588.jpg
/home/pi/Desktop/images/15122025/10/21/image_15122025_10_21_44_9675.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.517554759979248 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 10:42:32.625239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 10:42:42.607096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_16_2735.jpg', '/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_23_6801.jpg', '/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_36_1594.jpg', '/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_40_1575.jpg', '/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_43_1733.jpg', '/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_45_1614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_16_2735.jpg
/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_23_6801.jpg
/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_36_1594.jpg
/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_40_1575.jpg
/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_43_1733.jpg
/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_45_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":["1399460188","1399460119","1399460150","1399460197","1399460120","1399460117"],"photo_ids_order":["1399460117","1399460119","1399460120","1399460150","1399460188","1399460197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e9261745a4005f2b1e8350b9f815b241.jpg","text":"TemporaryFile(/tmp/multipartBody1006017080598394753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791823327,"filename":"image_05112025_14_35_43_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/15/e0ec9b813eccb4e774f61377b3ded431.jpg","text":"TemporaryFile(/tmp/multipartBody4806015964281490694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791823327,"filename":"image_05112025_14_35_23_6801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0cab549353fe6d8dcd44a484d1736e88.jpg","text":"TemporaryFile(/tmp/multipartBody5825062931129638655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791823327,"filename":"image_05112025_14_35_40_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/15/529224e0fa9666e32060466d0aca5c89.jpg","text":"TemporaryFile(/tmp/multipartBody6893709482271327383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791823327,"filename":"image_05112025_14_35_45_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7ff65d4af0da1fa39aa752abdbe0b7cf.jpg","text":"TemporaryFile(/tmp/multipartBody3676440839575978707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791823327,"filename":"image_05112025_14_35_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/15/e36068d513584de2757945709253ac6f.jpg","text":"TemporaryFile(/tmp/multipartBody4137706519633674449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791823327,"filename":"image_05112025_14_35_16_2735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399460120","file1":"1399460119","file0":"1399460117","file4":"1399460188","file5":"1399460197","file3":"1399460150"},"map_files_photo_id_array":[{"photo_id":"1399460197","filename":"file5"},{"photo_id":"1399460120","filename":"file2"},{"photo_id":"1399460188","filename":"file4"},{"photo_id":"1399460119","filename":"file1"},{"photo_id":"1399460117","filename":"file0"},{"photo_id":"1399460150","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399460188":["hashtag1","hashtag2"]},{"1399460119":["hashtag1","hashtag2"]},{"1399460150":["hashtag1","hashtag2"]},{"1399460197":["hashtag1","hashtag2"]},{"1399460120":["hashtag1","hashtag2"]},{"1399460117":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399460188, 1399460119, 1399460150, 1399460197, 1399460120, 1399460117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85321831703186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 10:43:21.879706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/20/image_15122025_10_20_54_10657.jpg', '/home/pi/Desktop/images/15122025/10/20/image_15122025_10_21_04_9705.jpg', '/home/pi/Desktop/images/15122025/10/21/image_15122025_10_21_14_9782.jpg', '/home/pi/Desktop/images/15122025/10/21/image_15122025_10_21_24_9874.jpg', '/home/pi/Desktop/images/15122025/10/21/image_15122025_10_21_34_10588.jpg', '/home/pi/Desktop/images/15122025/10/21/image_15122025_10_21_44_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/20/image_15122025_10_20_54_10657.jpg
/home/pi/Desktop/images/15122025/10/20/image_15122025_10_21_04_9705.jpg
/home/pi/Desktop/images/15122025/10/21/image_15122025_10_21_14_9782.jpg
/home/pi/Desktop/images/15122025/10/21/image_15122025_10_21_24_9874.jpg
/home/pi/Desktop/images/15122025/10/21/image_15122025_10_21_34_10588.jpg
/home/pi/Desktop/images/15122025/10/21/image_15122025_10_21_44_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":["1399460263","1399460245","1399460265","1399460259","1399460256","1399460261"],"photo_ids_order":["1399460245","1399460256","1399460259","1399460261","1399460263","1399460265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e88cb5748967ce9b9b2e6806eeac793d.jpg","text":"TemporaryFile(/tmp/multipartBody3279922773419023214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791862509,"filename":"image_15122025_10_21_34_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/15/6e4a3288089dac9aa42c3b7fc42ee122.jpg","text":"TemporaryFile(/tmp/multipartBody7780666332135743170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791862509,"filename":"image_15122025_10_20_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/15/e0d188b635b7fb75a48e3347995a2c62.jpg","text":"TemporaryFile(/tmp/multipartBody721720878499196496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791862509,"filename":"image_15122025_10_21_44_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e6012da0fadfae6ea4a61baf81b55608.jpg","text":"TemporaryFile(/tmp/multipartBody4105263482986708200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791862509,"filename":"image_15122025_10_21_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/15/ccc96ff177d00b78fd22e3e9e4c6169b.jpg","text":"TemporaryFile(/tmp/multipartBody6805472573572172242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791862509,"filename":"image_15122025_10_21_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/15/f59afc7b266aafb684ff6e669f865c67.jpg","text":"TemporaryFile(/tmp/multipartBody8568886163045922720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791862509,"filename":"image_15122025_10_21_24_9874.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399460259","file1":"1399460256","file0":"1399460245","file4":"1399460263","file5":"1399460265","file3":"1399460261"},"map_files_photo_id_array":[{"photo_id":"1399460265","filename":"file5"},{"photo_id":"1399460259","filename":"file2"},{"photo_id":"1399460263","filename":"file4"},{"photo_id":"1399460256","filename":"file1"},{"photo_id":"1399460245","filename":"file0"},{"photo_id":"1399460261","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399460263":["hashtag1","hashtag2"]},{"1399460245":["hashtag1","hashtag2"]},{"1399460265":["hashtag1","hashtag2"]},{"1399460259":["hashtag1","hashtag2"]},{"1399460256":["hashtag1","hashtag2"]},{"1399460261":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399460263, 1399460245, 1399460265, 1399460259, 1399460256, 1399460261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.467225790023804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 10:44:02.903925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/21/image_15122025_10_21_54_9799.jpg', '/home/pi/Desktop/images/15122025/10/21/image_15122025_10_22_05_10828.jpg', '/home/pi/Desktop/images/15122025/10/22/image_15122025_10_22_14_9639.jpg', '/home/pi/Desktop/images/15122025/10/22/image_15122025_10_22_24_9583.jpg', '/home/pi/Desktop/images/15122025/10/22/image_15122025_10_22_35_10619.jpg', '/home/pi/Desktop/images/15122025/10/22/image_15122025_10_22_44_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/21/image_15122025_10_21_54_9799.jpg
/home/pi/Desktop/images/15122025/10/21/image_15122025_10_22_05_10828.jpg
/home/pi/Desktop/images/15122025/10/22/image_15122025_10_22_14_9639.jpg
/home/pi/Desktop/images/15122025/10/22/image_15122025_10_22_24_9583.jpg
/home/pi/Desktop/images/15122025/10/22/image_15122025_10_22_35_10619.jpg
/home/pi/Desktop/images/15122025/10/22/image_15122025_10_22_44_9666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399460287","1399460281","1399460275","1399460283","1399460274","1399460279"],"photo_ids_order":["1399460274","1399460275","1399460279","1399460281","1399460283","1399460287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e04f05941a837bd3181fa6de993294fc.jpg","text":"TemporaryFile(/tmp/multipartBody8790843045445451028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791903651,"filename":"image_15122025_10_22_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/15/1f886f25da61b30e551a430f22a0670a.jpg","text":"TemporaryFile(/tmp/multipartBody2511843793660669223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791903651,"filename":"image_15122025_10_22_24_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/15/a208b04ae342a6968d0cf6ecece12881.jpg","text":"TemporaryFile(/tmp/multipartBody228742050171493311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791903651,"filename":"image_15122025_10_22_05_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/15/7c773441f523cfc2eee96d36c46d9ebb.jpg","text":"TemporaryFile(/tmp/multipartBody3491263579140753353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791903651,"filename":"image_15122025_10_22_35_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/15/1ac2363913ff1dec3fac3c8fb51a0630.jpg","text":"TemporaryFile(/tmp/multipartBody3779518620229568790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791903651,"filename":"image_15122025_10_21_54_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/15/908260cbf3d0f4bc22621ef643476c25.jpg","text":"TemporaryFile(/tmp/multipartBody5003377684099340602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791903651,"filename":"image_15122025_10_22_14_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399460279","file1":"1399460275","file0":"1399460274","file4":"1399460283","file5":"1399460287","file3":"1399460281"},"map_files_photo_id_array":[{"photo_id":"1399460287","filename":"file5"},{"photo_id":"1399460279","filename":"file2"},{"photo_id":"1399460283","filename":"file4"},{"photo_id":"1399460275","filename":"file1"},{"photo_id":"1399460274","filename":"file0"},{"photo_id":"1399460281","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399460287":["hashtag1","hashtag2"]},{"1399460281":["hashtag1","hashtag2"]},{"1399460275":["hashtag1","hashtag2"]},{"1399460283":["hashtag1","hashtag2"]},{"1399460274":["hashtag1","hashtag2"]},{"1399460279":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399460287, 1399460281, 1399460275, 1399460283, 1399460274, 1399460279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.420876264572144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 10:44:42.142812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_46_1556.jpg', '/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_48_1591.jpg', '/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_50_1670.jpg', '/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_52_2634.jpg', '/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_56_3669.jpg', '/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_04_5071.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_46_1556.jpg
/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_48_1591.jpg
/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_50_1670.jpg
/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_52_2634.jpg
/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_56_3669.jpg
/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_04_5071.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6337778568267822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 10:45:03.080402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/22/image_15122025_10_22_54_9765.jpg', '/home/pi/Desktop/images/15122025/10/22/image_15122025_10_23_04_9979.jpg', '/home/pi/Desktop/images/15122025/10/23/image_15122025_10_23_15_10707.jpg', '/home/pi/Desktop/images/15122025/10/23/image_15122025_10_23_24_9684.jpg', '/home/pi/Desktop/images/15122025/10/23/image_15122025_10_23_34_9634.jpg', '/home/pi/Desktop/images/15122025/10/23/image_15122025_10_23_45_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/22/image_15122025_10_22_54_9765.jpg
/home/pi/Desktop/images/15122025/10/22/image_15122025_10_23_04_9979.jpg
/home/pi/Desktop/images/15122025/10/23/image_15122025_10_23_15_10707.jpg
/home/pi/Desktop/images/15122025/10/23/image_15122025_10_23_24_9684.jpg
/home/pi/Desktop/images/15122025/10/23/image_15122025_10_23_34_9634.jpg
/home/pi/Desktop/images/15122025/10/23/image_15122025_10_23_45_10646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399460371","1399460382","1399460379","1399460373","1399460375","1399460377"],"photo_ids_order":["1399460371","1399460373","1399460375","1399460377","1399460379","1399460382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fb41d15476a4bddfb7b7b14b2ee9bae0.jpg","text":"TemporaryFile(/tmp/multipartBody9187788054224254408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791963753,"filename":"image_15122025_10_22_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/15/17a91fe4ad73a4693940844604b86762.jpg","text":"TemporaryFile(/tmp/multipartBody1082410123801191227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791963753,"filename":"image_15122025_10_23_45_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e9d3c21c59949c88ae3c494cc78b8f6e.jpg","text":"TemporaryFile(/tmp/multipartBody1697041844525039799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791963753,"filename":"image_15122025_10_23_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/15/5bedfed0f9737b69b45abff73502bf0e.jpg","text":"TemporaryFile(/tmp/multipartBody2732402041202997269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791963753,"filename":"image_15122025_10_23_04_9979.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dcc4f141568428b965ad4c9e7371ffb7.jpg","text":"TemporaryFile(/tmp/multipartBody1417933534582053850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791963753,"filename":"image_15122025_10_23_15_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/75ce260c7982173381f6e7a1694e4d79.jpg","text":"TemporaryFile(/tmp/multipartBody8317353141050430658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765791963753,"filename":"image_15122025_10_23_24_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399460375","file1":"1399460373","file0":"1399460371","file4":"1399460379","file5":"1399460382","file3":"1399460377"},"map_files_photo_id_array":[{"photo_id":"1399460382","filename":"file5"},{"photo_id":"1399460375","filename":"file2"},{"photo_id":"1399460379","filename":"file4"},{"photo_id":"1399460373","filename":"file1"},{"photo_id":"1399460371","filename":"file0"},{"photo_id":"1399460377","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399460371":["hashtag1","hashtag2"]},{"1399460382":["hashtag1","hashtag2"]},{"1399460379":["hashtag1","hashtag2"]},{"1399460373":["hashtag1","hashtag2"]},{"1399460375":["hashtag1","hashtag2"]},{"1399460377":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399460371, 1399460382, 1399460379, 1399460373, 1399460375, 1399460377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.865118980407715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 10:45:42.374468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_46_1556.jpg', '/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_48_1591.jpg', '/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_50_1670.jpg', '/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_52_2634.jpg', '/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_56_3669.jpg', '/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_04_5071.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_46_1556.jpg
/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_48_1591.jpg
/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_50_1670.jpg
/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_52_2634.jpg
/home/pi/Desktop/images/05112025/14/35/image_05112025_14_35_56_3669.jpg
/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_04_5071.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399460392","1399460388","1399460391","1399460390","1399460393","1399460395"],"photo_ids_order":["1399460388","1399460390","1399460391","1399460392","1399460393","1399460395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3c6863d1894e54e9fbe063abeeba1676.jpg","text":"TemporaryFile(/tmp/multipartBody1406059748231163766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792002994,"filename":"image_05112025_14_35_52_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/15/c40e523b43459ab90aa643a27ddef8ad.jpg","text":"TemporaryFile(/tmp/multipartBody6419799612567845617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792002994,"filename":"image_05112025_14_35_46_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/15/9ba871924cd4826f503b35a4961e95ce.jpg","text":"TemporaryFile(/tmp/multipartBody6203062815790512956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792002994,"filename":"image_05112025_14_35_50_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/15/bb4d7c0ca3d8bfcd04fb2995aee755e9.jpg","text":"TemporaryFile(/tmp/multipartBody5538646192093856021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792002994,"filename":"image_05112025_14_35_48_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/15/448d49c16aca387a09422084ec33ce0b.jpg","text":"TemporaryFile(/tmp/multipartBody6740583951438133019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792002994,"filename":"image_05112025_14_35_56_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/15/e5758283deb0e98f056beda72564894c.jpg","text":"TemporaryFile(/tmp/multipartBody7430651866706228836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792002994,"filename":"image_05112025_14_36_04_5071.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399460391","file1":"1399460390","file0":"1399460388","file4":"1399460393","file5":"1399460395","file3":"1399460392"},"map_files_photo_id_array":[{"photo_id":"1399460395","filename":"file5"},{"photo_id":"1399460391","filename":"file2"},{"photo_id":"1399460393","filename":"file4"},{"photo_id":"1399460390","filename":"file1"},{"photo_id":"1399460388","filename":"file0"},{"photo_id":"1399460392","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399460392":["hashtag1","hashtag2"]},{"1399460388":["hashtag1","hashtag2"]},{"1399460391":["hashtag1","hashtag2"]},{"1399460390":["hashtag1","hashtag2"]},{"1399460393":["hashtag1","hashtag2"]},{"1399460395":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399460392, 1399460388, 1399460391, 1399460390, 1399460393, 1399460395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93278217315674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 10:46:22.652599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/23/image_15122025_10_23_54_9844.jpg', '/home/pi/Desktop/images/15122025/10/23/image_15122025_10_24_04_9679.jpg', '/home/pi/Desktop/images/15122025/10/24/image_15122025_10_24_14_9684.jpg', '/home/pi/Desktop/images/15122025/10/24/image_15122025_10_24_25_10743.jpg', '/home/pi/Desktop/images/15122025/10/24/image_15122025_10_24_34_9593.jpg', '/home/pi/Desktop/images/15122025/10/24/image_15122025_10_24_44_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/23/image_15122025_10_23_54_9844.jpg
/home/pi/Desktop/images/15122025/10/23/image_15122025_10_24_04_9679.jpg
/home/pi/Desktop/images/15122025/10/24/image_15122025_10_24_14_9684.jpg
/home/pi/Desktop/images/15122025/10/24/image_15122025_10_24_25_10743.jpg
/home/pi/Desktop/images/15122025/10/24/image_15122025_10_24_34_9593.jpg
/home/pi/Desktop/images/15122025/10/24/image_15122025_10_24_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":["1399460419","1399460406","1399460409","1399460400","1399460403","1399460426"],"photo_ids_order":["1399460400","1399460403","1399460406","1399460409","1399460419","1399460426"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c84c8caadcc3c22c6bb6958fb0e5f255.jpg","text":"TemporaryFile(/tmp/multipartBody7557210535555727173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792043269,"filename":"image_15122025_10_24_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/15/8b2a19aea0b81bc40ec54929d89dae68.jpg","text":"TemporaryFile(/tmp/multipartBody6478414795100682774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792043269,"filename":"image_15122025_10_24_14_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/40a07a71dc1f69ff69cb6dd12dbae0f8.jpg","text":"TemporaryFile(/tmp/multipartBody1707580745765798597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792043269,"filename":"image_15122025_10_24_25_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3a00a753eea7d9c3e83320503bb6501a.jpg","text":"TemporaryFile(/tmp/multipartBody6910213928904928293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792043269,"filename":"image_15122025_10_23_54_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/41089d98be199ddd601cd203d78598d9.jpg","text":"TemporaryFile(/tmp/multipartBody806235122800588422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792043269,"filename":"image_15122025_10_24_04_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/293c71c66441fde11edea7ff7037dc88.jpg","text":"TemporaryFile(/tmp/multipartBody2588286397785613726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792043269,"filename":"image_15122025_10_24_44_9807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399460406","file1":"1399460403","file0":"1399460400","file4":"1399460419","file5":"1399460426","file3":"1399460409"},"map_files_photo_id_array":[{"photo_id":"1399460426","filename":"file5"},{"photo_id":"1399460406","filename":"file2"},{"photo_id":"1399460419","filename":"file4"},{"photo_id":"1399460403","filename":"file1"},{"photo_id":"1399460400","filename":"file0"},{"photo_id":"1399460409","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399460419":["hashtag1","hashtag2"]},{"1399460406":["hashtag1","hashtag2"]},{"1399460409":["hashtag1","hashtag2"]},{"1399460400":["hashtag1","hashtag2"]},{"1399460403":["hashtag1","hashtag2"]},{"1399460426":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399460419, 1399460406, 1399460409, 1399460400, 1399460403, 1399460426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86195397377014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 10:47:02.568300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/24/image_15122025_10_24_55_10779.jpg', '/home/pi/Desktop/images/15122025/10/25/image_15122025_10_25_14_10055.jpg', '/home/pi/Desktop/images/15122025/10/25/image_15122025_10_25_25_10706.jpg', '/home/pi/Desktop/images/15122025/10/25/image_15122025_10_25_44_9697.jpg', '/home/pi/Desktop/images/15122025/10/25/image_15122025_10_25_55_10763.jpg', '/home/pi/Desktop/images/15122025/10/25/image_15122025_10_26_05_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/24/image_15122025_10_24_55_10779.jpg
/home/pi/Desktop/images/15122025/10/25/image_15122025_10_25_14_10055.jpg
/home/pi/Desktop/images/15122025/10/25/image_15122025_10_25_25_10706.jpg
/home/pi/Desktop/images/15122025/10/25/image_15122025_10_25_44_9697.jpg
/home/pi/Desktop/images/15122025/10/25/image_15122025_10_25_55_10763.jpg
/home/pi/Desktop/images/15122025/10/25/image_15122025_10_26_05_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":["1399460737","1399460697","1399460802","1399460732","1399460807","1399460735"],"photo_ids_order":["1399460697","1399460732","1399460735","1399460737","1399460802","1399460807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2adcd84e4f67ac4f2cee77dea6e738cb.jpg","text":"TemporaryFile(/tmp/multipartBody332753048332154571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792083272,"filename":"image_15122025_10_25_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/15/1ed91c7adc7d02b7385b883281794bc9.jpg","text":"TemporaryFile(/tmp/multipartBody7180407426874440661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792083272,"filename":"image_15122025_10_24_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/15/e797068e79c9ec5185835d10a7c8d841.jpg","text":"TemporaryFile(/tmp/multipartBody7682778031159648107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792083272,"filename":"image_15122025_10_25_55_10763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a47fa285863f218d63486b77c54bcf9c.jpg","text":"TemporaryFile(/tmp/multipartBody4320604985050137921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792083272,"filename":"image_15122025_10_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/15/d37d6ee3b155e3f7e80730e992341326.jpg","text":"TemporaryFile(/tmp/multipartBody5119391115330044634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792083272,"filename":"image_15122025_10_26_05_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8238acb58cc06356f336779147f57fc4.jpg","text":"TemporaryFile(/tmp/multipartBody3027661733322497076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792083272,"filename":"image_15122025_10_25_25_10706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399460735","file1":"1399460732","file0":"1399460697","file4":"1399460802","file5":"1399460807","file3":"1399460737"},"map_files_photo_id_array":[{"photo_id":"1399460807","filename":"file5"},{"photo_id":"1399460735","filename":"file2"},{"photo_id":"1399460802","filename":"file4"},{"photo_id":"1399460732","filename":"file1"},{"photo_id":"1399460697","filename":"file0"},{"photo_id":"1399460737","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399460737":["hashtag1","hashtag2"]},{"1399460697":["hashtag1","hashtag2"]},{"1399460802":["hashtag1","hashtag2"]},{"1399460732":["hashtag1","hashtag2"]},{"1399460807":["hashtag1","hashtag2"]},{"1399460735":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399460737, 1399460697, 1399460802, 1399460732, 1399460807, 1399460735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38888478279114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 10:47:41.922022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_05_1611.jpg', '/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_11_2671.jpg', '/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_17_6502.jpg', '/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_19_1517.jpg', '/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_20_1641.jpg', '/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_23_2731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_05_1611.jpg
/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_11_2671.jpg
/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_17_6502.jpg
/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_19_1517.jpg
/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_20_1641.jpg
/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_23_2731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399460935","1399460914","1399460934","1399460882","1399460933","1399460903"],"photo_ids_order":["1399460882","1399460903","1399460914","1399460933","1399460934","1399460935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ce8250588bc3e0fcafc29a5629fe26e6.jpg","text":"TemporaryFile(/tmp/multipartBody3215863741876877639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792122633,"filename":"image_05112025_14_36_23_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/15/ece8c083f3e31a6d4d6ec8194520fc82.jpg","text":"TemporaryFile(/tmp/multipartBody39535278126394360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792122633,"filename":"image_05112025_14_36_17_6502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8f466108ee50403d4177e626836dec59.jpg","text":"TemporaryFile(/tmp/multipartBody1213398105506798460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792122633,"filename":"image_05112025_14_36_20_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/15/c4d21debbf43616a4e2fc25c93257480.jpg","text":"TemporaryFile(/tmp/multipartBody3686404081811616719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792122633,"filename":"image_05112025_14_36_05_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/15/37fdbc9fde8db38b4782e71f3fb5d161.jpg","text":"TemporaryFile(/tmp/multipartBody2417689981907593629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792122633,"filename":"image_05112025_14_36_19_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/15/aaa978bd11f53dacb26c262b4e46f853.jpg","text":"TemporaryFile(/tmp/multipartBody1118112460050147135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792122633,"filename":"image_05112025_14_36_11_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399460914","file1":"1399460903","file0":"1399460882","file4":"1399460934","file5":"1399460935","file3":"1399460933"},"map_files_photo_id_array":[{"photo_id":"1399460935","filename":"file5"},{"photo_id":"1399460914","filename":"file2"},{"photo_id":"1399460934","filename":"file4"},{"photo_id":"1399460903","filename":"file1"},{"photo_id":"1399460882","filename":"file0"},{"photo_id":"1399460933","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399460935":["hashtag1","hashtag2"]},{"1399460914":["hashtag1","hashtag2"]},{"1399460934":["hashtag1","hashtag2"]},{"1399460882":["hashtag1","hashtag2"]},{"1399460933":["hashtag1","hashtag2"]},{"1399460903":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399460935, 1399460914, 1399460934, 1399460882, 1399460933, 1399460903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97354245185852 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 10:48:22.160083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/26/image_15122025_10_26_14_9806.jpg', '/home/pi/Desktop/images/15122025/10/26/image_15122025_10_26_24_9669.jpg', '/home/pi/Desktop/images/15122025/10/26/image_15122025_10_26_35_10639.jpg', '/home/pi/Desktop/images/15122025/10/26/image_15122025_10_26_44_9639.jpg', '/home/pi/Desktop/images/15122025/10/26/image_15122025_10_26_55_10576.jpg', '/home/pi/Desktop/images/15122025/10/26/image_15122025_10_27_05_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/26/image_15122025_10_26_14_9806.jpg
/home/pi/Desktop/images/15122025/10/26/image_15122025_10_26_24_9669.jpg
/home/pi/Desktop/images/15122025/10/26/image_15122025_10_26_35_10639.jpg
/home/pi/Desktop/images/15122025/10/26/image_15122025_10_26_44_9639.jpg
/home/pi/Desktop/images/15122025/10/26/image_15122025_10_26_55_10576.jpg
/home/pi/Desktop/images/15122025/10/26/image_15122025_10_27_05_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":["1399460947","1399460950","1399460943","1399460942","1399460945","1399460939"],"photo_ids_order":["1399460939","1399460942","1399460943","1399460945","1399460947","1399460950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/88e9d44d9cedf6572192fd3172b6c474.jpg","text":"TemporaryFile(/tmp/multipartBody8162776474091939600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792162781,"filename":"image_15122025_10_26_55_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/205d8d846f7ef339c1a9f1d89fedac65.jpg","text":"TemporaryFile(/tmp/multipartBody8243217514303271530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792162781,"filename":"image_15122025_10_27_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/15/520dcefef741556371396bd4ff1ad8fe.jpg","text":"TemporaryFile(/tmp/multipartBody1675134893981528216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792162781,"filename":"image_15122025_10_26_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/15/594315bdeb92dac4fdbb9c48abe6efdd.jpg","text":"TemporaryFile(/tmp/multipartBody7543050792548649179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792162781,"filename":"image_15122025_10_26_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/15/f3e7ff00c9e57b14555566b1a07dc1cf.jpg","text":"TemporaryFile(/tmp/multipartBody5415038013366708533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792162781,"filename":"image_15122025_10_26_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/15/a7db3c0ee762a3440bb24f12005792d1.jpg","text":"TemporaryFile(/tmp/multipartBody1543821741881457608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792162781,"filename":"image_15122025_10_26_14_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399460943","file1":"1399460942","file0":"1399460939","file4":"1399460947","file5":"1399460950","file3":"1399460945"},"map_files_photo_id_array":[{"photo_id":"1399460950","filename":"file5"},{"photo_id":"1399460943","filename":"file2"},{"photo_id":"1399460947","filename":"file4"},{"photo_id":"1399460942","filename":"file1"},{"photo_id":"1399460939","filename":"file0"},{"photo_id":"1399460945","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399460947":["hashtag1","hashtag2"]},{"1399460950":["hashtag1","hashtag2"]},{"1399460943":["hashtag1","hashtag2"]},{"1399460942":["hashtag1","hashtag2"]},{"1399460945":["hashtag1","hashtag2"]},{"1399460939":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399460947, 1399460950, 1399460943, 1399460942, 1399460945, 1399460939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18260645866394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 10:49:03.389341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/27/image_15122025_10_27_14_9699.jpg', '/home/pi/Desktop/images/15122025/10/27/image_15122025_10_27_24_9795.jpg', '/home/pi/Desktop/images/15122025/10/27/image_15122025_10_27_35_10809.jpg', '/home/pi/Desktop/images/15122025/10/27/image_15122025_10_27_44_9632.jpg', '/home/pi/Desktop/images/15122025/10/27/image_15122025_10_27_54_9622.jpg', '/home/pi/Desktop/images/15122025/10/27/image_15122025_10_28_04_9837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/27/image_15122025_10_27_14_9699.jpg
/home/pi/Desktop/images/15122025/10/27/image_15122025_10_27_24_9795.jpg
/home/pi/Desktop/images/15122025/10/27/image_15122025_10_27_35_10809.jpg
/home/pi/Desktop/images/15122025/10/27/image_15122025_10_27_44_9632.jpg
/home/pi/Desktop/images/15122025/10/27/image_15122025_10_27_54_9622.jpg
/home/pi/Desktop/images/15122025/10/27/image_15122025_10_28_04_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":["1399460980","1399460974","1399460976","1399460972","1399460984","1399460978"],"photo_ids_order":["1399460972","1399460974","1399460976","1399460978","1399460980","1399460984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/104c61f97f4a77ffe78ba0f9f94bca88.jpg","text":"TemporaryFile(/tmp/multipartBody5024358717584364082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792204176,"filename":"image_15122025_10_27_54_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/75168e437f05d275fec23cc724f65cfa.jpg","text":"TemporaryFile(/tmp/multipartBody4687840233276772164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792204176,"filename":"image_15122025_10_27_24_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dd5b1c89a27c4fb691b64fffee60aaaf.jpg","text":"TemporaryFile(/tmp/multipartBody8969022108502599423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792204176,"filename":"image_15122025_10_27_35_10809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/31582d41d7631f5ca0a21730ac7b0eaf.jpg","text":"TemporaryFile(/tmp/multipartBody8628037195747745638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792204176,"filename":"image_15122025_10_27_14_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/952955b873383bf66997b34abcb06e97.jpg","text":"TemporaryFile(/tmp/multipartBody5542876896034233674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792204176,"filename":"image_15122025_10_28_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/15/c2d4fecfb253d440c6993716ff999173.jpg","text":"TemporaryFile(/tmp/multipartBody5807502128201534296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792204176,"filename":"image_15122025_10_27_44_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399460976","file1":"1399460974","file0":"1399460972","file4":"1399460980","file5":"1399460984","file3":"1399460978"},"map_files_photo_id_array":[{"photo_id":"1399460984","filename":"file5"},{"photo_id":"1399460976","filename":"file2"},{"photo_id":"1399460980","filename":"file4"},{"photo_id":"1399460974","filename":"file1"},{"photo_id":"1399460972","filename":"file0"},{"photo_id":"1399460978","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399460980":["hashtag1","hashtag2"]},{"1399460974":["hashtag1","hashtag2"]},{"1399460976":["hashtag1","hashtag2"]},{"1399460972":["hashtag1","hashtag2"]},{"1399460984":["hashtag1","hashtag2"]},{"1399460978":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399460980, 1399460974, 1399460976, 1399460972, 1399460984, 1399460978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.648277044296265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 10:49:42.394465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_26_2781.jpg', '/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_28_2615.jpg', '/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_32_3667.jpg', '/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_35_2575.jpg', '/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_38_2895.jpg', '/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_40_2810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_26_2781.jpg
/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_28_2615.jpg
/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_32_3667.jpg
/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_35_2575.jpg
/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_38_2895.jpg
/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_40_2810.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399460995","1399460989","1399460994","1399460991","1399460993","1399460992"],"photo_ids_order":["1399460989","1399460991","1399460992","1399460993","1399460994","1399460995"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c7b88b94d2be1453abc76c8c4b5254e9.jpg","text":"TemporaryFile(/tmp/multipartBody7401088793591657858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792243100,"filename":"image_05112025_14_36_40_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/15/0e97000adb77df5d9a9f8abbff66dd93.jpg","text":"TemporaryFile(/tmp/multipartBody3923701770348488781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792243100,"filename":"image_05112025_14_36_26_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fad0c2cb02b562051598f80ee3aea0e9.jpg","text":"TemporaryFile(/tmp/multipartBody7570375625789646420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792243100,"filename":"image_05112025_14_36_38_2895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fc8be895ff9639d79c72ea71e1fd0c1d.jpg","text":"TemporaryFile(/tmp/multipartBody6787292164792798091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792243100,"filename":"image_05112025_14_36_28_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/15/cda7266a7d4fe65816babd766879fcb6.jpg","text":"TemporaryFile(/tmp/multipartBody4418493616503701562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792243100,"filename":"image_05112025_14_36_35_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/15/2d94200f6e3787984bd3b7c4cac941e4.jpg","text":"TemporaryFile(/tmp/multipartBody6666054499377972471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792243100,"filename":"image_05112025_14_36_32_3667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399460992","file1":"1399460991","file0":"1399460989","file4":"1399460994","file5":"1399460995","file3":"1399460993"},"map_files_photo_id_array":[{"photo_id":"1399460995","filename":"file5"},{"photo_id":"1399460992","filename":"file2"},{"photo_id":"1399460994","filename":"file4"},{"photo_id":"1399460991","filename":"file1"},{"photo_id":"1399460989","filename":"file0"},{"photo_id":"1399460993","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399460995":["hashtag1","hashtag2"]},{"1399460989":["hashtag1","hashtag2"]},{"1399460994":["hashtag1","hashtag2"]},{"1399460991":["hashtag1","hashtag2"]},{"1399460993":["hashtag1","hashtag2"]},{"1399460992":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399460995, 1399460989, 1399460994, 1399460991, 1399460993, 1399460992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.32147717475891 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 10:50:32.684391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 10:50:42.648861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_44_3703.jpg', '/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_47_2693.jpg', '/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_49_2586.jpg', '/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_53_3569.jpg', '/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_04_11151.jpg', '/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_06_1589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_44_3703.jpg
/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_47_2693.jpg
/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_49_2586.jpg
/home/pi/Desktop/images/05112025/14/36/image_05112025_14_36_53_3569.jpg
/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_04_11151.jpg
/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_06_1589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399461048","1399461033","1399461042","1399461032","1399461020","1399461034"],"photo_ids_order":["1399461020","1399461032","1399461033","1399461034","1399461042","1399461048"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/deb5b8f28cc758e2be255e9970ad703a.jpg","text":"TemporaryFile(/tmp/multipartBody9041507450754929423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792303362,"filename":"image_05112025_14_37_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/15/91ef646da450ebc65023d0d4b8092f45.jpg","text":"TemporaryFile(/tmp/multipartBody2932749251284020653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792303362,"filename":"image_05112025_14_36_49_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d64d4ec0eaa4a3d74c5a1269f8f3102f.jpg","text":"TemporaryFile(/tmp/multipartBody5838507331740851289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792303362,"filename":"image_05112025_14_37_04_11151.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9d02d49863880c3a3d29e651940900fd.jpg","text":"TemporaryFile(/tmp/multipartBody1272967261228043404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792303362,"filename":"image_05112025_14_36_47_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/15/58634fa0a08143c5502361df7cdf1272.jpg","text":"TemporaryFile(/tmp/multipartBody3198024329023300785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792303362,"filename":"image_05112025_14_36_44_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/348ef09be4c4e1f08530e378d616c731.jpg","text":"TemporaryFile(/tmp/multipartBody3898130030541703672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792303362,"filename":"image_05112025_14_36_53_3569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399461033","file1":"1399461032","file0":"1399461020","file4":"1399461042","file5":"1399461048","file3":"1399461034"},"map_files_photo_id_array":[{"photo_id":"1399461048","filename":"file5"},{"photo_id":"1399461033","filename":"file2"},{"photo_id":"1399461042","filename":"file4"},{"photo_id":"1399461032","filename":"file1"},{"photo_id":"1399461020","filename":"file0"},{"photo_id":"1399461034","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399461048":["hashtag1","hashtag2"]},{"1399461033":["hashtag1","hashtag2"]},{"1399461042":["hashtag1","hashtag2"]},{"1399461032":["hashtag1","hashtag2"]},{"1399461020":["hashtag1","hashtag2"]},{"1399461034":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399461048, 1399461033, 1399461042, 1399461032, 1399461020, 1399461034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87195825576782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 10:51:21.890007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/28/image_15122025_10_28_15_10713.jpg', '/home/pi/Desktop/images/15122025/10/28/image_15122025_10_28_24_9639.jpg', '/home/pi/Desktop/images/15122025/10/28/image_15122025_10_28_34_9689.jpg', '/home/pi/Desktop/images/15122025/10/28/image_15122025_10_28_45_10702.jpg', '/home/pi/Desktop/images/15122025/10/28/image_15122025_10_28_54_9707.jpg', '/home/pi/Desktop/images/15122025/10/28/image_15122025_10_29_04_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/28/image_15122025_10_28_15_10713.jpg
/home/pi/Desktop/images/15122025/10/28/image_15122025_10_28_24_9639.jpg
/home/pi/Desktop/images/15122025/10/28/image_15122025_10_28_34_9689.jpg
/home/pi/Desktop/images/15122025/10/28/image_15122025_10_28_45_10702.jpg
/home/pi/Desktop/images/15122025/10/28/image_15122025_10_28_54_9707.jpg
/home/pi/Desktop/images/15122025/10/28/image_15122025_10_29_04_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":["1399461058","1399461051","1399461053","1399461064","1399461061","1399461055"],"photo_ids_order":["1399461051","1399461053","1399461055","1399461058","1399461061","1399461064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/86578ab79eac798e3680f6d49b89621b.jpg","text":"TemporaryFile(/tmp/multipartBody3626246164778429134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792342498,"filename":"image_15122025_10_28_45_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/28047e33cbff404d6031f3f216e50b4a.jpg","text":"TemporaryFile(/tmp/multipartBody6491805140861038163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792342498,"filename":"image_15122025_10_28_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/15/208280835a1f349eae9692046952583f.jpg","text":"TemporaryFile(/tmp/multipartBody4264473491168394544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792342498,"filename":"image_15122025_10_28_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/15/4e42cfef53ef1f8b98a6447e48431381.jpg","text":"TemporaryFile(/tmp/multipartBody180951913956367557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792342498,"filename":"image_15122025_10_29_04_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ac6ea8747ff5c2bf3677f18888bb2795.jpg","text":"TemporaryFile(/tmp/multipartBody274168042939177379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792342498,"filename":"image_15122025_10_28_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/15/de9953aea290009621feafb2742fc0f2.jpg","text":"TemporaryFile(/tmp/multipartBody4438070945051552086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792342498,"filename":"image_15122025_10_28_34_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399461055","file1":"1399461053","file0":"1399461051","file4":"1399461061","file5":"1399461064","file3":"1399461058"},"map_files_photo_id_array":[{"photo_id":"1399461064","filename":"file5"},{"photo_id":"1399461055","filename":"file2"},{"photo_id":"1399461061","filename":"file4"},{"photo_id":"1399461053","filename":"file1"},{"photo_id":"1399461051","filename":"file0"},{"photo_id":"1399461058","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399461058":["hashtag1","hashtag2"]},{"1399461051":["hashtag1","hashtag2"]},{"1399461053":["hashtag1","hashtag2"]},{"1399461064":["hashtag1","hashtag2"]},{"1399461061":["hashtag1","hashtag2"]},{"1399461055":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399461058, 1399461051, 1399461053, 1399461064, 1399461061, 1399461055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06471514701843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 10:52:02.631387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/29/image_15122025_10_29_14_9802.jpg', '/home/pi/Desktop/images/15122025/10/29/image_15122025_10_29_25_10824.jpg', '/home/pi/Desktop/images/15122025/10/29/image_15122025_10_29_34_9723.jpg', '/home/pi/Desktop/images/15122025/10/29/image_15122025_10_29_44_9725.jpg', '/home/pi/Desktop/images/15122025/10/29/image_15122025_10_29_55_10693.jpg', '/home/pi/Desktop/images/15122025/10/30/image_15122025_10_30_15_10056.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/29/image_15122025_10_29_14_9802.jpg
/home/pi/Desktop/images/15122025/10/29/image_15122025_10_29_25_10824.jpg
/home/pi/Desktop/images/15122025/10/29/image_15122025_10_29_34_9723.jpg
/home/pi/Desktop/images/15122025/10/29/image_15122025_10_29_44_9725.jpg
/home/pi/Desktop/images/15122025/10/29/image_15122025_10_29_55_10693.jpg
/home/pi/Desktop/images/15122025/10/30/image_15122025_10_30_15_10056.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399461075","1399461069","1399461080","1399461077","1399461071","1399461073"],"photo_ids_order":["1399461069","1399461071","1399461073","1399461075","1399461077","1399461080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2d48e2292ac7c831227e47933fc8f8c5.jpg","text":"TemporaryFile(/tmp/multipartBody1273639633869265816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792383286,"filename":"image_15122025_10_29_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/15/ff185e5f756f929d803ca6c22db65d01.jpg","text":"TemporaryFile(/tmp/multipartBody3654368022219194587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792383286,"filename":"image_15122025_10_29_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/15/8c256fb25d3b03b1789b3ccbfc8fc0cc.jpg","text":"TemporaryFile(/tmp/multipartBody3262760022745766548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792383286,"filename":"image_15122025_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/15/80b259d1d320ff4f302b8d9eabbd4ca6.jpg","text":"TemporaryFile(/tmp/multipartBody2940644849967717264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792383286,"filename":"image_15122025_10_29_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/15/13c319738fb3a1fc4581dda85fb86467.jpg","text":"TemporaryFile(/tmp/multipartBody8413441730919311883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792383286,"filename":"image_15122025_10_29_25_10824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fe034265133d6283c58c9dffc53611ab.jpg","text":"TemporaryFile(/tmp/multipartBody9069658606020466677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792383286,"filename":"image_15122025_10_29_34_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399461073","file1":"1399461071","file0":"1399461069","file4":"1399461077","file5":"1399461080","file3":"1399461075"},"map_files_photo_id_array":[{"photo_id":"1399461080","filename":"file5"},{"photo_id":"1399461073","filename":"file2"},{"photo_id":"1399461077","filename":"file4"},{"photo_id":"1399461071","filename":"file1"},{"photo_id":"1399461069","filename":"file0"},{"photo_id":"1399461075","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399461075":["hashtag1","hashtag2"]},{"1399461069":["hashtag1","hashtag2"]},{"1399461080":["hashtag1","hashtag2"]},{"1399461077":["hashtag1","hashtag2"]},{"1399461071":["hashtag1","hashtag2"]},{"1399461073":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399461075, 1399461069, 1399461080, 1399461077, 1399461071, 1399461073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.213202476501465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 10:52:42.126301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_07_1547.jpg', '/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_09_1739.jpg', '/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_11_1612.jpg', '/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_12_1728.jpg', '/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_14_1705.jpg', '/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_17_2734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_07_1547.jpg
/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_09_1739.jpg
/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_11_1612.jpg
/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_12_1728.jpg
/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_14_1705.jpg
/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_17_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":["1399461093","1399461096","1399461084","1399461095","1399461097","1399461094"],"photo_ids_order":["1399461084","1399461093","1399461094","1399461095","1399461096","1399461097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3aaf332f199350096e02b147408c9f8e.jpg","text":"TemporaryFile(/tmp/multipartBody4325730084350048949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792422835,"filename":"image_05112025_14_37_09_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/15/f86dd330f6639f9fb8df1989203ee78c.jpg","text":"TemporaryFile(/tmp/multipartBody797780932412209428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792422835,"filename":"image_05112025_14_37_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/15/3074aaebdcd7779d2e6aaa4a36c55305.jpg","text":"TemporaryFile(/tmp/multipartBody4811023616047809291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792422835,"filename":"image_05112025_14_37_07_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/15/ee5330b264b41f9836430bf36eaa28f9.jpg","text":"TemporaryFile(/tmp/multipartBody2697741183444484299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792422835,"filename":"image_05112025_14_37_12_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/15/6b54c49c20058285cb9e025a3f1c0767.jpg","text":"TemporaryFile(/tmp/multipartBody2434236957057286896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792422835,"filename":"image_05112025_14_37_17_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/15/522aa8865164fe08cebac80619ddab88.jpg","text":"TemporaryFile(/tmp/multipartBody6826985727067928061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792422835,"filename":"image_05112025_14_37_11_1612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399461094","file1":"1399461093","file0":"1399461084","file4":"1399461096","file5":"1399461097","file3":"1399461095"},"map_files_photo_id_array":[{"photo_id":"1399461097","filename":"file5"},{"photo_id":"1399461094","filename":"file2"},{"photo_id":"1399461096","filename":"file4"},{"photo_id":"1399461093","filename":"file1"},{"photo_id":"1399461084","filename":"file0"},{"photo_id":"1399461095","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399461093":["hashtag1","hashtag2"]},{"1399461096":["hashtag1","hashtag2"]},{"1399461084":["hashtag1","hashtag2"]},{"1399461095":["hashtag1","hashtag2"]},{"1399461097":["hashtag1","hashtag2"]},{"1399461094":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399461093, 1399461096, 1399461084, 1399461095, 1399461097, 1399461094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.06394028663635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 10:53:22.407086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/30/image_15122025_10_30_25_10882.jpg', '/home/pi/Desktop/images/15122025/10/30/image_15122025_10_30_35_9622.jpg', '/home/pi/Desktop/images/15122025/10/30/image_15122025_10_31_06_10911.jpg', '/home/pi/Desktop/images/15122025/10/31/image_15122025_10_31_15_9765.jpg', '/home/pi/Desktop/images/15122025/10/31/image_15122025_10_31_35_9736.jpg', '/home/pi/Desktop/images/15122025/10/31/image_15122025_10_31_46_10755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/30/image_15122025_10_30_25_10882.jpg
/home/pi/Desktop/images/15122025/10/30/image_15122025_10_30_35_9622.jpg
/home/pi/Desktop/images/15122025/10/30/image_15122025_10_31_06_10911.jpg
/home/pi/Desktop/images/15122025/10/31/image_15122025_10_31_15_9765.jpg
/home/pi/Desktop/images/15122025/10/31/image_15122025_10_31_35_9736.jpg
/home/pi/Desktop/images/15122025/10/31/image_15122025_10_31_46_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":["1399461103","1399461106","1399461108","1399461116","1399461110","1399461113"],"photo_ids_order":["1399461103","1399461106","1399461108","1399461110","1399461113","1399461116"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9c15d68b46aaa29838a588eff68952f6.jpg","text":"TemporaryFile(/tmp/multipartBody3279447754939258741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792463024,"filename":"image_15122025_10_30_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/15/1edde730532cb8d91656f0d3368806aa.jpg","text":"TemporaryFile(/tmp/multipartBody160630537891264161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792463024,"filename":"image_15122025_10_30_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/15/71b085d8c30c12bae334843c02b489af.jpg","text":"TemporaryFile(/tmp/multipartBody6820432350560602152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792463024,"filename":"image_15122025_10_31_06_10911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0956c69da9ff37cfe77b2a89f00a735e.jpg","text":"TemporaryFile(/tmp/multipartBody9161930878911566695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792463024,"filename":"image_15122025_10_31_46_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/15/459c5d58f5496aabe5514d7f9d479e56.jpg","text":"TemporaryFile(/tmp/multipartBody3017421595254274787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792463024,"filename":"image_15122025_10_31_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/15/019795e0fe493c8c6a43560c193a394d.jpg","text":"TemporaryFile(/tmp/multipartBody3074576892774370642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792463024,"filename":"image_15122025_10_31_35_9736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399461108","file1":"1399461106","file0":"1399461103","file4":"1399461113","file5":"1399461116","file3":"1399461110"},"map_files_photo_id_array":[{"photo_id":"1399461116","filename":"file5"},{"photo_id":"1399461108","filename":"file2"},{"photo_id":"1399461113","filename":"file4"},{"photo_id":"1399461106","filename":"file1"},{"photo_id":"1399461103","filename":"file0"},{"photo_id":"1399461110","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399461103":["hashtag1","hashtag2"]},{"1399461106":["hashtag1","hashtag2"]},{"1399461108":["hashtag1","hashtag2"]},{"1399461116":["hashtag1","hashtag2"]},{"1399461110":["hashtag1","hashtag2"]},{"1399461113":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399461103, 1399461106, 1399461108, 1399461116, 1399461110, 1399461113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.498547077178955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 10:54:03.252205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/31/image_15122025_10_31_55_9590.jpg', '/home/pi/Desktop/images/15122025/10/31/image_15122025_10_32_05_9833.jpg', '/home/pi/Desktop/images/15122025/10/32/image_15122025_10_32_15_9789.jpg', '/home/pi/Desktop/images/15122025/10/32/image_15122025_10_32_25_10636.jpg', '/home/pi/Desktop/images/15122025/10/32/image_15122025_10_32_35_9761.jpg', '/home/pi/Desktop/images/15122025/10/32/image_15122025_10_32_45_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/31/image_15122025_10_31_55_9590.jpg
/home/pi/Desktop/images/15122025/10/31/image_15122025_10_32_05_9833.jpg
/home/pi/Desktop/images/15122025/10/32/image_15122025_10_32_15_9789.jpg
/home/pi/Desktop/images/15122025/10/32/image_15122025_10_32_25_10636.jpg
/home/pi/Desktop/images/15122025/10/32/image_15122025_10_32_35_9761.jpg
/home/pi/Desktop/images/15122025/10/32/image_15122025_10_32_45_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":["1399461130","1399461124","1399461126","1399461122","1399461128","1399461133"],"photo_ids_order":["1399461122","1399461124","1399461126","1399461128","1399461130","1399461133"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8b3ba9db95b3ca82505e7af358c249fb.jpg","text":"TemporaryFile(/tmp/multipartBody1408653638540324093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792503956,"filename":"image_15122025_10_32_35_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/51682062c450ce0a66fea20a3428c9a6.jpg","text":"TemporaryFile(/tmp/multipartBody4697089146696608205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792503956,"filename":"image_15122025_10_32_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/15/87bb5bb4cf7c55d1ae6605320d05668e.jpg","text":"TemporaryFile(/tmp/multipartBody8927762886207846887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792503956,"filename":"image_15122025_10_32_15_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f62cab03eba9626cd1f9636005334b18.jpg","text":"TemporaryFile(/tmp/multipartBody6898855104005207341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792503956,"filename":"image_15122025_10_31_55_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/15/2a0d37b72f632108259b584eeece1b80.jpg","text":"TemporaryFile(/tmp/multipartBody4884818093610100869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792503956,"filename":"image_15122025_10_32_25_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/19b4c22b644ad8f91e6604b957eaff34.jpg","text":"TemporaryFile(/tmp/multipartBody4829838917330953748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792503956,"filename":"image_15122025_10_32_45_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399461126","file1":"1399461124","file0":"1399461122","file4":"1399461130","file5":"1399461133","file3":"1399461128"},"map_files_photo_id_array":[{"photo_id":"1399461133","filename":"file5"},{"photo_id":"1399461126","filename":"file2"},{"photo_id":"1399461130","filename":"file4"},{"photo_id":"1399461124","filename":"file1"},{"photo_id":"1399461122","filename":"file0"},{"photo_id":"1399461128","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399461130":["hashtag1","hashtag2"]},{"1399461124":["hashtag1","hashtag2"]},{"1399461126":["hashtag1","hashtag2"]},{"1399461122":["hashtag1","hashtag2"]},{"1399461128":["hashtag1","hashtag2"]},{"1399461133":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399461130, 1399461124, 1399461126, 1399461122, 1399461128, 1399461133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.853336811065674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 10:54:42.619351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_19_2725.jpg', '/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_23_3371.jpg', '/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_25_2581.jpg', '/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_29_3621.jpg', '/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_32_2663.jpg', '/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_34_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_19_2725.jpg
/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_23_3371.jpg
/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_25_2581.jpg
/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_29_3621.jpg
/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_32_2663.jpg
/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_34_2635.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6000432968139648 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 10:55:02.575038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/32/image_15122025_10_32_55_9763.jpg', '/home/pi/Desktop/images/15122025/10/32/image_15122025_10_33_05_10659.jpg', '/home/pi/Desktop/images/15122025/10/33/image_15122025_10_33_15_9678.jpg', '/home/pi/Desktop/images/15122025/10/33/image_15122025_10_33_25_9783.jpg', '/home/pi/Desktop/images/15122025/10/33/image_15122025_10_33_35_10668.jpg', '/home/pi/Desktop/images/15122025/10/33/image_15122025_10_33_45_9876.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/32/image_15122025_10_32_55_9763.jpg
/home/pi/Desktop/images/15122025/10/32/image_15122025_10_33_05_10659.jpg
/home/pi/Desktop/images/15122025/10/33/image_15122025_10_33_15_9678.jpg
/home/pi/Desktop/images/15122025/10/33/image_15122025_10_33_25_9783.jpg
/home/pi/Desktop/images/15122025/10/33/image_15122025_10_33_35_10668.jpg
/home/pi/Desktop/images/15122025/10/33/image_15122025_10_33_45_9876.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399461156","1399461150","1399461153","1399461155","1399461149","1399461158"],"photo_ids_order":["1399461149","1399461150","1399461153","1399461155","1399461156","1399461158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/08c999516ff84f5d43a42adb227d532c.jpg","text":"TemporaryFile(/tmp/multipartBody990399001584581142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792563270,"filename":"image_15122025_10_33_35_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/42988ab6f58284737c8df6bd65121df5.jpg","text":"TemporaryFile(/tmp/multipartBody3386114681993440958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792563270,"filename":"image_15122025_10_33_05_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9111cefa25ce14780c80fbd5446ef612.jpg","text":"TemporaryFile(/tmp/multipartBody5247359052518569192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792563270,"filename":"image_15122025_10_33_15_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4d86df4b8de4bff978af5c46479a3f7e.jpg","text":"TemporaryFile(/tmp/multipartBody9104830754772452888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792563270,"filename":"image_15122025_10_33_25_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8042f2ec19fd2e9c1a4a739c22f076a7.jpg","text":"TemporaryFile(/tmp/multipartBody3163889124745323883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792563270,"filename":"image_15122025_10_32_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/15/fcca14e236b7aa0609473af8282b0fe5.jpg","text":"TemporaryFile(/tmp/multipartBody7031146998293859301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792563270,"filename":"image_15122025_10_33_45_9876.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399461153","file1":"1399461150","file0":"1399461149","file4":"1399461156","file5":"1399461158","file3":"1399461155"},"map_files_photo_id_array":[{"photo_id":"1399461158","filename":"file5"},{"photo_id":"1399461153","filename":"file2"},{"photo_id":"1399461156","filename":"file4"},{"photo_id":"1399461150","filename":"file1"},{"photo_id":"1399461149","filename":"file0"},{"photo_id":"1399461155","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399461156":["hashtag1","hashtag2"]},{"1399461150":["hashtag1","hashtag2"]},{"1399461153":["hashtag1","hashtag2"]},{"1399461155":["hashtag1","hashtag2"]},{"1399461149":["hashtag1","hashtag2"]},{"1399461158":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399461156, 1399461150, 1399461153, 1399461155, 1399461149, 1399461158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03525638580322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 10:55:41.821656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_19_2725.jpg', '/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_23_3371.jpg', '/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_25_2581.jpg', '/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_29_3621.jpg', '/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_32_2663.jpg', '/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_34_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_19_2725.jpg
/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_23_3371.jpg
/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_25_2581.jpg
/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_29_3621.jpg
/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_32_2663.jpg
/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_34_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":["1399461168","1399461165","1399461167","1399461163","1399461166","1399461169"],"photo_ids_order":["1399461163","1399461165","1399461166","1399461167","1399461168","1399461169"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/082efea7bd4ca02665a3b738ef4546eb.jpg","text":"TemporaryFile(/tmp/multipartBody1976907110997048226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792602413,"filename":"image_05112025_14_37_32_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/15/1022068e26a26f094d60b936d2216b54.jpg","text":"TemporaryFile(/tmp/multipartBody8579925394185926124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792602413,"filename":"image_05112025_14_37_23_3371.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3dba6166c33b54782f7f90c6b6048c88.jpg","text":"TemporaryFile(/tmp/multipartBody6354363295767623360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792602413,"filename":"image_05112025_14_37_29_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/52b01a18e2969189da537b4a63c29fc6.jpg","text":"TemporaryFile(/tmp/multipartBody7394310001165409505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792602413,"filename":"image_05112025_14_37_19_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/15/7ae1d36ad442d36ad3f3719884754220.jpg","text":"TemporaryFile(/tmp/multipartBody2528373617683844947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792602413,"filename":"image_05112025_14_37_25_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fb8b1c5794890057c8221e3b4d1c446b.jpg","text":"TemporaryFile(/tmp/multipartBody7578039446930593511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792602413,"filename":"image_05112025_14_37_34_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399461166","file1":"1399461165","file0":"1399461163","file4":"1399461168","file5":"1399461169","file3":"1399461167"},"map_files_photo_id_array":[{"photo_id":"1399461169","filename":"file5"},{"photo_id":"1399461166","filename":"file2"},{"photo_id":"1399461168","filename":"file4"},{"photo_id":"1399461165","filename":"file1"},{"photo_id":"1399461163","filename":"file0"},{"photo_id":"1399461167","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399461168":["hashtag1","hashtag2"]},{"1399461165":["hashtag1","hashtag2"]},{"1399461167":["hashtag1","hashtag2"]},{"1399461163":["hashtag1","hashtag2"]},{"1399461166":["hashtag1","hashtag2"]},{"1399461169":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399461168, 1399461165, 1399461167, 1399461163, 1399461166, 1399461169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.214231967926025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 10:56:22.066766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/33/image_15122025_10_33_55_9702.jpg', '/home/pi/Desktop/images/15122025/10/33/image_15122025_10_34_05_9712.jpg', '/home/pi/Desktop/images/15122025/10/34/image_15122025_10_34_15_10693.jpg', '/home/pi/Desktop/images/15122025/10/34/image_15122025_10_34_25_9602.jpg', '/home/pi/Desktop/images/15122025/10/34/image_15122025_10_34_35_9753.jpg', '/home/pi/Desktop/images/15122025/10/34/image_15122025_10_34_45_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/33/image_15122025_10_33_55_9702.jpg
/home/pi/Desktop/images/15122025/10/33/image_15122025_10_34_05_9712.jpg
/home/pi/Desktop/images/15122025/10/34/image_15122025_10_34_15_10693.jpg
/home/pi/Desktop/images/15122025/10/34/image_15122025_10_34_25_9602.jpg
/home/pi/Desktop/images/15122025/10/34/image_15122025_10_34_35_9753.jpg
/home/pi/Desktop/images/15122025/10/34/image_15122025_10_34_45_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":["1399461180","1399461174","1399461183","1399461177","1399461185","1399461188"],"photo_ids_order":["1399461174","1399461177","1399461180","1399461183","1399461185","1399461188"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/af60f97188815938345db7ac63571317.jpg","text":"TemporaryFile(/tmp/multipartBody5334583921372059215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792642697,"filename":"image_15122025_10_34_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/15/264f832f7fcbc8a310aee38d76bfd7ec.jpg","text":"TemporaryFile(/tmp/multipartBody5656505083026559768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792642697,"filename":"image_15122025_10_33_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/15/a7438227d298c846b851c471180b880d.jpg","text":"TemporaryFile(/tmp/multipartBody8933318930584971540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792642697,"filename":"image_15122025_10_34_25_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/15/673b8783b1c30217be98e9bd103cc1dd.jpg","text":"TemporaryFile(/tmp/multipartBody4985475009615144982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792642697,"filename":"image_15122025_10_34_05_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3207712974543daf99589412042fd11e.jpg","text":"TemporaryFile(/tmp/multipartBody4479435418460400610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792642697,"filename":"image_15122025_10_34_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/15/56d31b3b159285553ac2c5fc9be3981b.jpg","text":"TemporaryFile(/tmp/multipartBody5162478553781313617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792642697,"filename":"image_15122025_10_34_45_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399461180","file1":"1399461177","file0":"1399461174","file4":"1399461185","file5":"1399461188","file3":"1399461183"},"map_files_photo_id_array":[{"photo_id":"1399461188","filename":"file5"},{"photo_id":"1399461180","filename":"file2"},{"photo_id":"1399461185","filename":"file4"},{"photo_id":"1399461177","filename":"file1"},{"photo_id":"1399461174","filename":"file0"},{"photo_id":"1399461183","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399461180":["hashtag1","hashtag2"]},{"1399461174":["hashtag1","hashtag2"]},{"1399461183":["hashtag1","hashtag2"]},{"1399461177":["hashtag1","hashtag2"]},{"1399461185":["hashtag1","hashtag2"]},{"1399461188":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399461180, 1399461174, 1399461183, 1399461177, 1399461185, 1399461188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.8973433971405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 10:57:02.948788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/34/image_15122025_10_34_55_10765.jpg', '/home/pi/Desktop/images/15122025/10/35/image_15122025_10_35_14_10055.jpg', '/home/pi/Desktop/images/15122025/10/35/image_15122025_10_35_25_10870.jpg', '/home/pi/Desktop/images/15122025/10/35/image_15122025_10_35_35_9688.jpg', '/home/pi/Desktop/images/15122025/10/35/image_15122025_10_35_45_9685.jpg', '/home/pi/Desktop/images/15122025/10/35/image_15122025_10_35_54_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/34/image_15122025_10_34_55_10765.jpg
/home/pi/Desktop/images/15122025/10/35/image_15122025_10_35_14_10055.jpg
/home/pi/Desktop/images/15122025/10/35/image_15122025_10_35_25_10870.jpg
/home/pi/Desktop/images/15122025/10/35/image_15122025_10_35_35_9688.jpg
/home/pi/Desktop/images/15122025/10/35/image_15122025_10_35_45_9685.jpg
/home/pi/Desktop/images/15122025/10/35/image_15122025_10_35_54_9738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399461198","1399461191","1399461194","1399461203","1399461196","1399461200"],"photo_ids_order":["1399461191","1399461194","1399461196","1399461198","1399461200","1399461203"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4b29af186b2d3fbec37c504e59e34c70.jpg","text":"TemporaryFile(/tmp/multipartBody1207214187780063404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792683632,"filename":"image_15122025_10_35_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/15/37ffd15e5b1b3002705152318963a996.jpg","text":"TemporaryFile(/tmp/multipartBody3848241991412023177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792683632,"filename":"image_15122025_10_34_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/15/4088da3e2d1c6e20f0efcff4483d8cd0.jpg","text":"TemporaryFile(/tmp/multipartBody3286239664085994596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792683632,"filename":"image_15122025_10_35_14_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/abae53b082522b79a9686350b3e94af7.jpg","text":"TemporaryFile(/tmp/multipartBody8632978635138622404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792683632,"filename":"image_15122025_10_35_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/15/5e5a34c0a5bcc92aeb406591f8a245f5.jpg","text":"TemporaryFile(/tmp/multipartBody4780281168064503229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792683632,"filename":"image_15122025_10_35_25_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/15/ce3549a5fdc503163038c44b80e55bad.jpg","text":"TemporaryFile(/tmp/multipartBody1890395310267592597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792683632,"filename":"image_15122025_10_35_45_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399461196","file1":"1399461194","file0":"1399461191","file4":"1399461200","file5":"1399461203","file3":"1399461198"},"map_files_photo_id_array":[{"photo_id":"1399461203","filename":"file5"},{"photo_id":"1399461196","filename":"file2"},{"photo_id":"1399461200","filename":"file4"},{"photo_id":"1399461194","filename":"file1"},{"photo_id":"1399461191","filename":"file0"},{"photo_id":"1399461198","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399461198":["hashtag1","hashtag2"]},{"1399461191":["hashtag1","hashtag2"]},{"1399461194":["hashtag1","hashtag2"]},{"1399461203":["hashtag1","hashtag2"]},{"1399461196":["hashtag1","hashtag2"]},{"1399461200":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399461198, 1399461191, 1399461194, 1399461203, 1399461196, 1399461200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53189539909363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 10:57:42.243708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_38_3564.jpg', '/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_41_2812.jpg', '/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_46_5748.jpg', '/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_50_3292.jpg', '/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_51_1662.jpg', '/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_54_2959.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_38_3564.jpg
/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_41_2812.jpg
/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_46_5748.jpg
/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_50_3292.jpg
/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_51_1662.jpg
/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_54_2959.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399461214","1399461208","1399461211","1399461210","1399461213","1399461212"],"photo_ids_order":["1399461208","1399461210","1399461211","1399461212","1399461213","1399461214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/33b189f143690107709515abaf17fbd8.jpg","text":"TemporaryFile(/tmp/multipartBody3103541137199390317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792722980,"filename":"image_05112025_14_37_54_2959.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d97881dc149ac7e58e976526528ec440.jpg","text":"TemporaryFile(/tmp/multipartBody6682102928068750460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792722980,"filename":"image_05112025_14_37_38_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/15/81a0247778373732b7fbfebe73e30349.jpg","text":"TemporaryFile(/tmp/multipartBody464216724070700937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792722980,"filename":"image_05112025_14_37_46_5748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/85b21d86d0f8e13b85192fc674b6c36f.jpg","text":"TemporaryFile(/tmp/multipartBody658789567751573603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792722980,"filename":"image_05112025_14_37_41_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/15/cf9f49113ed67295c84b40dc3a5eefc9.jpg","text":"TemporaryFile(/tmp/multipartBody5571452327599674321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792722980,"filename":"image_05112025_14_37_51_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/15/f7086fe62acec316373db60bcc2bfdde.jpg","text":"TemporaryFile(/tmp/multipartBody8270857882946745736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792722980,"filename":"image_05112025_14_37_50_3292.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399461211","file1":"1399461210","file0":"1399461208","file4":"1399461213","file5":"1399461214","file3":"1399461212"},"map_files_photo_id_array":[{"photo_id":"1399461214","filename":"file5"},{"photo_id":"1399461211","filename":"file2"},{"photo_id":"1399461213","filename":"file4"},{"photo_id":"1399461210","filename":"file1"},{"photo_id":"1399461208","filename":"file0"},{"photo_id":"1399461212","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399461214":["hashtag1","hashtag2"]},{"1399461208":["hashtag1","hashtag2"]},{"1399461211":["hashtag1","hashtag2"]},{"1399461210":["hashtag1","hashtag2"]},{"1399461213":["hashtag1","hashtag2"]},{"1399461212":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399461214, 1399461208, 1399461211, 1399461210, 1399461213, 1399461212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.59716987609863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 10:59:03.518699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/35/image_15122025_10_36_05_10781.jpg', '/home/pi/Desktop/images/15122025/10/36/image_15122025_10_36_15_9607.jpg', '/home/pi/Desktop/images/15122025/10/36/image_15122025_10_36_24_9576.jpg', '/home/pi/Desktop/images/15122025/10/36/image_15122025_10_36_35_10742.jpg', '/home/pi/Desktop/images/15122025/10/36/image_15122025_10_36_45_9673.jpg', '/home/pi/Desktop/images/15122025/10/36/image_15122025_10_36_54_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/35/image_15122025_10_36_05_10781.jpg
/home/pi/Desktop/images/15122025/10/36/image_15122025_10_36_15_9607.jpg
/home/pi/Desktop/images/15122025/10/36/image_15122025_10_36_24_9576.jpg
/home/pi/Desktop/images/15122025/10/36/image_15122025_10_36_35_10742.jpg
/home/pi/Desktop/images/15122025/10/36/image_15122025_10_36_45_9673.jpg
/home/pi/Desktop/images/15122025/10/36/image_15122025_10_36_54_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":["1399461555","1399461593","1399461671","1399461710","1399461748","1399461634"],"photo_ids_order":["1399461555","1399461593","1399461634","1399461671","1399461710","1399461748"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f1276d9f957252863c008aee2977716f.jpg","text":"TemporaryFile(/tmp/multipartBody8968269864016637524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792804365,"filename":"image_15122025_10_36_05_10781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a387bf64a569ca5f21655f49c8f6df9d.jpg","text":"TemporaryFile(/tmp/multipartBody1255028900970382730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792804365,"filename":"image_15122025_10_36_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/15/ff2eea6e6541dc298352814f8aa997b5.jpg","text":"TemporaryFile(/tmp/multipartBody7062502518230587168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792804365,"filename":"image_15122025_10_36_35_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/10f14bec25dbaaa3dbc1aaf65a41f338.jpg","text":"TemporaryFile(/tmp/multipartBody3900360053473756654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792804365,"filename":"image_15122025_10_36_45_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c83bb46cf9316aa7b53f2b990db26304.jpg","text":"TemporaryFile(/tmp/multipartBody8900389562042063501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792804365,"filename":"image_15122025_10_36_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/15/f09e380b9da10b28906e6ee3a77648c6.jpg","text":"TemporaryFile(/tmp/multipartBody5440693223567730584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792804365,"filename":"image_15122025_10_36_24_9576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399461634","file1":"1399461593","file0":"1399461555","file4":"1399461710","file5":"1399461748","file3":"1399461671"},"map_files_photo_id_array":[{"photo_id":"1399461748","filename":"file5"},{"photo_id":"1399461634","filename":"file2"},{"photo_id":"1399461710","filename":"file4"},{"photo_id":"1399461593","filename":"file1"},{"photo_id":"1399461555","filename":"file0"},{"photo_id":"1399461671","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399461555":["hashtag1","hashtag2"]},{"1399461593":["hashtag1","hashtag2"]},{"1399461671":["hashtag1","hashtag2"]},{"1399461710":["hashtag1","hashtag2"]},{"1399461748":["hashtag1","hashtag2"]},{"1399461634":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399461555, 1399461593, 1399461671, 1399461710, 1399461748, 1399461634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.733640909194946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 10:59:42.679010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_56_1547.jpg', '/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_58_2548.jpg', '/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_01_2789.jpg', '/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_05_3764.jpg', '/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_08_2738.jpg', '/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_10_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_56_1547.jpg
/home/pi/Desktop/images/05112025/14/37/image_05112025_14_37_58_2548.jpg
/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_01_2789.jpg
/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_05_3764.jpg
/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_08_2738.jpg
/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_10_2642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399461844","1399461849","1399461848","1399461845","1399461841","1399461835"],"photo_ids_order":["1399461835","1399461841","1399461844","1399461845","1399461848","1399461849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f20de5afddb0db8423d84803e41f581a.jpg","text":"TemporaryFile(/tmp/multipartBody7745989997128614771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792843389,"filename":"image_05112025_14_38_01_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/15/914fe53d630f601b8e9c8168bdd588f1.jpg","text":"TemporaryFile(/tmp/multipartBody8520519053885070842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792843389,"filename":"image_05112025_14_38_10_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/15/1ff3db11732e99eda743b43fb8a404ad.jpg","text":"TemporaryFile(/tmp/multipartBody7410723174763401396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792843389,"filename":"image_05112025_14_38_08_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/070085a36818adc8e93382a086b8f58a.jpg","text":"TemporaryFile(/tmp/multipartBody2852149794539785833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792843389,"filename":"image_05112025_14_38_05_3764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f0c8ec22dbbe3d6ac83c0a93563fc381.jpg","text":"TemporaryFile(/tmp/multipartBody4273666296719721975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792843389,"filename":"image_05112025_14_37_58_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/15/5c86ef04022e8a484aabd628f95467fe.jpg","text":"TemporaryFile(/tmp/multipartBody5983325451351533808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792843389,"filename":"image_05112025_14_37_56_1547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399461844","file1":"1399461841","file0":"1399461835","file4":"1399461848","file5":"1399461849","file3":"1399461845"},"map_files_photo_id_array":[{"photo_id":"1399461849","filename":"file5"},{"photo_id":"1399461844","filename":"file2"},{"photo_id":"1399461848","filename":"file4"},{"photo_id":"1399461841","filename":"file1"},{"photo_id":"1399461835","filename":"file0"},{"photo_id":"1399461845","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399461844":["hashtag1","hashtag2"]},{"1399461849":["hashtag1","hashtag2"]},{"1399461848":["hashtag1","hashtag2"]},{"1399461845":["hashtag1","hashtag2"]},{"1399461841":["hashtag1","hashtag2"]},{"1399461835":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399461844, 1399461849, 1399461848, 1399461845, 1399461841, 1399461835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.417481899261475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 11:00:21.983408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/36/image_15122025_10_37_05_10653.jpg', '/home/pi/Desktop/images/15122025/10/37/image_15122025_10_37_15_9727.jpg', '/home/pi/Desktop/images/15122025/10/37/image_15122025_10_37_24_9588.jpg', '/home/pi/Desktop/images/15122025/10/37/image_15122025_10_37_35_10763.jpg', '/home/pi/Desktop/images/15122025/10/37/image_15122025_10_37_45_9614.jpg', '/home/pi/Desktop/images/15122025/10/37/image_15122025_10_37_54_9753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/36/image_15122025_10_37_05_10653.jpg
/home/pi/Desktop/images/15122025/10/37/image_15122025_10_37_15_9727.jpg
/home/pi/Desktop/images/15122025/10/37/image_15122025_10_37_24_9588.jpg
/home/pi/Desktop/images/15122025/10/37/image_15122025_10_37_35_10763.jpg
/home/pi/Desktop/images/15122025/10/37/image_15122025_10_37_45_9614.jpg
/home/pi/Desktop/images/15122025/10/37/image_15122025_10_37_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":["1399462155","1399462023","1399462070","1399461933","1399462115","1399461973"],"photo_ids_order":["1399461933","1399461973","1399462023","1399462070","1399462115","1399462155"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3c8af8506d935206f3c4c67f282a512d.jpg","text":"TemporaryFile(/tmp/multipartBody8452225861462973273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792882602,"filename":"image_15122025_10_37_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/15/2bb2d33d5a938861f350a23b71a897ad.jpg","text":"TemporaryFile(/tmp/multipartBody4946728490000674294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792882602,"filename":"image_15122025_10_37_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/15/c215232fc9a0c7c2f258e09a2179671a.jpg","text":"TemporaryFile(/tmp/multipartBody3405763286509013043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792882602,"filename":"image_15122025_10_37_35_10763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/41498f2f83bca4e9542305d38675374d.jpg","text":"TemporaryFile(/tmp/multipartBody7896766495343420362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792882602,"filename":"image_15122025_10_37_05_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a7f8c6840d46c72da2267df75e91a872.jpg","text":"TemporaryFile(/tmp/multipartBody4832526157092430026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792882602,"filename":"image_15122025_10_37_45_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/86f8976982c9be21b2a5e4952f6cf3c1.jpg","text":"TemporaryFile(/tmp/multipartBody1512490099335802223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792882602,"filename":"image_15122025_10_37_15_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399462023","file1":"1399461973","file0":"1399461933","file4":"1399462115","file5":"1399462155","file3":"1399462070"},"map_files_photo_id_array":[{"photo_id":"1399462155","filename":"file5"},{"photo_id":"1399462023","filename":"file2"},{"photo_id":"1399462115","filename":"file4"},{"photo_id":"1399461973","filename":"file1"},{"photo_id":"1399461933","filename":"file0"},{"photo_id":"1399462070","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399462155":["hashtag1","hashtag2"]},{"1399462023":["hashtag1","hashtag2"]},{"1399462070":["hashtag1","hashtag2"]},{"1399461933":["hashtag1","hashtag2"]},{"1399462115":["hashtag1","hashtag2"]},{"1399461973":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399462155, 1399462023, 1399462070, 1399461933, 1399462115, 1399461973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27136754989624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 11:01:02.800646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/37/image_15122025_10_38_05_10657.jpg', '/home/pi/Desktop/images/15122025/10/38/image_15122025_10_38_15_9654.jpg', '/home/pi/Desktop/images/15122025/10/38/image_15122025_10_38_24_9694.jpg', '/home/pi/Desktop/images/15122025/10/38/image_15122025_10_38_35_10754.jpg', '/home/pi/Desktop/images/15122025/10/38/image_15122025_10_38_45_9807.jpg', '/home/pi/Desktop/images/15122025/10/38/image_15122025_10_38_55_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/37/image_15122025_10_38_05_10657.jpg
/home/pi/Desktop/images/15122025/10/38/image_15122025_10_38_15_9654.jpg
/home/pi/Desktop/images/15122025/10/38/image_15122025_10_38_24_9694.jpg
/home/pi/Desktop/images/15122025/10/38/image_15122025_10_38_35_10754.jpg
/home/pi/Desktop/images/15122025/10/38/image_15122025_10_38_45_9807.jpg
/home/pi/Desktop/images/15122025/10/38/image_15122025_10_38_55_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":["1399462812","1399462589","1399462508","1399462669","1399462741","1399462405"],"photo_ids_order":["1399462405","1399462508","1399462589","1399462669","1399462741","1399462812"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e064537e4f0e4305efb18b0133b9b6a7.jpg","text":"TemporaryFile(/tmp/multipartBody3337854327140907517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792923478,"filename":"image_15122025_10_38_55_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bd088ae2ddf185115bcb35f42894310b.jpg","text":"TemporaryFile(/tmp/multipartBody1112763702728761309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792923478,"filename":"image_15122025_10_38_24_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d30378113cd9d3d3b9894a90304aa0c4.jpg","text":"TemporaryFile(/tmp/multipartBody6974273219478165212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792923478,"filename":"image_15122025_10_38_15_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/557c3ac771d05b7037d7ae152263683e.jpg","text":"TemporaryFile(/tmp/multipartBody8518459536234773723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792923478,"filename":"image_15122025_10_38_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/15/70a07a883e0d1450f03bd2a7a91d5b0c.jpg","text":"TemporaryFile(/tmp/multipartBody942064647681208221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792923478,"filename":"image_15122025_10_38_45_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f6932b39a3da0b2edcec339b3858128a.jpg","text":"TemporaryFile(/tmp/multipartBody798446931814732228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792923478,"filename":"image_15122025_10_38_05_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399462589","file1":"1399462508","file0":"1399462405","file4":"1399462741","file5":"1399462812","file3":"1399462669"},"map_files_photo_id_array":[{"photo_id":"1399462812","filename":"file5"},{"photo_id":"1399462589","filename":"file2"},{"photo_id":"1399462741","filename":"file4"},{"photo_id":"1399462508","filename":"file1"},{"photo_id":"1399462405","filename":"file0"},{"photo_id":"1399462669","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399462812":["hashtag1","hashtag2"]},{"1399462589":["hashtag1","hashtag2"]},{"1399462508":["hashtag1","hashtag2"]},{"1399462669":["hashtag1","hashtag2"]},{"1399462741":["hashtag1","hashtag2"]},{"1399462405":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399462812, 1399462589, 1399462508, 1399462669, 1399462741, 1399462405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96682548522949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 11:01:42.179911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_13_2698.jpg', '/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_17_3692.jpg', '/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_20_2790.jpg', '/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_22_2684.jpg', '/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_26_3696.jpg', '/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_28_2518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_13_2698.jpg
/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_17_3692.jpg
/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_20_2790.jpg
/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_22_2684.jpg
/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_26_3696.jpg
/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_28_2518.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399463377","1399463293","1399463176","1399463449","1399463592","1399463523"],"photo_ids_order":["1399463176","1399463293","1399463377","1399463449","1399463523","1399463592"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dfe899a3b6e6e38ebf8113aa0e304ad7.jpg","text":"TemporaryFile(/tmp/multipartBody8829395676908369466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792962888,"filename":"image_05112025_14_38_20_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/15/cfeb978d5f036b40d342886b41ea2005.jpg","text":"TemporaryFile(/tmp/multipartBody7891500695930284123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792962888,"filename":"image_05112025_14_38_17_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4a8be77c6ae03adf037632df2385f2b2.jpg","text":"TemporaryFile(/tmp/multipartBody840953415469256385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792962888,"filename":"image_05112025_14_38_13_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/15/4275ab61dc6d04d62c21b6092d8cbaf3.jpg","text":"TemporaryFile(/tmp/multipartBody1801973818962495412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792962888,"filename":"image_05112025_14_38_22_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/15/d023165775c0ff1ae824e8e9d51d71ec.jpg","text":"TemporaryFile(/tmp/multipartBody3917191102116636784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792962888,"filename":"image_05112025_14_38_28_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/15/af1b289c8c3ed9c167df1b2ec18ccfdf.jpg","text":"TemporaryFile(/tmp/multipartBody4112821458006619208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765792962888,"filename":"image_05112025_14_38_26_3696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399463377","file1":"1399463293","file0":"1399463176","file4":"1399463523","file5":"1399463592","file3":"1399463449"},"map_files_photo_id_array":[{"photo_id":"1399463592","filename":"file5"},{"photo_id":"1399463377","filename":"file2"},{"photo_id":"1399463523","filename":"file4"},{"photo_id":"1399463293","filename":"file1"},{"photo_id":"1399463176","filename":"file0"},{"photo_id":"1399463449","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399463377":["hashtag1","hashtag2"]},{"1399463293":["hashtag1","hashtag2"]},{"1399463176":["hashtag1","hashtag2"]},{"1399463449":["hashtag1","hashtag2"]},{"1399463592":["hashtag1","hashtag2"]},{"1399463523":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399463377, 1399463293, 1399463176, 1399463449, 1399463592, 1399463523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66079306602478 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 11:02:22.426471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/38/image_15122025_10_39_05_10629.jpg', '/home/pi/Desktop/images/15122025/10/39/image_15122025_10_39_15_9709.jpg', '/home/pi/Desktop/images/15122025/10/39/image_15122025_10_39_25_9655.jpg', '/home/pi/Desktop/images/15122025/10/39/image_15122025_10_39_34_9665.jpg', '/home/pi/Desktop/images/15122025/10/39/image_15122025_10_39_45_10645.jpg', '/home/pi/Desktop/images/15122025/10/39/image_15122025_10_39_54_9579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/38/image_15122025_10_39_05_10629.jpg
/home/pi/Desktop/images/15122025/10/39/image_15122025_10_39_15_9709.jpg
/home/pi/Desktop/images/15122025/10/39/image_15122025_10_39_25_9655.jpg
/home/pi/Desktop/images/15122025/10/39/image_15122025_10_39_34_9665.jpg
/home/pi/Desktop/images/15122025/10/39/image_15122025_10_39_45_10645.jpg
/home/pi/Desktop/images/15122025/10/39/image_15122025_10_39_54_9579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399464365","1399464046","1399464148","1399463941","1399463871","1399464263"],"photo_ids_order":["1399463871","1399463941","1399464046","1399464148","1399464263","1399464365"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1979c4affc1e22e33229f5098fd27b0f.jpg","text":"TemporaryFile(/tmp/multipartBody8026540344582845618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793003089,"filename":"image_15122025_10_39_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/15/441ce48d79ae29a24da3bdf0a4cd2ea7.jpg","text":"TemporaryFile(/tmp/multipartBody1595135975004051647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793003089,"filename":"image_15122025_10_39_25_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3cac23c46cd8462213b2d5a51e318ebe.jpg","text":"TemporaryFile(/tmp/multipartBody7662249959217390895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793003089,"filename":"image_15122025_10_39_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/15/b82a4c9f254cb2108a4348c25d698d78.jpg","text":"TemporaryFile(/tmp/multipartBody4956497077157933016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793003089,"filename":"image_15122025_10_39_15_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2fc1550415b239d544ba677e4e4ff201.jpg","text":"TemporaryFile(/tmp/multipartBody8053641994365994896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793003089,"filename":"image_15122025_10_39_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/15/eaf510f36569ca0479429a31c158c4fc.jpg","text":"TemporaryFile(/tmp/multipartBody6467643345035350575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793003089,"filename":"image_15122025_10_39_45_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399464046","file1":"1399463941","file0":"1399463871","file4":"1399464263","file5":"1399464365","file3":"1399464148"},"map_files_photo_id_array":[{"photo_id":"1399464365","filename":"file5"},{"photo_id":"1399464046","filename":"file2"},{"photo_id":"1399464263","filename":"file4"},{"photo_id":"1399463941","filename":"file1"},{"photo_id":"1399463871","filename":"file0"},{"photo_id":"1399464148","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399464365":["hashtag1","hashtag2"]},{"1399464046":["hashtag1","hashtag2"]},{"1399464148":["hashtag1","hashtag2"]},{"1399463941":["hashtag1","hashtag2"]},{"1399463871":["hashtag1","hashtag2"]},{"1399464263":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399464365, 1399464046, 1399464148, 1399463941, 1399463871, 1399464263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46258091926575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 11:03:03.296016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/40/image_15122025_10_40_14_10053.jpg', '/home/pi/Desktop/images/15122025/10/40/image_15122025_10_40_25_10624.jpg', '/home/pi/Desktop/images/15122025/10/40/image_15122025_10_40_34_9659.jpg', '/home/pi/Desktop/images/15122025/10/40/image_15122025_10_40_45_10541.jpg', '/home/pi/Desktop/images/15122025/10/40/image_15122025_10_40_55_9875.jpg', '/home/pi/Desktop/images/15122025/10/40/image_15122025_10_41_05_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/40/image_15122025_10_40_14_10053.jpg
/home/pi/Desktop/images/15122025/10/40/image_15122025_10_40_25_10624.jpg
/home/pi/Desktop/images/15122025/10/40/image_15122025_10_40_34_9659.jpg
/home/pi/Desktop/images/15122025/10/40/image_15122025_10_40_45_10541.jpg
/home/pi/Desktop/images/15122025/10/40/image_15122025_10_40_55_9875.jpg
/home/pi/Desktop/images/15122025/10/40/image_15122025_10_41_05_9721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399464677","1399464935","1399464929","1399464874","1399464811","1399464729"],"photo_ids_order":["1399464677","1399464729","1399464811","1399464874","1399464929","1399464935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bd7766d1b8d93e66d808baa20a2b56fc.jpg","text":"TemporaryFile(/tmp/multipartBody2643664051175639614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793043966,"filename":"image_15122025_10_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/15/355ab18a75f103c9b295bef068622a1f.jpg","text":"TemporaryFile(/tmp/multipartBody9178204189196785982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793043966,"filename":"image_15122025_10_41_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/15/2702c25795d804ab4f636d0306570a43.jpg","text":"TemporaryFile(/tmp/multipartBody2436485357508354232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793043966,"filename":"image_15122025_10_40_55_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9fcce0c71b5a8b9fa3932ddfc2549b30.jpg","text":"TemporaryFile(/tmp/multipartBody7513368693062946105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793043966,"filename":"image_15122025_10_40_45_10541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f391ebf480cd8c2cae1d30614f41f69f.jpg","text":"TemporaryFile(/tmp/multipartBody7567436340725864457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793043966,"filename":"image_15122025_10_40_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/15/fd49c252efd47a14e2f7ef8740ea24c5.jpg","text":"TemporaryFile(/tmp/multipartBody8891353672397054976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793043966,"filename":"image_15122025_10_40_25_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399464811","file1":"1399464729","file0":"1399464677","file4":"1399464929","file5":"1399464935","file3":"1399464874"},"map_files_photo_id_array":[{"photo_id":"1399464935","filename":"file5"},{"photo_id":"1399464811","filename":"file2"},{"photo_id":"1399464929","filename":"file4"},{"photo_id":"1399464729","filename":"file1"},{"photo_id":"1399464677","filename":"file0"},{"photo_id":"1399464874","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399464677":["hashtag1","hashtag2"]},{"1399464935":["hashtag1","hashtag2"]},{"1399464929":["hashtag1","hashtag2"]},{"1399464874":["hashtag1","hashtag2"]},{"1399464811":["hashtag1","hashtag2"]},{"1399464729":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399464677, 1399464935, 1399464929, 1399464874, 1399464811, 1399464729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.756937980651855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 11:03:42.563446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_31_2618.jpg', '/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_35_3578.jpg', '/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_41_3592.jpg', '/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_45_4079.jpg', '/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_46_1543.jpg', '/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_49_2534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_31_2618.jpg
/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_35_3578.jpg
/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_41_3592.jpg
/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_45_4079.jpg
/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_46_1543.jpg
/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_49_2534.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399464991","1399465021","1399465074","1399464993","1399465145","1399464992"],"photo_ids_order":["1399464991","1399464992","1399464993","1399465021","1399465074","1399465145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a3d3411842bb3c1f387116611aafd8e4.jpg","text":"TemporaryFile(/tmp/multipartBody3353595228159496508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793083272,"filename":"image_05112025_14_38_31_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ab91cee88001266482ba9df59606f098.jpg","text":"TemporaryFile(/tmp/multipartBody9085365912142935166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793083272,"filename":"image_05112025_14_38_45_4079.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f65f2799e877b4750c75737ed0cc4c11.jpg","text":"TemporaryFile(/tmp/multipartBody6737686465767802865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793083272,"filename":"image_05112025_14_38_46_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/15/41257c0b1148971f21d99e3ced379d1b.jpg","text":"TemporaryFile(/tmp/multipartBody5024549848164020115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793083272,"filename":"image_05112025_14_38_41_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/15/865e2603b1d397b133d1f21d95f639dc.jpg","text":"TemporaryFile(/tmp/multipartBody2363700364686842941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793083272,"filename":"image_05112025_14_38_49_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e755a9f75dc4cbd45e55a6ae7768f8e5.jpg","text":"TemporaryFile(/tmp/multipartBody3857512299537547932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793083272,"filename":"image_05112025_14_38_35_3578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399464993","file1":"1399464992","file0":"1399464991","file4":"1399465074","file5":"1399465145","file3":"1399465021"},"map_files_photo_id_array":[{"photo_id":"1399465145","filename":"file5"},{"photo_id":"1399464993","filename":"file2"},{"photo_id":"1399465074","filename":"file4"},{"photo_id":"1399464992","filename":"file1"},{"photo_id":"1399464991","filename":"file0"},{"photo_id":"1399465021","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399464991":["hashtag1","hashtag2"]},{"1399465021":["hashtag1","hashtag2"]},{"1399465074":["hashtag1","hashtag2"]},{"1399464993":["hashtag1","hashtag2"]},{"1399465145":["hashtag1","hashtag2"]},{"1399464992":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399464991, 1399465021, 1399465074, 1399464993, 1399465145, 1399464992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37048864364624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 11:04:22.834000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/41/image_15122025_10_41_14_9862.jpg', '/home/pi/Desktop/images/15122025/10/41/image_15122025_10_41_24_9808.jpg', '/home/pi/Desktop/images/15122025/10/41/image_15122025_10_41_35_10674.jpg', '/home/pi/Desktop/images/15122025/10/41/image_15122025_10_41_45_9631.jpg', '/home/pi/Desktop/images/15122025/10/41/image_15122025_10_41_54_9751.jpg', '/home/pi/Desktop/images/15122025/10/41/image_15122025_10_42_05_10663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/41/image_15122025_10_41_14_9862.jpg
/home/pi/Desktop/images/15122025/10/41/image_15122025_10_41_24_9808.jpg
/home/pi/Desktop/images/15122025/10/41/image_15122025_10_41_35_10674.jpg
/home/pi/Desktop/images/15122025/10/41/image_15122025_10_41_45_9631.jpg
/home/pi/Desktop/images/15122025/10/41/image_15122025_10_41_54_9751.jpg
/home/pi/Desktop/images/15122025/10/41/image_15122025_10_42_05_10663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399465498","1399465585","1399465450","1399465435","1399465423","1399465448"],"photo_ids_order":["1399465423","1399465435","1399465448","1399465450","1399465498","1399465585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3e0164a672b69c9dbdce182ddb4ce7f1.jpg","text":"TemporaryFile(/tmp/multipartBody1628692196531439408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793123452,"filename":"image_15122025_10_41_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/15/9d9913ebc0b7a18d978846d87c9aae40.jpg","text":"TemporaryFile(/tmp/multipartBody2155207954799458895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793123452,"filename":"image_15122025_10_42_05_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/987e0a988b417d36bffe00a8ace57d86.jpg","text":"TemporaryFile(/tmp/multipartBody5686850818289212973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793123452,"filename":"image_15122025_10_41_45_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ca50a63c099fe37ea6280c201078866b.jpg","text":"TemporaryFile(/tmp/multipartBody7469292432447449375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793123452,"filename":"image_15122025_10_41_24_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/eb62b2c4dd6128c4548687bb3808faba.jpg","text":"TemporaryFile(/tmp/multipartBody2738374548370184511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793123452,"filename":"image_15122025_10_41_14_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/15/a965d126607c808aaafd7579839674f7.jpg","text":"TemporaryFile(/tmp/multipartBody3112495667600451426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793123452,"filename":"image_15122025_10_41_35_10674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399465448","file1":"1399465435","file0":"1399465423","file4":"1399465498","file5":"1399465585","file3":"1399465450"},"map_files_photo_id_array":[{"photo_id":"1399465585","filename":"file5"},{"photo_id":"1399465448","filename":"file2"},{"photo_id":"1399465498","filename":"file4"},{"photo_id":"1399465435","filename":"file1"},{"photo_id":"1399465423","filename":"file0"},{"photo_id":"1399465450","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399465498":["hashtag1","hashtag2"]},{"1399465585":["hashtag1","hashtag2"]},{"1399465450":["hashtag1","hashtag2"]},{"1399465435":["hashtag1","hashtag2"]},{"1399465423":["hashtag1","hashtag2"]},{"1399465448":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399465498, 1399465585, 1399465450, 1399465435, 1399465423, 1399465448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.346675634384155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 11:05:02.612744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/42/image_15122025_10_42_15_9755.jpg', '/home/pi/Desktop/images/15122025/10/42/image_15122025_10_42_24_9741.jpg', '/home/pi/Desktop/images/15122025/10/42/image_15122025_10_42_34_9813.jpg', '/home/pi/Desktop/images/15122025/10/42/image_15122025_10_42_45_10636.jpg', '/home/pi/Desktop/images/15122025/10/42/image_15122025_10_42_55_9695.jpg', '/home/pi/Desktop/images/15122025/10/42/image_15122025_10_43_04_9853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/42/image_15122025_10_42_15_9755.jpg
/home/pi/Desktop/images/15122025/10/42/image_15122025_10_42_24_9741.jpg
/home/pi/Desktop/images/15122025/10/42/image_15122025_10_42_34_9813.jpg
/home/pi/Desktop/images/15122025/10/42/image_15122025_10_42_45_10636.jpg
/home/pi/Desktop/images/15122025/10/42/image_15122025_10_42_55_9695.jpg
/home/pi/Desktop/images/15122025/10/42/image_15122025_10_43_04_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":["1399465777","1399465804","1399465782","1399465790","1399465760","1399465742"],"photo_ids_order":["1399465742","1399465760","1399465777","1399465782","1399465790","1399465804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3a1031b685ff80ffb6e084e2d38541fd.jpg","text":"TemporaryFile(/tmp/multipartBody9129229137727611851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793165716,"filename":"image_15122025_10_42_34_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ef752ececaf8502e8d5a58125a59b5d7.jpg","text":"TemporaryFile(/tmp/multipartBody3524254922284002048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793165716,"filename":"image_15122025_10_43_04_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/15/9c13bba609c425e37a1c2240e0669a15.jpg","text":"TemporaryFile(/tmp/multipartBody8030817987682921370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793165716,"filename":"image_15122025_10_42_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/15/07c1118b152df076ba8fd9109925987d.jpg","text":"TemporaryFile(/tmp/multipartBody2274819363873605218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793165716,"filename":"image_15122025_10_42_55_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/728105efa30984ac73ffd615dcf4f2c6.jpg","text":"TemporaryFile(/tmp/multipartBody4217145376821137730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793165716,"filename":"image_15122025_10_42_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/15/28e4404aa659cbf1d951dbbb800689d3.jpg","text":"TemporaryFile(/tmp/multipartBody532020044878276099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793165716,"filename":"image_15122025_10_42_15_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399465777","file1":"1399465760","file0":"1399465742","file4":"1399465790","file5":"1399465804","file3":"1399465782"},"map_files_photo_id_array":[{"photo_id":"1399465804","filename":"file5"},{"photo_id":"1399465777","filename":"file2"},{"photo_id":"1399465790","filename":"file4"},{"photo_id":"1399465760","filename":"file1"},{"photo_id":"1399465742","filename":"file0"},{"photo_id":"1399465782","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399465777":["hashtag1","hashtag2"]},{"1399465804":["hashtag1","hashtag2"]},{"1399465782":["hashtag1","hashtag2"]},{"1399465790":["hashtag1","hashtag2"]},{"1399465760":["hashtag1","hashtag2"]},{"1399465742":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399465777, 1399465804, 1399465782, 1399465790, 1399465760, 1399465742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57475519180298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 11:05:42.040369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_53_3661.jpg', '/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_55_2737.jpg', '/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_58_2572.jpg', '/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_02_3938.jpg', '/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_07_2614.jpg', '/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_11_3797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_53_3661.jpg
/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_55_2737.jpg
/home/pi/Desktop/images/05112025/14/38/image_05112025_14_38_58_2572.jpg
/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_02_3938.jpg
/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_07_2614.jpg
/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_11_3797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399465831","1399465833","1399465821","1399465830","1399465824","1399465832"],"photo_ids_order":["1399465821","1399465824","1399465830","1399465831","1399465832","1399465833"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5530ef9c82944d1ee3a1a877ed6fc064.jpg","text":"TemporaryFile(/tmp/multipartBody394644339080474645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793202760,"filename":"image_05112025_14_39_02_3938.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1d96821eb9547245d8d7f31bcd474a5a.jpg","text":"TemporaryFile(/tmp/multipartBody4099138535747275398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793202760,"filename":"image_05112025_14_39_11_3797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fc47e1799cead1c4e64e716c67777f52.jpg","text":"TemporaryFile(/tmp/multipartBody6512965582778744434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793202760,"filename":"image_05112025_14_38_53_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/15/c8feb57a20a15267e462dab8b50a5f2b.jpg","text":"TemporaryFile(/tmp/multipartBody5198981839216958901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793202760,"filename":"image_05112025_14_38_58_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/15/bf848d1d6ca1b322b9c1517d6eac4099.jpg","text":"TemporaryFile(/tmp/multipartBody7328663977116686538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793202760,"filename":"image_05112025_14_38_55_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/15/4685c278b71dacf40343175431d2c385.jpg","text":"TemporaryFile(/tmp/multipartBody2990956559817050584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793202760,"filename":"image_05112025_14_39_07_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399465830","file1":"1399465824","file0":"1399465821","file4":"1399465832","file5":"1399465833","file3":"1399465831"},"map_files_photo_id_array":[{"photo_id":"1399465833","filename":"file5"},{"photo_id":"1399465830","filename":"file2"},{"photo_id":"1399465832","filename":"file4"},{"photo_id":"1399465824","filename":"file1"},{"photo_id":"1399465821","filename":"file0"},{"photo_id":"1399465831","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399465831":["hashtag1","hashtag2"]},{"1399465833":["hashtag1","hashtag2"]},{"1399465821":["hashtag1","hashtag2"]},{"1399465830":["hashtag1","hashtag2"]},{"1399465824":["hashtag1","hashtag2"]},{"1399465832":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399465831, 1399465833, 1399465821, 1399465830, 1399465824, 1399465832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8121452331543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 11:06:22.297895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/43/image_15122025_10_43_14_9712.jpg', '/home/pi/Desktop/images/15122025/10/43/image_15122025_10_43_25_10694.jpg', '/home/pi/Desktop/images/15122025/10/43/image_15122025_10_43_34_9628.jpg', '/home/pi/Desktop/images/15122025/10/43/image_15122025_10_43_44_9878.jpg', '/home/pi/Desktop/images/15122025/10/43/image_15122025_10_43_54_9923.jpg', '/home/pi/Desktop/images/15122025/10/43/image_15122025_10_44_04_9890.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/43/image_15122025_10_43_14_9712.jpg
/home/pi/Desktop/images/15122025/10/43/image_15122025_10_43_25_10694.jpg
/home/pi/Desktop/images/15122025/10/43/image_15122025_10_43_34_9628.jpg
/home/pi/Desktop/images/15122025/10/43/image_15122025_10_43_44_9878.jpg
/home/pi/Desktop/images/15122025/10/43/image_15122025_10_43_54_9923.jpg
/home/pi/Desktop/images/15122025/10/43/image_15122025_10_44_04_9890.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399465851","1399465848","1399465842","1399465845","1399465839","1399465853"],"photo_ids_order":["1399465839","1399465842","1399465845","1399465848","1399465851","1399465853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1249c4bfb2effea72c9b77676331d47f.jpg","text":"TemporaryFile(/tmp/multipartBody2691274797620448520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793242913,"filename":"image_15122025_10_43_54_9923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/69724dc98b57214294cb12d41a28508b.jpg","text":"TemporaryFile(/tmp/multipartBody5777667577767225325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793242913,"filename":"image_15122025_10_43_44_9878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1b97a79eb4c0d2cdad0aa17d9cc77778.jpg","text":"TemporaryFile(/tmp/multipartBody5744536896337270432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793242913,"filename":"image_15122025_10_43_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/15/3113b75523a22c9bc5f7aa5ce4d9d33a.jpg","text":"TemporaryFile(/tmp/multipartBody3874440666119146714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793242913,"filename":"image_15122025_10_43_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/15/1d0bef2476961f2d0254cb2378e45f8e.jpg","text":"TemporaryFile(/tmp/multipartBody2911494454804307903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793242913,"filename":"image_15122025_10_43_14_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/88bf294246601ee93fd2e29f784df580.jpg","text":"TemporaryFile(/tmp/multipartBody3248587186563713146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793242913,"filename":"image_15122025_10_44_04_9890.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399465845","file1":"1399465842","file0":"1399465839","file4":"1399465851","file5":"1399465853","file3":"1399465848"},"map_files_photo_id_array":[{"photo_id":"1399465853","filename":"file5"},{"photo_id":"1399465845","filename":"file2"},{"photo_id":"1399465851","filename":"file4"},{"photo_id":"1399465842","filename":"file1"},{"photo_id":"1399465839","filename":"file0"},{"photo_id":"1399465848","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399465851":["hashtag1","hashtag2"]},{"1399465848":["hashtag1","hashtag2"]},{"1399465842":["hashtag1","hashtag2"]},{"1399465845":["hashtag1","hashtag2"]},{"1399465839":["hashtag1","hashtag2"]},{"1399465853":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399465851, 1399465848, 1399465842, 1399465845, 1399465839, 1399465853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86997199058533 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 11:07:03.165770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/44/image_15122025_10_44_15_10684.jpg', '/home/pi/Desktop/images/15122025/10/44/image_15122025_10_44_25_9709.jpg', '/home/pi/Desktop/images/15122025/10/44/image_15122025_10_44_34_9706.jpg', '/home/pi/Desktop/images/15122025/10/44/image_15122025_10_44_45_10638.jpg', '/home/pi/Desktop/images/15122025/10/44/image_15122025_10_44_55_9633.jpg', '/home/pi/Desktop/images/15122025/10/45/image_15122025_10_45_14_10063.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/44/image_15122025_10_44_15_10684.jpg
/home/pi/Desktop/images/15122025/10/44/image_15122025_10_44_25_9709.jpg
/home/pi/Desktop/images/15122025/10/44/image_15122025_10_44_34_9706.jpg
/home/pi/Desktop/images/15122025/10/44/image_15122025_10_44_45_10638.jpg
/home/pi/Desktop/images/15122025/10/44/image_15122025_10_44_55_9633.jpg
/home/pi/Desktop/images/15122025/10/45/image_15122025_10_45_14_10063.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399466128","1399466017","1399465942","1399465884","1399466165","1399466086"],"photo_ids_order":["1399465884","1399465942","1399466017","1399466086","1399466128","1399466165"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/befbbb68092e5041eba7737d5b59ec6e.jpg","text":"TemporaryFile(/tmp/multipartBody3778124242523345456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793283896,"filename":"image_15122025_10_44_55_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4ba4ae1231d173c82cda06cb3942c42e.jpg","text":"TemporaryFile(/tmp/multipartBody1731339200127007162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793283896,"filename":"image_15122025_10_44_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/15/1e28d5c254686714aff309ca4abe9d9c.jpg","text":"TemporaryFile(/tmp/multipartBody9069193285667564879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793283896,"filename":"image_15122025_10_44_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/15/b19ff43e48f89d276ad680b3ffcbebe2.jpg","text":"TemporaryFile(/tmp/multipartBody6263261971892703862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793283896,"filename":"image_15122025_10_44_15_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f17739e6008f50da363593a37c6dfe66.jpg","text":"TemporaryFile(/tmp/multipartBody5561348102860084687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793283896,"filename":"image_15122025_10_45_14_10063.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/25fcbd92e34f143977dc30f059808135.jpg","text":"TemporaryFile(/tmp/multipartBody1259826895612821342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793283896,"filename":"image_15122025_10_44_45_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399466017","file1":"1399465942","file0":"1399465884","file4":"1399466128","file5":"1399466165","file3":"1399466086"},"map_files_photo_id_array":[{"photo_id":"1399466165","filename":"file5"},{"photo_id":"1399466017","filename":"file2"},{"photo_id":"1399466128","filename":"file4"},{"photo_id":"1399465942","filename":"file1"},{"photo_id":"1399465884","filename":"file0"},{"photo_id":"1399466086","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399466128":["hashtag1","hashtag2"]},{"1399466017":["hashtag1","hashtag2"]},{"1399465942":["hashtag1","hashtag2"]},{"1399465884":["hashtag1","hashtag2"]},{"1399466165":["hashtag1","hashtag2"]},{"1399466086":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399466128, 1399466017, 1399465942, 1399465884, 1399466165, 1399466086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.976510524749756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 11:07:42.618159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_13_2618.jpg', '/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_20_3653.jpg', '/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_22_2696.jpg', '/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_25_2559.jpg', '/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_34_9230.jpg', '/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_36_1745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_13_2618.jpg
/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_20_3653.jpg
/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_22_2696.jpg
/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_25_2559.jpg
/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_34_9230.jpg
/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_36_1745.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6044185161590576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 11:08:02.331586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/45/image_15122025_10_45_25_10616.jpg', '/home/pi/Desktop/images/15122025/10/45/image_15122025_10_45_34_9524.jpg', '/home/pi/Desktop/images/15122025/10/45/image_15122025_10_45_45_10659.jpg', '/home/pi/Desktop/images/15122025/10/45/image_15122025_10_45_54_9749.jpg', '/home/pi/Desktop/images/15122025/10/45/image_15122025_10_46_04_9620.jpg', '/home/pi/Desktop/images/15122025/10/46/image_15122025_10_46_15_10580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/45/image_15122025_10_45_25_10616.jpg
/home/pi/Desktop/images/15122025/10/45/image_15122025_10_45_34_9524.jpg
/home/pi/Desktop/images/15122025/10/45/image_15122025_10_45_45_10659.jpg
/home/pi/Desktop/images/15122025/10/45/image_15122025_10_45_54_9749.jpg
/home/pi/Desktop/images/15122025/10/45/image_15122025_10_46_04_9620.jpg
/home/pi/Desktop/images/15122025/10/46/image_15122025_10_46_15_10580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399466308","1399466311","1399466305","1399466301","1399466303","1399466299"],"photo_ids_order":["1399466299","1399466301","1399466303","1399466305","1399466308","1399466311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d3357c21b5d79a0491a78922e8890939.jpg","text":"TemporaryFile(/tmp/multipartBody6092938624894201467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793342992,"filename":"image_15122025_10_46_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/15/3038f128a9120da81cf77919f2bb9320.jpg","text":"TemporaryFile(/tmp/multipartBody6716245688659357482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793342992,"filename":"image_15122025_10_46_15_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/020be01d4f86b290ae4760d6f4edddb7.jpg","text":"TemporaryFile(/tmp/multipartBody2633163908681219348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793342992,"filename":"image_15122025_10_45_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/15/8967e87aaf13c2fabf7b10bc07d1aa81.jpg","text":"TemporaryFile(/tmp/multipartBody5762354413608225731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793342992,"filename":"image_15122025_10_45_34_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/15/11da46bf9ee185d4d8825ddf2d0102b7.jpg","text":"TemporaryFile(/tmp/multipartBody4744815644304922550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793342992,"filename":"image_15122025_10_45_45_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b5c0b43d12888996a9bc53a589e6454b.jpg","text":"TemporaryFile(/tmp/multipartBody5576080025960696142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793342992,"filename":"image_15122025_10_45_25_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399466303","file1":"1399466301","file0":"1399466299","file4":"1399466308","file5":"1399466311","file3":"1399466305"},"map_files_photo_id_array":[{"photo_id":"1399466311","filename":"file5"},{"photo_id":"1399466303","filename":"file2"},{"photo_id":"1399466308","filename":"file4"},{"photo_id":"1399466301","filename":"file1"},{"photo_id":"1399466299","filename":"file0"},{"photo_id":"1399466305","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399466308":["hashtag1","hashtag2"]},{"1399466311":["hashtag1","hashtag2"]},{"1399466305":["hashtag1","hashtag2"]},{"1399466301":["hashtag1","hashtag2"]},{"1399466303":["hashtag1","hashtag2"]},{"1399466299":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399466308, 1399466311, 1399466305, 1399466301, 1399466303, 1399466299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98653054237366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 11:08:41.837814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_13_2618.jpg', '/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_20_3653.jpg', '/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_22_2696.jpg', '/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_25_2559.jpg', '/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_34_9230.jpg', '/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_36_1745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_13_2618.jpg
/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_20_3653.jpg
/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_22_2696.jpg
/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_25_2559.jpg
/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_34_9230.jpg
/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_36_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":["1399466325","1399466340","1399466316","1399466339","1399466330","1399466327"],"photo_ids_order":["1399466316","1399466325","1399466327","1399466330","1399466339","1399466340"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1035f8000ac79477afa3f54aba289b99.jpg","text":"TemporaryFile(/tmp/multipartBody2395003758230937579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793382471,"filename":"image_05112025_14_39_20_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/15/b901bd7212c7b379b763679fd1b3b690.jpg","text":"TemporaryFile(/tmp/multipartBody5821634430723556550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793382471,"filename":"image_05112025_14_39_36_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/15/64457fe40d43a751d232cf72b484a8c3.jpg","text":"TemporaryFile(/tmp/multipartBody501124211852353651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793382471,"filename":"image_05112025_14_39_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/15/f0c0826a66fc79f4ac798b598eeea408.jpg","text":"TemporaryFile(/tmp/multipartBody2911181862024794362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793382471,"filename":"image_05112025_14_39_34_9230.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6b6335f5fcb019049c174ece7b3c068f.jpg","text":"TemporaryFile(/tmp/multipartBody6228660224325684688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793382471,"filename":"image_05112025_14_39_25_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/79084cf587f567dacc0d6fec396871ea.jpg","text":"TemporaryFile(/tmp/multipartBody5727309025544782357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793382471,"filename":"image_05112025_14_39_22_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399466327","file1":"1399466325","file0":"1399466316","file4":"1399466339","file5":"1399466340","file3":"1399466330"},"map_files_photo_id_array":[{"photo_id":"1399466340","filename":"file5"},{"photo_id":"1399466327","filename":"file2"},{"photo_id":"1399466339","filename":"file4"},{"photo_id":"1399466325","filename":"file1"},{"photo_id":"1399466316","filename":"file0"},{"photo_id":"1399466330","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399466325":["hashtag1","hashtag2"]},{"1399466340":["hashtag1","hashtag2"]},{"1399466316":["hashtag1","hashtag2"]},{"1399466339":["hashtag1","hashtag2"]},{"1399466330":["hashtag1","hashtag2"]},{"1399466327":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399466325, 1399466340, 1399466316, 1399466339, 1399466330, 1399466327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30327844619751 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 11:09:22.125143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/46/image_15122025_10_46_24_9771.jpg', '/home/pi/Desktop/images/15122025/10/46/image_15122025_10_46_34_9585.jpg', '/home/pi/Desktop/images/15122025/10/46/image_15122025_10_46_45_10688.jpg', '/home/pi/Desktop/images/15122025/10/46/image_15122025_10_46_55_9920.jpg', '/home/pi/Desktop/images/15122025/10/46/image_15122025_10_47_04_9740.jpg', '/home/pi/Desktop/images/15122025/10/47/image_15122025_10_47_14_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/46/image_15122025_10_46_24_9771.jpg
/home/pi/Desktop/images/15122025/10/46/image_15122025_10_46_34_9585.jpg
/home/pi/Desktop/images/15122025/10/46/image_15122025_10_46_45_10688.jpg
/home/pi/Desktop/images/15122025/10/46/image_15122025_10_46_55_9920.jpg
/home/pi/Desktop/images/15122025/10/46/image_15122025_10_47_04_9740.jpg
/home/pi/Desktop/images/15122025/10/47/image_15122025_10_47_14_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":["1399466506","1399466484","1399466503","1399466429","1399466501","1399466389"],"photo_ids_order":["1399466389","1399466429","1399466484","1399466501","1399466503","1399466506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4b97cb15a443f515a67137a4a34ba28b.jpg","text":"TemporaryFile(/tmp/multipartBody5716168949228877538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793422754,"filename":"image_15122025_10_47_14_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e1942fcb92c3c1e1326571ad43e7b284.jpg","text":"TemporaryFile(/tmp/multipartBody4478141751252570888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793422754,"filename":"image_15122025_10_46_45_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c2d467eb1a2aa110320d68b75a6505ec.jpg","text":"TemporaryFile(/tmp/multipartBody1889337688798291770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793422754,"filename":"image_15122025_10_47_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/15/ded6e987e32b0843cbe8ef04b696bff4.jpg","text":"TemporaryFile(/tmp/multipartBody5695800065496206914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793422754,"filename":"image_15122025_10_46_34_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0d3f2c99f6bb74c88e2f267cc44b693e.jpg","text":"TemporaryFile(/tmp/multipartBody8805707429246580219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793422754,"filename":"image_15122025_10_46_55_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/15/80f21e8a0ecdf3a8c8820b2132e7fb24.jpg","text":"TemporaryFile(/tmp/multipartBody6860612490787165251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793422754,"filename":"image_15122025_10_46_24_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399466484","file1":"1399466429","file0":"1399466389","file4":"1399466503","file5":"1399466506","file3":"1399466501"},"map_files_photo_id_array":[{"photo_id":"1399466506","filename":"file5"},{"photo_id":"1399466484","filename":"file2"},{"photo_id":"1399466503","filename":"file4"},{"photo_id":"1399466429","filename":"file1"},{"photo_id":"1399466389","filename":"file0"},{"photo_id":"1399466501","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399466506":["hashtag1","hashtag2"]},{"1399466484":["hashtag1","hashtag2"]},{"1399466503":["hashtag1","hashtag2"]},{"1399466429":["hashtag1","hashtag2"]},{"1399466501":["hashtag1","hashtag2"]},{"1399466389":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399466506, 1399466484, 1399466503, 1399466429, 1399466501, 1399466389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16154384613037 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 11:10:02.938793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/47/image_15122025_10_47_25_10848.jpg', '/home/pi/Desktop/images/15122025/10/47/image_15122025_10_47_34_9617.jpg', '/home/pi/Desktop/images/15122025/10/47/image_15122025_10_47_44_9674.jpg', '/home/pi/Desktop/images/15122025/10/47/image_15122025_10_47_55_10671.jpg', '/home/pi/Desktop/images/15122025/10/47/image_15122025_10_48_05_9763.jpg', '/home/pi/Desktop/images/15122025/10/48/image_15122025_10_48_14_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/47/image_15122025_10_47_25_10848.jpg
/home/pi/Desktop/images/15122025/10/47/image_15122025_10_47_34_9617.jpg
/home/pi/Desktop/images/15122025/10/47/image_15122025_10_47_44_9674.jpg
/home/pi/Desktop/images/15122025/10/47/image_15122025_10_47_55_10671.jpg
/home/pi/Desktop/images/15122025/10/47/image_15122025_10_48_05_9763.jpg
/home/pi/Desktop/images/15122025/10/48/image_15122025_10_48_14_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.5715541839599609 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 11:10:12.390719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 11:10:22.379706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/47/image_15122025_10_47_25_10848.jpg', '/home/pi/Desktop/images/15122025/10/47/image_15122025_10_47_34_9617.jpg', '/home/pi/Desktop/images/15122025/10/47/image_15122025_10_47_44_9674.jpg', '/home/pi/Desktop/images/15122025/10/47/image_15122025_10_47_55_10671.jpg', '/home/pi/Desktop/images/15122025/10/47/image_15122025_10_48_05_9763.jpg', '/home/pi/Desktop/images/15122025/10/48/image_15122025_10_48_14_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/47/image_15122025_10_47_25_10848.jpg
/home/pi/Desktop/images/15122025/10/47/image_15122025_10_47_34_9617.jpg
/home/pi/Desktop/images/15122025/10/47/image_15122025_10_47_44_9674.jpg
/home/pi/Desktop/images/15122025/10/47/image_15122025_10_47_55_10671.jpg
/home/pi/Desktop/images/15122025/10/47/image_15122025_10_48_05_9763.jpg
/home/pi/Desktop/images/15122025/10/48/image_15122025_10_48_14_9739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399466716","1399466659","1399466707","1399466696","1399466726","1399466705"],"photo_ids_order":["1399466659","1399466696","1399466705","1399466707","1399466716","1399466726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a8dba67f0eae98d56b3c544bf380f16a.jpg","text":"TemporaryFile(/tmp/multipartBody5023220288614938950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793483032,"filename":"image_15122025_10_48_05_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/69c6fa27aab247fd7e5bca87e783a5a1.jpg","text":"TemporaryFile(/tmp/multipartBody2918949392650796320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793483032,"filename":"image_15122025_10_47_25_10848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cc363c9fbc2968e6fcf72bea0fc90bcc.jpg","text":"TemporaryFile(/tmp/multipartBody273463764100517631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793483032,"filename":"image_15122025_10_47_55_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/10cfc9360e2b72d1c0278e43c3823b24.jpg","text":"TemporaryFile(/tmp/multipartBody1953504083661943855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793483032,"filename":"image_15122025_10_47_34_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bc39d09187553970825391bc54c98653.jpg","text":"TemporaryFile(/tmp/multipartBody8894884930855011910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793483032,"filename":"image_15122025_10_48_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/15/cf30d42cc30cab2a51c205f1dca43b06.jpg","text":"TemporaryFile(/tmp/multipartBody5181340946599089382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793483032,"filename":"image_15122025_10_47_44_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399466705","file1":"1399466696","file0":"1399466659","file4":"1399466716","file5":"1399466726","file3":"1399466707"},"map_files_photo_id_array":[{"photo_id":"1399466726","filename":"file5"},{"photo_id":"1399466705","filename":"file2"},{"photo_id":"1399466716","filename":"file4"},{"photo_id":"1399466696","filename":"file1"},{"photo_id":"1399466659","filename":"file0"},{"photo_id":"1399466707","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399466716":["hashtag1","hashtag2"]},{"1399466659":["hashtag1","hashtag2"]},{"1399466707":["hashtag1","hashtag2"]},{"1399466696":["hashtag1","hashtag2"]},{"1399466726":["hashtag1","hashtag2"]},{"1399466705":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399466716, 1399466659, 1399466707, 1399466696, 1399466726, 1399466705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.562482595443726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 11:11:03.208399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/48/image_15122025_10_48_24_9792.jpg', '/home/pi/Desktop/images/15122025/10/48/image_15122025_10_48_34_9800.jpg', '/home/pi/Desktop/images/15122025/10/48/image_15122025_10_48_45_10628.jpg', '/home/pi/Desktop/images/15122025/10/48/image_15122025_10_48_54_9664.jpg', '/home/pi/Desktop/images/15122025/10/48/image_15122025_10_49_04_9764.jpg', '/home/pi/Desktop/images/15122025/10/49/image_15122025_10_49_15_10715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/48/image_15122025_10_48_24_9792.jpg
/home/pi/Desktop/images/15122025/10/48/image_15122025_10_48_34_9800.jpg
/home/pi/Desktop/images/15122025/10/48/image_15122025_10_48_45_10628.jpg
/home/pi/Desktop/images/15122025/10/48/image_15122025_10_48_54_9664.jpg
/home/pi/Desktop/images/15122025/10/48/image_15122025_10_49_04_9764.jpg
/home/pi/Desktop/images/15122025/10/49/image_15122025_10_49_15_10715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399466743","1399466763","1399466745","1399466739","1399466747","1399466735"],"photo_ids_order":["1399466735","1399466739","1399466743","1399466745","1399466747","1399466763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b071c129a05f5ca30646e13774cf996b.jpg","text":"TemporaryFile(/tmp/multipartBody3916129013738920472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793523968,"filename":"image_15122025_10_48_45_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/75d3eadeb789a164295782c59bdb2255.jpg","text":"TemporaryFile(/tmp/multipartBody2042056090939547848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793523968,"filename":"image_15122025_10_49_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/15/9f762a5f8d4900478446d33e6de120b9.jpg","text":"TemporaryFile(/tmp/multipartBody1211054954637018456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793523968,"filename":"image_15122025_10_48_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/15/03f59bd70722ce9920c051f6f6c104b7.jpg","text":"TemporaryFile(/tmp/multipartBody1047859804571935840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793523968,"filename":"image_15122025_10_48_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/15/06e7ac0437e42a242265cd3ce69a4520.jpg","text":"TemporaryFile(/tmp/multipartBody4041887055513759160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793523968,"filename":"image_15122025_10_49_04_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/15/a796bb87ee541e59062b9a0960e4cf9c.jpg","text":"TemporaryFile(/tmp/multipartBody7267544104954273140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793523968,"filename":"image_15122025_10_48_24_9792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399466743","file1":"1399466739","file0":"1399466735","file4":"1399466747","file5":"1399466763","file3":"1399466745"},"map_files_photo_id_array":[{"photo_id":"1399466763","filename":"file5"},{"photo_id":"1399466743","filename":"file2"},{"photo_id":"1399466747","filename":"file4"},{"photo_id":"1399466739","filename":"file1"},{"photo_id":"1399466735","filename":"file0"},{"photo_id":"1399466745","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399466743":["hashtag1","hashtag2"]},{"1399466763":["hashtag1","hashtag2"]},{"1399466745":["hashtag1","hashtag2"]},{"1399466739":["hashtag1","hashtag2"]},{"1399466747":["hashtag1","hashtag2"]},{"1399466735":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399466743, 1399466763, 1399466745, 1399466739, 1399466747, 1399466735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45035982131958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 11:11:42.615874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_41_1653.jpg', '/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_44_2528.jpg', '/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_46_2687.jpg', '/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_49_2803.jpg', '/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_53_3537.jpg', '/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_55_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_41_1653.jpg
/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_44_2528.jpg
/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_46_2687.jpg
/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_49_2803.jpg
/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_53_3537.jpg
/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_55_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":["1399466863","1399466859","1399466841","1399466870","1399466828","1399466872"],"photo_ids_order":["1399466828","1399466841","1399466859","1399466863","1399466870","1399466872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c88774c5401e895e6fcc21e0e14ea98d.jpg","text":"TemporaryFile(/tmp/multipartBody3813568253649474770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793563358,"filename":"image_05112025_14_39_49_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/15/0903889544860c9d3b0f8f29e9f1c968.jpg","text":"TemporaryFile(/tmp/multipartBody8453561714612711762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793563358,"filename":"image_05112025_14_39_46_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/15/e4ea1b7f5e918ecc2d24c239c3cd13d8.jpg","text":"TemporaryFile(/tmp/multipartBody1302850610989311370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793563358,"filename":"image_05112025_14_39_44_2528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/09abd28beb27d89897e73824de743c10.jpg","text":"TemporaryFile(/tmp/multipartBody571939525605169346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793563358,"filename":"image_05112025_14_39_53_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/15/b5d04bef61a10fa33d81f7c410df806b.jpg","text":"TemporaryFile(/tmp/multipartBody6517674029391339254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793563358,"filename":"image_05112025_14_39_41_1653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3ff67e5e89d4c4d9b3c4cbb28f0e7532.jpg","text":"TemporaryFile(/tmp/multipartBody9028145859310282270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793563358,"filename":"image_05112025_14_39_55_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399466859","file1":"1399466841","file0":"1399466828","file4":"1399466870","file5":"1399466872","file3":"1399466863"},"map_files_photo_id_array":[{"photo_id":"1399466872","filename":"file5"},{"photo_id":"1399466859","filename":"file2"},{"photo_id":"1399466870","filename":"file4"},{"photo_id":"1399466841","filename":"file1"},{"photo_id":"1399466828","filename":"file0"},{"photo_id":"1399466863","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399466863":["hashtag1","hashtag2"]},{"1399466859":["hashtag1","hashtag2"]},{"1399466841":["hashtag1","hashtag2"]},{"1399466870":["hashtag1","hashtag2"]},{"1399466828":["hashtag1","hashtag2"]},{"1399466872":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399466863, 1399466859, 1399466841, 1399466870, 1399466828, 1399466872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69277286529541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 11:12:21.840511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/49/image_15122025_10_49_24_9652.jpg', '/home/pi/Desktop/images/15122025/10/49/image_15122025_10_49_34_9846.jpg', '/home/pi/Desktop/images/15122025/10/49/image_15122025_10_49_45_10646.jpg', '/home/pi/Desktop/images/15122025/10/49/image_15122025_10_49_55_9892.jpg', '/home/pi/Desktop/images/15122025/10/50/image_15122025_10_50_15_10053.jpg', '/home/pi/Desktop/images/15122025/10/50/image_15122025_10_50_26_10809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/49/image_15122025_10_49_24_9652.jpg
/home/pi/Desktop/images/15122025/10/49/image_15122025_10_49_34_9846.jpg
/home/pi/Desktop/images/15122025/10/49/image_15122025_10_49_45_10646.jpg
/home/pi/Desktop/images/15122025/10/49/image_15122025_10_49_55_9892.jpg
/home/pi/Desktop/images/15122025/10/50/image_15122025_10_50_15_10053.jpg
/home/pi/Desktop/images/15122025/10/50/image_15122025_10_50_26_10809.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399466881","1399466875","1399466877","1399466873","1399466879","1399466884"],"photo_ids_order":["1399466873","1399466875","1399466877","1399466879","1399466881","1399466884"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/33028fd1db671d9450e9ad5ec3174d02.jpg","text":"TemporaryFile(/tmp/multipartBody611025046443790803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793602462,"filename":"image_15122025_10_50_15_10053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b8b26dc567e6481ee970ea888789e882.jpg","text":"TemporaryFile(/tmp/multipartBody1428013568736797890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793602462,"filename":"image_15122025_10_49_34_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/30400cbdb7eb8dd5767f8bae87a2c879.jpg","text":"TemporaryFile(/tmp/multipartBody541074018260830387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793602462,"filename":"image_15122025_10_49_45_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/34327b24cbe8e565081d0f150efe22e3.jpg","text":"TemporaryFile(/tmp/multipartBody276231935362084458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793602462,"filename":"image_15122025_10_49_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/15/4547a0f9d9cb61b6573a053d8d8c54ed.jpg","text":"TemporaryFile(/tmp/multipartBody6882230190929364357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793602462,"filename":"image_15122025_10_49_55_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/15/a31247fb7422c69b1b8c733643921994.jpg","text":"TemporaryFile(/tmp/multipartBody4715033324686879447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793602462,"filename":"image_15122025_10_50_26_10809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399466877","file1":"1399466875","file0":"1399466873","file4":"1399466881","file5":"1399466884","file3":"1399466879"},"map_files_photo_id_array":[{"photo_id":"1399466884","filename":"file5"},{"photo_id":"1399466877","filename":"file2"},{"photo_id":"1399466881","filename":"file4"},{"photo_id":"1399466875","filename":"file1"},{"photo_id":"1399466873","filename":"file0"},{"photo_id":"1399466879","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399466881":["hashtag1","hashtag2"]},{"1399466875":["hashtag1","hashtag2"]},{"1399466877":["hashtag1","hashtag2"]},{"1399466873":["hashtag1","hashtag2"]},{"1399466879":["hashtag1","hashtag2"]},{"1399466884":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399466881, 1399466875, 1399466877, 1399466873, 1399466879, 1399466884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.665287017822266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 11:13:02.752314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/50/image_15122025_10_50_35_9841.jpg', '/home/pi/Desktop/images/15122025/10/50/image_15122025_10_50_45_9689.jpg', '/home/pi/Desktop/images/15122025/10/50/image_15122025_10_50_55_9660.jpg', '/home/pi/Desktop/images/15122025/10/50/image_15122025_10_51_05_10739.jpg', '/home/pi/Desktop/images/15122025/10/51/image_15122025_10_51_15_9940.jpg', '/home/pi/Desktop/images/15122025/10/51/image_15122025_10_51_25_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/50/image_15122025_10_50_35_9841.jpg
/home/pi/Desktop/images/15122025/10/50/image_15122025_10_50_45_9689.jpg
/home/pi/Desktop/images/15122025/10/50/image_15122025_10_50_55_9660.jpg
/home/pi/Desktop/images/15122025/10/50/image_15122025_10_51_05_10739.jpg
/home/pi/Desktop/images/15122025/10/51/image_15122025_10_51_15_9940.jpg
/home/pi/Desktop/images/15122025/10/51/image_15122025_10_51_25_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":["1399466905","1399466889","1399466901","1399466891","1399466903","1399466899"],"photo_ids_order":["1399466889","1399466891","1399466899","1399466901","1399466903","1399466905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/75e8c7dcfeed3a3ae7f70b27ad4f1d3d.jpg","text":"TemporaryFile(/tmp/multipartBody7233452802680473428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793643438,"filename":"image_15122025_10_51_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/15/f4451b19eb6af574cb31ded4d4c23e7e.jpg","text":"TemporaryFile(/tmp/multipartBody83923387665931611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793643438,"filename":"image_15122025_10_50_35_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/15/733aab61b2b4dd38fa45c9154892cf9d.jpg","text":"TemporaryFile(/tmp/multipartBody4486199136935106105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793643438,"filename":"image_15122025_10_51_05_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5c9f782e1473ba0a8527f99b33cf3def.jpg","text":"TemporaryFile(/tmp/multipartBody1500815902037481985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793643438,"filename":"image_15122025_10_50_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/15/1e53e95b68b164536c40755d68532fe8.jpg","text":"TemporaryFile(/tmp/multipartBody1184563495278617791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793643438,"filename":"image_15122025_10_51_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/15/0f2fa588257ff25ced62f7d56ab97b33.jpg","text":"TemporaryFile(/tmp/multipartBody1468320394033608593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793643438,"filename":"image_15122025_10_50_55_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399466899","file1":"1399466891","file0":"1399466889","file4":"1399466903","file5":"1399466905","file3":"1399466901"},"map_files_photo_id_array":[{"photo_id":"1399466905","filename":"file5"},{"photo_id":"1399466899","filename":"file2"},{"photo_id":"1399466903","filename":"file4"},{"photo_id":"1399466891","filename":"file1"},{"photo_id":"1399466889","filename":"file0"},{"photo_id":"1399466901","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399466905":["hashtag1","hashtag2"]},{"1399466889":["hashtag1","hashtag2"]},{"1399466901":["hashtag1","hashtag2"]},{"1399466891":["hashtag1","hashtag2"]},{"1399466903":["hashtag1","hashtag2"]},{"1399466899":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399466905, 1399466889, 1399466901, 1399466891, 1399466903, 1399466899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.010014057159424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 11:13:42.049078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_59_3647.jpg', '/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_01_2673.jpg', '/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_04_2869.jpg', '/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_07_2791.jpg', '/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_10_2691.jpg', '/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_14_3773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/39/image_05112025_14_39_59_3647.jpg
/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_01_2673.jpg
/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_04_2869.jpg
/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_07_2791.jpg
/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_10_2691.jpg
/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_14_3773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399466914","1399466913","1399466916","1399466910","1399466939","1399466915"],"photo_ids_order":["1399466910","1399466913","1399466914","1399466915","1399466916","1399466939"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/55612067b3c755c99c08af08d1788418.jpg","text":"TemporaryFile(/tmp/multipartBody265413850951931162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793682734,"filename":"image_05112025_14_40_04_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/15/80f656c694c534f93f37b7b6b28a3153.jpg","text":"TemporaryFile(/tmp/multipartBody2928174321440754751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793682734,"filename":"image_05112025_14_40_01_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/15/0c307ff7c0798166b1a9c507e7d5de3c.jpg","text":"TemporaryFile(/tmp/multipartBody6085637614419288533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793682734,"filename":"image_05112025_14_40_10_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/14e4d4c91e15b8db778232da2b21c51f.jpg","text":"TemporaryFile(/tmp/multipartBody3548999485786127248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793682734,"filename":"image_05112025_14_39_59_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/98f6e3260acdd49cb48f5c53b9e767b5.jpg","text":"TemporaryFile(/tmp/multipartBody8486599021660635484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793682734,"filename":"image_05112025_14_40_14_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/15/f58ce7a5e7f0364c2d6bd839ebc5dd25.jpg","text":"TemporaryFile(/tmp/multipartBody1045013490867801753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793682734,"filename":"image_05112025_14_40_07_2791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399466914","file1":"1399466913","file0":"1399466910","file4":"1399466916","file5":"1399466939","file3":"1399466915"},"map_files_photo_id_array":[{"photo_id":"1399466939","filename":"file5"},{"photo_id":"1399466914","filename":"file2"},{"photo_id":"1399466916","filename":"file4"},{"photo_id":"1399466913","filename":"file1"},{"photo_id":"1399466910","filename":"file0"},{"photo_id":"1399466915","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399466914":["hashtag1","hashtag2"]},{"1399466913":["hashtag1","hashtag2"]},{"1399466916":["hashtag1","hashtag2"]},{"1399466910":["hashtag1","hashtag2"]},{"1399466939":["hashtag1","hashtag2"]},{"1399466915":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399466914, 1399466913, 1399466916, 1399466910, 1399466939, 1399466915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.26133847236633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 11:14:23.582595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/51/image_15122025_10_51_36_10630.jpg', '/home/pi/Desktop/images/15122025/10/51/image_15122025_10_51_45_9742.jpg', '/home/pi/Desktop/images/15122025/10/51/image_15122025_10_51_55_9586.jpg', '/home/pi/Desktop/images/15122025/10/51/image_15122025_10_52_06_10702.jpg', '/home/pi/Desktop/images/15122025/10/52/image_15122025_10_52_15_9639.jpg', '/home/pi/Desktop/images/15122025/10/52/image_15122025_10_52_25_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/51/image_15122025_10_51_36_10630.jpg
/home/pi/Desktop/images/15122025/10/51/image_15122025_10_51_45_9742.jpg
/home/pi/Desktop/images/15122025/10/51/image_15122025_10_51_55_9586.jpg
/home/pi/Desktop/images/15122025/10/51/image_15122025_10_52_06_10702.jpg
/home/pi/Desktop/images/15122025/10/52/image_15122025_10_52_15_9639.jpg
/home/pi/Desktop/images/15122025/10/52/image_15122025_10_52_25_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":["1399467001","1399467010","1399466993","1399466996","1399466989","1399466998"],"photo_ids_order":["1399466989","1399466993","1399466996","1399466998","1399467001","1399467010"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4cca1e77cef84ef6bf29f1828513bfd1.jpg","text":"TemporaryFile(/tmp/multipartBody6103623567088298945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793724188,"filename":"image_15122025_10_52_15_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f82f24109d5d5e95ca4ef49989609c17.jpg","text":"TemporaryFile(/tmp/multipartBody250244755857657835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793724188,"filename":"image_15122025_10_52_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/15/34c2c5fbc97bc355c6090ad39ec6a2f9.jpg","text":"TemporaryFile(/tmp/multipartBody5246018880432925404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793724188,"filename":"image_15122025_10_51_45_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2186ad44a73b8f235fabcdbfc7d33999.jpg","text":"TemporaryFile(/tmp/multipartBody6064524529828095696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793724188,"filename":"image_15122025_10_51_55_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/15/a0390d16ef325a927dbf2f82f59149bf.jpg","text":"TemporaryFile(/tmp/multipartBody7391291079310113045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793724188,"filename":"image_15122025_10_51_36_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/15/f29a48a05c1b34302547e40917ad120c.jpg","text":"TemporaryFile(/tmp/multipartBody7849088138536063851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793724188,"filename":"image_15122025_10_52_06_10702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399466996","file1":"1399466993","file0":"1399466989","file4":"1399467001","file5":"1399467010","file3":"1399466998"},"map_files_photo_id_array":[{"photo_id":"1399467010","filename":"file5"},{"photo_id":"1399466996","filename":"file2"},{"photo_id":"1399467001","filename":"file4"},{"photo_id":"1399466993","filename":"file1"},{"photo_id":"1399466989","filename":"file0"},{"photo_id":"1399466998","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399467001":["hashtag1","hashtag2"]},{"1399467010":["hashtag1","hashtag2"]},{"1399466993":["hashtag1","hashtag2"]},{"1399466996":["hashtag1","hashtag2"]},{"1399466989":["hashtag1","hashtag2"]},{"1399466998":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399467001, 1399467010, 1399466993, 1399466996, 1399466989, 1399466998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.06150674819946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 11:15:03.302698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/52/image_15122025_10_52_35_9732.jpg', '/home/pi/Desktop/images/15122025/10/52/image_15122025_10_52_46_10822.jpg', '/home/pi/Desktop/images/15122025/10/52/image_15122025_10_52_55_9729.jpg', '/home/pi/Desktop/images/15122025/10/52/image_15122025_10_53_05_9713.jpg', '/home/pi/Desktop/images/15122025/10/53/image_15122025_10_53_15_9741.jpg', '/home/pi/Desktop/images/15122025/10/53/image_15122025_10_53_25_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/52/image_15122025_10_52_35_9732.jpg
/home/pi/Desktop/images/15122025/10/52/image_15122025_10_52_46_10822.jpg
/home/pi/Desktop/images/15122025/10/52/image_15122025_10_52_55_9729.jpg
/home/pi/Desktop/images/15122025/10/52/image_15122025_10_53_05_9713.jpg
/home/pi/Desktop/images/15122025/10/53/image_15122025_10_53_15_9741.jpg
/home/pi/Desktop/images/15122025/10/53/image_15122025_10_53_25_10613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399467016","1399467025","1399467019","1399467021","1399467023","1399467028"],"photo_ids_order":["1399467016","1399467019","1399467021","1399467023","1399467025","1399467028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/199d2da1950b4c662d39415ab64f529f.jpg","text":"TemporaryFile(/tmp/multipartBody3188326867254334367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793763969,"filename":"image_15122025_10_52_35_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b4712a61a2b1be759b23859ea38a0b8e.jpg","text":"TemporaryFile(/tmp/multipartBody2378212256246280329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793763969,"filename":"image_15122025_10_53_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/15/d24b1e2ca1c2271ad90a8a018d5de653.jpg","text":"TemporaryFile(/tmp/multipartBody8465675517741231392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793763969,"filename":"image_15122025_10_52_46_10822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/51babd42ad20c7473c92e37d7556e050.jpg","text":"TemporaryFile(/tmp/multipartBody2666302522218930831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793763969,"filename":"image_15122025_10_52_55_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b83a0c7f56feb349a0ee1e9a779a3c3d.jpg","text":"TemporaryFile(/tmp/multipartBody889995428687651236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793763969,"filename":"image_15122025_10_53_05_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/888b49d4c911c51d229785fdb1a6c88a.jpg","text":"TemporaryFile(/tmp/multipartBody6517806797954986313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793763969,"filename":"image_15122025_10_53_25_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399467021","file1":"1399467019","file0":"1399467016","file4":"1399467025","file5":"1399467028","file3":"1399467023"},"map_files_photo_id_array":[{"photo_id":"1399467028","filename":"file5"},{"photo_id":"1399467021","filename":"file2"},{"photo_id":"1399467025","filename":"file4"},{"photo_id":"1399467019","filename":"file1"},{"photo_id":"1399467016","filename":"file0"},{"photo_id":"1399467023","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399467016":["hashtag1","hashtag2"]},{"1399467025":["hashtag1","hashtag2"]},{"1399467019":["hashtag1","hashtag2"]},{"1399467021":["hashtag1","hashtag2"]},{"1399467023":["hashtag1","hashtag2"]},{"1399467028":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399467016, 1399467025, 1399467019, 1399467021, 1399467023, 1399467028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.209715604782104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 11:15:42.792713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_25_2558.jpg', '/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_28_2694.jpg', '/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_32_3590.jpg', '/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_34_2617.jpg', '/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_38_3421.jpg', '/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_40_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_25_2558.jpg
/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_28_2694.jpg
/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_32_3590.jpg
/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_34_2617.jpg
/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_38_3421.jpg
/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_40_2681.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5795464515686035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 11:16:02.646605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/53/image_15122025_10_53_35_9638.jpg', '/home/pi/Desktop/images/15122025/10/53/image_15122025_10_53_45_9708.jpg', '/home/pi/Desktop/images/15122025/10/53/image_15122025_10_53_55_10701.jpg', '/home/pi/Desktop/images/15122025/10/53/image_15122025_10_54_05_9540.jpg', '/home/pi/Desktop/images/15122025/10/54/image_15122025_10_54_16_10668.jpg', '/home/pi/Desktop/images/15122025/10/54/image_15122025_10_54_25_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/53/image_15122025_10_53_35_9638.jpg
/home/pi/Desktop/images/15122025/10/53/image_15122025_10_53_45_9708.jpg
/home/pi/Desktop/images/15122025/10/53/image_15122025_10_53_55_10701.jpg
/home/pi/Desktop/images/15122025/10/53/image_15122025_10_54_05_9540.jpg
/home/pi/Desktop/images/15122025/10/54/image_15122025_10_54_16_10668.jpg
/home/pi/Desktop/images/15122025/10/54/image_15122025_10_54_25_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399467042","1399467039","1399467048","1399467056","1399467044","1399467040"],"photo_ids_order":["1399467039","1399467040","1399467042","1399467044","1399467048","1399467056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c3444d17ce1c41df6070eb0303a6b57d.jpg","text":"TemporaryFile(/tmp/multipartBody4475900606458986448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793823277,"filename":"image_15122025_10_53_55_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2d113aa1ad0abda9b0d68689886cbd5a.jpg","text":"TemporaryFile(/tmp/multipartBody1555290983535266674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793823277,"filename":"image_15122025_10_53_35_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b5f063fbecca9d8fd6ef2cc992377fdf.jpg","text":"TemporaryFile(/tmp/multipartBody6997397204976400645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793823277,"filename":"image_15122025_10_54_16_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e860937eddfcdbba889ff16b4bc599a4.jpg","text":"TemporaryFile(/tmp/multipartBody51792808869489469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793823277,"filename":"image_15122025_10_54_25_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/82b59a107339dea15666af7baa87bdcb.jpg","text":"TemporaryFile(/tmp/multipartBody5305700952072869213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793823277,"filename":"image_15122025_10_54_05_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/15/3a42169f77b4b64c49e383e6655e9927.jpg","text":"TemporaryFile(/tmp/multipartBody2651321073275551190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793823277,"filename":"image_15122025_10_53_45_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399467042","file1":"1399467040","file0":"1399467039","file4":"1399467048","file5":"1399467056","file3":"1399467044"},"map_files_photo_id_array":[{"photo_id":"1399467056","filename":"file5"},{"photo_id":"1399467042","filename":"file2"},{"photo_id":"1399467048","filename":"file4"},{"photo_id":"1399467040","filename":"file1"},{"photo_id":"1399467039","filename":"file0"},{"photo_id":"1399467044","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399467042":["hashtag1","hashtag2"]},{"1399467039":["hashtag1","hashtag2"]},{"1399467048":["hashtag1","hashtag2"]},{"1399467056":["hashtag1","hashtag2"]},{"1399467044":["hashtag1","hashtag2"]},{"1399467040":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399467042, 1399467039, 1399467048, 1399467056, 1399467044, 1399467040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72537183761597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 11:16:42.028718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_25_2558.jpg', '/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_28_2694.jpg', '/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_32_3590.jpg', '/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_34_2617.jpg', '/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_38_3421.jpg', '/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_40_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_25_2558.jpg
/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_28_2694.jpg
/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_32_3590.jpg
/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_34_2617.jpg
/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_38_3421.jpg
/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_40_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":["1399467090","1399467071","1399467068","1399467088","1399467091","1399467064"],"photo_ids_order":["1399467064","1399467068","1399467071","1399467088","1399467090","1399467091"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a4ea17ea1ab4603d6b9660a19d592bd3.jpg","text":"TemporaryFile(/tmp/multipartBody5482227115935694299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793862646,"filename":"image_05112025_14_40_38_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/15/ee439d3ac0493f501aae609f082274ce.jpg","text":"TemporaryFile(/tmp/multipartBody1978270429957088769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793862646,"filename":"image_05112025_14_40_32_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/15/6caa8caa7b67061802dda2c395b71f1a.jpg","text":"TemporaryFile(/tmp/multipartBody2362716332962442017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793862646,"filename":"image_05112025_14_40_28_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/15/4187dcbbd7dfd2ebedd995f21184ff94.jpg","text":"TemporaryFile(/tmp/multipartBody564862824327638667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793862646,"filename":"image_05112025_14_40_34_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/15/618703195a01cfcfde38e6156e1ce6e7.jpg","text":"TemporaryFile(/tmp/multipartBody8999501743633421557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793862646,"filename":"image_05112025_14_40_40_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/272afc594b345564f082b96db039ad7d.jpg","text":"TemporaryFile(/tmp/multipartBody1755596211023513806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793862646,"filename":"image_05112025_14_40_25_2558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399467071","file1":"1399467068","file0":"1399467064","file4":"1399467090","file5":"1399467091","file3":"1399467088"},"map_files_photo_id_array":[{"photo_id":"1399467091","filename":"file5"},{"photo_id":"1399467071","filename":"file2"},{"photo_id":"1399467090","filename":"file4"},{"photo_id":"1399467068","filename":"file1"},{"photo_id":"1399467064","filename":"file0"},{"photo_id":"1399467088","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399467090":["hashtag1","hashtag2"]},{"1399467071":["hashtag1","hashtag2"]},{"1399467068":["hashtag1","hashtag2"]},{"1399467088":["hashtag1","hashtag2"]},{"1399467091":["hashtag1","hashtag2"]},{"1399467064":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399467090, 1399467071, 1399467068, 1399467088, 1399467091, 1399467064)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.79441165924072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 11:17:32.357120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 11:17:43.349306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_43_2625.jpg', '/home/pi/Desktop/images/05112025/14/41/image_05112025_14_41_01_2648.jpg', '/home/pi/Desktop/images/05112025/14/41/image_05112025_14_41_04_2821.jpg', '/home/pi/Desktop/images/05112025/14/41/image_05112025_14_41_20_13200.jpg', '/home/pi/Desktop/images/05112025/14/41/image_05112025_14_41_31_10851.jpg', '/home/pi/Desktop/images/05112025/14/41/image_05112025_14_41_35_1656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/40/image_05112025_14_40_43_2625.jpg
/home/pi/Desktop/images/05112025/14/41/image_05112025_14_41_01_2648.jpg
/home/pi/Desktop/images/05112025/14/41/image_05112025_14_41_04_2821.jpg
/home/pi/Desktop/images/05112025/14/41/image_05112025_14_41_20_13200.jpg
/home/pi/Desktop/images/05112025/14/41/image_05112025_14_41_31_10851.jpg
/home/pi/Desktop/images/05112025/14/41/image_05112025_14_41_35_1656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399467633","1399467554","1399467479","1399467716","1399467440","1399467397"],"photo_ids_order":["1399467397","1399467440","1399467479","1399467554","1399467633","1399467716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9edc46a42e1d3d263baeee1545c16900.jpg","text":"TemporaryFile(/tmp/multipartBody7211492794095431218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793924180,"filename":"image_05112025_14_41_31_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/15/bd2f2fec856264a9c7a0c77f5638691b.jpg","text":"TemporaryFile(/tmp/multipartBody5257971671833808613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793924180,"filename":"image_05112025_14_41_20_13200.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6c2e293137508a30ac4ecfdeb2cf90a2.jpg","text":"TemporaryFile(/tmp/multipartBody5748731535428970956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793924180,"filename":"image_05112025_14_41_04_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c38950fed08ac652c817051336186dee.jpg","text":"TemporaryFile(/tmp/multipartBody1314180793343863371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793924180,"filename":"image_05112025_14_41_35_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/15/b692448d8f311ec1af549ffb43d3e953.jpg","text":"TemporaryFile(/tmp/multipartBody924258958703632567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793924180,"filename":"image_05112025_14_41_01_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/15/6cfc0309c653a4024efa580801b87257.jpg","text":"TemporaryFile(/tmp/multipartBody8668212766237805171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793924180,"filename":"image_05112025_14_40_43_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399467479","file1":"1399467440","file0":"1399467397","file4":"1399467633","file5":"1399467716","file3":"1399467554"},"map_files_photo_id_array":[{"photo_id":"1399467716","filename":"file5"},{"photo_id":"1399467479","filename":"file2"},{"photo_id":"1399467633","filename":"file4"},{"photo_id":"1399467440","filename":"file1"},{"photo_id":"1399467397","filename":"file0"},{"photo_id":"1399467554","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399467633":["hashtag1","hashtag2"]},{"1399467554":["hashtag1","hashtag2"]},{"1399467479":["hashtag1","hashtag2"]},{"1399467716":["hashtag1","hashtag2"]},{"1399467440":["hashtag1","hashtag2"]},{"1399467397":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399467633, 1399467554, 1399467479, 1399467716, 1399467440, 1399467397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27546525001526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 11:18:22.430990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/54/image_15122025_10_54_35_9531.jpg', '/home/pi/Desktop/images/15122025/10/54/image_15122025_10_54_45_10530.jpg', '/home/pi/Desktop/images/15122025/10/54/image_15122025_10_54_55_9660.jpg', '/home/pi/Desktop/images/15122025/10/55/image_15122025_10_55_14_10057.jpg', '/home/pi/Desktop/images/15122025/10/55/image_15122025_10_55_25_10628.jpg', '/home/pi/Desktop/images/15122025/10/55/image_15122025_10_55_35_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/54/image_15122025_10_54_35_9531.jpg
/home/pi/Desktop/images/15122025/10/54/image_15122025_10_54_45_10530.jpg
/home/pi/Desktop/images/15122025/10/54/image_15122025_10_54_55_9660.jpg
/home/pi/Desktop/images/15122025/10/55/image_15122025_10_55_14_10057.jpg
/home/pi/Desktop/images/15122025/10/55/image_15122025_10_55_25_10628.jpg
/home/pi/Desktop/images/15122025/10/55/image_15122025_10_55_35_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":["1399468322","1399468223","1399467998","1399468115","1399468546","1399468432"],"photo_ids_order":["1399467998","1399468115","1399468223","1399468322","1399468432","1399468546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/07c4db47cafb782780c6b08467786321.jpg","text":"TemporaryFile(/tmp/multipartBody6635610387352206589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793963378,"filename":"image_15122025_10_55_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ec8206f95769a09ba31cecd0e9c238eb.jpg","text":"TemporaryFile(/tmp/multipartBody6691992118393382085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793963378,"filename":"image_15122025_10_54_55_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3941237ce69d7864f2b6b65a071e2dc3.jpg","text":"TemporaryFile(/tmp/multipartBody6644224918858079606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793963378,"filename":"image_15122025_10_54_35_9531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/061d60d092cd5c0e8adc66a75a1b669f.jpg","text":"TemporaryFile(/tmp/multipartBody1201623911897131002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793963378,"filename":"image_15122025_10_54_45_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/15/7716c03a55a4caa16e85b230eda58afe.jpg","text":"TemporaryFile(/tmp/multipartBody6021759687186317737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793963378,"filename":"image_15122025_10_55_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/15/ae341f493dfa556993ef58d482e05825.jpg","text":"TemporaryFile(/tmp/multipartBody184915749948066819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765793963378,"filename":"image_15122025_10_55_25_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399468223","file1":"1399468115","file0":"1399467998","file4":"1399468432","file5":"1399468546","file3":"1399468322"},"map_files_photo_id_array":[{"photo_id":"1399468546","filename":"file5"},{"photo_id":"1399468223","filename":"file2"},{"photo_id":"1399468432","filename":"file4"},{"photo_id":"1399468115","filename":"file1"},{"photo_id":"1399467998","filename":"file0"},{"photo_id":"1399468322","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399468322":["hashtag1","hashtag2"]},{"1399468223":["hashtag1","hashtag2"]},{"1399467998":["hashtag1","hashtag2"]},{"1399468115":["hashtag1","hashtag2"]},{"1399468546":["hashtag1","hashtag2"]},{"1399468432":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399468322, 1399468223, 1399467998, 1399468115, 1399468546, 1399468432)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.41047668457031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 11:19:12.803448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 11:19:22.733511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/55/image_15122025_10_55_44_9761.jpg', '/home/pi/Desktop/images/15122025/10/55/image_15122025_10_55_55_10759.jpg', '/home/pi/Desktop/images/15122025/10/55/image_15122025_10_56_05_9755.jpg', '/home/pi/Desktop/images/15122025/10/56/image_15122025_10_56_14_9560.jpg', '/home/pi/Desktop/images/15122025/10/56/image_15122025_10_56_25_10785.jpg', '/home/pi/Desktop/images/15122025/10/56/image_15122025_10_56_35_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/55/image_15122025_10_55_44_9761.jpg
/home/pi/Desktop/images/15122025/10/55/image_15122025_10_55_55_10759.jpg
/home/pi/Desktop/images/15122025/10/55/image_15122025_10_56_05_9755.jpg
/home/pi/Desktop/images/15122025/10/56/image_15122025_10_56_14_9560.jpg
/home/pi/Desktop/images/15122025/10/56/image_15122025_10_56_25_10785.jpg
/home/pi/Desktop/images/15122025/10/56/image_15122025_10_56_35_9780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399469657","1399469573","1399469804","1399469729","1399469493","1399469382"],"photo_ids_order":["1399469382","1399469493","1399469573","1399469657","1399469729","1399469804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/30b1f1e7c9276aed70999738829e1de0.jpg","text":"TemporaryFile(/tmp/multipartBody8987156133154441136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794023402,"filename":"image_15122025_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/15/719a4bdf77101e7663f35ea1939765b8.jpg","text":"TemporaryFile(/tmp/multipartBody4924752064163500229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794023402,"filename":"image_15122025_10_56_05_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/50a180ec4056f9ff5ebff51f492a6d69.jpg","text":"TemporaryFile(/tmp/multipartBody5395957039742900014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794023402,"filename":"image_15122025_10_56_35_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7c39d69e04013fbfc569b09b66ced8a1.jpg","text":"TemporaryFile(/tmp/multipartBody1230021798569965853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794023402,"filename":"image_15122025_10_56_25_10785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/80f59e8d9e16d9f743d23f84d9adf3ab.jpg","text":"TemporaryFile(/tmp/multipartBody311055707939944729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794023402,"filename":"image_15122025_10_55_55_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/15/bd0c792ed196f1005c29a7a9ebed1709.jpg","text":"TemporaryFile(/tmp/multipartBody8341819308466686272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794023402,"filename":"image_15122025_10_55_44_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399469573","file1":"1399469493","file0":"1399469382","file4":"1399469729","file5":"1399469804","file3":"1399469657"},"map_files_photo_id_array":[{"photo_id":"1399469804","filename":"file5"},{"photo_id":"1399469573","filename":"file2"},{"photo_id":"1399469729","filename":"file4"},{"photo_id":"1399469493","filename":"file1"},{"photo_id":"1399469382","filename":"file0"},{"photo_id":"1399469657","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399469657":["hashtag1","hashtag2"]},{"1399469573":["hashtag1","hashtag2"]},{"1399469804":["hashtag1","hashtag2"]},{"1399469729":["hashtag1","hashtag2"]},{"1399469493":["hashtag1","hashtag2"]},{"1399469382":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399469657, 1399469573, 1399469804, 1399469729, 1399469493, 1399469382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.651490211486816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 11:20:04.666543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/56/image_15122025_10_56_45_9667.jpg', '/home/pi/Desktop/images/15122025/10/56/image_15122025_10_56_54_9703.jpg', '/home/pi/Desktop/images/15122025/10/56/image_15122025_10_57_05_10800.jpg', '/home/pi/Desktop/images/15122025/10/57/image_15122025_10_57_15_9713.jpg', '/home/pi/Desktop/images/15122025/10/57/image_15122025_10_57_25_9722.jpg', '/home/pi/Desktop/images/15122025/10/57/image_15122025_10_57_34_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/56/image_15122025_10_56_45_9667.jpg
/home/pi/Desktop/images/15122025/10/56/image_15122025_10_56_54_9703.jpg
/home/pi/Desktop/images/15122025/10/56/image_15122025_10_57_05_10800.jpg
/home/pi/Desktop/images/15122025/10/57/image_15122025_10_57_15_9713.jpg
/home/pi/Desktop/images/15122025/10/57/image_15122025_10_57_25_9722.jpg
/home/pi/Desktop/images/15122025/10/57/image_15122025_10_57_34_9695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399470362","1399470368","1399470335","1399470277","1399470127","1399470202"],"photo_ids_order":["1399470127","1399470202","1399470277","1399470335","1399470362","1399470368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5da7a29b0079ba1473623f6c4197cf1a.jpg","text":"TemporaryFile(/tmp/multipartBody1480839795864089480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794067622,"filename":"image_15122025_10_57_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/15/14a4f7e00ea226a9044797ddfea9e90d.jpg","text":"TemporaryFile(/tmp/multipartBody7636696356586195953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794067622,"filename":"image_15122025_10_57_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/15/ba0c87daf8d74ccc0fa8167040d0046b.jpg","text":"TemporaryFile(/tmp/multipartBody5327076105375596032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794067622,"filename":"image_15122025_10_57_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/15/2d2decfee5aaf4df6a3d6708bf1c1d86.jpg","text":"TemporaryFile(/tmp/multipartBody973579473551720665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794067622,"filename":"image_15122025_10_57_05_10800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f8a5e288159a6122f7f419c6ac942819.jpg","text":"TemporaryFile(/tmp/multipartBody3801608725396557059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794067622,"filename":"image_15122025_10_56_45_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b4591a3e01b5a681d464056add1bd5a8.jpg","text":"TemporaryFile(/tmp/multipartBody6640959131207653731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794067622,"filename":"image_15122025_10_56_54_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399470277","file1":"1399470202","file0":"1399470127","file4":"1399470362","file5":"1399470368","file3":"1399470335"},"map_files_photo_id_array":[{"photo_id":"1399470368","filename":"file5"},{"photo_id":"1399470277","filename":"file2"},{"photo_id":"1399470362","filename":"file4"},{"photo_id":"1399470202","filename":"file1"},{"photo_id":"1399470127","filename":"file0"},{"photo_id":"1399470335","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399470362":["hashtag1","hashtag2"]},{"1399470368":["hashtag1","hashtag2"]},{"1399470335":["hashtag1","hashtag2"]},{"1399470277":["hashtag1","hashtag2"]},{"1399470127":["hashtag1","hashtag2"]},{"1399470202":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399470362, 1399470368, 1399470335, 1399470277, 1399470127, 1399470202)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.57605457305908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 11:21:02.510421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/57/image_15122025_10_57_45_10698.jpg', '/home/pi/Desktop/images/15122025/10/57/image_15122025_10_57_55_9628.jpg', '/home/pi/Desktop/images/15122025/10/57/image_15122025_10_58_04_9753.jpg', '/home/pi/Desktop/images/15122025/10/58/image_15122025_10_58_15_10568.jpg', '/home/pi/Desktop/images/15122025/10/58/image_15122025_10_58_25_9621.jpg', '/home/pi/Desktop/images/15122025/10/58/image_15122025_10_58_34_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/57/image_15122025_10_57_45_10698.jpg
/home/pi/Desktop/images/15122025/10/57/image_15122025_10_57_55_9628.jpg
/home/pi/Desktop/images/15122025/10/57/image_15122025_10_58_04_9753.jpg
/home/pi/Desktop/images/15122025/10/58/image_15122025_10_58_15_10568.jpg
/home/pi/Desktop/images/15122025/10/58/image_15122025_10_58_25_9621.jpg
/home/pi/Desktop/images/15122025/10/58/image_15122025_10_58_34_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":["1399470480","1399470429","1399470389","1399470565","1399470619","1399470526"],"photo_ids_order":["1399470389","1399470429","1399470480","1399470526","1399470565","1399470619"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8b56f448ca8dddf060b8d2603f7bd7eb.jpg","text":"TemporaryFile(/tmp/multipartBody4678484482868775700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794123270,"filename":"image_15122025_10_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/15/cefa80b47d37c836835c8a2a1a2b6f51.jpg","text":"TemporaryFile(/tmp/multipartBody8248972568900246475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794123270,"filename":"image_15122025_10_57_55_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6c0d74f0da1eebfb4f39d8df21578a2b.jpg","text":"TemporaryFile(/tmp/multipartBody3388596531196521439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794123270,"filename":"image_15122025_10_57_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/15/c0a395638c08fff5f4ffee75bce8190c.jpg","text":"TemporaryFile(/tmp/multipartBody3197422404545567717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794123270,"filename":"image_15122025_10_58_25_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4f3d9d9072ead0ca1c6b361583ebd875.jpg","text":"TemporaryFile(/tmp/multipartBody3953725972493129460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794123270,"filename":"image_15122025_10_58_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/15/6b2341cf0c7a6b60cf173b10ec44697b.jpg","text":"TemporaryFile(/tmp/multipartBody881429614251533785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794123270,"filename":"image_15122025_10_58_15_10568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399470480","file1":"1399470429","file0":"1399470389","file4":"1399470565","file5":"1399470619","file3":"1399470526"},"map_files_photo_id_array":[{"photo_id":"1399470619","filename":"file5"},{"photo_id":"1399470480","filename":"file2"},{"photo_id":"1399470565","filename":"file4"},{"photo_id":"1399470429","filename":"file1"},{"photo_id":"1399470389","filename":"file0"},{"photo_id":"1399470526","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399470480":["hashtag1","hashtag2"]},{"1399470429":["hashtag1","hashtag2"]},{"1399470389":["hashtag1","hashtag2"]},{"1399470565":["hashtag1","hashtag2"]},{"1399470619":["hashtag1","hashtag2"]},{"1399470526":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399470480, 1399470429, 1399470389, 1399470565, 1399470619, 1399470526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.793304443359375 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-15 11:22:02.637895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/58/image_15122025_10_58_45_10744.jpg', '/home/pi/Desktop/images/15122025/10/58/image_15122025_10_58_55_9741.jpg', '/home/pi/Desktop/images/15122025/10/58/image_15122025_10_59_05_9727.jpg', '/home/pi/Desktop/images/15122025/10/59/image_15122025_10_59_15_10684.jpg', '/home/pi/Desktop/images/15122025/10/59/image_15122025_10_59_25_9632.jpg', '/home/pi/Desktop/images/15122025/10/59/image_15122025_10_59_34_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/58/image_15122025_10_58_45_10744.jpg
/home/pi/Desktop/images/15122025/10/58/image_15122025_10_58_55_9741.jpg
/home/pi/Desktop/images/15122025/10/58/image_15122025_10_59_05_9727.jpg
/home/pi/Desktop/images/15122025/10/59/image_15122025_10_59_15_10684.jpg
/home/pi/Desktop/images/15122025/10/59/image_15122025_10_59_25_9632.jpg
/home/pi/Desktop/images/15122025/10/59/image_15122025_10_59_34_9613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399471511","1399471699","1399471438","1399471773","1399471365","1399471617"],"photo_ids_order":["1399471365","1399471438","1399471511","1399471617","1399471699","1399471773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3fd6be911da6ade0cd2214a4f4e906e4.jpg","text":"TemporaryFile(/tmp/multipartBody7555692661472607682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794183347,"filename":"image_15122025_10_59_05_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/845f2876a5476a39cd7ed87903db5912.jpg","text":"TemporaryFile(/tmp/multipartBody8969896071956133040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794183347,"filename":"image_15122025_10_59_25_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0cefa87946c9d0cba092c4bd3c344bdf.jpg","text":"TemporaryFile(/tmp/multipartBody2420422143940189638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794183347,"filename":"image_15122025_10_58_55_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9c1d9ec6cc4624c2350d8c2fe8557312.jpg","text":"TemporaryFile(/tmp/multipartBody7107920491512102624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794183347,"filename":"image_15122025_10_59_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/15/5bc23e1bc5a570ad49e371a3b1126ec0.jpg","text":"TemporaryFile(/tmp/multipartBody6948439974703243445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794183347,"filename":"image_15122025_10_58_45_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/15/3ecd82531c90d2c96ede1aed3e89d197.jpg","text":"TemporaryFile(/tmp/multipartBody219273841918484779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794183347,"filename":"image_15122025_10_59_15_10684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399471511","file1":"1399471438","file0":"1399471365","file4":"1399471699","file5":"1399471773","file3":"1399471617"},"map_files_photo_id_array":[{"photo_id":"1399471773","filename":"file5"},{"photo_id":"1399471511","filename":"file2"},{"photo_id":"1399471699","filename":"file4"},{"photo_id":"1399471438","filename":"file1"},{"photo_id":"1399471365","filename":"file0"},{"photo_id":"1399471617","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399471511":["hashtag1","hashtag2"]},{"1399471699":["hashtag1","hashtag2"]},{"1399471438":["hashtag1","hashtag2"]},{"1399471773":["hashtag1","hashtag2"]},{"1399471365":["hashtag1","hashtag2"]},{"1399471617":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399471511, 1399471699, 1399471438, 1399471773, 1399471365, 1399471617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54533791542053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 11:22:42.191567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/41/image_05112025_14_41_38_1622.jpg', '/home/pi/Desktop/images/05112025/14/41/image_05112025_14_41_40_1952.jpg', '/home/pi/Desktop/images/05112025/14/41/image_05112025_14_41_45_1556.jpg', '/home/pi/Desktop/images/05112025/14/41/image_05112025_14_41_47_1604.jpg', '/home/pi/Desktop/images/05112025/14/41/image_05112025_14_41_48_1756.jpg', '/home/pi/Desktop/images/05112025/14/41/image_05112025_14_41_50_1717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/41/image_05112025_14_41_38_1622.jpg
/home/pi/Desktop/images/05112025/14/41/image_05112025_14_41_40_1952.jpg
/home/pi/Desktop/images/05112025/14/41/image_05112025_14_41_45_1556.jpg
/home/pi/Desktop/images/05112025/14/41/image_05112025_14_41_47_1604.jpg
/home/pi/Desktop/images/05112025/14/41/image_05112025_14_41_48_1756.jpg
/home/pi/Desktop/images/05112025/14/41/image_05112025_14_41_50_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":["1399472033","1399472158","1399472056","1399472116","1399472187","1399472082"],"photo_ids_order":["1399472033","1399472056","1399472082","1399472116","1399472158","1399472187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/585a27ccb1d14dbb7b3416178e1ff0dd.jpg","text":"TemporaryFile(/tmp/multipartBody6326174253411625448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794222893,"filename":"image_05112025_14_41_38_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/15/7771fc9cf0101dc7cbc5bd64a36534a3.jpg","text":"TemporaryFile(/tmp/multipartBody6358528021376765242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794222893,"filename":"image_05112025_14_41_48_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/15/5b944bad68ae18ba3ec78efbf3707c0e.jpg","text":"TemporaryFile(/tmp/multipartBody6700721676473696514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794222893,"filename":"image_05112025_14_41_40_1952.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/921844171430897d74772eea93066807.jpg","text":"TemporaryFile(/tmp/multipartBody7591683702711834785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794222893,"filename":"image_05112025_14_41_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/15/b43725cbe3d7a227cf785e5621dac656.jpg","text":"TemporaryFile(/tmp/multipartBody1470316779980704954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794222893,"filename":"image_05112025_14_41_50_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/15/7f6a23297951730e2c599a6c2ce43afc.jpg","text":"TemporaryFile(/tmp/multipartBody2664924549848987799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794222893,"filename":"image_05112025_14_41_45_1556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399472082","file1":"1399472056","file0":"1399472033","file4":"1399472158","file5":"1399472187","file3":"1399472116"},"map_files_photo_id_array":[{"photo_id":"1399472187","filename":"file5"},{"photo_id":"1399472082","filename":"file2"},{"photo_id":"1399472158","filename":"file4"},{"photo_id":"1399472056","filename":"file1"},{"photo_id":"1399472033","filename":"file0"},{"photo_id":"1399472116","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399472033":["hashtag1","hashtag2"]},{"1399472158":["hashtag1","hashtag2"]},{"1399472056":["hashtag1","hashtag2"]},{"1399472116":["hashtag1","hashtag2"]},{"1399472187":["hashtag1","hashtag2"]},{"1399472082":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399472033, 1399472158, 1399472056, 1399472116, 1399472187, 1399472082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12247681617737 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 11:23:22.411136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/10/59/image_15122025_10_59_45_10690.jpg', '/home/pi/Desktop/images/15122025/10/59/image_15122025_10_59_55_9600.jpg', '/home/pi/Desktop/images/15122025/11/00/image_15122025_11_00_15_10058.jpg', '/home/pi/Desktop/images/15122025/11/00/image_15122025_11_00_25_10759.jpg', '/home/pi/Desktop/images/15122025/11/00/image_15122025_11_00_35_9599.jpg', '/home/pi/Desktop/images/15122025/11/00/image_15122025_11_00_46_10582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/10/59/image_15122025_10_59_45_10690.jpg
/home/pi/Desktop/images/15122025/10/59/image_15122025_10_59_55_9600.jpg
/home/pi/Desktop/images/15122025/11/00/image_15122025_11_00_15_10058.jpg
/home/pi/Desktop/images/15122025/11/00/image_15122025_11_00_25_10759.jpg
/home/pi/Desktop/images/15122025/11/00/image_15122025_11_00_35_9599.jpg
/home/pi/Desktop/images/15122025/11/00/image_15122025_11_00_46_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":["1399472402","1399472476","1399472512","1399472436","1399472550","1399472588"],"photo_ids_order":["1399472402","1399472436","1399472476","1399472512","1399472550","1399472588"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/700d0cd0d78d741f5e8daf9b67361bff.jpg","text":"TemporaryFile(/tmp/multipartBody4700980062041295162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794263010,"filename":"image_15122025_10_59_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/15/7d567842f2ce14d10b445cdd8e2a3366.jpg","text":"TemporaryFile(/tmp/multipartBody2914688272302796447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794263010,"filename":"image_15122025_11_00_15_10058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9e6ee2a58006652bf1c3fdc4d08d31fc.jpg","text":"TemporaryFile(/tmp/multipartBody1224057556315136278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794263010,"filename":"image_15122025_11_00_25_10759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c24c39d43c58595e87456b5ebbc2da16.jpg","text":"TemporaryFile(/tmp/multipartBody6460989052132996709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794263010,"filename":"image_15122025_10_59_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/15/eb61263890a98d55a03878198a31fd0f.jpg","text":"TemporaryFile(/tmp/multipartBody5296025339477962768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794263010,"filename":"image_15122025_11_00_35_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b3f66aeed52695603e4525c19d2e157b.jpg","text":"TemporaryFile(/tmp/multipartBody5633085858494772026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794263010,"filename":"image_15122025_11_00_46_10582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399472476","file1":"1399472436","file0":"1399472402","file4":"1399472550","file5":"1399472588","file3":"1399472512"},"map_files_photo_id_array":[{"photo_id":"1399472588","filename":"file5"},{"photo_id":"1399472476","filename":"file2"},{"photo_id":"1399472550","filename":"file4"},{"photo_id":"1399472436","filename":"file1"},{"photo_id":"1399472402","filename":"file0"},{"photo_id":"1399472512","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399472402":["hashtag1","hashtag2"]},{"1399472476":["hashtag1","hashtag2"]},{"1399472512":["hashtag1","hashtag2"]},{"1399472436":["hashtag1","hashtag2"]},{"1399472550":["hashtag1","hashtag2"]},{"1399472588":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399472402, 1399472476, 1399472512, 1399472436, 1399472550, 1399472588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59578275680542 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 11:24:03.397082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/00/image_15122025_11_00_55_9710.jpg', '/home/pi/Desktop/images/15122025/11/00/image_15122025_11_01_05_9775.jpg', '/home/pi/Desktop/images/15122025/11/01/image_15122025_11_01_15_9601.jpg', '/home/pi/Desktop/images/15122025/11/01/image_15122025_11_01_25_10714.jpg', '/home/pi/Desktop/images/15122025/11/01/image_15122025_11_01_35_9643.jpg', '/home/pi/Desktop/images/15122025/11/01/image_15122025_11_01_45_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/00/image_15122025_11_00_55_9710.jpg
/home/pi/Desktop/images/15122025/11/00/image_15122025_11_01_05_9775.jpg
/home/pi/Desktop/images/15122025/11/01/image_15122025_11_01_15_9601.jpg
/home/pi/Desktop/images/15122025/11/01/image_15122025_11_01_25_10714.jpg
/home/pi/Desktop/images/15122025/11/01/image_15122025_11_01_35_9643.jpg
/home/pi/Desktop/images/15122025/11/01/image_15122025_11_01_45_9664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399472852","1399472816","1399472887","1399472926","1399472743","1399472781"],"photo_ids_order":["1399472743","1399472781","1399472816","1399472852","1399472887","1399472926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5f9b826df22e08872b08a4a7538acd5b.jpg","text":"TemporaryFile(/tmp/multipartBody5674673484014039580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794304109,"filename":"image_15122025_11_01_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/15/2d210e457440f7a3e3764306cd145f16.jpg","text":"TemporaryFile(/tmp/multipartBody3280921803469307745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794304109,"filename":"image_15122025_11_01_15_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d729a96b57da96bb11000f7e8e7c7672.jpg","text":"TemporaryFile(/tmp/multipartBody7904844641023914165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794304109,"filename":"image_15122025_11_01_35_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/30be0a1709d4002690ae7de424daa57f.jpg","text":"TemporaryFile(/tmp/multipartBody3497691876139640962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794304109,"filename":"image_15122025_11_01_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/15/d5f48e368c60580ea94775b4ffdf8037.jpg","text":"TemporaryFile(/tmp/multipartBody6077445425992190748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794304109,"filename":"image_15122025_11_00_55_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/520cc7f7ed3cc83f17f3380dc46a641e.jpg","text":"TemporaryFile(/tmp/multipartBody3738953562220922734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794304109,"filename":"image_15122025_11_01_05_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399472816","file1":"1399472781","file0":"1399472743","file4":"1399472887","file5":"1399472926","file3":"1399472852"},"map_files_photo_id_array":[{"photo_id":"1399472926","filename":"file5"},{"photo_id":"1399472816","filename":"file2"},{"photo_id":"1399472887","filename":"file4"},{"photo_id":"1399472781","filename":"file1"},{"photo_id":"1399472743","filename":"file0"},{"photo_id":"1399472852","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399472852":["hashtag1","hashtag2"]},{"1399472816":["hashtag1","hashtag2"]},{"1399472887":["hashtag1","hashtag2"]},{"1399472926":["hashtag1","hashtag2"]},{"1399472743":["hashtag1","hashtag2"]},{"1399472781":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399472852, 1399472816, 1399472887, 1399472926, 1399472743, 1399472781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5352623462677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 11:24:42.710827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/41/image_05112025_14_41_52_1722.jpg', '/home/pi/Desktop/images/05112025/14/41/image_05112025_14_41_58_2670.jpg', '/home/pi/Desktop/images/05112025/14/41/image_05112025_14_42_01_3788.jpg', '/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_04_2629.jpg', '/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_07_2621.jpg', '/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_10_3700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/41/image_05112025_14_41_52_1722.jpg
/home/pi/Desktop/images/05112025/14/41/image_05112025_14_41_58_2670.jpg
/home/pi/Desktop/images/05112025/14/41/image_05112025_14_42_01_3788.jpg
/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_04_2629.jpg
/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_07_2621.jpg
/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_10_3700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399473133","1399473060","1399473098","1399473170","1399473251","1399473212"],"photo_ids_order":["1399473060","1399473098","1399473133","1399473170","1399473212","1399473251"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b430362deffabf651520b7fc1d6d00c3.jpg","text":"TemporaryFile(/tmp/multipartBody4757834222186510328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794343414,"filename":"image_05112025_14_42_01_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/15/b8eb4cc871765845a6cf508235eb7a99.jpg","text":"TemporaryFile(/tmp/multipartBody3995912549972889306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794343414,"filename":"image_05112025_14_41_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/15/f955a0175e77dbd9ea5ef025e645afe4.jpg","text":"TemporaryFile(/tmp/multipartBody4383086016349347125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794343414,"filename":"image_05112025_14_41_58_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/15/6e772e5a4f3642dc4005895dc3018594.jpg","text":"TemporaryFile(/tmp/multipartBody5191433256053929394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794343414,"filename":"image_05112025_14_42_04_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4ac1fc7784b2b3bc31c2d844ba4c4dbf.jpg","text":"TemporaryFile(/tmp/multipartBody2053817150328856305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794343414,"filename":"image_05112025_14_42_10_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/10dca59b5cfab0b6e542ef7583bad685.jpg","text":"TemporaryFile(/tmp/multipartBody5280745805043525064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794343414,"filename":"image_05112025_14_42_07_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399473133","file1":"1399473098","file0":"1399473060","file4":"1399473212","file5":"1399473251","file3":"1399473170"},"map_files_photo_id_array":[{"photo_id":"1399473251","filename":"file5"},{"photo_id":"1399473133","filename":"file2"},{"photo_id":"1399473212","filename":"file4"},{"photo_id":"1399473098","filename":"file1"},{"photo_id":"1399473060","filename":"file0"},{"photo_id":"1399473170","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399473133":["hashtag1","hashtag2"]},{"1399473060":["hashtag1","hashtag2"]},{"1399473098":["hashtag1","hashtag2"]},{"1399473170":["hashtag1","hashtag2"]},{"1399473251":["hashtag1","hashtag2"]},{"1399473212":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399473133, 1399473060, 1399473098, 1399473170, 1399473251, 1399473212)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.97480845451355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 11:25:31.976259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 11:25:41.986760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_13_2592.jpg', '/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_16_2650.jpg', '/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_19_3691.jpg', '/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_22_2592.jpg', '/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_25_2748.jpg', '/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_29_3860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_13_2592.jpg
/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_16_2650.jpg
/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_19_3691.jpg
/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_22_2592.jpg
/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_25_2748.jpg
/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_29_3860.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6909916400909424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 11:26:02.621223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/01/image_15122025_11_01_56_10779.jpg', '/home/pi/Desktop/images/15122025/11/01/image_15122025_11_02_05_9742.jpg', '/home/pi/Desktop/images/15122025/11/02/image_15122025_11_02_15_9706.jpg', '/home/pi/Desktop/images/15122025/11/02/image_15122025_11_02_26_10643.jpg', '/home/pi/Desktop/images/15122025/11/02/image_15122025_11_02_35_9852.jpg', '/home/pi/Desktop/images/15122025/11/02/image_15122025_11_02_45_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/01/image_15122025_11_01_56_10779.jpg
/home/pi/Desktop/images/15122025/11/01/image_15122025_11_02_05_9742.jpg
/home/pi/Desktop/images/15122025/11/02/image_15122025_11_02_15_9706.jpg
/home/pi/Desktop/images/15122025/11/02/image_15122025_11_02_26_10643.jpg
/home/pi/Desktop/images/15122025/11/02/image_15122025_11_02_35_9852.jpg
/home/pi/Desktop/images/15122025/11/02/image_15122025_11_02_45_9738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399473577","1399473384","1399473459","1399473674","1399473419","1399473496"],"photo_ids_order":["1399473384","1399473419","1399473459","1399473496","1399473577","1399473674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e6c84f13b1922049b12bdc526803827c.jpg","text":"TemporaryFile(/tmp/multipartBody8799420367082011803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794423284,"filename":"image_15122025_11_02_35_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/08aae3f2a793a215fa27b45e308ea3bf.jpg","text":"TemporaryFile(/tmp/multipartBody6955851961177480125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794423284,"filename":"image_15122025_11_01_56_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/15/f93d79ad8090f6c46ece2c005eb9b4c8.jpg","text":"TemporaryFile(/tmp/multipartBody607778820681523438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794423284,"filename":"image_15122025_11_02_15_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0fb6f8333496c7f4fc8f5fb55f38e9d7.jpg","text":"TemporaryFile(/tmp/multipartBody3712688991763176992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794423284,"filename":"image_15122025_11_02_45_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f8a0680b479f86f8748973f4f9a7a398.jpg","text":"TemporaryFile(/tmp/multipartBody3534707013735360612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794423284,"filename":"image_15122025_11_02_05_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d6de141b99714a2d5dde9bcc0bcc181d.jpg","text":"TemporaryFile(/tmp/multipartBody2618150536178928311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794423284,"filename":"image_15122025_11_02_26_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399473459","file1":"1399473419","file0":"1399473384","file4":"1399473577","file5":"1399473674","file3":"1399473496"},"map_files_photo_id_array":[{"photo_id":"1399473674","filename":"file5"},{"photo_id":"1399473459","filename":"file2"},{"photo_id":"1399473577","filename":"file4"},{"photo_id":"1399473419","filename":"file1"},{"photo_id":"1399473384","filename":"file0"},{"photo_id":"1399473496","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399473577":["hashtag1","hashtag2"]},{"1399473384":["hashtag1","hashtag2"]},{"1399473459":["hashtag1","hashtag2"]},{"1399473674":["hashtag1","hashtag2"]},{"1399473419":["hashtag1","hashtag2"]},{"1399473496":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399473577, 1399473384, 1399473459, 1399473674, 1399473419, 1399473496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.13184118270874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 11:27:03.166955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/02/image_15122025_11_02_55_9671.jpg', '/home/pi/Desktop/images/15122025/11/02/image_15122025_11_03_05_9786.jpg', '/home/pi/Desktop/images/15122025/11/03/image_15122025_11_03_15_10655.jpg', '/home/pi/Desktop/images/15122025/11/03/image_15122025_11_03_25_9558.jpg', '/home/pi/Desktop/images/15122025/11/03/image_15122025_11_03_36_10744.jpg', '/home/pi/Desktop/images/15122025/11/03/image_15122025_11_03_45_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/02/image_15122025_11_02_55_9671.jpg
/home/pi/Desktop/images/15122025/11/02/image_15122025_11_03_05_9786.jpg
/home/pi/Desktop/images/15122025/11/03/image_15122025_11_03_15_10655.jpg
/home/pi/Desktop/images/15122025/11/03/image_15122025_11_03_25_9558.jpg
/home/pi/Desktop/images/15122025/11/03/image_15122025_11_03_36_10744.jpg
/home/pi/Desktop/images/15122025/11/03/image_15122025_11_03_45_9735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399474299","1399474215","1399474412","1399474136","1399474492","1399474060"],"photo_ids_order":["1399474060","1399474136","1399474215","1399474299","1399474412","1399474492"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/66b52d3a7d20e291f973b19c1fad57c2.jpg","text":"TemporaryFile(/tmp/multipartBody8252615329870793965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794486370,"filename":"image_15122025_11_03_25_9558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/45dc03756bd05517607cff2a49d17dfa.jpg","text":"TemporaryFile(/tmp/multipartBody4487450167453349089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794486370,"filename":"image_15122025_11_03_15_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2a788a43aaebcbfca88648de00d7d9b5.jpg","text":"TemporaryFile(/tmp/multipartBody8025966590550574089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794486370,"filename":"image_15122025_11_03_36_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/15/8b2be42c7b9cf064fe754bb86306d8f5.jpg","text":"TemporaryFile(/tmp/multipartBody7941472238897337498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794486370,"filename":"image_15122025_11_03_05_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/12e4b9f8b07c7a5d72c501f1e36cb63a.jpg","text":"TemporaryFile(/tmp/multipartBody8793198023404922832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794486370,"filename":"image_15122025_11_03_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/15/1cfa4b008f2d16f5cc06b5d1a6d94363.jpg","text":"TemporaryFile(/tmp/multipartBody1230240648333884707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794486370,"filename":"image_15122025_11_02_55_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399474215","file1":"1399474136","file0":"1399474060","file4":"1399474412","file5":"1399474492","file3":"1399474299"},"map_files_photo_id_array":[{"photo_id":"1399474492","filename":"file5"},{"photo_id":"1399474215","filename":"file2"},{"photo_id":"1399474412","filename":"file4"},{"photo_id":"1399474136","filename":"file1"},{"photo_id":"1399474060","filename":"file0"},{"photo_id":"1399474299","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399474299":["hashtag1","hashtag2"]},{"1399474215":["hashtag1","hashtag2"]},{"1399474412":["hashtag1","hashtag2"]},{"1399474136":["hashtag1","hashtag2"]},{"1399474492":["hashtag1","hashtag2"]},{"1399474060":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399474299, 1399474215, 1399474412, 1399474136, 1399474492, 1399474060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.332709550857544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 11:28:07.734735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/03/image_15122025_11_03_55_9641.jpg', '/home/pi/Desktop/images/15122025/11/03/image_15122025_11_04_05_9784.jpg', '/home/pi/Desktop/images/15122025/11/04/image_15122025_11_04_16_10736.jpg', '/home/pi/Desktop/images/15122025/11/04/image_15122025_11_04_25_9823.jpg', '/home/pi/Desktop/images/15122025/11/04/image_15122025_11_04_35_9624.jpg', '/home/pi/Desktop/images/15122025/11/04/image_15122025_11_04_45_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/03/image_15122025_11_03_55_9641.jpg
/home/pi/Desktop/images/15122025/11/03/image_15122025_11_04_05_9784.jpg
/home/pi/Desktop/images/15122025/11/04/image_15122025_11_04_16_10736.jpg
/home/pi/Desktop/images/15122025/11/04/image_15122025_11_04_25_9823.jpg
/home/pi/Desktop/images/15122025/11/04/image_15122025_11_04_35_9624.jpg
/home/pi/Desktop/images/15122025/11/04/image_15122025_11_04_45_9766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399474864","1399474884","1399474851","1399474886","1399474817","1399474882"],"photo_ids_order":["1399474817","1399474851","1399474864","1399474882","1399474884","1399474886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/76013f0f8fc8b376e6153dfa9a0de51c.jpg","text":"TemporaryFile(/tmp/multipartBody3198891152464284486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794548364,"filename":"image_15122025_11_04_16_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/15/2d3bda1b827843548eb81c91051d4c23.jpg","text":"TemporaryFile(/tmp/multipartBody2738505772022222349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794548364,"filename":"image_15122025_11_04_35_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/66707b112336d4608417638c191f7b90.jpg","text":"TemporaryFile(/tmp/multipartBody7361374941086488382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794548364,"filename":"image_15122025_11_04_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/15/3857e162641cde5edc042ec175699e2a.jpg","text":"TemporaryFile(/tmp/multipartBody8850769328423265195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794548364,"filename":"image_15122025_11_04_45_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/75d53cf03c64e372c1925c67f9e91d4f.jpg","text":"TemporaryFile(/tmp/multipartBody6641224059161775302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794548364,"filename":"image_15122025_11_03_55_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/386d2b96bd9e83be1a9e45c0d6f2ee22.jpg","text":"TemporaryFile(/tmp/multipartBody4663646880990193510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794548364,"filename":"image_15122025_11_04_25_9823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399474864","file1":"1399474851","file0":"1399474817","file4":"1399474884","file5":"1399474886","file3":"1399474882"},"map_files_photo_id_array":[{"photo_id":"1399474886","filename":"file5"},{"photo_id":"1399474864","filename":"file2"},{"photo_id":"1399474884","filename":"file4"},{"photo_id":"1399474851","filename":"file1"},{"photo_id":"1399474817","filename":"file0"},{"photo_id":"1399474882","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399474864":["hashtag1","hashtag2"]},{"1399474884":["hashtag1","hashtag2"]},{"1399474851":["hashtag1","hashtag2"]},{"1399474886":["hashtag1","hashtag2"]},{"1399474817":["hashtag1","hashtag2"]},{"1399474882":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399474864, 1399474884, 1399474851, 1399474886, 1399474817, 1399474882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82858991622925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 11:29:02.742545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/04/image_15122025_11_04_56_10784.jpg', '/home/pi/Desktop/images/15122025/11/05/image_15122025_11_05_14_10058.jpg', '/home/pi/Desktop/images/15122025/11/05/image_15122025_11_05_25_10770.jpg', '/home/pi/Desktop/images/15122025/11/05/image_15122025_11_05_35_9863.jpg', '/home/pi/Desktop/images/15122025/11/05/image_15122025_11_05_45_9626.jpg', '/home/pi/Desktop/images/15122025/11/05/image_15122025_11_05_54_9764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/04/image_15122025_11_04_56_10784.jpg
/home/pi/Desktop/images/15122025/11/05/image_15122025_11_05_14_10058.jpg
/home/pi/Desktop/images/15122025/11/05/image_15122025_11_05_25_10770.jpg
/home/pi/Desktop/images/15122025/11/05/image_15122025_11_05_35_9863.jpg
/home/pi/Desktop/images/15122025/11/05/image_15122025_11_05_45_9626.jpg
/home/pi/Desktop/images/15122025/11/05/image_15122025_11_05_54_9764.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399474942","1399474902","1399475024","1399474904","1399474891","1399474981"],"photo_ids_order":["1399474891","1399474902","1399474904","1399474942","1399474981","1399475024"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9da8fc7fab81a5d2ff71d45b1c9590dd.jpg","text":"TemporaryFile(/tmp/multipartBody1623707145950680678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794603514,"filename":"image_15122025_11_05_35_9863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5a4f083f919671ea0cb61e9f7276b578.jpg","text":"TemporaryFile(/tmp/multipartBody208377568367243880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794603514,"filename":"image_15122025_11_05_14_10058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f6acd7834e8f9117a96763f07ac7ab26.jpg","text":"TemporaryFile(/tmp/multipartBody6542253563726647614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794603514,"filename":"image_15122025_11_05_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/15/c54b1963a8c65b8855cf4b1fb42e9e3b.jpg","text":"TemporaryFile(/tmp/multipartBody7547597352826292661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794603514,"filename":"image_15122025_11_05_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/15/61128c1e7926ccca396ba96439476990.jpg","text":"TemporaryFile(/tmp/multipartBody70884373927922777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794603514,"filename":"image_15122025_11_04_56_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/15/641a67f1ccf0382150eca895fa70d8ae.jpg","text":"TemporaryFile(/tmp/multipartBody8338542955956286898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794603514,"filename":"image_15122025_11_05_45_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399474904","file1":"1399474902","file0":"1399474891","file4":"1399474981","file5":"1399475024","file3":"1399474942"},"map_files_photo_id_array":[{"photo_id":"1399475024","filename":"file5"},{"photo_id":"1399474904","filename":"file2"},{"photo_id":"1399474981","filename":"file4"},{"photo_id":"1399474902","filename":"file1"},{"photo_id":"1399474891","filename":"file0"},{"photo_id":"1399474942","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399474942":["hashtag1","hashtag2"]},{"1399474902":["hashtag1","hashtag2"]},{"1399475024":["hashtag1","hashtag2"]},{"1399474904":["hashtag1","hashtag2"]},{"1399474891":["hashtag1","hashtag2"]},{"1399474981":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399474942, 1399474902, 1399475024, 1399474904, 1399474891, 1399474981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.097081899642944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 11:30:02.763450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/05/image_15122025_11_06_05_10751.jpg', '/home/pi/Desktop/images/15122025/11/06/image_15122025_11_06_15_9715.jpg', '/home/pi/Desktop/images/15122025/11/06/image_15122025_11_06_24_9636.jpg', '/home/pi/Desktop/images/15122025/11/06/image_15122025_11_06_34_9838.jpg', '/home/pi/Desktop/images/15122025/11/06/image_15122025_11_06_45_10781.jpg', '/home/pi/Desktop/images/15122025/11/06/image_15122025_11_06_55_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/05/image_15122025_11_06_05_10751.jpg
/home/pi/Desktop/images/15122025/11/06/image_15122025_11_06_15_9715.jpg
/home/pi/Desktop/images/15122025/11/06/image_15122025_11_06_24_9636.jpg
/home/pi/Desktop/images/15122025/11/06/image_15122025_11_06_34_9838.jpg
/home/pi/Desktop/images/15122025/11/06/image_15122025_11_06_45_10781.jpg
/home/pi/Desktop/images/15122025/11/06/image_15122025_11_06_55_9803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399475361","1399475445","1399475418","1399475395","1399475443","1399475314"],"photo_ids_order":["1399475314","1399475361","1399475395","1399475418","1399475443","1399475445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/51d068796e3aa964957872cfc8c91e16.jpg","text":"TemporaryFile(/tmp/multipartBody2322520725768993677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794691490,"filename":"image_15122025_11_06_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/15/5578231a353775c0df0fa6f2e3e321fc.jpg","text":"TemporaryFile(/tmp/multipartBody5706239976433929253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794691490,"filename":"image_15122025_11_06_55_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/35c857dd724f2cb28d493ef029ecae88.jpg","text":"TemporaryFile(/tmp/multipartBody8799800588106793810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794691490,"filename":"image_15122025_11_06_34_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/10f4502d1e0bf4ef3516165617a16a34.jpg","text":"TemporaryFile(/tmp/multipartBody473691118532721993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794691490,"filename":"image_15122025_11_06_24_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/caa2a7029dc4dd87f98cea21d4e861f4.jpg","text":"TemporaryFile(/tmp/multipartBody2999359835445392062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794691490,"filename":"image_15122025_11_06_45_10781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/48525d957d49a5167321f85f4b7f91bd.jpg","text":"TemporaryFile(/tmp/multipartBody7092109996728040475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794691490,"filename":"image_15122025_11_06_05_10751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399475395","file1":"1399475361","file0":"1399475314","file4":"1399475443","file5":"1399475445","file3":"1399475418"},"map_files_photo_id_array":[{"photo_id":"1399475445","filename":"file5"},{"photo_id":"1399475395","filename":"file2"},{"photo_id":"1399475443","filename":"file4"},{"photo_id":"1399475361","filename":"file1"},{"photo_id":"1399475314","filename":"file0"},{"photo_id":"1399475418","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399475361":["hashtag1","hashtag2"]},{"1399475445":["hashtag1","hashtag2"]},{"1399475418":["hashtag1","hashtag2"]},{"1399475395":["hashtag1","hashtag2"]},{"1399475443":["hashtag1","hashtag2"]},{"1399475314":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399475361, 1399475445, 1399475418, 1399475395, 1399475443, 1399475314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.57124423980713 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 11:31:12.550161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 11:31:22.629087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/06/image_15122025_11_07_04_9619.jpg', '/home/pi/Desktop/images/15122025/11/07/image_15122025_11_07_15_10691.jpg', '/home/pi/Desktop/images/15122025/11/07/image_15122025_11_07_25_9837.jpg', '/home/pi/Desktop/images/15122025/11/07/image_15122025_11_07_35_9696.jpg', '/home/pi/Desktop/images/15122025/11/07/image_15122025_11_07_44_9614.jpg', '/home/pi/Desktop/images/15122025/11/07/image_15122025_11_07_55_10691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/06/image_15122025_11_07_04_9619.jpg
/home/pi/Desktop/images/15122025/11/07/image_15122025_11_07_15_10691.jpg
/home/pi/Desktop/images/15122025/11/07/image_15122025_11_07_25_9837.jpg
/home/pi/Desktop/images/15122025/11/07/image_15122025_11_07_35_9696.jpg
/home/pi/Desktop/images/15122025/11/07/image_15122025_11_07_44_9614.jpg
/home/pi/Desktop/images/15122025/11/07/image_15122025_11_07_55_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":["1399475459","1399475456","1399475467","1399475461","1399475455","1399475464"],"photo_ids_order":["1399475455","1399475456","1399475459","1399475461","1399475464","1399475467"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/07e4b84987fcbfa7910c6c2144994398.jpg","text":"TemporaryFile(/tmp/multipartBody8485583076601957557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794743246,"filename":"image_15122025_11_07_25_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7cabf04867640931ba389b76c95bf7ac.jpg","text":"TemporaryFile(/tmp/multipartBody4159138810382192523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794743246,"filename":"image_15122025_11_07_15_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/606a2e90ede5e0c0f789e8f4f32f8c2b.jpg","text":"TemporaryFile(/tmp/multipartBody4093344940774777014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794743246,"filename":"image_15122025_11_07_55_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a56e0e06e5c61e75c4f186d05ef6d288.jpg","text":"TemporaryFile(/tmp/multipartBody3910466935833386226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794743246,"filename":"image_15122025_11_07_35_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/27068fe676d7c31df75e913598ed3948.jpg","text":"TemporaryFile(/tmp/multipartBody7204939985159926167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794743246,"filename":"image_15122025_11_07_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/15/f43ba4e1511d12b18ed0d4333a4ef63b.jpg","text":"TemporaryFile(/tmp/multipartBody8760507413241279701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794743246,"filename":"image_15122025_11_07_44_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399475459","file1":"1399475456","file0":"1399475455","file4":"1399475464","file5":"1399475467","file3":"1399475461"},"map_files_photo_id_array":[{"photo_id":"1399475467","filename":"file5"},{"photo_id":"1399475459","filename":"file2"},{"photo_id":"1399475464","filename":"file4"},{"photo_id":"1399475456","filename":"file1"},{"photo_id":"1399475455","filename":"file0"},{"photo_id":"1399475461","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399475459":["hashtag1","hashtag2"]},{"1399475456":["hashtag1","hashtag2"]},{"1399475467":["hashtag1","hashtag2"]},{"1399475461":["hashtag1","hashtag2"]},{"1399475455":["hashtag1","hashtag2"]},{"1399475464":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399475459, 1399475456, 1399475467, 1399475461, 1399475455, 1399475464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.06763410568237 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 11:32:12.686258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 11:32:22.832103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/07/image_15122025_11_08_05_9751.jpg', '/home/pi/Desktop/images/15122025/11/08/image_15122025_11_08_15_9820.jpg', '/home/pi/Desktop/images/15122025/11/08/image_15122025_11_08_25_10605.jpg', '/home/pi/Desktop/images/15122025/11/08/image_15122025_11_08_35_9769.jpg', '/home/pi/Desktop/images/15122025/11/08/image_15122025_11_08_45_9561.jpg', '/home/pi/Desktop/images/15122025/11/08/image_15122025_11_08_55_10691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/07/image_15122025_11_08_05_9751.jpg
/home/pi/Desktop/images/15122025/11/08/image_15122025_11_08_15_9820.jpg
/home/pi/Desktop/images/15122025/11/08/image_15122025_11_08_25_10605.jpg
/home/pi/Desktop/images/15122025/11/08/image_15122025_11_08_35_9769.jpg
/home/pi/Desktop/images/15122025/11/08/image_15122025_11_08_45_9561.jpg
/home/pi/Desktop/images/15122025/11/08/image_15122025_11_08_55_10691.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5391530990600586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 11:32:32.823039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 11:32:42.818849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_13_2592.jpg', '/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_16_2650.jpg', '/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_19_3691.jpg', '/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_22_2592.jpg', '/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_25_2748.jpg', '/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_29_3860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_13_2592.jpg
/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_16_2650.jpg
/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_19_3691.jpg
/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_22_2592.jpg
/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_25_2748.jpg
/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_29_3860.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399476003","1399476306","1399476206","1399475882","1399476418","1399476103"],"photo_ids_order":["1399475882","1399476003","1399476103","1399476206","1399476306","1399476418"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ed21bcb1af53b19c2dea63fcf7cb178d.jpg","text":"TemporaryFile(/tmp/multipartBody5824914080447057481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794824611,"filename":"image_05112025_14_42_16_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/15/802fa8e678b02717ffb387432209dedd.jpg","text":"TemporaryFile(/tmp/multipartBody3011479415233195778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794824611,"filename":"image_05112025_14_42_25_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/15/68d948378889d6d544ba57d6dd4e2feb.jpg","text":"TemporaryFile(/tmp/multipartBody4009739257667950271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794824611,"filename":"image_05112025_14_42_22_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/15/c804291b622b182bda60a9a41dfbe257.jpg","text":"TemporaryFile(/tmp/multipartBody4332840509135824700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794824611,"filename":"image_05112025_14_42_13_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/15/dd4b82d4b7e99c75dd9434f269427e3f.jpg","text":"TemporaryFile(/tmp/multipartBody1545613797012800675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794824611,"filename":"image_05112025_14_42_29_3860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d2692aff45dbcaf10ee9035a80a82210.jpg","text":"TemporaryFile(/tmp/multipartBody5025757154521437151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794824611,"filename":"image_05112025_14_42_19_3691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399476103","file1":"1399476003","file0":"1399475882","file4":"1399476306","file5":"1399476418","file3":"1399476206"},"map_files_photo_id_array":[{"photo_id":"1399476418","filename":"file5"},{"photo_id":"1399476103","filename":"file2"},{"photo_id":"1399476306","filename":"file4"},{"photo_id":"1399476003","filename":"file1"},{"photo_id":"1399475882","filename":"file0"},{"photo_id":"1399476206","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399476003":["hashtag1","hashtag2"]},{"1399476306":["hashtag1","hashtag2"]},{"1399476206":["hashtag1","hashtag2"]},{"1399475882":["hashtag1","hashtag2"]},{"1399476418":["hashtag1","hashtag2"]},{"1399476103":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399476003, 1399476306, 1399476206, 1399475882, 1399476418, 1399476103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.86544442176819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 11:33:32.136184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 11:33:42.070200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_31_2766.jpg', '/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_34_2864.jpg', '/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_37_2705.jpg', '/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_40_2695.jpg', '/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_43_3761.jpg', '/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_46_2773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_31_2766.jpg
/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_34_2864.jpg
/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_37_2705.jpg
/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_40_2695.jpg
/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_43_3761.jpg
/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_46_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":["1399476624","1399476584","1399476740","1399476701","1399476664","1399476537"],"photo_ids_order":["1399476537","1399476584","1399476624","1399476664","1399476701","1399476740"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/748a81db1738a1c645bfe3c15b36e043.jpg","text":"TemporaryFile(/tmp/multipartBody6189342563974912083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794882804,"filename":"image_05112025_14_42_37_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/15bcb5fd2260c6aa50eb7339d2a93cfa.jpg","text":"TemporaryFile(/tmp/multipartBody4704828048501304912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794882804,"filename":"image_05112025_14_42_34_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/15/b19a80f17e1f2e5d0bcbab4a24ee3d1f.jpg","text":"TemporaryFile(/tmp/multipartBody6281245697566084733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794882804,"filename":"image_05112025_14_42_46_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/15/c5a3552f36f68f91ce40ef1e98c2493a.jpg","text":"TemporaryFile(/tmp/multipartBody4333224736537257891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794882804,"filename":"image_05112025_14_42_43_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/15/eafdc2112e5517038d08022aabb7c10e.jpg","text":"TemporaryFile(/tmp/multipartBody1823588491874666655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794882804,"filename":"image_05112025_14_42_40_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e6140df0800be1917cfd52db724bf685.jpg","text":"TemporaryFile(/tmp/multipartBody5722291575498924161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794882804,"filename":"image_05112025_14_42_31_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399476624","file1":"1399476584","file0":"1399476537","file4":"1399476701","file5":"1399476740","file3":"1399476664"},"map_files_photo_id_array":[{"photo_id":"1399476740","filename":"file5"},{"photo_id":"1399476624","filename":"file2"},{"photo_id":"1399476701","filename":"file4"},{"photo_id":"1399476584","filename":"file1"},{"photo_id":"1399476537","filename":"file0"},{"photo_id":"1399476664","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399476624":["hashtag1","hashtag2"]},{"1399476584":["hashtag1","hashtag2"]},{"1399476740":["hashtag1","hashtag2"]},{"1399476701":["hashtag1","hashtag2"]},{"1399476664":["hashtag1","hashtag2"]},{"1399476537":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399476624, 1399476584, 1399476740, 1399476701, 1399476664, 1399476537)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.619704723358154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 11:34:42.749656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_49_2575.jpg', '/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_52_3683.jpg', '/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_55_2628.jpg', '/home/pi/Desktop/images/05112025/14/42/image_05112025_14_43_01_3652.jpg', '/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_04_2782.jpg', '/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_07_2567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_49_2575.jpg
/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_52_3683.jpg
/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_55_2628.jpg
/home/pi/Desktop/images/05112025/14/42/image_05112025_14_43_01_3652.jpg
/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_04_2782.jpg
/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_07_2567.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6816189289093018 secondes ---
2025-12-15 11:34:42.797035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 11:35:02.440821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 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-15 11:35:11.866660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 11:35:21.838293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/07/image_15122025_11_08_05_9751.jpg', '/home/pi/Desktop/images/15122025/11/08/image_15122025_11_08_15_9820.jpg', '/home/pi/Desktop/images/15122025/11/08/image_15122025_11_08_25_10605.jpg', '/home/pi/Desktop/images/15122025/11/08/image_15122025_11_08_35_9769.jpg', '/home/pi/Desktop/images/15122025/11/08/image_15122025_11_08_45_9561.jpg', '/home/pi/Desktop/images/15122025/11/08/image_15122025_11_08_55_10691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/07/image_15122025_11_08_05_9751.jpg
/home/pi/Desktop/images/15122025/11/08/image_15122025_11_08_15_9820.jpg
/home/pi/Desktop/images/15122025/11/08/image_15122025_11_08_25_10605.jpg
/home/pi/Desktop/images/15122025/11/08/image_15122025_11_08_35_9769.jpg
/home/pi/Desktop/images/15122025/11/08/image_15122025_11_08_45_9561.jpg
/home/pi/Desktop/images/15122025/11/08/image_15122025_11_08_55_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":["1399478018","1399478062","1399477934","1399477978","1399478101","1399477824"],"photo_ids_order":["1399477824","1399477934","1399477978","1399478018","1399478062","1399478101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/863af222f2ec55edaae500b4a239fcb7.jpg","text":"TemporaryFile(/tmp/multipartBody9028645340792246120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794982464,"filename":"image_15122025_11_08_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/15/3ce15263fb3ef64ed6400d4827ad4bdb.jpg","text":"TemporaryFile(/tmp/multipartBody8875002227990121801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794982464,"filename":"image_15122025_11_08_45_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/15/9a44350eb1758268da0f8e12ff67b756.jpg","text":"TemporaryFile(/tmp/multipartBody4149493615897791874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794982464,"filename":"image_15122025_11_08_15_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/15/6eee359eb40e7d4520f83e556a0d86ee.jpg","text":"TemporaryFile(/tmp/multipartBody4877739329632579913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794982464,"filename":"image_15122025_11_08_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/15/bd83e92ce37d13d2d51cd781b1f2f5a7.jpg","text":"TemporaryFile(/tmp/multipartBody3206169127204663898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794982464,"filename":"image_15122025_11_08_55_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3d7ddde73a880177332148371593bad8.jpg","text":"TemporaryFile(/tmp/multipartBody3089144098023320139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765794982464,"filename":"image_15122025_11_08_05_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399477978","file1":"1399477934","file0":"1399477824","file4":"1399478062","file5":"1399478101","file3":"1399478018"},"map_files_photo_id_array":[{"photo_id":"1399478101","filename":"file5"},{"photo_id":"1399477978","filename":"file2"},{"photo_id":"1399478062","filename":"file4"},{"photo_id":"1399477934","filename":"file1"},{"photo_id":"1399477824","filename":"file0"},{"photo_id":"1399478018","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399478018":["hashtag1","hashtag2"]},{"1399478062":["hashtag1","hashtag2"]},{"1399477934":["hashtag1","hashtag2"]},{"1399477978":["hashtag1","hashtag2"]},{"1399478101":["hashtag1","hashtag2"]},{"1399477824":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399478018, 1399478062, 1399477934, 1399477978, 1399478101, 1399477824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.023863554000854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 11:36:11.972606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 11:36:21.955484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/08/image_15122025_11_09_05_9870.jpg', '/home/pi/Desktop/images/15122025/11/09/image_15122025_11_09_15_9719.jpg', '/home/pi/Desktop/images/15122025/11/09/image_15122025_11_09_25_9713.jpg', '/home/pi/Desktop/images/15122025/11/09/image_15122025_11_09_34_9763.jpg', '/home/pi/Desktop/images/15122025/11/09/image_15122025_11_09_45_10678.jpg', '/home/pi/Desktop/images/15122025/11/09/image_15122025_11_09_55_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/08/image_15122025_11_09_05_9870.jpg
/home/pi/Desktop/images/15122025/11/09/image_15122025_11_09_15_9719.jpg
/home/pi/Desktop/images/15122025/11/09/image_15122025_11_09_25_9713.jpg
/home/pi/Desktop/images/15122025/11/09/image_15122025_11_09_34_9763.jpg
/home/pi/Desktop/images/15122025/11/09/image_15122025_11_09_45_10678.jpg
/home/pi/Desktop/images/15122025/11/09/image_15122025_11_09_55_9651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399478633","1399478725","1399478684","1399478474","1399478483","1399478543"],"photo_ids_order":["1399478474","1399478483","1399478543","1399478633","1399478684","1399478725"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9c3d8be1d83c7e388e45ece01d927f6a.jpg","text":"TemporaryFile(/tmp/multipartBody9040302741550018435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795042554,"filename":"image_15122025_11_09_34_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7f5a7c9e3926858a3739685fe27aa4f6.jpg","text":"TemporaryFile(/tmp/multipartBody2562199052799149916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795042554,"filename":"image_15122025_11_09_55_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bb2e107dd6288c801a6001047417199e.jpg","text":"TemporaryFile(/tmp/multipartBody6881125327511052242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795042554,"filename":"image_15122025_11_09_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/15/110952a56ecf010302faed847fbe4537.jpg","text":"TemporaryFile(/tmp/multipartBody7015813704786330265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795042554,"filename":"image_15122025_11_09_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/15/1f8776852199ee85e3455eae4337497c.jpg","text":"TemporaryFile(/tmp/multipartBody3626967135178085007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795042554,"filename":"image_15122025_11_09_15_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9b999d55240a443bcad9c233983a51c3.jpg","text":"TemporaryFile(/tmp/multipartBody798040670392884801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795042554,"filename":"image_15122025_11_09_25_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399478543","file1":"1399478483","file0":"1399478474","file4":"1399478684","file5":"1399478725","file3":"1399478633"},"map_files_photo_id_array":[{"photo_id":"1399478725","filename":"file5"},{"photo_id":"1399478543","filename":"file2"},{"photo_id":"1399478684","filename":"file4"},{"photo_id":"1399478483","filename":"file1"},{"photo_id":"1399478474","filename":"file0"},{"photo_id":"1399478633","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399478633":["hashtag1","hashtag2"]},{"1399478725":["hashtag1","hashtag2"]},{"1399478684":["hashtag1","hashtag2"]},{"1399478474":["hashtag1","hashtag2"]},{"1399478483":["hashtag1","hashtag2"]},{"1399478543":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399478633, 1399478725, 1399478684, 1399478474, 1399478483, 1399478543)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 58.33779716491699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 11:37:21.991587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/10/image_15122025_11_10_14_10059.jpg', '/home/pi/Desktop/images/15122025/11/10/image_15122025_11_10_25_10865.jpg', '/home/pi/Desktop/images/15122025/11/10/image_15122025_11_10_34_9541.jpg', '/home/pi/Desktop/images/15122025/11/10/image_15122025_11_10_44_9573.jpg', '/home/pi/Desktop/images/15122025/11/10/image_15122025_11_10_55_10716.jpg', '/home/pi/Desktop/images/15122025/11/10/image_15122025_11_11_04_9933.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/10/image_15122025_11_10_14_10059.jpg
/home/pi/Desktop/images/15122025/11/10/image_15122025_11_10_25_10865.jpg
/home/pi/Desktop/images/15122025/11/10/image_15122025_11_10_34_9541.jpg
/home/pi/Desktop/images/15122025/11/10/image_15122025_11_10_44_9573.jpg
/home/pi/Desktop/images/15122025/11/10/image_15122025_11_10_55_10716.jpg
/home/pi/Desktop/images/15122025/11/10/image_15122025_11_11_04_9933.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399479868","1399479472","1399479334","1399479607","1399479738","1399479998"],"photo_ids_order":["1399479334","1399479472","1399479607","1399479738","1399479868","1399479998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bbbf859e4a6464a441cddd106b695c39.jpg","text":"TemporaryFile(/tmp/multipartBody4375466785639783401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795104203,"filename":"image_15122025_11_10_55_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a8877b86c63bde918fd5a83f234425d2.jpg","text":"TemporaryFile(/tmp/multipartBody1930101429504494476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795104203,"filename":"image_15122025_11_10_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/15/85b0c6289d7be741d2cd0a18fa67f1ac.jpg","text":"TemporaryFile(/tmp/multipartBody6235833117947571961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795104203,"filename":"image_15122025_11_10_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/15/0b2a3ebbd50fc231b22f3954d7f25655.jpg","text":"TemporaryFile(/tmp/multipartBody2894535504426755277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795104203,"filename":"image_15122025_11_10_34_9541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3ff4299594de32fd868cdc0a01cc2d10.jpg","text":"TemporaryFile(/tmp/multipartBody4153316519605103318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795104203,"filename":"image_15122025_11_10_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/15/eaf65ad2610a16e2a40c449debe38349.jpg","text":"TemporaryFile(/tmp/multipartBody5170701291202504761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795104203,"filename":"image_15122025_11_11_04_9933.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399479607","file1":"1399479472","file0":"1399479334","file4":"1399479868","file5":"1399479998","file3":"1399479738"},"map_files_photo_id_array":[{"photo_id":"1399479998","filename":"file5"},{"photo_id":"1399479607","filename":"file2"},{"photo_id":"1399479868","filename":"file4"},{"photo_id":"1399479472","filename":"file1"},{"photo_id":"1399479334","filename":"file0"},{"photo_id":"1399479738","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399479868":["hashtag1","hashtag2"]},{"1399479472":["hashtag1","hashtag2"]},{"1399479334":["hashtag1","hashtag2"]},{"1399479607":["hashtag1","hashtag2"]},{"1399479738":["hashtag1","hashtag2"]},{"1399479998":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399479868, 1399479472, 1399479334, 1399479607, 1399479738, 1399479998)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.27082443237305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 11:38:12.245833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 11:38:22.163940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/11/image_15122025_11_11_14_9652.jpg', '/home/pi/Desktop/images/15122025/11/11/image_15122025_11_11_24_9675.jpg', '/home/pi/Desktop/images/15122025/11/11/image_15122025_11_11_35_10756.jpg', '/home/pi/Desktop/images/15122025/11/11/image_15122025_11_11_44_9693.jpg', '/home/pi/Desktop/images/15122025/11/11/image_15122025_11_11_54_9753.jpg', '/home/pi/Desktop/images/15122025/11/11/image_15122025_11_12_05_10740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/11/image_15122025_11_11_14_9652.jpg
/home/pi/Desktop/images/15122025/11/11/image_15122025_11_11_24_9675.jpg
/home/pi/Desktop/images/15122025/11/11/image_15122025_11_11_35_10756.jpg
/home/pi/Desktop/images/15122025/11/11/image_15122025_11_11_44_9693.jpg
/home/pi/Desktop/images/15122025/11/11/image_15122025_11_11_54_9753.jpg
/home/pi/Desktop/images/15122025/11/11/image_15122025_11_12_05_10740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399480435","1399480698","1399480485","1399480620","1399480563","1399480524"],"photo_ids_order":["1399480435","1399480485","1399480524","1399480563","1399480620","1399480698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2e530ea547348ebd0b2a57801dfd9900.jpg","text":"TemporaryFile(/tmp/multipartBody197864800747604681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795163235,"filename":"image_15122025_11_11_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/15/62cc089d2d6c6d6f854fb554c29e345c.jpg","text":"TemporaryFile(/tmp/multipartBody5056119909910470906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795163235,"filename":"image_15122025_11_12_05_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a5bd2a95e1c5ee8c1b02cb5127d08ee1.jpg","text":"TemporaryFile(/tmp/multipartBody1868282863124033682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795163235,"filename":"image_15122025_11_11_24_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7a1a06a6facba86dd45c976d0bd2eb48.jpg","text":"TemporaryFile(/tmp/multipartBody2345950040547238926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795163235,"filename":"image_15122025_11_11_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/15/a3097fe3b9ba5ed2648d6cf031b9a48f.jpg","text":"TemporaryFile(/tmp/multipartBody2836094379507855812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795163235,"filename":"image_15122025_11_11_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/15/cb843e47933db1836d45c868154f10f8.jpg","text":"TemporaryFile(/tmp/multipartBody5590195776082343406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795163235,"filename":"image_15122025_11_11_35_10756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399480524","file1":"1399480485","file0":"1399480435","file4":"1399480620","file5":"1399480698","file3":"1399480563"},"map_files_photo_id_array":[{"photo_id":"1399480698","filename":"file5"},{"photo_id":"1399480524","filename":"file2"},{"photo_id":"1399480620","filename":"file4"},{"photo_id":"1399480485","filename":"file1"},{"photo_id":"1399480435","filename":"file0"},{"photo_id":"1399480563","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399480435":["hashtag1","hashtag2"]},{"1399480698":["hashtag1","hashtag2"]},{"1399480485":["hashtag1","hashtag2"]},{"1399480620":["hashtag1","hashtag2"]},{"1399480563":["hashtag1","hashtag2"]},{"1399480524":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399480435, 1399480698, 1399480485, 1399480620, 1399480563, 1399480524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.52366304397583 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 11:39:03.461285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/12/image_15122025_11_12_14_9718.jpg', '/home/pi/Desktop/images/15122025/11/12/image_15122025_11_12_24_9729.jpg', '/home/pi/Desktop/images/15122025/11/12/image_15122025_11_12_34_9738.jpg', '/home/pi/Desktop/images/15122025/11/12/image_15122025_11_12_45_10835.jpg', '/home/pi/Desktop/images/15122025/11/12/image_15122025_11_12_54_9696.jpg', '/home/pi/Desktop/images/15122025/11/12/image_15122025_11_13_04_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/12/image_15122025_11_12_14_9718.jpg
/home/pi/Desktop/images/15122025/11/12/image_15122025_11_12_24_9729.jpg
/home/pi/Desktop/images/15122025/11/12/image_15122025_11_12_34_9738.jpg
/home/pi/Desktop/images/15122025/11/12/image_15122025_11_12_45_10835.jpg
/home/pi/Desktop/images/15122025/11/12/image_15122025_11_12_54_9696.jpg
/home/pi/Desktop/images/15122025/11/12/image_15122025_11_13_04_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":["1399481227","1399481364","1399481346","1399481097","1399480854","1399480955"],"photo_ids_order":["1399480854","1399480955","1399481097","1399481227","1399481346","1399481364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c68a4ac14d6c583b2f9328f46c4c0fe9.jpg","text":"TemporaryFile(/tmp/multipartBody111077281604407140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795204535,"filename":"image_15122025_11_12_45_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/15/57622ad2754cbcfb1876953f293156a2.jpg","text":"TemporaryFile(/tmp/multipartBody3474255612599122209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795204535,"filename":"image_15122025_11_13_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/15/3b4eacaa1a0c76f4e23af32b93541c5b.jpg","text":"TemporaryFile(/tmp/multipartBody2923219523790691240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795204535,"filename":"image_15122025_11_12_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/15/859e5bf02952eed9e78ef3c169202c7e.jpg","text":"TemporaryFile(/tmp/multipartBody6281623089685241185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795204535,"filename":"image_15122025_11_12_34_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7f3fda353ce3f20beae80c150d041b2a.jpg","text":"TemporaryFile(/tmp/multipartBody1859978420261395969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795204535,"filename":"image_15122025_11_12_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/15/7720f229968ad40cff6079671c2bc5f5.jpg","text":"TemporaryFile(/tmp/multipartBody908798421849783163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795204535,"filename":"image_15122025_11_12_24_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399481097","file1":"1399480955","file0":"1399480854","file4":"1399481346","file5":"1399481364","file3":"1399481227"},"map_files_photo_id_array":[{"photo_id":"1399481364","filename":"file5"},{"photo_id":"1399481097","filename":"file2"},{"photo_id":"1399481346","filename":"file4"},{"photo_id":"1399480955","filename":"file1"},{"photo_id":"1399480854","filename":"file0"},{"photo_id":"1399481227","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399481227":["hashtag1","hashtag2"]},{"1399481364":["hashtag1","hashtag2"]},{"1399481346":["hashtag1","hashtag2"]},{"1399481097":["hashtag1","hashtag2"]},{"1399480854":["hashtag1","hashtag2"]},{"1399480955":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399481227, 1399481364, 1399481346, 1399481097, 1399480854, 1399480955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28982353210449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 11:39:42.389633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_49_2575.jpg', '/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_52_3683.jpg', '/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_55_2628.jpg', '/home/pi/Desktop/images/05112025/14/42/image_05112025_14_43_01_3652.jpg', '/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_04_2782.jpg', '/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_07_2567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_49_2575.jpg
/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_52_3683.jpg
/home/pi/Desktop/images/05112025/14/42/image_05112025_14_42_55_2628.jpg
/home/pi/Desktop/images/05112025/14/42/image_05112025_14_43_01_3652.jpg
/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_04_2782.jpg
/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_07_2567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399481593","1399481611","1399481514","1399481612","1399481507","1399481609"],"photo_ids_order":["1399481507","1399481514","1399481593","1399481609","1399481611","1399481612"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0e4ccf60ea71d24619f6adc29ec87b5e.jpg","text":"TemporaryFile(/tmp/multipartBody1122952712792752520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795243000,"filename":"image_05112025_14_42_55_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/15/f6b33f432cc3c016b4238fe9da650c5d.jpg","text":"TemporaryFile(/tmp/multipartBody1096629207127233475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795243000,"filename":"image_05112025_14_43_04_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/15/924a0b99e046714a7631b55057c5d884.jpg","text":"TemporaryFile(/tmp/multipartBody9077502063845430092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795243000,"filename":"image_05112025_14_42_52_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5b747d50a5c854357627bb5e7c762c2f.jpg","text":"TemporaryFile(/tmp/multipartBody2148745107230651238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795243000,"filename":"image_05112025_14_43_07_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/15/019f890cf5e33f8308451ae6fd80fc84.jpg","text":"TemporaryFile(/tmp/multipartBody8241544510302402924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795243000,"filename":"image_05112025_14_42_49_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/15/dd0c2d2a246a9bb7d2f0704ee6456f4d.jpg","text":"TemporaryFile(/tmp/multipartBody6962483782880291138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795243000,"filename":"image_05112025_14_43_01_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399481593","file1":"1399481514","file0":"1399481507","file4":"1399481611","file5":"1399481612","file3":"1399481609"},"map_files_photo_id_array":[{"photo_id":"1399481612","filename":"file5"},{"photo_id":"1399481593","filename":"file2"},{"photo_id":"1399481611","filename":"file4"},{"photo_id":"1399481514","filename":"file1"},{"photo_id":"1399481507","filename":"file0"},{"photo_id":"1399481609","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399481593":["hashtag1","hashtag2"]},{"1399481611":["hashtag1","hashtag2"]},{"1399481514":["hashtag1","hashtag2"]},{"1399481612":["hashtag1","hashtag2"]},{"1399481507":["hashtag1","hashtag2"]},{"1399481609":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399481593, 1399481611, 1399481514, 1399481612, 1399481507, 1399481609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46147799491882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 11:40:22.723875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/13/image_15122025_11_13_14_9903.jpg', '/home/pi/Desktop/images/15122025/11/13/image_15122025_11_13_25_10656.jpg', '/home/pi/Desktop/images/15122025/11/13/image_15122025_11_13_34_9144.jpg', '/home/pi/Desktop/images/15122025/11/13/image_15122025_11_13_44_10587.jpg', '/home/pi/Desktop/images/15122025/11/13/image_15122025_11_13_54_9875.jpg', '/home/pi/Desktop/images/15122025/11/13/image_15122025_11_14_04_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/13/image_15122025_11_13_14_9903.jpg
/home/pi/Desktop/images/15122025/11/13/image_15122025_11_13_25_10656.jpg
/home/pi/Desktop/images/15122025/11/13/image_15122025_11_13_34_9144.jpg
/home/pi/Desktop/images/15122025/11/13/image_15122025_11_13_44_10587.jpg
/home/pi/Desktop/images/15122025/11/13/image_15122025_11_13_54_9875.jpg
/home/pi/Desktop/images/15122025/11/13/image_15122025_11_14_04_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":["1399481620","1399481626","1399481631","1399481624","1399481618","1399481621"],"photo_ids_order":["1399481618","1399481620","1399481621","1399481624","1399481626","1399481631"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b9030c4e00f1110bf8b8ed94b07b4173.jpg","text":"TemporaryFile(/tmp/multipartBody5290028210597635527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795283364,"filename":"image_15122025_11_13_25_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fb27dc63b2fbe8df4e1ab68ec265df23.jpg","text":"TemporaryFile(/tmp/multipartBody3336908987684812782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795283364,"filename":"image_15122025_11_13_54_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/15/fa76a1158ea09672c82059aa33bf0b5d.jpg","text":"TemporaryFile(/tmp/multipartBody2667394150954642820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795283364,"filename":"image_15122025_11_14_04_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4d41b08e4d63ddc0a83bdad2110cd925.jpg","text":"TemporaryFile(/tmp/multipartBody8255902053844312722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795283364,"filename":"image_15122025_11_13_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/15/43ae826c116c14e6016cf33f8bd4ac5f.jpg","text":"TemporaryFile(/tmp/multipartBody3147135955830215375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795283364,"filename":"image_15122025_11_13_14_9903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ea89a72bcfa26e6f8728bd3795432136.jpg","text":"TemporaryFile(/tmp/multipartBody1718678897342939436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795283364,"filename":"image_15122025_11_13_34_9144.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399481621","file1":"1399481620","file0":"1399481618","file4":"1399481626","file5":"1399481631","file3":"1399481624"},"map_files_photo_id_array":[{"photo_id":"1399481631","filename":"file5"},{"photo_id":"1399481621","filename":"file2"},{"photo_id":"1399481626","filename":"file4"},{"photo_id":"1399481620","filename":"file1"},{"photo_id":"1399481618","filename":"file0"},{"photo_id":"1399481624","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399481620":["hashtag1","hashtag2"]},{"1399481626":["hashtag1","hashtag2"]},{"1399481631":["hashtag1","hashtag2"]},{"1399481624":["hashtag1","hashtag2"]},{"1399481618":["hashtag1","hashtag2"]},{"1399481621":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399481620, 1399481626, 1399481631, 1399481624, 1399481618, 1399481621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.470937728881836 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-15 11:41:11.840058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 11:41:21.884852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/14/image_15122025_11_14_14_9841.jpg', '/home/pi/Desktop/images/15122025/11/14/image_15122025_11_14_25_10750.jpg', '/home/pi/Desktop/images/15122025/11/14/image_15122025_11_14_35_9857.jpg', '/home/pi/Desktop/images/15122025/11/14/image_15122025_11_14_44_9662.jpg', '/home/pi/Desktop/images/15122025/11/14/image_15122025_11_14_54_9824.jpg', '/home/pi/Desktop/images/15122025/11/16/image_15122025_11_16_15_10800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/14/image_15122025_11_14_14_9841.jpg
/home/pi/Desktop/images/15122025/11/14/image_15122025_11_14_25_10750.jpg
/home/pi/Desktop/images/15122025/11/14/image_15122025_11_14_35_9857.jpg
/home/pi/Desktop/images/15122025/11/14/image_15122025_11_14_44_9662.jpg
/home/pi/Desktop/images/15122025/11/14/image_15122025_11_14_54_9824.jpg
/home/pi/Desktop/images/15122025/11/16/image_15122025_11_16_15_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":["1399482067","1399481767","1399481862","1399481673","1399481654","1399481960"],"photo_ids_order":["1399481654","1399481673","1399481767","1399481862","1399481960","1399482067"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ab31c42d03cf1259cefbc505d09b162e.jpg","text":"TemporaryFile(/tmp/multipartBody2757482611309613074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795342510,"filename":"image_15122025_11_16_15_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/15/32d1bd1e981ed49875a0324cfee5e893.jpg","text":"TemporaryFile(/tmp/multipartBody1313510438047254531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795342510,"filename":"image_15122025_11_14_35_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/15/cd564a0b1fcfedef057bc82f23571add.jpg","text":"TemporaryFile(/tmp/multipartBody6309185245873029855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795342510,"filename":"image_15122025_11_14_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/15/ec31978ff098302f21af6b37f473312b.jpg","text":"TemporaryFile(/tmp/multipartBody7617797529002319732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795342510,"filename":"image_15122025_11_14_25_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4a6ba3fddaaab7580cedbbdbeba2b8e8.jpg","text":"TemporaryFile(/tmp/multipartBody2750240332597899710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795342510,"filename":"image_15122025_11_14_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/15/8674dd15957c2f0e69e4431844d25ed7.jpg","text":"TemporaryFile(/tmp/multipartBody4623303611197473788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795342510,"filename":"image_15122025_11_14_54_9824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399481767","file1":"1399481673","file0":"1399481654","file4":"1399481960","file5":"1399482067","file3":"1399481862"},"map_files_photo_id_array":[{"photo_id":"1399482067","filename":"file5"},{"photo_id":"1399481767","filename":"file2"},{"photo_id":"1399481960","filename":"file4"},{"photo_id":"1399481673","filename":"file1"},{"photo_id":"1399481654","filename":"file0"},{"photo_id":"1399481862","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399482067":["hashtag1","hashtag2"]},{"1399481767":["hashtag1","hashtag2"]},{"1399481862":["hashtag1","hashtag2"]},{"1399481673":["hashtag1","hashtag2"]},{"1399481654":["hashtag1","hashtag2"]},{"1399481960":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399482067, 1399481767, 1399481862, 1399481673, 1399481654, 1399481960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61048364639282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 11:42:02.514161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/16/image_15122025_11_16_25_9748.jpg', '/home/pi/Desktop/images/15122025/11/16/image_15122025_11_16_35_9675.jpg', '/home/pi/Desktop/images/15122025/11/16/image_15122025_11_16_45_10258.jpg', '/home/pi/Desktop/images/15122025/11/16/image_15122025_11_16_54_9601.jpg', '/home/pi/Desktop/images/15122025/11/16/image_15122025_11_17_05_10609.jpg', '/home/pi/Desktop/images/15122025/11/17/image_15122025_11_17_15_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/16/image_15122025_11_16_25_9748.jpg
/home/pi/Desktop/images/15122025/11/16/image_15122025_11_16_35_9675.jpg
/home/pi/Desktop/images/15122025/11/16/image_15122025_11_16_45_10258.jpg
/home/pi/Desktop/images/15122025/11/16/image_15122025_11_16_54_9601.jpg
/home/pi/Desktop/images/15122025/11/16/image_15122025_11_17_05_10609.jpg
/home/pi/Desktop/images/15122025/11/17/image_15122025_11_17_15_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":["1399482556","1399482552","1399482554","1399482550","1399482445","1399482547"],"photo_ids_order":["1399482445","1399482547","1399482550","1399482552","1399482554","1399482556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/735addfa3e34959df2b0649f80bf9f46.jpg","text":"TemporaryFile(/tmp/multipartBody3368418647161674381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795383707,"filename":"image_15122025_11_17_15_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d5474feff52905ab7e514f05d7ad83d3.jpg","text":"TemporaryFile(/tmp/multipartBody4144168601287776402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795383707,"filename":"image_15122025_11_16_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/15/e3f3c2ed8b0d06b421eb41960cfd9885.jpg","text":"TemporaryFile(/tmp/multipartBody4310376593617984836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795383707,"filename":"image_15122025_11_17_05_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/21de96819553f718b3fe040d91fa85d5.jpg","text":"TemporaryFile(/tmp/multipartBody908702689616897656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795383707,"filename":"image_15122025_11_16_45_10258.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6713e0dd69c4509f00bda8810900e209.jpg","text":"TemporaryFile(/tmp/multipartBody6274268022023276343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795383707,"filename":"image_15122025_11_16_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/15/847ae43864e004c0f17277755c14009e.jpg","text":"TemporaryFile(/tmp/multipartBody4410883166975141536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795383707,"filename":"image_15122025_11_16_35_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399482550","file1":"1399482547","file0":"1399482445","file4":"1399482554","file5":"1399482556","file3":"1399482552"},"map_files_photo_id_array":[{"photo_id":"1399482556","filename":"file5"},{"photo_id":"1399482550","filename":"file2"},{"photo_id":"1399482554","filename":"file4"},{"photo_id":"1399482547","filename":"file1"},{"photo_id":"1399482445","filename":"file0"},{"photo_id":"1399482552","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399482556":["hashtag1","hashtag2"]},{"1399482552":["hashtag1","hashtag2"]},{"1399482554":["hashtag1","hashtag2"]},{"1399482550":["hashtag1","hashtag2"]},{"1399482445":["hashtag1","hashtag2"]},{"1399482547":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399482556, 1399482552, 1399482554, 1399482550, 1399482445, 1399482547)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.08459544181824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 11:43:03.033830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/17/image_15122025_11_17_24_9745.jpg', '/home/pi/Desktop/images/15122025/11/17/image_15122025_11_17_35_10663.jpg', '/home/pi/Desktop/images/15122025/11/17/image_15122025_11_17_45_9894.jpg', '/home/pi/Desktop/images/15122025/11/17/image_15122025_11_17_55_9672.jpg', '/home/pi/Desktop/images/15122025/11/17/image_15122025_11_18_05_10611.jpg', '/home/pi/Desktop/images/15122025/11/18/image_15122025_11_18_15_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/17/image_15122025_11_17_24_9745.jpg
/home/pi/Desktop/images/15122025/11/17/image_15122025_11_17_35_10663.jpg
/home/pi/Desktop/images/15122025/11/17/image_15122025_11_17_45_9894.jpg
/home/pi/Desktop/images/15122025/11/17/image_15122025_11_17_55_9672.jpg
/home/pi/Desktop/images/15122025/11/17/image_15122025_11_18_05_10611.jpg
/home/pi/Desktop/images/15122025/11/18/image_15122025_11_18_15_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":["1399482607","1399482567","1399482705","1399482584","1399482578","1399482563"],"photo_ids_order":["1399482563","1399482567","1399482578","1399482584","1399482607","1399482705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a63bcca6885e30e78204cba24ff51927.jpg","text":"TemporaryFile(/tmp/multipartBody4167818100173190350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795444689,"filename":"image_15122025_11_18_05_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/81948db8db142740e88950e936594995.jpg","text":"TemporaryFile(/tmp/multipartBody918376994552391203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795444689,"filename":"image_15122025_11_17_35_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/223dcb6641f4b088a98249e8f6d3cc8c.jpg","text":"TemporaryFile(/tmp/multipartBody4144576718614148673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795444689,"filename":"image_15122025_11_18_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/15/36d1b5e00911ac38cb7964e08cf926c9.jpg","text":"TemporaryFile(/tmp/multipartBody4232790287420333608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795444689,"filename":"image_15122025_11_17_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/15/4f8239e774d64090cddcca1bb3a3e6f9.jpg","text":"TemporaryFile(/tmp/multipartBody8436146868608457885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795444689,"filename":"image_15122025_11_17_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/15/6d2ea1ba6598c773217b76b6c28c1ebc.jpg","text":"TemporaryFile(/tmp/multipartBody7809074084089113098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795444689,"filename":"image_15122025_11_17_24_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399482578","file1":"1399482567","file0":"1399482563","file4":"1399482607","file5":"1399482705","file3":"1399482584"},"map_files_photo_id_array":[{"photo_id":"1399482705","filename":"file5"},{"photo_id":"1399482578","filename":"file2"},{"photo_id":"1399482607","filename":"file4"},{"photo_id":"1399482567","filename":"file1"},{"photo_id":"1399482563","filename":"file0"},{"photo_id":"1399482584","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399482607":["hashtag1","hashtag2"]},{"1399482567":["hashtag1","hashtag2"]},{"1399482705":["hashtag1","hashtag2"]},{"1399482584":["hashtag1","hashtag2"]},{"1399482578":["hashtag1","hashtag2"]},{"1399482563":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399482607, 1399482567, 1399482705, 1399482584, 1399482578, 1399482563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.877530574798584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 11:43:42.458504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_13_3687.jpg', '/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_16_2632.jpg', '/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_18_2600.jpg', '/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_22_3681.jpg', '/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_25_2549.jpg', '/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_28_3580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_13_3687.jpg
/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_16_2632.jpg
/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_18_2600.jpg
/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_22_3681.jpg
/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_25_2549.jpg
/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_28_3580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399483227","1399483088","1399482936","1399483025","1399483129","1399482973"],"photo_ids_order":["1399482936","1399482973","1399483025","1399483088","1399483129","1399483227"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/775c36f9d3a765cac9c5d5025c1394e3.jpg","text":"TemporaryFile(/tmp/multipartBody4404936761401305977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795483208,"filename":"image_05112025_14_43_28_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/15/085bc12d886c8aad01223ea57a75a376.jpg","text":"TemporaryFile(/tmp/multipartBody4842027278574694968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795483208,"filename":"image_05112025_14_43_22_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/15/3837e2beea7b85e9e85ace749e8e1964.jpg","text":"TemporaryFile(/tmp/multipartBody502529386503359891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795483208,"filename":"image_05112025_14_43_13_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/15/5f36c02d2617a84efabf381f2a840ff5.jpg","text":"TemporaryFile(/tmp/multipartBody6811539533544122782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795483208,"filename":"image_05112025_14_43_18_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/15/fa8f9b34d9b798cd59e891b8d765d3ad.jpg","text":"TemporaryFile(/tmp/multipartBody6577431667761476303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795483208,"filename":"image_05112025_14_43_25_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/15/57182ed5858effec047a17dc40695327.jpg","text":"TemporaryFile(/tmp/multipartBody6356462393945067077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795483208,"filename":"image_05112025_14_43_16_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399483025","file1":"1399482973","file0":"1399482936","file4":"1399483129","file5":"1399483227","file3":"1399483088"},"map_files_photo_id_array":[{"photo_id":"1399483227","filename":"file5"},{"photo_id":"1399483025","filename":"file2"},{"photo_id":"1399483129","filename":"file4"},{"photo_id":"1399482973","filename":"file1"},{"photo_id":"1399482936","filename":"file0"},{"photo_id":"1399483088","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399483227":["hashtag1","hashtag2"]},{"1399483088":["hashtag1","hashtag2"]},{"1399482936":["hashtag1","hashtag2"]},{"1399483025":["hashtag1","hashtag2"]},{"1399483129":["hashtag1","hashtag2"]},{"1399482973":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399483227, 1399483088, 1399482936, 1399483025, 1399483129, 1399482973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.24653935432434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 11:44:22.785544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/18/image_15122025_11_18_25_9621.jpg', '/home/pi/Desktop/images/15122025/11/18/image_15122025_11_18_35_10545.jpg', '/home/pi/Desktop/images/15122025/11/18/image_15122025_11_18_45_9593.jpg', '/home/pi/Desktop/images/15122025/11/18/image_15122025_11_18_54_9679.jpg', '/home/pi/Desktop/images/15122025/11/18/image_15122025_11_19_05_10714.jpg', '/home/pi/Desktop/images/15122025/11/19/image_15122025_11_19_15_10036.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/18/image_15122025_11_18_25_9621.jpg
/home/pi/Desktop/images/15122025/11/18/image_15122025_11_18_35_10545.jpg
/home/pi/Desktop/images/15122025/11/18/image_15122025_11_18_45_9593.jpg
/home/pi/Desktop/images/15122025/11/18/image_15122025_11_18_54_9679.jpg
/home/pi/Desktop/images/15122025/11/18/image_15122025_11_19_05_10714.jpg
/home/pi/Desktop/images/15122025/11/19/image_15122025_11_19_15_10036.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399483431","1399483527","1399483601","1399483381","1399483477","1399483564"],"photo_ids_order":["1399483381","1399483431","1399483477","1399483527","1399483564","1399483601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4c5a465ccbbf4b0f760837dc72c52e84.jpg","text":"TemporaryFile(/tmp/multipartBody5065146018628534517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795524639,"filename":"image_15122025_11_18_35_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/15/5d8570be69836548c1df42ad643daa49.jpg","text":"TemporaryFile(/tmp/multipartBody2254329903475315866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795524639,"filename":"image_15122025_11_18_54_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9e6e1b916aff3b3dd044f75c854224df.jpg","text":"TemporaryFile(/tmp/multipartBody846214610834517956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795524639,"filename":"image_15122025_11_19_15_10036.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6a4c192e7da4c331b7ef03d0dd350533.jpg","text":"TemporaryFile(/tmp/multipartBody2874436217718626884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795524639,"filename":"image_15122025_11_18_25_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/22b86aa79969c9c6d7295a28edb42487.jpg","text":"TemporaryFile(/tmp/multipartBody7668112832178713065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795524639,"filename":"image_15122025_11_18_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/15/6db85743843558202304d0ed2c9e0f60.jpg","text":"TemporaryFile(/tmp/multipartBody6836395350314054343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795524639,"filename":"image_15122025_11_19_05_10714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399483477","file1":"1399483431","file0":"1399483381","file4":"1399483564","file5":"1399483601","file3":"1399483527"},"map_files_photo_id_array":[{"photo_id":"1399483601","filename":"file5"},{"photo_id":"1399483477","filename":"file2"},{"photo_id":"1399483564","filename":"file4"},{"photo_id":"1399483431","filename":"file1"},{"photo_id":"1399483381","filename":"file0"},{"photo_id":"1399483527","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399483431":["hashtag1","hashtag2"]},{"1399483527":["hashtag1","hashtag2"]},{"1399483601":["hashtag1","hashtag2"]},{"1399483381":["hashtag1","hashtag2"]},{"1399483477":["hashtag1","hashtag2"]},{"1399483564":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399483431, 1399483527, 1399483601, 1399483381, 1399483477, 1399483564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.27041721343994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 11:45:12.011009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 11:45:21.948603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/19/image_15122025_11_19_25_9621.jpg', '/home/pi/Desktop/images/15122025/11/19/image_15122025_11_19_35_10570.jpg', '/home/pi/Desktop/images/15122025/11/19/image_15122025_11_19_45_9682.jpg', '/home/pi/Desktop/images/15122025/11/19/image_15122025_11_19_55_9658.jpg', '/home/pi/Desktop/images/15122025/11/21/image_15122025_11_21_14_10050.jpg', '/home/pi/Desktop/images/15122025/11/21/image_15122025_11_21_25_10484.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/19/image_15122025_11_19_25_9621.jpg
/home/pi/Desktop/images/15122025/11/19/image_15122025_11_19_35_10570.jpg
/home/pi/Desktop/images/15122025/11/19/image_15122025_11_19_45_9682.jpg
/home/pi/Desktop/images/15122025/11/19/image_15122025_11_19_55_9658.jpg
/home/pi/Desktop/images/15122025/11/21/image_15122025_11_21_14_10050.jpg
/home/pi/Desktop/images/15122025/11/21/image_15122025_11_21_25_10484.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399483857","1399483971","1399483982","1399483897","1399483978","1399483933"],"photo_ids_order":["1399483857","1399483897","1399483933","1399483971","1399483978","1399483982"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6bfb735392ede8020fe8c5467924dbca.jpg","text":"TemporaryFile(/tmp/multipartBody2781026865767640932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795582566,"filename":"image_15122025_11_19_25_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5cf710534a24e9f50fdcbec61aab9905.jpg","text":"TemporaryFile(/tmp/multipartBody7339981917327104663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795582566,"filename":"image_15122025_11_19_55_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7c484d8e45aece1cbc22829cdc6ab31b.jpg","text":"TemporaryFile(/tmp/multipartBody4011449299738723262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795582566,"filename":"image_15122025_11_21_25_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/15/a83f3cb08ccc07c2483a877cd85b608a.jpg","text":"TemporaryFile(/tmp/multipartBody762643743890296910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795582566,"filename":"image_15122025_11_19_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/15/44a80e8428ccc4ea6ef1828ffd93a68e.jpg","text":"TemporaryFile(/tmp/multipartBody5527576556945736499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795582566,"filename":"image_15122025_11_21_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/15/6d68cf6d12ee5a65186b3bd3c4816a06.jpg","text":"TemporaryFile(/tmp/multipartBody7676370667478745599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795582566,"filename":"image_15122025_11_19_45_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399483933","file1":"1399483897","file0":"1399483857","file4":"1399483978","file5":"1399483982","file3":"1399483971"},"map_files_photo_id_array":[{"photo_id":"1399483982","filename":"file5"},{"photo_id":"1399483933","filename":"file2"},{"photo_id":"1399483978","filename":"file4"},{"photo_id":"1399483897","filename":"file1"},{"photo_id":"1399483857","filename":"file0"},{"photo_id":"1399483971","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399483857":["hashtag1","hashtag2"]},{"1399483971":["hashtag1","hashtag2"]},{"1399483982":["hashtag1","hashtag2"]},{"1399483897":["hashtag1","hashtag2"]},{"1399483978":["hashtag1","hashtag2"]},{"1399483933":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399483857, 1399483971, 1399483982, 1399483897, 1399483978, 1399483933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18419408798218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 11:46:02.715789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/21/image_15122025_11_21_34_9800.jpg', '/home/pi/Desktop/images/15122025/11/21/image_15122025_11_21_44_9771.jpg', '/home/pi/Desktop/images/15122025/11/21/image_15122025_11_21_55_10806.jpg', '/home/pi/Desktop/images/15122025/11/21/image_15122025_11_22_05_9710.jpg', '/home/pi/Desktop/images/15122025/11/22/image_15122025_11_22_14_9595.jpg', '/home/pi/Desktop/images/15122025/11/22/image_15122025_11_22_24_10224.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/21/image_15122025_11_21_34_9800.jpg
/home/pi/Desktop/images/15122025/11/21/image_15122025_11_21_44_9771.jpg
/home/pi/Desktop/images/15122025/11/21/image_15122025_11_21_55_10806.jpg
/home/pi/Desktop/images/15122025/11/21/image_15122025_11_22_05_9710.jpg
/home/pi/Desktop/images/15122025/11/22/image_15122025_11_22_14_9595.jpg
/home/pi/Desktop/images/15122025/11/22/image_15122025_11_22_24_10224.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399483997","1399483994","1399483990","1399483987","1399483992","1399483995"],"photo_ids_order":["1399483987","1399483990","1399483992","1399483994","1399483995","1399483997"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/39541fddabcf34c143cb798e3031c3f1.jpg","text":"TemporaryFile(/tmp/multipartBody1116502753381287877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795623361,"filename":"image_15122025_11_22_24_10224.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/115caa99c4f9ddc8734c867226286eac.jpg","text":"TemporaryFile(/tmp/multipartBody9043716148454978860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795623361,"filename":"image_15122025_11_22_05_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3effa8cd9ee40c5f7226466cd3c7b0d7.jpg","text":"TemporaryFile(/tmp/multipartBody3966367217386898884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795623361,"filename":"image_15122025_11_21_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/15/45bdee92e571ea42d8403d1a6b6fbbeb.jpg","text":"TemporaryFile(/tmp/multipartBody99745671484311491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795623361,"filename":"image_15122025_11_21_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/15/46a054c0a607245e2e76de250d57ff13.jpg","text":"TemporaryFile(/tmp/multipartBody5420337847683328103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795623361,"filename":"image_15122025_11_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/15/3c818ea0eb0021c43fb4a5671ef42987.jpg","text":"TemporaryFile(/tmp/multipartBody1054944748666300268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795623361,"filename":"image_15122025_11_22_14_9595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399483992","file1":"1399483990","file0":"1399483987","file4":"1399483995","file5":"1399483997","file3":"1399483994"},"map_files_photo_id_array":[{"photo_id":"1399483997","filename":"file5"},{"photo_id":"1399483992","filename":"file2"},{"photo_id":"1399483995","filename":"file4"},{"photo_id":"1399483990","filename":"file1"},{"photo_id":"1399483987","filename":"file0"},{"photo_id":"1399483994","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399483997":["hashtag1","hashtag2"]},{"1399483994":["hashtag1","hashtag2"]},{"1399483990":["hashtag1","hashtag2"]},{"1399483987":["hashtag1","hashtag2"]},{"1399483992":["hashtag1","hashtag2"]},{"1399483995":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399483997, 1399483994, 1399483990, 1399483987, 1399483992, 1399483995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.609591007232666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 11:46:42.208728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_31_2681.jpg', '/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_34_2623.jpg', '/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_37_3643.jpg', '/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_40_2567.jpg', '/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_43_2699.jpg', '/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_49_2566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_31_2681.jpg
/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_34_2623.jpg
/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_37_3643.jpg
/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_40_2567.jpg
/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_43_2699.jpg
/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_49_2566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399484010","1399484015","1399484024","1399484018","1399484062","1399484017"],"photo_ids_order":["1399484010","1399484015","1399484017","1399484018","1399484024","1399484062"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a79f6595e11ac8f4adfc4c33007d3a95.jpg","text":"TemporaryFile(/tmp/multipartBody2898279396836134312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795662927,"filename":"image_05112025_14_43_31_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/15/023294a9b02098fa8ed2977aece915f5.jpg","text":"TemporaryFile(/tmp/multipartBody9005504651001467251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795662927,"filename":"image_05112025_14_43_34_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/15/475d75262adb412bc92c7bf9a7735d36.jpg","text":"TemporaryFile(/tmp/multipartBody2368604832667671539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795662927,"filename":"image_05112025_14_43_43_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7f5f90146aa61c907ef5811621825397.jpg","text":"TemporaryFile(/tmp/multipartBody8006397279812391225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795662927,"filename":"image_05112025_14_43_40_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/15/6bd40f05350223eab1d498f14f6019db.jpg","text":"TemporaryFile(/tmp/multipartBody7812327246815291074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795662927,"filename":"image_05112025_14_43_49_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/15/3d620867a46835b23c512cda973d8485.jpg","text":"TemporaryFile(/tmp/multipartBody6172360011187313499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795662927,"filename":"image_05112025_14_43_37_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399484017","file1":"1399484015","file0":"1399484010","file4":"1399484024","file5":"1399484062","file3":"1399484018"},"map_files_photo_id_array":[{"photo_id":"1399484062","filename":"file5"},{"photo_id":"1399484017","filename":"file2"},{"photo_id":"1399484024","filename":"file4"},{"photo_id":"1399484015","filename":"file1"},{"photo_id":"1399484010","filename":"file0"},{"photo_id":"1399484018","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399484010":["hashtag1","hashtag2"]},{"1399484015":["hashtag1","hashtag2"]},{"1399484024":["hashtag1","hashtag2"]},{"1399484018":["hashtag1","hashtag2"]},{"1399484062":["hashtag1","hashtag2"]},{"1399484017":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399484010, 1399484015, 1399484024, 1399484018, 1399484062, 1399484017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73352408409119 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 11:47:22.471898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/22/image_15122025_11_22_34_9819.jpg', '/home/pi/Desktop/images/15122025/11/22/image_15122025_11_22_45_10624.jpg', '/home/pi/Desktop/images/15122025/11/22/image_15122025_11_22_55_9622.jpg', '/home/pi/Desktop/images/15122025/11/22/image_15122025_11_23_04_9631.jpg', '/home/pi/Desktop/images/15122025/11/23/image_15122025_11_23_15_10702.jpg', '/home/pi/Desktop/images/15122025/11/23/image_15122025_11_23_25_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/22/image_15122025_11_22_34_9819.jpg
/home/pi/Desktop/images/15122025/11/22/image_15122025_11_22_45_10624.jpg
/home/pi/Desktop/images/15122025/11/22/image_15122025_11_22_55_9622.jpg
/home/pi/Desktop/images/15122025/11/22/image_15122025_11_23_04_9631.jpg
/home/pi/Desktop/images/15122025/11/23/image_15122025_11_23_15_10702.jpg
/home/pi/Desktop/images/15122025/11/23/image_15122025_11_23_25_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":["1399484316","1399484357","1399484240","1399484392","1399484281","1399484428"],"photo_ids_order":["1399484240","1399484281","1399484316","1399484357","1399484392","1399484428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/31be1bcd94782725734f32e2d7eb67b4.jpg","text":"TemporaryFile(/tmp/multipartBody5011182002160571505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795703086,"filename":"image_15122025_11_22_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/15/c83a0297a147ead3d27e1e55debbe77f.jpg","text":"TemporaryFile(/tmp/multipartBody590288143765836046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795703086,"filename":"image_15122025_11_23_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/15/77999279e13989e430ca8bbcd71d80cd.jpg","text":"TemporaryFile(/tmp/multipartBody8662157486080969248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795703086,"filename":"image_15122025_11_22_34_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1c770229bc48d9b0649edaedc96def63.jpg","text":"TemporaryFile(/tmp/multipartBody6451043365272332084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795703086,"filename":"image_15122025_11_23_15_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a151820df944be8902cab88929bef305.jpg","text":"TemporaryFile(/tmp/multipartBody7787267002737561411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795703086,"filename":"image_15122025_11_22_45_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d593182a7af04d73fcd5f3fb48cf2b6a.jpg","text":"TemporaryFile(/tmp/multipartBody7796198742298873679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795703086,"filename":"image_15122025_11_23_25_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399484316","file1":"1399484281","file0":"1399484240","file4":"1399484392","file5":"1399484428","file3":"1399484357"},"map_files_photo_id_array":[{"photo_id":"1399484428","filename":"file5"},{"photo_id":"1399484316","filename":"file2"},{"photo_id":"1399484392","filename":"file4"},{"photo_id":"1399484281","filename":"file1"},{"photo_id":"1399484240","filename":"file0"},{"photo_id":"1399484357","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399484316":["hashtag1","hashtag2"]},{"1399484357":["hashtag1","hashtag2"]},{"1399484240":["hashtag1","hashtag2"]},{"1399484392":["hashtag1","hashtag2"]},{"1399484281":["hashtag1","hashtag2"]},{"1399484428":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399484316, 1399484357, 1399484240, 1399484392, 1399484281, 1399484428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78830313682556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 11:48:03.148929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/23/image_15122025_11_23_34_9673.jpg', '/home/pi/Desktop/images/15122025/11/23/image_15122025_11_23_44_9721.jpg', '/home/pi/Desktop/images/15122025/11/23/image_15122025_11_23_55_10774.jpg', '/home/pi/Desktop/images/15122025/11/23/image_15122025_11_24_05_9849.jpg', '/home/pi/Desktop/images/15122025/11/24/image_15122025_11_24_14_9606.jpg', '/home/pi/Desktop/images/15122025/11/24/image_15122025_11_24_24_9859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/23/image_15122025_11_23_34_9673.jpg
/home/pi/Desktop/images/15122025/11/23/image_15122025_11_23_44_9721.jpg
/home/pi/Desktop/images/15122025/11/23/image_15122025_11_23_55_10774.jpg
/home/pi/Desktop/images/15122025/11/23/image_15122025_11_24_05_9849.jpg
/home/pi/Desktop/images/15122025/11/24/image_15122025_11_24_14_9606.jpg
/home/pi/Desktop/images/15122025/11/24/image_15122025_11_24_24_9859.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399484712","1399484618","1399484819","1399484770","1399484668","1399484862"],"photo_ids_order":["1399484618","1399484668","1399484712","1399484770","1399484819","1399484862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1ec20a2ec3854e79468eeaf79ee8fc41.jpg","text":"TemporaryFile(/tmp/multipartBody5600276057651589905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795743821,"filename":"image_15122025_11_23_55_10774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/57016bd58ae7dcd461db19e8616cc36f.jpg","text":"TemporaryFile(/tmp/multipartBody2263340121426066897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795743821,"filename":"image_15122025_11_23_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/15/ad4bc41a7f0bdbd3c7d4a72a0dcd6282.jpg","text":"TemporaryFile(/tmp/multipartBody7136378583798171562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795743821,"filename":"image_15122025_11_24_14_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ef664a185dd5fac08a03acd6eb878e96.jpg","text":"TemporaryFile(/tmp/multipartBody7044060521337924292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795743821,"filename":"image_15122025_11_24_05_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4f0582fa40cc5c9167f242f89dda7272.jpg","text":"TemporaryFile(/tmp/multipartBody1571959856359983902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795743821,"filename":"image_15122025_11_23_44_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c03bc36fd8edd7f39d04570a396d9ad0.jpg","text":"TemporaryFile(/tmp/multipartBody1566890782873308164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795743821,"filename":"image_15122025_11_24_24_9859.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399484712","file1":"1399484668","file0":"1399484618","file4":"1399484819","file5":"1399484862","file3":"1399484770"},"map_files_photo_id_array":[{"photo_id":"1399484862","filename":"file5"},{"photo_id":"1399484712","filename":"file2"},{"photo_id":"1399484819","filename":"file4"},{"photo_id":"1399484668","filename":"file1"},{"photo_id":"1399484618","filename":"file0"},{"photo_id":"1399484770","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399484712":["hashtag1","hashtag2"]},{"1399484618":["hashtag1","hashtag2"]},{"1399484819":["hashtag1","hashtag2"]},{"1399484770":["hashtag1","hashtag2"]},{"1399484668":["hashtag1","hashtag2"]},{"1399484862":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399484712, 1399484618, 1399484819, 1399484770, 1399484668, 1399484862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61354470252991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 11:48:42.603498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_52_2633.jpg', '/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_55_3776.jpg', '/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_58_2707.jpg', '/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_01_2579.jpg', '/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_04_3671.jpg', '/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_07_2791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_52_2633.jpg
/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_55_3776.jpg
/home/pi/Desktop/images/05112025/14/43/image_05112025_14_43_58_2707.jpg
/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_01_2579.jpg
/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_04_3671.jpg
/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_07_2791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399485265","1399485148","1399485043","1399485322","1399485078","1399485216"],"photo_ids_order":["1399485043","1399485078","1399485148","1399485216","1399485265","1399485322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/391269aec3257b4d44ea0b25f0f44bd1.jpg","text":"TemporaryFile(/tmp/multipartBody2203861227296566936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795783320,"filename":"image_05112025_14_44_04_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/15/5619d25a9cb8bd2642c019783281f688.jpg","text":"TemporaryFile(/tmp/multipartBody1740492722722150481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795783320,"filename":"image_05112025_14_43_58_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/15/597a521d4b7fe726e3e8fd106899da39.jpg","text":"TemporaryFile(/tmp/multipartBody5522330866544294009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795783320,"filename":"image_05112025_14_43_52_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2684b1c3565e749533471739776bffb1.jpg","text":"TemporaryFile(/tmp/multipartBody8723995029096837625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795783320,"filename":"image_05112025_14_44_07_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/15/0656e26810a48df613511b439db1b2d1.jpg","text":"TemporaryFile(/tmp/multipartBody2183917488817374364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795783320,"filename":"image_05112025_14_43_55_3776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cf320637b1e058bda7468911cb69de87.jpg","text":"TemporaryFile(/tmp/multipartBody2209339376195633005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795783320,"filename":"image_05112025_14_44_01_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399485148","file1":"1399485078","file0":"1399485043","file4":"1399485265","file5":"1399485322","file3":"1399485216"},"map_files_photo_id_array":[{"photo_id":"1399485322","filename":"file5"},{"photo_id":"1399485148","filename":"file2"},{"photo_id":"1399485265","filename":"file4"},{"photo_id":"1399485078","filename":"file1"},{"photo_id":"1399485043","filename":"file0"},{"photo_id":"1399485216","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399485265":["hashtag1","hashtag2"]},{"1399485148":["hashtag1","hashtag2"]},{"1399485043":["hashtag1","hashtag2"]},{"1399485322":["hashtag1","hashtag2"]},{"1399485078":["hashtag1","hashtag2"]},{"1399485216":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399485265, 1399485148, 1399485043, 1399485322, 1399485078, 1399485216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16236686706543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 11:49:22.015045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/24/image_15122025_11_24_35_10554.jpg', '/home/pi/Desktop/images/15122025/11/24/image_15122025_11_24_44_9670.jpg', '/home/pi/Desktop/images/15122025/11/24/image_15122025_11_24_55_10678.jpg', '/home/pi/Desktop/images/15122025/11/25/image_15122025_11_25_14_10056.jpg', '/home/pi/Desktop/images/15122025/11/25/image_15122025_11_25_25_10675.jpg', '/home/pi/Desktop/images/15122025/11/25/image_15122025_11_25_35_9800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/24/image_15122025_11_24_35_10554.jpg
/home/pi/Desktop/images/15122025/11/24/image_15122025_11_24_44_9670.jpg
/home/pi/Desktop/images/15122025/11/24/image_15122025_11_24_55_10678.jpg
/home/pi/Desktop/images/15122025/11/25/image_15122025_11_25_14_10056.jpg
/home/pi/Desktop/images/15122025/11/25/image_15122025_11_25_25_10675.jpg
/home/pi/Desktop/images/15122025/11/25/image_15122025_11_25_35_9800.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399485608","1399485539","1399485678","1399485753","1399485459","1399485497"],"photo_ids_order":["1399485459","1399485497","1399485539","1399485608","1399485678","1399485753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/46c364e2fc3f05df42681268e7b292f6.jpg","text":"TemporaryFile(/tmp/multipartBody6126812459571534949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795822810,"filename":"image_15122025_11_25_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7cee39263a5510b4aa10f4d4cecc92cf.jpg","text":"TemporaryFile(/tmp/multipartBody1132233443980655807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795822810,"filename":"image_15122025_11_24_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/15/2816638f007cfc6c135640e04a863836.jpg","text":"TemporaryFile(/tmp/multipartBody8189162809734155868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795822810,"filename":"image_15122025_11_25_25_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3ab3e71dc223373d07fcdec45e6bc5c8.jpg","text":"TemporaryFile(/tmp/multipartBody7725758245979590936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795822810,"filename":"image_15122025_11_25_35_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6233405ccca31e28db56f82e21f54a6b.jpg","text":"TemporaryFile(/tmp/multipartBody4238425947406069063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795822810,"filename":"image_15122025_11_24_35_10554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/92ab21a16e3063b5a494ed2f2b3793c6.jpg","text":"TemporaryFile(/tmp/multipartBody1520079134615825431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795822810,"filename":"image_15122025_11_24_44_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399485539","file1":"1399485497","file0":"1399485459","file4":"1399485678","file5":"1399485753","file3":"1399485608"},"map_files_photo_id_array":[{"photo_id":"1399485753","filename":"file5"},{"photo_id":"1399485539","filename":"file2"},{"photo_id":"1399485678","filename":"file4"},{"photo_id":"1399485497","filename":"file1"},{"photo_id":"1399485459","filename":"file0"},{"photo_id":"1399485608","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399485608":["hashtag1","hashtag2"]},{"1399485539":["hashtag1","hashtag2"]},{"1399485678":["hashtag1","hashtag2"]},{"1399485753":["hashtag1","hashtag2"]},{"1399485459":["hashtag1","hashtag2"]},{"1399485497":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399485608, 1399485539, 1399485678, 1399485753, 1399485459, 1399485497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95550513267517 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 11:50:02.548840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/25/image_15122025_11_25_45_9714.jpg', '/home/pi/Desktop/images/15122025/11/25/image_15122025_11_25_54_9791.jpg', '/home/pi/Desktop/images/15122025/11/25/image_15122025_11_26_05_10649.jpg', '/home/pi/Desktop/images/15122025/11/26/image_15122025_11_26_15_9780.jpg', '/home/pi/Desktop/images/15122025/11/26/image_15122025_11_26_24_9625.jpg', '/home/pi/Desktop/images/15122025/11/26/image_15122025_11_26_35_10669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/25/image_15122025_11_25_45_9714.jpg
/home/pi/Desktop/images/15122025/11/25/image_15122025_11_25_54_9791.jpg
/home/pi/Desktop/images/15122025/11/25/image_15122025_11_26_05_10649.jpg
/home/pi/Desktop/images/15122025/11/26/image_15122025_11_26_15_9780.jpg
/home/pi/Desktop/images/15122025/11/26/image_15122025_11_26_24_9625.jpg
/home/pi/Desktop/images/15122025/11/26/image_15122025_11_26_35_10669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399486304","1399486816","1399486974","1399486650","1399487112","1399486481"],"photo_ids_order":["1399486304","1399486481","1399486650","1399486816","1399486974","1399487112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7781fc055de2a764378c3f7932fc8484.jpg","text":"TemporaryFile(/tmp/multipartBody4610732871445853395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795863187,"filename":"image_15122025_11_25_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/15/f3c497caa4bbe445ba62574ad6b30928.jpg","text":"TemporaryFile(/tmp/multipartBody8876947237711125263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795863187,"filename":"image_15122025_11_26_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/15/dd95d77dcc255536e5ce5b517e1d75ef.jpg","text":"TemporaryFile(/tmp/multipartBody2510095459819627806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795863187,"filename":"image_15122025_11_26_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/15/373dc6a44c678ba5747a496b33c0e3a6.jpg","text":"TemporaryFile(/tmp/multipartBody8203768167747563317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795863187,"filename":"image_15122025_11_26_05_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/723c3e6ab1110ec7d74abdca03d40046.jpg","text":"TemporaryFile(/tmp/multipartBody5093319066920173775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795863187,"filename":"image_15122025_11_26_35_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ee3dd168579d516df900e30f3bc8f355.jpg","text":"TemporaryFile(/tmp/multipartBody651890006406897231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795863187,"filename":"image_15122025_11_25_54_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399486650","file1":"1399486481","file0":"1399486304","file4":"1399486974","file5":"1399487112","file3":"1399486816"},"map_files_photo_id_array":[{"photo_id":"1399487112","filename":"file5"},{"photo_id":"1399486650","filename":"file2"},{"photo_id":"1399486974","filename":"file4"},{"photo_id":"1399486481","filename":"file1"},{"photo_id":"1399486304","filename":"file0"},{"photo_id":"1399486816","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399486304":["hashtag1","hashtag2"]},{"1399486816":["hashtag1","hashtag2"]},{"1399486974":["hashtag1","hashtag2"]},{"1399486650":["hashtag1","hashtag2"]},{"1399487112":["hashtag1","hashtag2"]},{"1399486481":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399486304, 1399486816, 1399486974, 1399486650, 1399487112, 1399486481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14616584777832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 11:50:42.007935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_10_2766.jpg', '/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_13_2693.jpg', '/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_16_3671.jpg', '/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_19_2656.jpg', '/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_22_2742.jpg', '/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_25_3629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_10_2766.jpg
/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_13_2693.jpg
/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_16_3671.jpg
/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_19_2656.jpg
/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_22_2742.jpg
/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_25_3629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399487665","1399487902","1399487865","1399487742","1399487814","1399487552"],"photo_ids_order":["1399487552","1399487665","1399487742","1399487814","1399487865","1399487902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6e2149c9445bd30c14d3779097cdd00a.jpg","text":"TemporaryFile(/tmp/multipartBody7617856348695004207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795902749,"filename":"image_05112025_14_44_13_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/15/674b88eb82b5f07e32a4a0551d5723f6.jpg","text":"TemporaryFile(/tmp/multipartBody2975071567579453882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795902749,"filename":"image_05112025_14_44_25_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/15/6da5eb273fa8ac00fc270ccce6887433.jpg","text":"TemporaryFile(/tmp/multipartBody5883987569909610953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795902749,"filename":"image_05112025_14_44_22_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/15/6d590d4618988ef1f120c7dcd05b75f4.jpg","text":"TemporaryFile(/tmp/multipartBody7937924293003309334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795902749,"filename":"image_05112025_14_44_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/15/3a30762c478a64e52884b8902429539f.jpg","text":"TemporaryFile(/tmp/multipartBody7152096893043716032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795902749,"filename":"image_05112025_14_44_19_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/15/3238251c82dc2a5519bc4f997b103b58.jpg","text":"TemporaryFile(/tmp/multipartBody8830997947079543306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795902749,"filename":"image_05112025_14_44_10_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399487742","file1":"1399487665","file0":"1399487552","file4":"1399487865","file5":"1399487902","file3":"1399487814"},"map_files_photo_id_array":[{"photo_id":"1399487902","filename":"file5"},{"photo_id":"1399487742","filename":"file2"},{"photo_id":"1399487865","filename":"file4"},{"photo_id":"1399487665","filename":"file1"},{"photo_id":"1399487552","filename":"file0"},{"photo_id":"1399487814","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399487665":["hashtag1","hashtag2"]},{"1399487902":["hashtag1","hashtag2"]},{"1399487865":["hashtag1","hashtag2"]},{"1399487742":["hashtag1","hashtag2"]},{"1399487814":["hashtag1","hashtag2"]},{"1399487552":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399487665, 1399487902, 1399487865, 1399487742, 1399487814, 1399487552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.056657791137695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 11:51:42.148752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_28_2663.jpg', '/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_31_2760.jpg', '/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_33_2774.jpg', '/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_37_3868.jpg', '/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_43_2810.jpg', '/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_46_3577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_28_2663.jpg
/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_31_2760.jpg
/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_33_2774.jpg
/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_37_3868.jpg
/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_43_2810.jpg
/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_46_3577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399487932","1399487926","1399487929","1399487940","1399487927","1399487924"],"photo_ids_order":["1399487924","1399487926","1399487927","1399487929","1399487932","1399487940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f2cae5cbac0e657f609119934da497eb.jpg","text":"TemporaryFile(/tmp/multipartBody659831716917581198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795962868,"filename":"image_05112025_14_44_43_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/15/f8b0cf3740dcea65a89512a10f4fe407.jpg","text":"TemporaryFile(/tmp/multipartBody8089636246818724981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795962868,"filename":"image_05112025_14_44_31_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/15/fe3ec0cd56f2085922975488eefc9685.jpg","text":"TemporaryFile(/tmp/multipartBody408011918780652711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795962868,"filename":"image_05112025_14_44_37_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/15/e594732baca8418517fc868669a14de9.jpg","text":"TemporaryFile(/tmp/multipartBody6184357264734955101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795962868,"filename":"image_05112025_14_44_46_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/275a01147cd5296fbf543eada31b23f7.jpg","text":"TemporaryFile(/tmp/multipartBody1946361048326457083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795962868,"filename":"image_05112025_14_44_33_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/43ed59c5413d9d1d43f70e0ec5963e86.jpg","text":"TemporaryFile(/tmp/multipartBody3194134187517744796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765795962868,"filename":"image_05112025_14_44_28_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399487927","file1":"1399487926","file0":"1399487924","file4":"1399487932","file5":"1399487940","file3":"1399487929"},"map_files_photo_id_array":[{"photo_id":"1399487940","filename":"file5"},{"photo_id":"1399487927","filename":"file2"},{"photo_id":"1399487932","filename":"file4"},{"photo_id":"1399487926","filename":"file1"},{"photo_id":"1399487924","filename":"file0"},{"photo_id":"1399487929","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399487932":["hashtag1","hashtag2"]},{"1399487926":["hashtag1","hashtag2"]},{"1399487929":["hashtag1","hashtag2"]},{"1399487940":["hashtag1","hashtag2"]},{"1399487927":["hashtag1","hashtag2"]},{"1399487924":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399487932, 1399487926, 1399487929, 1399487940, 1399487927, 1399487924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83321690559387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 11:52:22.436335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/26/image_15122025_11_26_45_9804.jpg', '/home/pi/Desktop/images/15122025/11/26/image_15122025_11_26_55_9653.jpg', '/home/pi/Desktop/images/15122025/11/26/image_15122025_11_27_05_10782.jpg', '/home/pi/Desktop/images/15122025/11/27/image_15122025_11_27_15_9767.jpg', '/home/pi/Desktop/images/15122025/11/27/image_15122025_11_27_25_9764.jpg', '/home/pi/Desktop/images/15122025/11/27/image_15122025_11_27_35_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/26/image_15122025_11_26_45_9804.jpg
/home/pi/Desktop/images/15122025/11/26/image_15122025_11_26_55_9653.jpg
/home/pi/Desktop/images/15122025/11/26/image_15122025_11_27_05_10782.jpg
/home/pi/Desktop/images/15122025/11/27/image_15122025_11_27_15_9767.jpg
/home/pi/Desktop/images/15122025/11/27/image_15122025_11_27_25_9764.jpg
/home/pi/Desktop/images/15122025/11/27/image_15122025_11_27_35_9760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399488603","1399488057","1399488266","1399488437","1399488766","1399488133"],"photo_ids_order":["1399488057","1399488133","1399488266","1399488437","1399488603","1399488766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9f4aa8585e3c4f5bd3dfae980a94fa93.jpg","text":"TemporaryFile(/tmp/multipartBody6296023783044107108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796003092,"filename":"image_15122025_11_27_25_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/52755d2426dd529773acc11da022c8e0.jpg","text":"TemporaryFile(/tmp/multipartBody1599669025394459926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796003092,"filename":"image_15122025_11_26_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/15/bcde53dcdee57e946d276a2359807805.jpg","text":"TemporaryFile(/tmp/multipartBody2957162468127459260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796003092,"filename":"image_15122025_11_27_05_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/15/87cc94c9c8ab280147550ff3a340306d.jpg","text":"TemporaryFile(/tmp/multipartBody3541117566629137881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796003092,"filename":"image_15122025_11_27_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/15/531a5bac06f085238138591a7620d973.jpg","text":"TemporaryFile(/tmp/multipartBody3498439381484637538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796003092,"filename":"image_15122025_11_27_35_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/642ef6f5822fead0266651a8e4e9a057.jpg","text":"TemporaryFile(/tmp/multipartBody7653463363046020982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796003092,"filename":"image_15122025_11_26_55_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399488266","file1":"1399488133","file0":"1399488057","file4":"1399488603","file5":"1399488766","file3":"1399488437"},"map_files_photo_id_array":[{"photo_id":"1399488766","filename":"file5"},{"photo_id":"1399488266","filename":"file2"},{"photo_id":"1399488603","filename":"file4"},{"photo_id":"1399488133","filename":"file1"},{"photo_id":"1399488057","filename":"file0"},{"photo_id":"1399488437","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399488603":["hashtag1","hashtag2"]},{"1399488057":["hashtag1","hashtag2"]},{"1399488266":["hashtag1","hashtag2"]},{"1399488437":["hashtag1","hashtag2"]},{"1399488766":["hashtag1","hashtag2"]},{"1399488133":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399488603, 1399488057, 1399488266, 1399488437, 1399488766, 1399488133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.205228328704834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 11:53:03.156319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/27/image_15122025_11_27_45_10650.jpg', '/home/pi/Desktop/images/15122025/11/27/image_15122025_11_27_55_9833.jpg', '/home/pi/Desktop/images/15122025/11/27/image_15122025_11_28_05_9653.jpg', '/home/pi/Desktop/images/15122025/11/28/image_15122025_11_28_14_9655.jpg', '/home/pi/Desktop/images/15122025/11/28/image_15122025_11_28_25_10685.jpg', '/home/pi/Desktop/images/15122025/11/28/image_15122025_11_28_35_9395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/27/image_15122025_11_27_45_10650.jpg
/home/pi/Desktop/images/15122025/11/27/image_15122025_11_27_55_9833.jpg
/home/pi/Desktop/images/15122025/11/27/image_15122025_11_28_05_9653.jpg
/home/pi/Desktop/images/15122025/11/28/image_15122025_11_28_14_9655.jpg
/home/pi/Desktop/images/15122025/11/28/image_15122025_11_28_25_10685.jpg
/home/pi/Desktop/images/15122025/11/28/image_15122025_11_28_35_9395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399489440","1399489236","1399489143","1399489573","1399489723","1399489893"],"photo_ids_order":["1399489143","1399489236","1399489440","1399489573","1399489723","1399489893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/267e1a72506eba471338606768eac7dc.jpg","text":"TemporaryFile(/tmp/multipartBody6407242597390631267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796043824,"filename":"image_15122025_11_28_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/15/121368500210b38e25e5d4af45761a7a.jpg","text":"TemporaryFile(/tmp/multipartBody4240584534298656845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796043824,"filename":"image_15122025_11_27_55_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3b393cd6f85ee5b5bc5d4b789bee50f5.jpg","text":"TemporaryFile(/tmp/multipartBody8431221085214190999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796043824,"filename":"image_15122025_11_27_45_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7631f43ab83a8d9f200d0124eca5eded.jpg","text":"TemporaryFile(/tmp/multipartBody1248500594137505820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796043824,"filename":"image_15122025_11_28_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/15/61f40f05d72336a5d17a3d487d6f81e2.jpg","text":"TemporaryFile(/tmp/multipartBody8903046364658714007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796043824,"filename":"image_15122025_11_28_25_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d89142c7ba03161a8cf9139be7725ea8.jpg","text":"TemporaryFile(/tmp/multipartBody753560205288088182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796043824,"filename":"image_15122025_11_28_35_9395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399489440","file1":"1399489236","file0":"1399489143","file4":"1399489723","file5":"1399489893","file3":"1399489573"},"map_files_photo_id_array":[{"photo_id":"1399489893","filename":"file5"},{"photo_id":"1399489440","filename":"file2"},{"photo_id":"1399489723","filename":"file4"},{"photo_id":"1399489236","filename":"file1"},{"photo_id":"1399489143","filename":"file0"},{"photo_id":"1399489573","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399489440":["hashtag1","hashtag2"]},{"1399489236":["hashtag1","hashtag2"]},{"1399489143":["hashtag1","hashtag2"]},{"1399489573":["hashtag1","hashtag2"]},{"1399489723":["hashtag1","hashtag2"]},{"1399489893":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399489440, 1399489236, 1399489143, 1399489573, 1399489723, 1399489893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64075803756714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 11:53:42.625421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_49_2645.jpg', '/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_52_2702.jpg', '/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_55_3647.jpg', '/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_58_2824.jpg', '/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_01_2597.jpg', '/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_03_2751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_49_2645.jpg
/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_52_2702.jpg
/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_55_3647.jpg
/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_58_2824.jpg
/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_01_2597.jpg
/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_03_2751.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6060900688171387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 11:54:02.382720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/28/image_15122025_11_28_44_9926.jpg', '/home/pi/Desktop/images/15122025/11/28/image_15122025_11_28_55_10563.jpg', '/home/pi/Desktop/images/15122025/11/28/image_15122025_11_29_05_9720.jpg', '/home/pi/Desktop/images/15122025/11/29/image_15122025_11_29_15_9937.jpg', '/home/pi/Desktop/images/15122025/11/29/image_15122025_11_29_24_9817.jpg', '/home/pi/Desktop/images/15122025/11/29/image_15122025_11_29_35_10652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/28/image_15122025_11_28_44_9926.jpg
/home/pi/Desktop/images/15122025/11/28/image_15122025_11_28_55_10563.jpg
/home/pi/Desktop/images/15122025/11/28/image_15122025_11_29_05_9720.jpg
/home/pi/Desktop/images/15122025/11/29/image_15122025_11_29_15_9937.jpg
/home/pi/Desktop/images/15122025/11/29/image_15122025_11_29_24_9817.jpg
/home/pi/Desktop/images/15122025/11/29/image_15122025_11_29_35_10652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399490295","1399490140","1399490145","1399490381","1399490147","1399490143"],"photo_ids_order":["1399490140","1399490143","1399490145","1399490147","1399490295","1399490381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/91b60501f9c473dc634fb22af6503e4a.jpg","text":"TemporaryFile(/tmp/multipartBody6541913016879737197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796103013,"filename":"image_15122025_11_29_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/15/235dd25f87fb4b28fd8b626150273aa5.jpg","text":"TemporaryFile(/tmp/multipartBody6871267331198630144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796103013,"filename":"image_15122025_11_28_44_9926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/40edd2b4bd2485a5e6016eef7c9decaf.jpg","text":"TemporaryFile(/tmp/multipartBody4276121152334704048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796103013,"filename":"image_15122025_11_29_05_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9eba9c6420faf99e2953a1abc1251fb1.jpg","text":"TemporaryFile(/tmp/multipartBody6668475837632097148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796103013,"filename":"image_15122025_11_29_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/15/a2e2ea733ba1f2599229f9c021ae16a4.jpg","text":"TemporaryFile(/tmp/multipartBody6631993265526785183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796103013,"filename":"image_15122025_11_29_15_9937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/545560277368185a17d7104367b1dcc4.jpg","text":"TemporaryFile(/tmp/multipartBody3175121432955675535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796103013,"filename":"image_15122025_11_28_55_10563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399490145","file1":"1399490143","file0":"1399490140","file4":"1399490295","file5":"1399490381","file3":"1399490147"},"map_files_photo_id_array":[{"photo_id":"1399490381","filename":"file5"},{"photo_id":"1399490145","filename":"file2"},{"photo_id":"1399490295","filename":"file4"},{"photo_id":"1399490143","filename":"file1"},{"photo_id":"1399490140","filename":"file0"},{"photo_id":"1399490147","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399490295":["hashtag1","hashtag2"]},{"1399490140":["hashtag1","hashtag2"]},{"1399490145":["hashtag1","hashtag2"]},{"1399490381":["hashtag1","hashtag2"]},{"1399490147":["hashtag1","hashtag2"]},{"1399490143":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399490295, 1399490140, 1399490145, 1399490381, 1399490147, 1399490143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.682355642318726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 11:55:02.820317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/29/image_15122025_11_29_45_9647.jpg', '/home/pi/Desktop/images/15122025/11/29/image_15122025_11_29_54_9725.jpg', '/home/pi/Desktop/images/15122025/11/31/image_15122025_11_31_14_10041.jpg', '/home/pi/Desktop/images/15122025/11/31/image_15122025_11_31_24_10755.jpg', '/home/pi/Desktop/images/15122025/11/31/image_15122025_11_31_34_9576.jpg', '/home/pi/Desktop/images/15122025/11/31/image_15122025_11_31_45_10610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/29/image_15122025_11_29_45_9647.jpg
/home/pi/Desktop/images/15122025/11/29/image_15122025_11_29_54_9725.jpg
/home/pi/Desktop/images/15122025/11/31/image_15122025_11_31_14_10041.jpg
/home/pi/Desktop/images/15122025/11/31/image_15122025_11_31_24_10755.jpg
/home/pi/Desktop/images/15122025/11/31/image_15122025_11_31_34_9576.jpg
/home/pi/Desktop/images/15122025/11/31/image_15122025_11_31_45_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":["1399490442","1399490444","1399490438","1399490446","1399490449","1399490440"],"photo_ids_order":["1399490438","1399490440","1399490442","1399490444","1399490446","1399490449"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e08fc47005ee1f34be66bc17b19d467c.jpg","text":"TemporaryFile(/tmp/multipartBody7255197607480535357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796163477,"filename":"image_15122025_11_31_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/15/44ed0502bec70ac4537a4a8663aad522.jpg","text":"TemporaryFile(/tmp/multipartBody5598488825370452390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796163477,"filename":"image_15122025_11_31_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/15/9152dbfe65db8b8eb6717b660926afe1.jpg","text":"TemporaryFile(/tmp/multipartBody340433994312700051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796163477,"filename":"image_15122025_11_29_45_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/be5f941fe6813cddbf2ba8d907b60265.jpg","text":"TemporaryFile(/tmp/multipartBody7629896210096849162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796163477,"filename":"image_15122025_11_31_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/15/a240f07a1513b027dcaabaf4da2f183e.jpg","text":"TemporaryFile(/tmp/multipartBody8145332745927383995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796163477,"filename":"image_15122025_11_31_45_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/15/b9e229cdbe068fd1011d5e3bbff37c8c.jpg","text":"TemporaryFile(/tmp/multipartBody9047111539845479892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796163477,"filename":"image_15122025_11_29_54_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399490442","file1":"1399490440","file0":"1399490438","file4":"1399490446","file5":"1399490449","file3":"1399490444"},"map_files_photo_id_array":[{"photo_id":"1399490449","filename":"file5"},{"photo_id":"1399490442","filename":"file2"},{"photo_id":"1399490446","filename":"file4"},{"photo_id":"1399490440","filename":"file1"},{"photo_id":"1399490438","filename":"file0"},{"photo_id":"1399490444","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399490442":["hashtag1","hashtag2"]},{"1399490444":["hashtag1","hashtag2"]},{"1399490438":["hashtag1","hashtag2"]},{"1399490446":["hashtag1","hashtag2"]},{"1399490449":["hashtag1","hashtag2"]},{"1399490440":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399490442, 1399490444, 1399490438, 1399490446, 1399490449, 1399490440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57211136817932 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-15 11:56:02.801665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/31/image_15122025_11_31_54_9734.jpg', '/home/pi/Desktop/images/15122025/11/31/image_15122025_11_32_04_9643.jpg', '/home/pi/Desktop/images/15122025/11/32/image_15122025_11_32_14_9730.jpg', '/home/pi/Desktop/images/15122025/11/32/image_15122025_11_32_24_10783.jpg', '/home/pi/Desktop/images/15122025/11/32/image_15122025_11_32_34_9620.jpg', '/home/pi/Desktop/images/15122025/11/32/image_15122025_11_32_44_9553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/31/image_15122025_11_31_54_9734.jpg
/home/pi/Desktop/images/15122025/11/31/image_15122025_11_32_04_9643.jpg
/home/pi/Desktop/images/15122025/11/32/image_15122025_11_32_14_9730.jpg
/home/pi/Desktop/images/15122025/11/32/image_15122025_11_32_24_10783.jpg
/home/pi/Desktop/images/15122025/11/32/image_15122025_11_32_34_9620.jpg
/home/pi/Desktop/images/15122025/11/32/image_15122025_11_32_44_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":["1399490457","1399490460","1399490462","1399490464","1399490467","1399490458"],"photo_ids_order":["1399490457","1399490458","1399490460","1399490462","1399490464","1399490467"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2e07fbbeca574e4fb56245626731925f.jpg","text":"TemporaryFile(/tmp/multipartBody33424454789042953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796223455,"filename":"image_15122025_11_31_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/15/305c37aa5ef284f98e353f466a718dac.jpg","text":"TemporaryFile(/tmp/multipartBody790064291212466569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796223455,"filename":"image_15122025_11_32_14_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e5b032e1938e1c0b76d20ca7dfb5063a.jpg","text":"TemporaryFile(/tmp/multipartBody5108934296176179255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796223455,"filename":"image_15122025_11_32_24_10783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7cf5649526917c34291167ac8d068814.jpg","text":"TemporaryFile(/tmp/multipartBody4848007179474414354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796223455,"filename":"image_15122025_11_32_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/15/1c56c53980df3c23d87ba950adb2e97e.jpg","text":"TemporaryFile(/tmp/multipartBody6768834677076604210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796223455,"filename":"image_15122025_11_32_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/15/b89cf674088bc58fffeb6b6926dc60a1.jpg","text":"TemporaryFile(/tmp/multipartBody2554266121968755535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796223455,"filename":"image_15122025_11_32_04_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399490460","file1":"1399490458","file0":"1399490457","file4":"1399490464","file5":"1399490467","file3":"1399490462"},"map_files_photo_id_array":[{"photo_id":"1399490467","filename":"file5"},{"photo_id":"1399490460","filename":"file2"},{"photo_id":"1399490464","filename":"file4"},{"photo_id":"1399490458","filename":"file1"},{"photo_id":"1399490457","filename":"file0"},{"photo_id":"1399490462","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399490457":["hashtag1","hashtag2"]},{"1399490460":["hashtag1","hashtag2"]},{"1399490462":["hashtag1","hashtag2"]},{"1399490464":["hashtag1","hashtag2"]},{"1399490467":["hashtag1","hashtag2"]},{"1399490458":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399490457, 1399490460, 1399490462, 1399490464, 1399490467, 1399490458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.871779441833496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 11:56:42.356027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_49_2645.jpg', '/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_52_2702.jpg', '/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_55_3647.jpg', '/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_58_2824.jpg', '/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_01_2597.jpg', '/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_03_2751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_49_2645.jpg
/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_52_2702.jpg
/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_55_3647.jpg
/home/pi/Desktop/images/05112025/14/44/image_05112025_14_44_58_2824.jpg
/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_01_2597.jpg
/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_03_2751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399490487","1399490486","1399490480","1399490483","1399490477","1399490485"],"photo_ids_order":["1399490477","1399490480","1399490483","1399490485","1399490486","1399490487"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5cd647ff347cd1b5d9c92578cdb3ecc5.jpg","text":"TemporaryFile(/tmp/multipartBody6513114634784449249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796262958,"filename":"image_05112025_14_45_03_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/15/fca8545d0b121e50862743dcea5bb467.jpg","text":"TemporaryFile(/tmp/multipartBody737503849748348591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796262958,"filename":"image_05112025_14_45_01_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/15/1ae5883e3d4120d7867c406e6cde8349.jpg","text":"TemporaryFile(/tmp/multipartBody4002578378791297176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796262958,"filename":"image_05112025_14_44_52_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/15/aafccf58cb486955701c10142c5ea3ff.jpg","text":"TemporaryFile(/tmp/multipartBody3892933116458020036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796262958,"filename":"image_05112025_14_44_55_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6137404ad6a0d6780fa406878fca648d.jpg","text":"TemporaryFile(/tmp/multipartBody6018938815188797540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796262958,"filename":"image_05112025_14_44_49_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/15/12eb112f3a17252ec50ff89a39b7f4fc.jpg","text":"TemporaryFile(/tmp/multipartBody8457833175769668673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796262958,"filename":"image_05112025_14_44_58_2824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399490483","file1":"1399490480","file0":"1399490477","file4":"1399490486","file5":"1399490487","file3":"1399490485"},"map_files_photo_id_array":[{"photo_id":"1399490487","filename":"file5"},{"photo_id":"1399490483","filename":"file2"},{"photo_id":"1399490486","filename":"file4"},{"photo_id":"1399490480","filename":"file1"},{"photo_id":"1399490477","filename":"file0"},{"photo_id":"1399490485","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399490487":["hashtag1","hashtag2"]},{"1399490486":["hashtag1","hashtag2"]},{"1399490480":["hashtag1","hashtag2"]},{"1399490483":["hashtag1","hashtag2"]},{"1399490477":["hashtag1","hashtag2"]},{"1399490485":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399490487, 1399490486, 1399490480, 1399490483, 1399490477, 1399490485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92796754837036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 11:57:22.656410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/32/image_15122025_11_32_54_10778.jpg', '/home/pi/Desktop/images/15122025/11/32/image_15122025_11_33_04_9639.jpg', '/home/pi/Desktop/images/15122025/11/33/image_15122025_11_33_14_9878.jpg', '/home/pi/Desktop/images/15122025/11/33/image_15122025_11_33_24_9703.jpg', '/home/pi/Desktop/images/15122025/11/33/image_15122025_11_33_34_10745.jpg', '/home/pi/Desktop/images/15122025/11/33/image_15122025_11_33_44_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/32/image_15122025_11_32_54_10778.jpg
/home/pi/Desktop/images/15122025/11/32/image_15122025_11_33_04_9639.jpg
/home/pi/Desktop/images/15122025/11/33/image_15122025_11_33_14_9878.jpg
/home/pi/Desktop/images/15122025/11/33/image_15122025_11_33_24_9703.jpg
/home/pi/Desktop/images/15122025/11/33/image_15122025_11_33_34_10745.jpg
/home/pi/Desktop/images/15122025/11/33/image_15122025_11_33_44_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":["1399490701","1399490564","1399490630","1399490519","1399490779","1399490743"],"photo_ids_order":["1399490519","1399490564","1399490630","1399490701","1399490743","1399490779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a49ff3c6c3f8bb83be596e53e6e3ac62.jpg","text":"TemporaryFile(/tmp/multipartBody2284335509104623972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796303276,"filename":"image_15122025_11_33_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/15/3f6b97ffebbc14455022d23847662da5.jpg","text":"TemporaryFile(/tmp/multipartBody4072936255520470041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796303276,"filename":"image_15122025_11_33_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/15/33ef8a2afa54efd74353c4730bc39bf9.jpg","text":"TemporaryFile(/tmp/multipartBody2503275634082012535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796303276,"filename":"image_15122025_11_33_14_9878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5c1cc9079d259fe1134d78371a89befc.jpg","text":"TemporaryFile(/tmp/multipartBody463266232193904775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796303276,"filename":"image_15122025_11_32_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/15/d1a28dc452c2a943ee6cfd368305ccad.jpg","text":"TemporaryFile(/tmp/multipartBody8227656119463271648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796303276,"filename":"image_15122025_11_33_44_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/03880aff6df04a7de8939eb2142e616a.jpg","text":"TemporaryFile(/tmp/multipartBody7479405103073621606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796303276,"filename":"image_15122025_11_33_34_10745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399490630","file1":"1399490564","file0":"1399490519","file4":"1399490743","file5":"1399490779","file3":"1399490701"},"map_files_photo_id_array":[{"photo_id":"1399490779","filename":"file5"},{"photo_id":"1399490630","filename":"file2"},{"photo_id":"1399490743","filename":"file4"},{"photo_id":"1399490564","filename":"file1"},{"photo_id":"1399490519","filename":"file0"},{"photo_id":"1399490701","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399490701":["hashtag1","hashtag2"]},{"1399490564":["hashtag1","hashtag2"]},{"1399490630":["hashtag1","hashtag2"]},{"1399490519":["hashtag1","hashtag2"]},{"1399490779":["hashtag1","hashtag2"]},{"1399490743":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399490701, 1399490564, 1399490630, 1399490519, 1399490779, 1399490743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.36177396774292 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 11:59:02.756656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/33/image_15122025_11_33_54_9560.jpg', '/home/pi/Desktop/images/15122025/11/33/image_15122025_11_34_04_10613.jpg', '/home/pi/Desktop/images/15122025/11/34/image_15122025_11_34_14_9624.jpg', '/home/pi/Desktop/images/15122025/11/34/image_15122025_11_34_24_10590.jpg', '/home/pi/Desktop/images/15122025/11/34/image_15122025_11_34_34_9550.jpg', '/home/pi/Desktop/images/15122025/11/34/image_15122025_11_34_44_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/33/image_15122025_11_33_54_9560.jpg
/home/pi/Desktop/images/15122025/11/33/image_15122025_11_34_04_10613.jpg
/home/pi/Desktop/images/15122025/11/34/image_15122025_11_34_14_9624.jpg
/home/pi/Desktop/images/15122025/11/34/image_15122025_11_34_24_10590.jpg
/home/pi/Desktop/images/15122025/11/34/image_15122025_11_34_34_9550.jpg
/home/pi/Desktop/images/15122025/11/34/image_15122025_11_34_44_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399491869","1399491830","1399491908","1399491790","1399492024","1399491949"],"photo_ids_order":["1399491790","1399491830","1399491869","1399491908","1399491949","1399492024"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dce0283a28677b609ec3fc356aa1ee98.jpg","text":"TemporaryFile(/tmp/multipartBody6886613080259978458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796403578,"filename":"image_15122025_11_34_14_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/15/a318ebd203d9d6c6591637c1e392ee0b.jpg","text":"TemporaryFile(/tmp/multipartBody7521745880189456592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796403578,"filename":"image_15122025_11_34_04_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/789ae2fce940ef313c649173ded61650.jpg","text":"TemporaryFile(/tmp/multipartBody4227730823053919390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796403578,"filename":"image_15122025_11_34_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/15/60b31b9b77712260ac4b9865752262d0.jpg","text":"TemporaryFile(/tmp/multipartBody8611630127507830016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796403578,"filename":"image_15122025_11_33_54_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/15/dede968b8096475bb80fb3ebb4f52192.jpg","text":"TemporaryFile(/tmp/multipartBody4104734424819031972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796403578,"filename":"image_15122025_11_34_44_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1814e1480ed57c726c619c585d31af88.jpg","text":"TemporaryFile(/tmp/multipartBody5487321683534401424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796403578,"filename":"image_15122025_11_34_34_9550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399491869","file1":"1399491830","file0":"1399491790","file4":"1399491949","file5":"1399492024","file3":"1399491908"},"map_files_photo_id_array":[{"photo_id":"1399492024","filename":"file5"},{"photo_id":"1399491869","filename":"file2"},{"photo_id":"1399491949","filename":"file4"},{"photo_id":"1399491830","filename":"file1"},{"photo_id":"1399491790","filename":"file0"},{"photo_id":"1399491908","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399491869":["hashtag1","hashtag2"]},{"1399491830":["hashtag1","hashtag2"]},{"1399491908":["hashtag1","hashtag2"]},{"1399491790":["hashtag1","hashtag2"]},{"1399492024":["hashtag1","hashtag2"]},{"1399491949":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399491869, 1399491830, 1399491908, 1399491790, 1399492024, 1399491949)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.582974910736084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 12:00:02.568636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/34/image_15122025_11_34_54_10735.jpg', '/home/pi/Desktop/images/15122025/11/35/image_15122025_11_35_14_10057.jpg', '/home/pi/Desktop/images/15122025/11/35/image_15122025_11_35_24_10620.jpg', '/home/pi/Desktop/images/15122025/11/35/image_15122025_11_35_34_9798.jpg', '/home/pi/Desktop/images/15122025/11/35/image_15122025_11_35_45_10335.jpg', '/home/pi/Desktop/images/15122025/11/35/image_15122025_11_35_54_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/34/image_15122025_11_34_54_10735.jpg
/home/pi/Desktop/images/15122025/11/35/image_15122025_11_35_14_10057.jpg
/home/pi/Desktop/images/15122025/11/35/image_15122025_11_35_24_10620.jpg
/home/pi/Desktop/images/15122025/11/35/image_15122025_11_35_34_9798.jpg
/home/pi/Desktop/images/15122025/11/35/image_15122025_11_35_45_10335.jpg
/home/pi/Desktop/images/15122025/11/35/image_15122025_11_35_54_9661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399492592","1399492661","1399492655","1399492658","1399492677","1399492719"],"photo_ids_order":["1399492592","1399492655","1399492658","1399492661","1399492677","1399492719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/55dfdbdc01553f0461b2e94dbd18d2c4.jpg","text":"TemporaryFile(/tmp/multipartBody4952248080081162340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796463213,"filename":"image_15122025_11_34_54_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/15/d149b41e009be1eb7d7b63dd62ed5ba3.jpg","text":"TemporaryFile(/tmp/multipartBody6382747785673877504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796463213,"filename":"image_15122025_11_35_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/15/bb621f594bbdf00e44fed3b98c7e2a3c.jpg","text":"TemporaryFile(/tmp/multipartBody2309913356944706717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796463213,"filename":"image_15122025_11_35_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/15/4c5c3b83b77aece55f766094e85c0a82.jpg","text":"TemporaryFile(/tmp/multipartBody4566573458000660547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796463213,"filename":"image_15122025_11_35_24_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/15/90ec56c460a1173dbdd0302142d13fc5.jpg","text":"TemporaryFile(/tmp/multipartBody8475511341423554124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796463213,"filename":"image_15122025_11_35_45_10335.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/46f481f438dcf5a7a6cadf00a935d9c1.jpg","text":"TemporaryFile(/tmp/multipartBody2522494715264840846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796463213,"filename":"image_15122025_11_35_54_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399492658","file1":"1399492655","file0":"1399492592","file4":"1399492677","file5":"1399492719","file3":"1399492661"},"map_files_photo_id_array":[{"photo_id":"1399492719","filename":"file5"},{"photo_id":"1399492658","filename":"file2"},{"photo_id":"1399492677","filename":"file4"},{"photo_id":"1399492655","filename":"file1"},{"photo_id":"1399492592","filename":"file0"},{"photo_id":"1399492661","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399492592":["hashtag1","hashtag2"]},{"1399492661":["hashtag1","hashtag2"]},{"1399492655":["hashtag1","hashtag2"]},{"1399492658":["hashtag1","hashtag2"]},{"1399492677":["hashtag1","hashtag2"]},{"1399492719":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399492592, 1399492661, 1399492655, 1399492658, 1399492677, 1399492719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.694947242736816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 12:01:03.118083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/35/image_15122025_11_36_04_9577.jpg', '/home/pi/Desktop/images/15122025/11/36/image_15122025_11_36_15_10673.jpg', '/home/pi/Desktop/images/15122025/11/36/image_15122025_11_36_25_10267.jpg', '/home/pi/Desktop/images/15122025/11/36/image_15122025_11_36_34_9593.jpg', '/home/pi/Desktop/images/15122025/11/36/image_15122025_11_36_44_9799.jpg', '/home/pi/Desktop/images/15122025/11/36/image_15122025_11_36_54_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/35/image_15122025_11_36_04_9577.jpg
/home/pi/Desktop/images/15122025/11/36/image_15122025_11_36_15_10673.jpg
/home/pi/Desktop/images/15122025/11/36/image_15122025_11_36_25_10267.jpg
/home/pi/Desktop/images/15122025/11/36/image_15122025_11_36_34_9593.jpg
/home/pi/Desktop/images/15122025/11/36/image_15122025_11_36_44_9799.jpg
/home/pi/Desktop/images/15122025/11/36/image_15122025_11_36_54_9614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399492760","1399492741","1399492738","1399492755","1399492758","1399492734"],"photo_ids_order":["1399492734","1399492738","1399492741","1399492755","1399492758","1399492760"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a60496e02ea1160e6ae8cea68a1c2395.jpg","text":"TemporaryFile(/tmp/multipartBody1106444503963494663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796523792,"filename":"image_15122025_11_36_54_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ea3c7038dbe1aeb33770ccf12e1c9901.jpg","text":"TemporaryFile(/tmp/multipartBody7534317526367031673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796523792,"filename":"image_15122025_11_36_25_10267.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/db137b661f2cd5902f0771beb17aad28.jpg","text":"TemporaryFile(/tmp/multipartBody4335570185726758264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796523792,"filename":"image_15122025_11_36_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/15/51f7ec9bd2661173e10b492e1581e3a4.jpg","text":"TemporaryFile(/tmp/multipartBody5556818133330444089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796523792,"filename":"image_15122025_11_36_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/15/a89670bee6c531885f012edf7f0abb4e.jpg","text":"TemporaryFile(/tmp/multipartBody5048951536377819964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796523792,"filename":"image_15122025_11_36_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/15/9545233b4c572bfaa84013a6baca879b.jpg","text":"TemporaryFile(/tmp/multipartBody4451804681826911142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796523792,"filename":"image_15122025_11_36_04_9577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399492741","file1":"1399492738","file0":"1399492734","file4":"1399492758","file5":"1399492760","file3":"1399492755"},"map_files_photo_id_array":[{"photo_id":"1399492760","filename":"file5"},{"photo_id":"1399492741","filename":"file2"},{"photo_id":"1399492758","filename":"file4"},{"photo_id":"1399492738","filename":"file1"},{"photo_id":"1399492734","filename":"file0"},{"photo_id":"1399492755","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399492760":["hashtag1","hashtag2"]},{"1399492741":["hashtag1","hashtag2"]},{"1399492738":["hashtag1","hashtag2"]},{"1399492755":["hashtag1","hashtag2"]},{"1399492758":["hashtag1","hashtag2"]},{"1399492734":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399492760, 1399492741, 1399492738, 1399492755, 1399492758, 1399492734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.801185131073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 12:02:02.991727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/37/image_15122025_11_37_05_10856.jpg', '/home/pi/Desktop/images/15122025/11/37/image_15122025_11_37_15_10140.jpg', '/home/pi/Desktop/images/15122025/11/37/image_15122025_11_37_25_9768.jpg', '/home/pi/Desktop/images/15122025/11/37/image_15122025_11_37_34_9708.jpg', '/home/pi/Desktop/images/15122025/11/37/image_15122025_11_37_44_9536.jpg', '/home/pi/Desktop/images/15122025/11/37/image_15122025_11_37_55_10678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/37/image_15122025_11_37_05_10856.jpg
/home/pi/Desktop/images/15122025/11/37/image_15122025_11_37_15_10140.jpg
/home/pi/Desktop/images/15122025/11/37/image_15122025_11_37_25_9768.jpg
/home/pi/Desktop/images/15122025/11/37/image_15122025_11_37_34_9708.jpg
/home/pi/Desktop/images/15122025/11/37/image_15122025_11_37_44_9536.jpg
/home/pi/Desktop/images/15122025/11/37/image_15122025_11_37_55_10678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399492766","1399492777","1399492762","1399492773","1399492785","1399492770"],"photo_ids_order":["1399492762","1399492766","1399492770","1399492773","1399492777","1399492785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6a4ee48c7e5426e8316996b6195c3bac.jpg","text":"TemporaryFile(/tmp/multipartBody7241371753359345328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796588143,"filename":"image_15122025_11_37_15_10140.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5b2aede2f53e6790e91c26ad8b8c69de.jpg","text":"TemporaryFile(/tmp/multipartBody6575172076283588110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796588143,"filename":"image_15122025_11_37_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/15/51a453aca78083dd2c9a9090e0b3453f.jpg","text":"TemporaryFile(/tmp/multipartBody2988974253891105825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796588143,"filename":"image_15122025_11_37_05_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/15/5775407f47586d5c70b76af7564f19d9.jpg","text":"TemporaryFile(/tmp/multipartBody7907088125770152718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796588143,"filename":"image_15122025_11_37_34_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c6b3f9a7cbee05ec18757748c5ba7bb9.jpg","text":"TemporaryFile(/tmp/multipartBody9049357551414899241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796588143,"filename":"image_15122025_11_37_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/15/ac7cd1c2b58fc3783e2f31d7cc47ff90.jpg","text":"TemporaryFile(/tmp/multipartBody6939022122440732723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796588143,"filename":"image_15122025_11_37_25_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399492770","file1":"1399492766","file0":"1399492762","file4":"1399492777","file5":"1399492785","file3":"1399492773"},"map_files_photo_id_array":[{"photo_id":"1399492785","filename":"file5"},{"photo_id":"1399492770","filename":"file2"},{"photo_id":"1399492777","filename":"file4"},{"photo_id":"1399492766","filename":"file1"},{"photo_id":"1399492762","filename":"file0"},{"photo_id":"1399492773","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399492766":["hashtag1","hashtag2"]},{"1399492777":["hashtag1","hashtag2"]},{"1399492762":["hashtag1","hashtag2"]},{"1399492773":["hashtag1","hashtag2"]},{"1399492785":["hashtag1","hashtag2"]},{"1399492770":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399492766, 1399492777, 1399492762, 1399492773, 1399492785, 1399492770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.4383020401001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 12:03:03.383951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/37/image_15122025_11_38_05_10282.jpg', '/home/pi/Desktop/images/15122025/11/38/image_15122025_11_38_14_9647.jpg', '/home/pi/Desktop/images/15122025/11/38/image_15122025_11_38_25_10338.jpg', '/home/pi/Desktop/images/15122025/11/38/image_15122025_11_38_34_9428.jpg', '/home/pi/Desktop/images/15122025/11/38/image_15122025_11_38_44_9636.jpg', '/home/pi/Desktop/images/15122025/11/38/image_15122025_11_38_55_10846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/37/image_15122025_11_38_05_10282.jpg
/home/pi/Desktop/images/15122025/11/38/image_15122025_11_38_14_9647.jpg
/home/pi/Desktop/images/15122025/11/38/image_15122025_11_38_25_10338.jpg
/home/pi/Desktop/images/15122025/11/38/image_15122025_11_38_34_9428.jpg
/home/pi/Desktop/images/15122025/11/38/image_15122025_11_38_44_9636.jpg
/home/pi/Desktop/images/15122025/11/38/image_15122025_11_38_55_10846.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399492914","1399492952","1399492876","1399492990","1399493029","1399492828"],"photo_ids_order":["1399492828","1399492876","1399492914","1399492952","1399492990","1399493029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/40fd4207e8e82269544c9d053fc9be6c.jpg","text":"TemporaryFile(/tmp/multipartBody8290051414662234584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796646223,"filename":"image_15122025_11_38_25_10338.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5ab33e01dd0e007be348b5c3a0b69742.jpg","text":"TemporaryFile(/tmp/multipartBody2235567616826701539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796646223,"filename":"image_15122025_11_38_34_9428.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1ef309c82e85fa64e85a8d0ae3126f5b.jpg","text":"TemporaryFile(/tmp/multipartBody3749898675848869446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796646223,"filename":"image_15122025_11_38_14_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5ab6d39d9b0403523d4c157270ad7b04.jpg","text":"TemporaryFile(/tmp/multipartBody8505518460880964864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796646223,"filename":"image_15122025_11_38_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/15/e752194637dce73894bcc6e96c2279a4.jpg","text":"TemporaryFile(/tmp/multipartBody2825709158554514731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796646223,"filename":"image_15122025_11_38_55_10846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f522b3d557266047c6e832cbb76768f6.jpg","text":"TemporaryFile(/tmp/multipartBody13196096729647293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796646223,"filename":"image_15122025_11_38_05_10282.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399492914","file1":"1399492876","file0":"1399492828","file4":"1399492990","file5":"1399493029","file3":"1399492952"},"map_files_photo_id_array":[{"photo_id":"1399493029","filename":"file5"},{"photo_id":"1399492914","filename":"file2"},{"photo_id":"1399492990","filename":"file4"},{"photo_id":"1399492876","filename":"file1"},{"photo_id":"1399492828","filename":"file0"},{"photo_id":"1399492952","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399492914":["hashtag1","hashtag2"]},{"1399492952":["hashtag1","hashtag2"]},{"1399492876":["hashtag1","hashtag2"]},{"1399492990":["hashtag1","hashtag2"]},{"1399493029":["hashtag1","hashtag2"]},{"1399492828":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399492914, 1399492952, 1399492876, 1399492990, 1399493029, 1399492828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.9203724861145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 12:04:02.676160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/38/image_15122025_11_39_05_9987.jpg', '/home/pi/Desktop/images/15122025/11/39/image_15122025_11_39_14_9735.jpg', '/home/pi/Desktop/images/15122025/11/39/image_15122025_11_39_24_9766.jpg', '/home/pi/Desktop/images/15122025/11/39/image_15122025_11_39_34_9764.jpg', '/home/pi/Desktop/images/15122025/11/39/image_15122025_11_39_44_9907.jpg', '/home/pi/Desktop/images/15122025/11/39/image_15122025_11_39_55_10694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/38/image_15122025_11_39_05_9987.jpg
/home/pi/Desktop/images/15122025/11/39/image_15122025_11_39_14_9735.jpg
/home/pi/Desktop/images/15122025/11/39/image_15122025_11_39_24_9766.jpg
/home/pi/Desktop/images/15122025/11/39/image_15122025_11_39_34_9764.jpg
/home/pi/Desktop/images/15122025/11/39/image_15122025_11_39_44_9907.jpg
/home/pi/Desktop/images/15122025/11/39/image_15122025_11_39_55_10694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399493332","1399493331","1399493334","1399493328","1399493291","1399493325"],"photo_ids_order":["1399493291","1399493325","1399493328","1399493331","1399493332","1399493334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1a4bb3bfe8c725b09490b92ac533d9c0.jpg","text":"TemporaryFile(/tmp/multipartBody1192837935949785299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796703358,"filename":"image_15122025_11_39_44_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/15/d45f2065a5ccd0f748c854bc4b02f01b.jpg","text":"TemporaryFile(/tmp/multipartBody4707716748343138669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796703358,"filename":"image_15122025_11_39_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/15/a9071c68095431e1cc150f2f417d7a91.jpg","text":"TemporaryFile(/tmp/multipartBody6133790987825520300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796703358,"filename":"image_15122025_11_39_55_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/916330f32b164e125cf26e433d03e821.jpg","text":"TemporaryFile(/tmp/multipartBody8648035255419062016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796703358,"filename":"image_15122025_11_39_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/15/e27b453638b3dfe80f4139f857ca657e.jpg","text":"TemporaryFile(/tmp/multipartBody6083308998393779580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796703358,"filename":"image_15122025_11_39_05_9987.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f6f790e701ae2bccddb66e983d4bd898.jpg","text":"TemporaryFile(/tmp/multipartBody6039728904299461706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796703358,"filename":"image_15122025_11_39_14_9735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399493328","file1":"1399493325","file0":"1399493291","file4":"1399493332","file5":"1399493334","file3":"1399493331"},"map_files_photo_id_array":[{"photo_id":"1399493334","filename":"file5"},{"photo_id":"1399493328","filename":"file2"},{"photo_id":"1399493332","filename":"file4"},{"photo_id":"1399493325","filename":"file1"},{"photo_id":"1399493291","filename":"file0"},{"photo_id":"1399493331","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399493332":["hashtag1","hashtag2"]},{"1399493331":["hashtag1","hashtag2"]},{"1399493334":["hashtag1","hashtag2"]},{"1399493328":["hashtag1","hashtag2"]},{"1399493291":["hashtag1","hashtag2"]},{"1399493325":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399493332, 1399493331, 1399493334, 1399493328, 1399493291, 1399493325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19972848892212 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 12:04:42.100734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_07_3649.jpg', '/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_10_3056.jpg', '/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_13_2747.jpg', '/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_16_2681.jpg', '/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_19_3672.jpg', '/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_22_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_07_3649.jpg
/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_10_3056.jpg
/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_13_2747.jpg
/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_16_2681.jpg
/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_19_3672.jpg
/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_22_2677.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6287708282470703 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 12:05:02.977601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/40/image_15122025_11_40_15_10051.jpg', '/home/pi/Desktop/images/15122025/11/40/image_15122025_11_40_25_10737.jpg', '/home/pi/Desktop/images/15122025/11/40/image_15122025_11_40_35_9794.jpg', '/home/pi/Desktop/images/15122025/11/40/image_15122025_11_40_45_9609.jpg', '/home/pi/Desktop/images/15122025/11/40/image_15122025_11_40_55_10791.jpg', '/home/pi/Desktop/images/15122025/11/40/image_15122025_11_41_05_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/40/image_15122025_11_40_15_10051.jpg
/home/pi/Desktop/images/15122025/11/40/image_15122025_11_40_25_10737.jpg
/home/pi/Desktop/images/15122025/11/40/image_15122025_11_40_35_9794.jpg
/home/pi/Desktop/images/15122025/11/40/image_15122025_11_40_45_9609.jpg
/home/pi/Desktop/images/15122025/11/40/image_15122025_11_40_55_10791.jpg
/home/pi/Desktop/images/15122025/11/40/image_15122025_11_41_05_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":["1399493582","1399493534","1399493575","1399493578","1399493560","1399493580"],"photo_ids_order":["1399493534","1399493560","1399493575","1399493578","1399493580","1399493582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/91c2b19342657e0c9794ba31a689948d.jpg","text":"TemporaryFile(/tmp/multipartBody5449527081081887273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796763654,"filename":"image_15122025_11_41_05_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a06fc174be8ffc0b5c7173bf5da759d1.jpg","text":"TemporaryFile(/tmp/multipartBody2581174319976221009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796763654,"filename":"image_15122025_11_40_15_10051.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6aafc6a4b65feb81c25436c5bff949c0.jpg","text":"TemporaryFile(/tmp/multipartBody5969837660327612574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796763654,"filename":"image_15122025_11_40_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/15/168f19af51dffdc28b930783d0343159.jpg","text":"TemporaryFile(/tmp/multipartBody6967973205233788292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796763654,"filename":"image_15122025_11_40_45_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7680758656389085458e7d6ca11d3165.jpg","text":"TemporaryFile(/tmp/multipartBody5368470936320169085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796763654,"filename":"image_15122025_11_40_25_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0c9502edb1a37f0f7d935f7c85099fa3.jpg","text":"TemporaryFile(/tmp/multipartBody8605914477936682154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796763654,"filename":"image_15122025_11_40_55_10791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399493575","file1":"1399493560","file0":"1399493534","file4":"1399493580","file5":"1399493582","file3":"1399493578"},"map_files_photo_id_array":[{"photo_id":"1399493582","filename":"file5"},{"photo_id":"1399493575","filename":"file2"},{"photo_id":"1399493580","filename":"file4"},{"photo_id":"1399493560","filename":"file1"},{"photo_id":"1399493534","filename":"file0"},{"photo_id":"1399493578","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399493582":["hashtag1","hashtag2"]},{"1399493534":["hashtag1","hashtag2"]},{"1399493575":["hashtag1","hashtag2"]},{"1399493578":["hashtag1","hashtag2"]},{"1399493560":["hashtag1","hashtag2"]},{"1399493580":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399493582, 1399493534, 1399493575, 1399493578, 1399493560, 1399493580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.502105712890625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 12:05:42.209399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_07_3649.jpg', '/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_10_3056.jpg', '/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_13_2747.jpg', '/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_16_2681.jpg', '/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_19_3672.jpg', '/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_22_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_07_3649.jpg
/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_10_3056.jpg
/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_13_2747.jpg
/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_16_2681.jpg
/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_19_3672.jpg
/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_22_2677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399493584","1399493587","1399493586","1399493591","1399493585","1399493588"],"photo_ids_order":["1399493584","1399493585","1399493586","1399493587","1399493588","1399493591"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0d1d312f4bfe035f11ab6f5ebdc372b4.jpg","text":"TemporaryFile(/tmp/multipartBody8153977346508561573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796802826,"filename":"image_05112025_14_45_07_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/15/f3e94bd48d5aba49ca1ac3157ecca948.jpg","text":"TemporaryFile(/tmp/multipartBody6243843007710412736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796802826,"filename":"image_05112025_14_45_16_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/15/eb0d7a864f497a9ccc3a6b7b376a4e13.jpg","text":"TemporaryFile(/tmp/multipartBody5174845076628877843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796802826,"filename":"image_05112025_14_45_13_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/15/955c3ce2f36193be60e002d965196635.jpg","text":"TemporaryFile(/tmp/multipartBody6865395774912358571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796802826,"filename":"image_05112025_14_45_22_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/78ff36f16ccb35d4ea2f43fbdf5f7f81.jpg","text":"TemporaryFile(/tmp/multipartBody4173960622916768101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796802826,"filename":"image_05112025_14_45_10_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/15/8b30c69153bbe34596f45e5abc56d8a0.jpg","text":"TemporaryFile(/tmp/multipartBody8571891690725768604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796802826,"filename":"image_05112025_14_45_19_3672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399493586","file1":"1399493585","file0":"1399493584","file4":"1399493588","file5":"1399493591","file3":"1399493587"},"map_files_photo_id_array":[{"photo_id":"1399493591","filename":"file5"},{"photo_id":"1399493586","filename":"file2"},{"photo_id":"1399493588","filename":"file4"},{"photo_id":"1399493585","filename":"file1"},{"photo_id":"1399493584","filename":"file0"},{"photo_id":"1399493587","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399493584":["hashtag1","hashtag2"]},{"1399493587":["hashtag1","hashtag2"]},{"1399493586":["hashtag1","hashtag2"]},{"1399493591":["hashtag1","hashtag2"]},{"1399493585":["hashtag1","hashtag2"]},{"1399493588":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399493584, 1399493587, 1399493586, 1399493591, 1399493585, 1399493588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.751500368118286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 12:06:32.613974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 12:06:42.441848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_25_2675.jpg', '/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_27_2732.jpg', '/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_31_3609.jpg', '/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_34_2606.jpg', '/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_36_2830.jpg', '/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_40_3690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_25_2675.jpg
/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_27_2732.jpg
/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_31_3609.jpg
/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_34_2606.jpg
/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_36_2830.jpg
/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_40_3690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399494054","1399494810","1399494698","1399494347","1399494179","1399494509"],"photo_ids_order":["1399494054","1399494179","1399494347","1399494509","1399494698","1399494810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/106a8cab96162fbe0e7bf7b27b675956.jpg","text":"TemporaryFile(/tmp/multipartBody9120138383169206271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796863151,"filename":"image_05112025_14_45_25_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/15/c9e000a1407d8a8adb0da141c46daba4.jpg","text":"TemporaryFile(/tmp/multipartBody7900513535019697019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796863151,"filename":"image_05112025_14_45_40_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/15/a809d1aca3e6b708cd94078b808a3338.jpg","text":"TemporaryFile(/tmp/multipartBody6485425834216284588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796863151,"filename":"image_05112025_14_45_36_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/15/b805a9c60932971f1eda5fb2b79b8383.jpg","text":"TemporaryFile(/tmp/multipartBody4771530914261874440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796863151,"filename":"image_05112025_14_45_31_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/37f9d2794bdd47c0b7a4df7b6211596a.jpg","text":"TemporaryFile(/tmp/multipartBody7409350060627141883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796863151,"filename":"image_05112025_14_45_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/15/aa92b28b6c34974d9d81f55e594ac808.jpg","text":"TemporaryFile(/tmp/multipartBody4682999504682082960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796863151,"filename":"image_05112025_14_45_34_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399494347","file1":"1399494179","file0":"1399494054","file4":"1399494698","file5":"1399494810","file3":"1399494509"},"map_files_photo_id_array":[{"photo_id":"1399494810","filename":"file5"},{"photo_id":"1399494347","filename":"file2"},{"photo_id":"1399494698","filename":"file4"},{"photo_id":"1399494179","filename":"file1"},{"photo_id":"1399494054","filename":"file0"},{"photo_id":"1399494509","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399494054":["hashtag1","hashtag2"]},{"1399494810":["hashtag1","hashtag2"]},{"1399494698":["hashtag1","hashtag2"]},{"1399494347":["hashtag1","hashtag2"]},{"1399494179":["hashtag1","hashtag2"]},{"1399494509":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399494054, 1399494810, 1399494698, 1399494347, 1399494179, 1399494509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.75386881828308 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 12:07:32.668984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 12:07:42.638185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_43_2618.jpg', '/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_45_2589.jpg', '/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_49_3631.jpg', '/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_51_2602.jpg', '/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_55_3519.jpg', '/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_58_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_43_2618.jpg
/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_45_2589.jpg
/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_49_3631.jpg
/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_51_2602.jpg
/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_55_3519.jpg
/home/pi/Desktop/images/05112025/14/45/image_05112025_14_45_58_2670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399495296","1399495596","1399495392","1399495158","1399495520","1399495588"],"photo_ids_order":["1399495158","1399495296","1399495392","1399495520","1399495588","1399495596"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f70086c8d3212ec3b0a491878a02bd19.jpg","text":"TemporaryFile(/tmp/multipartBody6194699897934954739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796923361,"filename":"image_05112025_14_45_45_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/15/0974a588fcbe7dd9ede2a60db13892a3.jpg","text":"TemporaryFile(/tmp/multipartBody6988510452026506135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796923361,"filename":"image_05112025_14_45_58_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/15/7775f4c520a6f02114288ce184d07f01.jpg","text":"TemporaryFile(/tmp/multipartBody7587164000842404985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796923361,"filename":"image_05112025_14_45_49_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/15/353188eb3ff4664c2966b9304e2ed5cf.jpg","text":"TemporaryFile(/tmp/multipartBody86348010773233065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796923361,"filename":"image_05112025_14_45_43_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/15/43651167c496ca416d55689b463c75cc.jpg","text":"TemporaryFile(/tmp/multipartBody4366853823650889202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796923361,"filename":"image_05112025_14_45_51_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/15/749de8ffa8b822670ae30762a2c46f88.jpg","text":"TemporaryFile(/tmp/multipartBody2913416139428107149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796923361,"filename":"image_05112025_14_45_55_3519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399495392","file1":"1399495296","file0":"1399495158","file4":"1399495588","file5":"1399495596","file3":"1399495520"},"map_files_photo_id_array":[{"photo_id":"1399495596","filename":"file5"},{"photo_id":"1399495392","filename":"file2"},{"photo_id":"1399495588","filename":"file4"},{"photo_id":"1399495296","filename":"file1"},{"photo_id":"1399495158","filename":"file0"},{"photo_id":"1399495520","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399495296":["hashtag1","hashtag2"]},{"1399495596":["hashtag1","hashtag2"]},{"1399495392":["hashtag1","hashtag2"]},{"1399495158":["hashtag1","hashtag2"]},{"1399495520":["hashtag1","hashtag2"]},{"1399495588":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399495296, 1399495596, 1399495392, 1399495158, 1399495520, 1399495588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.072853803634644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 12:08:31.870870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 12:08:41.933511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/45/image_05112025_14_46_00_2658.jpg', '/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_04_3520.jpg', '/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_06_2629.jpg', '/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_10_3584.jpg', '/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_13_2739.jpg', '/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_15_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/45/image_05112025_14_46_00_2658.jpg
/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_04_3520.jpg
/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_06_2629.jpg
/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_10_3584.jpg
/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_13_2739.jpg
/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_15_2678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399496410","1399496388","1399496212","1399496097","1399496343","1399496363"],"photo_ids_order":["1399496097","1399496212","1399496343","1399496363","1399496388","1399496410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a6057cbfe2b0f2fb71d8f71578628c33.jpg","text":"TemporaryFile(/tmp/multipartBody4464590294825053261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796982681,"filename":"image_05112025_14_46_15_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6cb404875505a0062d3b2587ee9b6088.jpg","text":"TemporaryFile(/tmp/multipartBody3894612268491024384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796982681,"filename":"image_05112025_14_46_13_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/15/a2e9eb926a80b14baca2096e7b721384.jpg","text":"TemporaryFile(/tmp/multipartBody2797780549825538039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796982681,"filename":"image_05112025_14_46_04_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/15/9aa3a6697990afaefd4082a621e0084e.jpg","text":"TemporaryFile(/tmp/multipartBody8076682928404832795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796982681,"filename":"image_05112025_14_46_00_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/630c9eb06dd7364d1914c9b29c8f8fe8.jpg","text":"TemporaryFile(/tmp/multipartBody4415588960603442501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796982681,"filename":"image_05112025_14_46_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/15/6a8d171ab22e311dc33bd99f21a345d6.jpg","text":"TemporaryFile(/tmp/multipartBody1872999495174057504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765796982681,"filename":"image_05112025_14_46_10_3584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399496343","file1":"1399496212","file0":"1399496097","file4":"1399496388","file5":"1399496410","file3":"1399496363"},"map_files_photo_id_array":[{"photo_id":"1399496410","filename":"file5"},{"photo_id":"1399496343","filename":"file2"},{"photo_id":"1399496388","filename":"file4"},{"photo_id":"1399496212","filename":"file1"},{"photo_id":"1399496097","filename":"file0"},{"photo_id":"1399496363","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399496410":["hashtag1","hashtag2"]},{"1399496388":["hashtag1","hashtag2"]},{"1399496212":["hashtag1","hashtag2"]},{"1399496097":["hashtag1","hashtag2"]},{"1399496343":["hashtag1","hashtag2"]},{"1399496363":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399496410, 1399496388, 1399496212, 1399496097, 1399496343, 1399496363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.6417932510376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 12:09:22.183720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/41/image_15122025_11_41_15_9680.jpg', '/home/pi/Desktop/images/15122025/11/41/image_15122025_11_41_25_9889.jpg', '/home/pi/Desktop/images/15122025/11/41/image_15122025_11_41_35_10644.jpg', '/home/pi/Desktop/images/15122025/11/41/image_15122025_11_41_45_9687.jpg', '/home/pi/Desktop/images/15122025/11/41/image_15122025_11_41_55_9688.jpg', '/home/pi/Desktop/images/15122025/11/41/image_15122025_11_42_05_10720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/41/image_15122025_11_41_15_9680.jpg
/home/pi/Desktop/images/15122025/11/41/image_15122025_11_41_25_9889.jpg
/home/pi/Desktop/images/15122025/11/41/image_15122025_11_41_35_10644.jpg
/home/pi/Desktop/images/15122025/11/41/image_15122025_11_41_45_9687.jpg
/home/pi/Desktop/images/15122025/11/41/image_15122025_11_41_55_9688.jpg
/home/pi/Desktop/images/15122025/11/41/image_15122025_11_42_05_10720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399496419","1399496421","1399496415","1399496420","1399496423","1399496417"],"photo_ids_order":["1399496415","1399496417","1399496419","1399496420","1399496421","1399496423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1c3c3c3ba7b91c4510a7589fef3f668e.jpg","text":"TemporaryFile(/tmp/multipartBody2759321199549163503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797022853,"filename":"image_15122025_11_41_35_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f87c472f8d802ee2586b7d19af403a06.jpg","text":"TemporaryFile(/tmp/multipartBody3987509090836630807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797022853,"filename":"image_15122025_11_41_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/15/c94ed68b2d554d70636b7213d9c3f11a.jpg","text":"TemporaryFile(/tmp/multipartBody1241303143728476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797022853,"filename":"image_15122025_11_41_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/15/e866b56dae5301060c8efab929d57a18.jpg","text":"TemporaryFile(/tmp/multipartBody7433214930128746007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797022853,"filename":"image_15122025_11_41_45_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6aaef318d48117806d8b754f8e415d38.jpg","text":"TemporaryFile(/tmp/multipartBody8981679216396526986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797022853,"filename":"image_15122025_11_42_05_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0c57ec8ff550a721df2b95ce9d0c0ef8.jpg","text":"TemporaryFile(/tmp/multipartBody6057732396303078966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797022853,"filename":"image_15122025_11_41_25_9889.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399496419","file1":"1399496417","file0":"1399496415","file4":"1399496421","file5":"1399496423","file3":"1399496420"},"map_files_photo_id_array":[{"photo_id":"1399496423","filename":"file5"},{"photo_id":"1399496419","filename":"file2"},{"photo_id":"1399496421","filename":"file4"},{"photo_id":"1399496417","filename":"file1"},{"photo_id":"1399496415","filename":"file0"},{"photo_id":"1399496420","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399496419":["hashtag1","hashtag2"]},{"1399496421":["hashtag1","hashtag2"]},{"1399496415":["hashtag1","hashtag2"]},{"1399496420":["hashtag1","hashtag2"]},{"1399496423":["hashtag1","hashtag2"]},{"1399496417":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399496419, 1399496421, 1399496415, 1399496420, 1399496423, 1399496417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78995990753174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 12:10:02.906432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/42/image_15122025_11_42_15_9680.jpg', '/home/pi/Desktop/images/15122025/11/42/image_15122025_11_42_25_9652.jpg', '/home/pi/Desktop/images/15122025/11/42/image_15122025_11_42_35_10572.jpg', '/home/pi/Desktop/images/15122025/11/42/image_15122025_11_42_45_9736.jpg', '/home/pi/Desktop/images/15122025/11/42/image_15122025_11_42_55_9619.jpg', '/home/pi/Desktop/images/15122025/11/42/image_15122025_11_43_05_10009.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/42/image_15122025_11_42_15_9680.jpg
/home/pi/Desktop/images/15122025/11/42/image_15122025_11_42_25_9652.jpg
/home/pi/Desktop/images/15122025/11/42/image_15122025_11_42_35_10572.jpg
/home/pi/Desktop/images/15122025/11/42/image_15122025_11_42_45_9736.jpg
/home/pi/Desktop/images/15122025/11/42/image_15122025_11_42_55_9619.jpg
/home/pi/Desktop/images/15122025/11/42/image_15122025_11_43_05_10009.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.581223726272583 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 12:10:12.324495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 12:10:22.396538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/42/image_15122025_11_42_15_9680.jpg', '/home/pi/Desktop/images/15122025/11/42/image_15122025_11_42_25_9652.jpg', '/home/pi/Desktop/images/15122025/11/42/image_15122025_11_42_35_10572.jpg', '/home/pi/Desktop/images/15122025/11/42/image_15122025_11_42_45_9736.jpg', '/home/pi/Desktop/images/15122025/11/42/image_15122025_11_42_55_9619.jpg', '/home/pi/Desktop/images/15122025/11/42/image_15122025_11_43_05_10009.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/42/image_15122025_11_42_15_9680.jpg
/home/pi/Desktop/images/15122025/11/42/image_15122025_11_42_25_9652.jpg
/home/pi/Desktop/images/15122025/11/42/image_15122025_11_42_35_10572.jpg
/home/pi/Desktop/images/15122025/11/42/image_15122025_11_42_45_9736.jpg
/home/pi/Desktop/images/15122025/11/42/image_15122025_11_42_55_9619.jpg
/home/pi/Desktop/images/15122025/11/42/image_15122025_11_43_05_10009.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399496448","1399496447","1399496441","1399496444","1399496452","1399496449"],"photo_ids_order":["1399496441","1399496444","1399496447","1399496448","1399496449","1399496452"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/038ae47200a4fe6d2f00e132938ef880.jpg","text":"TemporaryFile(/tmp/multipartBody7675149835279676119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797083014,"filename":"image_15122025_11_42_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/15/61f87ca6138bdbe00cb2b5a285102aca.jpg","text":"TemporaryFile(/tmp/multipartBody4618236117535650905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797083014,"filename":"image_15122025_11_42_35_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a3f44f328f9e2ab8f976b5ec75093f51.jpg","text":"TemporaryFile(/tmp/multipartBody5976239943559873622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797083014,"filename":"image_15122025_11_42_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/15/31f02b1f8e23c95b44e80728ccec1c53.jpg","text":"TemporaryFile(/tmp/multipartBody1177246118964435723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797083014,"filename":"image_15122025_11_42_25_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/17b9e0f3e9a898bba3c6d356339978f6.jpg","text":"TemporaryFile(/tmp/multipartBody3765146091760778670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797083014,"filename":"image_15122025_11_43_05_10009.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f20c38676ff20b74f954100709462d9c.jpg","text":"TemporaryFile(/tmp/multipartBody5838034539897746964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797083014,"filename":"image_15122025_11_42_55_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399496447","file1":"1399496444","file0":"1399496441","file4":"1399496449","file5":"1399496452","file3":"1399496448"},"map_files_photo_id_array":[{"photo_id":"1399496452","filename":"file5"},{"photo_id":"1399496447","filename":"file2"},{"photo_id":"1399496449","filename":"file4"},{"photo_id":"1399496444","filename":"file1"},{"photo_id":"1399496441","filename":"file0"},{"photo_id":"1399496448","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399496448":["hashtag1","hashtag2"]},{"1399496447":["hashtag1","hashtag2"]},{"1399496441":["hashtag1","hashtag2"]},{"1399496444":["hashtag1","hashtag2"]},{"1399496452":["hashtag1","hashtag2"]},{"1399496449":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399496448, 1399496447, 1399496441, 1399496444, 1399496452, 1399496449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.990381717681885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 12:11:03.367128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/43/image_15122025_11_43_15_10843.jpg', '/home/pi/Desktop/images/15122025/11/43/image_15122025_11_43_25_9639.jpg', '/home/pi/Desktop/images/15122025/11/43/image_15122025_11_43_35_9720.jpg', '/home/pi/Desktop/images/15122025/11/43/image_15122025_11_43_45_9783.jpg', '/home/pi/Desktop/images/15122025/11/43/image_15122025_11_43_55_10837.jpg', '/home/pi/Desktop/images/15122025/11/43/image_15122025_11_44_05_9882.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/43/image_15122025_11_43_15_10843.jpg
/home/pi/Desktop/images/15122025/11/43/image_15122025_11_43_25_9639.jpg
/home/pi/Desktop/images/15122025/11/43/image_15122025_11_43_35_9720.jpg
/home/pi/Desktop/images/15122025/11/43/image_15122025_11_43_45_9783.jpg
/home/pi/Desktop/images/15122025/11/43/image_15122025_11_43_55_10837.jpg
/home/pi/Desktop/images/15122025/11/43/image_15122025_11_44_05_9882.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5705418586730957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 12:11:12.715521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 12:11:22.821604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/43/image_15122025_11_43_15_10843.jpg', '/home/pi/Desktop/images/15122025/11/43/image_15122025_11_43_25_9639.jpg', '/home/pi/Desktop/images/15122025/11/43/image_15122025_11_43_35_9720.jpg', '/home/pi/Desktop/images/15122025/11/43/image_15122025_11_43_45_9783.jpg', '/home/pi/Desktop/images/15122025/11/43/image_15122025_11_43_55_10837.jpg', '/home/pi/Desktop/images/15122025/11/43/image_15122025_11_44_05_9882.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/43/image_15122025_11_43_15_10843.jpg
/home/pi/Desktop/images/15122025/11/43/image_15122025_11_43_25_9639.jpg
/home/pi/Desktop/images/15122025/11/43/image_15122025_11_43_35_9720.jpg
/home/pi/Desktop/images/15122025/11/43/image_15122025_11_43_45_9783.jpg
/home/pi/Desktop/images/15122025/11/43/image_15122025_11_43_55_10837.jpg
/home/pi/Desktop/images/15122025/11/43/image_15122025_11_44_05_9882.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399496506","1399496517","1399496494","1399496488","1399496512","1399496515"],"photo_ids_order":["1399496488","1399496494","1399496506","1399496512","1399496515","1399496517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c960f6572f827c59a20106670efa3cd7.jpg","text":"TemporaryFile(/tmp/multipartBody3190333859150788472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797143476,"filename":"image_15122025_11_43_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/15/3d15645be78b87e941e12357effff16b.jpg","text":"TemporaryFile(/tmp/multipartBody576066441264858425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797143476,"filename":"image_15122025_11_44_05_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/81e513d5e00c41f6f9f0c0286f717502.jpg","text":"TemporaryFile(/tmp/multipartBody368530314953426208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797143476,"filename":"image_15122025_11_43_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/15/04f68366b220b5c3fd51737bc761ba57.jpg","text":"TemporaryFile(/tmp/multipartBody9024092909025720893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797143476,"filename":"image_15122025_11_43_15_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/15/9ce6891fcac5712c05f14fda8bd52738.jpg","text":"TemporaryFile(/tmp/multipartBody6035937370348546689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797143476,"filename":"image_15122025_11_43_45_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/15/6dcb1f764bc71fab0b5f768fa37ea860.jpg","text":"TemporaryFile(/tmp/multipartBody8708549691734256884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797143476,"filename":"image_15122025_11_43_55_10837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399496506","file1":"1399496494","file0":"1399496488","file4":"1399496515","file5":"1399496517","file3":"1399496512"},"map_files_photo_id_array":[{"photo_id":"1399496517","filename":"file5"},{"photo_id":"1399496506","filename":"file2"},{"photo_id":"1399496515","filename":"file4"},{"photo_id":"1399496494","filename":"file1"},{"photo_id":"1399496488","filename":"file0"},{"photo_id":"1399496512","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399496506":["hashtag1","hashtag2"]},{"1399496517":["hashtag1","hashtag2"]},{"1399496494":["hashtag1","hashtag2"]},{"1399496488":["hashtag1","hashtag2"]},{"1399496512":["hashtag1","hashtag2"]},{"1399496515":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399496506, 1399496517, 1399496494, 1399496488, 1399496512, 1399496515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.65641498565674 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-15 12:12:11.876693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 12:12:21.963238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/44/image_15122025_11_44_15_9581.jpg', '/home/pi/Desktop/images/15122025/11/44/image_15122025_11_44_25_9792.jpg', '/home/pi/Desktop/images/15122025/11/44/image_15122025_11_44_35_9894.jpg', '/home/pi/Desktop/images/15122025/11/44/image_15122025_11_44_45_10808.jpg', '/home/pi/Desktop/images/15122025/11/44/image_15122025_11_44_55_9666.jpg', '/home/pi/Desktop/images/15122025/11/45/image_15122025_11_45_14_10053.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/44/image_15122025_11_44_15_9581.jpg
/home/pi/Desktop/images/15122025/11/44/image_15122025_11_44_25_9792.jpg
/home/pi/Desktop/images/15122025/11/44/image_15122025_11_44_35_9894.jpg
/home/pi/Desktop/images/15122025/11/44/image_15122025_11_44_45_10808.jpg
/home/pi/Desktop/images/15122025/11/44/image_15122025_11_44_55_9666.jpg
/home/pi/Desktop/images/15122025/11/45/image_15122025_11_45_14_10053.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399496523","1399496532","1399496529","1399496525","1399496527","1399496521"],"photo_ids_order":["1399496521","1399496523","1399496525","1399496527","1399496529","1399496532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4128c5f2bc6fa7e277e7629091d4ac5a.jpg","text":"TemporaryFile(/tmp/multipartBody5630937217065235573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797202571,"filename":"image_15122025_11_44_25_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/05dfd91c13d86f5331c30be585de3554.jpg","text":"TemporaryFile(/tmp/multipartBody7524633553010743403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797202571,"filename":"image_15122025_11_45_14_10053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5ddea4c67d12bc4c113004a4f1cb654b.jpg","text":"TemporaryFile(/tmp/multipartBody3263970317378160832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797202571,"filename":"image_15122025_11_44_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/15/e1f10432c3a9c7cacc1d6e91e3ef705b.jpg","text":"TemporaryFile(/tmp/multipartBody265891588455748462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797202571,"filename":"image_15122025_11_44_35_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/15/2f57fee655e6aa2b73bd17421e351a72.jpg","text":"TemporaryFile(/tmp/multipartBody8053657537729156963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797202571,"filename":"image_15122025_11_44_45_10808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e19466036b302b234de03577a40e1061.jpg","text":"TemporaryFile(/tmp/multipartBody5748584114005743667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797202571,"filename":"image_15122025_11_44_15_9581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399496525","file1":"1399496523","file0":"1399496521","file4":"1399496529","file5":"1399496532","file3":"1399496527"},"map_files_photo_id_array":[{"photo_id":"1399496532","filename":"file5"},{"photo_id":"1399496525","filename":"file2"},{"photo_id":"1399496529","filename":"file4"},{"photo_id":"1399496523","filename":"file1"},{"photo_id":"1399496521","filename":"file0"},{"photo_id":"1399496527","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399496523":["hashtag1","hashtag2"]},{"1399496532":["hashtag1","hashtag2"]},{"1399496529":["hashtag1","hashtag2"]},{"1399496525":["hashtag1","hashtag2"]},{"1399496527":["hashtag1","hashtag2"]},{"1399496521":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399496523, 1399496532, 1399496529, 1399496525, 1399496527, 1399496521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82620406150818 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 12:13:02.674955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/45/image_15122025_11_45_25_10735.jpg', '/home/pi/Desktop/images/15122025/11/45/image_15122025_11_45_35_9650.jpg', '/home/pi/Desktop/images/15122025/11/45/image_15122025_11_45_44_9576.jpg', '/home/pi/Desktop/images/15122025/11/45/image_15122025_11_45_55_10586.jpg', '/home/pi/Desktop/images/15122025/11/45/image_15122025_11_46_05_9722.jpg', '/home/pi/Desktop/images/15122025/11/46/image_15122025_11_46_15_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/45/image_15122025_11_45_25_10735.jpg
/home/pi/Desktop/images/15122025/11/45/image_15122025_11_45_35_9650.jpg
/home/pi/Desktop/images/15122025/11/45/image_15122025_11_45_44_9576.jpg
/home/pi/Desktop/images/15122025/11/45/image_15122025_11_45_55_10586.jpg
/home/pi/Desktop/images/15122025/11/45/image_15122025_11_46_05_9722.jpg
/home/pi/Desktop/images/15122025/11/46/image_15122025_11_46_15_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":["1399496541","1399496544","1399496547","1399496543","1399496545","1399496542"],"photo_ids_order":["1399496541","1399496542","1399496543","1399496544","1399496545","1399496547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/db228a59c9bde060142ce89ee75265b4.jpg","text":"TemporaryFile(/tmp/multipartBody8417747216935895092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797243352,"filename":"image_15122025_11_45_25_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/02485637d99ddee7122a61973c3c6eaa.jpg","text":"TemporaryFile(/tmp/multipartBody1198919660944884592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797243352,"filename":"image_15122025_11_45_55_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ba876f6ac49ed81ad2bdb8f3d62d0c5e.jpg","text":"TemporaryFile(/tmp/multipartBody4610178661197575398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797243352,"filename":"image_15122025_11_46_15_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/30409c09facc5912d82e17c36af1ed49.jpg","text":"TemporaryFile(/tmp/multipartBody1906910904370712512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797243352,"filename":"image_15122025_11_45_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/15/349171c19d17ecbf4b845cf68a269755.jpg","text":"TemporaryFile(/tmp/multipartBody8389644633846918778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797243352,"filename":"image_15122025_11_46_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/15/a8c662cab7cf670b40b2f5b4bfcf1a6b.jpg","text":"TemporaryFile(/tmp/multipartBody38691581071193091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797243352,"filename":"image_15122025_11_45_35_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399496543","file1":"1399496542","file0":"1399496541","file4":"1399496545","file5":"1399496547","file3":"1399496544"},"map_files_photo_id_array":[{"photo_id":"1399496547","filename":"file5"},{"photo_id":"1399496543","filename":"file2"},{"photo_id":"1399496545","filename":"file4"},{"photo_id":"1399496542","filename":"file1"},{"photo_id":"1399496541","filename":"file0"},{"photo_id":"1399496544","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399496541":["hashtag1","hashtag2"]},{"1399496544":["hashtag1","hashtag2"]},{"1399496547":["hashtag1","hashtag2"]},{"1399496543":["hashtag1","hashtag2"]},{"1399496545":["hashtag1","hashtag2"]},{"1399496542":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399496541, 1399496544, 1399496547, 1399496543, 1399496545, 1399496542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64590096473694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 12:13:42.126641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_19_3673.jpg', '/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_22_2753.jpg', '/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_25_2633.jpg', '/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_27_2682.jpg', '/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_31_3623.jpg', '/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_33_2553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_19_3673.jpg
/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_22_2753.jpg
/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_25_2633.jpg
/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_27_2682.jpg
/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_31_3623.jpg
/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_33_2553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399496562","1399496556","1399496564","1399496555","1399496551","1399496554"],"photo_ids_order":["1399496551","1399496554","1399496555","1399496556","1399496562","1399496564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/45d174c269e316d7fe9633ab2869bdd4.jpg","text":"TemporaryFile(/tmp/multipartBody8728969459856091802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797282848,"filename":"image_05112025_14_46_31_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/15/8f341cf107dbe0f2f7fa2e0ef9e48a46.jpg","text":"TemporaryFile(/tmp/multipartBody6814191896384593839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797282848,"filename":"image_05112025_14_46_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/15/1b6475c079c24fd4eea1267fb6e3324f.jpg","text":"TemporaryFile(/tmp/multipartBody6945071008231310823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797282848,"filename":"image_05112025_14_46_33_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/15/986bb3f46003a063d3c0b89fda0ab4e6.jpg","text":"TemporaryFile(/tmp/multipartBody2368880299326739697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797282848,"filename":"image_05112025_14_46_25_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/15/3947f072d7212f48cbcdea57f1dae55c.jpg","text":"TemporaryFile(/tmp/multipartBody7923794976180898010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797282848,"filename":"image_05112025_14_46_19_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/141c0d47daf70c57462f341a058eaa00.jpg","text":"TemporaryFile(/tmp/multipartBody4848986770299664000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797282848,"filename":"image_05112025_14_46_22_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399496555","file1":"1399496554","file0":"1399496551","file4":"1399496562","file5":"1399496564","file3":"1399496556"},"map_files_photo_id_array":[{"photo_id":"1399496564","filename":"file5"},{"photo_id":"1399496555","filename":"file2"},{"photo_id":"1399496562","filename":"file4"},{"photo_id":"1399496554","filename":"file1"},{"photo_id":"1399496551","filename":"file0"},{"photo_id":"1399496556","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399496562":["hashtag1","hashtag2"]},{"1399496556":["hashtag1","hashtag2"]},{"1399496564":["hashtag1","hashtag2"]},{"1399496555":["hashtag1","hashtag2"]},{"1399496551":["hashtag1","hashtag2"]},{"1399496554":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399496562, 1399496556, 1399496564, 1399496555, 1399496551, 1399496554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18613529205322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 12:14:22.469271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/46/image_15122025_11_46_25_9541.jpg', '/home/pi/Desktop/images/15122025/11/46/image_15122025_11_46_34_9713.jpg', '/home/pi/Desktop/images/15122025/11/46/image_15122025_11_46_45_10705.jpg', '/home/pi/Desktop/images/15122025/11/46/image_15122025_11_46_55_9701.jpg', '/home/pi/Desktop/images/15122025/11/46/image_15122025_11_47_05_9779.jpg', '/home/pi/Desktop/images/15122025/11/47/image_15122025_11_47_14_9812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/46/image_15122025_11_46_25_9541.jpg
/home/pi/Desktop/images/15122025/11/46/image_15122025_11_46_34_9713.jpg
/home/pi/Desktop/images/15122025/11/46/image_15122025_11_46_45_10705.jpg
/home/pi/Desktop/images/15122025/11/46/image_15122025_11_46_55_9701.jpg
/home/pi/Desktop/images/15122025/11/46/image_15122025_11_47_05_9779.jpg
/home/pi/Desktop/images/15122025/11/47/image_15122025_11_47_14_9812.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399496586","1399496571","1399496580","1399496568","1399496573","1399496566"],"photo_ids_order":["1399496566","1399496568","1399496571","1399496573","1399496580","1399496586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c21b9ae079b67a0961fe9bc0d7e939d2.jpg","text":"TemporaryFile(/tmp/multipartBody5728663799690695872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797323091,"filename":"image_15122025_11_47_14_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/565f1196436a089b7e25b2018ac149d1.jpg","text":"TemporaryFile(/tmp/multipartBody4465799767759321765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797323091,"filename":"image_15122025_11_46_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/15/7ddbe721aca111fcc9998264768715b3.jpg","text":"TemporaryFile(/tmp/multipartBody970655773967631187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797323091,"filename":"image_15122025_11_47_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/15/bd659e5a0d34bfa0170d92f776669de9.jpg","text":"TemporaryFile(/tmp/multipartBody4357840483149838696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797323091,"filename":"image_15122025_11_46_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/15/d50a4ecc79631a48cd380e025af2664e.jpg","text":"TemporaryFile(/tmp/multipartBody4406949210670287484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797323091,"filename":"image_15122025_11_46_55_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/deeed57dabff0f658c95e177dd9e1065.jpg","text":"TemporaryFile(/tmp/multipartBody4838661440798734589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797323091,"filename":"image_15122025_11_46_25_9541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399496571","file1":"1399496568","file0":"1399496566","file4":"1399496580","file5":"1399496586","file3":"1399496573"},"map_files_photo_id_array":[{"photo_id":"1399496586","filename":"file5"},{"photo_id":"1399496571","filename":"file2"},{"photo_id":"1399496580","filename":"file4"},{"photo_id":"1399496568","filename":"file1"},{"photo_id":"1399496566","filename":"file0"},{"photo_id":"1399496573","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399496586":["hashtag1","hashtag2"]},{"1399496571":["hashtag1","hashtag2"]},{"1399496580":["hashtag1","hashtag2"]},{"1399496568":["hashtag1","hashtag2"]},{"1399496573":["hashtag1","hashtag2"]},{"1399496566":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399496586, 1399496571, 1399496580, 1399496568, 1399496573, 1399496566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.93965673446655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 12:15:03.366552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/47/image_15122025_11_47_25_10720.jpg', '/home/pi/Desktop/images/15122025/11/47/image_15122025_11_47_35_9843.jpg', '/home/pi/Desktop/images/15122025/11/47/image_15122025_11_47_45_9788.jpg', '/home/pi/Desktop/images/15122025/11/47/image_15122025_11_47_55_9885.jpg', '/home/pi/Desktop/images/15122025/11/47/image_15122025_11_48_04_9635.jpg', '/home/pi/Desktop/images/15122025/11/48/image_15122025_11_48_15_10872.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/47/image_15122025_11_47_25_10720.jpg
/home/pi/Desktop/images/15122025/11/47/image_15122025_11_47_35_9843.jpg
/home/pi/Desktop/images/15122025/11/47/image_15122025_11_47_45_9788.jpg
/home/pi/Desktop/images/15122025/11/47/image_15122025_11_47_55_9885.jpg
/home/pi/Desktop/images/15122025/11/47/image_15122025_11_48_04_9635.jpg
/home/pi/Desktop/images/15122025/11/48/image_15122025_11_48_15_10872.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399496602","1399496597","1399496600","1399496596","1399496599","1399496598"],"photo_ids_order":["1399496596","1399496597","1399496598","1399496599","1399496600","1399496602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2be8ba54a15a14da600643c02d1984c3.jpg","text":"TemporaryFile(/tmp/multipartBody7245992424492707920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797364045,"filename":"image_15122025_11_48_15_10872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4d8e60582e68abb36f174e9b239fcc92.jpg","text":"TemporaryFile(/tmp/multipartBody8108885079030364772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797364045,"filename":"image_15122025_11_47_35_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/40a7f5bf1b0abd8fdeb89d275ec3338a.jpg","text":"TemporaryFile(/tmp/multipartBody5088952323795018966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797364045,"filename":"image_15122025_11_48_04_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/15/e650cb6bedab3f8ff48ae1d5d3bbec60.jpg","text":"TemporaryFile(/tmp/multipartBody8229158668552520292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797364045,"filename":"image_15122025_11_47_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/15/bcae6614b7d21b15f8d8bea63411d9d1.jpg","text":"TemporaryFile(/tmp/multipartBody6388733322891435699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797364045,"filename":"image_15122025_11_47_55_9885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b4e466b0abe030176b38e05160f212c0.jpg","text":"TemporaryFile(/tmp/multipartBody1440619808135273452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797364045,"filename":"image_15122025_11_47_45_9788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399496598","file1":"1399496597","file0":"1399496596","file4":"1399496600","file5":"1399496602","file3":"1399496599"},"map_files_photo_id_array":[{"photo_id":"1399496602","filename":"file5"},{"photo_id":"1399496598","filename":"file2"},{"photo_id":"1399496600","filename":"file4"},{"photo_id":"1399496597","filename":"file1"},{"photo_id":"1399496596","filename":"file0"},{"photo_id":"1399496599","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399496602":["hashtag1","hashtag2"]},{"1399496597":["hashtag1","hashtag2"]},{"1399496600":["hashtag1","hashtag2"]},{"1399496596":["hashtag1","hashtag2"]},{"1399496599":["hashtag1","hashtag2"]},{"1399496598":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399496602, 1399496597, 1399496600, 1399496596, 1399496599, 1399496598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57578182220459 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 12:15:42.680756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_37_3732.jpg', '/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_40_2703.jpg', '/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_43_2766.jpg', '/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_45_2583.jpg', '/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_49_3630.jpg', '/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_52_2864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_37_3732.jpg
/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_40_2703.jpg
/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_43_2766.jpg
/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_45_2583.jpg
/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_49_3630.jpg
/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_52_2864.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6136124134063721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 12:16:02.401484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/48/image_15122025_11_48_25_9796.jpg', '/home/pi/Desktop/images/15122025/11/48/image_15122025_11_48_35_9832.jpg', '/home/pi/Desktop/images/15122025/11/48/image_15122025_11_48_44_9683.jpg', '/home/pi/Desktop/images/15122025/11/48/image_15122025_11_48_55_10651.jpg', '/home/pi/Desktop/images/15122025/11/48/image_15122025_11_49_05_9645.jpg', '/home/pi/Desktop/images/15122025/11/49/image_15122025_11_49_15_9800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/48/image_15122025_11_48_25_9796.jpg
/home/pi/Desktop/images/15122025/11/48/image_15122025_11_48_35_9832.jpg
/home/pi/Desktop/images/15122025/11/48/image_15122025_11_48_44_9683.jpg
/home/pi/Desktop/images/15122025/11/48/image_15122025_11_48_55_10651.jpg
/home/pi/Desktop/images/15122025/11/48/image_15122025_11_49_05_9645.jpg
/home/pi/Desktop/images/15122025/11/49/image_15122025_11_49_15_9800.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399496617","1399496616","1399496613","1399496615","1399496618","1399496620"],"photo_ids_order":["1399496613","1399496615","1399496616","1399496617","1399496618","1399496620"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5ff6b203b4a79be645b4edb52b962c6f.jpg","text":"TemporaryFile(/tmp/multipartBody7691374721607976040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797423122,"filename":"image_15122025_11_48_55_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5ca740a47a88abb4e1f809b8cb0a91e1.jpg","text":"TemporaryFile(/tmp/multipartBody558149459193330823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797423122,"filename":"image_15122025_11_48_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/15/5612d668fd500ae715ec86c3cd88de92.jpg","text":"TemporaryFile(/tmp/multipartBody6209792239298758090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797423122,"filename":"image_15122025_11_48_25_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/148a84fa4989c4e6a011de272f446df9.jpg","text":"TemporaryFile(/tmp/multipartBody4238423700687613118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797423122,"filename":"image_15122025_11_48_35_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/13f6453bfa43c2172a87de62b5634197.jpg","text":"TemporaryFile(/tmp/multipartBody7233047841397650705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797423122,"filename":"image_15122025_11_49_05_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0e4639925063305cc824dc13629c258e.jpg","text":"TemporaryFile(/tmp/multipartBody2528000109862588427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797423122,"filename":"image_15122025_11_49_15_9800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399496616","file1":"1399496615","file0":"1399496613","file4":"1399496618","file5":"1399496620","file3":"1399496617"},"map_files_photo_id_array":[{"photo_id":"1399496620","filename":"file5"},{"photo_id":"1399496616","filename":"file2"},{"photo_id":"1399496618","filename":"file4"},{"photo_id":"1399496615","filename":"file1"},{"photo_id":"1399496613","filename":"file0"},{"photo_id":"1399496617","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399496617":["hashtag1","hashtag2"]},{"1399496616":["hashtag1","hashtag2"]},{"1399496613":["hashtag1","hashtag2"]},{"1399496615":["hashtag1","hashtag2"]},{"1399496618":["hashtag1","hashtag2"]},{"1399496620":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399496617, 1399496616, 1399496613, 1399496615, 1399496618, 1399496620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.054980516433716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 12:16:41.930277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_37_3732.jpg', '/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_40_2703.jpg', '/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_43_2766.jpg', '/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_45_2583.jpg', '/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_49_3630.jpg', '/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_52_2864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_37_3732.jpg
/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_40_2703.jpg
/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_43_2766.jpg
/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_45_2583.jpg
/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_49_3630.jpg
/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_52_2864.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399496637","1399496646","1399496645","1399496633","1399496644","1399496638"],"photo_ids_order":["1399496633","1399496637","1399496638","1399496644","1399496645","1399496646"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/29586e61cee203d4b5950a1d26059158.jpg","text":"TemporaryFile(/tmp/multipartBody7894580901371296527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797462564,"filename":"image_05112025_14_46_40_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/15/cc036d6d6e878bb1d77ce3268edc5b2f.jpg","text":"TemporaryFile(/tmp/multipartBody1835378289198420521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797462564,"filename":"image_05112025_14_46_52_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/15/c05a94283056db0077ec8c1d93475133.jpg","text":"TemporaryFile(/tmp/multipartBody6328667890054779789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797462564,"filename":"image_05112025_14_46_49_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/15/4c9efc558bbcdd958653b73b82b60e18.jpg","text":"TemporaryFile(/tmp/multipartBody8964163172536681387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797462564,"filename":"image_05112025_14_46_37_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c5f8d361da4b205ec3472e2248e0cf7c.jpg","text":"TemporaryFile(/tmp/multipartBody6664750907495801159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797462564,"filename":"image_05112025_14_46_45_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/15/ed39c97c5f4fbf32917836ab56701d6b.jpg","text":"TemporaryFile(/tmp/multipartBody5434373994791375165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797462564,"filename":"image_05112025_14_46_43_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399496638","file1":"1399496637","file0":"1399496633","file4":"1399496645","file5":"1399496646","file3":"1399496644"},"map_files_photo_id_array":[{"photo_id":"1399496646","filename":"file5"},{"photo_id":"1399496638","filename":"file2"},{"photo_id":"1399496645","filename":"file4"},{"photo_id":"1399496637","filename":"file1"},{"photo_id":"1399496633","filename":"file0"},{"photo_id":"1399496644","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399496637":["hashtag1","hashtag2"]},{"1399496646":["hashtag1","hashtag2"]},{"1399496645":["hashtag1","hashtag2"]},{"1399496633":["hashtag1","hashtag2"]},{"1399496644":["hashtag1","hashtag2"]},{"1399496638":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399496637, 1399496646, 1399496645, 1399496633, 1399496644, 1399496638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97785687446594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 12:17:22.202165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/49/image_15122025_11_49_24_9889.jpg', '/home/pi/Desktop/images/15122025/11/49/image_15122025_11_49_34_9727.jpg', '/home/pi/Desktop/images/15122025/11/49/image_15122025_11_49_45_10738.jpg', '/home/pi/Desktop/images/15122025/11/49/image_15122025_11_49_55_9861.jpg', '/home/pi/Desktop/images/15122025/11/50/image_15122025_11_50_14_10058.jpg', '/home/pi/Desktop/images/15122025/11/50/image_15122025_11_50_25_10869.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/49/image_15122025_11_49_24_9889.jpg
/home/pi/Desktop/images/15122025/11/49/image_15122025_11_49_34_9727.jpg
/home/pi/Desktop/images/15122025/11/49/image_15122025_11_49_45_10738.jpg
/home/pi/Desktop/images/15122025/11/49/image_15122025_11_49_55_9861.jpg
/home/pi/Desktop/images/15122025/11/50/image_15122025_11_50_14_10058.jpg
/home/pi/Desktop/images/15122025/11/50/image_15122025_11_50_25_10869.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399496652","1399496661","1399496654","1399496657","1399496650","1399496647"],"photo_ids_order":["1399496647","1399496650","1399496652","1399496654","1399496657","1399496661"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3c7a0160ca73d836a59a21f67a45ae74.jpg","text":"TemporaryFile(/tmp/multipartBody6170912887871906748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797502810,"filename":"image_15122025_11_49_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/15/46514c7df64a59168f0a08e841d66ea8.jpg","text":"TemporaryFile(/tmp/multipartBody776127522185993263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797502810,"filename":"image_15122025_11_50_25_10869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/439a1d1d3d35fee693f87babbcb33c82.jpg","text":"TemporaryFile(/tmp/multipartBody4733989839236111203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797502810,"filename":"image_15122025_11_49_55_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2a371d640d2d0ffeae77231ed9994b72.jpg","text":"TemporaryFile(/tmp/multipartBody1852098411255830508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797502810,"filename":"image_15122025_11_50_14_10058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/48f3377dc0b25d364ae9f360f4717bb8.jpg","text":"TemporaryFile(/tmp/multipartBody2034967294076644345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797502810,"filename":"image_15122025_11_49_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/15/c709f3f3ce13b7764b04120c74119d1b.jpg","text":"TemporaryFile(/tmp/multipartBody7367715602097805216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797502810,"filename":"image_15122025_11_49_24_9889.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399496652","file1":"1399496650","file0":"1399496647","file4":"1399496657","file5":"1399496661","file3":"1399496654"},"map_files_photo_id_array":[{"photo_id":"1399496661","filename":"file5"},{"photo_id":"1399496652","filename":"file2"},{"photo_id":"1399496657","filename":"file4"},{"photo_id":"1399496650","filename":"file1"},{"photo_id":"1399496647","filename":"file0"},{"photo_id":"1399496654","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399496652":["hashtag1","hashtag2"]},{"1399496661":["hashtag1","hashtag2"]},{"1399496654":["hashtag1","hashtag2"]},{"1399496657":["hashtag1","hashtag2"]},{"1399496650":["hashtag1","hashtag2"]},{"1399496647":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399496652, 1399496661, 1399496654, 1399496657, 1399496650, 1399496647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50886583328247 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 12:18:02.821610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/50/image_15122025_11_50_34_9670.jpg', '/home/pi/Desktop/images/15122025/11/50/image_15122025_11_50_44_9714.jpg', '/home/pi/Desktop/images/15122025/11/50/image_15122025_11_50_54_9709.jpg', '/home/pi/Desktop/images/15122025/11/50/image_15122025_11_51_05_10731.jpg', '/home/pi/Desktop/images/15122025/11/51/image_15122025_11_51_14_9764.jpg', '/home/pi/Desktop/images/15122025/11/51/image_15122025_11_51_24_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/50/image_15122025_11_50_34_9670.jpg
/home/pi/Desktop/images/15122025/11/50/image_15122025_11_50_44_9714.jpg
/home/pi/Desktop/images/15122025/11/50/image_15122025_11_50_54_9709.jpg
/home/pi/Desktop/images/15122025/11/50/image_15122025_11_51_05_10731.jpg
/home/pi/Desktop/images/15122025/11/51/image_15122025_11_51_14_9764.jpg
/home/pi/Desktop/images/15122025/11/51/image_15122025_11_51_24_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":["1399496673","1399496667","1399496669","1399496668","1399496671","1399496665"],"photo_ids_order":["1399496665","1399496667","1399496668","1399496669","1399496671","1399496673"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/eba8b4d162ba57c6b14019b1f29c0c97.jpg","text":"TemporaryFile(/tmp/multipartBody8539916113545714627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797543492,"filename":"image_15122025_11_51_24_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9bea99d682a5e308c5aefa8a0ec9ffd7.jpg","text":"TemporaryFile(/tmp/multipartBody8233143944155380965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797543492,"filename":"image_15122025_11_50_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/15/8d68e44318f11b00bf8ee2390a677527.jpg","text":"TemporaryFile(/tmp/multipartBody5836458372538841327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797543492,"filename":"image_15122025_11_51_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/15/8ee17dfb2596523cb6a1d660b84e6fe9.jpg","text":"TemporaryFile(/tmp/multipartBody1380818848662626955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797543492,"filename":"image_15122025_11_50_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/15/bd7a27e03ccd6d6e59634c0cae65ec5d.jpg","text":"TemporaryFile(/tmp/multipartBody3478632252976125627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797543492,"filename":"image_15122025_11_51_14_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e93fe599fd5d29c14f363487f915c270.jpg","text":"TemporaryFile(/tmp/multipartBody5957387855902867637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797543492,"filename":"image_15122025_11_50_34_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399496668","file1":"1399496667","file0":"1399496665","file4":"1399496671","file5":"1399496673","file3":"1399496669"},"map_files_photo_id_array":[{"photo_id":"1399496673","filename":"file5"},{"photo_id":"1399496668","filename":"file2"},{"photo_id":"1399496671","filename":"file4"},{"photo_id":"1399496667","filename":"file1"},{"photo_id":"1399496665","filename":"file0"},{"photo_id":"1399496669","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399496673":["hashtag1","hashtag2"]},{"1399496667":["hashtag1","hashtag2"]},{"1399496669":["hashtag1","hashtag2"]},{"1399496668":["hashtag1","hashtag2"]},{"1399496671":["hashtag1","hashtag2"]},{"1399496665":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399496673, 1399496667, 1399496669, 1399496668, 1399496671, 1399496665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61501908302307 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 12:18:42.378167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_54_2691.jpg', '/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_58_3683.jpg', '/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_01_2614.jpg', '/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_03_2777.jpg', '/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_07_3644.jpg', '/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_12_5145.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_54_2691.jpg
/home/pi/Desktop/images/05112025/14/46/image_05112025_14_46_58_3683.jpg
/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_01_2614.jpg
/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_03_2777.jpg
/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_07_3644.jpg
/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_12_5145.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399496688","1399496684","1399496687","1399496692","1399496695","1399496689"],"photo_ids_order":["1399496684","1399496687","1399496688","1399496689","1399496692","1399496695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e80d27b5248f26fbf9e0cda3becc3639.jpg","text":"TemporaryFile(/tmp/multipartBody3877133292241387868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797583103,"filename":"image_05112025_14_47_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/15/09cdf4a458831e7eacb961934e31854e.jpg","text":"TemporaryFile(/tmp/multipartBody5740601347620422324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797583103,"filename":"image_05112025_14_46_54_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/15/7afe6bb69a2db0c3e963bf7034381f63.jpg","text":"TemporaryFile(/tmp/multipartBody6593594315482450377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797583103,"filename":"image_05112025_14_46_58_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/15/8ea0504d8c5eaa29ff245bee6dd7f1aa.jpg","text":"TemporaryFile(/tmp/multipartBody3757514519859423708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797583103,"filename":"image_05112025_14_47_07_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/15/a200dfa31e177740bf51371636dc8b8d.jpg","text":"TemporaryFile(/tmp/multipartBody2726390795777333299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797583103,"filename":"image_05112025_14_47_12_5145.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8cac8609c3909b3169724708e9812603.jpg","text":"TemporaryFile(/tmp/multipartBody429427532111951966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797583103,"filename":"image_05112025_14_47_03_2777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399496688","file1":"1399496687","file0":"1399496684","file4":"1399496692","file5":"1399496695","file3":"1399496689"},"map_files_photo_id_array":[{"photo_id":"1399496695","filename":"file5"},{"photo_id":"1399496688","filename":"file2"},{"photo_id":"1399496692","filename":"file4"},{"photo_id":"1399496687","filename":"file1"},{"photo_id":"1399496684","filename":"file0"},{"photo_id":"1399496689","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399496688":["hashtag1","hashtag2"]},{"1399496684":["hashtag1","hashtag2"]},{"1399496687":["hashtag1","hashtag2"]},{"1399496692":["hashtag1","hashtag2"]},{"1399496695":["hashtag1","hashtag2"]},{"1399496689":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399496688, 1399496684, 1399496687, 1399496692, 1399496695, 1399496689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77587389945984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 12:19:22.635166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/51/image_15122025_11_51_34_10006.jpg', '/home/pi/Desktop/images/15122025/11/51/image_15122025_11_51_45_10624.jpg', '/home/pi/Desktop/images/15122025/11/51/image_15122025_11_51_54_9773.jpg', '/home/pi/Desktop/images/15122025/11/51/image_15122025_11_52_04_9675.jpg', '/home/pi/Desktop/images/15122025/11/52/image_15122025_11_52_15_10594.jpg', '/home/pi/Desktop/images/15122025/11/52/image_15122025_11_52_24_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/51/image_15122025_11_51_34_10006.jpg
/home/pi/Desktop/images/15122025/11/51/image_15122025_11_51_45_10624.jpg
/home/pi/Desktop/images/15122025/11/51/image_15122025_11_51_54_9773.jpg
/home/pi/Desktop/images/15122025/11/51/image_15122025_11_52_04_9675.jpg
/home/pi/Desktop/images/15122025/11/52/image_15122025_11_52_15_10594.jpg
/home/pi/Desktop/images/15122025/11/52/image_15122025_11_52_24_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399496701","1399496703","1399496706","1399496699","1399496708","1399496697"],"photo_ids_order":["1399496697","1399496699","1399496701","1399496703","1399496706","1399496708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/666c7fc671ff131363eb784156c5799b.jpg","text":"TemporaryFile(/tmp/multipartBody2670742604980232200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797623276,"filename":"image_15122025_11_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/15/cf17fad642c99980e6332c54a3cedda8.jpg","text":"TemporaryFile(/tmp/multipartBody5867868487651522149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797623276,"filename":"image_15122025_11_52_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/15/37e7e644644c2e7a69c533c681de6f70.jpg","text":"TemporaryFile(/tmp/multipartBody485343836136444385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797623276,"filename":"image_15122025_11_52_15_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/98d043617b3b9f6a1350a03c9fd4b815.jpg","text":"TemporaryFile(/tmp/multipartBody8664423252939552221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797623276,"filename":"image_15122025_11_51_45_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3a5ef2c1b3b72b24a5754d5ccfcb4ddd.jpg","text":"TemporaryFile(/tmp/multipartBody5277051404476868271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797623276,"filename":"image_15122025_11_52_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/15/e594daacbddaee3d5d8d7873cd71bded.jpg","text":"TemporaryFile(/tmp/multipartBody938795741839503377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797623276,"filename":"image_15122025_11_51_34_10006.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399496701","file1":"1399496699","file0":"1399496697","file4":"1399496706","file5":"1399496708","file3":"1399496703"},"map_files_photo_id_array":[{"photo_id":"1399496708","filename":"file5"},{"photo_id":"1399496701","filename":"file2"},{"photo_id":"1399496706","filename":"file4"},{"photo_id":"1399496699","filename":"file1"},{"photo_id":"1399496697","filename":"file0"},{"photo_id":"1399496703","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399496701":["hashtag1","hashtag2"]},{"1399496703":["hashtag1","hashtag2"]},{"1399496706":["hashtag1","hashtag2"]},{"1399496699":["hashtag1","hashtag2"]},{"1399496708":["hashtag1","hashtag2"]},{"1399496697":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399496701, 1399496703, 1399496706, 1399496699, 1399496708, 1399496697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.925349950790405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 12:20:03.307111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/52/image_15122025_11_52_34_9784.jpg', '/home/pi/Desktop/images/15122025/11/52/image_15122025_11_52_45_10622.jpg', '/home/pi/Desktop/images/15122025/11/52/image_15122025_11_52_55_9862.jpg', '/home/pi/Desktop/images/15122025/11/52/image_15122025_11_53_04_9817.jpg', '/home/pi/Desktop/images/15122025/11/53/image_15122025_11_53_14_9726.jpg', '/home/pi/Desktop/images/15122025/11/53/image_15122025_11_53_24_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/52/image_15122025_11_52_34_9784.jpg
/home/pi/Desktop/images/15122025/11/52/image_15122025_11_52_45_10622.jpg
/home/pi/Desktop/images/15122025/11/52/image_15122025_11_52_55_9862.jpg
/home/pi/Desktop/images/15122025/11/52/image_15122025_11_53_04_9817.jpg
/home/pi/Desktop/images/15122025/11/53/image_15122025_11_53_14_9726.jpg
/home/pi/Desktop/images/15122025/11/53/image_15122025_11_53_24_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":["1399496715","1399496712","1399496709","1399496711","1399496710","1399496713"],"photo_ids_order":["1399496709","1399496710","1399496711","1399496712","1399496713","1399496715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/92108a557376b3111d65ce8ca3baed9c.jpg","text":"TemporaryFile(/tmp/multipartBody939397226780785201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797663973,"filename":"image_15122025_11_53_24_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2ea131048ab852e9e327afe44e16c148.jpg","text":"TemporaryFile(/tmp/multipartBody9078838538222025404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797663973,"filename":"image_15122025_11_53_04_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/23649444bb439dad1175ee4e17e6786e.jpg","text":"TemporaryFile(/tmp/multipartBody5288437949074274554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797663973,"filename":"image_15122025_11_52_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/15/7474b0e0c0fdcfc93d677ada3c1acffa.jpg","text":"TemporaryFile(/tmp/multipartBody1243933363432515588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797663973,"filename":"image_15122025_11_52_55_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/15/97372b5a46d98e2c25f60096b2e1f9b5.jpg","text":"TemporaryFile(/tmp/multipartBody2997867163108618427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797663973,"filename":"image_15122025_11_52_45_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/15/80fa18f9353f11bbf5c8c234ad1d9578.jpg","text":"TemporaryFile(/tmp/multipartBody2353422736892932036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797663973,"filename":"image_15122025_11_53_14_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399496711","file1":"1399496710","file0":"1399496709","file4":"1399496713","file5":"1399496715","file3":"1399496712"},"map_files_photo_id_array":[{"photo_id":"1399496715","filename":"file5"},{"photo_id":"1399496711","filename":"file2"},{"photo_id":"1399496713","filename":"file4"},{"photo_id":"1399496710","filename":"file1"},{"photo_id":"1399496709","filename":"file0"},{"photo_id":"1399496712","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399496715":["hashtag1","hashtag2"]},{"1399496712":["hashtag1","hashtag2"]},{"1399496709":["hashtag1","hashtag2"]},{"1399496711":["hashtag1","hashtag2"]},{"1399496710":["hashtag1","hashtag2"]},{"1399496713":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399496715, 1399496712, 1399496709, 1399496711, 1399496710, 1399496713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62647795677185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 12:20:42.862802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_14_1812.jpg', '/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_16_1548.jpg', '/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_18_2566.jpg', '/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_22_3504.jpg', '/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_25_2851.jpg', '/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_27_2636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_14_1812.jpg
/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_16_1548.jpg
/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_18_2566.jpg
/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_22_3504.jpg
/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_25_2851.jpg
/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_27_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.6163859367370605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 12:21:02.846482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/53/image_15122025_11_53_34_10648.jpg', '/home/pi/Desktop/images/15122025/11/53/image_15122025_11_53_44_9571.jpg', '/home/pi/Desktop/images/15122025/11/53/image_15122025_11_53_54_9873.jpg', '/home/pi/Desktop/images/15122025/11/53/image_15122025_11_54_05_10677.jpg', '/home/pi/Desktop/images/15122025/11/54/image_15122025_11_54_14_9640.jpg', '/home/pi/Desktop/images/15122025/11/54/image_15122025_11_54_24_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/53/image_15122025_11_53_34_10648.jpg
/home/pi/Desktop/images/15122025/11/53/image_15122025_11_53_44_9571.jpg
/home/pi/Desktop/images/15122025/11/53/image_15122025_11_53_54_9873.jpg
/home/pi/Desktop/images/15122025/11/53/image_15122025_11_54_05_10677.jpg
/home/pi/Desktop/images/15122025/11/54/image_15122025_11_54_14_9640.jpg
/home/pi/Desktop/images/15122025/11/54/image_15122025_11_54_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":["1399496772","1399496766","1399496771","1399496774","1399496767","1399496761"],"photo_ids_order":["1399496761","1399496766","1399496767","1399496771","1399496772","1399496774"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7fdebc22f19803af6a58b618555a01ac.jpg","text":"TemporaryFile(/tmp/multipartBody6958671398718396112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797723553,"filename":"image_15122025_11_54_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/15/978d6506a44dcbc81f61e01804ab184d.jpg","text":"TemporaryFile(/tmp/multipartBody9177199562789070968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797723553,"filename":"image_15122025_11_53_44_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fc116972f58d169fb840b67e02c3baf0.jpg","text":"TemporaryFile(/tmp/multipartBody3687280069508096557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797723553,"filename":"image_15122025_11_54_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/15/2f9f986457278492c31bc1cf5d85d24b.jpg","text":"TemporaryFile(/tmp/multipartBody3038997969128994213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797723553,"filename":"image_15122025_11_54_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/15/160355353ed8eb7324e1154ae75b2ed7.jpg","text":"TemporaryFile(/tmp/multipartBody2970794956171565351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797723553,"filename":"image_15122025_11_53_54_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/15/5bf8edc4da0b8abc98831b5b85945835.jpg","text":"TemporaryFile(/tmp/multipartBody1561616828125033921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797723553,"filename":"image_15122025_11_53_34_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399496767","file1":"1399496766","file0":"1399496761","file4":"1399496772","file5":"1399496774","file3":"1399496771"},"map_files_photo_id_array":[{"photo_id":"1399496774","filename":"file5"},{"photo_id":"1399496767","filename":"file2"},{"photo_id":"1399496772","filename":"file4"},{"photo_id":"1399496766","filename":"file1"},{"photo_id":"1399496761","filename":"file0"},{"photo_id":"1399496771","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399496772":["hashtag1","hashtag2"]},{"1399496766":["hashtag1","hashtag2"]},{"1399496771":["hashtag1","hashtag2"]},{"1399496774":["hashtag1","hashtag2"]},{"1399496767":["hashtag1","hashtag2"]},{"1399496761":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399496772, 1399496766, 1399496771, 1399496774, 1399496767, 1399496761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2246675491333 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 12:21:42.030544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_14_1812.jpg', '/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_16_1548.jpg', '/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_18_2566.jpg', '/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_22_3504.jpg', '/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_25_2851.jpg', '/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_27_2636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_14_1812.jpg
/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_16_1548.jpg
/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_18_2566.jpg
/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_22_3504.jpg
/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_25_2851.jpg
/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_27_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":["1399496784","1399496783","1399496786","1399496785","1399496782","1399496779"],"photo_ids_order":["1399496779","1399496782","1399496783","1399496784","1399496785","1399496786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/206472878f03db2c55f26b7482bd8a52.jpg","text":"TemporaryFile(/tmp/multipartBody578402801089202835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797762634,"filename":"image_05112025_14_47_22_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/15/c7478a0ea537abc674e97b34db07d1ff.jpg","text":"TemporaryFile(/tmp/multipartBody2743987514007806445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797762634,"filename":"image_05112025_14_47_18_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/15/343d4e4f4038f3b7bb20034b4bbe3cb4.jpg","text":"TemporaryFile(/tmp/multipartBody643999017149149123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797762634,"filename":"image_05112025_14_47_27_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b5dc9ee320d7c981888c79c27cb3dd6c.jpg","text":"TemporaryFile(/tmp/multipartBody6938260999608210454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797762634,"filename":"image_05112025_14_47_25_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/053927b11a5e281896075ff4d50dec23.jpg","text":"TemporaryFile(/tmp/multipartBody3813981910524280197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797762634,"filename":"image_05112025_14_47_16_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/15/8c9d41027a7b350f2b57867958261a96.jpg","text":"TemporaryFile(/tmp/multipartBody3120216290309739219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797762634,"filename":"image_05112025_14_47_14_1812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399496783","file1":"1399496782","file0":"1399496779","file4":"1399496785","file5":"1399496786","file3":"1399496784"},"map_files_photo_id_array":[{"photo_id":"1399496786","filename":"file5"},{"photo_id":"1399496783","filename":"file2"},{"photo_id":"1399496785","filename":"file4"},{"photo_id":"1399496782","filename":"file1"},{"photo_id":"1399496779","filename":"file0"},{"photo_id":"1399496784","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399496784":["hashtag1","hashtag2"]},{"1399496783":["hashtag1","hashtag2"]},{"1399496786":["hashtag1","hashtag2"]},{"1399496785":["hashtag1","hashtag2"]},{"1399496782":["hashtag1","hashtag2"]},{"1399496779":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399496784, 1399496783, 1399496786, 1399496785, 1399496782, 1399496779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.437572956085205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 12:22:22.330856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/54/image_15122025_11_54_35_10684.jpg', '/home/pi/Desktop/images/15122025/11/54/image_15122025_11_54_44_9628.jpg', '/home/pi/Desktop/images/15122025/11/54/image_15122025_11_54_54_9695.jpg', '/home/pi/Desktop/images/15122025/11/56/image_15122025_11_56_14_10037.jpg', '/home/pi/Desktop/images/15122025/11/56/image_15122025_11_56_25_10719.jpg', '/home/pi/Desktop/images/15122025/11/56/image_15122025_11_56_34_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/54/image_15122025_11_54_35_10684.jpg
/home/pi/Desktop/images/15122025/11/54/image_15122025_11_54_44_9628.jpg
/home/pi/Desktop/images/15122025/11/54/image_15122025_11_54_54_9695.jpg
/home/pi/Desktop/images/15122025/11/56/image_15122025_11_56_14_10037.jpg
/home/pi/Desktop/images/15122025/11/56/image_15122025_11_56_25_10719.jpg
/home/pi/Desktop/images/15122025/11/56/image_15122025_11_56_34_9691.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5261852741241455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 12:22:32.300653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 12:22:42.267644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_41_13427.jpg', '/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_44_3267.jpg', '/home/pi/Desktop/images/05112025/14/48/image_05112025_14_48_14_29746.jpg', '/home/pi/Desktop/images/05112025/14/48/image_05112025_14_48_18_4127.jpg', '/home/pi/Desktop/images/05112025/14/48/image_05112025_14_48_19_1632.jpg', '/home/pi/Desktop/images/05112025/14/48/image_05112025_14_48_26_6694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_41_13427.jpg
/home/pi/Desktop/images/05112025/14/47/image_05112025_14_47_44_3267.jpg
/home/pi/Desktop/images/05112025/14/48/image_05112025_14_48_14_29746.jpg
/home/pi/Desktop/images/05112025/14/48/image_05112025_14_48_18_4127.jpg
/home/pi/Desktop/images/05112025/14/48/image_05112025_14_48_19_1632.jpg
/home/pi/Desktop/images/05112025/14/48/image_05112025_14_48_26_6694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399496802","1399496798","1399496801","1399496810","1399496821","1399496803"],"photo_ids_order":["1399496798","1399496801","1399496802","1399496803","1399496810","1399496821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/70a0ff65fb2cd02897cdfff6e1cfba9b.jpg","text":"TemporaryFile(/tmp/multipartBody7086313738681661376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797823026,"filename":"image_05112025_14_48_14_29746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/251ebeca5acf6bac6a1ef6b7df3db3b5.jpg","text":"TemporaryFile(/tmp/multipartBody2334462740550477554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797823026,"filename":"image_05112025_14_47_41_13427.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e207eb13a33d5d7f2980a3e805e468a8.jpg","text":"TemporaryFile(/tmp/multipartBody9146878968920675993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797823026,"filename":"image_05112025_14_47_44_3267.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3a41c4a11b5a1d4bc20a341722767dcd.jpg","text":"TemporaryFile(/tmp/multipartBody6525936339241364904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797823026,"filename":"image_05112025_14_48_19_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/15/e91e6cb292f2c12422babbd132d3e394.jpg","text":"TemporaryFile(/tmp/multipartBody6385561254958939127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797823026,"filename":"image_05112025_14_48_26_6694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4b769fb06865b5e1842dce8babc2051b.jpg","text":"TemporaryFile(/tmp/multipartBody6261108047405737346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797823026,"filename":"image_05112025_14_48_18_4127.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399496802","file1":"1399496801","file0":"1399496798","file4":"1399496810","file5":"1399496821","file3":"1399496803"},"map_files_photo_id_array":[{"photo_id":"1399496821","filename":"file5"},{"photo_id":"1399496802","filename":"file2"},{"photo_id":"1399496810","filename":"file4"},{"photo_id":"1399496801","filename":"file1"},{"photo_id":"1399496798","filename":"file0"},{"photo_id":"1399496803","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399496802":["hashtag1","hashtag2"]},{"1399496798":["hashtag1","hashtag2"]},{"1399496801":["hashtag1","hashtag2"]},{"1399496810":["hashtag1","hashtag2"]},{"1399496821":["hashtag1","hashtag2"]},{"1399496803":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399496802, 1399496798, 1399496801, 1399496810, 1399496821, 1399496803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16142749786377 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 12:23:22.581274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/54/image_15122025_11_54_35_10684.jpg', '/home/pi/Desktop/images/15122025/11/54/image_15122025_11_54_44_9628.jpg', '/home/pi/Desktop/images/15122025/11/54/image_15122025_11_54_54_9695.jpg', '/home/pi/Desktop/images/15122025/11/56/image_15122025_11_56_14_10037.jpg', '/home/pi/Desktop/images/15122025/11/56/image_15122025_11_56_25_10719.jpg', '/home/pi/Desktop/images/15122025/11/56/image_15122025_11_56_34_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/54/image_15122025_11_54_35_10684.jpg
/home/pi/Desktop/images/15122025/11/54/image_15122025_11_54_44_9628.jpg
/home/pi/Desktop/images/15122025/11/54/image_15122025_11_54_54_9695.jpg
/home/pi/Desktop/images/15122025/11/56/image_15122025_11_56_14_10037.jpg
/home/pi/Desktop/images/15122025/11/56/image_15122025_11_56_25_10719.jpg
/home/pi/Desktop/images/15122025/11/56/image_15122025_11_56_34_9691.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5278525352478027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 12:23:32.545283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 12:23:42.557576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/48/image_05112025_14_48_28_1577.jpg', '/home/pi/Desktop/images/05112025/14/48/image_05112025_14_48_29_1668.jpg', '/home/pi/Desktop/images/05112025/14/48/image_05112025_14_48_31_1614.jpg', '/home/pi/Desktop/images/05112025/14/48/image_05112025_14_48_33_1806.jpg', '/home/pi/Desktop/images/05112025/14/48/image_05112025_14_48_35_1812.jpg', '/home/pi/Desktop/images/05112025/14/48/image_05112025_14_48_36_1687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/48/image_05112025_14_48_28_1577.jpg
/home/pi/Desktop/images/05112025/14/48/image_05112025_14_48_29_1668.jpg
/home/pi/Desktop/images/05112025/14/48/image_05112025_14_48_31_1614.jpg
/home/pi/Desktop/images/05112025/14/48/image_05112025_14_48_33_1806.jpg
/home/pi/Desktop/images/05112025/14/48/image_05112025_14_48_35_1812.jpg
/home/pi/Desktop/images/05112025/14/48/image_05112025_14_48_36_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":["1399496865","1399496862","1399496861","1399496834","1399496863","1399496836"],"photo_ids_order":["1399496834","1399496836","1399496861","1399496862","1399496863","1399496865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cb4fd28e8e8077308927fa12c0780fa2.jpg","text":"TemporaryFile(/tmp/multipartBody284924159395803828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797883274,"filename":"image_05112025_14_48_36_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/105bd59b44b3ec10445765167892a4e0.jpg","text":"TemporaryFile(/tmp/multipartBody5885370473684834205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797883274,"filename":"image_05112025_14_48_33_1806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2912c94df9fc52d4eabb5a090e700e46.jpg","text":"TemporaryFile(/tmp/multipartBody725882393520212162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797883274,"filename":"image_05112025_14_48_31_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/15/e5fa78b8b2c73548d26c28ee705f1686.jpg","text":"TemporaryFile(/tmp/multipartBody359672855213555146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797883274,"filename":"image_05112025_14_48_28_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/15/efd5e680ecc11dbd5c3ab3861f55e135.jpg","text":"TemporaryFile(/tmp/multipartBody1028862499680786542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797883274,"filename":"image_05112025_14_48_35_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/15/02ee089301ad8fe8dc3fa12f0662b86f.jpg","text":"TemporaryFile(/tmp/multipartBody3367566566631164422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797883274,"filename":"image_05112025_14_48_29_1668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399496861","file1":"1399496836","file0":"1399496834","file4":"1399496863","file5":"1399496865","file3":"1399496862"},"map_files_photo_id_array":[{"photo_id":"1399496865","filename":"file5"},{"photo_id":"1399496861","filename":"file2"},{"photo_id":"1399496863","filename":"file4"},{"photo_id":"1399496836","filename":"file1"},{"photo_id":"1399496834","filename":"file0"},{"photo_id":"1399496862","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399496865":["hashtag1","hashtag2"]},{"1399496862":["hashtag1","hashtag2"]},{"1399496861":["hashtag1","hashtag2"]},{"1399496834":["hashtag1","hashtag2"]},{"1399496863":["hashtag1","hashtag2"]},{"1399496836":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399496865, 1399496862, 1399496861, 1399496834, 1399496863, 1399496836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88263511657715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 12:24:22.797154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/54/image_15122025_11_54_35_10684.jpg', '/home/pi/Desktop/images/15122025/11/54/image_15122025_11_54_44_9628.jpg', '/home/pi/Desktop/images/15122025/11/54/image_15122025_11_54_54_9695.jpg', '/home/pi/Desktop/images/15122025/11/56/image_15122025_11_56_14_10037.jpg', '/home/pi/Desktop/images/15122025/11/56/image_15122025_11_56_25_10719.jpg', '/home/pi/Desktop/images/15122025/11/56/image_15122025_11_56_34_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/54/image_15122025_11_54_35_10684.jpg
/home/pi/Desktop/images/15122025/11/54/image_15122025_11_54_44_9628.jpg
/home/pi/Desktop/images/15122025/11/54/image_15122025_11_54_54_9695.jpg
/home/pi/Desktop/images/15122025/11/56/image_15122025_11_56_14_10037.jpg
/home/pi/Desktop/images/15122025/11/56/image_15122025_11_56_25_10719.jpg
/home/pi/Desktop/images/15122025/11/56/image_15122025_11_56_34_9691.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6024205684661865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 12:24:32.891159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 12:24:42.789876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/48/image_05112025_14_48_38_1687.jpg', '/home/pi/Desktop/images/05112025/14/48/image_05112025_14_48_40_1622.jpg', '/home/pi/Desktop/images/05112025/14/48/image_05112025_14_48_41_1669.jpg', '/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_07_3019.jpg', '/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_10_3770.jpg', '/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_24_13801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/48/image_05112025_14_48_38_1687.jpg
/home/pi/Desktop/images/05112025/14/48/image_05112025_14_48_40_1622.jpg
/home/pi/Desktop/images/05112025/14/48/image_05112025_14_48_41_1669.jpg
/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_07_3019.jpg
/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_10_3770.jpg
/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_24_13801.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399496886","1399496880","1399496888","1399496890","1399496884","1399496887"],"photo_ids_order":["1399496880","1399496884","1399496886","1399496887","1399496888","1399496890"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e60443a240419d74857805464dee824e.jpg","text":"TemporaryFile(/tmp/multipartBody1166777202496858807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797943503,"filename":"image_05112025_14_48_41_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/15/544c78bcb8e720b903b27c57fce007fb.jpg","text":"TemporaryFile(/tmp/multipartBody5175085895640549295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797943503,"filename":"image_05112025_14_48_38_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/15/f577989e7242e8e95f3af769f6298a6f.jpg","text":"TemporaryFile(/tmp/multipartBody4252694036126859043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797943503,"filename":"image_05112025_14_51_10_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/15/79e1a38170f71c3c43a03fe6928cd0a2.jpg","text":"TemporaryFile(/tmp/multipartBody2377492171748671690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797943503,"filename":"image_05112025_14_51_24_13801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4382c7b0d5ae09e83263de98f3febca0.jpg","text":"TemporaryFile(/tmp/multipartBody7325253231272249936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797943503,"filename":"image_05112025_14_48_40_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/15/5fe2b737a2f2c7311015564f314fa854.jpg","text":"TemporaryFile(/tmp/multipartBody6246009874314343809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765797943503,"filename":"image_05112025_14_51_07_3019.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399496886","file1":"1399496884","file0":"1399496880","file4":"1399496888","file5":"1399496890","file3":"1399496887"},"map_files_photo_id_array":[{"photo_id":"1399496890","filename":"file5"},{"photo_id":"1399496886","filename":"file2"},{"photo_id":"1399496888","filename":"file4"},{"photo_id":"1399496884","filename":"file1"},{"photo_id":"1399496880","filename":"file0"},{"photo_id":"1399496887","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399496886":["hashtag1","hashtag2"]},{"1399496880":["hashtag1","hashtag2"]},{"1399496888":["hashtag1","hashtag2"]},{"1399496890":["hashtag1","hashtag2"]},{"1399496884":["hashtag1","hashtag2"]},{"1399496887":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399496886, 1399496880, 1399496888, 1399496890, 1399496884, 1399496887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.67074394226074 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-15 12:25:32.083707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 12:25:42.041693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_26_1759.jpg', '/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_27_1607.jpg', '/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_29_1504.jpg', '/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_31_1649.jpg', '/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_32_1566.jpg', '/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_34_1531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_26_1759.jpg
/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_27_1607.jpg
/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_29_1504.jpg
/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_31_1649.jpg
/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_32_1566.jpg
/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_34_1531.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5947940349578857 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 12:26:02.720449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/54/image_15122025_11_54_35_10684.jpg', '/home/pi/Desktop/images/15122025/11/54/image_15122025_11_54_44_9628.jpg', '/home/pi/Desktop/images/15122025/11/54/image_15122025_11_54_54_9695.jpg', '/home/pi/Desktop/images/15122025/11/56/image_15122025_11_56_14_10037.jpg', '/home/pi/Desktop/images/15122025/11/56/image_15122025_11_56_25_10719.jpg', '/home/pi/Desktop/images/15122025/11/56/image_15122025_11_56_34_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/54/image_15122025_11_54_35_10684.jpg
/home/pi/Desktop/images/15122025/11/54/image_15122025_11_54_44_9628.jpg
/home/pi/Desktop/images/15122025/11/54/image_15122025_11_54_54_9695.jpg
/home/pi/Desktop/images/15122025/11/56/image_15122025_11_56_14_10037.jpg
/home/pi/Desktop/images/15122025/11/56/image_15122025_11_56_25_10719.jpg
/home/pi/Desktop/images/15122025/11/56/image_15122025_11_56_34_9691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399496908","1399496910","1399496904","1399496906","1399496903","1399496905"],"photo_ids_order":["1399496903","1399496904","1399496905","1399496906","1399496908","1399496910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cd6f5985afc56889497d65f69077295a.jpg","text":"TemporaryFile(/tmp/multipartBody5557379699532201444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798023397,"filename":"image_15122025_11_56_25_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f72fa134b815f73daab1cc8879421479.jpg","text":"TemporaryFile(/tmp/multipartBody9073188819000788513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798023397,"filename":"image_15122025_11_56_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/15/881b09d5356f36830e54fb0e4f4f31fa.jpg","text":"TemporaryFile(/tmp/multipartBody6740256916451212223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798023397,"filename":"image_15122025_11_54_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/15/3c5b63b0eea6f8a879d96f7a4c70b7d0.jpg","text":"TemporaryFile(/tmp/multipartBody686620204918088931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798023397,"filename":"image_15122025_11_56_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/15/34e6efadf96e9621190508a9328ba840.jpg","text":"TemporaryFile(/tmp/multipartBody139079481477397294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798023397,"filename":"image_15122025_11_54_35_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a43b00a44bc10477b9cce34313a781ce.jpg","text":"TemporaryFile(/tmp/multipartBody6446530239401080578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798023397,"filename":"image_15122025_11_54_54_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399496905","file1":"1399496904","file0":"1399496903","file4":"1399496908","file5":"1399496910","file3":"1399496906"},"map_files_photo_id_array":[{"photo_id":"1399496910","filename":"file5"},{"photo_id":"1399496905","filename":"file2"},{"photo_id":"1399496908","filename":"file4"},{"photo_id":"1399496904","filename":"file1"},{"photo_id":"1399496903","filename":"file0"},{"photo_id":"1399496906","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399496908":["hashtag1","hashtag2"]},{"1399496910":["hashtag1","hashtag2"]},{"1399496904":["hashtag1","hashtag2"]},{"1399496906":["hashtag1","hashtag2"]},{"1399496903":["hashtag1","hashtag2"]},{"1399496905":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399496908, 1399496910, 1399496904, 1399496906, 1399496903, 1399496905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3551459312439 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 12:26:42.348307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_26_1759.jpg', '/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_27_1607.jpg', '/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_29_1504.jpg', '/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_31_1649.jpg', '/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_32_1566.jpg', '/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_34_1531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_26_1759.jpg
/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_27_1607.jpg
/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_29_1504.jpg
/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_31_1649.jpg
/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_32_1566.jpg
/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_34_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":["1399496937","1399496916","1399496919","1399496939","1399496941","1399496938"],"photo_ids_order":["1399496916","1399496919","1399496937","1399496938","1399496939","1399496941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5e220b5868344e3b1726f1baad7c720d.jpg","text":"TemporaryFile(/tmp/multipartBody4036329814872969559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798062947,"filename":"image_05112025_14_51_29_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/15/846515a2284e94ce88beabef96853f41.jpg","text":"TemporaryFile(/tmp/multipartBody878348611452035463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798062947,"filename":"image_05112025_14_51_26_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/15/290087a2b7da98bfaadebaecc9358efb.jpg","text":"TemporaryFile(/tmp/multipartBody5500246716282798828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798062947,"filename":"image_05112025_14_51_27_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/15/bad8a519f0934b88157ac16879426ab0.jpg","text":"TemporaryFile(/tmp/multipartBody6599183761854005895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798062947,"filename":"image_05112025_14_51_32_1566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6a6f68d403459d5116868dd3510a2cb8.jpg","text":"TemporaryFile(/tmp/multipartBody210302170903375773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798062947,"filename":"image_05112025_14_51_34_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/15/965a576494dfebc6fd2f673eba654cfc.jpg","text":"TemporaryFile(/tmp/multipartBody3667555570761140545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798062947,"filename":"image_05112025_14_51_31_1649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399496937","file1":"1399496919","file0":"1399496916","file4":"1399496939","file5":"1399496941","file3":"1399496938"},"map_files_photo_id_array":[{"photo_id":"1399496941","filename":"file5"},{"photo_id":"1399496937","filename":"file2"},{"photo_id":"1399496939","filename":"file4"},{"photo_id":"1399496919","filename":"file1"},{"photo_id":"1399496916","filename":"file0"},{"photo_id":"1399496938","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399496937":["hashtag1","hashtag2"]},{"1399496916":["hashtag1","hashtag2"]},{"1399496919":["hashtag1","hashtag2"]},{"1399496939":["hashtag1","hashtag2"]},{"1399496941":["hashtag1","hashtag2"]},{"1399496938":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399496937, 1399496916, 1399496919, 1399496939, 1399496941, 1399496938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03506398200989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 12:27:25.497870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/56/image_15122025_11_56_44_10014.jpg', '/home/pi/Desktop/images/15122025/11/56/image_15122025_11_56_54_9774.jpg', '/home/pi/Desktop/images/15122025/11/56/image_15122025_11_57_05_10714.jpg', '/home/pi/Desktop/images/15122025/11/57/image_15122025_11_57_14_9568.jpg', '/home/pi/Desktop/images/15122025/11/57/image_15122025_11_57_24_9789.jpg', '/home/pi/Desktop/images/15122025/11/57/image_15122025_11_57_34_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/56/image_15122025_11_56_44_10014.jpg
/home/pi/Desktop/images/15122025/11/56/image_15122025_11_56_54_9774.jpg
/home/pi/Desktop/images/15122025/11/56/image_15122025_11_57_05_10714.jpg
/home/pi/Desktop/images/15122025/11/57/image_15122025_11_57_14_9568.jpg
/home/pi/Desktop/images/15122025/11/57/image_15122025_11_57_24_9789.jpg
/home/pi/Desktop/images/15122025/11/57/image_15122025_11_57_34_9788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399496946","1399496955","1399496948","1399496953","1399496950","1399496944"],"photo_ids_order":["1399496944","1399496946","1399496948","1399496950","1399496953","1399496955"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8261a1fce526edff00cbe0fd0210b917.jpg","text":"TemporaryFile(/tmp/multipartBody847939534958024154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798106190,"filename":"image_15122025_11_56_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/15/ba3cf884c8298a5d6f97d9637af80f22.jpg","text":"TemporaryFile(/tmp/multipartBody3817373309503445249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798106190,"filename":"image_15122025_11_57_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/15/6be7955ebc87f18943a978b978dd4107.jpg","text":"TemporaryFile(/tmp/multipartBody7238129400121898927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798106190,"filename":"image_15122025_11_57_05_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a8a8e11eb035884029ce3dd454cb7b70.jpg","text":"TemporaryFile(/tmp/multipartBody5068190616376581746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798106190,"filename":"image_15122025_11_57_24_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/15/b483a13edb1023a633855d1aa715789d.jpg","text":"TemporaryFile(/tmp/multipartBody7224517247231477571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798106190,"filename":"image_15122025_11_57_14_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dc1aca5552307def23ddd5a6aaa1de5b.jpg","text":"TemporaryFile(/tmp/multipartBody5937560736453688580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798106190,"filename":"image_15122025_11_56_44_10014.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399496948","file1":"1399496946","file0":"1399496944","file4":"1399496953","file5":"1399496955","file3":"1399496950"},"map_files_photo_id_array":[{"photo_id":"1399496955","filename":"file5"},{"photo_id":"1399496948","filename":"file2"},{"photo_id":"1399496953","filename":"file4"},{"photo_id":"1399496946","filename":"file1"},{"photo_id":"1399496944","filename":"file0"},{"photo_id":"1399496950","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399496946":["hashtag1","hashtag2"]},{"1399496955":["hashtag1","hashtag2"]},{"1399496948":["hashtag1","hashtag2"]},{"1399496953":["hashtag1","hashtag2"]},{"1399496950":["hashtag1","hashtag2"]},{"1399496944":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399496946, 1399496955, 1399496948, 1399496953, 1399496950, 1399496944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27686643600464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 12:28:12.623615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 12:28:22.691644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/57/image_15122025_11_57_45_10643.jpg', '/home/pi/Desktop/images/15122025/11/57/image_15122025_11_57_54_9607.jpg', '/home/pi/Desktop/images/15122025/11/57/image_15122025_11_58_04_10050.jpg', '/home/pi/Desktop/images/15122025/11/58/image_15122025_11_58_14_9693.jpg', '/home/pi/Desktop/images/15122025/11/58/image_15122025_11_58_25_10723.jpg', '/home/pi/Desktop/images/15122025/11/58/image_15122025_11_58_34_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/57/image_15122025_11_57_45_10643.jpg
/home/pi/Desktop/images/15122025/11/57/image_15122025_11_57_54_9607.jpg
/home/pi/Desktop/images/15122025/11/57/image_15122025_11_58_04_10050.jpg
/home/pi/Desktop/images/15122025/11/58/image_15122025_11_58_14_9693.jpg
/home/pi/Desktop/images/15122025/11/58/image_15122025_11_58_25_10723.jpg
/home/pi/Desktop/images/15122025/11/58/image_15122025_11_58_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":["1399496964","1399496958","1399496967","1399496960","1399496957","1399496962"],"photo_ids_order":["1399496957","1399496958","1399496960","1399496962","1399496964","1399496967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ffcae3127cc9c583b58365747a7581cd.jpg","text":"TemporaryFile(/tmp/multipartBody8915224621151847231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798163336,"filename":"image_15122025_11_58_25_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d6553a570ef36c1236348a502d705700.jpg","text":"TemporaryFile(/tmp/multipartBody3972760408459294258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798163336,"filename":"image_15122025_11_57_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/15/eb241240f959beeb03a79a9e6e7b59bc.jpg","text":"TemporaryFile(/tmp/multipartBody3215216604729639392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798163336,"filename":"image_15122025_11_58_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/15/35eb458b1a980c42fc4a2483be885e24.jpg","text":"TemporaryFile(/tmp/multipartBody4343296335294995112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798163336,"filename":"image_15122025_11_58_04_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/15/854154de49eacbe2613a3e2be12b3470.jpg","text":"TemporaryFile(/tmp/multipartBody37329432485581782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798163336,"filename":"image_15122025_11_57_45_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9aac4c375da5bc8e4ffa035597113943.jpg","text":"TemporaryFile(/tmp/multipartBody8138364648155327389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798163336,"filename":"image_15122025_11_58_14_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399496960","file1":"1399496958","file0":"1399496957","file4":"1399496964","file5":"1399496967","file3":"1399496962"},"map_files_photo_id_array":[{"photo_id":"1399496967","filename":"file5"},{"photo_id":"1399496960","filename":"file2"},{"photo_id":"1399496964","filename":"file4"},{"photo_id":"1399496958","filename":"file1"},{"photo_id":"1399496957","filename":"file0"},{"photo_id":"1399496962","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399496964":["hashtag1","hashtag2"]},{"1399496958":["hashtag1","hashtag2"]},{"1399496967":["hashtag1","hashtag2"]},{"1399496960":["hashtag1","hashtag2"]},{"1399496957":["hashtag1","hashtag2"]},{"1399496962":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399496964, 1399496958, 1399496967, 1399496960, 1399496957, 1399496962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.194284439086914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 12:29:02.943942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/58/image_15122025_11_58_44_9677.jpg', '/home/pi/Desktop/images/15122025/11/58/image_15122025_11_58_54_9935.jpg', '/home/pi/Desktop/images/15122025/11/58/image_15122025_11_59_05_10783.jpg', '/home/pi/Desktop/images/15122025/11/59/image_15122025_11_59_15_9908.jpg', '/home/pi/Desktop/images/15122025/11/59/image_15122025_11_59_24_9710.jpg', '/home/pi/Desktop/images/15122025/11/59/image_15122025_11_59_34_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/58/image_15122025_11_58_44_9677.jpg
/home/pi/Desktop/images/15122025/11/58/image_15122025_11_58_54_9935.jpg
/home/pi/Desktop/images/15122025/11/58/image_15122025_11_59_05_10783.jpg
/home/pi/Desktop/images/15122025/11/59/image_15122025_11_59_15_9908.jpg
/home/pi/Desktop/images/15122025/11/59/image_15122025_11_59_24_9710.jpg
/home/pi/Desktop/images/15122025/11/59/image_15122025_11_59_34_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":["1399496976","1399496970","1399496973","1399496975","1399496978","1399496974"],"photo_ids_order":["1399496970","1399496973","1399496974","1399496975","1399496976","1399496978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ec6367024a6cbc928e909f551c1484e3.jpg","text":"TemporaryFile(/tmp/multipartBody6998132297675466274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798203689,"filename":"image_15122025_11_59_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/15/44bb56a37e9a686af793deb3113f383a.jpg","text":"TemporaryFile(/tmp/multipartBody115839766484367835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798203689,"filename":"image_15122025_11_58_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/15/2e7a2967fdbbcdeafbfeaedc20e2daff.jpg","text":"TemporaryFile(/tmp/multipartBody3690598208215409050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798203689,"filename":"image_15122025_11_58_54_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/15/2812bdd215ec251e96c66cb203cfedf4.jpg","text":"TemporaryFile(/tmp/multipartBody759665472867365332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798203689,"filename":"image_15122025_11_59_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/15/78cd6cb566205c2eed3dc7a3fc95146d.jpg","text":"TemporaryFile(/tmp/multipartBody2399051421183111299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798203689,"filename":"image_15122025_11_59_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/15/bf5ec39a038144e574db3cbc000aae60.jpg","text":"TemporaryFile(/tmp/multipartBody116704289000146027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798203689,"filename":"image_15122025_11_59_05_10783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399496974","file1":"1399496973","file0":"1399496970","file4":"1399496976","file5":"1399496978","file3":"1399496975"},"map_files_photo_id_array":[{"photo_id":"1399496978","filename":"file5"},{"photo_id":"1399496974","filename":"file2"},{"photo_id":"1399496976","filename":"file4"},{"photo_id":"1399496973","filename":"file1"},{"photo_id":"1399496970","filename":"file0"},{"photo_id":"1399496975","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399496976":["hashtag1","hashtag2"]},{"1399496970":["hashtag1","hashtag2"]},{"1399496973":["hashtag1","hashtag2"]},{"1399496975":["hashtag1","hashtag2"]},{"1399496978":["hashtag1","hashtag2"]},{"1399496974":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399496976, 1399496970, 1399496973, 1399496975, 1399496978, 1399496974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.226125955581665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 12:29:41.874364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_35_1610.jpg', '/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_37_1818.jpg', '/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_40_2590.jpg', '/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_43_2793.jpg', '/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_06_23181.jpg', '/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_07_1647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_35_1610.jpg
/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_37_1818.jpg
/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_40_2590.jpg
/home/pi/Desktop/images/05112025/14/51/image_05112025_14_51_43_2793.jpg
/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_06_23181.jpg
/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_07_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":["1399496997","1399497000","1399496999","1399496996","1399496984","1399496998"],"photo_ids_order":["1399496984","1399496996","1399496997","1399496998","1399496999","1399497000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/47cda703fcc2a55395e4db9d8f66b00d.jpg","text":"TemporaryFile(/tmp/multipartBody3529624186783959456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798242587,"filename":"image_05112025_14_51_40_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/15/822cf00c6dbf23bed02be5ee156132b7.jpg","text":"TemporaryFile(/tmp/multipartBody248671368523816825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798242587,"filename":"image_05112025_14_52_07_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/15/cbacaf4d4b3b3759c2bfb1fffe7bb00e.jpg","text":"TemporaryFile(/tmp/multipartBody7616200937810416542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798242587,"filename":"image_05112025_14_52_06_23181.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bcbddb4cb2be43613aaea53dee650dca.jpg","text":"TemporaryFile(/tmp/multipartBody6173623531153752442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798242587,"filename":"image_05112025_14_51_37_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/15/d8190749e680cb938f0ad941ce2117e2.jpg","text":"TemporaryFile(/tmp/multipartBody2753735550816215687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798242587,"filename":"image_05112025_14_51_35_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/15/ef559ea088c1ae518ef907ccd1a5b44c.jpg","text":"TemporaryFile(/tmp/multipartBody2681943909069302822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798242587,"filename":"image_05112025_14_51_43_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399496997","file1":"1399496996","file0":"1399496984","file4":"1399496999","file5":"1399497000","file3":"1399496998"},"map_files_photo_id_array":[{"photo_id":"1399497000","filename":"file5"},{"photo_id":"1399496997","filename":"file2"},{"photo_id":"1399496999","filename":"file4"},{"photo_id":"1399496996","filename":"file1"},{"photo_id":"1399496984","filename":"file0"},{"photo_id":"1399496998","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399496997":["hashtag1","hashtag2"]},{"1399497000":["hashtag1","hashtag2"]},{"1399496999":["hashtag1","hashtag2"]},{"1399496996":["hashtag1","hashtag2"]},{"1399496984":["hashtag1","hashtag2"]},{"1399496998":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399496997, 1399497000, 1399496999, 1399496996, 1399496984, 1399496998)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.6789186000824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 12:30:32.136820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 12:30:42.240258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_09_1665.jpg', '/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_11_1649.jpg', '/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_12_1694.jpg', '/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_14_1592.jpg', '/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_16_1589.jpg', '/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_17_1644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_09_1665.jpg
/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_11_1649.jpg
/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_12_1694.jpg
/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_14_1592.jpg
/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_16_1589.jpg
/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_17_1644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399497012","1399497021","1399497023","1399497017","1399497016","1399497019"],"photo_ids_order":["1399497012","1399497016","1399497017","1399497019","1399497021","1399497023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7f0ea3439fd3af2858bc3542ac65b6fb.jpg","text":"TemporaryFile(/tmp/multipartBody1563665587256175194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798302960,"filename":"image_05112025_14_52_09_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/15/2b573f871c92d7126527031165befd6b.jpg","text":"TemporaryFile(/tmp/multipartBody3189664972161894755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798302960,"filename":"image_05112025_14_52_16_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/15/a0cd77182f26b074d32ed0d4ac7c3b5e.jpg","text":"TemporaryFile(/tmp/multipartBody4746191172820082808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798302960,"filename":"image_05112025_14_52_17_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/15/cd8ddca1e435f06e64930e3526ef1559.jpg","text":"TemporaryFile(/tmp/multipartBody4063815121395238278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798302960,"filename":"image_05112025_14_52_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/15/c2208f42f225e14dfc6ee89c0865ba4d.jpg","text":"TemporaryFile(/tmp/multipartBody4576619902519896486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798302960,"filename":"image_05112025_14_52_11_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/15/83ea5c78f95495552d2e2866a614db77.jpg","text":"TemporaryFile(/tmp/multipartBody4146825647760660974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798302960,"filename":"image_05112025_14_52_14_1592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399497017","file1":"1399497016","file0":"1399497012","file4":"1399497021","file5":"1399497023","file3":"1399497019"},"map_files_photo_id_array":[{"photo_id":"1399497023","filename":"file5"},{"photo_id":"1399497017","filename":"file2"},{"photo_id":"1399497021","filename":"file4"},{"photo_id":"1399497016","filename":"file1"},{"photo_id":"1399497012","filename":"file0"},{"photo_id":"1399497019","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399497012":["hashtag1","hashtag2"]},{"1399497021":["hashtag1","hashtag2"]},{"1399497023":["hashtag1","hashtag2"]},{"1399497017":["hashtag1","hashtag2"]},{"1399497016":["hashtag1","hashtag2"]},{"1399497019":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399497012, 1399497021, 1399497023, 1399497017, 1399497016, 1399497019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.931190490722656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 12:31:32.444180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 12:31:42.399385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_19_1562.jpg', '/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_20_1662.jpg', '/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_24_1672.jpg', '/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_25_1710.jpg', '/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_27_1595.jpg', '/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_29_1747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_19_1562.jpg
/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_20_1662.jpg
/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_24_1672.jpg
/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_25_1710.jpg
/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_27_1595.jpg
/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_29_1747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399497033","1399497036","1399497035","1399497032","1399497034","1399497028"],"photo_ids_order":["1399497028","1399497032","1399497033","1399497034","1399497035","1399497036"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/61c6119f46651fba35a9a6d1eaf838ca.jpg","text":"TemporaryFile(/tmp/multipartBody1649839735290322930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798363103,"filename":"image_05112025_14_52_24_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/15/721a906461d6de884a717a14a8a21214.jpg","text":"TemporaryFile(/tmp/multipartBody5989168578607007558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798363103,"filename":"image_05112025_14_52_29_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/15/66a33c10fa86d3f86efd1b8b54cf7081.jpg","text":"TemporaryFile(/tmp/multipartBody3860143330742020188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798363103,"filename":"image_05112025_14_52_27_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/15/42bb619c97939e97f3759e950ad4f04d.jpg","text":"TemporaryFile(/tmp/multipartBody7325596280072352953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798363103,"filename":"image_05112025_14_52_20_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/15/b1995e06719dcffa0ebdccc7a4bbef95.jpg","text":"TemporaryFile(/tmp/multipartBody8089425563795466334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798363103,"filename":"image_05112025_14_52_25_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/15/7719fb5a88ca13a3eca3c19db6f82d51.jpg","text":"TemporaryFile(/tmp/multipartBody9173873191394757286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798363103,"filename":"image_05112025_14_52_19_1562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399497033","file1":"1399497032","file0":"1399497028","file4":"1399497035","file5":"1399497036","file3":"1399497034"},"map_files_photo_id_array":[{"photo_id":"1399497036","filename":"file5"},{"photo_id":"1399497033","filename":"file2"},{"photo_id":"1399497035","filename":"file4"},{"photo_id":"1399497032","filename":"file1"},{"photo_id":"1399497028","filename":"file0"},{"photo_id":"1399497034","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399497033":["hashtag1","hashtag2"]},{"1399497036":["hashtag1","hashtag2"]},{"1399497035":["hashtag1","hashtag2"]},{"1399497032":["hashtag1","hashtag2"]},{"1399497034":["hashtag1","hashtag2"]},{"1399497028":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399497033, 1399497036, 1399497035, 1399497032, 1399497034, 1399497028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.25720429420471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 12:32:22.629944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/11/59/image_15122025_11_59_44_9803.jpg', '/home/pi/Desktop/images/15122025/11/59/image_15122025_11_59_55_10788.jpg', '/home/pi/Desktop/images/15122025/12/00/image_15122025_12_00_14_10054.jpg', '/home/pi/Desktop/images/15122025/12/00/image_15122025_12_00_25_10757.jpg', '/home/pi/Desktop/images/15122025/12/00/image_15122025_12_00_35_9761.jpg', '/home/pi/Desktop/images/15122025/12/00/image_15122025_12_00_44_9580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/11/59/image_15122025_11_59_44_9803.jpg
/home/pi/Desktop/images/15122025/11/59/image_15122025_11_59_55_10788.jpg
/home/pi/Desktop/images/15122025/12/00/image_15122025_12_00_14_10054.jpg
/home/pi/Desktop/images/15122025/12/00/image_15122025_12_00_25_10757.jpg
/home/pi/Desktop/images/15122025/12/00/image_15122025_12_00_35_9761.jpg
/home/pi/Desktop/images/15122025/12/00/image_15122025_12_00_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":["1399497051","1399497045","1399497060","1399497042","1399497040","1399497037"],"photo_ids_order":["1399497037","1399497040","1399497042","1399497045","1399497051","1399497060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4948be7cac5b63ee37d919f787a76c89.jpg","text":"TemporaryFile(/tmp/multipartBody2766401549334647240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798403259,"filename":"image_15122025_12_00_35_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/225ff387f4121485498d1b1d2a55fbfc.jpg","text":"TemporaryFile(/tmp/multipartBody5178990786305144370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798403259,"filename":"image_15122025_12_00_25_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c68eb5d9bb3dc644c5ea6269571579d4.jpg","text":"TemporaryFile(/tmp/multipartBody1323586697344427341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798403259,"filename":"image_15122025_12_00_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/15/a46641c882b7b221c559a5863db54e59.jpg","text":"TemporaryFile(/tmp/multipartBody5981644606291908867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798403259,"filename":"image_15122025_12_00_14_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0c64acee90e7fdb5ad13a33a8ae669a5.jpg","text":"TemporaryFile(/tmp/multipartBody994320303047728140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798403259,"filename":"image_15122025_11_59_55_10788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9515115aade1e4d2b9053a35d1ca290f.jpg","text":"TemporaryFile(/tmp/multipartBody4822739504993253821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798403259,"filename":"image_15122025_11_59_44_9803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399497042","file1":"1399497040","file0":"1399497037","file4":"1399497051","file5":"1399497060","file3":"1399497045"},"map_files_photo_id_array":[{"photo_id":"1399497060","filename":"file5"},{"photo_id":"1399497042","filename":"file2"},{"photo_id":"1399497051","filename":"file4"},{"photo_id":"1399497040","filename":"file1"},{"photo_id":"1399497037","filename":"file0"},{"photo_id":"1399497045","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399497051":["hashtag1","hashtag2"]},{"1399497045":["hashtag1","hashtag2"]},{"1399497060":["hashtag1","hashtag2"]},{"1399497042":["hashtag1","hashtag2"]},{"1399497040":["hashtag1","hashtag2"]},{"1399497037":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399497051, 1399497045, 1399497060, 1399497042, 1399497040, 1399497037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.54056239128113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 12:33:02.695520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/00/image_15122025_12_00_55_10728.jpg', '/home/pi/Desktop/images/15122025/12/00/image_15122025_12_01_05_9678.jpg', '/home/pi/Desktop/images/15122025/12/01/image_15122025_12_01_14_9678.jpg', '/home/pi/Desktop/images/15122025/12/01/image_15122025_12_01_24_9840.jpg', '/home/pi/Desktop/images/15122025/12/01/image_15122025_12_01_35_10849.jpg', '/home/pi/Desktop/images/15122025/12/01/image_15122025_12_01_45_9792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/00/image_15122025_12_00_55_10728.jpg
/home/pi/Desktop/images/15122025/12/00/image_15122025_12_01_05_9678.jpg
/home/pi/Desktop/images/15122025/12/01/image_15122025_12_01_14_9678.jpg
/home/pi/Desktop/images/15122025/12/01/image_15122025_12_01_24_9840.jpg
/home/pi/Desktop/images/15122025/12/01/image_15122025_12_01_35_10849.jpg
/home/pi/Desktop/images/15122025/12/01/image_15122025_12_01_45_9792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399497098","1399497088","1399497067","1399497093","1399497096","1399497084"],"photo_ids_order":["1399497067","1399497084","1399497088","1399497093","1399497096","1399497098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ffac81aef2acc345530570b3502c5a6d.jpg","text":"TemporaryFile(/tmp/multipartBody7674948333168188518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798443408,"filename":"image_15122025_12_01_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/15/3b9cc78a6d15a6b719968bce636ede5f.jpg","text":"TemporaryFile(/tmp/multipartBody8742395234912027781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798443408,"filename":"image_15122025_12_01_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/15/e74de63691771e20c8c78e56d05bee22.jpg","text":"TemporaryFile(/tmp/multipartBody140450760502801826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798443408,"filename":"image_15122025_12_00_55_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/15/71f0c52d416706be6574bc2c2d042dfc.jpg","text":"TemporaryFile(/tmp/multipartBody8101330647298469595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798443408,"filename":"image_15122025_12_01_24_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a069d8fda175636236e86865b4e3727c.jpg","text":"TemporaryFile(/tmp/multipartBody3025008620958154276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798443408,"filename":"image_15122025_12_01_35_10849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/767af929249a451c5920f8fa2e6d6d6f.jpg","text":"TemporaryFile(/tmp/multipartBody4069721374464511870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798443408,"filename":"image_15122025_12_01_05_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399497088","file1":"1399497084","file0":"1399497067","file4":"1399497096","file5":"1399497098","file3":"1399497093"},"map_files_photo_id_array":[{"photo_id":"1399497098","filename":"file5"},{"photo_id":"1399497088","filename":"file2"},{"photo_id":"1399497096","filename":"file4"},{"photo_id":"1399497084","filename":"file1"},{"photo_id":"1399497067","filename":"file0"},{"photo_id":"1399497093","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399497098":["hashtag1","hashtag2"]},{"1399497088":["hashtag1","hashtag2"]},{"1399497067":["hashtag1","hashtag2"]},{"1399497093":["hashtag1","hashtag2"]},{"1399497096":["hashtag1","hashtag2"]},{"1399497084":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399497098, 1399497088, 1399497067, 1399497093, 1399497096, 1399497084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.06957173347473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 12:34:02.799847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/01/image_15122025_12_01_55_9742.jpg', '/home/pi/Desktop/images/15122025/12/01/image_15122025_12_02_04_9743.jpg', '/home/pi/Desktop/images/15122025/12/02/image_15122025_12_02_15_10677.jpg', '/home/pi/Desktop/images/15122025/12/02/image_15122025_12_02_25_9606.jpg', '/home/pi/Desktop/images/15122025/12/02/image_15122025_12_02_34_9644.jpg', '/home/pi/Desktop/images/15122025/12/02/image_15122025_12_02_45_10718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/01/image_15122025_12_01_55_9742.jpg
/home/pi/Desktop/images/15122025/12/01/image_15122025_12_02_04_9743.jpg
/home/pi/Desktop/images/15122025/12/02/image_15122025_12_02_15_10677.jpg
/home/pi/Desktop/images/15122025/12/02/image_15122025_12_02_25_9606.jpg
/home/pi/Desktop/images/15122025/12/02/image_15122025_12_02_34_9644.jpg
/home/pi/Desktop/images/15122025/12/02/image_15122025_12_02_45_10718.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.622852087020874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 12:34:12.119882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 12:34:22.139879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/01/image_15122025_12_01_55_9742.jpg', '/home/pi/Desktop/images/15122025/12/01/image_15122025_12_02_04_9743.jpg', '/home/pi/Desktop/images/15122025/12/02/image_15122025_12_02_15_10677.jpg', '/home/pi/Desktop/images/15122025/12/02/image_15122025_12_02_25_9606.jpg', '/home/pi/Desktop/images/15122025/12/02/image_15122025_12_02_34_9644.jpg', '/home/pi/Desktop/images/15122025/12/02/image_15122025_12_02_45_10718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/01/image_15122025_12_01_55_9742.jpg
/home/pi/Desktop/images/15122025/12/01/image_15122025_12_02_04_9743.jpg
/home/pi/Desktop/images/15122025/12/02/image_15122025_12_02_15_10677.jpg
/home/pi/Desktop/images/15122025/12/02/image_15122025_12_02_25_9606.jpg
/home/pi/Desktop/images/15122025/12/02/image_15122025_12_02_34_9644.jpg
/home/pi/Desktop/images/15122025/12/02/image_15122025_12_02_45_10718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399497114","1399497119","1399497110","1399497127","1399497121","1399497124"],"photo_ids_order":["1399497110","1399497114","1399497119","1399497121","1399497124","1399497127"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/03450cabab43dd35206e87f13e9399c4.jpg","text":"TemporaryFile(/tmp/multipartBody7130434770694888385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798524716,"filename":"image_15122025_12_02_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/15/0ac06c95ddce651a2f15c6fac57bcb80.jpg","text":"TemporaryFile(/tmp/multipartBody1814487618252576799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798524716,"filename":"image_15122025_12_02_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/15/2a9efe039811310912d01f358b99f2db.jpg","text":"TemporaryFile(/tmp/multipartBody3450906344470469379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798524716,"filename":"image_15122025_12_01_55_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9eef5d90e2b7431a82e310f56f7d6de0.jpg","text":"TemporaryFile(/tmp/multipartBody2902370984106299798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798524716,"filename":"image_15122025_12_02_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/15/70114321b9e3262e1c6d704213439fbe.jpg","text":"TemporaryFile(/tmp/multipartBody8078821772199343006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798524716,"filename":"image_15122025_12_02_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/15/a60f0be8369407705335d5ac65203252.jpg","text":"TemporaryFile(/tmp/multipartBody8114614451093786685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798524716,"filename":"image_15122025_12_02_34_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399497119","file1":"1399497114","file0":"1399497110","file4":"1399497124","file5":"1399497127","file3":"1399497121"},"map_files_photo_id_array":[{"photo_id":"1399497127","filename":"file5"},{"photo_id":"1399497119","filename":"file2"},{"photo_id":"1399497124","filename":"file4"},{"photo_id":"1399497114","filename":"file1"},{"photo_id":"1399497110","filename":"file0"},{"photo_id":"1399497121","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399497114":["hashtag1","hashtag2"]},{"1399497119":["hashtag1","hashtag2"]},{"1399497110":["hashtag1","hashtag2"]},{"1399497127":["hashtag1","hashtag2"]},{"1399497121":["hashtag1","hashtag2"]},{"1399497124":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399497114, 1399497119, 1399497110, 1399497127, 1399497121, 1399497124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.56467390060425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 12:35:12.417238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 12:35:22.479524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/02/image_15122025_12_02_54_9353.jpg', '/home/pi/Desktop/images/15122025/12/02/image_15122025_12_03_05_10768.jpg', '/home/pi/Desktop/images/15122025/12/03/image_15122025_12_03_15_9651.jpg', '/home/pi/Desktop/images/15122025/12/03/image_15122025_12_03_25_9744.jpg', '/home/pi/Desktop/images/15122025/12/03/image_15122025_12_03_34_9700.jpg', '/home/pi/Desktop/images/15122025/12/03/image_15122025_12_03_45_10743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/02/image_15122025_12_02_54_9353.jpg
/home/pi/Desktop/images/15122025/12/02/image_15122025_12_03_05_10768.jpg
/home/pi/Desktop/images/15122025/12/03/image_15122025_12_03_15_9651.jpg
/home/pi/Desktop/images/15122025/12/03/image_15122025_12_03_25_9744.jpg
/home/pi/Desktop/images/15122025/12/03/image_15122025_12_03_34_9700.jpg
/home/pi/Desktop/images/15122025/12/03/image_15122025_12_03_45_10743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399497129","1399497152","1399497149","1399497131","1399497145","1399497180"],"photo_ids_order":["1399497129","1399497131","1399497145","1399497149","1399497152","1399497180"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/546d21779bedd76602211670f46e8f6a.jpg","text":"TemporaryFile(/tmp/multipartBody1606223421798773505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798583125,"filename":"image_15122025_12_02_54_9353.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/44fdd88979c9cbcf7386be9e91bebc8b.jpg","text":"TemporaryFile(/tmp/multipartBody5202032314222870444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798583125,"filename":"image_15122025_12_03_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/15/1f6b90603b58e6a1b74629f74e93b682.jpg","text":"TemporaryFile(/tmp/multipartBody6451263994618222635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798583125,"filename":"image_15122025_12_03_25_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/827e71a39ae1b60d0d8cee8e3ab91aa1.jpg","text":"TemporaryFile(/tmp/multipartBody7559595472673821934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798583125,"filename":"image_15122025_12_03_05_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/15/0a9ab50903334ecfe82b9a62988767fb.jpg","text":"TemporaryFile(/tmp/multipartBody8430943015642172757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798583125,"filename":"image_15122025_12_03_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/15/8d26aac12359b08dc3426025350f0caf.jpg","text":"TemporaryFile(/tmp/multipartBody8802436292558907181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798583125,"filename":"image_15122025_12_03_45_10743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399497145","file1":"1399497131","file0":"1399497129","file4":"1399497152","file5":"1399497180","file3":"1399497149"},"map_files_photo_id_array":[{"photo_id":"1399497180","filename":"file5"},{"photo_id":"1399497145","filename":"file2"},{"photo_id":"1399497152","filename":"file4"},{"photo_id":"1399497131","filename":"file1"},{"photo_id":"1399497129","filename":"file0"},{"photo_id":"1399497149","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399497129":["hashtag1","hashtag2"]},{"1399497152":["hashtag1","hashtag2"]},{"1399497149":["hashtag1","hashtag2"]},{"1399497131":["hashtag1","hashtag2"]},{"1399497145":["hashtag1","hashtag2"]},{"1399497180":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399497129, 1399497152, 1399497149, 1399497131, 1399497145, 1399497180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.63335084915161 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 12:36:12.580588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 12:36:22.637648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/03/image_15122025_12_03_55_9845.jpg', '/home/pi/Desktop/images/15122025/12/03/image_15122025_12_04_05_9788.jpg', '/home/pi/Desktop/images/15122025/12/04/image_15122025_12_04_14_9623.jpg', '/home/pi/Desktop/images/15122025/12/04/image_15122025_12_04_25_10741.jpg', '/home/pi/Desktop/images/15122025/12/04/image_15122025_12_04_35_9650.jpg', '/home/pi/Desktop/images/15122025/12/04/image_15122025_12_04_44_9541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/03/image_15122025_12_03_55_9845.jpg
/home/pi/Desktop/images/15122025/12/03/image_15122025_12_04_05_9788.jpg
/home/pi/Desktop/images/15122025/12/04/image_15122025_12_04_14_9623.jpg
/home/pi/Desktop/images/15122025/12/04/image_15122025_12_04_25_10741.jpg
/home/pi/Desktop/images/15122025/12/04/image_15122025_12_04_35_9650.jpg
/home/pi/Desktop/images/15122025/12/04/image_15122025_12_04_44_9541.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5218122005462646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 12:36:32.748963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 12:36:42.782409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_30_1671.jpg', '/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_34_3794.jpg', '/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_37_2795.jpg', '/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_40_2619.jpg', '/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_43_3594.jpg', '/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_46_2606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_30_1671.jpg
/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_34_3794.jpg
/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_37_2795.jpg
/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_40_2619.jpg
/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_43_3594.jpg
/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_46_2606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399497201","1399497203","1399497206","1399497202","1399497205","1399497198"],"photo_ids_order":["1399497198","1399497201","1399497202","1399497203","1399497205","1399497206"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2fee9b3523e6e7d87e1849ac6ff81ec2.jpg","text":"TemporaryFile(/tmp/multipartBody4977962294142971141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798663561,"filename":"image_05112025_14_52_34_3794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3974d9e341a508f2ee10ebf23b71e3d5.jpg","text":"TemporaryFile(/tmp/multipartBody9164778565557826085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798663561,"filename":"image_05112025_14_52_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/15/3cd871c1a30983ee33e63fc67d3234b6.jpg","text":"TemporaryFile(/tmp/multipartBody6687778104637836946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798663561,"filename":"image_05112025_14_52_46_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/15/4639377217e31d3eeeb9c327b1f0e615.jpg","text":"TemporaryFile(/tmp/multipartBody6179920194135415750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798663561,"filename":"image_05112025_14_52_37_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/36defd19b3188e6fed9cd74dc69bf074.jpg","text":"TemporaryFile(/tmp/multipartBody2728518596078423584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798663561,"filename":"image_05112025_14_52_43_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/15/e1efb3e349c82006f7c64011058551e1.jpg","text":"TemporaryFile(/tmp/multipartBody5089182533778820935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798663561,"filename":"image_05112025_14_52_30_1671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399497202","file1":"1399497201","file0":"1399497198","file4":"1399497205","file5":"1399497206","file3":"1399497203"},"map_files_photo_id_array":[{"photo_id":"1399497206","filename":"file5"},{"photo_id":"1399497202","filename":"file2"},{"photo_id":"1399497205","filename":"file4"},{"photo_id":"1399497201","filename":"file1"},{"photo_id":"1399497198","filename":"file0"},{"photo_id":"1399497203","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399497201":["hashtag1","hashtag2"]},{"1399497203":["hashtag1","hashtag2"]},{"1399497206":["hashtag1","hashtag2"]},{"1399497202":["hashtag1","hashtag2"]},{"1399497205":["hashtag1","hashtag2"]},{"1399497198":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399497201, 1399497203, 1399497206, 1399497202, 1399497205, 1399497198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72707462310791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 12:37:22.066563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/03/image_15122025_12_03_55_9845.jpg', '/home/pi/Desktop/images/15122025/12/03/image_15122025_12_04_05_9788.jpg', '/home/pi/Desktop/images/15122025/12/04/image_15122025_12_04_14_9623.jpg', '/home/pi/Desktop/images/15122025/12/04/image_15122025_12_04_25_10741.jpg', '/home/pi/Desktop/images/15122025/12/04/image_15122025_12_04_35_9650.jpg', '/home/pi/Desktop/images/15122025/12/04/image_15122025_12_04_44_9541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/03/image_15122025_12_03_55_9845.jpg
/home/pi/Desktop/images/15122025/12/03/image_15122025_12_04_05_9788.jpg
/home/pi/Desktop/images/15122025/12/04/image_15122025_12_04_14_9623.jpg
/home/pi/Desktop/images/15122025/12/04/image_15122025_12_04_25_10741.jpg
/home/pi/Desktop/images/15122025/12/04/image_15122025_12_04_35_9650.jpg
/home/pi/Desktop/images/15122025/12/04/image_15122025_12_04_44_9541.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399497240","1399497257","1399497262","1399497259","1399497232","1399497223"],"photo_ids_order":["1399497223","1399497232","1399497240","1399497257","1399497259","1399497262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/92989262d2dbe894afdfddf42f8452e0.jpg","text":"TemporaryFile(/tmp/multipartBody4541742814372161743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798702733,"filename":"image_15122025_12_04_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/15/a0cd087b2d7b31aa75013eff2fe03e11.jpg","text":"TemporaryFile(/tmp/multipartBody1726135273855480719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798702733,"filename":"image_15122025_12_04_25_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/aa5831d3ca0c5fe3729fe37ea8d13133.jpg","text":"TemporaryFile(/tmp/multipartBody4687750911088978342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798702733,"filename":"image_15122025_12_04_44_9541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1c2159fb4881c2fe79a61d9dd26bf9a7.jpg","text":"TemporaryFile(/tmp/multipartBody7695263468641256923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798702733,"filename":"image_15122025_12_04_35_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b8b2cc239164420a9099da77f21199f2.jpg","text":"TemporaryFile(/tmp/multipartBody8172243560111761360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798702733,"filename":"image_15122025_12_04_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/15/487b19787c4967d2e37d46333cb06d66.jpg","text":"TemporaryFile(/tmp/multipartBody6824100275442157244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798702733,"filename":"image_15122025_12_03_55_9845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399497240","file1":"1399497232","file0":"1399497223","file4":"1399497259","file5":"1399497262","file3":"1399497257"},"map_files_photo_id_array":[{"photo_id":"1399497262","filename":"file5"},{"photo_id":"1399497240","filename":"file2"},{"photo_id":"1399497259","filename":"file4"},{"photo_id":"1399497232","filename":"file1"},{"photo_id":"1399497223","filename":"file0"},{"photo_id":"1399497257","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399497240":["hashtag1","hashtag2"]},{"1399497257":["hashtag1","hashtag2"]},{"1399497262":["hashtag1","hashtag2"]},{"1399497259":["hashtag1","hashtag2"]},{"1399497232":["hashtag1","hashtag2"]},{"1399497223":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399497240, 1399497257, 1399497262, 1399497259, 1399497232, 1399497223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31484389305115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 12:38:02.751023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/04/image_15122025_12_04_55_10673.jpg', '/home/pi/Desktop/images/15122025/12/04/image_15122025_12_05_05_9791.jpg', '/home/pi/Desktop/images/15122025/12/05/image_15122025_12_05_14_9688.jpg', '/home/pi/Desktop/images/15122025/12/05/image_15122025_12_05_25_10765.jpg', '/home/pi/Desktop/images/15122025/12/05/image_15122025_12_05_35_9762.jpg', '/home/pi/Desktop/images/15122025/12/05/image_15122025_12_05_45_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/04/image_15122025_12_04_55_10673.jpg
/home/pi/Desktop/images/15122025/12/04/image_15122025_12_05_05_9791.jpg
/home/pi/Desktop/images/15122025/12/05/image_15122025_12_05_14_9688.jpg
/home/pi/Desktop/images/15122025/12/05/image_15122025_12_05_25_10765.jpg
/home/pi/Desktop/images/15122025/12/05/image_15122025_12_05_35_9762.jpg
/home/pi/Desktop/images/15122025/12/05/image_15122025_12_05_45_9717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399497270","1399497287","1399497281","1399497283","1399497285","1399497282"],"photo_ids_order":["1399497270","1399497281","1399497282","1399497283","1399497285","1399497287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3be9a954dc40c2705bb6b7d7d77ca361.jpg","text":"TemporaryFile(/tmp/multipartBody3604423224032219292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798743391,"filename":"image_15122025_12_04_55_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/65d8e64f70b7229ef0ab770d706ef6ba.jpg","text":"TemporaryFile(/tmp/multipartBody1027349754046045012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798743391,"filename":"image_15122025_12_05_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/15/150476e3ce758e4fa309be85c05f6cbd.jpg","text":"TemporaryFile(/tmp/multipartBody2641321277833901482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798743391,"filename":"image_15122025_12_05_05_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/06d251b29de79f3326ec941bc4cfcb80.jpg","text":"TemporaryFile(/tmp/multipartBody5993521863478903255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798743391,"filename":"image_15122025_12_05_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/15/216f39b209eb8eeee5454d1edf9d864b.jpg","text":"TemporaryFile(/tmp/multipartBody7494015963337868993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798743391,"filename":"image_15122025_12_05_35_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/66d4697ff7ec3ff4967e3c1bea694546.jpg","text":"TemporaryFile(/tmp/multipartBody3384431333167956706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798743391,"filename":"image_15122025_12_05_14_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399497282","file1":"1399497281","file0":"1399497270","file4":"1399497285","file5":"1399497287","file3":"1399497283"},"map_files_photo_id_array":[{"photo_id":"1399497287","filename":"file5"},{"photo_id":"1399497282","filename":"file2"},{"photo_id":"1399497285","filename":"file4"},{"photo_id":"1399497281","filename":"file1"},{"photo_id":"1399497270","filename":"file0"},{"photo_id":"1399497283","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399497270":["hashtag1","hashtag2"]},{"1399497287":["hashtag1","hashtag2"]},{"1399497281":["hashtag1","hashtag2"]},{"1399497283":["hashtag1","hashtag2"]},{"1399497285":["hashtag1","hashtag2"]},{"1399497282":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399497270, 1399497287, 1399497281, 1399497283, 1399497285, 1399497282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59404754638672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 12:38:42.227190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_49_2653.jpg', '/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_52_3593.jpg', '/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_55_2730.jpg', '/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_58_2687.jpg', '/home/pi/Desktop/images/05112025/14/53/image_05112025_14_53_04_2648.jpg', '/home/pi/Desktop/images/05112025/14/53/image_05112025_14_53_07_2564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_49_2653.jpg
/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_52_3593.jpg
/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_55_2730.jpg
/home/pi/Desktop/images/05112025/14/52/image_05112025_14_52_58_2687.jpg
/home/pi/Desktop/images/05112025/14/53/image_05112025_14_53_04_2648.jpg
/home/pi/Desktop/images/05112025/14/53/image_05112025_14_53_07_2564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399497336","1399497353","1399497314","1399497338","1399497337","1399497334"],"photo_ids_order":["1399497314","1399497334","1399497336","1399497337","1399497338","1399497353"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c7e9e5bc94c8598db93c9dd37af2504d.jpg","text":"TemporaryFile(/tmp/multipartBody8306639132873499916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798782936,"filename":"image_05112025_14_52_55_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/15/f6b91834e37ba0f0f6b1209cae871212.jpg","text":"TemporaryFile(/tmp/multipartBody981895578395379364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798782936,"filename":"image_05112025_14_53_07_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/15/f2a4c01107dd792f04479301e76a5c78.jpg","text":"TemporaryFile(/tmp/multipartBody8947071834771759644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798782936,"filename":"image_05112025_14_52_49_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/15/94618839fc1c88cf30500655aaf59fb0.jpg","text":"TemporaryFile(/tmp/multipartBody4108699883711603902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798782936,"filename":"image_05112025_14_53_04_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/50ab525ebea533c6b005835e43aa8d19.jpg","text":"TemporaryFile(/tmp/multipartBody756263102106566893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798782936,"filename":"image_05112025_14_52_58_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/15/ad2d559b048e710fb043e2ee83e9909b.jpg","text":"TemporaryFile(/tmp/multipartBody2652615650202052217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798782936,"filename":"image_05112025_14_52_52_3593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399497336","file1":"1399497334","file0":"1399497314","file4":"1399497338","file5":"1399497353","file3":"1399497337"},"map_files_photo_id_array":[{"photo_id":"1399497353","filename":"file5"},{"photo_id":"1399497336","filename":"file2"},{"photo_id":"1399497338","filename":"file4"},{"photo_id":"1399497334","filename":"file1"},{"photo_id":"1399497314","filename":"file0"},{"photo_id":"1399497337","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399497336":["hashtag1","hashtag2"]},{"1399497353":["hashtag1","hashtag2"]},{"1399497314":["hashtag1","hashtag2"]},{"1399497338":["hashtag1","hashtag2"]},{"1399497337":["hashtag1","hashtag2"]},{"1399497334":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399497336, 1399497353, 1399497314, 1399497338, 1399497337, 1399497334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91932010650635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 12:39:22.563048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/05/image_15122025_12_05_54_9883.jpg', '/home/pi/Desktop/images/15122025/12/05/image_15122025_12_06_04_9767.jpg', '/home/pi/Desktop/images/15122025/12/06/image_15122025_12_06_15_10699.jpg', '/home/pi/Desktop/images/15122025/12/06/image_15122025_12_06_25_9685.jpg', '/home/pi/Desktop/images/15122025/12/06/image_15122025_12_06_34_9589.jpg', '/home/pi/Desktop/images/15122025/12/06/image_15122025_12_06_45_10708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/05/image_15122025_12_05_54_9883.jpg
/home/pi/Desktop/images/15122025/12/05/image_15122025_12_06_04_9767.jpg
/home/pi/Desktop/images/15122025/12/06/image_15122025_12_06_15_10699.jpg
/home/pi/Desktop/images/15122025/12/06/image_15122025_12_06_25_9685.jpg
/home/pi/Desktop/images/15122025/12/06/image_15122025_12_06_34_9589.jpg
/home/pi/Desktop/images/15122025/12/06/image_15122025_12_06_45_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":["1399497383","1399497461","1399497535","1399497532","1399497498","1399497421"],"photo_ids_order":["1399497383","1399497421","1399497461","1399497498","1399497532","1399497535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4f63d5a0e34ddfcc883c488df1806718.jpg","text":"TemporaryFile(/tmp/multipartBody7505361664797250962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798823198,"filename":"image_15122025_12_05_54_9883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/70d00f89fdeddb29adcf0dcbb0923a4d.jpg","text":"TemporaryFile(/tmp/multipartBody6836054520493353174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798823198,"filename":"image_15122025_12_06_15_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b8d618d23ba684e51d58538df9d653e8.jpg","text":"TemporaryFile(/tmp/multipartBody489502745118741605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798823198,"filename":"image_15122025_12_06_45_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c32ca106211b53c0e46fc8723996449f.jpg","text":"TemporaryFile(/tmp/multipartBody6151875502979070975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798823198,"filename":"image_15122025_12_06_34_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0a89c910b8dca651c293267d798cafd6.jpg","text":"TemporaryFile(/tmp/multipartBody5993670182954962813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798823198,"filename":"image_15122025_12_06_25_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/066eae762bdd714c8b45d281813ce6c8.jpg","text":"TemporaryFile(/tmp/multipartBody5643664680637238051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798823198,"filename":"image_15122025_12_06_04_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399497461","file1":"1399497421","file0":"1399497383","file4":"1399497532","file5":"1399497535","file3":"1399497498"},"map_files_photo_id_array":[{"photo_id":"1399497535","filename":"file5"},{"photo_id":"1399497461","filename":"file2"},{"photo_id":"1399497532","filename":"file4"},{"photo_id":"1399497421","filename":"file1"},{"photo_id":"1399497383","filename":"file0"},{"photo_id":"1399497498","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399497383":["hashtag1","hashtag2"]},{"1399497461":["hashtag1","hashtag2"]},{"1399497535":["hashtag1","hashtag2"]},{"1399497532":["hashtag1","hashtag2"]},{"1399497498":["hashtag1","hashtag2"]},{"1399497421":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399497383, 1399497461, 1399497535, 1399497532, 1399497498, 1399497421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05317163467407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 12:40:03.086897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/06/image_15122025_12_06_55_9657.jpg', '/home/pi/Desktop/images/15122025/12/06/image_15122025_12_07_05_10590.jpg', '/home/pi/Desktop/images/15122025/12/07/image_15122025_12_07_15_9697.jpg', '/home/pi/Desktop/images/15122025/12/07/image_15122025_12_07_25_9703.jpg', '/home/pi/Desktop/images/15122025/12/07/image_15122025_12_07_34_9711.jpg', '/home/pi/Desktop/images/15122025/12/07/image_15122025_12_07_45_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/06/image_15122025_12_06_55_9657.jpg
/home/pi/Desktop/images/15122025/12/06/image_15122025_12_07_05_10590.jpg
/home/pi/Desktop/images/15122025/12/07/image_15122025_12_07_15_9697.jpg
/home/pi/Desktop/images/15122025/12/07/image_15122025_12_07_25_9703.jpg
/home/pi/Desktop/images/15122025/12/07/image_15122025_12_07_34_9711.jpg
/home/pi/Desktop/images/15122025/12/07/image_15122025_12_07_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":["1399497540","1399497537","1399497539","1399497542","1399497541","1399497538"],"photo_ids_order":["1399497537","1399497538","1399497539","1399497540","1399497541","1399497542"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/771c118be93b2df8a32516684a6c8587.jpg","text":"TemporaryFile(/tmp/multipartBody369967591575255910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798863746,"filename":"image_15122025_12_07_25_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/99f82a674fb8548e72f7771936e25141.jpg","text":"TemporaryFile(/tmp/multipartBody9197440916818344564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798863746,"filename":"image_15122025_12_06_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/15/8f6666cd89f69e7f403252a73f1ab547.jpg","text":"TemporaryFile(/tmp/multipartBody4596059594195447638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798863746,"filename":"image_15122025_12_07_15_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cb45bb8a4ef75a69875bd5513c629f63.jpg","text":"TemporaryFile(/tmp/multipartBody3559238312716890212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798863746,"filename":"image_15122025_12_07_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/15/ce5863faebbb867db1bac41eaaf360e2.jpg","text":"TemporaryFile(/tmp/multipartBody3662830962591810250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798863746,"filename":"image_15122025_12_07_34_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/95d832f439e8c4032f782d8ef025d44c.jpg","text":"TemporaryFile(/tmp/multipartBody4685622331232151130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798863746,"filename":"image_15122025_12_07_05_10590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399497539","file1":"1399497538","file0":"1399497537","file4":"1399497541","file5":"1399497542","file3":"1399497540"},"map_files_photo_id_array":[{"photo_id":"1399497542","filename":"file5"},{"photo_id":"1399497539","filename":"file2"},{"photo_id":"1399497541","filename":"file4"},{"photo_id":"1399497538","filename":"file1"},{"photo_id":"1399497537","filename":"file0"},{"photo_id":"1399497540","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399497540":["hashtag1","hashtag2"]},{"1399497537":["hashtag1","hashtag2"]},{"1399497539":["hashtag1","hashtag2"]},{"1399497542":["hashtag1","hashtag2"]},{"1399497541":["hashtag1","hashtag2"]},{"1399497538":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399497540, 1399497537, 1399497539, 1399497542, 1399497541, 1399497538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.2656466960907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 12:40:42.844443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/53/image_05112025_14_53_11_4227.jpg', '/home/pi/Desktop/images/05112025/14/53/image_05112025_14_53_13_1602.jpg', '/home/pi/Desktop/images/05112025/14/53/image_05112025_14_53_15_2675.jpg', '/home/pi/Desktop/images/05112025/14/53/image_05112025_14_53_19_3770.jpg', '/home/pi/Desktop/images/05112025/14/53/image_05112025_14_53_22_2697.jpg', '/home/pi/Desktop/images/05112025/14/53/image_05112025_14_53_28_3665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/53/image_05112025_14_53_11_4227.jpg
/home/pi/Desktop/images/05112025/14/53/image_05112025_14_53_13_1602.jpg
/home/pi/Desktop/images/05112025/14/53/image_05112025_14_53_15_2675.jpg
/home/pi/Desktop/images/05112025/14/53/image_05112025_14_53_19_3770.jpg
/home/pi/Desktop/images/05112025/14/53/image_05112025_14_53_22_2697.jpg
/home/pi/Desktop/images/05112025/14/53/image_05112025_14_53_28_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":["1399497561","1399497555","1399497557","1399497548","1399497559","1399497552"],"photo_ids_order":["1399497548","1399497552","1399497555","1399497557","1399497559","1399497561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/df99fbcf3f3807d09a993067fb665b4c.jpg","text":"TemporaryFile(/tmp/multipartBody1477955478390673721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798903643,"filename":"image_05112025_14_53_28_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/15/3643843ab155148035f08b5712b3cc5a.jpg","text":"TemporaryFile(/tmp/multipartBody6084050884618988504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798903643,"filename":"image_05112025_14_53_15_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/15/97c6970f8883ea14c42373746f43814d.jpg","text":"TemporaryFile(/tmp/multipartBody281003236205152088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798903643,"filename":"image_05112025_14_53_19_3770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1826e8b6074c8bcacc836d305ce256b7.jpg","text":"TemporaryFile(/tmp/multipartBody195236127214270339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798903643,"filename":"image_05112025_14_53_11_4227.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a0cd10e6fcd901689e1230769ca87e1a.jpg","text":"TemporaryFile(/tmp/multipartBody874183650780039174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798903643,"filename":"image_05112025_14_53_22_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5d6e9e694e0b87437b14ccc49e7fe9da.jpg","text":"TemporaryFile(/tmp/multipartBody5842001104041273249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798903643,"filename":"image_05112025_14_53_13_1602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399497555","file1":"1399497552","file0":"1399497548","file4":"1399497559","file5":"1399497561","file3":"1399497557"},"map_files_photo_id_array":[{"photo_id":"1399497561","filename":"file5"},{"photo_id":"1399497555","filename":"file2"},{"photo_id":"1399497559","filename":"file4"},{"photo_id":"1399497552","filename":"file1"},{"photo_id":"1399497548","filename":"file0"},{"photo_id":"1399497557","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399497561":["hashtag1","hashtag2"]},{"1399497555":["hashtag1","hashtag2"]},{"1399497557":["hashtag1","hashtag2"]},{"1399497548":["hashtag1","hashtag2"]},{"1399497559":["hashtag1","hashtag2"]},{"1399497552":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399497561, 1399497555, 1399497557, 1399497548, 1399497559, 1399497552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.573647260665894 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-15 12:41:32.111957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 12:41:42.062239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/53/image_05112025_14_53_31_2766.jpg', '/home/pi/Desktop/images/05112025/14/53/image_05112025_14_53_34_2720.jpg', '/home/pi/Desktop/images/05112025/14/53/image_05112025_14_53_37_3567.jpg', '/home/pi/Desktop/images/05112025/14/53/image_05112025_14_53_49_2624.jpg', '/home/pi/Desktop/images/05112025/14/53/image_05112025_14_53_51_2655.jpg', '/home/pi/Desktop/images/05112025/14/53/image_05112025_14_53_55_3753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/53/image_05112025_14_53_31_2766.jpg
/home/pi/Desktop/images/05112025/14/53/image_05112025_14_53_34_2720.jpg
/home/pi/Desktop/images/05112025/14/53/image_05112025_14_53_37_3567.jpg
/home/pi/Desktop/images/05112025/14/53/image_05112025_14_53_49_2624.jpg
/home/pi/Desktop/images/05112025/14/53/image_05112025_14_53_51_2655.jpg
/home/pi/Desktop/images/05112025/14/53/image_05112025_14_53_55_3753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399497648","1399497633","1399497621","1399497686","1399497632","1399497619"],"photo_ids_order":["1399497619","1399497621","1399497632","1399497633","1399497648","1399497686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/20f0f090e6eebc55287d019b6fc13651.jpg","text":"TemporaryFile(/tmp/multipartBody7220496784240906858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798962833,"filename":"image_05112025_14_53_51_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/15/81e0db803dabef98be8f70968c84404b.jpg","text":"TemporaryFile(/tmp/multipartBody7130570666762898276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798962833,"filename":"image_05112025_14_53_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/15/36f7f6946906ea68f4b7bf1479bed60a.jpg","text":"TemporaryFile(/tmp/multipartBody8675696618822655470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798962833,"filename":"image_05112025_14_53_34_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/15/ffeedfd31f98afc066583bfcc7c72cf7.jpg","text":"TemporaryFile(/tmp/multipartBody7914400516324885431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798962833,"filename":"image_05112025_14_53_55_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/15/7db5b12ac9b3e0e718b82a15077fefda.jpg","text":"TemporaryFile(/tmp/multipartBody7060360064658890817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798962833,"filename":"image_05112025_14_53_37_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9d8d7727c237a519418213ab5bb67f7e.jpg","text":"TemporaryFile(/tmp/multipartBody8217311632510506780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765798962833,"filename":"image_05112025_14_53_31_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399497632","file1":"1399497621","file0":"1399497619","file4":"1399497648","file5":"1399497686","file3":"1399497633"},"map_files_photo_id_array":[{"photo_id":"1399497686","filename":"file5"},{"photo_id":"1399497632","filename":"file2"},{"photo_id":"1399497648","filename":"file4"},{"photo_id":"1399497621","filename":"file1"},{"photo_id":"1399497619","filename":"file0"},{"photo_id":"1399497633","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399497648":["hashtag1","hashtag2"]},{"1399497633":["hashtag1","hashtag2"]},{"1399497621":["hashtag1","hashtag2"]},{"1399497686":["hashtag1","hashtag2"]},{"1399497632":["hashtag1","hashtag2"]},{"1399497619":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399497648, 1399497633, 1399497621, 1399497686, 1399497632, 1399497619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73988580703735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 12:42:22.285354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/07/image_15122025_12_07_55_9731.jpg', '/home/pi/Desktop/images/15122025/12/07/image_15122025_12_08_04_9753.jpg', '/home/pi/Desktop/images/15122025/12/08/image_15122025_12_08_15_10718.jpg', '/home/pi/Desktop/images/15122025/12/08/image_15122025_12_08_25_9769.jpg', '/home/pi/Desktop/images/15122025/12/08/image_15122025_12_08_35_9690.jpg', '/home/pi/Desktop/images/15122025/12/08/image_15122025_12_08_44_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/07/image_15122025_12_07_55_9731.jpg
/home/pi/Desktop/images/15122025/12/07/image_15122025_12_08_04_9753.jpg
/home/pi/Desktop/images/15122025/12/08/image_15122025_12_08_15_10718.jpg
/home/pi/Desktop/images/15122025/12/08/image_15122025_12_08_25_9769.jpg
/home/pi/Desktop/images/15122025/12/08/image_15122025_12_08_35_9690.jpg
/home/pi/Desktop/images/15122025/12/08/image_15122025_12_08_44_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399497753","1399497755","1399497790","1399497805","1399497808","1399497783"],"photo_ids_order":["1399497753","1399497755","1399497783","1399497790","1399497805","1399497808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4628bdbc72042a70add11a0e7611e69d.jpg","text":"TemporaryFile(/tmp/multipartBody3707981432422335811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799002914,"filename":"image_15122025_12_07_55_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9f3ff3e271dcf29ea963ad1d51d4723d.jpg","text":"TemporaryFile(/tmp/multipartBody7251151089226765440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799002914,"filename":"image_15122025_12_08_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/15/f5897f5ac518cc7ef4a6ae75f1baa5b8.jpg","text":"TemporaryFile(/tmp/multipartBody43923532647381505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799002914,"filename":"image_15122025_12_08_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/15/662fe0499d6b6c7f8451296665e966fd.jpg","text":"TemporaryFile(/tmp/multipartBody2273803727226886093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799002914,"filename":"image_15122025_12_08_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/15/94151bca0a6fc467772b52895f4342de.jpg","text":"TemporaryFile(/tmp/multipartBody3676945244001746458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799002914,"filename":"image_15122025_12_08_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/15/9cdb9efcbadf41f52b186c08c1ee1d0d.jpg","text":"TemporaryFile(/tmp/multipartBody1117281443187661516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799002914,"filename":"image_15122025_12_08_15_10718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399497783","file1":"1399497755","file0":"1399497753","file4":"1399497805","file5":"1399497808","file3":"1399497790"},"map_files_photo_id_array":[{"photo_id":"1399497808","filename":"file5"},{"photo_id":"1399497783","filename":"file2"},{"photo_id":"1399497805","filename":"file4"},{"photo_id":"1399497755","filename":"file1"},{"photo_id":"1399497753","filename":"file0"},{"photo_id":"1399497790","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399497753":["hashtag1","hashtag2"]},{"1399497755":["hashtag1","hashtag2"]},{"1399497790":["hashtag1","hashtag2"]},{"1399497805":["hashtag1","hashtag2"]},{"1399497808":["hashtag1","hashtag2"]},{"1399497783":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399497753, 1399497755, 1399497790, 1399497805, 1399497808, 1399497783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64094424247742 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 12:43:03.318094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/08/image_15122025_12_08_55_10812.jpg', '/home/pi/Desktop/images/15122025/12/08/image_15122025_12_09_05_9690.jpg', '/home/pi/Desktop/images/15122025/12/09/image_15122025_12_09_14_9666.jpg', '/home/pi/Desktop/images/15122025/12/09/image_15122025_12_09_24_9793.jpg', '/home/pi/Desktop/images/15122025/12/09/image_15122025_12_09_35_10745.jpg', '/home/pi/Desktop/images/15122025/12/09/image_15122025_12_09_45_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/08/image_15122025_12_08_55_10812.jpg
/home/pi/Desktop/images/15122025/12/08/image_15122025_12_09_05_9690.jpg
/home/pi/Desktop/images/15122025/12/09/image_15122025_12_09_14_9666.jpg
/home/pi/Desktop/images/15122025/12/09/image_15122025_12_09_24_9793.jpg
/home/pi/Desktop/images/15122025/12/09/image_15122025_12_09_35_10745.jpg
/home/pi/Desktop/images/15122025/12/09/image_15122025_12_09_45_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":["1399497900","1399497902","1399497886","1399497901","1399497904","1399497837"],"photo_ids_order":["1399497837","1399497886","1399497900","1399497901","1399497902","1399497904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/be916efcb35e1dfb051660e20ffb97bc.jpg","text":"TemporaryFile(/tmp/multipartBody3813526216839229075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799044000,"filename":"image_15122025_12_09_14_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b776889ae9d76864d796126d3e83d6c1.jpg","text":"TemporaryFile(/tmp/multipartBody2646960675759876900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799044000,"filename":"image_15122025_12_09_35_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/15/dad8cefce160c87510d7e772411cbc6a.jpg","text":"TemporaryFile(/tmp/multipartBody2601078080539658928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799044000,"filename":"image_15122025_12_09_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/15/669ea4afa13dca129d0d2bb414b4d94b.jpg","text":"TemporaryFile(/tmp/multipartBody7132939111862177428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799044000,"filename":"image_15122025_12_09_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/15/cf04f3e4f111d32ade4680aadb9814ae.jpg","text":"TemporaryFile(/tmp/multipartBody1814199174836671409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799044000,"filename":"image_15122025_12_09_45_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c716392ed60907a586631a1a334553cf.jpg","text":"TemporaryFile(/tmp/multipartBody9019175096885993002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799044000,"filename":"image_15122025_12_08_55_10812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399497900","file1":"1399497886","file0":"1399497837","file4":"1399497902","file5":"1399497904","file3":"1399497901"},"map_files_photo_id_array":[{"photo_id":"1399497904","filename":"file5"},{"photo_id":"1399497900","filename":"file2"},{"photo_id":"1399497902","filename":"file4"},{"photo_id":"1399497886","filename":"file1"},{"photo_id":"1399497837","filename":"file0"},{"photo_id":"1399497901","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399497900":["hashtag1","hashtag2"]},{"1399497902":["hashtag1","hashtag2"]},{"1399497886":["hashtag1","hashtag2"]},{"1399497901":["hashtag1","hashtag2"]},{"1399497904":["hashtag1","hashtag2"]},{"1399497837":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399497900, 1399497902, 1399497886, 1399497901, 1399497904, 1399497837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64591336250305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 12:43:42.515227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/53/image_05112025_14_53_58_2542.jpg', '/home/pi/Desktop/images/05112025/14/53/image_05112025_14_54_00_2635.jpg', '/home/pi/Desktop/images/05112025/14/54/image_05112025_14_54_04_3743.jpg', '/home/pi/Desktop/images/05112025/14/54/image_05112025_14_54_07_2566.jpg', '/home/pi/Desktop/images/05112025/14/54/image_05112025_14_54_09_2812.jpg', '/home/pi/Desktop/images/05112025/14/54/image_05112025_14_54_13_3676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/53/image_05112025_14_53_58_2542.jpg
/home/pi/Desktop/images/05112025/14/53/image_05112025_14_54_00_2635.jpg
/home/pi/Desktop/images/05112025/14/54/image_05112025_14_54_04_3743.jpg
/home/pi/Desktop/images/05112025/14/54/image_05112025_14_54_07_2566.jpg
/home/pi/Desktop/images/05112025/14/54/image_05112025_14_54_09_2812.jpg
/home/pi/Desktop/images/05112025/14/54/image_05112025_14_54_13_3676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399497918","1399497921","1399497920","1399497913","1399497916","1399497919"],"photo_ids_order":["1399497913","1399497916","1399497918","1399497919","1399497920","1399497921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c139b1431ae02c17fdbb4e7a265497d1.jpg","text":"TemporaryFile(/tmp/multipartBody1177098433205181972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799083234,"filename":"image_05112025_14_54_04_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/15/0c0d94b9de35120903cef8f0270e0dbc.jpg","text":"TemporaryFile(/tmp/multipartBody6348307230647447094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799083234,"filename":"image_05112025_14_54_13_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/15/b0d714cfcdcf4ccea3ad7f9b4892333b.jpg","text":"TemporaryFile(/tmp/multipartBody2933688237449924996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799083234,"filename":"image_05112025_14_54_09_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/15/fea3672a8cf5f5dda2660b607470a2a5.jpg","text":"TemporaryFile(/tmp/multipartBody1680730537062710304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799083234,"filename":"image_05112025_14_53_58_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/15/80f1b5d3fad94f3bfa735084efb0272c.jpg","text":"TemporaryFile(/tmp/multipartBody1381318500452553962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799083234,"filename":"image_05112025_14_54_00_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/15/558bcc56096b8d04843067578e750efd.jpg","text":"TemporaryFile(/tmp/multipartBody7287063496303145683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799083234,"filename":"image_05112025_14_54_07_2566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399497918","file1":"1399497916","file0":"1399497913","file4":"1399497920","file5":"1399497921","file3":"1399497919"},"map_files_photo_id_array":[{"photo_id":"1399497921","filename":"file5"},{"photo_id":"1399497918","filename":"file2"},{"photo_id":"1399497920","filename":"file4"},{"photo_id":"1399497916","filename":"file1"},{"photo_id":"1399497913","filename":"file0"},{"photo_id":"1399497919","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399497918":["hashtag1","hashtag2"]},{"1399497921":["hashtag1","hashtag2"]},{"1399497920":["hashtag1","hashtag2"]},{"1399497913":["hashtag1","hashtag2"]},{"1399497916":["hashtag1","hashtag2"]},{"1399497919":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399497918, 1399497921, 1399497920, 1399497913, 1399497916, 1399497919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74735760688782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 12:44:22.804863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/09/image_15122025_12_09_54_9726.jpg', '/home/pi/Desktop/images/15122025/12/09/image_15122025_12_10_04_9779.jpg', '/home/pi/Desktop/images/15122025/12/10/image_15122025_12_10_15_10756.jpg', '/home/pi/Desktop/images/15122025/12/10/image_15122025_12_10_25_9734.jpg', '/home/pi/Desktop/images/15122025/12/10/image_15122025_12_10_34_9657.jpg', '/home/pi/Desktop/images/15122025/12/10/image_15122025_12_10_45_10710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/09/image_15122025_12_09_54_9726.jpg
/home/pi/Desktop/images/15122025/12/09/image_15122025_12_10_04_9779.jpg
/home/pi/Desktop/images/15122025/12/10/image_15122025_12_10_15_10756.jpg
/home/pi/Desktop/images/15122025/12/10/image_15122025_12_10_25_9734.jpg
/home/pi/Desktop/images/15122025/12/10/image_15122025_12_10_34_9657.jpg
/home/pi/Desktop/images/15122025/12/10/image_15122025_12_10_45_10710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399497930","1399497933","1399497923","1399497926","1399497946","1399497928"],"photo_ids_order":["1399497923","1399497926","1399497928","1399497930","1399497933","1399497946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b6e0d5344405ad7db8cc9ab105645abe.jpg","text":"TemporaryFile(/tmp/multipartBody4179823518499246729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799123430,"filename":"image_15122025_12_10_25_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9c60dfea32ba208232ce360ad9372ec9.jpg","text":"TemporaryFile(/tmp/multipartBody2996461163411530516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799123430,"filename":"image_15122025_12_10_34_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/41e67b9b3c61878d7085309b98ef69fe.jpg","text":"TemporaryFile(/tmp/multipartBody5647441287283392839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799123430,"filename":"image_15122025_12_09_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/15/209ab9111855337182b57c702dd42f8a.jpg","text":"TemporaryFile(/tmp/multipartBody8587360130193885399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799123430,"filename":"image_15122025_12_10_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/15/e33472e31e94b2188a0891fb27c7d056.jpg","text":"TemporaryFile(/tmp/multipartBody4583454611779552322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799123430,"filename":"image_15122025_12_10_45_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/25232e0ee409185eafbe77c08a5ca142.jpg","text":"TemporaryFile(/tmp/multipartBody4743980890556658171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799123430,"filename":"image_15122025_12_10_15_10756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399497928","file1":"1399497926","file0":"1399497923","file4":"1399497933","file5":"1399497946","file3":"1399497930"},"map_files_photo_id_array":[{"photo_id":"1399497946","filename":"file5"},{"photo_id":"1399497928","filename":"file2"},{"photo_id":"1399497933","filename":"file4"},{"photo_id":"1399497926","filename":"file1"},{"photo_id":"1399497923","filename":"file0"},{"photo_id":"1399497930","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399497930":["hashtag1","hashtag2"]},{"1399497933":["hashtag1","hashtag2"]},{"1399497923":["hashtag1","hashtag2"]},{"1399497926":["hashtag1","hashtag2"]},{"1399497946":["hashtag1","hashtag2"]},{"1399497928":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399497930, 1399497933, 1399497923, 1399497926, 1399497946, 1399497928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.818196535110474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 12:45:11.939323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 12:45:22.024959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/10/image_15122025_12_10_55_9715.jpg', '/home/pi/Desktop/images/15122025/12/10/image_15122025_12_11_04_9562.jpg', '/home/pi/Desktop/images/15122025/12/11/image_15122025_12_11_15_10714.jpg', '/home/pi/Desktop/images/15122025/12/11/image_15122025_12_11_25_9826.jpg', '/home/pi/Desktop/images/15122025/12/11/image_15122025_12_11_34_9652.jpg', '/home/pi/Desktop/images/15122025/12/11/image_15122025_12_11_44_9980.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/10/image_15122025_12_10_55_9715.jpg
/home/pi/Desktop/images/15122025/12/10/image_15122025_12_11_04_9562.jpg
/home/pi/Desktop/images/15122025/12/11/image_15122025_12_11_15_10714.jpg
/home/pi/Desktop/images/15122025/12/11/image_15122025_12_11_25_9826.jpg
/home/pi/Desktop/images/15122025/12/11/image_15122025_12_11_34_9652.jpg
/home/pi/Desktop/images/15122025/12/11/image_15122025_12_11_44_9980.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5184965133666992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 12:45:31.983256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 12:45:41.995156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/54/image_05112025_14_54_19_2697.jpg', '/home/pi/Desktop/images/05112025/14/54/image_05112025_14_54_22_3594.jpg', '/home/pi/Desktop/images/05112025/14/54/image_05112025_14_54_25_2527.jpg', '/home/pi/Desktop/images/05112025/14/54/image_05112025_14_54_27_2572.jpg', '/home/pi/Desktop/images/05112025/14/54/image_05112025_14_54_31_3656.jpg', '/home/pi/Desktop/images/05112025/14/54/image_05112025_14_54_34_2711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/54/image_05112025_14_54_19_2697.jpg
/home/pi/Desktop/images/05112025/14/54/image_05112025_14_54_22_3594.jpg
/home/pi/Desktop/images/05112025/14/54/image_05112025_14_54_25_2527.jpg
/home/pi/Desktop/images/05112025/14/54/image_05112025_14_54_27_2572.jpg
/home/pi/Desktop/images/05112025/14/54/image_05112025_14_54_31_3656.jpg
/home/pi/Desktop/images/05112025/14/54/image_05112025_14_54_34_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":["1399497965","1399498016","1399498033","1399497970","1399498017","1399498005"],"photo_ids_order":["1399497965","1399497970","1399498005","1399498016","1399498017","1399498033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f3005b730cb7c916a970674aa595d44a.jpg","text":"TemporaryFile(/tmp/multipartBody2386648437548052498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799202719,"filename":"image_05112025_14_54_19_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/15/344051c18d0de4e1d2851e80bdb11d37.jpg","text":"TemporaryFile(/tmp/multipartBody4907006419387680249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799202719,"filename":"image_05112025_14_54_27_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/15/5de8650502a0cf3f9e9db4cb2bd6ee62.jpg","text":"TemporaryFile(/tmp/multipartBody5394178281371401650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799202719,"filename":"image_05112025_14_54_34_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/15/604184ae49e6dae28bf99d558623f4f9.jpg","text":"TemporaryFile(/tmp/multipartBody7372158461612817088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799202719,"filename":"image_05112025_14_54_22_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/15/ca3492f1701c28e5650259210658d62b.jpg","text":"TemporaryFile(/tmp/multipartBody4235397030860627758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799202719,"filename":"image_05112025_14_54_31_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/15/fc202ecf52aa56056c38680553d69f2a.jpg","text":"TemporaryFile(/tmp/multipartBody5404896157789843512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799202719,"filename":"image_05112025_14_54_25_2527.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399498005","file1":"1399497970","file0":"1399497965","file4":"1399498017","file5":"1399498033","file3":"1399498016"},"map_files_photo_id_array":[{"photo_id":"1399498033","filename":"file5"},{"photo_id":"1399498005","filename":"file2"},{"photo_id":"1399498017","filename":"file4"},{"photo_id":"1399497970","filename":"file1"},{"photo_id":"1399497965","filename":"file0"},{"photo_id":"1399498016","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399497965":["hashtag1","hashtag2"]},{"1399498016":["hashtag1","hashtag2"]},{"1399498033":["hashtag1","hashtag2"]},{"1399497970":["hashtag1","hashtag2"]},{"1399498017":["hashtag1","hashtag2"]},{"1399498005":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399497965, 1399498016, 1399498033, 1399497970, 1399498017, 1399498005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.987122535705566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 12:46:22.355467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/10/image_15122025_12_10_55_9715.jpg', '/home/pi/Desktop/images/15122025/12/10/image_15122025_12_11_04_9562.jpg', '/home/pi/Desktop/images/15122025/12/11/image_15122025_12_11_15_10714.jpg', '/home/pi/Desktop/images/15122025/12/11/image_15122025_12_11_25_9826.jpg', '/home/pi/Desktop/images/15122025/12/11/image_15122025_12_11_34_9652.jpg', '/home/pi/Desktop/images/15122025/12/11/image_15122025_12_11_44_9980.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/10/image_15122025_12_10_55_9715.jpg
/home/pi/Desktop/images/15122025/12/10/image_15122025_12_11_04_9562.jpg
/home/pi/Desktop/images/15122025/12/11/image_15122025_12_11_15_10714.jpg
/home/pi/Desktop/images/15122025/12/11/image_15122025_12_11_25_9826.jpg
/home/pi/Desktop/images/15122025/12/11/image_15122025_12_11_34_9652.jpg
/home/pi/Desktop/images/15122025/12/11/image_15122025_12_11_44_9980.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5451040267944336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 12:46:32.364837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 12:46:42.236595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/54/image_05112025_14_54_36_2516.jpg', '/home/pi/Desktop/images/05112025/14/54/image_05112025_14_54_43_2625.jpg', '/home/pi/Desktop/images/05112025/14/54/image_05112025_14_54_45_2625.jpg', '/home/pi/Desktop/images/05112025/14/54/image_05112025_14_54_49_3688.jpg', '/home/pi/Desktop/images/05112025/14/54/image_05112025_14_54_51_2602.jpg', '/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_09_2753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/54/image_05112025_14_54_36_2516.jpg
/home/pi/Desktop/images/05112025/14/54/image_05112025_14_54_43_2625.jpg
/home/pi/Desktop/images/05112025/14/54/image_05112025_14_54_45_2625.jpg
/home/pi/Desktop/images/05112025/14/54/image_05112025_14_54_49_3688.jpg
/home/pi/Desktop/images/05112025/14/54/image_05112025_14_54_51_2602.jpg
/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_09_2753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399498091","1399498088","1399498055","1399498093","1399498092","1399498086"],"photo_ids_order":["1399498055","1399498086","1399498088","1399498091","1399498092","1399498093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f795b4d2380cbc8a256789823b20e71f.jpg","text":"TemporaryFile(/tmp/multipartBody6731897996270365258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799262954,"filename":"image_05112025_14_54_49_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/15/844b841b9889ffef3944323bfd87936c.jpg","text":"TemporaryFile(/tmp/multipartBody8435324180998993851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799262954,"filename":"image_05112025_14_54_45_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/15/a7557ab01134ab5b4374fe3410f39b7c.jpg","text":"TemporaryFile(/tmp/multipartBody1395489596495390609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799262954,"filename":"image_05112025_14_54_36_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/15/4074d52aa74f7e85c2467247a4967e3d.jpg","text":"TemporaryFile(/tmp/multipartBody6600339968835350999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799262954,"filename":"image_05112025_14_55_09_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/15/ccc7c2954f5d681a6b58c9117fea17d4.jpg","text":"TemporaryFile(/tmp/multipartBody3555295693967837021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799262954,"filename":"image_05112025_14_54_51_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/15/d27327bd45e9d1e4fab128b6750c3396.jpg","text":"TemporaryFile(/tmp/multipartBody5111861681827091208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799262954,"filename":"image_05112025_14_54_43_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399498088","file1":"1399498086","file0":"1399498055","file4":"1399498092","file5":"1399498093","file3":"1399498091"},"map_files_photo_id_array":[{"photo_id":"1399498093","filename":"file5"},{"photo_id":"1399498088","filename":"file2"},{"photo_id":"1399498092","filename":"file4"},{"photo_id":"1399498086","filename":"file1"},{"photo_id":"1399498055","filename":"file0"},{"photo_id":"1399498091","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399498091":["hashtag1","hashtag2"]},{"1399498088":["hashtag1","hashtag2"]},{"1399498055":["hashtag1","hashtag2"]},{"1399498093":["hashtag1","hashtag2"]},{"1399498092":["hashtag1","hashtag2"]},{"1399498086":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399498091, 1399498088, 1399498055, 1399498093, 1399498092, 1399498086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05763339996338 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 12:47:22.559325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/10/image_15122025_12_10_55_9715.jpg', '/home/pi/Desktop/images/15122025/12/10/image_15122025_12_11_04_9562.jpg', '/home/pi/Desktop/images/15122025/12/11/image_15122025_12_11_15_10714.jpg', '/home/pi/Desktop/images/15122025/12/11/image_15122025_12_11_25_9826.jpg', '/home/pi/Desktop/images/15122025/12/11/image_15122025_12_11_34_9652.jpg', '/home/pi/Desktop/images/15122025/12/11/image_15122025_12_11_44_9980.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/10/image_15122025_12_10_55_9715.jpg
/home/pi/Desktop/images/15122025/12/10/image_15122025_12_11_04_9562.jpg
/home/pi/Desktop/images/15122025/12/11/image_15122025_12_11_15_10714.jpg
/home/pi/Desktop/images/15122025/12/11/image_15122025_12_11_25_9826.jpg
/home/pi/Desktop/images/15122025/12/11/image_15122025_12_11_34_9652.jpg
/home/pi/Desktop/images/15122025/12/11/image_15122025_12_11_44_9980.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399498101","1399498115","1399498096","1399498099","1399498102","1399498095"],"photo_ids_order":["1399498095","1399498096","1399498099","1399498101","1399498102","1399498115"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/81be0e21e1aee2d36b8cc96266c057ed.jpg","text":"TemporaryFile(/tmp/multipartBody1623380387033376849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799303185,"filename":"image_15122025_12_11_25_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/35da7520815106ffb47772fc8c954fa8.jpg","text":"TemporaryFile(/tmp/multipartBody111497112721872802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799303185,"filename":"image_15122025_12_11_44_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/15/a27b451539d0b33d9c36bcfc540dd4b5.jpg","text":"TemporaryFile(/tmp/multipartBody6991377977155854540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799303185,"filename":"image_15122025_12_11_04_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/901b958521a31275c61596129d769f5e.jpg","text":"TemporaryFile(/tmp/multipartBody4091444953125087561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799303185,"filename":"image_15122025_12_11_15_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ee13ddb39c6569a639606a43e711c3a3.jpg","text":"TemporaryFile(/tmp/multipartBody7603927566228675705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799303185,"filename":"image_15122025_12_11_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/15/2da8ac7d3d0bb61b55eef8ccb450e46c.jpg","text":"TemporaryFile(/tmp/multipartBody6922118408610604584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799303185,"filename":"image_15122025_12_10_55_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399498099","file1":"1399498096","file0":"1399498095","file4":"1399498102","file5":"1399498115","file3":"1399498101"},"map_files_photo_id_array":[{"photo_id":"1399498115","filename":"file5"},{"photo_id":"1399498099","filename":"file2"},{"photo_id":"1399498102","filename":"file4"},{"photo_id":"1399498096","filename":"file1"},{"photo_id":"1399498095","filename":"file0"},{"photo_id":"1399498101","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399498101":["hashtag1","hashtag2"]},{"1399498115":["hashtag1","hashtag2"]},{"1399498096":["hashtag1","hashtag2"]},{"1399498099":["hashtag1","hashtag2"]},{"1399498102":["hashtag1","hashtag2"]},{"1399498095":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399498101, 1399498115, 1399498096, 1399498099, 1399498102, 1399498095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.99672198295593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 12:48:03.258697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/11/image_15122025_12_11_55_10577.jpg', '/home/pi/Desktop/images/15122025/12/11/image_15122025_12_12_05_9701.jpg', '/home/pi/Desktop/images/15122025/12/12/image_15122025_12_12_14_9603.jpg', '/home/pi/Desktop/images/15122025/12/12/image_15122025_12_12_25_10635.jpg', '/home/pi/Desktop/images/15122025/12/12/image_15122025_12_12_35_9641.jpg', '/home/pi/Desktop/images/15122025/12/12/image_15122025_12_12_44_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/11/image_15122025_12_11_55_10577.jpg
/home/pi/Desktop/images/15122025/12/11/image_15122025_12_12_05_9701.jpg
/home/pi/Desktop/images/15122025/12/12/image_15122025_12_12_14_9603.jpg
/home/pi/Desktop/images/15122025/12/12/image_15122025_12_12_25_10635.jpg
/home/pi/Desktop/images/15122025/12/12/image_15122025_12_12_35_9641.jpg
/home/pi/Desktop/images/15122025/12/12/image_15122025_12_12_44_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399498193","1399498346","1399498268","1399498232","1399498307","1399498158"],"photo_ids_order":["1399498158","1399498193","1399498232","1399498268","1399498307","1399498346"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/60b4d163974824150d623a152ddf7fb8.jpg","text":"TemporaryFile(/tmp/multipartBody7578872604870821705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799343904,"filename":"image_15122025_12_12_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/15/381754ae003672bde7748fdbd1dfee8d.jpg","text":"TemporaryFile(/tmp/multipartBody3011754827613018498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799343904,"filename":"image_15122025_12_12_44_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/770915dd434b167b5f1fd2c70410280a.jpg","text":"TemporaryFile(/tmp/multipartBody6370016215540883372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799343904,"filename":"image_15122025_12_12_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/15/064a0c0b7e4135ae0e81c19022de734c.jpg","text":"TemporaryFile(/tmp/multipartBody9149863981841821073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799343904,"filename":"image_15122025_12_12_14_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8c0a903ca231f8557b1c916b9be8f521.jpg","text":"TemporaryFile(/tmp/multipartBody3948179241390027100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799343904,"filename":"image_15122025_12_12_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/15/5a69af3df8069ebe692ea19e7b327644.jpg","text":"TemporaryFile(/tmp/multipartBody638490648497189964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799343904,"filename":"image_15122025_12_11_55_10577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399498232","file1":"1399498193","file0":"1399498158","file4":"1399498307","file5":"1399498346","file3":"1399498268"},"map_files_photo_id_array":[{"photo_id":"1399498346","filename":"file5"},{"photo_id":"1399498232","filename":"file2"},{"photo_id":"1399498307","filename":"file4"},{"photo_id":"1399498193","filename":"file1"},{"photo_id":"1399498158","filename":"file0"},{"photo_id":"1399498268","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399498193":["hashtag1","hashtag2"]},{"1399498346":["hashtag1","hashtag2"]},{"1399498268":["hashtag1","hashtag2"]},{"1399498232":["hashtag1","hashtag2"]},{"1399498307":["hashtag1","hashtag2"]},{"1399498158":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399498193, 1399498346, 1399498268, 1399498232, 1399498307, 1399498158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53000593185425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 12:48:42.663674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_12_2611.jpg', '/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_22_3644.jpg', '/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_25_2499.jpg', '/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_27_2693.jpg', '/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_30_2881.jpg', '/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_34_3691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_12_2611.jpg
/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_22_3644.jpg
/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_25_2499.jpg
/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_27_2693.jpg
/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_30_2881.jpg
/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_34_3691.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6096687316894531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 12:49:02.738801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/12/image_15122025_12_12_55_10706.jpg', '/home/pi/Desktop/images/15122025/12/12/image_15122025_12_13_05_9690.jpg', '/home/pi/Desktop/images/15122025/12/13/image_15122025_12_13_14_9634.jpg', '/home/pi/Desktop/images/15122025/12/13/image_15122025_12_13_25_10734.jpg', '/home/pi/Desktop/images/15122025/12/13/image_15122025_12_13_35_9634.jpg', '/home/pi/Desktop/images/15122025/12/13/image_15122025_12_13_44_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/12/image_15122025_12_12_55_10706.jpg
/home/pi/Desktop/images/15122025/12/12/image_15122025_12_13_05_9690.jpg
/home/pi/Desktop/images/15122025/12/13/image_15122025_12_13_14_9634.jpg
/home/pi/Desktop/images/15122025/12/13/image_15122025_12_13_25_10734.jpg
/home/pi/Desktop/images/15122025/12/13/image_15122025_12_13_35_9634.jpg
/home/pi/Desktop/images/15122025/12/13/image_15122025_12_13_44_9670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399498586","1399498556","1399498616","1399498505","1399498588","1399498572"],"photo_ids_order":["1399498505","1399498556","1399498572","1399498586","1399498588","1399498616"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/12ee06e2f7a3dd9e717a505ebce4ce6d.jpg","text":"TemporaryFile(/tmp/multipartBody9072101011336134765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799403538,"filename":"image_15122025_12_13_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/15/b1b6f28c0b65362c8771e46e5a982c4d.jpg","text":"TemporaryFile(/tmp/multipartBody2503656446199355119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799403538,"filename":"image_15122025_12_13_05_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/08d2735645ba6ecbd24204f34f3a5c29.jpg","text":"TemporaryFile(/tmp/multipartBody1445712182985002791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799403538,"filename":"image_15122025_12_13_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/15/ecc84454598e5d1e8a489721a73f4fe1.jpg","text":"TemporaryFile(/tmp/multipartBody3320488492933821237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799403538,"filename":"image_15122025_12_12_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/15/dba51875d75b2a646155fbcf3ebe4324.jpg","text":"TemporaryFile(/tmp/multipartBody5231205236948446055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799403538,"filename":"image_15122025_12_13_35_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2c5046ee52f73ed25c43fd8b373f171a.jpg","text":"TemporaryFile(/tmp/multipartBody6932730886703446817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799403538,"filename":"image_15122025_12_13_14_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399498572","file1":"1399498556","file0":"1399498505","file4":"1399498588","file5":"1399498616","file3":"1399498586"},"map_files_photo_id_array":[{"photo_id":"1399498616","filename":"file5"},{"photo_id":"1399498572","filename":"file2"},{"photo_id":"1399498588","filename":"file4"},{"photo_id":"1399498556","filename":"file1"},{"photo_id":"1399498505","filename":"file0"},{"photo_id":"1399498586","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399498586":["hashtag1","hashtag2"]},{"1399498556":["hashtag1","hashtag2"]},{"1399498616":["hashtag1","hashtag2"]},{"1399498505":["hashtag1","hashtag2"]},{"1399498588":["hashtag1","hashtag2"]},{"1399498572":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399498586, 1399498556, 1399498616, 1399498505, 1399498588, 1399498572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.52635908126831 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 12:50:02.618214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/13/image_15122025_12_13_55_10763.jpg', '/home/pi/Desktop/images/15122025/12/13/image_15122025_12_14_05_9758.jpg', '/home/pi/Desktop/images/15122025/12/14/image_15122025_12_14_15_9670.jpg', '/home/pi/Desktop/images/15122025/12/14/image_15122025_12_14_24_9838.jpg', '/home/pi/Desktop/images/15122025/12/14/image_15122025_12_14_35_10736.jpg', '/home/pi/Desktop/images/15122025/12/14/image_15122025_12_14_45_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/13/image_15122025_12_13_55_10763.jpg
/home/pi/Desktop/images/15122025/12/13/image_15122025_12_14_05_9758.jpg
/home/pi/Desktop/images/15122025/12/14/image_15122025_12_14_15_9670.jpg
/home/pi/Desktop/images/15122025/12/14/image_15122025_12_14_24_9838.jpg
/home/pi/Desktop/images/15122025/12/14/image_15122025_12_14_35_10736.jpg
/home/pi/Desktop/images/15122025/12/14/image_15122025_12_14_45_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":["1399498640","1399498643","1399498645","1399498642","1399498644","1399498647"],"photo_ids_order":["1399498640","1399498642","1399498643","1399498644","1399498645","1399498647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5e306aa16322462d1fa1b412a7d1e003.jpg","text":"TemporaryFile(/tmp/multipartBody9153429143594684597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799463290,"filename":"image_15122025_12_13_55_10763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/02ceaed7af080fcb6c480e1db0c6d25f.jpg","text":"TemporaryFile(/tmp/multipartBody8385719285130590100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799463290,"filename":"image_15122025_12_14_15_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/256b12bfe05c580ffea4e46158bd9f46.jpg","text":"TemporaryFile(/tmp/multipartBody6740358494312816518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799463290,"filename":"image_15122025_12_14_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/15/d2505a5f7ef8982abe4d3cf55757e2cc.jpg","text":"TemporaryFile(/tmp/multipartBody3349531564144253896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799463290,"filename":"image_15122025_12_14_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/15/7cf034ab8adab7bd72c99035cd3c1bcf.jpg","text":"TemporaryFile(/tmp/multipartBody509436156626267520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799463290,"filename":"image_15122025_12_14_24_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/183f9d9c12d304bdb272ba4869b43455.jpg","text":"TemporaryFile(/tmp/multipartBody316878518424228879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799463290,"filename":"image_15122025_12_14_45_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399498643","file1":"1399498642","file0":"1399498640","file4":"1399498645","file5":"1399498647","file3":"1399498644"},"map_files_photo_id_array":[{"photo_id":"1399498647","filename":"file5"},{"photo_id":"1399498643","filename":"file2"},{"photo_id":"1399498645","filename":"file4"},{"photo_id":"1399498642","filename":"file1"},{"photo_id":"1399498640","filename":"file0"},{"photo_id":"1399498644","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399498640":["hashtag1","hashtag2"]},{"1399498643":["hashtag1","hashtag2"]},{"1399498645":["hashtag1","hashtag2"]},{"1399498642":["hashtag1","hashtag2"]},{"1399498644":["hashtag1","hashtag2"]},{"1399498647":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399498640, 1399498643, 1399498645, 1399498642, 1399498644, 1399498647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.018441915512085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 12:50:42.239464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_12_2611.jpg', '/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_22_3644.jpg', '/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_25_2499.jpg', '/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_27_2693.jpg', '/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_30_2881.jpg', '/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_34_3691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_12_2611.jpg
/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_22_3644.jpg
/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_25_2499.jpg
/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_27_2693.jpg
/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_30_2881.jpg
/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_34_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":["1399498809","1399498748","1399498811","1399498774","1399498810","1399498812"],"photo_ids_order":["1399498748","1399498774","1399498809","1399498810","1399498811","1399498812"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/59878ccab21a9fd75364b2fdc5b648ab.jpg","text":"TemporaryFile(/tmp/multipartBody8969271728764659325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799502840,"filename":"image_05112025_14_55_25_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/15/1c75f70a5a34d9f850fbf667c7c863b3.jpg","text":"TemporaryFile(/tmp/multipartBody5237784776403324211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799502840,"filename":"image_05112025_14_55_12_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/15/78eaba8cb4c3ecf5acdcf9a2d1e77c12.jpg","text":"TemporaryFile(/tmp/multipartBody7810795468099916084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799502840,"filename":"image_05112025_14_55_30_2881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/be4678e189d1bbcb4eea4b04e4479ead.jpg","text":"TemporaryFile(/tmp/multipartBody8329125777649014590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799502840,"filename":"image_05112025_14_55_22_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5c228219078d40a163bb11ee9d7eb3ed.jpg","text":"TemporaryFile(/tmp/multipartBody2385390750993668810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799502840,"filename":"image_05112025_14_55_27_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/15/a7879da816b11606f75dbd818d09fd8d.jpg","text":"TemporaryFile(/tmp/multipartBody4985781009337053188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799502840,"filename":"image_05112025_14_55_34_3691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399498809","file1":"1399498774","file0":"1399498748","file4":"1399498811","file5":"1399498812","file3":"1399498810"},"map_files_photo_id_array":[{"photo_id":"1399498812","filename":"file5"},{"photo_id":"1399498809","filename":"file2"},{"photo_id":"1399498811","filename":"file4"},{"photo_id":"1399498774","filename":"file1"},{"photo_id":"1399498748","filename":"file0"},{"photo_id":"1399498810","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399498809":["hashtag1","hashtag2"]},{"1399498748":["hashtag1","hashtag2"]},{"1399498811":["hashtag1","hashtag2"]},{"1399498774":["hashtag1","hashtag2"]},{"1399498810":["hashtag1","hashtag2"]},{"1399498812":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399498809, 1399498748, 1399498811, 1399498774, 1399498810, 1399498812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9796724319458 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 12:51:22.517425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/14/image_15122025_12_14_54_9676.jpg', '/home/pi/Desktop/images/15122025/12/14/image_15122025_12_15_04_9920.jpg', '/home/pi/Desktop/images/15122025/12/15/image_15122025_12_15_15_10622.jpg', '/home/pi/Desktop/images/15122025/12/15/image_15122025_12_15_25_9796.jpg', '/home/pi/Desktop/images/15122025/12/15/image_15122025_12_15_35_9793.jpg', '/home/pi/Desktop/images/15122025/12/15/image_15122025_12_15_44_9555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/14/image_15122025_12_14_54_9676.jpg
/home/pi/Desktop/images/15122025/12/14/image_15122025_12_15_04_9920.jpg
/home/pi/Desktop/images/15122025/12/15/image_15122025_12_15_15_10622.jpg
/home/pi/Desktop/images/15122025/12/15/image_15122025_12_15_25_9796.jpg
/home/pi/Desktop/images/15122025/12/15/image_15122025_12_15_35_9793.jpg
/home/pi/Desktop/images/15122025/12/15/image_15122025_12_15_44_9555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399498815","1399498904","1399498825","1399498813","1399498866","1399498830"],"photo_ids_order":["1399498813","1399498815","1399498825","1399498830","1399498866","1399498904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/931040532b644200f00c98db8c3c5a64.jpg","text":"TemporaryFile(/tmp/multipartBody7132967807831570475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799543192,"filename":"image_15122025_12_15_04_9920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8a632f292557fe9bcf77f0978ee93dd5.jpg","text":"TemporaryFile(/tmp/multipartBody7143100822336873650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799543192,"filename":"image_15122025_12_15_44_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/00ef22f645f530243fd801a5b8dbc16f.jpg","text":"TemporaryFile(/tmp/multipartBody6539013222573412748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799543192,"filename":"image_15122025_12_15_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/15/6c693e683919d92c590bdc124c434b05.jpg","text":"TemporaryFile(/tmp/multipartBody4135631705015066511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799543192,"filename":"image_15122025_12_14_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/15/9f557a91d2280066b5e2418f15b53fb7.jpg","text":"TemporaryFile(/tmp/multipartBody8845626919661797346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799543192,"filename":"image_15122025_12_15_35_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b144460f486a9728ded44cd6e4b694bc.jpg","text":"TemporaryFile(/tmp/multipartBody5479928715851671026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799543192,"filename":"image_15122025_12_15_25_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399498825","file1":"1399498815","file0":"1399498813","file4":"1399498866","file5":"1399498904","file3":"1399498830"},"map_files_photo_id_array":[{"photo_id":"1399498904","filename":"file5"},{"photo_id":"1399498825","filename":"file2"},{"photo_id":"1399498866","filename":"file4"},{"photo_id":"1399498815","filename":"file1"},{"photo_id":"1399498813","filename":"file0"},{"photo_id":"1399498830","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399498815":["hashtag1","hashtag2"]},{"1399498904":["hashtag1","hashtag2"]},{"1399498825":["hashtag1","hashtag2"]},{"1399498813":["hashtag1","hashtag2"]},{"1399498866":["hashtag1","hashtag2"]},{"1399498830":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399498815, 1399498904, 1399498825, 1399498813, 1399498866, 1399498830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23779559135437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 12:52:03.168452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/15/image_15122025_12_15_55_10807.jpg', '/home/pi/Desktop/images/15122025/12/15/image_15122025_12_16_05_9873.jpg', '/home/pi/Desktop/images/15122025/12/16/image_15122025_12_16_15_9892.jpg', '/home/pi/Desktop/images/15122025/12/16/image_15122025_12_16_24_9604.jpg', '/home/pi/Desktop/images/15122025/12/16/image_15122025_12_16_34_9829.jpg', '/home/pi/Desktop/images/15122025/12/16/image_15122025_12_16_45_10728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/15/image_15122025_12_15_55_10807.jpg
/home/pi/Desktop/images/15122025/12/15/image_15122025_12_16_05_9873.jpg
/home/pi/Desktop/images/15122025/12/16/image_15122025_12_16_15_9892.jpg
/home/pi/Desktop/images/15122025/12/16/image_15122025_12_16_24_9604.jpg
/home/pi/Desktop/images/15122025/12/16/image_15122025_12_16_34_9829.jpg
/home/pi/Desktop/images/15122025/12/16/image_15122025_12_16_45_10728.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6172072887420654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 12:52:12.791924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 12:52:22.763676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/15/image_15122025_12_15_55_10807.jpg', '/home/pi/Desktop/images/15122025/12/15/image_15122025_12_16_05_9873.jpg', '/home/pi/Desktop/images/15122025/12/16/image_15122025_12_16_15_9892.jpg', '/home/pi/Desktop/images/15122025/12/16/image_15122025_12_16_24_9604.jpg', '/home/pi/Desktop/images/15122025/12/16/image_15122025_12_16_34_9829.jpg', '/home/pi/Desktop/images/15122025/12/16/image_15122025_12_16_45_10728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/15/image_15122025_12_15_55_10807.jpg
/home/pi/Desktop/images/15122025/12/15/image_15122025_12_16_05_9873.jpg
/home/pi/Desktop/images/15122025/12/16/image_15122025_12_16_15_9892.jpg
/home/pi/Desktop/images/15122025/12/16/image_15122025_12_16_24_9604.jpg
/home/pi/Desktop/images/15122025/12/16/image_15122025_12_16_34_9829.jpg
/home/pi/Desktop/images/15122025/12/16/image_15122025_12_16_45_10728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399499239","1399499181","1399499271","1399499273","1399499276","1399499198"],"photo_ids_order":["1399499181","1399499198","1399499239","1399499271","1399499273","1399499276"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0ed1a45987898f2b4b7aca0315a19790.jpg","text":"TemporaryFile(/tmp/multipartBody786264551263159498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799603399,"filename":"image_15122025_12_16_15_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/15/335e5fdf5c2335af8da336c9e9fd41da.jpg","text":"TemporaryFile(/tmp/multipartBody714782503039494762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799603399,"filename":"image_15122025_12_15_55_10807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c6efaba1ae2a66efce1c42835320bfa0.jpg","text":"TemporaryFile(/tmp/multipartBody5875235006183036245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799603399,"filename":"image_15122025_12_16_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/15/04555d117d906bfab81e075b884cf5d2.jpg","text":"TemporaryFile(/tmp/multipartBody5851654039022157613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799603399,"filename":"image_15122025_12_16_34_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/15/99e8bc56bc6aac50cd06bb0d9fd4a38c.jpg","text":"TemporaryFile(/tmp/multipartBody1320952185270536399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799603399,"filename":"image_15122025_12_16_45_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a5c22532afb69508f797982cb35454d4.jpg","text":"TemporaryFile(/tmp/multipartBody2727072338643150426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799603399,"filename":"image_15122025_12_16_05_9873.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399499239","file1":"1399499198","file0":"1399499181","file4":"1399499273","file5":"1399499276","file3":"1399499271"},"map_files_photo_id_array":[{"photo_id":"1399499276","filename":"file5"},{"photo_id":"1399499239","filename":"file2"},{"photo_id":"1399499273","filename":"file4"},{"photo_id":"1399499198","filename":"file1"},{"photo_id":"1399499181","filename":"file0"},{"photo_id":"1399499271","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399499239":["hashtag1","hashtag2"]},{"1399499181":["hashtag1","hashtag2"]},{"1399499271":["hashtag1","hashtag2"]},{"1399499273":["hashtag1","hashtag2"]},{"1399499276":["hashtag1","hashtag2"]},{"1399499198":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399499239, 1399499181, 1399499271, 1399499273, 1399499276, 1399499198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.081005573272705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 12:53:02.533215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/16/image_15122025_12_16_55_9725.jpg', '/home/pi/Desktop/images/15122025/12/16/image_15122025_12_17_04_9662.jpg', '/home/pi/Desktop/images/15122025/12/17/image_15122025_12_17_15_10667.jpg', '/home/pi/Desktop/images/15122025/12/17/image_15122025_12_17_25_9640.jpg', '/home/pi/Desktop/images/15122025/12/17/image_15122025_12_17_34_9732.jpg', '/home/pi/Desktop/images/15122025/12/17/image_15122025_12_17_45_10594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/16/image_15122025_12_16_55_9725.jpg
/home/pi/Desktop/images/15122025/12/16/image_15122025_12_17_04_9662.jpg
/home/pi/Desktop/images/15122025/12/17/image_15122025_12_17_15_10667.jpg
/home/pi/Desktop/images/15122025/12/17/image_15122025_12_17_25_9640.jpg
/home/pi/Desktop/images/15122025/12/17/image_15122025_12_17_34_9732.jpg
/home/pi/Desktop/images/15122025/12/17/image_15122025_12_17_45_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":["1399499279","1399499281","1399499280","1399499283","1399499285","1399499282"],"photo_ids_order":["1399499279","1399499280","1399499281","1399499282","1399499283","1399499285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f9623a437195aa3d7d2c6b3996d092ac.jpg","text":"TemporaryFile(/tmp/multipartBody3299283224202456820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799643257,"filename":"image_15122025_12_16_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/15/581c113173b0e577ef1354d15f78748b.jpg","text":"TemporaryFile(/tmp/multipartBody8809039656296911625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799643257,"filename":"image_15122025_12_17_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/15/c4c7ed5f7faf01651f7d9d92ea7c86c3.jpg","text":"TemporaryFile(/tmp/multipartBody3364636297427424445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799643257,"filename":"image_15122025_12_17_04_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/74b7d62b60e8c2aa4aa53f81162cefc3.jpg","text":"TemporaryFile(/tmp/multipartBody4161382649825145161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799643257,"filename":"image_15122025_12_17_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/15/014a6eb7eda0c17a25ba6e102886ef90.jpg","text":"TemporaryFile(/tmp/multipartBody6993390965485564683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799643257,"filename":"image_15122025_12_17_45_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/15/98ddbf5aaeb1efc88306901fc6ed6b7d.jpg","text":"TemporaryFile(/tmp/multipartBody7817131796432484062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799643257,"filename":"image_15122025_12_17_25_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399499281","file1":"1399499280","file0":"1399499279","file4":"1399499283","file5":"1399499285","file3":"1399499282"},"map_files_photo_id_array":[{"photo_id":"1399499285","filename":"file5"},{"photo_id":"1399499281","filename":"file2"},{"photo_id":"1399499283","filename":"file4"},{"photo_id":"1399499280","filename":"file1"},{"photo_id":"1399499279","filename":"file0"},{"photo_id":"1399499282","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399499279":["hashtag1","hashtag2"]},{"1399499281":["hashtag1","hashtag2"]},{"1399499280":["hashtag1","hashtag2"]},{"1399499283":["hashtag1","hashtag2"]},{"1399499285":["hashtag1","hashtag2"]},{"1399499282":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399499279, 1399499281, 1399499280, 1399499283, 1399499285, 1399499282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75258016586304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 12:53:41.929804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_36_2678.jpg', '/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_39_2879.jpg', '/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_42_2689.jpg', '/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_46_3644.jpg', '/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_55_3620.jpg', '/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_04_3723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_36_2678.jpg
/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_39_2879.jpg
/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_42_2689.jpg
/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_46_3644.jpg
/home/pi/Desktop/images/05112025/14/55/image_05112025_14_55_55_3620.jpg
/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_04_3723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399499330","1399499329","1399499289","1399499328","1399499301","1399499291"],"photo_ids_order":["1399499289","1399499291","1399499301","1399499328","1399499329","1399499330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e96a2ff4533ee06d0f4c126e64d7f963.jpg","text":"TemporaryFile(/tmp/multipartBody6325777120748783282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799682646,"filename":"image_05112025_14_56_04_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/15/cbc878d57eb39b9526bbb9a98340fcf4.jpg","text":"TemporaryFile(/tmp/multipartBody6587137091344075891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799682646,"filename":"image_05112025_14_55_55_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/15/205fc13c5b94bd28d460f3c818fb7819.jpg","text":"TemporaryFile(/tmp/multipartBody5553279383623316638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799682646,"filename":"image_05112025_14_55_36_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/15/ba81f3ad9675567eeb372bb7162d0f5a.jpg","text":"TemporaryFile(/tmp/multipartBody1957241746988223184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799682646,"filename":"image_05112025_14_55_46_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/15/8161a040e2f9a1acff3e9f40d625a721.jpg","text":"TemporaryFile(/tmp/multipartBody792601687432642433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799682646,"filename":"image_05112025_14_55_42_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/15/0678eddb407f37d032f23e871019ae9f.jpg","text":"TemporaryFile(/tmp/multipartBody2881899826350529036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799682646,"filename":"image_05112025_14_55_39_2879.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399499301","file1":"1399499291","file0":"1399499289","file4":"1399499329","file5":"1399499330","file3":"1399499328"},"map_files_photo_id_array":[{"photo_id":"1399499330","filename":"file5"},{"photo_id":"1399499301","filename":"file2"},{"photo_id":"1399499329","filename":"file4"},{"photo_id":"1399499291","filename":"file1"},{"photo_id":"1399499289","filename":"file0"},{"photo_id":"1399499328","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399499330":["hashtag1","hashtag2"]},{"1399499329":["hashtag1","hashtag2"]},{"1399499289":["hashtag1","hashtag2"]},{"1399499328":["hashtag1","hashtag2"]},{"1399499301":["hashtag1","hashtag2"]},{"1399499291":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399499330, 1399499329, 1399499289, 1399499328, 1399499301, 1399499291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83537483215332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 12:54:22.184599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/17/image_15122025_12_17_55_9644.jpg', '/home/pi/Desktop/images/15122025/12/17/image_15122025_12_18_04_9851.jpg', '/home/pi/Desktop/images/15122025/12/18/image_15122025_12_18_15_10705.jpg', '/home/pi/Desktop/images/15122025/12/18/image_15122025_12_18_25_9740.jpg', '/home/pi/Desktop/images/15122025/12/18/image_15122025_12_18_35_9766.jpg', '/home/pi/Desktop/images/15122025/12/18/image_15122025_12_18_44_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/17/image_15122025_12_17_55_9644.jpg
/home/pi/Desktop/images/15122025/12/17/image_15122025_12_18_04_9851.jpg
/home/pi/Desktop/images/15122025/12/18/image_15122025_12_18_15_10705.jpg
/home/pi/Desktop/images/15122025/12/18/image_15122025_12_18_25_9740.jpg
/home/pi/Desktop/images/15122025/12/18/image_15122025_12_18_35_9766.jpg
/home/pi/Desktop/images/15122025/12/18/image_15122025_12_18_44_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.5279369354248047 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 12:54:32.234661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 12:54:42.111473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_07_2738.jpg', '/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_09_2534.jpg', '/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_13_3669.jpg', '/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_15_2698.jpg', '/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_18_2678.jpg', '/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_22_3704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_07_2738.jpg
/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_09_2534.jpg
/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_13_3669.jpg
/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_15_2698.jpg
/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_18_2678.jpg
/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_22_3704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399499720","1399499679","1399499751","1399499589","1399499649","1399499619"],"photo_ids_order":["1399499589","1399499619","1399499649","1399499679","1399499720","1399499751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e46745e165c7c2dc6d3158c140566ce9.jpg","text":"TemporaryFile(/tmp/multipartBody1781997164191285853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799742819,"filename":"image_05112025_14_56_18_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/15/6998a511e3b7851b677bcd4e4103ac85.jpg","text":"TemporaryFile(/tmp/multipartBody3000936827702181326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799742819,"filename":"image_05112025_14_56_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/15/29058880399fb4f6a9decd48cd4c7fc6.jpg","text":"TemporaryFile(/tmp/multipartBody2648922872940396982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799742819,"filename":"image_05112025_14_56_22_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/15/7780b9e2cd0863bcaeddd346b2cdb8df.jpg","text":"TemporaryFile(/tmp/multipartBody5156022392460140117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799742819,"filename":"image_05112025_14_56_07_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c76e5318e27082685692bcd3e544deaa.jpg","text":"TemporaryFile(/tmp/multipartBody7239073229318669642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799742819,"filename":"image_05112025_14_56_13_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/15/b6ce907edc4417c55fa11680fff65c25.jpg","text":"TemporaryFile(/tmp/multipartBody2836153455378678235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799742819,"filename":"image_05112025_14_56_09_2534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399499649","file1":"1399499619","file0":"1399499589","file4":"1399499720","file5":"1399499751","file3":"1399499679"},"map_files_photo_id_array":[{"photo_id":"1399499751","filename":"file5"},{"photo_id":"1399499649","filename":"file2"},{"photo_id":"1399499720","filename":"file4"},{"photo_id":"1399499619","filename":"file1"},{"photo_id":"1399499589","filename":"file0"},{"photo_id":"1399499679","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399499720":["hashtag1","hashtag2"]},{"1399499679":["hashtag1","hashtag2"]},{"1399499751":["hashtag1","hashtag2"]},{"1399499589":["hashtag1","hashtag2"]},{"1399499649":["hashtag1","hashtag2"]},{"1399499619":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399499720, 1399499679, 1399499751, 1399499589, 1399499649, 1399499619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.029674768447876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 12:55:22.378834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/17/image_15122025_12_17_55_9644.jpg', '/home/pi/Desktop/images/15122025/12/17/image_15122025_12_18_04_9851.jpg', '/home/pi/Desktop/images/15122025/12/18/image_15122025_12_18_15_10705.jpg', '/home/pi/Desktop/images/15122025/12/18/image_15122025_12_18_25_9740.jpg', '/home/pi/Desktop/images/15122025/12/18/image_15122025_12_18_35_9766.jpg', '/home/pi/Desktop/images/15122025/12/18/image_15122025_12_18_44_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/17/image_15122025_12_17_55_9644.jpg
/home/pi/Desktop/images/15122025/12/17/image_15122025_12_18_04_9851.jpg
/home/pi/Desktop/images/15122025/12/18/image_15122025_12_18_15_10705.jpg
/home/pi/Desktop/images/15122025/12/18/image_15122025_12_18_25_9740.jpg
/home/pi/Desktop/images/15122025/12/18/image_15122025_12_18_35_9766.jpg
/home/pi/Desktop/images/15122025/12/18/image_15122025_12_18_44_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":["1399499995","1399499816","1399499821","1399499952","1399499856","1399499969"],"photo_ids_order":["1399499816","1399499821","1399499856","1399499952","1399499969","1399499995"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4ca71c76af0c798cf29e3a97b485406e.jpg","text":"TemporaryFile(/tmp/multipartBody3888782804468592108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799783018,"filename":"image_15122025_12_18_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/15/34d92d3049f8564cbde39808b6c4f38b.jpg","text":"TemporaryFile(/tmp/multipartBody780543077141975846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799783018,"filename":"image_15122025_12_17_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/15/5c445d5d73e9c902362f5a9f253289be.jpg","text":"TemporaryFile(/tmp/multipartBody1015960989822749305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799783018,"filename":"image_15122025_12_18_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/15/c1fde2b50c0d1169378c05f48e8f3086.jpg","text":"TemporaryFile(/tmp/multipartBody9204341254086818341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799783018,"filename":"image_15122025_12_18_25_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/25e6c1fa56977e2a2f517147fc59b6d9.jpg","text":"TemporaryFile(/tmp/multipartBody2480612082352090631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799783018,"filename":"image_15122025_12_18_15_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a4ddbb519fd91f202968d075afabc0d2.jpg","text":"TemporaryFile(/tmp/multipartBody6163476426991418794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799783018,"filename":"image_15122025_12_18_35_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399499856","file1":"1399499821","file0":"1399499816","file4":"1399499969","file5":"1399499995","file3":"1399499952"},"map_files_photo_id_array":[{"photo_id":"1399499995","filename":"file5"},{"photo_id":"1399499856","filename":"file2"},{"photo_id":"1399499969","filename":"file4"},{"photo_id":"1399499821","filename":"file1"},{"photo_id":"1399499816","filename":"file0"},{"photo_id":"1399499952","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399499995":["hashtag1","hashtag2"]},{"1399499816":["hashtag1","hashtag2"]},{"1399499821":["hashtag1","hashtag2"]},{"1399499952":["hashtag1","hashtag2"]},{"1399499856":["hashtag1","hashtag2"]},{"1399499969":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399499995, 1399499816, 1399499821, 1399499952, 1399499856, 1399499969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90049195289612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 12:56:03.042129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/18/image_15122025_12_18_55_10661.jpg', '/home/pi/Desktop/images/15122025/12/18/image_15122025_12_19_05_9749.jpg', '/home/pi/Desktop/images/15122025/12/19/image_15122025_12_19_15_9782.jpg', '/home/pi/Desktop/images/15122025/12/19/image_15122025_12_19_34_9783.jpg', '/home/pi/Desktop/images/15122025/12/19/image_15122025_12_19_45_10646.jpg', '/home/pi/Desktop/images/15122025/12/19/image_15122025_12_19_55_9900.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/18/image_15122025_12_18_55_10661.jpg
/home/pi/Desktop/images/15122025/12/18/image_15122025_12_19_05_9749.jpg
/home/pi/Desktop/images/15122025/12/19/image_15122025_12_19_15_9782.jpg
/home/pi/Desktop/images/15122025/12/19/image_15122025_12_19_34_9783.jpg
/home/pi/Desktop/images/15122025/12/19/image_15122025_12_19_45_10646.jpg
/home/pi/Desktop/images/15122025/12/19/image_15122025_12_19_55_9900.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399500013","1399500016","1399500010","1399500012","1399500014","1399500011"],"photo_ids_order":["1399500010","1399500011","1399500012","1399500013","1399500014","1399500016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cb3b08c756c7e748478330453dd6c5c0.jpg","text":"TemporaryFile(/tmp/multipartBody5618489538990776298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799823704,"filename":"image_15122025_12_19_34_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/15/62e5284dbe31eb6ee67a8d4dd4b71e1a.jpg","text":"TemporaryFile(/tmp/multipartBody2296884436995302396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799823704,"filename":"image_15122025_12_19_55_9900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cbfc4a83807ae32a6a6eb86d2656b293.jpg","text":"TemporaryFile(/tmp/multipartBody1995607947577901986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799823704,"filename":"image_15122025_12_18_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/15/325863dc5bb7974c5eceb9fdf1055d16.jpg","text":"TemporaryFile(/tmp/multipartBody7768240374679580965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799823704,"filename":"image_15122025_12_19_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/15/b4beeee5527624f8d1099798cfa287e2.jpg","text":"TemporaryFile(/tmp/multipartBody7664864992710838938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799823704,"filename":"image_15122025_12_19_45_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b6dc2b2821fde3d00ba4809941005230.jpg","text":"TemporaryFile(/tmp/multipartBody7488270141647581065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799823704,"filename":"image_15122025_12_19_05_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399500012","file1":"1399500011","file0":"1399500010","file4":"1399500014","file5":"1399500016","file3":"1399500013"},"map_files_photo_id_array":[{"photo_id":"1399500016","filename":"file5"},{"photo_id":"1399500012","filename":"file2"},{"photo_id":"1399500014","filename":"file4"},{"photo_id":"1399500011","filename":"file1"},{"photo_id":"1399500010","filename":"file0"},{"photo_id":"1399500013","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399500013":["hashtag1","hashtag2"]},{"1399500016":["hashtag1","hashtag2"]},{"1399500010":["hashtag1","hashtag2"]},{"1399500012":["hashtag1","hashtag2"]},{"1399500014":["hashtag1","hashtag2"]},{"1399500011":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399500013, 1399500016, 1399500010, 1399500012, 1399500014, 1399500011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14864635467529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 12:56:42.486224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_24_2628.jpg', '/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_27_2538.jpg', '/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_31_3503.jpg', '/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_33_2927.jpg', '/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_50_16285.jpg', '/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_56_4624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_24_2628.jpg
/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_27_2538.jpg
/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_31_3503.jpg
/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_33_2927.jpg
/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_50_16285.jpg
/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_56_4624.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6054692268371582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 12:57:03.464526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/19/image_15122025_12_20_04_9784.jpg', '/home/pi/Desktop/images/15122025/12/20/image_15122025_12_20_14_9725.jpg', '/home/pi/Desktop/images/15122025/12/20/image_15122025_12_20_24_9920.jpg', '/home/pi/Desktop/images/15122025/12/20/image_15122025_12_20_35_10627.jpg', '/home/pi/Desktop/images/15122025/12/20/image_15122025_12_20_55_10659.jpg', '/home/pi/Desktop/images/15122025/12/20/image_15122025_12_21_05_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/19/image_15122025_12_20_04_9784.jpg
/home/pi/Desktop/images/15122025/12/20/image_15122025_12_20_14_9725.jpg
/home/pi/Desktop/images/15122025/12/20/image_15122025_12_20_24_9920.jpg
/home/pi/Desktop/images/15122025/12/20/image_15122025_12_20_35_10627.jpg
/home/pi/Desktop/images/15122025/12/20/image_15122025_12_20_55_10659.jpg
/home/pi/Desktop/images/15122025/12/20/image_15122025_12_21_05_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":["1399500322","1399500250","1399500211","1399500176","1399500320","1399500286"],"photo_ids_order":["1399500176","1399500211","1399500250","1399500286","1399500320","1399500322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b9d1c9193d92fae336ce5a2c9208fca8.jpg","text":"TemporaryFile(/tmp/multipartBody3806415697947862496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799884183,"filename":"image_15122025_12_21_05_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c8c462a7b220da82fcd001af7728708a.jpg","text":"TemporaryFile(/tmp/multipartBody2795871282619999122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799884183,"filename":"image_15122025_12_20_24_9920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e34e08859a272b2c7d534acfbaa4b9f9.jpg","text":"TemporaryFile(/tmp/multipartBody1863209294101821950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799884183,"filename":"image_15122025_12_20_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/15/397afbae577881758b90b7a3b6e69a17.jpg","text":"TemporaryFile(/tmp/multipartBody1321970084936961797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799884183,"filename":"image_15122025_12_20_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/15/f711611e25a1366bb7710e5259e54f7d.jpg","text":"TemporaryFile(/tmp/multipartBody1214193464810749326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799884183,"filename":"image_15122025_12_20_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/15/e46da23f53abe9e2aa3a15e4fe2c0adb.jpg","text":"TemporaryFile(/tmp/multipartBody4109210857775358157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799884183,"filename":"image_15122025_12_20_35_10627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399500250","file1":"1399500211","file0":"1399500176","file4":"1399500320","file5":"1399500322","file3":"1399500286"},"map_files_photo_id_array":[{"photo_id":"1399500322","filename":"file5"},{"photo_id":"1399500250","filename":"file2"},{"photo_id":"1399500320","filename":"file4"},{"photo_id":"1399500211","filename":"file1"},{"photo_id":"1399500176","filename":"file0"},{"photo_id":"1399500286","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399500322":["hashtag1","hashtag2"]},{"1399500250":["hashtag1","hashtag2"]},{"1399500211":["hashtag1","hashtag2"]},{"1399500176":["hashtag1","hashtag2"]},{"1399500320":["hashtag1","hashtag2"]},{"1399500286":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399500322, 1399500250, 1399500211, 1399500176, 1399500320, 1399500286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83921694755554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 12:57:42.783062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_24_2628.jpg', '/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_27_2538.jpg', '/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_31_3503.jpg', '/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_33_2927.jpg', '/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_50_16285.jpg', '/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_56_4624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_24_2628.jpg
/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_27_2538.jpg
/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_31_3503.jpg
/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_33_2927.jpg
/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_50_16285.jpg
/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_56_4624.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399500387","1399500435","1399500414","1399500422","1399500434","1399500370"],"photo_ids_order":["1399500370","1399500387","1399500414","1399500422","1399500434","1399500435"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/32a0e31b19d9dd775891d7fb078b7416.jpg","text":"TemporaryFile(/tmp/multipartBody3171081041686920994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799923377,"filename":"image_05112025_14_56_27_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1ef67bef70529b690fe527637edf94d4.jpg","text":"TemporaryFile(/tmp/multipartBody1372126168269942392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799923377,"filename":"image_05112025_14_56_56_4624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/750d71ade707444dc09743e133749512.jpg","text":"TemporaryFile(/tmp/multipartBody682903831539478848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799923377,"filename":"image_05112025_14_56_31_3503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/26586baaf7f9b92cbc14df4bc2e335cf.jpg","text":"TemporaryFile(/tmp/multipartBody6929590169826068448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799923377,"filename":"image_05112025_14_56_33_2927.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a302fcdc3c6e1a4cc52b8ab6d4ae94d3.jpg","text":"TemporaryFile(/tmp/multipartBody3896755807967341268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799923377,"filename":"image_05112025_14_56_50_16285.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/718bf651d73bb17fbe1d76733672e7f5.jpg","text":"TemporaryFile(/tmp/multipartBody5889454685511742517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765799923377,"filename":"image_05112025_14_56_24_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399500414","file1":"1399500387","file0":"1399500370","file4":"1399500434","file5":"1399500435","file3":"1399500422"},"map_files_photo_id_array":[{"photo_id":"1399500435","filename":"file5"},{"photo_id":"1399500414","filename":"file2"},{"photo_id":"1399500434","filename":"file4"},{"photo_id":"1399500387","filename":"file1"},{"photo_id":"1399500370","filename":"file0"},{"photo_id":"1399500422","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399500387":["hashtag1","hashtag2"]},{"1399500435":["hashtag1","hashtag2"]},{"1399500414":["hashtag1","hashtag2"]},{"1399500422":["hashtag1","hashtag2"]},{"1399500434":["hashtag1","hashtag2"]},{"1399500370":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399500387, 1399500435, 1399500414, 1399500422, 1399500434, 1399500370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62613606452942 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 12:59:03.217681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/21/image_15122025_12_21_14_9704.jpg', '/home/pi/Desktop/images/15122025/12/21/image_15122025_12_21_24_9798.jpg', '/home/pi/Desktop/images/15122025/12/21/image_15122025_12_21_35_10765.jpg', '/home/pi/Desktop/images/15122025/12/21/image_15122025_12_21_45_9706.jpg', '/home/pi/Desktop/images/15122025/12/21/image_15122025_12_21_54_9725.jpg', '/home/pi/Desktop/images/15122025/12/21/image_15122025_12_22_05_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/21/image_15122025_12_21_14_9704.jpg
/home/pi/Desktop/images/15122025/12/21/image_15122025_12_21_24_9798.jpg
/home/pi/Desktop/images/15122025/12/21/image_15122025_12_21_35_10765.jpg
/home/pi/Desktop/images/15122025/12/21/image_15122025_12_21_45_9706.jpg
/home/pi/Desktop/images/15122025/12/21/image_15122025_12_21_54_9725.jpg
/home/pi/Desktop/images/15122025/12/21/image_15122025_12_22_05_10665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399500523","1399500439","1399500486","1399500447","1399500449","1399500443"],"photo_ids_order":["1399500439","1399500443","1399500447","1399500449","1399500486","1399500523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6d171d1ebfdb720c260a97bc9efd108b.jpg","text":"TemporaryFile(/tmp/multipartBody3773457707974562214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800004029,"filename":"image_15122025_12_22_05_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/28a72f2acd07dfa98c56a96cb11cf840.jpg","text":"TemporaryFile(/tmp/multipartBody4148543982712369749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800004029,"filename":"image_15122025_12_21_14_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9caf9cdbbc649481744399703b5bf66a.jpg","text":"TemporaryFile(/tmp/multipartBody725795991479412346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800004029,"filename":"image_15122025_12_21_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/15/0a67721e2648e7448c53eb24d91f5212.jpg","text":"TemporaryFile(/tmp/multipartBody8363684990654648530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800004029,"filename":"image_15122025_12_21_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/15/15b207bc30d3458038855b6cb32ccc63.jpg","text":"TemporaryFile(/tmp/multipartBody1616167471606384967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800004029,"filename":"image_15122025_12_21_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/15/8aa4364c3b6dfb95f806244fbc22965b.jpg","text":"TemporaryFile(/tmp/multipartBody2989332257613251708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800004029,"filename":"image_15122025_12_21_24_9798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399500447","file1":"1399500443","file0":"1399500439","file4":"1399500486","file5":"1399500523","file3":"1399500449"},"map_files_photo_id_array":[{"photo_id":"1399500523","filename":"file5"},{"photo_id":"1399500447","filename":"file2"},{"photo_id":"1399500486","filename":"file4"},{"photo_id":"1399500443","filename":"file1"},{"photo_id":"1399500439","filename":"file0"},{"photo_id":"1399500449","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399500523":["hashtag1","hashtag2"]},{"1399500439":["hashtag1","hashtag2"]},{"1399500486":["hashtag1","hashtag2"]},{"1399500447":["hashtag1","hashtag2"]},{"1399500449":["hashtag1","hashtag2"]},{"1399500443":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399500523, 1399500439, 1399500486, 1399500447, 1399500449, 1399500443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.735060691833496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 13:00:02.882437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/22/image_15122025_12_22_15_9699.jpg', '/home/pi/Desktop/images/15122025/12/22/image_15122025_12_22_24_9633.jpg', '/home/pi/Desktop/images/15122025/12/22/image_15122025_12_22_35_10569.jpg', '/home/pi/Desktop/images/15122025/12/22/image_15122025_12_22_45_9597.jpg', '/home/pi/Desktop/images/15122025/12/22/image_15122025_12_22_54_9682.jpg', '/home/pi/Desktop/images/15122025/12/23/image_15122025_12_23_15_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/22/image_15122025_12_22_15_9699.jpg
/home/pi/Desktop/images/15122025/12/22/image_15122025_12_22_24_9633.jpg
/home/pi/Desktop/images/15122025/12/22/image_15122025_12_22_35_10569.jpg
/home/pi/Desktop/images/15122025/12/22/image_15122025_12_22_45_9597.jpg
/home/pi/Desktop/images/15122025/12/22/image_15122025_12_22_54_9682.jpg
/home/pi/Desktop/images/15122025/12/23/image_15122025_12_23_15_10638.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.558239221572876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 13:00:12.509939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 13:00:22.447992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/22/image_15122025_12_22_15_9699.jpg', '/home/pi/Desktop/images/15122025/12/22/image_15122025_12_22_24_9633.jpg', '/home/pi/Desktop/images/15122025/12/22/image_15122025_12_22_35_10569.jpg', '/home/pi/Desktop/images/15122025/12/22/image_15122025_12_22_45_9597.jpg', '/home/pi/Desktop/images/15122025/12/22/image_15122025_12_22_54_9682.jpg', '/home/pi/Desktop/images/15122025/12/23/image_15122025_12_23_15_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/22/image_15122025_12_22_15_9699.jpg
/home/pi/Desktop/images/15122025/12/22/image_15122025_12_22_24_9633.jpg
/home/pi/Desktop/images/15122025/12/22/image_15122025_12_22_35_10569.jpg
/home/pi/Desktop/images/15122025/12/22/image_15122025_12_22_45_9597.jpg
/home/pi/Desktop/images/15122025/12/22/image_15122025_12_22_54_9682.jpg
/home/pi/Desktop/images/15122025/12/23/image_15122025_12_23_15_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":["1399500904","1399500901","1399500954","1399500906","1399500938","1399500973"],"photo_ids_order":["1399500901","1399500904","1399500906","1399500938","1399500954","1399500973"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e1bc2c13fc461164b34c0d887f4ee3d8.jpg","text":"TemporaryFile(/tmp/multipartBody8291067308072947726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800083070,"filename":"image_15122025_12_22_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/15/4a25d26ac50147d37ff5d092c77c6283.jpg","text":"TemporaryFile(/tmp/multipartBody4118710002576562471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800083070,"filename":"image_15122025_12_22_15_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/62a3cf24dace8d23fa9df6e3c2c58b14.jpg","text":"TemporaryFile(/tmp/multipartBody1338595727184165638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800083070,"filename":"image_15122025_12_22_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/15/be3d564afc296894bb6b7b961ec081d6.jpg","text":"TemporaryFile(/tmp/multipartBody5767558600642064604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800083070,"filename":"image_15122025_12_22_35_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c9ff89318ba2c0edaaa1702a80daf56b.jpg","text":"TemporaryFile(/tmp/multipartBody3668205821837576704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800083070,"filename":"image_15122025_12_22_45_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e48c45bcef870103f38334f52dbed6c1.jpg","text":"TemporaryFile(/tmp/multipartBody8667527188341556085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800083070,"filename":"image_15122025_12_23_15_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399500906","file1":"1399500904","file0":"1399500901","file4":"1399500954","file5":"1399500973","file3":"1399500938"},"map_files_photo_id_array":[{"photo_id":"1399500973","filename":"file5"},{"photo_id":"1399500906","filename":"file2"},{"photo_id":"1399500954","filename":"file4"},{"photo_id":"1399500904","filename":"file1"},{"photo_id":"1399500901","filename":"file0"},{"photo_id":"1399500938","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399500904":["hashtag1","hashtag2"]},{"1399500901":["hashtag1","hashtag2"]},{"1399500954":["hashtag1","hashtag2"]},{"1399500906":["hashtag1","hashtag2"]},{"1399500938":["hashtag1","hashtag2"]},{"1399500973":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399500904, 1399500901, 1399500954, 1399500906, 1399500938, 1399500973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38957500457764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 13:01:03.342620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/23/image_15122025_12_23_25_9721.jpg', '/home/pi/Desktop/images/15122025/12/23/image_15122025_12_23_34_9641.jpg', '/home/pi/Desktop/images/15122025/12/23/image_15122025_12_23_45_10635.jpg', '/home/pi/Desktop/images/15122025/12/23/image_15122025_12_24_04_9787.jpg', '/home/pi/Desktop/images/15122025/12/24/image_15122025_12_24_14_9864.jpg', '/home/pi/Desktop/images/15122025/12/24/image_15122025_12_24_25_10842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/23/image_15122025_12_23_25_9721.jpg
/home/pi/Desktop/images/15122025/12/23/image_15122025_12_23_34_9641.jpg
/home/pi/Desktop/images/15122025/12/23/image_15122025_12_23_45_10635.jpg
/home/pi/Desktop/images/15122025/12/23/image_15122025_12_24_04_9787.jpg
/home/pi/Desktop/images/15122025/12/24/image_15122025_12_24_14_9864.jpg
/home/pi/Desktop/images/15122025/12/24/image_15122025_12_24_25_10842.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399501111","1399501404","1399501181","1399501334","1399501256","1399501238"],"photo_ids_order":["1399501111","1399501181","1399501238","1399501256","1399501334","1399501404"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c62f5464db48bdabea54fe61a1f89129.jpg","text":"TemporaryFile(/tmp/multipartBody1651744190386214377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800124032,"filename":"image_15122025_12_23_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/15/afd1ce9c1d314281a16ce9f2340b842c.jpg","text":"TemporaryFile(/tmp/multipartBody2511843962563372670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800124032,"filename":"image_15122025_12_24_25_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/15/7caa231aa4bb1f73c2ef13b9752ec75c.jpg","text":"TemporaryFile(/tmp/multipartBody2683926588864448971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800124032,"filename":"image_15122025_12_23_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d6f32b81df126c26889220e3f3c0018a.jpg","text":"TemporaryFile(/tmp/multipartBody4916588752331746247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800124032,"filename":"image_15122025_12_24_14_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/15/dcdf1399d49be1604bc91f2373e1cf66.jpg","text":"TemporaryFile(/tmp/multipartBody7623035922185624734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800124032,"filename":"image_15122025_12_24_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/15/3041d3760dccd886cbcef3b94c90b0e1.jpg","text":"TemporaryFile(/tmp/multipartBody6799062686676746947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800124032,"filename":"image_15122025_12_23_45_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399501238","file1":"1399501181","file0":"1399501111","file4":"1399501334","file5":"1399501404","file3":"1399501256"},"map_files_photo_id_array":[{"photo_id":"1399501404","filename":"file5"},{"photo_id":"1399501238","filename":"file2"},{"photo_id":"1399501334","filename":"file4"},{"photo_id":"1399501181","filename":"file1"},{"photo_id":"1399501111","filename":"file0"},{"photo_id":"1399501256","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399501111":["hashtag1","hashtag2"]},{"1399501404":["hashtag1","hashtag2"]},{"1399501181":["hashtag1","hashtag2"]},{"1399501334":["hashtag1","hashtag2"]},{"1399501256":["hashtag1","hashtag2"]},{"1399501238":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399501111, 1399501404, 1399501181, 1399501334, 1399501256, 1399501238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18877053260803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 13:01:42.590017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_58_1617.jpg', '/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_59_1721.jpg', '/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_01_1660.jpg', '/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_02_1586.jpg', '/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_04_1679.jpg', '/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_06_1543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_58_1617.jpg
/home/pi/Desktop/images/05112025/14/56/image_05112025_14_56_59_1721.jpg
/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_01_1660.jpg
/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_02_1586.jpg
/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_04_1679.jpg
/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_06_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":["1399501458","1399501452","1399501460","1399501454","1399501457","1399501456"],"photo_ids_order":["1399501452","1399501454","1399501456","1399501457","1399501458","1399501460"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bdc6d3e6536fc41d8a37d1dd777b0dbd.jpg","text":"TemporaryFile(/tmp/multipartBody5499972264698251140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800163318,"filename":"image_05112025_14_57_04_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/15/363afa5e83bfd26ff8227feca141681b.jpg","text":"TemporaryFile(/tmp/multipartBody8385270866513916643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800163318,"filename":"image_05112025_14_56_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/15/f42eb9c151ba799cb4d12e8799c2b9e9.jpg","text":"TemporaryFile(/tmp/multipartBody4091128481950191717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800163318,"filename":"image_05112025_14_57_06_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/15/338bea3c920f1a2f9e18f0f5efd5eba4.jpg","text":"TemporaryFile(/tmp/multipartBody18263267883560114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800163318,"filename":"image_05112025_14_56_59_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/15/db9d008adc78b0650a39f5d1376d8459.jpg","text":"TemporaryFile(/tmp/multipartBody5584969254188033151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800163318,"filename":"image_05112025_14_57_02_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/15/d08574fe64ba05cacbf11a4f8bfd8fa9.jpg","text":"TemporaryFile(/tmp/multipartBody1592738109525746788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800163318,"filename":"image_05112025_14_57_01_1660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399501456","file1":"1399501454","file0":"1399501452","file4":"1399501458","file5":"1399501460","file3":"1399501457"},"map_files_photo_id_array":[{"photo_id":"1399501460","filename":"file5"},{"photo_id":"1399501456","filename":"file2"},{"photo_id":"1399501458","filename":"file4"},{"photo_id":"1399501454","filename":"file1"},{"photo_id":"1399501452","filename":"file0"},{"photo_id":"1399501457","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399501458":["hashtag1","hashtag2"]},{"1399501452":["hashtag1","hashtag2"]},{"1399501460":["hashtag1","hashtag2"]},{"1399501454":["hashtag1","hashtag2"]},{"1399501457":["hashtag1","hashtag2"]},{"1399501456":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399501458, 1399501452, 1399501460, 1399501454, 1399501457, 1399501456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66088247299194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 13:02:21.909836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/24/image_15122025_12_24_35_9626.jpg', '/home/pi/Desktop/images/15122025/12/24/image_15122025_12_24_44_9664.jpg', '/home/pi/Desktop/images/15122025/12/24/image_15122025_12_24_55_10653.jpg', '/home/pi/Desktop/images/15122025/12/24/image_15122025_12_25_05_9861.jpg', '/home/pi/Desktop/images/15122025/12/25/image_15122025_12_25_14_9594.jpg', '/home/pi/Desktop/images/15122025/12/25/image_15122025_12_25_24_9920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/24/image_15122025_12_24_35_9626.jpg
/home/pi/Desktop/images/15122025/12/24/image_15122025_12_24_44_9664.jpg
/home/pi/Desktop/images/15122025/12/24/image_15122025_12_24_55_10653.jpg
/home/pi/Desktop/images/15122025/12/24/image_15122025_12_25_05_9861.jpg
/home/pi/Desktop/images/15122025/12/25/image_15122025_12_25_14_9594.jpg
/home/pi/Desktop/images/15122025/12/25/image_15122025_12_25_24_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":["1399501467","1399501461","1399501463","1399501483","1399501471","1399501465"],"photo_ids_order":["1399501461","1399501463","1399501465","1399501467","1399501471","1399501483"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5b23b07e4d97060ffe8e64f98ec27dce.jpg","text":"TemporaryFile(/tmp/multipartBody2793961481112788994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800202538,"filename":"image_15122025_12_25_05_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/edc581bbb6b2ab0acb2831530ff6df8d.jpg","text":"TemporaryFile(/tmp/multipartBody1447246300531844997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800202538,"filename":"image_15122025_12_24_35_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f153bd5823707510cd7fb800cca28054.jpg","text":"TemporaryFile(/tmp/multipartBody2151650370051531093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800202538,"filename":"image_15122025_12_24_44_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2dbff3a016a15b367163cfca0119da63.jpg","text":"TemporaryFile(/tmp/multipartBody8076793958694276377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800202538,"filename":"image_15122025_12_25_24_9920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c9662316a32fe6d74149ace9932d1d9a.jpg","text":"TemporaryFile(/tmp/multipartBody7005635569363674088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800202538,"filename":"image_15122025_12_25_14_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a371bbae455e4055627fda8ac63c82bd.jpg","text":"TemporaryFile(/tmp/multipartBody3047865845992874833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800202538,"filename":"image_15122025_12_24_55_10653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399501465","file1":"1399501463","file0":"1399501461","file4":"1399501471","file5":"1399501483","file3":"1399501467"},"map_files_photo_id_array":[{"photo_id":"1399501483","filename":"file5"},{"photo_id":"1399501465","filename":"file2"},{"photo_id":"1399501471","filename":"file4"},{"photo_id":"1399501463","filename":"file1"},{"photo_id":"1399501461","filename":"file0"},{"photo_id":"1399501467","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399501467":["hashtag1","hashtag2"]},{"1399501461":["hashtag1","hashtag2"]},{"1399501463":["hashtag1","hashtag2"]},{"1399501483":["hashtag1","hashtag2"]},{"1399501471":["hashtag1","hashtag2"]},{"1399501465":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399501467, 1399501461, 1399501463, 1399501483, 1399501471, 1399501465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59857177734375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 13:03:02.878767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/25/image_15122025_12_25_35_10656.jpg', '/home/pi/Desktop/images/15122025/12/25/image_15122025_12_25_45_9729.jpg', '/home/pi/Desktop/images/15122025/12/25/image_15122025_12_25_54_9701.jpg', '/home/pi/Desktop/images/15122025/12/25/image_15122025_12_26_04_9755.jpg', '/home/pi/Desktop/images/15122025/12/26/image_15122025_12_26_15_10719.jpg', '/home/pi/Desktop/images/15122025/12/26/image_15122025_12_26_25_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/25/image_15122025_12_25_35_10656.jpg
/home/pi/Desktop/images/15122025/12/25/image_15122025_12_25_45_9729.jpg
/home/pi/Desktop/images/15122025/12/25/image_15122025_12_25_54_9701.jpg
/home/pi/Desktop/images/15122025/12/25/image_15122025_12_26_04_9755.jpg
/home/pi/Desktop/images/15122025/12/26/image_15122025_12_26_15_10719.jpg
/home/pi/Desktop/images/15122025/12/26/image_15122025_12_26_25_9725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399501491","1399501485","1399501484","1399501487","1399501489","1399501486"],"photo_ids_order":["1399501484","1399501485","1399501486","1399501487","1399501489","1399501491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/96109f03a63e1de18f93ba3bc82fe64f.jpg","text":"TemporaryFile(/tmp/multipartBody7341941398469179508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800243568,"filename":"image_15122025_12_26_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/15/e31b9adb9a85b21eb8bb956310b53dcc.jpg","text":"TemporaryFile(/tmp/multipartBody3618667730459060171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800243568,"filename":"image_15122025_12_25_45_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/15/ec746918f402e9254c70ee705998a78e.jpg","text":"TemporaryFile(/tmp/multipartBody5121703572298315701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800243568,"filename":"image_15122025_12_25_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/15/6a03b38004e0452a6a29786dc03a23dc.jpg","text":"TemporaryFile(/tmp/multipartBody5135661567171920230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800243568,"filename":"image_15122025_12_26_04_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7414a29353445c30a5c49e472d47c9f1.jpg","text":"TemporaryFile(/tmp/multipartBody1345711871655411885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800243568,"filename":"image_15122025_12_26_15_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a64a68b33db4cf1dc42e3e2ba32e3077.jpg","text":"TemporaryFile(/tmp/multipartBody2666546685096248175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800243568,"filename":"image_15122025_12_25_54_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399501486","file1":"1399501485","file0":"1399501484","file4":"1399501489","file5":"1399501491","file3":"1399501487"},"map_files_photo_id_array":[{"photo_id":"1399501491","filename":"file5"},{"photo_id":"1399501486","filename":"file2"},{"photo_id":"1399501489","filename":"file4"},{"photo_id":"1399501485","filename":"file1"},{"photo_id":"1399501484","filename":"file0"},{"photo_id":"1399501487","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399501491":["hashtag1","hashtag2"]},{"1399501485":["hashtag1","hashtag2"]},{"1399501484":["hashtag1","hashtag2"]},{"1399501487":["hashtag1","hashtag2"]},{"1399501489":["hashtag1","hashtag2"]},{"1399501486":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399501491, 1399501485, 1399501484, 1399501487, 1399501489, 1399501486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.49207592010498 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 13:04:03.240807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/26/image_15122025_12_26_34_9546.jpg', '/home/pi/Desktop/images/15122025/12/26/image_15122025_12_26_45_10656.jpg', '/home/pi/Desktop/images/15122025/12/26/image_15122025_12_26_55_9865.jpg', '/home/pi/Desktop/images/15122025/12/26/image_15122025_12_27_04_9639.jpg', '/home/pi/Desktop/images/15122025/12/27/image_15122025_12_27_15_10725.jpg', '/home/pi/Desktop/images/15122025/12/27/image_15122025_12_27_25_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/26/image_15122025_12_26_34_9546.jpg
/home/pi/Desktop/images/15122025/12/26/image_15122025_12_26_45_10656.jpg
/home/pi/Desktop/images/15122025/12/26/image_15122025_12_26_55_9865.jpg
/home/pi/Desktop/images/15122025/12/26/image_15122025_12_27_04_9639.jpg
/home/pi/Desktop/images/15122025/12/27/image_15122025_12_27_15_10725.jpg
/home/pi/Desktop/images/15122025/12/27/image_15122025_12_27_25_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":["1399501656","1399501620","1399501541","1399501582","1399501735","1399501695"],"photo_ids_order":["1399501541","1399501582","1399501620","1399501656","1399501695","1399501735"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e8488f3f4ef211f0547b5176405e9d74.jpg","text":"TemporaryFile(/tmp/multipartBody902377557809307164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800304025,"filename":"image_15122025_12_27_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/15/91196f3207bbfb9829a5e37b7d1fd989.jpg","text":"TemporaryFile(/tmp/multipartBody4085496539401520740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800304025,"filename":"image_15122025_12_26_55_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/15/a3f477a058f36cfe6f281f02316faa35.jpg","text":"TemporaryFile(/tmp/multipartBody1192643119393365800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800304025,"filename":"image_15122025_12_26_34_9546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f575465d2beedf44a5797b5b7707dc59.jpg","text":"TemporaryFile(/tmp/multipartBody5878107847003121543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800304025,"filename":"image_15122025_12_26_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/15/460ce835e64c864f58005f7e1decf0c8.jpg","text":"TemporaryFile(/tmp/multipartBody1026699588804880162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800304025,"filename":"image_15122025_12_27_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/15/c0f3678fdfeeb24b3aef9d93ca6ebe5d.jpg","text":"TemporaryFile(/tmp/multipartBody1118053332400224616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800304025,"filename":"image_15122025_12_27_15_10725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399501620","file1":"1399501582","file0":"1399501541","file4":"1399501695","file5":"1399501735","file3":"1399501656"},"map_files_photo_id_array":[{"photo_id":"1399501735","filename":"file5"},{"photo_id":"1399501620","filename":"file2"},{"photo_id":"1399501695","filename":"file4"},{"photo_id":"1399501582","filename":"file1"},{"photo_id":"1399501541","filename":"file0"},{"photo_id":"1399501656","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399501656":["hashtag1","hashtag2"]},{"1399501620":["hashtag1","hashtag2"]},{"1399501541":["hashtag1","hashtag2"]},{"1399501582":["hashtag1","hashtag2"]},{"1399501735":["hashtag1","hashtag2"]},{"1399501695":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399501656, 1399501620, 1399501541, 1399501582, 1399501735, 1399501695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47836995124817 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 13:04:42.683053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_07_1585.jpg', '/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_09_1648.jpg', '/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_11_1803.jpg', '/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_12_1671.jpg', '/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_15_2625.jpg', '/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_19_3571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_07_1585.jpg
/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_09_1648.jpg
/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_11_1803.jpg
/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_12_1671.jpg
/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_15_2625.jpg
/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_19_3571.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5974452495574951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 13:05:02.622632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/27/image_15122025_12_27_34_9662.jpg', '/home/pi/Desktop/images/15122025/12/27/image_15122025_12_27_45_10641.jpg', '/home/pi/Desktop/images/15122025/12/27/image_15122025_12_27_55_9820.jpg', '/home/pi/Desktop/images/15122025/12/27/image_15122025_12_28_04_9562.jpg', '/home/pi/Desktop/images/15122025/12/28/image_15122025_12_28_14_9714.jpg', '/home/pi/Desktop/images/15122025/12/28/image_15122025_12_28_25_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/27/image_15122025_12_27_34_9662.jpg
/home/pi/Desktop/images/15122025/12/27/image_15122025_12_27_45_10641.jpg
/home/pi/Desktop/images/15122025/12/27/image_15122025_12_27_55_9820.jpg
/home/pi/Desktop/images/15122025/12/27/image_15122025_12_28_04_9562.jpg
/home/pi/Desktop/images/15122025/12/28/image_15122025_12_28_14_9714.jpg
/home/pi/Desktop/images/15122025/12/28/image_15122025_12_28_25_10658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399501974","1399502176","1399502056","1399502017","1399501903","1399501846"],"photo_ids_order":["1399501846","1399501903","1399501974","1399502017","1399502056","1399502176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/afd7f12bf6119b617056c5f2927d49d0.jpg","text":"TemporaryFile(/tmp/multipartBody5804361153609601784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800363250,"filename":"image_15122025_12_27_55_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dd286e30c979e884132ecb15464ee4f7.jpg","text":"TemporaryFile(/tmp/multipartBody1195181838368559538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800363250,"filename":"image_15122025_12_28_25_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3cf1bb00682f724d35ab108a47262659.jpg","text":"TemporaryFile(/tmp/multipartBody5422760315717218247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800363250,"filename":"image_15122025_12_28_14_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a6ad85c0af7dcb1c258edfd7ae572cbc.jpg","text":"TemporaryFile(/tmp/multipartBody8419816267998094162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800363250,"filename":"image_15122025_12_28_04_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/aae98038e7d7602f4510a4028de63d48.jpg","text":"TemporaryFile(/tmp/multipartBody8667376131577518110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800363250,"filename":"image_15122025_12_27_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/15/d4dc9c838bdc3341f2c35ae0ffdcaedd.jpg","text":"TemporaryFile(/tmp/multipartBody8198980975404591095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800363250,"filename":"image_15122025_12_27_34_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399501974","file1":"1399501903","file0":"1399501846","file4":"1399502056","file5":"1399502176","file3":"1399502017"},"map_files_photo_id_array":[{"photo_id":"1399502176","filename":"file5"},{"photo_id":"1399501974","filename":"file2"},{"photo_id":"1399502056","filename":"file4"},{"photo_id":"1399501903","filename":"file1"},{"photo_id":"1399501846","filename":"file0"},{"photo_id":"1399502017","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399501974":["hashtag1","hashtag2"]},{"1399502176":["hashtag1","hashtag2"]},{"1399502056":["hashtag1","hashtag2"]},{"1399502017":["hashtag1","hashtag2"]},{"1399501903":["hashtag1","hashtag2"]},{"1399501846":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399501974, 1399502176, 1399502056, 1399502017, 1399501903, 1399501846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07215094566345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 13:05:41.935626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_07_1585.jpg', '/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_09_1648.jpg', '/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_11_1803.jpg', '/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_12_1671.jpg', '/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_15_2625.jpg', '/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_19_3571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_07_1585.jpg
/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_09_1648.jpg
/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_11_1803.jpg
/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_12_1671.jpg
/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_15_2625.jpg
/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_19_3571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399502619","1399502392","1399502560","1399502476","1399502521","1399502682"],"photo_ids_order":["1399502392","1399502476","1399502521","1399502560","1399502619","1399502682"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cfcc9733a788102fe9848e130515230f.jpg","text":"TemporaryFile(/tmp/multipartBody4540023366257868908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800402533,"filename":"image_05112025_14_57_15_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ae27623084d2d884b70b1acff992d1c2.jpg","text":"TemporaryFile(/tmp/multipartBody9174520861954528309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800402533,"filename":"image_05112025_14_57_07_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/15/622ff0124fc390e9c3aa677c3894d768.jpg","text":"TemporaryFile(/tmp/multipartBody6288971376722041129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800402533,"filename":"image_05112025_14_57_12_1671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5c10b6eaca499a01405cdacdbcc28bfa.jpg","text":"TemporaryFile(/tmp/multipartBody2336812831840729221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800402533,"filename":"image_05112025_14_57_09_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/15/e545cec466ad9e5223c19a1d86d63468.jpg","text":"TemporaryFile(/tmp/multipartBody8656528930551308555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800402533,"filename":"image_05112025_14_57_11_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/15/ec0270395b2aa7b6ef00a661a27ddbd1.jpg","text":"TemporaryFile(/tmp/multipartBody8890738611472656908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800402533,"filename":"image_05112025_14_57_19_3571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399502521","file1":"1399502476","file0":"1399502392","file4":"1399502619","file5":"1399502682","file3":"1399502560"},"map_files_photo_id_array":[{"photo_id":"1399502682","filename":"file5"},{"photo_id":"1399502521","filename":"file2"},{"photo_id":"1399502619","filename":"file4"},{"photo_id":"1399502476","filename":"file1"},{"photo_id":"1399502392","filename":"file0"},{"photo_id":"1399502560","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399502619":["hashtag1","hashtag2"]},{"1399502392":["hashtag1","hashtag2"]},{"1399502560":["hashtag1","hashtag2"]},{"1399502476":["hashtag1","hashtag2"]},{"1399502521":["hashtag1","hashtag2"]},{"1399502682":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399502619, 1399502392, 1399502560, 1399502476, 1399502521, 1399502682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4463324546814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 13:06:22.171575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/28/image_15122025_12_28_34_9596.jpg', '/home/pi/Desktop/images/15122025/12/28/image_15122025_12_28_55_10820.jpg', '/home/pi/Desktop/images/15122025/12/28/image_15122025_12_29_05_9629.jpg', '/home/pi/Desktop/images/15122025/12/29/image_15122025_12_29_14_9782.jpg', '/home/pi/Desktop/images/15122025/12/29/image_15122025_12_29_25_10643.jpg', '/home/pi/Desktop/images/15122025/12/29/image_15122025_12_29_35_9900.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/28/image_15122025_12_28_34_9596.jpg
/home/pi/Desktop/images/15122025/12/28/image_15122025_12_28_55_10820.jpg
/home/pi/Desktop/images/15122025/12/28/image_15122025_12_29_05_9629.jpg
/home/pi/Desktop/images/15122025/12/29/image_15122025_12_29_14_9782.jpg
/home/pi/Desktop/images/15122025/12/29/image_15122025_12_29_25_10643.jpg
/home/pi/Desktop/images/15122025/12/29/image_15122025_12_29_35_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":["1399502814","1399502817","1399502780","1399502819","1399502821","1399502793"],"photo_ids_order":["1399502780","1399502793","1399502814","1399502817","1399502819","1399502821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b290556411b77391e37a51aa3b4717ee.jpg","text":"TemporaryFile(/tmp/multipartBody4436535069433317600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800442802,"filename":"image_15122025_12_29_05_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/15/b045660256eba07fc98bea0e0d618ce4.jpg","text":"TemporaryFile(/tmp/multipartBody1260863686810062113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800442802,"filename":"image_15122025_12_29_14_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/18d53bc4ac08079e061cf1d4723d90fe.jpg","text":"TemporaryFile(/tmp/multipartBody6190562904726134569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800442802,"filename":"image_15122025_12_28_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/15/c5b1d769ed14241d69bdf29fc510c866.jpg","text":"TemporaryFile(/tmp/multipartBody7418641526834068250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800442802,"filename":"image_15122025_12_29_25_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5e42050dad3ba143f8d65944ded7e85d.jpg","text":"TemporaryFile(/tmp/multipartBody2865045621794543125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800442802,"filename":"image_15122025_12_29_35_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/15/96867b2c9533910bfb9fd7c3c4b672ce.jpg","text":"TemporaryFile(/tmp/multipartBody359450029090434749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800442802,"filename":"image_15122025_12_28_55_10820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399502814","file1":"1399502793","file0":"1399502780","file4":"1399502819","file5":"1399502821","file3":"1399502817"},"map_files_photo_id_array":[{"photo_id":"1399502821","filename":"file5"},{"photo_id":"1399502814","filename":"file2"},{"photo_id":"1399502819","filename":"file4"},{"photo_id":"1399502793","filename":"file1"},{"photo_id":"1399502780","filename":"file0"},{"photo_id":"1399502817","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399502814":["hashtag1","hashtag2"]},{"1399502817":["hashtag1","hashtag2"]},{"1399502780":["hashtag1","hashtag2"]},{"1399502819":["hashtag1","hashtag2"]},{"1399502821":["hashtag1","hashtag2"]},{"1399502793":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399502814, 1399502817, 1399502780, 1399502819, 1399502821, 1399502793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.3298237323761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 13:07:03.193349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/29/image_15122025_12_29_54_9625.jpg', '/home/pi/Desktop/images/15122025/12/30/image_15122025_12_30_14_10057.jpg', '/home/pi/Desktop/images/15122025/12/30/image_15122025_12_30_25_10789.jpg', '/home/pi/Desktop/images/15122025/12/30/image_15122025_12_30_35_9870.jpg', '/home/pi/Desktop/images/15122025/12/30/image_15122025_12_30_45_9959.jpg', '/home/pi/Desktop/images/15122025/12/30/image_15122025_12_31_04_10047.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/29/image_15122025_12_29_54_9625.jpg
/home/pi/Desktop/images/15122025/12/30/image_15122025_12_30_14_10057.jpg
/home/pi/Desktop/images/15122025/12/30/image_15122025_12_30_25_10789.jpg
/home/pi/Desktop/images/15122025/12/30/image_15122025_12_30_35_9870.jpg
/home/pi/Desktop/images/15122025/12/30/image_15122025_12_30_45_9959.jpg
/home/pi/Desktop/images/15122025/12/30/image_15122025_12_31_04_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":["1399502871","1399502823","1399502835","1399502822","1399502914","1399502824"],"photo_ids_order":["1399502822","1399502823","1399502824","1399502835","1399502871","1399502914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d02c428a68f69114fce43fa900341f6d.jpg","text":"TemporaryFile(/tmp/multipartBody573757190453387413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800483908,"filename":"image_15122025_12_30_45_9959.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/66d21f0ae7e7c216cc4bc78ffd3ea7a7.jpg","text":"TemporaryFile(/tmp/multipartBody8675247749965716686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800483908,"filename":"image_15122025_12_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/15/77178162098fa7f266ed11358f2006f7.jpg","text":"TemporaryFile(/tmp/multipartBody8755468104917985176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800483908,"filename":"image_15122025_12_30_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/15/72fa4d7b246e90838bb624a6d0109d77.jpg","text":"TemporaryFile(/tmp/multipartBody4835404315332248775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800483908,"filename":"image_15122025_12_29_54_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3198b1fcb1d7e866a0c08f72f79780bb.jpg","text":"TemporaryFile(/tmp/multipartBody4378651050390861182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800483908,"filename":"image_15122025_12_31_04_10047.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5dba7355968ede83c3446ac70db60315.jpg","text":"TemporaryFile(/tmp/multipartBody346260476796033646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800483908,"filename":"image_15122025_12_30_25_10789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399502824","file1":"1399502823","file0":"1399502822","file4":"1399502871","file5":"1399502914","file3":"1399502835"},"map_files_photo_id_array":[{"photo_id":"1399502914","filename":"file5"},{"photo_id":"1399502824","filename":"file2"},{"photo_id":"1399502871","filename":"file4"},{"photo_id":"1399502823","filename":"file1"},{"photo_id":"1399502822","filename":"file0"},{"photo_id":"1399502835","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399502871":["hashtag1","hashtag2"]},{"1399502823":["hashtag1","hashtag2"]},{"1399502835":["hashtag1","hashtag2"]},{"1399502822":["hashtag1","hashtag2"]},{"1399502914":["hashtag1","hashtag2"]},{"1399502824":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399502871, 1399502823, 1399502835, 1399502822, 1399502914, 1399502824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51846623420715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 13:07:42.476563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_21_2692.jpg', '/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_24_2692.jpg', '/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_28_3670.jpg', '/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_30_2741.jpg', '/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_33_2547.jpg', '/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_38_5295.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_21_2692.jpg
/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_24_2692.jpg
/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_28_3670.jpg
/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_30_2741.jpg
/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_33_2547.jpg
/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_38_5295.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399503062","1399503088","1399503031","1399503028","1399503084","1399503051"],"photo_ids_order":["1399503028","1399503031","1399503051","1399503062","1399503084","1399503088"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/870b2a3d22794380eb69cba6d78f4939.jpg","text":"TemporaryFile(/tmp/multipartBody4305007846946640522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800524105,"filename":"image_05112025_14_57_30_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/15/c8137ca1e0c402f0d0ec054bd5daf7a3.jpg","text":"TemporaryFile(/tmp/multipartBody6804283169845681776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800524105,"filename":"image_05112025_14_57_38_5295.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f64da472bc4bb96f35e0116fa49f853c.jpg","text":"TemporaryFile(/tmp/multipartBody6526830818953172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800524105,"filename":"image_05112025_14_57_24_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/15/8186bc0a0458abf5564563d144db2d37.jpg","text":"TemporaryFile(/tmp/multipartBody1221646446168570623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800524105,"filename":"image_05112025_14_57_21_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/15/79ddadcccbb6a84ab02ff12fb3a5b858.jpg","text":"TemporaryFile(/tmp/multipartBody1497947715212868970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800524105,"filename":"image_05112025_14_57_33_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/211de2de45722c7676d250bd0ad8a70e.jpg","text":"TemporaryFile(/tmp/multipartBody7492587308450860106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800524105,"filename":"image_05112025_14_57_28_3670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399503051","file1":"1399503031","file0":"1399503028","file4":"1399503084","file5":"1399503088","file3":"1399503062"},"map_files_photo_id_array":[{"photo_id":"1399503088","filename":"file5"},{"photo_id":"1399503051","filename":"file2"},{"photo_id":"1399503084","filename":"file4"},{"photo_id":"1399503031","filename":"file1"},{"photo_id":"1399503028","filename":"file0"},{"photo_id":"1399503062","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399503062":["hashtag1","hashtag2"]},{"1399503088":["hashtag1","hashtag2"]},{"1399503031":["hashtag1","hashtag2"]},{"1399503028":["hashtag1","hashtag2"]},{"1399503084":["hashtag1","hashtag2"]},{"1399503051":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399503062, 1399503088, 1399503031, 1399503028, 1399503084, 1399503051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19195342063904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 13:08:22.735959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/31/image_15122025_12_31_14_9846.jpg', '/home/pi/Desktop/images/15122025/12/31/image_15122025_12_31_25_10418.jpg', '/home/pi/Desktop/images/15122025/12/31/image_15122025_12_31_35_9972.jpg', '/home/pi/Desktop/images/15122025/12/31/image_15122025_12_31_44_9461.jpg', '/home/pi/Desktop/images/15122025/12/31/image_15122025_12_31_54_10073.jpg', '/home/pi/Desktop/images/15122025/12/31/image_15122025_12_32_04_10111.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/31/image_15122025_12_31_14_9846.jpg
/home/pi/Desktop/images/15122025/12/31/image_15122025_12_31_25_10418.jpg
/home/pi/Desktop/images/15122025/12/31/image_15122025_12_31_35_9972.jpg
/home/pi/Desktop/images/15122025/12/31/image_15122025_12_31_44_9461.jpg
/home/pi/Desktop/images/15122025/12/31/image_15122025_12_31_54_10073.jpg
/home/pi/Desktop/images/15122025/12/31/image_15122025_12_32_04_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":["1399503092","1399503124","1399503118","1399503096","1399503090","1399503093"],"photo_ids_order":["1399503090","1399503092","1399503093","1399503096","1399503118","1399503124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/11e2f6221158f6ec815008166eb7012e.jpg","text":"TemporaryFile(/tmp/multipartBody4620215796119646481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800563376,"filename":"image_15122025_12_31_25_10418.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/db8182b2d4657e3c3c8117d9f1ba9a22.jpg","text":"TemporaryFile(/tmp/multipartBody7410201152763224460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800563376,"filename":"image_15122025_12_32_04_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/15/f90fb3151f5116739826b05fcff91e0a.jpg","text":"TemporaryFile(/tmp/multipartBody3591668494833062726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800563376,"filename":"image_15122025_12_31_54_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/15/9cd5ec0abdd7102195c89a67fb744a27.jpg","text":"TemporaryFile(/tmp/multipartBody8177456497455240411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800563376,"filename":"image_15122025_12_31_44_9461.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5ca2f3cf453c3168af097171669427fa.jpg","text":"TemporaryFile(/tmp/multipartBody8389103980608955572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800563376,"filename":"image_15122025_12_31_14_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/649cc79625c93f9678ca8891e0a27bc1.jpg","text":"TemporaryFile(/tmp/multipartBody9082148571033939847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800563376,"filename":"image_15122025_12_31_35_9972.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399503093","file1":"1399503092","file0":"1399503090","file4":"1399503118","file5":"1399503124","file3":"1399503096"},"map_files_photo_id_array":[{"photo_id":"1399503124","filename":"file5"},{"photo_id":"1399503093","filename":"file2"},{"photo_id":"1399503118","filename":"file4"},{"photo_id":"1399503092","filename":"file1"},{"photo_id":"1399503090","filename":"file0"},{"photo_id":"1399503096","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399503092":["hashtag1","hashtag2"]},{"1399503124":["hashtag1","hashtag2"]},{"1399503118":["hashtag1","hashtag2"]},{"1399503096":["hashtag1","hashtag2"]},{"1399503090":["hashtag1","hashtag2"]},{"1399503093":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399503092, 1399503124, 1399503118, 1399503096, 1399503090, 1399503093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.019890546798706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 13:09:03.016895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/32/image_15122025_12_32_14_9828.jpg', '/home/pi/Desktop/images/15122025/12/32/image_15122025_12_32_25_10588.jpg', '/home/pi/Desktop/images/15122025/12/32/image_15122025_12_32_34_9731.jpg', '/home/pi/Desktop/images/15122025/12/32/image_15122025_12_32_44_9614.jpg', '/home/pi/Desktop/images/15122025/12/32/image_15122025_12_32_55_10652.jpg', '/home/pi/Desktop/images/15122025/12/32/image_15122025_12_33_04_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/32/image_15122025_12_32_14_9828.jpg
/home/pi/Desktop/images/15122025/12/32/image_15122025_12_32_25_10588.jpg
/home/pi/Desktop/images/15122025/12/32/image_15122025_12_32_34_9731.jpg
/home/pi/Desktop/images/15122025/12/32/image_15122025_12_32_44_9614.jpg
/home/pi/Desktop/images/15122025/12/32/image_15122025_12_32_55_10652.jpg
/home/pi/Desktop/images/15122025/12/32/image_15122025_12_33_04_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":["1399503210","1399503247","1399503232","1399503231","1399503174","1399503156"],"photo_ids_order":["1399503156","1399503174","1399503210","1399503231","1399503232","1399503247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1b1e7d345ebfd6be4eeb5e9fb2434026.jpg","text":"TemporaryFile(/tmp/multipartBody7614544453657069727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800603779,"filename":"image_15122025_12_32_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/15/3ee1fe93bdb7a839f3728d2dda70f265.jpg","text":"TemporaryFile(/tmp/multipartBody3424087605183256205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800603779,"filename":"image_15122025_12_33_04_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/023690d5f2609021999100de1746a735.jpg","text":"TemporaryFile(/tmp/multipartBody6133069759375832962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800603779,"filename":"image_15122025_12_32_55_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ed5ff816a98119250175f380237dff2e.jpg","text":"TemporaryFile(/tmp/multipartBody1958568910751688995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800603779,"filename":"image_15122025_12_32_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/15/fc7fa689afdbd29f29b69e85e80f4075.jpg","text":"TemporaryFile(/tmp/multipartBody4735835021679263458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800603779,"filename":"image_15122025_12_32_25_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/35747df20c4ae0206cdf8b002a40bb09.jpg","text":"TemporaryFile(/tmp/multipartBody2752016138214216795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800603779,"filename":"image_15122025_12_32_14_9828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399503210","file1":"1399503174","file0":"1399503156","file4":"1399503232","file5":"1399503247","file3":"1399503231"},"map_files_photo_id_array":[{"photo_id":"1399503247","filename":"file5"},{"photo_id":"1399503210","filename":"file2"},{"photo_id":"1399503232","filename":"file4"},{"photo_id":"1399503174","filename":"file1"},{"photo_id":"1399503156","filename":"file0"},{"photo_id":"1399503231","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399503210":["hashtag1","hashtag2"]},{"1399503247":["hashtag1","hashtag2"]},{"1399503232":["hashtag1","hashtag2"]},{"1399503231":["hashtag1","hashtag2"]},{"1399503174":["hashtag1","hashtag2"]},{"1399503156":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399503210, 1399503247, 1399503232, 1399503231, 1399503174, 1399503156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16684699058533 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 13:09:41.977622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_40_1873.jpg', '/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_43_3309.jpg', '/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_45_1558.jpg', '/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_49_3588.jpg', '/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_51_2686.jpg', '/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_54_2607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_40_1873.jpg
/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_43_3309.jpg
/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_45_1558.jpg
/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_49_3588.jpg
/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_51_2686.jpg
/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_54_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":["1399503318","1399503329","1399503346","1399503279","1399503273","1399503336"],"photo_ids_order":["1399503273","1399503279","1399503318","1399503329","1399503336","1399503346"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/663ab0e76e435b3064d5d78e01342269.jpg","text":"TemporaryFile(/tmp/multipartBody3952627779016854800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800642724,"filename":"image_05112025_14_57_45_1558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/09f23f8ad9b222890a8212a2828b4e4d.jpg","text":"TemporaryFile(/tmp/multipartBody8823035632622567316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800642724,"filename":"image_05112025_14_57_49_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/15/bbfc6aac966448265a1847dabfaf9fbf.jpg","text":"TemporaryFile(/tmp/multipartBody5889260953915252214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800642724,"filename":"image_05112025_14_57_54_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/15/3c5820d3098b1e753e15e996b1765a14.jpg","text":"TemporaryFile(/tmp/multipartBody7047395245619642330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800642724,"filename":"image_05112025_14_57_43_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/15/a3c8a27f0ddfd4363988e372a954f5e3.jpg","text":"TemporaryFile(/tmp/multipartBody1453811915749081708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800642724,"filename":"image_05112025_14_57_40_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/15/0fb765cd7cf53b25adedb29e070799dd.jpg","text":"TemporaryFile(/tmp/multipartBody6180178454586794507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800642724,"filename":"image_05112025_14_57_51_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399503318","file1":"1399503279","file0":"1399503273","file4":"1399503336","file5":"1399503346","file3":"1399503329"},"map_files_photo_id_array":[{"photo_id":"1399503346","filename":"file5"},{"photo_id":"1399503318","filename":"file2"},{"photo_id":"1399503336","filename":"file4"},{"photo_id":"1399503279","filename":"file1"},{"photo_id":"1399503273","filename":"file0"},{"photo_id":"1399503329","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399503318":["hashtag1","hashtag2"]},{"1399503329":["hashtag1","hashtag2"]},{"1399503346":["hashtag1","hashtag2"]},{"1399503279":["hashtag1","hashtag2"]},{"1399503273":["hashtag1","hashtag2"]},{"1399503336":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399503318, 1399503329, 1399503346, 1399503279, 1399503273, 1399503336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66640496253967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 13:10:22.263581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/33/image_15122025_12_33_14_9793.jpg', '/home/pi/Desktop/images/15122025/12/33/image_15122025_12_33_24_9778.jpg', '/home/pi/Desktop/images/15122025/12/33/image_15122025_12_33_35_10726.jpg', '/home/pi/Desktop/images/15122025/12/33/image_15122025_12_33_44_9641.jpg', '/home/pi/Desktop/images/15122025/12/33/image_15122025_12_33_54_9698.jpg', '/home/pi/Desktop/images/15122025/12/34/image_15122025_12_34_15_9855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/33/image_15122025_12_33_14_9793.jpg
/home/pi/Desktop/images/15122025/12/33/image_15122025_12_33_24_9778.jpg
/home/pi/Desktop/images/15122025/12/33/image_15122025_12_33_35_10726.jpg
/home/pi/Desktop/images/15122025/12/33/image_15122025_12_33_44_9641.jpg
/home/pi/Desktop/images/15122025/12/33/image_15122025_12_33_54_9698.jpg
/home/pi/Desktop/images/15122025/12/34/image_15122025_12_34_15_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":["1399503458","1399503347","1399503487","1399503421","1399503381","1399503348"],"photo_ids_order":["1399503347","1399503348","1399503381","1399503421","1399503458","1399503487"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bd5ff6ccacb92e022e5857920fcae4b7.jpg","text":"TemporaryFile(/tmp/multipartBody147333508637337958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800682898,"filename":"image_15122025_12_33_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/15/d2d4b8e62432f66a7b96bd5f6d6ace21.jpg","text":"TemporaryFile(/tmp/multipartBody8759704846231618725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800682898,"filename":"image_15122025_12_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/15/08ebb925563490d1aaf3ba669058dd55.jpg","text":"TemporaryFile(/tmp/multipartBody793422779225533023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800682898,"filename":"image_15122025_12_34_15_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c1233715983747711699b8910b6b735c.jpg","text":"TemporaryFile(/tmp/multipartBody5655579480089710267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800682898,"filename":"image_15122025_12_33_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/15/45cb36da8b5aef29860b287da583b494.jpg","text":"TemporaryFile(/tmp/multipartBody7785639234999811685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800682898,"filename":"image_15122025_12_33_35_10726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e0821972dd57e52f70f59ca8127a4eac.jpg","text":"TemporaryFile(/tmp/multipartBody2801589594777123571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800682898,"filename":"image_15122025_12_33_24_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399503381","file1":"1399503348","file0":"1399503347","file4":"1399503458","file5":"1399503487","file3":"1399503421"},"map_files_photo_id_array":[{"photo_id":"1399503487","filename":"file5"},{"photo_id":"1399503381","filename":"file2"},{"photo_id":"1399503458","filename":"file4"},{"photo_id":"1399503348","filename":"file1"},{"photo_id":"1399503347","filename":"file0"},{"photo_id":"1399503421","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399503458":["hashtag1","hashtag2"]},{"1399503347":["hashtag1","hashtag2"]},{"1399503487":["hashtag1","hashtag2"]},{"1399503421":["hashtag1","hashtag2"]},{"1399503381":["hashtag1","hashtag2"]},{"1399503348":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399503458, 1399503347, 1399503487, 1399503421, 1399503381, 1399503348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45736336708069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 13:11:03.078206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/34/image_15122025_12_34_24_9669.jpg', '/home/pi/Desktop/images/15122025/12/34/image_15122025_12_34_34_9679.jpg', '/home/pi/Desktop/images/15122025/12/34/image_15122025_12_34_44_9916.jpg', '/home/pi/Desktop/images/15122025/12/34/image_15122025_12_34_55_10616.jpg', '/home/pi/Desktop/images/15122025/12/34/image_15122025_12_35_04_9659.jpg', '/home/pi/Desktop/images/15122025/12/35/image_15122025_12_35_15_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/34/image_15122025_12_34_24_9669.jpg
/home/pi/Desktop/images/15122025/12/34/image_15122025_12_34_34_9679.jpg
/home/pi/Desktop/images/15122025/12/34/image_15122025_12_34_44_9916.jpg
/home/pi/Desktop/images/15122025/12/34/image_15122025_12_34_55_10616.jpg
/home/pi/Desktop/images/15122025/12/34/image_15122025_12_35_04_9659.jpg
/home/pi/Desktop/images/15122025/12/35/image_15122025_12_35_15_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":["1399503647","1399503691","1399503766","1399503655","1399503699","1399503828"],"photo_ids_order":["1399503647","1399503655","1399503691","1399503699","1399503766","1399503828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8cbc6da3afaf28dda8bb19bd710b26e3.jpg","text":"TemporaryFile(/tmp/multipartBody6006529284481250172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800723780,"filename":"image_15122025_12_34_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/15/f71096def9b148829e4012f1b4821d19.jpg","text":"TemporaryFile(/tmp/multipartBody5947676626583148842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800723780,"filename":"image_15122025_12_34_44_9916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b1d71e0ae58758600e57271e095f1fd0.jpg","text":"TemporaryFile(/tmp/multipartBody7506245750604584769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800723780,"filename":"image_15122025_12_35_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/15/acb0b68c5f2efd624df119e64d949656.jpg","text":"TemporaryFile(/tmp/multipartBody4813599612583407801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800723780,"filename":"image_15122025_12_34_34_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e5f0719d4199dade5ecf0fe0bdcbf73a.jpg","text":"TemporaryFile(/tmp/multipartBody1564756593775294204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800723780,"filename":"image_15122025_12_34_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/15/7c41c9ac7e79be9579bad1919662ba25.jpg","text":"TemporaryFile(/tmp/multipartBody2211443881770398114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800723780,"filename":"image_15122025_12_35_15_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399503691","file1":"1399503655","file0":"1399503647","file4":"1399503766","file5":"1399503828","file3":"1399503699"},"map_files_photo_id_array":[{"photo_id":"1399503828","filename":"file5"},{"photo_id":"1399503691","filename":"file2"},{"photo_id":"1399503766","filename":"file4"},{"photo_id":"1399503655","filename":"file1"},{"photo_id":"1399503647","filename":"file0"},{"photo_id":"1399503699","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399503647":["hashtag1","hashtag2"]},{"1399503691":["hashtag1","hashtag2"]},{"1399503766":["hashtag1","hashtag2"]},{"1399503655":["hashtag1","hashtag2"]},{"1399503699":["hashtag1","hashtag2"]},{"1399503828":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399503647, 1399503691, 1399503766, 1399503655, 1399503699, 1399503828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98081088066101 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 13:11:42.553834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_57_3577.jpg', '/home/pi/Desktop/images/05112025/14/57/image_05112025_14_58_00_2562.jpg', '/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_07_1716.jpg', '/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_09_1615.jpg', '/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_13_3664.jpg', '/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_15_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/57/image_05112025_14_57_57_3577.jpg
/home/pi/Desktop/images/05112025/14/57/image_05112025_14_58_00_2562.jpg
/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_07_1716.jpg
/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_09_1615.jpg
/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_13_3664.jpg
/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_15_2676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399503977","1399504022","1399504081","1399504083","1399504085","1399504119"],"photo_ids_order":["1399503977","1399504022","1399504081","1399504083","1399504085","1399504119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/872000e709d1f0096890e2712df26295.jpg","text":"TemporaryFile(/tmp/multipartBody3418043674601532174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800763265,"filename":"image_05112025_14_57_57_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/40d17df84f7f06e5acf4cfd2a945f14c.jpg","text":"TemporaryFile(/tmp/multipartBody907037579502500594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800763265,"filename":"image_05112025_14_58_00_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/15/eb8296c4b3d85a91264c92e61fd2c106.jpg","text":"TemporaryFile(/tmp/multipartBody2424842750777596233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800763265,"filename":"image_05112025_14_58_07_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/15/bc06735a5d8df67a13c6ad4526ea91da.jpg","text":"TemporaryFile(/tmp/multipartBody8201081690485703731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800763265,"filename":"image_05112025_14_58_09_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/29da0e29776c084babd89e034e9e40fb.jpg","text":"TemporaryFile(/tmp/multipartBody4433362991822020579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800763265,"filename":"image_05112025_14_58_13_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7cfa6e0ca4b89030ba324ab0f679c2bc.jpg","text":"TemporaryFile(/tmp/multipartBody4454181129168420783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800763265,"filename":"image_05112025_14_58_15_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399504081","file1":"1399504022","file0":"1399503977","file4":"1399504085","file5":"1399504119","file3":"1399504083"},"map_files_photo_id_array":[{"photo_id":"1399504119","filename":"file5"},{"photo_id":"1399504081","filename":"file2"},{"photo_id":"1399504085","filename":"file4"},{"photo_id":"1399504022","filename":"file1"},{"photo_id":"1399503977","filename":"file0"},{"photo_id":"1399504083","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399503977":["hashtag1","hashtag2"]},{"1399504022":["hashtag1","hashtag2"]},{"1399504081":["hashtag1","hashtag2"]},{"1399504083":["hashtag1","hashtag2"]},{"1399504085":["hashtag1","hashtag2"]},{"1399504119":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399503977, 1399504022, 1399504081, 1399504083, 1399504085, 1399504119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43355655670166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 13:12:22.813211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/35/image_15122025_12_35_25_9801.jpg', '/home/pi/Desktop/images/15122025/12/35/image_15122025_12_35_34_9648.jpg', '/home/pi/Desktop/images/15122025/12/35/image_15122025_12_35_44_9737.jpg', '/home/pi/Desktop/images/15122025/12/35/image_15122025_12_36_05_9753.jpg', '/home/pi/Desktop/images/15122025/12/36/image_15122025_12_36_14_9659.jpg', '/home/pi/Desktop/images/15122025/12/36/image_15122025_12_36_35_10644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/35/image_15122025_12_35_25_9801.jpg
/home/pi/Desktop/images/15122025/12/35/image_15122025_12_35_34_9648.jpg
/home/pi/Desktop/images/15122025/12/35/image_15122025_12_35_44_9737.jpg
/home/pi/Desktop/images/15122025/12/35/image_15122025_12_36_05_9753.jpg
/home/pi/Desktop/images/15122025/12/36/image_15122025_12_36_14_9659.jpg
/home/pi/Desktop/images/15122025/12/36/image_15122025_12_36_35_10644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399504178","1399504231","1399504180","1399504228","1399504155","1399504200"],"photo_ids_order":["1399504155","1399504178","1399504180","1399504200","1399504228","1399504231"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/86c3ed2ba510ba7cd85966746740f69f.jpg","text":"TemporaryFile(/tmp/multipartBody4479161667612221356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800803454,"filename":"image_15122025_12_35_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/15/f3b59785283be543eff998bf35055f8b.jpg","text":"TemporaryFile(/tmp/multipartBody5387797039758999897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800803454,"filename":"image_15122025_12_36_35_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c61d2c22e279b60b4a11f37d57b7b8d2.jpg","text":"TemporaryFile(/tmp/multipartBody7465103292550329174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800803454,"filename":"image_15122025_12_35_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/15/ac3c5203c1c565e63705a72a17e42227.jpg","text":"TemporaryFile(/tmp/multipartBody395848427631091252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800803454,"filename":"image_15122025_12_36_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/15/5c648450e607df1f23060af37280ef45.jpg","text":"TemporaryFile(/tmp/multipartBody5615520282839095416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800803454,"filename":"image_15122025_12_35_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/15/67d8e51fb8fe4286cd4c9187c205752a.jpg","text":"TemporaryFile(/tmp/multipartBody3422828728782276805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800803454,"filename":"image_15122025_12_36_05_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399504180","file1":"1399504178","file0":"1399504155","file4":"1399504228","file5":"1399504231","file3":"1399504200"},"map_files_photo_id_array":[{"photo_id":"1399504231","filename":"file5"},{"photo_id":"1399504180","filename":"file2"},{"photo_id":"1399504228","filename":"file4"},{"photo_id":"1399504178","filename":"file1"},{"photo_id":"1399504155","filename":"file0"},{"photo_id":"1399504200","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399504178":["hashtag1","hashtag2"]},{"1399504231":["hashtag1","hashtag2"]},{"1399504180":["hashtag1","hashtag2"]},{"1399504228":["hashtag1","hashtag2"]},{"1399504155":["hashtag1","hashtag2"]},{"1399504200":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399504178, 1399504231, 1399504180, 1399504228, 1399504155, 1399504200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48155975341797 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 13:13:02.751427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/36/image_15122025_12_36_44_9812.jpg', '/home/pi/Desktop/images/15122025/12/36/image_15122025_12_36_54_9664.jpg', '/home/pi/Desktop/images/15122025/12/36/image_15122025_12_37_05_10754.jpg', '/home/pi/Desktop/images/15122025/12/37/image_15122025_12_37_14_9690.jpg', '/home/pi/Desktop/images/15122025/12/37/image_15122025_12_37_24_9548.jpg', '/home/pi/Desktop/images/15122025/12/37/image_15122025_12_37_35_10710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/36/image_15122025_12_36_44_9812.jpg
/home/pi/Desktop/images/15122025/12/36/image_15122025_12_36_54_9664.jpg
/home/pi/Desktop/images/15122025/12/36/image_15122025_12_37_05_10754.jpg
/home/pi/Desktop/images/15122025/12/37/image_15122025_12_37_14_9690.jpg
/home/pi/Desktop/images/15122025/12/37/image_15122025_12_37_24_9548.jpg
/home/pi/Desktop/images/15122025/12/37/image_15122025_12_37_35_10710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399504238","1399504232","1399504272","1399504308","1399504367","1399504346"],"photo_ids_order":["1399504232","1399504238","1399504272","1399504308","1399504346","1399504367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2a6e78efd80dc7e8ad8ad50ce0096ffc.jpg","text":"TemporaryFile(/tmp/multipartBody3077671012509162956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800843429,"filename":"image_15122025_12_36_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/15/4e9cb10fa619e4c905565d823f58ea40.jpg","text":"TemporaryFile(/tmp/multipartBody7257367300741116041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800843429,"filename":"image_15122025_12_36_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/15/fe3bb80931d76339be4b7471828d733f.jpg","text":"TemporaryFile(/tmp/multipartBody2037838719942354533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800843429,"filename":"image_15122025_12_37_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/15/9bfa0d418f5ee27e68efc16483e7a26c.jpg","text":"TemporaryFile(/tmp/multipartBody2497751293238618868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800843429,"filename":"image_15122025_12_37_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/15/83ac8085a7dfa259594358612daee357.jpg","text":"TemporaryFile(/tmp/multipartBody8836745773161121198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800843429,"filename":"image_15122025_12_37_35_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8de30c3910b839ce8fcbaa83eb4b70c8.jpg","text":"TemporaryFile(/tmp/multipartBody1446133073449869094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800843429,"filename":"image_15122025_12_37_24_9548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399504272","file1":"1399504238","file0":"1399504232","file4":"1399504346","file5":"1399504367","file3":"1399504308"},"map_files_photo_id_array":[{"photo_id":"1399504367","filename":"file5"},{"photo_id":"1399504272","filename":"file2"},{"photo_id":"1399504346","filename":"file4"},{"photo_id":"1399504238","filename":"file1"},{"photo_id":"1399504232","filename":"file0"},{"photo_id":"1399504308","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399504238":["hashtag1","hashtag2"]},{"1399504232":["hashtag1","hashtag2"]},{"1399504272":["hashtag1","hashtag2"]},{"1399504308":["hashtag1","hashtag2"]},{"1399504367":["hashtag1","hashtag2"]},{"1399504346":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399504238, 1399504232, 1399504272, 1399504308, 1399504367, 1399504346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61442708969116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 13:13:41.994797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_18_2576.jpg', '/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_22_3618.jpg', '/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_24_2578.jpg', '/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_28_3567.jpg', '/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_30_2532.jpg', '/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_33_2581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_18_2576.jpg
/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_22_3618.jpg
/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_24_2578.jpg
/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_28_3567.jpg
/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_30_2532.jpg
/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_33_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":["1399504421","1399504450","1399504453","1399504452","1399504434","1399504451"],"photo_ids_order":["1399504421","1399504434","1399504450","1399504451","1399504452","1399504453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8f51b3531b5b7a0be57f79c04dc79277.jpg","text":"TemporaryFile(/tmp/multipartBody5690201057861902439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800882704,"filename":"image_05112025_14_58_18_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/15/020a5567a3e0d7f92f1b695a56bd94b4.jpg","text":"TemporaryFile(/tmp/multipartBody7078467775809091330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800882704,"filename":"image_05112025_14_58_24_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/15/acc58d2dd53893ab659de0648d509237.jpg","text":"TemporaryFile(/tmp/multipartBody3321265637961117183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800882704,"filename":"image_05112025_14_58_33_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/62ed4c3c8d9f8a6886fe18b8fe498b28.jpg","text":"TemporaryFile(/tmp/multipartBody2500946903591911729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800882704,"filename":"image_05112025_14_58_30_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/15/4be494298761bba814d1cc959a92a6a9.jpg","text":"TemporaryFile(/tmp/multipartBody8298078200312133787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800882704,"filename":"image_05112025_14_58_22_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/76a6cc48b48df7f742ff5a02c9fadfa2.jpg","text":"TemporaryFile(/tmp/multipartBody7603862453995279890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800882704,"filename":"image_05112025_14_58_28_3567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399504450","file1":"1399504434","file0":"1399504421","file4":"1399504452","file5":"1399504453","file3":"1399504451"},"map_files_photo_id_array":[{"photo_id":"1399504453","filename":"file5"},{"photo_id":"1399504450","filename":"file2"},{"photo_id":"1399504452","filename":"file4"},{"photo_id":"1399504434","filename":"file1"},{"photo_id":"1399504421","filename":"file0"},{"photo_id":"1399504451","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399504421":["hashtag1","hashtag2"]},{"1399504450":["hashtag1","hashtag2"]},{"1399504453":["hashtag1","hashtag2"]},{"1399504452":["hashtag1","hashtag2"]},{"1399504434":["hashtag1","hashtag2"]},{"1399504451":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399504421, 1399504450, 1399504453, 1399504452, 1399504434, 1399504451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.101696491241455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 13:14:22.221770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/37/image_15122025_12_37_45_9775.jpg', '/home/pi/Desktop/images/15122025/12/37/image_15122025_12_37_54_9715.jpg', '/home/pi/Desktop/images/15122025/12/37/image_15122025_12_38_04_9685.jpg', '/home/pi/Desktop/images/15122025/12/38/image_15122025_12_38_15_10708.jpg', '/home/pi/Desktop/images/15122025/12/38/image_15122025_12_38_25_10224.jpg', '/home/pi/Desktop/images/15122025/12/38/image_15122025_12_38_35_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/37/image_15122025_12_37_45_9775.jpg
/home/pi/Desktop/images/15122025/12/37/image_15122025_12_37_54_9715.jpg
/home/pi/Desktop/images/15122025/12/37/image_15122025_12_38_04_9685.jpg
/home/pi/Desktop/images/15122025/12/38/image_15122025_12_38_15_10708.jpg
/home/pi/Desktop/images/15122025/12/38/image_15122025_12_38_25_10224.jpg
/home/pi/Desktop/images/15122025/12/38/image_15122025_12_38_35_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":["1399504460","1399504468","1399504483","1399504456","1399504471","1399504455"],"photo_ids_order":["1399504455","1399504456","1399504460","1399504468","1399504471","1399504483"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/32a968f8e9266349214fa9a33cf3e41e.jpg","text":"TemporaryFile(/tmp/multipartBody8161359921226629314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800922865,"filename":"image_15122025_12_38_04_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5cfc13690197e7dd69e08034f6e6a050.jpg","text":"TemporaryFile(/tmp/multipartBody8929512688467834022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800922865,"filename":"image_15122025_12_38_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/15/898040082dd6151827d0bc111c7647db.jpg","text":"TemporaryFile(/tmp/multipartBody8622944606257445285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800922865,"filename":"image_15122025_12_38_35_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9634d92ea56efd4c8166c45a469f6a48.jpg","text":"TemporaryFile(/tmp/multipartBody4074644965385993219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800922865,"filename":"image_15122025_12_37_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/15/664ea3f4db59188fb8159a880afb7e69.jpg","text":"TemporaryFile(/tmp/multipartBody2376364119342093232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800922865,"filename":"image_15122025_12_38_25_10224.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b6a72dc67b89fbf423958195b9854f39.jpg","text":"TemporaryFile(/tmp/multipartBody749398601448947727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800922865,"filename":"image_15122025_12_37_45_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399504460","file1":"1399504456","file0":"1399504455","file4":"1399504471","file5":"1399504483","file3":"1399504468"},"map_files_photo_id_array":[{"photo_id":"1399504483","filename":"file5"},{"photo_id":"1399504460","filename":"file2"},{"photo_id":"1399504471","filename":"file4"},{"photo_id":"1399504456","filename":"file1"},{"photo_id":"1399504455","filename":"file0"},{"photo_id":"1399504468","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399504460":["hashtag1","hashtag2"]},{"1399504468":["hashtag1","hashtag2"]},{"1399504483":["hashtag1","hashtag2"]},{"1399504456":["hashtag1","hashtag2"]},{"1399504471":["hashtag1","hashtag2"]},{"1399504455":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399504460, 1399504468, 1399504483, 1399504456, 1399504471, 1399504455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.747822999954224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 13:15:03.166160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/38/image_15122025_12_38_44_9734.jpg', '/home/pi/Desktop/images/15122025/12/38/image_15122025_12_38_54_9780.jpg', '/home/pi/Desktop/images/15122025/12/38/image_15122025_12_39_05_10709.jpg', '/home/pi/Desktop/images/15122025/12/39/image_15122025_12_39_14_9711.jpg', '/home/pi/Desktop/images/15122025/12/39/image_15122025_12_39_24_9923.jpg', '/home/pi/Desktop/images/15122025/12/39/image_15122025_12_39_34_9858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/38/image_15122025_12_38_44_9734.jpg
/home/pi/Desktop/images/15122025/12/38/image_15122025_12_38_54_9780.jpg
/home/pi/Desktop/images/15122025/12/38/image_15122025_12_39_05_10709.jpg
/home/pi/Desktop/images/15122025/12/39/image_15122025_12_39_14_9711.jpg
/home/pi/Desktop/images/15122025/12/39/image_15122025_12_39_24_9923.jpg
/home/pi/Desktop/images/15122025/12/39/image_15122025_12_39_34_9858.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399504526","1399504523","1399504525","1399504528","1399504521","1399504524"],"photo_ids_order":["1399504521","1399504523","1399504524","1399504525","1399504526","1399504528"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4978ef94b4eadc401369d2b30c6ba597.jpg","text":"TemporaryFile(/tmp/multipartBody4922403255242022530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800963933,"filename":"image_15122025_12_39_24_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/15/68a46dc87c9575573ff0ada85a7af9be.jpg","text":"TemporaryFile(/tmp/multipartBody5861118208495464583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800963933,"filename":"image_15122025_12_38_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/15/70d74f6f9b90ed844b5badd417582ced.jpg","text":"TemporaryFile(/tmp/multipartBody1852779255234764181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800963933,"filename":"image_15122025_12_39_14_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2d8fc83ac070514579aa3412543033f3.jpg","text":"TemporaryFile(/tmp/multipartBody382158123938727927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800963933,"filename":"image_15122025_12_39_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/15/5f880294f797efe5b803400f5b065fe2.jpg","text":"TemporaryFile(/tmp/multipartBody8315878203062405024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800963933,"filename":"image_15122025_12_38_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/15/9c2d690e834e3df4b3aeeabe8c366340.jpg","text":"TemporaryFile(/tmp/multipartBody6978363957676350042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765800963933,"filename":"image_15122025_12_39_05_10709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399504524","file1":"1399504523","file0":"1399504521","file4":"1399504526","file5":"1399504528","file3":"1399504525"},"map_files_photo_id_array":[{"photo_id":"1399504528","filename":"file5"},{"photo_id":"1399504524","filename":"file2"},{"photo_id":"1399504526","filename":"file4"},{"photo_id":"1399504523","filename":"file1"},{"photo_id":"1399504521","filename":"file0"},{"photo_id":"1399504525","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399504526":["hashtag1","hashtag2"]},{"1399504523":["hashtag1","hashtag2"]},{"1399504525":["hashtag1","hashtag2"]},{"1399504528":["hashtag1","hashtag2"]},{"1399504521":["hashtag1","hashtag2"]},{"1399504524":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399504526, 1399504523, 1399504525, 1399504528, 1399504521, 1399504524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57196497917175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 13:15:42.504502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_36_3564.jpg', '/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_39_2658.jpg', '/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_43_3663.jpg', '/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_48_2501.jpg', '/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_51_3644.jpg', '/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_54_2877.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_36_3564.jpg
/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_39_2658.jpg
/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_43_3663.jpg
/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_48_2501.jpg
/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_51_3644.jpg
/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_54_2877.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6421186923980713 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 13:16:03.215359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/39/image_15122025_12_39_44_9722.jpg', '/home/pi/Desktop/images/15122025/12/39/image_15122025_12_39_55_10825.jpg', '/home/pi/Desktop/images/15122025/12/39/image_15122025_12_40_04_9661.jpg', '/home/pi/Desktop/images/15122025/12/40/image_15122025_12_40_25_10538.jpg', '/home/pi/Desktop/images/15122025/12/40/image_15122025_12_40_34_9698.jpg', '/home/pi/Desktop/images/15122025/12/40/image_15122025_12_40_44_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/39/image_15122025_12_39_44_9722.jpg
/home/pi/Desktop/images/15122025/12/39/image_15122025_12_39_55_10825.jpg
/home/pi/Desktop/images/15122025/12/39/image_15122025_12_40_04_9661.jpg
/home/pi/Desktop/images/15122025/12/40/image_15122025_12_40_25_10538.jpg
/home/pi/Desktop/images/15122025/12/40/image_15122025_12_40_34_9698.jpg
/home/pi/Desktop/images/15122025/12/40/image_15122025_12_40_44_9629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399504553","1399504547","1399504541","1399504555","1399504540","1399504539"],"photo_ids_order":["1399504539","1399504540","1399504541","1399504547","1399504553","1399504555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7f320217cd3bec2cfee444df20c2692d.jpg","text":"TemporaryFile(/tmp/multipartBody8402732834348190981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801023890,"filename":"image_15122025_12_40_34_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9cd7f458fbb2b8da736b348b97198d40.jpg","text":"TemporaryFile(/tmp/multipartBody5227290728322071075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801023890,"filename":"image_15122025_12_40_25_10538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b7491847a37548ec5014989be5fb5cc5.jpg","text":"TemporaryFile(/tmp/multipartBody538549053337182573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801023890,"filename":"image_15122025_12_40_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/15/c31a98b576b92e434d9cb63ed60ceaba.jpg","text":"TemporaryFile(/tmp/multipartBody7116491956432125480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801023890,"filename":"image_15122025_12_40_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/15/35f5b525d375ba62a36aeb01e7f0225c.jpg","text":"TemporaryFile(/tmp/multipartBody7702483048014684143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801023890,"filename":"image_15122025_12_39_55_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/15/a726928ab10c226bed2aed2dc74e1b21.jpg","text":"TemporaryFile(/tmp/multipartBody8847882859747500741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801023890,"filename":"image_15122025_12_39_44_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399504541","file1":"1399504540","file0":"1399504539","file4":"1399504553","file5":"1399504555","file3":"1399504547"},"map_files_photo_id_array":[{"photo_id":"1399504555","filename":"file5"},{"photo_id":"1399504541","filename":"file2"},{"photo_id":"1399504553","filename":"file4"},{"photo_id":"1399504540","filename":"file1"},{"photo_id":"1399504539","filename":"file0"},{"photo_id":"1399504547","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399504553":["hashtag1","hashtag2"]},{"1399504547":["hashtag1","hashtag2"]},{"1399504541":["hashtag1","hashtag2"]},{"1399504555":["hashtag1","hashtag2"]},{"1399504540":["hashtag1","hashtag2"]},{"1399504539":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399504553, 1399504547, 1399504541, 1399504555, 1399504540, 1399504539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.099119901657104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 13:16:42.836677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_36_3564.jpg', '/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_39_2658.jpg', '/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_43_3663.jpg', '/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_48_2501.jpg', '/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_51_3644.jpg', '/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_54_2877.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_36_3564.jpg
/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_39_2658.jpg
/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_43_3663.jpg
/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_48_2501.jpg
/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_51_3644.jpg
/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_54_2877.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399504594","1399504597","1399504596","1399504600","1399504593","1399504595"],"photo_ids_order":["1399504593","1399504594","1399504595","1399504596","1399504597","1399504600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a001a41d25bb190938af3b6bcd8db30d.jpg","text":"TemporaryFile(/tmp/multipartBody7168358068823751958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801063431,"filename":"image_05112025_14_58_39_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/15/ab759c7115946bbd8197de5babb01307.jpg","text":"TemporaryFile(/tmp/multipartBody358620403400836472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801063431,"filename":"image_05112025_14_58_51_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/15/ae83c7b64a7eb4c5fbba1b236eb63dea.jpg","text":"TemporaryFile(/tmp/multipartBody7302836494468672058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801063431,"filename":"image_05112025_14_58_48_2501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/016c230d777a73b364808c2c0572742e.jpg","text":"TemporaryFile(/tmp/multipartBody4573879633412891042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801063431,"filename":"image_05112025_14_58_54_2877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f4696a7569e9e29e7113e7b7e8ee1fa7.jpg","text":"TemporaryFile(/tmp/multipartBody7828650632994491816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801063431,"filename":"image_05112025_14_58_36_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/15/9e7301bd964240da692c92cb11005f48.jpg","text":"TemporaryFile(/tmp/multipartBody4843263728995067156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801063431,"filename":"image_05112025_14_58_43_3663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399504595","file1":"1399504594","file0":"1399504593","file4":"1399504597","file5":"1399504600","file3":"1399504596"},"map_files_photo_id_array":[{"photo_id":"1399504600","filename":"file5"},{"photo_id":"1399504595","filename":"file2"},{"photo_id":"1399504597","filename":"file4"},{"photo_id":"1399504594","filename":"file1"},{"photo_id":"1399504593","filename":"file0"},{"photo_id":"1399504596","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399504594":["hashtag1","hashtag2"]},{"1399504597":["hashtag1","hashtag2"]},{"1399504596":["hashtag1","hashtag2"]},{"1399504600":["hashtag1","hashtag2"]},{"1399504593":["hashtag1","hashtag2"]},{"1399504595":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399504594, 1399504597, 1399504596, 1399504600, 1399504593, 1399504595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.018426179885864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 13:17:22.093106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/40/image_15122025_12_40_55_10731.jpg', '/home/pi/Desktop/images/15122025/12/40/image_15122025_12_41_05_9804.jpg', '/home/pi/Desktop/images/15122025/12/41/image_15122025_12_41_24_9737.jpg', '/home/pi/Desktop/images/15122025/12/41/image_15122025_12_41_35_10677.jpg', '/home/pi/Desktop/images/15122025/12/41/image_15122025_12_41_44_9658.jpg', '/home/pi/Desktop/images/15122025/12/41/image_15122025_12_41_54_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/40/image_15122025_12_40_55_10731.jpg
/home/pi/Desktop/images/15122025/12/40/image_15122025_12_41_05_9804.jpg
/home/pi/Desktop/images/15122025/12/41/image_15122025_12_41_24_9737.jpg
/home/pi/Desktop/images/15122025/12/41/image_15122025_12_41_35_10677.jpg
/home/pi/Desktop/images/15122025/12/41/image_15122025_12_41_44_9658.jpg
/home/pi/Desktop/images/15122025/12/41/image_15122025_12_41_54_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":["1399504768","1399504723","1399504683","1399504644","1399504605","1399504608"],"photo_ids_order":["1399504605","1399504608","1399504644","1399504683","1399504723","1399504768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c58f56773006a221ec4107b4acc4471b.jpg","text":"TemporaryFile(/tmp/multipartBody5670531952725037012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801102731,"filename":"image_15122025_12_41_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/15/4b559ef180710d288c09fd84e81f860d.jpg","text":"TemporaryFile(/tmp/multipartBody4674487377937740021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801102731,"filename":"image_15122025_12_41_44_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/22a57a00764bbb3c74f4bcf4ad819d35.jpg","text":"TemporaryFile(/tmp/multipartBody3674323921317121858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801102731,"filename":"image_15122025_12_41_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/15/95ea00691819081b728478800b07c1bd.jpg","text":"TemporaryFile(/tmp/multipartBody2422475678633969404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801102731,"filename":"image_15122025_12_41_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/15/a5884e16c98ab719b12be30b2861d688.jpg","text":"TemporaryFile(/tmp/multipartBody3989260737295997849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801102731,"filename":"image_15122025_12_40_55_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/63dcf10ffbd8827dcbef46ab80cfb0a2.jpg","text":"TemporaryFile(/tmp/multipartBody1157701597404471442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801102731,"filename":"image_15122025_12_41_05_9804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399504644","file1":"1399504608","file0":"1399504605","file4":"1399504723","file5":"1399504768","file3":"1399504683"},"map_files_photo_id_array":[{"photo_id":"1399504768","filename":"file5"},{"photo_id":"1399504644","filename":"file2"},{"photo_id":"1399504723","filename":"file4"},{"photo_id":"1399504608","filename":"file1"},{"photo_id":"1399504605","filename":"file0"},{"photo_id":"1399504683","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399504768":["hashtag1","hashtag2"]},{"1399504723":["hashtag1","hashtag2"]},{"1399504683":["hashtag1","hashtag2"]},{"1399504644":["hashtag1","hashtag2"]},{"1399504605":["hashtag1","hashtag2"]},{"1399504608":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399504768, 1399504723, 1399504683, 1399504644, 1399504605, 1399504608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.99183893203735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 13:18:02.751789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/41/image_15122025_12_42_05_10685.jpg', '/home/pi/Desktop/images/15122025/12/42/image_15122025_12_42_14_9624.jpg', '/home/pi/Desktop/images/15122025/12/42/image_15122025_12_42_24_9755.jpg', '/home/pi/Desktop/images/15122025/12/42/image_15122025_12_42_35_10577.jpg', '/home/pi/Desktop/images/15122025/12/42/image_15122025_12_42_54_9693.jpg', '/home/pi/Desktop/images/15122025/12/42/image_15122025_12_43_05_10851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/41/image_15122025_12_42_05_10685.jpg
/home/pi/Desktop/images/15122025/12/42/image_15122025_12_42_14_9624.jpg
/home/pi/Desktop/images/15122025/12/42/image_15122025_12_42_24_9755.jpg
/home/pi/Desktop/images/15122025/12/42/image_15122025_12_42_35_10577.jpg
/home/pi/Desktop/images/15122025/12/42/image_15122025_12_42_54_9693.jpg
/home/pi/Desktop/images/15122025/12/42/image_15122025_12_43_05_10851.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5648210048675537 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 13:18:12.285865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 13:18:22.302632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/41/image_15122025_12_42_05_10685.jpg', '/home/pi/Desktop/images/15122025/12/42/image_15122025_12_42_14_9624.jpg', '/home/pi/Desktop/images/15122025/12/42/image_15122025_12_42_24_9755.jpg', '/home/pi/Desktop/images/15122025/12/42/image_15122025_12_42_35_10577.jpg', '/home/pi/Desktop/images/15122025/12/42/image_15122025_12_42_54_9693.jpg', '/home/pi/Desktop/images/15122025/12/42/image_15122025_12_43_05_10851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/41/image_15122025_12_42_05_10685.jpg
/home/pi/Desktop/images/15122025/12/42/image_15122025_12_42_14_9624.jpg
/home/pi/Desktop/images/15122025/12/42/image_15122025_12_42_24_9755.jpg
/home/pi/Desktop/images/15122025/12/42/image_15122025_12_42_35_10577.jpg
/home/pi/Desktop/images/15122025/12/42/image_15122025_12_42_54_9693.jpg
/home/pi/Desktop/images/15122025/12/42/image_15122025_12_43_05_10851.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399504865","1399504870","1399504873","1399504867","1399504869","1399504863"],"photo_ids_order":["1399504863","1399504865","1399504867","1399504869","1399504870","1399504873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fc5c0e6c52565b06e3521572247de87c.jpg","text":"TemporaryFile(/tmp/multipartBody729328878853384614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801162976,"filename":"image_15122025_12_42_14_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/15/7a852c3714f373f12844bc33c8ad4990.jpg","text":"TemporaryFile(/tmp/multipartBody4588095802417158509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801162976,"filename":"image_15122025_12_42_54_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a850eb72e81df6b134fa03cde549afa7.jpg","text":"TemporaryFile(/tmp/multipartBody1615081143459571222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801162976,"filename":"image_15122025_12_43_05_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/15/7210aa7a83518e2bb1478eb14405b9ec.jpg","text":"TemporaryFile(/tmp/multipartBody4422753703142150273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801162976,"filename":"image_15122025_12_42_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/15/bf0d38f14924694f5902048cce40eb21.jpg","text":"TemporaryFile(/tmp/multipartBody4277267746199918228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801162976,"filename":"image_15122025_12_42_35_10577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9ca6153d19dcc0049f880417491ea676.jpg","text":"TemporaryFile(/tmp/multipartBody6176006164835651910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801162976,"filename":"image_15122025_12_42_05_10685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399504867","file1":"1399504865","file0":"1399504863","file4":"1399504870","file5":"1399504873","file3":"1399504869"},"map_files_photo_id_array":[{"photo_id":"1399504873","filename":"file5"},{"photo_id":"1399504867","filename":"file2"},{"photo_id":"1399504870","filename":"file4"},{"photo_id":"1399504865","filename":"file1"},{"photo_id":"1399504863","filename":"file0"},{"photo_id":"1399504869","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399504865":["hashtag1","hashtag2"]},{"1399504870":["hashtag1","hashtag2"]},{"1399504873":["hashtag1","hashtag2"]},{"1399504867":["hashtag1","hashtag2"]},{"1399504869":["hashtag1","hashtag2"]},{"1399504863":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399504865, 1399504870, 1399504873, 1399504867, 1399504869, 1399504863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.474581241607666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 13:19:03.534707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/43/image_15122025_12_43_55_10664.jpg', '/home/pi/Desktop/images/15122025/12/44/image_15122025_12_44_35_10560.jpg', '/home/pi/Desktop/images/15122025/12/44/image_15122025_12_44_44_9735.jpg', '/home/pi/Desktop/images/15122025/12/44/image_15122025_12_44_54_9784.jpg', '/home/pi/Desktop/images/15122025/12/44/image_15122025_12_45_05_10810.jpg', '/home/pi/Desktop/images/15122025/12/45/image_15122025_12_45_24_9850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/43/image_15122025_12_43_55_10664.jpg
/home/pi/Desktop/images/15122025/12/44/image_15122025_12_44_35_10560.jpg
/home/pi/Desktop/images/15122025/12/44/image_15122025_12_44_44_9735.jpg
/home/pi/Desktop/images/15122025/12/44/image_15122025_12_44_54_9784.jpg
/home/pi/Desktop/images/15122025/12/44/image_15122025_12_45_05_10810.jpg
/home/pi/Desktop/images/15122025/12/45/image_15122025_12_45_24_9850.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399504990","1399504993","1399504989","1399504991","1399504985","1399504988"],"photo_ids_order":["1399504985","1399504988","1399504989","1399504990","1399504991","1399504993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9f2486ec54b9e011e1ebd75ee275c15b.jpg","text":"TemporaryFile(/tmp/multipartBody7670086391934348088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801204292,"filename":"image_15122025_12_44_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/15/7f07681bb20bdac643ca182c6d4509a0.jpg","text":"TemporaryFile(/tmp/multipartBody4758279174527051695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801204292,"filename":"image_15122025_12_45_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/15/c589fd438dbb38258805a53067d70ee6.jpg","text":"TemporaryFile(/tmp/multipartBody3791687146412988819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801204292,"filename":"image_15122025_12_44_44_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/27f6f6391011836bfa5d348a9ce39ec5.jpg","text":"TemporaryFile(/tmp/multipartBody796275204184275109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801204292,"filename":"image_15122025_12_45_05_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/15/309efa81858e071590577aa8697abcdf.jpg","text":"TemporaryFile(/tmp/multipartBody901297857604616406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801204292,"filename":"image_15122025_12_43_55_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/597699cd680c09a127ae1fc814ee76bc.jpg","text":"TemporaryFile(/tmp/multipartBody7614018705834890201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801204292,"filename":"image_15122025_12_44_35_10560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399504989","file1":"1399504988","file0":"1399504985","file4":"1399504991","file5":"1399504993","file3":"1399504990"},"map_files_photo_id_array":[{"photo_id":"1399504993","filename":"file5"},{"photo_id":"1399504989","filename":"file2"},{"photo_id":"1399504991","filename":"file4"},{"photo_id":"1399504988","filename":"file1"},{"photo_id":"1399504985","filename":"file0"},{"photo_id":"1399504990","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399504990":["hashtag1","hashtag2"]},{"1399504993":["hashtag1","hashtag2"]},{"1399504989":["hashtag1","hashtag2"]},{"1399504991":["hashtag1","hashtag2"]},{"1399504985":["hashtag1","hashtag2"]},{"1399504988":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399504990, 1399504993, 1399504989, 1399504991, 1399504985, 1399504988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56826853752136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 13:19:42.560835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_57_2570.jpg', '/home/pi/Desktop/images/05112025/14/58/image_05112025_14_59_01_3788.jpg', '/home/pi/Desktop/images/05112025/14/59/image_05112025_14_59_06_2643.jpg', '/home/pi/Desktop/images/05112025/14/59/image_05112025_14_59_09_2740.jpg', '/home/pi/Desktop/images/05112025/14/59/image_05112025_14_59_12_3650.jpg', '/home/pi/Desktop/images/05112025/14/59/image_05112025_14_59_15_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/58/image_05112025_14_58_57_2570.jpg
/home/pi/Desktop/images/05112025/14/58/image_05112025_14_59_01_3788.jpg
/home/pi/Desktop/images/05112025/14/59/image_05112025_14_59_06_2643.jpg
/home/pi/Desktop/images/05112025/14/59/image_05112025_14_59_09_2740.jpg
/home/pi/Desktop/images/05112025/14/59/image_05112025_14_59_12_3650.jpg
/home/pi/Desktop/images/05112025/14/59/image_05112025_14_59_15_2649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399505000","1399505046","1399505007","1399505004","1399504997","1399505003"],"photo_ids_order":["1399504997","1399505000","1399505003","1399505004","1399505007","1399505046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/47bfc76e133e39d7077e52fe8f36f55a.jpg","text":"TemporaryFile(/tmp/multipartBody7247327895329098859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801243269,"filename":"image_05112025_14_59_01_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/15/e9320039a04befbe2612e7c52f8ac318.jpg","text":"TemporaryFile(/tmp/multipartBody2163637011293329806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801243269,"filename":"image_05112025_14_59_15_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/15/95b059441b85f456f53d34bccd1fc31c.jpg","text":"TemporaryFile(/tmp/multipartBody4575445425662512663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801243269,"filename":"image_05112025_14_59_12_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/15/baeb88412c2f5396f11a9e35165ba83c.jpg","text":"TemporaryFile(/tmp/multipartBody267222586786141755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801243269,"filename":"image_05112025_14_59_09_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5e108289926c38405b967c1b796422ff.jpg","text":"TemporaryFile(/tmp/multipartBody4432956612750174394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801243269,"filename":"image_05112025_14_58_57_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/15/a191fe915be83f9c777a80a6d6f313ae.jpg","text":"TemporaryFile(/tmp/multipartBody7452699390691856708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801243269,"filename":"image_05112025_14_59_06_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399505003","file1":"1399505000","file0":"1399504997","file4":"1399505007","file5":"1399505046","file3":"1399505004"},"map_files_photo_id_array":[{"photo_id":"1399505046","filename":"file5"},{"photo_id":"1399505003","filename":"file2"},{"photo_id":"1399505007","filename":"file4"},{"photo_id":"1399505000","filename":"file1"},{"photo_id":"1399504997","filename":"file0"},{"photo_id":"1399505004","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399505000":["hashtag1","hashtag2"]},{"1399505046":["hashtag1","hashtag2"]},{"1399505007":["hashtag1","hashtag2"]},{"1399505004":["hashtag1","hashtag2"]},{"1399504997":["hashtag1","hashtag2"]},{"1399505003":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399505000, 1399505046, 1399505007, 1399505004, 1399504997, 1399505003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.454768896102905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 13:20:22.737336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/45/image_15122025_12_45_34_9730.jpg', '/home/pi/Desktop/images/15122025/12/46/image_15122025_12_46_14_9737.jpg', '/home/pi/Desktop/images/15122025/12/46/image_15122025_12_46_24_9693.jpg', '/home/pi/Desktop/images/15122025/12/46/image_15122025_12_46_35_10587.jpg', '/home/pi/Desktop/images/15122025/12/46/image_15122025_12_46_44_9577.jpg', '/home/pi/Desktop/images/15122025/12/47/image_15122025_12_47_24_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/45/image_15122025_12_45_34_9730.jpg
/home/pi/Desktop/images/15122025/12/46/image_15122025_12_46_14_9737.jpg
/home/pi/Desktop/images/15122025/12/46/image_15122025_12_46_24_9693.jpg
/home/pi/Desktop/images/15122025/12/46/image_15122025_12_46_35_10587.jpg
/home/pi/Desktop/images/15122025/12/46/image_15122025_12_46_44_9577.jpg
/home/pi/Desktop/images/15122025/12/47/image_15122025_12_47_24_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.5667538642883301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 13:20:32.843485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 13:20:42.709764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/59/image_05112025_14_59_19_3590.jpg', '/home/pi/Desktop/images/05112025/14/59/image_05112025_14_59_21_2789.jpg', '/home/pi/Desktop/images/05112025/14/59/image_05112025_14_59_24_2546.jpg', '/home/pi/Desktop/images/05112025/14/59/image_05112025_14_59_28_3698.jpg', '/home/pi/Desktop/images/05112025/14/59/image_05112025_14_59_31_2899.jpg', '/home/pi/Desktop/images/05112025/14/59/image_05112025_14_59_33_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/59/image_05112025_14_59_19_3590.jpg
/home/pi/Desktop/images/05112025/14/59/image_05112025_14_59_21_2789.jpg
/home/pi/Desktop/images/05112025/14/59/image_05112025_14_59_24_2546.jpg
/home/pi/Desktop/images/05112025/14/59/image_05112025_14_59_28_3698.jpg
/home/pi/Desktop/images/05112025/14/59/image_05112025_14_59_31_2899.jpg
/home/pi/Desktop/images/05112025/14/59/image_05112025_14_59_33_2651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399505365","1399505367","1399505358","1399505357","1399505366","1399505339"],"photo_ids_order":["1399505339","1399505357","1399505358","1399505365","1399505366","1399505367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/20c6a6b185b8146bee4e30dbd6c5d193.jpg","text":"TemporaryFile(/tmp/multipartBody4101972062540439130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801303459,"filename":"image_05112025_14_59_28_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/15/5a91c170a755d15ab03d75c97a6ec4a6.jpg","text":"TemporaryFile(/tmp/multipartBody4340114047666816907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801303459,"filename":"image_05112025_14_59_33_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/15/5dda912620cb49b1296eceb8dfb9ccd2.jpg","text":"TemporaryFile(/tmp/multipartBody7577554769382762486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801303459,"filename":"image_05112025_14_59_24_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/15/bcd56096e9386c66c5dfdf9af731baab.jpg","text":"TemporaryFile(/tmp/multipartBody377855298590180689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801303459,"filename":"image_05112025_14_59_21_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/15/dc9f9612fef109add11d873d6af0d13a.jpg","text":"TemporaryFile(/tmp/multipartBody5867046123328924743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801303459,"filename":"image_05112025_14_59_31_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/15/da4f8c9dbf91211b34a964e51555438f.jpg","text":"TemporaryFile(/tmp/multipartBody1208585165361879722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801303459,"filename":"image_05112025_14_59_19_3590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399505358","file1":"1399505357","file0":"1399505339","file4":"1399505366","file5":"1399505367","file3":"1399505365"},"map_files_photo_id_array":[{"photo_id":"1399505367","filename":"file5"},{"photo_id":"1399505358","filename":"file2"},{"photo_id":"1399505366","filename":"file4"},{"photo_id":"1399505357","filename":"file1"},{"photo_id":"1399505339","filename":"file0"},{"photo_id":"1399505365","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399505365":["hashtag1","hashtag2"]},{"1399505367":["hashtag1","hashtag2"]},{"1399505358":["hashtag1","hashtag2"]},{"1399505357":["hashtag1","hashtag2"]},{"1399505366":["hashtag1","hashtag2"]},{"1399505339":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399505365, 1399505367, 1399505358, 1399505357, 1399505366, 1399505339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19955921173096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 13:21:22.076163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/45/image_15122025_12_45_34_9730.jpg', '/home/pi/Desktop/images/15122025/12/46/image_15122025_12_46_14_9737.jpg', '/home/pi/Desktop/images/15122025/12/46/image_15122025_12_46_24_9693.jpg', '/home/pi/Desktop/images/15122025/12/46/image_15122025_12_46_35_10587.jpg', '/home/pi/Desktop/images/15122025/12/46/image_15122025_12_46_44_9577.jpg', '/home/pi/Desktop/images/15122025/12/47/image_15122025_12_47_24_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/45/image_15122025_12_45_34_9730.jpg
/home/pi/Desktop/images/15122025/12/46/image_15122025_12_46_14_9737.jpg
/home/pi/Desktop/images/15122025/12/46/image_15122025_12_46_24_9693.jpg
/home/pi/Desktop/images/15122025/12/46/image_15122025_12_46_35_10587.jpg
/home/pi/Desktop/images/15122025/12/46/image_15122025_12_46_44_9577.jpg
/home/pi/Desktop/images/15122025/12/47/image_15122025_12_47_24_9677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399505371","1399505377","1399505379","1399505373","1399505406","1399505369"],"photo_ids_order":["1399505369","1399505371","1399505373","1399505377","1399505379","1399505406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5b25a96a0ef3d5a04f0d9c8ef02f5b8f.jpg","text":"TemporaryFile(/tmp/multipartBody7953114033049279041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801342760,"filename":"image_15122025_12_46_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/15/0258955219705964ebb6f42855cfaa2b.jpg","text":"TemporaryFile(/tmp/multipartBody839614371690240810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801342760,"filename":"image_15122025_12_46_35_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/15/df44590429eedba101f3d3aae16e7eb8.jpg","text":"TemporaryFile(/tmp/multipartBody2011157488188058320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801342760,"filename":"image_15122025_12_46_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/15/ed0b97c50fa4e399c118c6a4e2c9917e.jpg","text":"TemporaryFile(/tmp/multipartBody545945697637004048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801342760,"filename":"image_15122025_12_46_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/15/b5b7f72847f17a88f14977e22fef8bfd.jpg","text":"TemporaryFile(/tmp/multipartBody3235714282516343985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801342760,"filename":"image_15122025_12_47_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/15/a6431fe9eb44d4c08231ed6f9b001378.jpg","text":"TemporaryFile(/tmp/multipartBody8657595958066175976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801342760,"filename":"image_15122025_12_45_34_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399505373","file1":"1399505371","file0":"1399505369","file4":"1399505379","file5":"1399505406","file3":"1399505377"},"map_files_photo_id_array":[{"photo_id":"1399505406","filename":"file5"},{"photo_id":"1399505373","filename":"file2"},{"photo_id":"1399505379","filename":"file4"},{"photo_id":"1399505371","filename":"file1"},{"photo_id":"1399505369","filename":"file0"},{"photo_id":"1399505377","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399505371":["hashtag1","hashtag2"]},{"1399505377":["hashtag1","hashtag2"]},{"1399505379":["hashtag1","hashtag2"]},{"1399505373":["hashtag1","hashtag2"]},{"1399505406":["hashtag1","hashtag2"]},{"1399505369":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399505371, 1399505377, 1399505379, 1399505373, 1399505406, 1399505369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7448935508728 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 13:22:02.679846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/48/image_15122025_12_48_15_10644.jpg', '/home/pi/Desktop/images/15122025/12/48/image_15122025_12_48_25_9924.jpg', '/home/pi/Desktop/images/15122025/12/48/image_15122025_12_48_45_10708.jpg', '/home/pi/Desktop/images/15122025/12/48/image_15122025_12_48_55_9719.jpg', '/home/pi/Desktop/images/15122025/12/48/image_15122025_12_49_04_9653.jpg', '/home/pi/Desktop/images/15122025/12/49/image_15122025_12_49_15_10661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/48/image_15122025_12_48_15_10644.jpg
/home/pi/Desktop/images/15122025/12/48/image_15122025_12_48_25_9924.jpg
/home/pi/Desktop/images/15122025/12/48/image_15122025_12_48_45_10708.jpg
/home/pi/Desktop/images/15122025/12/48/image_15122025_12_48_55_9719.jpg
/home/pi/Desktop/images/15122025/12/48/image_15122025_12_49_04_9653.jpg
/home/pi/Desktop/images/15122025/12/49/image_15122025_12_49_15_10661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399505476","1399505451","1399505418","1399505474","1399505468","1399505444"],"photo_ids_order":["1399505418","1399505444","1399505451","1399505468","1399505474","1399505476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d05e88d9c153bb6f84a8321cd4aadca2.jpg","text":"TemporaryFile(/tmp/multipartBody4992363616780687997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801383313,"filename":"image_15122025_12_49_15_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/84a565bd93902d07cdbfc6f36f4ffae6.jpg","text":"TemporaryFile(/tmp/multipartBody6812111674027605312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801383313,"filename":"image_15122025_12_48_45_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d2461a876e229ebc8bf5121478aa7c50.jpg","text":"TemporaryFile(/tmp/multipartBody4216455627382504113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801383313,"filename":"image_15122025_12_48_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/15/9120bc2f69288dc3b43187f9bfd5879d.jpg","text":"TemporaryFile(/tmp/multipartBody161550207107864956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801383313,"filename":"image_15122025_12_49_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/15/770d8049db76f00b1717bf048e76615f.jpg","text":"TemporaryFile(/tmp/multipartBody8817003688375244781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801383313,"filename":"image_15122025_12_48_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/15/ef97eebc199d9e9a4f695b1f1f33ccb8.jpg","text":"TemporaryFile(/tmp/multipartBody5358917276784686310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801383313,"filename":"image_15122025_12_48_25_9924.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399505451","file1":"1399505444","file0":"1399505418","file4":"1399505474","file5":"1399505476","file3":"1399505468"},"map_files_photo_id_array":[{"photo_id":"1399505476","filename":"file5"},{"photo_id":"1399505451","filename":"file2"},{"photo_id":"1399505474","filename":"file4"},{"photo_id":"1399505444","filename":"file1"},{"photo_id":"1399505418","filename":"file0"},{"photo_id":"1399505468","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399505476":["hashtag1","hashtag2"]},{"1399505451":["hashtag1","hashtag2"]},{"1399505418":["hashtag1","hashtag2"]},{"1399505474":["hashtag1","hashtag2"]},{"1399505468":["hashtag1","hashtag2"]},{"1399505444":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399505476, 1399505451, 1399505418, 1399505474, 1399505468, 1399505444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01926827430725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 13:22:42.134006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/59/image_05112025_14_59_36_2663.jpg', '/home/pi/Desktop/images/05112025/14/59/image_05112025_14_59_42_2614.jpg', '/home/pi/Desktop/images/05112025/14/59/image_05112025_14_59_45_2777.jpg', '/home/pi/Desktop/images/05112025/14/59/image_05112025_14_59_48_2830.jpg', '/home/pi/Desktop/images/05112025/14/59/image_05112025_14_59_51_3621.jpg', '/home/pi/Desktop/images/05112025/14/59/image_05112025_14_59_54_2810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/59/image_05112025_14_59_36_2663.jpg
/home/pi/Desktop/images/05112025/14/59/image_05112025_14_59_42_2614.jpg
/home/pi/Desktop/images/05112025/14/59/image_05112025_14_59_45_2777.jpg
/home/pi/Desktop/images/05112025/14/59/image_05112025_14_59_48_2830.jpg
/home/pi/Desktop/images/05112025/14/59/image_05112025_14_59_51_3621.jpg
/home/pi/Desktop/images/05112025/14/59/image_05112025_14_59_54_2810.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399505485","1399505481","1399505484","1399505487","1399505486","1399505483"],"photo_ids_order":["1399505481","1399505483","1399505484","1399505485","1399505486","1399505487"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ad875a7581f61400c78a66ea8b9bf7fc.jpg","text":"TemporaryFile(/tmp/multipartBody4873722629449194214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801422839,"filename":"image_05112025_14_59_48_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/15/a155775f686df35cdd8f42bb45cf75af.jpg","text":"TemporaryFile(/tmp/multipartBody8990173779637726248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801422839,"filename":"image_05112025_14_59_36_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/15/92aec07859df392ff142c5ff8b799975.jpg","text":"TemporaryFile(/tmp/multipartBody2049666289330162952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801422839,"filename":"image_05112025_14_59_45_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/15/40406ec8691cb55aa4cf9951d3ac5b87.jpg","text":"TemporaryFile(/tmp/multipartBody4857349545140770406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801422839,"filename":"image_05112025_14_59_54_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/15/804959782137cb77a06d49abfd33aba8.jpg","text":"TemporaryFile(/tmp/multipartBody7226202226830373410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801422839,"filename":"image_05112025_14_59_51_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/15/bc8dd9bc095b4bf5447584cc7dd8a9b8.jpg","text":"TemporaryFile(/tmp/multipartBody4841215790615456899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801422839,"filename":"image_05112025_14_59_42_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399505484","file1":"1399505483","file0":"1399505481","file4":"1399505486","file5":"1399505487","file3":"1399505485"},"map_files_photo_id_array":[{"photo_id":"1399505487","filename":"file5"},{"photo_id":"1399505484","filename":"file2"},{"photo_id":"1399505486","filename":"file4"},{"photo_id":"1399505483","filename":"file1"},{"photo_id":"1399505481","filename":"file0"},{"photo_id":"1399505485","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399505485":["hashtag1","hashtag2"]},{"1399505481":["hashtag1","hashtag2"]},{"1399505484":["hashtag1","hashtag2"]},{"1399505487":["hashtag1","hashtag2"]},{"1399505486":["hashtag1","hashtag2"]},{"1399505483":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399505485, 1399505481, 1399505484, 1399505487, 1399505486, 1399505483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.928871870040894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 13:23:22.553661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/50/image_15122025_12_50_44_9735.jpg', '/home/pi/Desktop/images/15122025/12/50/image_15122025_12_50_55_10706.jpg', '/home/pi/Desktop/images/15122025/12/51/image_15122025_12_51_24_9848.jpg', '/home/pi/Desktop/images/15122025/12/51/image_15122025_12_51_35_10799.jpg', '/home/pi/Desktop/images/15122025/12/51/image_15122025_12_51_54_9782.jpg', '/home/pi/Desktop/images/15122025/12/52/image_15122025_12_52_15_10774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/50/image_15122025_12_50_44_9735.jpg
/home/pi/Desktop/images/15122025/12/50/image_15122025_12_50_55_10706.jpg
/home/pi/Desktop/images/15122025/12/51/image_15122025_12_51_24_9848.jpg
/home/pi/Desktop/images/15122025/12/51/image_15122025_12_51_35_10799.jpg
/home/pi/Desktop/images/15122025/12/51/image_15122025_12_51_54_9782.jpg
/home/pi/Desktop/images/15122025/12/52/image_15122025_12_52_15_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":["1399505491","1399505575","1399505489","1399505498","1399505612","1399505534"],"photo_ids_order":["1399505489","1399505491","1399505498","1399505534","1399505575","1399505612"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c5d2a86e56d853de1453ea0e0d14a215.jpg","text":"TemporaryFile(/tmp/multipartBody3585063289099437562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801463235,"filename":"image_15122025_12_50_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/15/b9ea7512935864d2dd55e4b375b5e81e.jpg","text":"TemporaryFile(/tmp/multipartBody7738883325303683301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801463235,"filename":"image_15122025_12_51_54_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8cb8563f3b781fe87938e76614b9f71a.jpg","text":"TemporaryFile(/tmp/multipartBody5670488759427264268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801463235,"filename":"image_15122025_12_50_44_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b488682d2fd90adee45a47016a8573cc.jpg","text":"TemporaryFile(/tmp/multipartBody8001000608418888004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801463235,"filename":"image_15122025_12_51_24_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4b89ae6ed2defb1475855756f39f8db4.jpg","text":"TemporaryFile(/tmp/multipartBody2554990064300290842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801463235,"filename":"image_15122025_12_52_15_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/15/a2eb9ca8b8365c2771aa92176c295fcf.jpg","text":"TemporaryFile(/tmp/multipartBody701521602435633323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801463235,"filename":"image_15122025_12_51_35_10799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399505498","file1":"1399505491","file0":"1399505489","file4":"1399505575","file5":"1399505612","file3":"1399505534"},"map_files_photo_id_array":[{"photo_id":"1399505612","filename":"file5"},{"photo_id":"1399505498","filename":"file2"},{"photo_id":"1399505575","filename":"file4"},{"photo_id":"1399505491","filename":"file1"},{"photo_id":"1399505489","filename":"file0"},{"photo_id":"1399505534","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399505491":["hashtag1","hashtag2"]},{"1399505575":["hashtag1","hashtag2"]},{"1399505489":["hashtag1","hashtag2"]},{"1399505498":["hashtag1","hashtag2"]},{"1399505612":["hashtag1","hashtag2"]},{"1399505534":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399505491, 1399505575, 1399505489, 1399505498, 1399505612, 1399505534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74101161956787 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 13:24:03.422768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/52/image_15122025_12_52_24_9696.jpg', '/home/pi/Desktop/images/15122025/12/52/image_15122025_12_52_44_9672.jpg', '/home/pi/Desktop/images/15122025/12/53/image_15122025_12_53_34_9593.jpg', '/home/pi/Desktop/images/15122025/12/53/image_15122025_12_54_04_9683.jpg', '/home/pi/Desktop/images/15122025/12/55/image_15122025_12_55_44_9586.jpg', '/home/pi/Desktop/images/15122025/12/55/image_15122025_12_55_54_9833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/52/image_15122025_12_52_24_9696.jpg
/home/pi/Desktop/images/15122025/12/52/image_15122025_12_52_44_9672.jpg
/home/pi/Desktop/images/15122025/12/53/image_15122025_12_53_34_9593.jpg
/home/pi/Desktop/images/15122025/12/53/image_15122025_12_54_04_9683.jpg
/home/pi/Desktop/images/15122025/12/55/image_15122025_12_55_44_9586.jpg
/home/pi/Desktop/images/15122025/12/55/image_15122025_12_55_54_9833.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6033904552459717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 13:24:12.580417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 13:24:22.719392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/52/image_15122025_12_52_24_9696.jpg', '/home/pi/Desktop/images/15122025/12/52/image_15122025_12_52_44_9672.jpg', '/home/pi/Desktop/images/15122025/12/53/image_15122025_12_53_34_9593.jpg', '/home/pi/Desktop/images/15122025/12/53/image_15122025_12_54_04_9683.jpg', '/home/pi/Desktop/images/15122025/12/55/image_15122025_12_55_44_9586.jpg', '/home/pi/Desktop/images/15122025/12/55/image_15122025_12_55_54_9833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/52/image_15122025_12_52_24_9696.jpg
/home/pi/Desktop/images/15122025/12/52/image_15122025_12_52_44_9672.jpg
/home/pi/Desktop/images/15122025/12/53/image_15122025_12_53_34_9593.jpg
/home/pi/Desktop/images/15122025/12/53/image_15122025_12_54_04_9683.jpg
/home/pi/Desktop/images/15122025/12/55/image_15122025_12_55_44_9586.jpg
/home/pi/Desktop/images/15122025/12/55/image_15122025_12_55_54_9833.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399505806","1399505803","1399505811","1399505808","1399505801","1399505804"],"photo_ids_order":["1399505801","1399505803","1399505804","1399505806","1399505808","1399505811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4f70dad5b3aa37e19f9564196ee8918e.jpg","text":"TemporaryFile(/tmp/multipartBody6058390330971245270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801523451,"filename":"image_15122025_12_54_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/15/3f9c9d12ce8016e968d3d8d54d5923d1.jpg","text":"TemporaryFile(/tmp/multipartBody1837187624570024886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801523451,"filename":"image_15122025_12_52_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/15/5dbb9f9dd5f89c212a80297db5ee7cde.jpg","text":"TemporaryFile(/tmp/multipartBody3800672896316192003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801523451,"filename":"image_15122025_12_55_54_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d004b26b1a889a8fcf2da7827aa5b007.jpg","text":"TemporaryFile(/tmp/multipartBody1517678334537245697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801523451,"filename":"image_15122025_12_55_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/15/20ce14bf448cca8b0e1f7d410cfc8a78.jpg","text":"TemporaryFile(/tmp/multipartBody1574409328683743608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801523451,"filename":"image_15122025_12_52_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/15/6d55e86d9c629306fdeeb663a382e6bc.jpg","text":"TemporaryFile(/tmp/multipartBody6480425704249134409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801523451,"filename":"image_15122025_12_53_34_9593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399505804","file1":"1399505803","file0":"1399505801","file4":"1399505808","file5":"1399505811","file3":"1399505806"},"map_files_photo_id_array":[{"photo_id":"1399505811","filename":"file5"},{"photo_id":"1399505804","filename":"file2"},{"photo_id":"1399505808","filename":"file4"},{"photo_id":"1399505803","filename":"file1"},{"photo_id":"1399505801","filename":"file0"},{"photo_id":"1399505806","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399505806":["hashtag1","hashtag2"]},{"1399505803":["hashtag1","hashtag2"]},{"1399505811":["hashtag1","hashtag2"]},{"1399505808":["hashtag1","hashtag2"]},{"1399505801":["hashtag1","hashtag2"]},{"1399505804":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399505806, 1399505803, 1399505811, 1399505808, 1399505801, 1399505804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97827768325806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 13:25:02.633542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/55/image_15122025_12_56_05_10714.jpg', '/home/pi/Desktop/images/15122025/12/56/image_15122025_12_56_15_9712.jpg', '/home/pi/Desktop/images/15122025/12/56/image_15122025_12_56_24_9699.jpg', '/home/pi/Desktop/images/15122025/12/56/image_15122025_12_56_34_9644.jpg', '/home/pi/Desktop/images/15122025/12/56/image_15122025_12_56_45_10742.jpg', '/home/pi/Desktop/images/15122025/12/56/image_15122025_12_56_55_9805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/55/image_15122025_12_56_05_10714.jpg
/home/pi/Desktop/images/15122025/12/56/image_15122025_12_56_15_9712.jpg
/home/pi/Desktop/images/15122025/12/56/image_15122025_12_56_24_9699.jpg
/home/pi/Desktop/images/15122025/12/56/image_15122025_12_56_34_9644.jpg
/home/pi/Desktop/images/15122025/12/56/image_15122025_12_56_45_10742.jpg
/home/pi/Desktop/images/15122025/12/56/image_15122025_12_56_55_9805.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399505813","1399505815","1399505817","1399505814","1399505816","1399505819"],"photo_ids_order":["1399505813","1399505814","1399505815","1399505816","1399505817","1399505819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2b2475839f3a95f5d2fb30f0f49ce437.jpg","text":"TemporaryFile(/tmp/multipartBody6999150336219283870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801563313,"filename":"image_15122025_12_56_05_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4dbac0bcc9e466dfef2c44ea184816e7.jpg","text":"TemporaryFile(/tmp/multipartBody6272303895224058271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801563313,"filename":"image_15122025_12_56_24_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ad4e02eafc182b62e17ed4c50e5e541c.jpg","text":"TemporaryFile(/tmp/multipartBody7855740423770839483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801563313,"filename":"image_15122025_12_56_45_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/93a69bb9439a1af8bf783e485aa6d896.jpg","text":"TemporaryFile(/tmp/multipartBody6579002441059309531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801563313,"filename":"image_15122025_12_56_15_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3a295127737b3dbf37399c30ddd00146.jpg","text":"TemporaryFile(/tmp/multipartBody4989022307174407143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801563313,"filename":"image_15122025_12_56_34_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0a5f65597afa672732fc6585f1afe59e.jpg","text":"TemporaryFile(/tmp/multipartBody4598757538810293060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801563313,"filename":"image_15122025_12_56_55_9805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399505815","file1":"1399505814","file0":"1399505813","file4":"1399505817","file5":"1399505819","file3":"1399505816"},"map_files_photo_id_array":[{"photo_id":"1399505819","filename":"file5"},{"photo_id":"1399505815","filename":"file2"},{"photo_id":"1399505817","filename":"file4"},{"photo_id":"1399505814","filename":"file1"},{"photo_id":"1399505813","filename":"file0"},{"photo_id":"1399505816","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399505813":["hashtag1","hashtag2"]},{"1399505815":["hashtag1","hashtag2"]},{"1399505817":["hashtag1","hashtag2"]},{"1399505814":["hashtag1","hashtag2"]},{"1399505816":["hashtag1","hashtag2"]},{"1399505819":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399505813, 1399505815, 1399505817, 1399505814, 1399505816, 1399505819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.206332206726074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 13:25:41.964675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/14/59/image_05112025_14_59_57_2555.jpg', '/home/pi/Desktop/images/05112025/14/59/image_05112025_15_00_00_3637.jpg', '/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_07_3012.jpg', '/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_10_3645.jpg', '/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_13_2592.jpg', '/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_19_2814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/14/59/image_05112025_14_59_57_2555.jpg
/home/pi/Desktop/images/05112025/14/59/image_05112025_15_00_00_3637.jpg
/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_07_3012.jpg
/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_10_3645.jpg
/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_13_2592.jpg
/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_19_2814.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399505830","1399505824","1399505829","1399505834","1399505828","1399505831"],"photo_ids_order":["1399505824","1399505828","1399505829","1399505830","1399505831","1399505834"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/26d52840c4e64432fe3eb537601cb990.jpg","text":"TemporaryFile(/tmp/multipartBody3560436862650406577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801602677,"filename":"image_05112025_15_01_10_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/15/bc52f158905a38e06546201ba4bb19bb.jpg","text":"TemporaryFile(/tmp/multipartBody5814547751933850066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801602677,"filename":"image_05112025_14_59_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/15/fd7ec1f97db261ec8b3dd09cba29d4cc.jpg","text":"TemporaryFile(/tmp/multipartBody6370548188997379653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801602677,"filename":"image_05112025_15_01_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/15/8c2b1824ce3df50fbc9b735ba9108426.jpg","text":"TemporaryFile(/tmp/multipartBody4478706894603413821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801602677,"filename":"image_05112025_15_01_19_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/15/a483af9fa44a0e90db7b69e80c5f5352.jpg","text":"TemporaryFile(/tmp/multipartBody3221482206250517266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801602677,"filename":"image_05112025_15_00_00_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4804431a8d380d4814c19f70eb3573bf.jpg","text":"TemporaryFile(/tmp/multipartBody2211977432188462797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801602677,"filename":"image_05112025_15_01_13_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399505829","file1":"1399505828","file0":"1399505824","file4":"1399505831","file5":"1399505834","file3":"1399505830"},"map_files_photo_id_array":[{"photo_id":"1399505834","filename":"file5"},{"photo_id":"1399505829","filename":"file2"},{"photo_id":"1399505831","filename":"file4"},{"photo_id":"1399505828","filename":"file1"},{"photo_id":"1399505824","filename":"file0"},{"photo_id":"1399505830","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399505830":["hashtag1","hashtag2"]},{"1399505824":["hashtag1","hashtag2"]},{"1399505829":["hashtag1","hashtag2"]},{"1399505834":["hashtag1","hashtag2"]},{"1399505828":["hashtag1","hashtag2"]},{"1399505831":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399505830, 1399505824, 1399505829, 1399505834, 1399505828, 1399505831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59084129333496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 13:26:22.217708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/56/image_15122025_12_57_04_9708.jpg', '/home/pi/Desktop/images/15122025/12/57/image_15122025_12_57_15_10600.jpg', '/home/pi/Desktop/images/15122025/12/57/image_15122025_12_57_24_9656.jpg', '/home/pi/Desktop/images/15122025/12/57/image_15122025_12_57_34_9633.jpg', '/home/pi/Desktop/images/15122025/12/57/image_15122025_12_57_45_10720.jpg', '/home/pi/Desktop/images/15122025/12/57/image_15122025_12_57_55_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/56/image_15122025_12_57_04_9708.jpg
/home/pi/Desktop/images/15122025/12/57/image_15122025_12_57_15_10600.jpg
/home/pi/Desktop/images/15122025/12/57/image_15122025_12_57_24_9656.jpg
/home/pi/Desktop/images/15122025/12/57/image_15122025_12_57_34_9633.jpg
/home/pi/Desktop/images/15122025/12/57/image_15122025_12_57_45_10720.jpg
/home/pi/Desktop/images/15122025/12/57/image_15122025_12_57_55_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":["1399505842","1399505845","1399505836","1399505835","1399505838","1399505840"],"photo_ids_order":["1399505835","1399505836","1399505838","1399505840","1399505842","1399505845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/305f7be82bdc74288d6047ce7b3523a7.jpg","text":"TemporaryFile(/tmp/multipartBody5534453884364998436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801642847,"filename":"image_15122025_12_57_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/15/7c456b093c60473061388ed6e5822eb9.jpg","text":"TemporaryFile(/tmp/multipartBody2150961507659171570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801642847,"filename":"image_15122025_12_57_55_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7a2fe9da0fb5e1894189dcedcea34d6f.jpg","text":"TemporaryFile(/tmp/multipartBody930515512284121221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801642847,"filename":"image_15122025_12_57_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/15/2f158e724957eef181aa1990b1328a14.jpg","text":"TemporaryFile(/tmp/multipartBody2074710074389505795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801642847,"filename":"image_15122025_12_57_04_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/50d30bf92a34677c41fc58fc28ef8ad2.jpg","text":"TemporaryFile(/tmp/multipartBody5960936761453317229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801642847,"filename":"image_15122025_12_57_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/15/afff0fe83fe79126c900264d278c62cf.jpg","text":"TemporaryFile(/tmp/multipartBody2336237111253720813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801642847,"filename":"image_15122025_12_57_34_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399505838","file1":"1399505836","file0":"1399505835","file4":"1399505842","file5":"1399505845","file3":"1399505840"},"map_files_photo_id_array":[{"photo_id":"1399505845","filename":"file5"},{"photo_id":"1399505838","filename":"file2"},{"photo_id":"1399505842","filename":"file4"},{"photo_id":"1399505836","filename":"file1"},{"photo_id":"1399505835","filename":"file0"},{"photo_id":"1399505840","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399505842":["hashtag1","hashtag2"]},{"1399505845":["hashtag1","hashtag2"]},{"1399505836":["hashtag1","hashtag2"]},{"1399505835":["hashtag1","hashtag2"]},{"1399505838":["hashtag1","hashtag2"]},{"1399505840":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399505842, 1399505845, 1399505836, 1399505835, 1399505838, 1399505840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22761559486389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 13:27:03.063847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/57/image_15122025_12_58_04_9752.jpg', '/home/pi/Desktop/images/15122025/12/58/image_15122025_12_58_14_9836.jpg', '/home/pi/Desktop/images/15122025/12/58/image_15122025_12_58_24_9772.jpg', '/home/pi/Desktop/images/15122025/12/58/image_15122025_12_58_35_10632.jpg', '/home/pi/Desktop/images/15122025/12/58/image_15122025_12_58_44_9777.jpg', '/home/pi/Desktop/images/15122025/12/58/image_15122025_12_58_54_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/57/image_15122025_12_58_04_9752.jpg
/home/pi/Desktop/images/15122025/12/58/image_15122025_12_58_14_9836.jpg
/home/pi/Desktop/images/15122025/12/58/image_15122025_12_58_24_9772.jpg
/home/pi/Desktop/images/15122025/12/58/image_15122025_12_58_35_10632.jpg
/home/pi/Desktop/images/15122025/12/58/image_15122025_12_58_44_9777.jpg
/home/pi/Desktop/images/15122025/12/58/image_15122025_12_58_54_9744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399505860","1399505863","1399505866","1399505862","1399505864","1399505861"],"photo_ids_order":["1399505860","1399505861","1399505862","1399505863","1399505864","1399505866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ec480fb1d3649b29eceda3a32d2a3005.jpg","text":"TemporaryFile(/tmp/multipartBody7191387172387860661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801683773,"filename":"image_15122025_12_58_04_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/16f2174d12e6f1f54177713ae3c2ac2f.jpg","text":"TemporaryFile(/tmp/multipartBody4537739087943518297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801683773,"filename":"image_15122025_12_58_35_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4ca540b947526369513740637c36c71c.jpg","text":"TemporaryFile(/tmp/multipartBody2095186865792678215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801683773,"filename":"image_15122025_12_58_54_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f3c2b297c94b418b363afe2a151252a3.jpg","text":"TemporaryFile(/tmp/multipartBody7824826360142058938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801683773,"filename":"image_15122025_12_58_24_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/16a9395a04945b21ed12040d39348764.jpg","text":"TemporaryFile(/tmp/multipartBody5086630779183662564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801683773,"filename":"image_15122025_12_58_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/15/d66a35207eea4803c6f949b1923bea57.jpg","text":"TemporaryFile(/tmp/multipartBody7003557720266519464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801683773,"filename":"image_15122025_12_58_14_9836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399505862","file1":"1399505861","file0":"1399505860","file4":"1399505864","file5":"1399505866","file3":"1399505863"},"map_files_photo_id_array":[{"photo_id":"1399505866","filename":"file5"},{"photo_id":"1399505862","filename":"file2"},{"photo_id":"1399505864","filename":"file4"},{"photo_id":"1399505861","filename":"file1"},{"photo_id":"1399505860","filename":"file0"},{"photo_id":"1399505863","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399505860":["hashtag1","hashtag2"]},{"1399505863":["hashtag1","hashtag2"]},{"1399505866":["hashtag1","hashtag2"]},{"1399505862":["hashtag1","hashtag2"]},{"1399505864":["hashtag1","hashtag2"]},{"1399505861":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399505860, 1399505863, 1399505866, 1399505862, 1399505864, 1399505861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.705402135849 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 13:27:42.425197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_22_2683.jpg', '/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_26_3596.jpg', '/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_28_2878.jpg', '/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_31_2756.jpg', '/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_34_2602.jpg', '/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_37_3658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_22_2683.jpg
/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_26_3596.jpg
/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_28_2878.jpg
/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_31_2756.jpg
/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_34_2602.jpg
/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_37_3658.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5913281440734863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 13:28:03.145053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/12/58/image_15122025_12_59_05_10515.jpg', '/home/pi/Desktop/images/15122025/12/59/image_15122025_12_59_14_9732.jpg', '/home/pi/Desktop/images/15122025/12/59/image_15122025_12_59_24_9875.jpg', '/home/pi/Desktop/images/15122025/12/59/image_15122025_12_59_34_10203.jpg', '/home/pi/Desktop/images/15122025/12/59/image_15122025_12_59_44_9593.jpg', '/home/pi/Desktop/images/15122025/12/59/image_15122025_12_59_55_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/12/58/image_15122025_12_59_05_10515.jpg
/home/pi/Desktop/images/15122025/12/59/image_15122025_12_59_14_9732.jpg
/home/pi/Desktop/images/15122025/12/59/image_15122025_12_59_24_9875.jpg
/home/pi/Desktop/images/15122025/12/59/image_15122025_12_59_34_10203.jpg
/home/pi/Desktop/images/15122025/12/59/image_15122025_12_59_44_9593.jpg
/home/pi/Desktop/images/15122025/12/59/image_15122025_12_59_55_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":["1399505881","1399505880","1399505883","1399505882","1399505885","1399505879"],"photo_ids_order":["1399505879","1399505880","1399505881","1399505882","1399505883","1399505885"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/78721dbcc3bda9bcca14c6a280abe053.jpg","text":"TemporaryFile(/tmp/multipartBody7098268978427162412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801743830,"filename":"image_15122025_12_59_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/15/0f7f391572d8ffced398e9364cdfa205.jpg","text":"TemporaryFile(/tmp/multipartBody4097286028404734630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801743830,"filename":"image_15122025_12_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/15/55c2bb942422ca85d45627ce29675dd6.jpg","text":"TemporaryFile(/tmp/multipartBody989372779737696036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801743830,"filename":"image_15122025_12_59_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/15/d03b78725434e51cf6d021c96f3cd8b4.jpg","text":"TemporaryFile(/tmp/multipartBody393854064547632033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801743830,"filename":"image_15122025_12_59_34_10203.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f86bd1af417d11653871a1e2ec18efa8.jpg","text":"TemporaryFile(/tmp/multipartBody3224222809604182935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801743830,"filename":"image_15122025_12_59_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/15/c547f2d89f7f65bc97056c042fc248c8.jpg","text":"TemporaryFile(/tmp/multipartBody8805072953131524710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801743830,"filename":"image_15122025_12_59_05_10515.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399505881","file1":"1399505880","file0":"1399505879","file4":"1399505883","file5":"1399505885","file3":"1399505882"},"map_files_photo_id_array":[{"photo_id":"1399505885","filename":"file5"},{"photo_id":"1399505881","filename":"file2"},{"photo_id":"1399505883","filename":"file4"},{"photo_id":"1399505880","filename":"file1"},{"photo_id":"1399505879","filename":"file0"},{"photo_id":"1399505882","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399505881":["hashtag1","hashtag2"]},{"1399505880":["hashtag1","hashtag2"]},{"1399505883":["hashtag1","hashtag2"]},{"1399505882":["hashtag1","hashtag2"]},{"1399505885":["hashtag1","hashtag2"]},{"1399505879":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399505881, 1399505880, 1399505883, 1399505882, 1399505885, 1399505879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.12258005142212 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 13:28:42.646245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_22_2683.jpg', '/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_26_3596.jpg', '/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_28_2878.jpg', '/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_31_2756.jpg', '/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_34_2602.jpg', '/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_37_3658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_22_2683.jpg
/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_26_3596.jpg
/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_28_2878.jpg
/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_31_2756.jpg
/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_34_2602.jpg
/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_37_3658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399505906","1399505941","1399505923","1399505943","1399505904","1399505942"],"photo_ids_order":["1399505904","1399505906","1399505923","1399505941","1399505942","1399505943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/91b18915f079dd67c4ad60424e4c87ee.jpg","text":"TemporaryFile(/tmp/multipartBody6989296717145131546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801783242,"filename":"image_05112025_15_01_26_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dd88812d0dfa43080c0871a225b33206.jpg","text":"TemporaryFile(/tmp/multipartBody6023509802053303830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801783242,"filename":"image_05112025_15_01_31_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/15/5af63715a26df100c4fef9d67d210682.jpg","text":"TemporaryFile(/tmp/multipartBody6851839113272902608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801783242,"filename":"image_05112025_15_01_28_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/15/c248794733dd9b36a8f7d089a2155044.jpg","text":"TemporaryFile(/tmp/multipartBody5117414093712276608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801783242,"filename":"image_05112025_15_01_37_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e1bd45756125763a6c886fdeebb1ea4b.jpg","text":"TemporaryFile(/tmp/multipartBody262914101001109789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801783242,"filename":"image_05112025_15_01_22_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/15/17736cdca2511196704ede03d14f193c.jpg","text":"TemporaryFile(/tmp/multipartBody3985540967762378330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801783242,"filename":"image_05112025_15_01_34_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399505923","file1":"1399505906","file0":"1399505904","file4":"1399505942","file5":"1399505943","file3":"1399505941"},"map_files_photo_id_array":[{"photo_id":"1399505943","filename":"file5"},{"photo_id":"1399505923","filename":"file2"},{"photo_id":"1399505942","filename":"file4"},{"photo_id":"1399505906","filename":"file1"},{"photo_id":"1399505904","filename":"file0"},{"photo_id":"1399505941","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399505906":["hashtag1","hashtag2"]},{"1399505941":["hashtag1","hashtag2"]},{"1399505923":["hashtag1","hashtag2"]},{"1399505943":["hashtag1","hashtag2"]},{"1399505904":["hashtag1","hashtag2"]},{"1399505942":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399505906, 1399505941, 1399505923, 1399505943, 1399505904, 1399505942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69965624809265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 13:29:22.060963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/00/image_15122025_13_00_14_10054.jpg', '/home/pi/Desktop/images/15122025/13/00/image_15122025_13_00_25_10642.jpg', '/home/pi/Desktop/images/15122025/13/00/image_15122025_13_00_34_9532.jpg', '/home/pi/Desktop/images/15122025/13/00/image_15122025_13_00_45_10743.jpg', '/home/pi/Desktop/images/15122025/13/00/image_15122025_13_00_55_9600.jpg', '/home/pi/Desktop/images/15122025/13/00/image_15122025_13_01_05_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/00/image_15122025_13_00_14_10054.jpg
/home/pi/Desktop/images/15122025/13/00/image_15122025_13_00_25_10642.jpg
/home/pi/Desktop/images/15122025/13/00/image_15122025_13_00_34_9532.jpg
/home/pi/Desktop/images/15122025/13/00/image_15122025_13_00_45_10743.jpg
/home/pi/Desktop/images/15122025/13/00/image_15122025_13_00_55_9600.jpg
/home/pi/Desktop/images/15122025/13/00/image_15122025_13_01_05_9774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399505947","1399505952","1399505963","1399505951","1399505945","1399505954"],"photo_ids_order":["1399505945","1399505947","1399505951","1399505952","1399505954","1399505963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f853e22e48b146cfecba8dde2b7f4309.jpg","text":"TemporaryFile(/tmp/multipartBody3493749876010687844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801822698,"filename":"image_15122025_13_00_25_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cfe88c9b77b61ab3d43752cf6ffe50b2.jpg","text":"TemporaryFile(/tmp/multipartBody7065754267052853125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801822698,"filename":"image_15122025_13_00_45_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/44682fc717b28c7e6a73ab95a6b98c72.jpg","text":"TemporaryFile(/tmp/multipartBody1684667128765146746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801822698,"filename":"image_15122025_13_01_05_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/701de075b4c463eb34578af9ed38267a.jpg","text":"TemporaryFile(/tmp/multipartBody2071936559785842147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801822698,"filename":"image_15122025_13_00_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/15/2858e18cf542a21427ad839d2fd4507a.jpg","text":"TemporaryFile(/tmp/multipartBody4785268106978812110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801822698,"filename":"image_15122025_13_00_14_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5f6410415ad043d08f2e4f5457d58345.jpg","text":"TemporaryFile(/tmp/multipartBody3702303736875554654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801822698,"filename":"image_15122025_13_00_55_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399505951","file1":"1399505947","file0":"1399505945","file4":"1399505954","file5":"1399505963","file3":"1399505952"},"map_files_photo_id_array":[{"photo_id":"1399505963","filename":"file5"},{"photo_id":"1399505951","filename":"file2"},{"photo_id":"1399505954","filename":"file4"},{"photo_id":"1399505947","filename":"file1"},{"photo_id":"1399505945","filename":"file0"},{"photo_id":"1399505952","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399505947":["hashtag1","hashtag2"]},{"1399505952":["hashtag1","hashtag2"]},{"1399505963":["hashtag1","hashtag2"]},{"1399505951":["hashtag1","hashtag2"]},{"1399505945":["hashtag1","hashtag2"]},{"1399505954":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399505947, 1399505952, 1399505963, 1399505951, 1399505945, 1399505954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.210594177246094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 13:30:02.720755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/01/image_15122025_13_01_14_9851.jpg', '/home/pi/Desktop/images/15122025/13/01/image_15122025_13_01_25_10653.jpg', '/home/pi/Desktop/images/15122025/13/01/image_15122025_13_01_35_9617.jpg', '/home/pi/Desktop/images/15122025/13/01/image_15122025_13_01_45_10490.jpg', '/home/pi/Desktop/images/15122025/13/01/image_15122025_13_01_55_9707.jpg', '/home/pi/Desktop/images/15122025/13/01/image_15122025_13_02_05_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/01/image_15122025_13_01_14_9851.jpg
/home/pi/Desktop/images/15122025/13/01/image_15122025_13_01_25_10653.jpg
/home/pi/Desktop/images/15122025/13/01/image_15122025_13_01_35_9617.jpg
/home/pi/Desktop/images/15122025/13/01/image_15122025_13_01_45_10490.jpg
/home/pi/Desktop/images/15122025/13/01/image_15122025_13_01_55_9707.jpg
/home/pi/Desktop/images/15122025/13/01/image_15122025_13_02_05_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.5515570640563965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 13:30:12.282309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 13:30:22.341301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/01/image_15122025_13_01_14_9851.jpg', '/home/pi/Desktop/images/15122025/13/01/image_15122025_13_01_25_10653.jpg', '/home/pi/Desktop/images/15122025/13/01/image_15122025_13_01_35_9617.jpg', '/home/pi/Desktop/images/15122025/13/01/image_15122025_13_01_45_10490.jpg', '/home/pi/Desktop/images/15122025/13/01/image_15122025_13_01_55_9707.jpg', '/home/pi/Desktop/images/15122025/13/01/image_15122025_13_02_05_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/01/image_15122025_13_01_14_9851.jpg
/home/pi/Desktop/images/15122025/13/01/image_15122025_13_01_25_10653.jpg
/home/pi/Desktop/images/15122025/13/01/image_15122025_13_01_35_9617.jpg
/home/pi/Desktop/images/15122025/13/01/image_15122025_13_01_45_10490.jpg
/home/pi/Desktop/images/15122025/13/01/image_15122025_13_01_55_9707.jpg
/home/pi/Desktop/images/15122025/13/01/image_15122025_13_02_05_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":["1399505983","1399505979","1399505988","1399505982","1399505976","1399505986"],"photo_ids_order":["1399505976","1399505979","1399505982","1399505983","1399505986","1399505988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3ac1a765da433523ab90b6393c88a9e7.jpg","text":"TemporaryFile(/tmp/multipartBody6941201469775312127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801882970,"filename":"image_15122025_13_01_45_10490.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8d46400010f64bf918b1b9daabe9d91a.jpg","text":"TemporaryFile(/tmp/multipartBody4211713834068370767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801882970,"filename":"image_15122025_13_01_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/15/608c06841099780ce1f09989d50f2d7f.jpg","text":"TemporaryFile(/tmp/multipartBody5479097275416498155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801882970,"filename":"image_15122025_13_02_05_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/88e106f8ec54c3ff0613d7ec1f7b53b0.jpg","text":"TemporaryFile(/tmp/multipartBody254155553625044886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801882970,"filename":"image_15122025_13_01_35_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/15/7d7992232ed2ed05cb1b9cf98da6d8f8.jpg","text":"TemporaryFile(/tmp/multipartBody6769414503740042047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801882970,"filename":"image_15122025_13_01_14_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/15/7b1c506121ab984aec5f31ad263a7e89.jpg","text":"TemporaryFile(/tmp/multipartBody8487198460583657061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801882970,"filename":"image_15122025_13_01_55_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399505982","file1":"1399505979","file0":"1399505976","file4":"1399505986","file5":"1399505988","file3":"1399505983"},"map_files_photo_id_array":[{"photo_id":"1399505988","filename":"file5"},{"photo_id":"1399505982","filename":"file2"},{"photo_id":"1399505986","filename":"file4"},{"photo_id":"1399505979","filename":"file1"},{"photo_id":"1399505976","filename":"file0"},{"photo_id":"1399505983","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399505983":["hashtag1","hashtag2"]},{"1399505979":["hashtag1","hashtag2"]},{"1399505988":["hashtag1","hashtag2"]},{"1399505982":["hashtag1","hashtag2"]},{"1399505976":["hashtag1","hashtag2"]},{"1399505986":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399505983, 1399505979, 1399505988, 1399505982, 1399505976, 1399505986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09683394432068 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 13:31:03.269583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/02/image_15122025_13_02_15_10695.jpg', '/home/pi/Desktop/images/15122025/13/02/image_15122025_13_02_25_9730.jpg', '/home/pi/Desktop/images/15122025/13/02/image_15122025_13_02_35_9736.jpg', '/home/pi/Desktop/images/15122025/13/02/image_15122025_13_02_44_9721.jpg', '/home/pi/Desktop/images/15122025/13/02/image_15122025_13_02_55_10720.jpg', '/home/pi/Desktop/images/15122025/13/02/image_15122025_13_03_05_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/02/image_15122025_13_02_15_10695.jpg
/home/pi/Desktop/images/15122025/13/02/image_15122025_13_02_25_9730.jpg
/home/pi/Desktop/images/15122025/13/02/image_15122025_13_02_35_9736.jpg
/home/pi/Desktop/images/15122025/13/02/image_15122025_13_02_44_9721.jpg
/home/pi/Desktop/images/15122025/13/02/image_15122025_13_02_55_10720.jpg
/home/pi/Desktop/images/15122025/13/02/image_15122025_13_03_05_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399506213","1399506162","1399506074","1399506197","1399506125","1399506190"],"photo_ids_order":["1399506074","1399506125","1399506162","1399506190","1399506197","1399506213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a6a734c8efc5f8e749c652799a7945e8.jpg","text":"TemporaryFile(/tmp/multipartBody5129648858149755349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801923978,"filename":"image_15122025_13_03_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/15/6fb1c6838940e3ddbbf6790ba9d6a1d1.jpg","text":"TemporaryFile(/tmp/multipartBody1187481888544427248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801923978,"filename":"image_15122025_13_02_35_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f1227218f42984d23f3beb0ce4b0a192.jpg","text":"TemporaryFile(/tmp/multipartBody7247267590601351022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801923978,"filename":"image_15122025_13_02_15_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6192e96646aac3b16ffebb1147c0ac94.jpg","text":"TemporaryFile(/tmp/multipartBody3542229304897513679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801923978,"filename":"image_15122025_13_02_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/15/ba1a7b1ad824a5465851edbc86b53ce4.jpg","text":"TemporaryFile(/tmp/multipartBody5626603128515079289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801923978,"filename":"image_15122025_13_02_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/15/6f3eb5ce86af6f7edf923be79f06c6a1.jpg","text":"TemporaryFile(/tmp/multipartBody4297357512485084945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801923978,"filename":"image_15122025_13_02_44_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399506162","file1":"1399506125","file0":"1399506074","file4":"1399506197","file5":"1399506213","file3":"1399506190"},"map_files_photo_id_array":[{"photo_id":"1399506213","filename":"file5"},{"photo_id":"1399506162","filename":"file2"},{"photo_id":"1399506197","filename":"file4"},{"photo_id":"1399506125","filename":"file1"},{"photo_id":"1399506074","filename":"file0"},{"photo_id":"1399506190","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399506213":["hashtag1","hashtag2"]},{"1399506162":["hashtag1","hashtag2"]},{"1399506074":["hashtag1","hashtag2"]},{"1399506197":["hashtag1","hashtag2"]},{"1399506125":["hashtag1","hashtag2"]},{"1399506190":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399506213, 1399506162, 1399506074, 1399506197, 1399506125, 1399506190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.71707797050476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 13:32:03.178492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/03/image_15122025_13_03_15_9755.jpg', '/home/pi/Desktop/images/15122025/13/03/image_15122025_13_03_24_9736.jpg', '/home/pi/Desktop/images/15122025/13/03/image_15122025_13_03_35_10737.jpg', '/home/pi/Desktop/images/15122025/13/03/image_15122025_13_03_45_9587.jpg', '/home/pi/Desktop/images/15122025/13/03/image_15122025_13_03_54_9719.jpg', '/home/pi/Desktop/images/15122025/13/03/image_15122025_13_04_05_10683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/03/image_15122025_13_03_15_9755.jpg
/home/pi/Desktop/images/15122025/13/03/image_15122025_13_03_24_9736.jpg
/home/pi/Desktop/images/15122025/13/03/image_15122025_13_03_35_10737.jpg
/home/pi/Desktop/images/15122025/13/03/image_15122025_13_03_45_9587.jpg
/home/pi/Desktop/images/15122025/13/03/image_15122025_13_03_54_9719.jpg
/home/pi/Desktop/images/15122025/13/03/image_15122025_13_04_05_10683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399506235","1399506234","1399506237","1399506236","1399506239","1399506233"],"photo_ids_order":["1399506233","1399506234","1399506235","1399506236","1399506237","1399506239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4cae6e39785e69edd2e9cd31aec1dfd5.jpg","text":"TemporaryFile(/tmp/multipartBody2093143860405520314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801983843,"filename":"image_15122025_13_03_35_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e07c54de4064024f01ccf156dbd7fb97.jpg","text":"TemporaryFile(/tmp/multipartBody5241041880218100202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801983843,"filename":"image_15122025_13_03_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/15/8fa35310deb613d35d8d1dc356be84b3.jpg","text":"TemporaryFile(/tmp/multipartBody3182761801139225113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801983843,"filename":"image_15122025_13_03_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/15/7dee27611697da94dafb067ceb1a9a05.jpg","text":"TemporaryFile(/tmp/multipartBody1786359300500926927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801983843,"filename":"image_15122025_13_03_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/15/0ef699ef8e29eeeca56f207e420fe0f6.jpg","text":"TemporaryFile(/tmp/multipartBody6327716609209825082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801983843,"filename":"image_15122025_13_04_05_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e358da97a473783e0a603cbd77dc5302.jpg","text":"TemporaryFile(/tmp/multipartBody8349287759925451541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765801983843,"filename":"image_15122025_13_03_15_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399506235","file1":"1399506234","file0":"1399506233","file4":"1399506237","file5":"1399506239","file3":"1399506236"},"map_files_photo_id_array":[{"photo_id":"1399506239","filename":"file5"},{"photo_id":"1399506235","filename":"file2"},{"photo_id":"1399506237","filename":"file4"},{"photo_id":"1399506234","filename":"file1"},{"photo_id":"1399506233","filename":"file0"},{"photo_id":"1399506236","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399506235":["hashtag1","hashtag2"]},{"1399506234":["hashtag1","hashtag2"]},{"1399506237":["hashtag1","hashtag2"]},{"1399506236":["hashtag1","hashtag2"]},{"1399506239":["hashtag1","hashtag2"]},{"1399506233":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399506235, 1399506234, 1399506237, 1399506236, 1399506239, 1399506233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02578687667847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 13:32:42.761584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_43_5637.jpg', '/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_45_1601.jpg', '/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_46_1636.jpg', '/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_49_2617.jpg', '/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_58_8780.jpg', '/home/pi/Desktop/images/05112025/15/02/image_05112025_15_02_01_3077.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_43_5637.jpg
/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_45_1601.jpg
/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_46_1636.jpg
/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_49_2617.jpg
/home/pi/Desktop/images/05112025/15/01/image_05112025_15_01_58_8780.jpg
/home/pi/Desktop/images/05112025/15/02/image_05112025_15_02_01_3077.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399506256","1399506259","1399506258","1399506260","1399506257","1399506245"],"photo_ids_order":["1399506245","1399506256","1399506257","1399506258","1399506259","1399506260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/725c58795d0c73190a0afb00f379e317.jpg","text":"TemporaryFile(/tmp/multipartBody3133193881127301793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802023497,"filename":"image_05112025_15_01_45_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/15/482bd5c80e9978b649858b697c091e0f.jpg","text":"TemporaryFile(/tmp/multipartBody2217218973173144722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802023497,"filename":"image_05112025_15_01_58_8780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/307b9135e1d14325615b596188211cb3.jpg","text":"TemporaryFile(/tmp/multipartBody1258376182938248085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802023497,"filename":"image_05112025_15_01_49_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/15/f463ba63e511fb8baa229b6b9ef23018.jpg","text":"TemporaryFile(/tmp/multipartBody5145916982890276499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802023497,"filename":"image_05112025_15_02_01_3077.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/eb280b2322ada98431f415d03a0f7ce5.jpg","text":"TemporaryFile(/tmp/multipartBody253485632561757621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802023497,"filename":"image_05112025_15_01_46_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/15/6ac5210ee6954cb481b1c0b3eb0a3688.jpg","text":"TemporaryFile(/tmp/multipartBody7036636075082399921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802023497,"filename":"image_05112025_15_01_43_5637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399506257","file1":"1399506256","file0":"1399506245","file4":"1399506259","file5":"1399506260","file3":"1399506258"},"map_files_photo_id_array":[{"photo_id":"1399506260","filename":"file5"},{"photo_id":"1399506257","filename":"file2"},{"photo_id":"1399506259","filename":"file4"},{"photo_id":"1399506256","filename":"file1"},{"photo_id":"1399506245","filename":"file0"},{"photo_id":"1399506258","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399506256":["hashtag1","hashtag2"]},{"1399506259":["hashtag1","hashtag2"]},{"1399506258":["hashtag1","hashtag2"]},{"1399506260":["hashtag1","hashtag2"]},{"1399506257":["hashtag1","hashtag2"]},{"1399506245":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399506256, 1399506259, 1399506258, 1399506260, 1399506257, 1399506245)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.32196092605591 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 13:33:32.089455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 13:33:41.956754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/02/image_05112025_15_02_02_1587.jpg', '/home/pi/Desktop/images/05112025/15/02/image_05112025_15_02_04_1644.jpg', '/home/pi/Desktop/images/05112025/15/02/image_05112025_15_02_06_1560.jpg', '/home/pi/Desktop/images/05112025/15/02/image_05112025_15_02_07_1600.jpg', '/home/pi/Desktop/images/05112025/15/02/image_05112025_15_02_10_2809.jpg', '/home/pi/Desktop/images/05112025/15/02/image_05112025_15_02_13_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/02/image_05112025_15_02_02_1587.jpg
/home/pi/Desktop/images/05112025/15/02/image_05112025_15_02_04_1644.jpg
/home/pi/Desktop/images/05112025/15/02/image_05112025_15_02_06_1560.jpg
/home/pi/Desktop/images/05112025/15/02/image_05112025_15_02_07_1600.jpg
/home/pi/Desktop/images/05112025/15/02/image_05112025_15_02_10_2809.jpg
/home/pi/Desktop/images/05112025/15/02/image_05112025_15_02_13_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":["1399506442","1399506409","1399506406","1399506428","1399506478","1399506445"],"photo_ids_order":["1399506406","1399506409","1399506428","1399506442","1399506445","1399506478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c61618b3656daff9ea921150851a5ab1.jpg","text":"TemporaryFile(/tmp/multipartBody2145396694671452519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802083851,"filename":"image_05112025_15_02_07_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/15/a71d69e284678d98a31cf0895a1e1ea3.jpg","text":"TemporaryFile(/tmp/multipartBody5672895408925943000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802083851,"filename":"image_05112025_15_02_04_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/15/85eacc3339b99058c1bad7b0a98fe63e.jpg","text":"TemporaryFile(/tmp/multipartBody5804646883763847690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802083851,"filename":"image_05112025_15_02_02_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/15/b6277eb2c1484796d53a393bf338bc74.jpg","text":"TemporaryFile(/tmp/multipartBody4190163748376837856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802083851,"filename":"image_05112025_15_02_06_1560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f666b47567abad208cb2b1d00d8cf079.jpg","text":"TemporaryFile(/tmp/multipartBody6698138666171654934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802083851,"filename":"image_05112025_15_02_13_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c6be6562c86d7025e767e6564519349c.jpg","text":"TemporaryFile(/tmp/multipartBody4321844598423133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802083851,"filename":"image_05112025_15_02_10_2809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399506428","file1":"1399506409","file0":"1399506406","file4":"1399506445","file5":"1399506478","file3":"1399506442"},"map_files_photo_id_array":[{"photo_id":"1399506478","filename":"file5"},{"photo_id":"1399506428","filename":"file2"},{"photo_id":"1399506445","filename":"file4"},{"photo_id":"1399506409","filename":"file1"},{"photo_id":"1399506406","filename":"file0"},{"photo_id":"1399506442","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399506442":["hashtag1","hashtag2"]},{"1399506409":["hashtag1","hashtag2"]},{"1399506406":["hashtag1","hashtag2"]},{"1399506428":["hashtag1","hashtag2"]},{"1399506478":["hashtag1","hashtag2"]},{"1399506445":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399506442, 1399506409, 1399506406, 1399506428, 1399506478, 1399506445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.37058663368225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 13:34:22.247369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/04/image_15122025_13_04_15_9831.jpg', '/home/pi/Desktop/images/15122025/13/04/image_15122025_13_04_25_9734.jpg', '/home/pi/Desktop/images/15122025/13/04/image_15122025_13_04_35_10601.jpg', '/home/pi/Desktop/images/15122025/13/04/image_15122025_13_04_45_9695.jpg', '/home/pi/Desktop/images/15122025/13/04/image_15122025_13_04_55_9665.jpg', '/home/pi/Desktop/images/15122025/13/04/image_15122025_13_05_05_10607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/04/image_15122025_13_04_15_9831.jpg
/home/pi/Desktop/images/15122025/13/04/image_15122025_13_04_25_9734.jpg
/home/pi/Desktop/images/15122025/13/04/image_15122025_13_04_35_10601.jpg
/home/pi/Desktop/images/15122025/13/04/image_15122025_13_04_45_9695.jpg
/home/pi/Desktop/images/15122025/13/04/image_15122025_13_04_55_9665.jpg
/home/pi/Desktop/images/15122025/13/04/image_15122025_13_05_05_10607.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5180385112762451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 13:34:32.215488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 13:34:42.170809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/02/image_05112025_15_02_16_3651.jpg', '/home/pi/Desktop/images/05112025/15/02/image_05112025_15_02_19_2739.jpg', '/home/pi/Desktop/images/05112025/15/02/image_05112025_15_02_22_2760.jpg', '/home/pi/Desktop/images/05112025/15/02/image_05112025_15_02_25_2727.jpg', '/home/pi/Desktop/images/05112025/15/02/image_05112025_15_02_28_3673.jpg', '/home/pi/Desktop/images/05112025/15/02/image_05112025_15_02_52_23369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/02/image_05112025_15_02_16_3651.jpg
/home/pi/Desktop/images/05112025/15/02/image_05112025_15_02_19_2739.jpg
/home/pi/Desktop/images/05112025/15/02/image_05112025_15_02_22_2760.jpg
/home/pi/Desktop/images/05112025/15/02/image_05112025_15_02_25_2727.jpg
/home/pi/Desktop/images/05112025/15/02/image_05112025_15_02_28_3673.jpg
/home/pi/Desktop/images/05112025/15/02/image_05112025_15_02_52_23369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399506520","1399506517","1399506519","1399506521","1399506515","1399506518"],"photo_ids_order":["1399506515","1399506517","1399506518","1399506519","1399506520","1399506521"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ed1a0ce8dc644afe72acce67e25e40fb.jpg","text":"TemporaryFile(/tmp/multipartBody3296978294004751345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802142884,"filename":"image_05112025_15_02_28_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/15/65d4b198c55112e882cfda936aeb366b.jpg","text":"TemporaryFile(/tmp/multipartBody2425975960628000112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802142884,"filename":"image_05112025_15_02_19_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bfa5e36bb5829d209d9839123a9a7f72.jpg","text":"TemporaryFile(/tmp/multipartBody7367146241311133290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802142884,"filename":"image_05112025_15_02_25_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/be9e55d46d1b47686c7d33cff94036e1.jpg","text":"TemporaryFile(/tmp/multipartBody6463737207631510217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802142884,"filename":"image_05112025_15_02_52_23369.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/77612e90f5cf6229b2e9461403a77413.jpg","text":"TemporaryFile(/tmp/multipartBody2727791878536721398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802142884,"filename":"image_05112025_15_02_16_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/15/83d34b0ee1f55b270712a156568946f5.jpg","text":"TemporaryFile(/tmp/multipartBody2807561700028480941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802142884,"filename":"image_05112025_15_02_22_2760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399506518","file1":"1399506517","file0":"1399506515","file4":"1399506520","file5":"1399506521","file3":"1399506519"},"map_files_photo_id_array":[{"photo_id":"1399506521","filename":"file5"},{"photo_id":"1399506518","filename":"file2"},{"photo_id":"1399506520","filename":"file4"},{"photo_id":"1399506517","filename":"file1"},{"photo_id":"1399506515","filename":"file0"},{"photo_id":"1399506519","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399506520":["hashtag1","hashtag2"]},{"1399506517":["hashtag1","hashtag2"]},{"1399506519":["hashtag1","hashtag2"]},{"1399506521":["hashtag1","hashtag2"]},{"1399506515":["hashtag1","hashtag2"]},{"1399506518":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399506520, 1399506517, 1399506519, 1399506521, 1399506515, 1399506518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.84865951538086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 13:35:22.387506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/04/image_15122025_13_04_15_9831.jpg', '/home/pi/Desktop/images/15122025/13/04/image_15122025_13_04_25_9734.jpg', '/home/pi/Desktop/images/15122025/13/04/image_15122025_13_04_35_10601.jpg', '/home/pi/Desktop/images/15122025/13/04/image_15122025_13_04_45_9695.jpg', '/home/pi/Desktop/images/15122025/13/04/image_15122025_13_04_55_9665.jpg', '/home/pi/Desktop/images/15122025/13/04/image_15122025_13_05_05_10607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/04/image_15122025_13_04_15_9831.jpg
/home/pi/Desktop/images/15122025/13/04/image_15122025_13_04_25_9734.jpg
/home/pi/Desktop/images/15122025/13/04/image_15122025_13_04_35_10601.jpg
/home/pi/Desktop/images/15122025/13/04/image_15122025_13_04_45_9695.jpg
/home/pi/Desktop/images/15122025/13/04/image_15122025_13_04_55_9665.jpg
/home/pi/Desktop/images/15122025/13/04/image_15122025_13_05_05_10607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399506535","1399506561","1399506522","1399506548","1399506545","1399506550"],"photo_ids_order":["1399506522","1399506535","1399506545","1399506548","1399506550","1399506561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e6386002f477c1110c3645ee91dfbf29.jpg","text":"TemporaryFile(/tmp/multipartBody5597834457703892229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802183021,"filename":"image_15122025_13_04_25_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c06461d71e9c4eba716f6a5f50a7ee92.jpg","text":"TemporaryFile(/tmp/multipartBody326117670380194049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802183021,"filename":"image_15122025_13_05_05_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6ebc3e4c5553797aad4215e7ec1e6112.jpg","text":"TemporaryFile(/tmp/multipartBody7265632624195751275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802183021,"filename":"image_15122025_13_04_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/15/62a3706e5db66f04e6b3d6501d372db9.jpg","text":"TemporaryFile(/tmp/multipartBody3588372006992560116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802183021,"filename":"image_15122025_13_04_45_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/eb0da8b130e5777846b8ff8a28d6eb3b.jpg","text":"TemporaryFile(/tmp/multipartBody5872480110939974713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802183021,"filename":"image_15122025_13_04_35_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/033ef252a096a9cfce4e7fee6fce0876.jpg","text":"TemporaryFile(/tmp/multipartBody600545076343961853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802183021,"filename":"image_15122025_13_04_55_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399506545","file1":"1399506535","file0":"1399506522","file4":"1399506550","file5":"1399506561","file3":"1399506548"},"map_files_photo_id_array":[{"photo_id":"1399506561","filename":"file5"},{"photo_id":"1399506545","filename":"file2"},{"photo_id":"1399506550","filename":"file4"},{"photo_id":"1399506535","filename":"file1"},{"photo_id":"1399506522","filename":"file0"},{"photo_id":"1399506548","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399506535":["hashtag1","hashtag2"]},{"1399506561":["hashtag1","hashtag2"]},{"1399506522":["hashtag1","hashtag2"]},{"1399506548":["hashtag1","hashtag2"]},{"1399506545":["hashtag1","hashtag2"]},{"1399506550":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399506535, 1399506561, 1399506522, 1399506548, 1399506545, 1399506550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57021474838257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 13:36:02.982187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/05/image_15122025_13_05_15_9546.jpg', '/home/pi/Desktop/images/15122025/13/05/image_15122025_13_05_24_9654.jpg', '/home/pi/Desktop/images/15122025/13/05/image_15122025_13_05_35_10836.jpg', '/home/pi/Desktop/images/15122025/13/05/image_15122025_13_05_45_9683.jpg', '/home/pi/Desktop/images/15122025/13/05/image_15122025_13_05_55_9639.jpg', '/home/pi/Desktop/images/15122025/13/05/image_15122025_13_06_05_10624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/05/image_15122025_13_05_15_9546.jpg
/home/pi/Desktop/images/15122025/13/05/image_15122025_13_05_24_9654.jpg
/home/pi/Desktop/images/15122025/13/05/image_15122025_13_05_35_10836.jpg
/home/pi/Desktop/images/15122025/13/05/image_15122025_13_05_45_9683.jpg
/home/pi/Desktop/images/15122025/13/05/image_15122025_13_05_55_9639.jpg
/home/pi/Desktop/images/15122025/13/05/image_15122025_13_06_05_10624.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5397796630859375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 13:36:12.557564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 13:36:22.614530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/05/image_15122025_13_05_15_9546.jpg', '/home/pi/Desktop/images/15122025/13/05/image_15122025_13_05_24_9654.jpg', '/home/pi/Desktop/images/15122025/13/05/image_15122025_13_05_35_10836.jpg', '/home/pi/Desktop/images/15122025/13/05/image_15122025_13_05_45_9683.jpg', '/home/pi/Desktop/images/15122025/13/05/image_15122025_13_05_55_9639.jpg', '/home/pi/Desktop/images/15122025/13/05/image_15122025_13_06_05_10624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/05/image_15122025_13_05_15_9546.jpg
/home/pi/Desktop/images/15122025/13/05/image_15122025_13_05_24_9654.jpg
/home/pi/Desktop/images/15122025/13/05/image_15122025_13_05_35_10836.jpg
/home/pi/Desktop/images/15122025/13/05/image_15122025_13_05_45_9683.jpg
/home/pi/Desktop/images/15122025/13/05/image_15122025_13_05_55_9639.jpg
/home/pi/Desktop/images/15122025/13/05/image_15122025_13_06_05_10624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399506852","1399506846","1399506861","1399506855","1399506849","1399506810"],"photo_ids_order":["1399506810","1399506846","1399506849","1399506852","1399506855","1399506861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1500a89eb18819e891351b533ebb3e9c.jpg","text":"TemporaryFile(/tmp/multipartBody4481228659698405154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802243288,"filename":"image_15122025_13_05_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/15/56f36f29fbbcc3dc701e7f87bd6907c1.jpg","text":"TemporaryFile(/tmp/multipartBody3088950319921852933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802243288,"filename":"image_15122025_13_05_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/15/a71ee5c43d6a113bc778373ae2b30411.jpg","text":"TemporaryFile(/tmp/multipartBody6278888296869525341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802243288,"filename":"image_15122025_13_06_05_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/372cf408180b972c005fda8f06fe0f7b.jpg","text":"TemporaryFile(/tmp/multipartBody990808235043577931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802243288,"filename":"image_15122025_13_05_55_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cf915ea049ae470ff3e14fd9ad3985c5.jpg","text":"TemporaryFile(/tmp/multipartBody7660763565253007920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802243288,"filename":"image_15122025_13_05_35_10836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2d1b00d9da3a5e8dae27ca1909a9e2e2.jpg","text":"TemporaryFile(/tmp/multipartBody8338368397358594909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802243288,"filename":"image_15122025_13_05_15_9546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399506849","file1":"1399506846","file0":"1399506810","file4":"1399506855","file5":"1399506861","file3":"1399506852"},"map_files_photo_id_array":[{"photo_id":"1399506861","filename":"file5"},{"photo_id":"1399506849","filename":"file2"},{"photo_id":"1399506855","filename":"file4"},{"photo_id":"1399506846","filename":"file1"},{"photo_id":"1399506810","filename":"file0"},{"photo_id":"1399506852","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399506852":["hashtag1","hashtag2"]},{"1399506846":["hashtag1","hashtag2"]},{"1399506861":["hashtag1","hashtag2"]},{"1399506855":["hashtag1","hashtag2"]},{"1399506849":["hashtag1","hashtag2"]},{"1399506810":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399506852, 1399506846, 1399506861, 1399506855, 1399506849, 1399506810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.147218227386475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 13:37:02.538551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/06/image_15122025_13_06_15_9717.jpg', '/home/pi/Desktop/images/15122025/13/06/image_15122025_13_06_25_9707.jpg', '/home/pi/Desktop/images/15122025/13/06/image_15122025_13_06_34_9677.jpg', '/home/pi/Desktop/images/15122025/13/06/image_15122025_13_06_45_10749.jpg', '/home/pi/Desktop/images/15122025/13/06/image_15122025_13_06_55_9731.jpg', '/home/pi/Desktop/images/15122025/13/06/image_15122025_13_07_04_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/06/image_15122025_13_06_15_9717.jpg
/home/pi/Desktop/images/15122025/13/06/image_15122025_13_06_25_9707.jpg
/home/pi/Desktop/images/15122025/13/06/image_15122025_13_06_34_9677.jpg
/home/pi/Desktop/images/15122025/13/06/image_15122025_13_06_45_10749.jpg
/home/pi/Desktop/images/15122025/13/06/image_15122025_13_06_55_9731.jpg
/home/pi/Desktop/images/15122025/13/06/image_15122025_13_07_04_9712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399506865","1399506870","1399506867","1399506869","1399506872","1399506868"],"photo_ids_order":["1399506865","1399506867","1399506868","1399506869","1399506870","1399506872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/04e7b30185744ea6d4bd8f1749a6abae.jpg","text":"TemporaryFile(/tmp/multipartBody1681112809710771742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802283233,"filename":"image_15122025_13_06_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/15/2af2c48d0c786fa8415fba339363af06.jpg","text":"TemporaryFile(/tmp/multipartBody3587694210632276475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802283233,"filename":"image_15122025_13_06_55_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7012ec99eb510d57e94864df85535257.jpg","text":"TemporaryFile(/tmp/multipartBody978319410530834737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802283233,"filename":"image_15122025_13_06_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/15/dddda69cfad2b8f619e3db2e37ca51b5.jpg","text":"TemporaryFile(/tmp/multipartBody6954464566906625110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802283233,"filename":"image_15122025_13_06_45_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1a09fcab10edbb4156a56eda6347e5a5.jpg","text":"TemporaryFile(/tmp/multipartBody1367919727458896422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802283233,"filename":"image_15122025_13_07_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/15/fe2a8ac55f2af4113286e4ff6ef2ebb0.jpg","text":"TemporaryFile(/tmp/multipartBody2966022556133815353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802283233,"filename":"image_15122025_13_06_34_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399506868","file1":"1399506867","file0":"1399506865","file4":"1399506870","file5":"1399506872","file3":"1399506869"},"map_files_photo_id_array":[{"photo_id":"1399506872","filename":"file5"},{"photo_id":"1399506868","filename":"file2"},{"photo_id":"1399506870","filename":"file4"},{"photo_id":"1399506867","filename":"file1"},{"photo_id":"1399506865","filename":"file0"},{"photo_id":"1399506869","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399506865":["hashtag1","hashtag2"]},{"1399506870":["hashtag1","hashtag2"]},{"1399506867":["hashtag1","hashtag2"]},{"1399506869":["hashtag1","hashtag2"]},{"1399506872":["hashtag1","hashtag2"]},{"1399506868":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399506865, 1399506870, 1399506867, 1399506869, 1399506872, 1399506868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03978705406189 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 13:37:41.868612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/02/image_05112025_15_02_53_1796.jpg', '/home/pi/Desktop/images/05112025/15/02/image_05112025_15_02_55_1698.jpg', '/home/pi/Desktop/images/05112025/15/02/image_05112025_15_02_57_1620.jpg', '/home/pi/Desktop/images/05112025/15/02/image_05112025_15_02_58_1588.jpg', '/home/pi/Desktop/images/05112025/15/02/image_05112025_15_03_00_1579.jpg', '/home/pi/Desktop/images/05112025/15/03/image_05112025_15_03_02_1632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/02/image_05112025_15_02_53_1796.jpg
/home/pi/Desktop/images/05112025/15/02/image_05112025_15_02_55_1698.jpg
/home/pi/Desktop/images/05112025/15/02/image_05112025_15_02_57_1620.jpg
/home/pi/Desktop/images/05112025/15/02/image_05112025_15_02_58_1588.jpg
/home/pi/Desktop/images/05112025/15/02/image_05112025_15_03_00_1579.jpg
/home/pi/Desktop/images/05112025/15/03/image_05112025_15_03_02_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":["1399506882","1399506885","1399506884","1399506880","1399506883","1399506877"],"photo_ids_order":["1399506877","1399506880","1399506882","1399506883","1399506884","1399506885"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c5cca92f8868f2f78ce1b244f191e04e.jpg","text":"TemporaryFile(/tmp/multipartBody4198942796518603234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802322586,"filename":"image_05112025_15_02_57_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/15/ea291a2a8f2751832b3b983b17b97242.jpg","text":"TemporaryFile(/tmp/multipartBody1608525781822742924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802322586,"filename":"image_05112025_15_03_02_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/15/e01225bf90eb0de6eb118e4e3beb46be.jpg","text":"TemporaryFile(/tmp/multipartBody2474332140216879357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802322586,"filename":"image_05112025_15_03_00_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/15/70bb41978c1e9b3b93e071ff4a5de30d.jpg","text":"TemporaryFile(/tmp/multipartBody193081628154231941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802322586,"filename":"image_05112025_15_02_55_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/15/fe470cb24ae11ed1852bca5e3aeaf6c2.jpg","text":"TemporaryFile(/tmp/multipartBody6511096001597803264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802322586,"filename":"image_05112025_15_02_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/15/4f115e35489f2f2eb7c8c8cab202349f.jpg","text":"TemporaryFile(/tmp/multipartBody5449808682033470651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802322586,"filename":"image_05112025_15_02_53_1796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399506882","file1":"1399506880","file0":"1399506877","file4":"1399506884","file5":"1399506885","file3":"1399506883"},"map_files_photo_id_array":[{"photo_id":"1399506885","filename":"file5"},{"photo_id":"1399506882","filename":"file2"},{"photo_id":"1399506884","filename":"file4"},{"photo_id":"1399506880","filename":"file1"},{"photo_id":"1399506877","filename":"file0"},{"photo_id":"1399506883","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399506882":["hashtag1","hashtag2"]},{"1399506885":["hashtag1","hashtag2"]},{"1399506884":["hashtag1","hashtag2"]},{"1399506880":["hashtag1","hashtag2"]},{"1399506883":["hashtag1","hashtag2"]},{"1399506877":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399506882, 1399506885, 1399506884, 1399506880, 1399506883, 1399506877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.475629806518555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 13:38:22.174841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/07/image_15122025_13_07_14_9985.jpg', '/home/pi/Desktop/images/15122025/13/07/image_15122025_13_07_24_9905.jpg', '/home/pi/Desktop/images/15122025/13/07/image_15122025_13_07_35_10777.jpg', '/home/pi/Desktop/images/15122025/13/07/image_15122025_13_07_45_9729.jpg', '/home/pi/Desktop/images/15122025/13/07/image_15122025_13_07_55_9737.jpg', '/home/pi/Desktop/images/15122025/13/07/image_15122025_13_08_04_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/07/image_15122025_13_07_14_9985.jpg
/home/pi/Desktop/images/15122025/13/07/image_15122025_13_07_24_9905.jpg
/home/pi/Desktop/images/15122025/13/07/image_15122025_13_07_35_10777.jpg
/home/pi/Desktop/images/15122025/13/07/image_15122025_13_07_45_9729.jpg
/home/pi/Desktop/images/15122025/13/07/image_15122025_13_07_55_9737.jpg
/home/pi/Desktop/images/15122025/13/07/image_15122025_13_08_04_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":["1399506891","1399506888","1399506903","1399506893","1399506895","1399506889"],"photo_ids_order":["1399506888","1399506889","1399506891","1399506893","1399506895","1399506903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/383864526f5a6ea4a756b40b82ee06af.jpg","text":"TemporaryFile(/tmp/multipartBody7821535443052343397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802362841,"filename":"image_15122025_13_07_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/15/f68d90dd607dd7789aeb89d873b901e0.jpg","text":"TemporaryFile(/tmp/multipartBody5383843006292019718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802362841,"filename":"image_15122025_13_07_14_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/15/95aa13646d606b4804faab9c1c7fb57d.jpg","text":"TemporaryFile(/tmp/multipartBody3004478376383829895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802362841,"filename":"image_15122025_13_08_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/15/81f2bed0fbcf843d8056b54ba3fdec98.jpg","text":"TemporaryFile(/tmp/multipartBody8589473485360678170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802362841,"filename":"image_15122025_13_07_45_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/15/b5e56df5481645f10cf26e88973d0f27.jpg","text":"TemporaryFile(/tmp/multipartBody8207119408907020248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802362841,"filename":"image_15122025_13_07_55_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0913945a549563914046992fb4d95dc9.jpg","text":"TemporaryFile(/tmp/multipartBody6957625248857137291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802362841,"filename":"image_15122025_13_07_24_9905.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399506891","file1":"1399506889","file0":"1399506888","file4":"1399506895","file5":"1399506903","file3":"1399506893"},"map_files_photo_id_array":[{"photo_id":"1399506903","filename":"file5"},{"photo_id":"1399506891","filename":"file2"},{"photo_id":"1399506895","filename":"file4"},{"photo_id":"1399506889","filename":"file1"},{"photo_id":"1399506888","filename":"file0"},{"photo_id":"1399506893","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399506891":["hashtag1","hashtag2"]},{"1399506888":["hashtag1","hashtag2"]},{"1399506903":["hashtag1","hashtag2"]},{"1399506893":["hashtag1","hashtag2"]},{"1399506895":["hashtag1","hashtag2"]},{"1399506889":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399506891, 1399506888, 1399506903, 1399506893, 1399506895, 1399506889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64325165748596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 13:39:03.193158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/08/image_15122025_13_08_15_10754.jpg', '/home/pi/Desktop/images/15122025/13/08/image_15122025_13_08_25_9722.jpg', '/home/pi/Desktop/images/15122025/13/08/image_15122025_13_08_35_9791.jpg', '/home/pi/Desktop/images/15122025/13/08/image_15122025_13_08_45_10692.jpg', '/home/pi/Desktop/images/15122025/13/08/image_15122025_13_08_55_9709.jpg', '/home/pi/Desktop/images/15122025/13/08/image_15122025_13_09_05_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/08/image_15122025_13_08_15_10754.jpg
/home/pi/Desktop/images/15122025/13/08/image_15122025_13_08_25_9722.jpg
/home/pi/Desktop/images/15122025/13/08/image_15122025_13_08_35_9791.jpg
/home/pi/Desktop/images/15122025/13/08/image_15122025_13_08_45_10692.jpg
/home/pi/Desktop/images/15122025/13/08/image_15122025_13_08_55_9709.jpg
/home/pi/Desktop/images/15122025/13/08/image_15122025_13_09_05_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":["1399506910","1399506912","1399506909","1399506911","1399506929","1399506908"],"photo_ids_order":["1399506908","1399506909","1399506910","1399506911","1399506912","1399506929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6a8ba0dfc10a641cdd294d7483e922b5.jpg","text":"TemporaryFile(/tmp/multipartBody5674238465035455198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802403994,"filename":"image_15122025_13_08_35_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7940d7a1a9547dacfb932cbc96f6f6f6.jpg","text":"TemporaryFile(/tmp/multipartBody794379933168905880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802403994,"filename":"image_15122025_13_08_55_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b3830292616a81e692a051b968513b0c.jpg","text":"TemporaryFile(/tmp/multipartBody5478898883209188054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802403994,"filename":"image_15122025_13_08_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/15/71d215d3558bb5191a0030dec4a45d46.jpg","text":"TemporaryFile(/tmp/multipartBody7843281350228929627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802403994,"filename":"image_15122025_13_08_45_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/acfefc46ed677b1006516215a10ce442.jpg","text":"TemporaryFile(/tmp/multipartBody2677836778490678926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802403994,"filename":"image_15122025_13_09_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/15/88f6f8bb2e77457cd4ce749384f200b1.jpg","text":"TemporaryFile(/tmp/multipartBody1208734596690628672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802403994,"filename":"image_15122025_13_08_15_10754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399506910","file1":"1399506909","file0":"1399506908","file4":"1399506912","file5":"1399506929","file3":"1399506911"},"map_files_photo_id_array":[{"photo_id":"1399506929","filename":"file5"},{"photo_id":"1399506910","filename":"file2"},{"photo_id":"1399506912","filename":"file4"},{"photo_id":"1399506909","filename":"file1"},{"photo_id":"1399506908","filename":"file0"},{"photo_id":"1399506911","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399506910":["hashtag1","hashtag2"]},{"1399506912":["hashtag1","hashtag2"]},{"1399506909":["hashtag1","hashtag2"]},{"1399506911":["hashtag1","hashtag2"]},{"1399506929":["hashtag1","hashtag2"]},{"1399506908":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399506910, 1399506912, 1399506909, 1399506911, 1399506929, 1399506908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.081198930740356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 13:39:42.425510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/03/image_05112025_15_03_03_1561.jpg', '/home/pi/Desktop/images/05112025/15/03/image_05112025_15_03_15_1635.jpg', '/home/pi/Desktop/images/05112025/15/03/image_05112025_15_03_16_1624.jpg', '/home/pi/Desktop/images/05112025/15/03/image_05112025_15_03_25_3529.jpg', '/home/pi/Desktop/images/05112025/15/03/image_05112025_15_03_28_2687.jpg', '/home/pi/Desktop/images/05112025/15/03/image_05112025_15_03_30_2583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/03/image_05112025_15_03_03_1561.jpg
/home/pi/Desktop/images/05112025/15/03/image_05112025_15_03_15_1635.jpg
/home/pi/Desktop/images/05112025/15/03/image_05112025_15_03_16_1624.jpg
/home/pi/Desktop/images/05112025/15/03/image_05112025_15_03_25_3529.jpg
/home/pi/Desktop/images/05112025/15/03/image_05112025_15_03_28_2687.jpg
/home/pi/Desktop/images/05112025/15/03/image_05112025_15_03_30_2583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399506958","1399506957","1399506951","1399506960","1399506954","1399506956"],"photo_ids_order":["1399506951","1399506954","1399506956","1399506957","1399506958","1399506960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4a3faa1b052ce3dc289111ffb81b33d3.jpg","text":"TemporaryFile(/tmp/multipartBody4338107185052510354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802443143,"filename":"image_05112025_15_03_28_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a3e2b8e01124335f1e6aa218c6f9b4f4.jpg","text":"TemporaryFile(/tmp/multipartBody7309606418748754044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802443143,"filename":"image_05112025_15_03_25_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/15/df28500807c5528982be60fcbcc2f00c.jpg","text":"TemporaryFile(/tmp/multipartBody4090744121938423417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802443143,"filename":"image_05112025_15_03_03_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/15/734a2af4793afd01581a963b06ac42bd.jpg","text":"TemporaryFile(/tmp/multipartBody6078881032072476581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802443143,"filename":"image_05112025_15_03_30_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c694625fe60453e98ea1d866e33d2d9d.jpg","text":"TemporaryFile(/tmp/multipartBody381310209599753419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802443143,"filename":"image_05112025_15_03_15_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/15/fb9a1a8f498daf675ff675f5f1e22a1d.jpg","text":"TemporaryFile(/tmp/multipartBody7840136710261391789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802443143,"filename":"image_05112025_15_03_16_1624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399506956","file1":"1399506954","file0":"1399506951","file4":"1399506958","file5":"1399506960","file3":"1399506957"},"map_files_photo_id_array":[{"photo_id":"1399506960","filename":"file5"},{"photo_id":"1399506956","filename":"file2"},{"photo_id":"1399506958","filename":"file4"},{"photo_id":"1399506954","filename":"file1"},{"photo_id":"1399506951","filename":"file0"},{"photo_id":"1399506957","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399506958":["hashtag1","hashtag2"]},{"1399506957":["hashtag1","hashtag2"]},{"1399506951":["hashtag1","hashtag2"]},{"1399506960":["hashtag1","hashtag2"]},{"1399506954":["hashtag1","hashtag2"]},{"1399506956":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399506958, 1399506957, 1399506951, 1399506960, 1399506954, 1399506956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77588605880737 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 13:40:22.706662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/09/image_15122025_13_09_14_9752.jpg', '/home/pi/Desktop/images/15122025/13/09/image_15122025_13_09_25_10627.jpg', '/home/pi/Desktop/images/15122025/13/09/image_15122025_13_09_35_9721.jpg', '/home/pi/Desktop/images/15122025/13/09/image_15122025_13_09_44_9654.jpg', '/home/pi/Desktop/images/15122025/13/09/image_15122025_13_09_55_10670.jpg', '/home/pi/Desktop/images/15122025/13/09/image_15122025_13_10_05_9937.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/09/image_15122025_13_09_14_9752.jpg
/home/pi/Desktop/images/15122025/13/09/image_15122025_13_09_25_10627.jpg
/home/pi/Desktop/images/15122025/13/09/image_15122025_13_09_35_9721.jpg
/home/pi/Desktop/images/15122025/13/09/image_15122025_13_09_44_9654.jpg
/home/pi/Desktop/images/15122025/13/09/image_15122025_13_09_55_10670.jpg
/home/pi/Desktop/images/15122025/13/09/image_15122025_13_10_05_9937.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399506963","1399506969","1399506965","1399506970","1399506973","1399506967"],"photo_ids_order":["1399506963","1399506965","1399506967","1399506969","1399506970","1399506973"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4297a6785d202fbadacd17cae3e9c6db.jpg","text":"TemporaryFile(/tmp/multipartBody3516590169253345979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802483347,"filename":"image_15122025_13_09_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/15/61bff61415180ba9584bf9770c44610c.jpg","text":"TemporaryFile(/tmp/multipartBody3454346261503183218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802483347,"filename":"image_15122025_13_09_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/15/766f589ed521dd6558c54c34898e33d0.jpg","text":"TemporaryFile(/tmp/multipartBody1174949411171828405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802483347,"filename":"image_15122025_13_09_25_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c01e1d5780e399a97013992b56e3d379.jpg","text":"TemporaryFile(/tmp/multipartBody7530890990138136829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802483347,"filename":"image_15122025_13_09_55_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d1d773dbf68cf35418e8f5039c48b402.jpg","text":"TemporaryFile(/tmp/multipartBody6697603318149233070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802483347,"filename":"image_15122025_13_10_05_9937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cea9985ead37b28e64090ba18a43cfda.jpg","text":"TemporaryFile(/tmp/multipartBody4289649214330086214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802483347,"filename":"image_15122025_13_09_35_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399506967","file1":"1399506965","file0":"1399506963","file4":"1399506970","file5":"1399506973","file3":"1399506969"},"map_files_photo_id_array":[{"photo_id":"1399506973","filename":"file5"},{"photo_id":"1399506967","filename":"file2"},{"photo_id":"1399506970","filename":"file4"},{"photo_id":"1399506965","filename":"file1"},{"photo_id":"1399506963","filename":"file0"},{"photo_id":"1399506969","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399506963":["hashtag1","hashtag2"]},{"1399506969":["hashtag1","hashtag2"]},{"1399506965":["hashtag1","hashtag2"]},{"1399506970":["hashtag1","hashtag2"]},{"1399506973":["hashtag1","hashtag2"]},{"1399506967":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399506963, 1399506969, 1399506965, 1399506970, 1399506973, 1399506967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83503580093384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 13:41:02.468098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/10/image_15122025_13_10_15_9646.jpg', '/home/pi/Desktop/images/15122025/13/10/image_15122025_13_10_24_9712.jpg', '/home/pi/Desktop/images/15122025/13/10/image_15122025_13_10_34_9898.jpg', '/home/pi/Desktop/images/15122025/13/10/image_15122025_13_10_45_10737.jpg', '/home/pi/Desktop/images/15122025/13/10/image_15122025_13_10_55_9800.jpg', '/home/pi/Desktop/images/15122025/13/10/image_15122025_13_11_05_9882.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/10/image_15122025_13_10_15_9646.jpg
/home/pi/Desktop/images/15122025/13/10/image_15122025_13_10_24_9712.jpg
/home/pi/Desktop/images/15122025/13/10/image_15122025_13_10_34_9898.jpg
/home/pi/Desktop/images/15122025/13/10/image_15122025_13_10_45_10737.jpg
/home/pi/Desktop/images/15122025/13/10/image_15122025_13_10_55_9800.jpg
/home/pi/Desktop/images/15122025/13/10/image_15122025_13_11_05_9882.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399506981","1399506975","1399506978","1399506977","1399506979","1399506976"],"photo_ids_order":["1399506975","1399506976","1399506977","1399506978","1399506979","1399506981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/77adf3d1b9193dda26fb213f5a2aa187.jpg","text":"TemporaryFile(/tmp/multipartBody7893147528084947050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802523160,"filename":"image_15122025_13_11_05_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d17756325064006839a6645d74f77f9e.jpg","text":"TemporaryFile(/tmp/multipartBody4285898118109316234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802523160,"filename":"image_15122025_13_10_15_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2e9a036c7aa42f28456dd2b6ee1fff4d.jpg","text":"TemporaryFile(/tmp/multipartBody7779931165723520133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802523160,"filename":"image_15122025_13_10_45_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f35b06fde9e5051dbcb32bd0e2d6f4e5.jpg","text":"TemporaryFile(/tmp/multipartBody2655376843801469652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802523160,"filename":"image_15122025_13_10_34_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/15/09cb27de4e49e42813c7a01301e5b6af.jpg","text":"TemporaryFile(/tmp/multipartBody5173910620680002543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802523160,"filename":"image_15122025_13_10_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/15/201a10467fda410ee906a69a57aa3936.jpg","text":"TemporaryFile(/tmp/multipartBody1033556416922634263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802523160,"filename":"image_15122025_13_10_24_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399506977","file1":"1399506976","file0":"1399506975","file4":"1399506979","file5":"1399506981","file3":"1399506978"},"map_files_photo_id_array":[{"photo_id":"1399506981","filename":"file5"},{"photo_id":"1399506977","filename":"file2"},{"photo_id":"1399506979","filename":"file4"},{"photo_id":"1399506976","filename":"file1"},{"photo_id":"1399506975","filename":"file0"},{"photo_id":"1399506978","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399506981":["hashtag1","hashtag2"]},{"1399506975":["hashtag1","hashtag2"]},{"1399506978":["hashtag1","hashtag2"]},{"1399506977":["hashtag1","hashtag2"]},{"1399506979":["hashtag1","hashtag2"]},{"1399506976":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399506981, 1399506975, 1399506978, 1399506977, 1399506979, 1399506976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01359748840332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 13:41:41.773262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/03/image_05112025_15_03_34_3745.jpg', '/home/pi/Desktop/images/05112025/15/03/image_05112025_15_03_40_2619.jpg', '/home/pi/Desktop/images/05112025/15/03/image_05112025_15_03_43_3662.jpg', '/home/pi/Desktop/images/05112025/15/03/image_05112025_15_03_46_2618.jpg', '/home/pi/Desktop/images/05112025/15/03/image_05112025_15_03_52_3699.jpg', '/home/pi/Desktop/images/05112025/15/03/image_05112025_15_03_57_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/03/image_05112025_15_03_34_3745.jpg
/home/pi/Desktop/images/05112025/15/03/image_05112025_15_03_40_2619.jpg
/home/pi/Desktop/images/05112025/15/03/image_05112025_15_03_43_3662.jpg
/home/pi/Desktop/images/05112025/15/03/image_05112025_15_03_46_2618.jpg
/home/pi/Desktop/images/05112025/15/03/image_05112025_15_03_52_3699.jpg
/home/pi/Desktop/images/05112025/15/03/image_05112025_15_03_57_2625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399507000","1399506996","1399506999","1399506986","1399506998","1399507001"],"photo_ids_order":["1399506986","1399506996","1399506998","1399506999","1399507000","1399507001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1e07f33f5fc0737011c481cbdaabfbf5.jpg","text":"TemporaryFile(/tmp/multipartBody4810141756977961389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802562521,"filename":"image_05112025_15_03_52_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/15/7d3fe09f66a97e9b169f14215d43e7f2.jpg","text":"TemporaryFile(/tmp/multipartBody7465275720606058410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802562521,"filename":"image_05112025_15_03_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/15/345cb8d66f79d10dd8c3b4139f5bcc0a.jpg","text":"TemporaryFile(/tmp/multipartBody2024109318869454058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802562521,"filename":"image_05112025_15_03_46_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/15/628588b75e6f13910094129476b2a44b.jpg","text":"TemporaryFile(/tmp/multipartBody3977066406970197656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802562521,"filename":"image_05112025_15_03_34_3745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/549fbf1bf7940ebae5466883789fe2ae.jpg","text":"TemporaryFile(/tmp/multipartBody7963247413063546370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802562521,"filename":"image_05112025_15_03_43_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7453b55da7dabee2386778157a32cbe2.jpg","text":"TemporaryFile(/tmp/multipartBody7540060244172598022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802562521,"filename":"image_05112025_15_03_57_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399506998","file1":"1399506996","file0":"1399506986","file4":"1399507000","file5":"1399507001","file3":"1399506999"},"map_files_photo_id_array":[{"photo_id":"1399507001","filename":"file5"},{"photo_id":"1399506998","filename":"file2"},{"photo_id":"1399507000","filename":"file4"},{"photo_id":"1399506996","filename":"file1"},{"photo_id":"1399506986","filename":"file0"},{"photo_id":"1399506999","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399507000":["hashtag1","hashtag2"]},{"1399506996":["hashtag1","hashtag2"]},{"1399506999":["hashtag1","hashtag2"]},{"1399506986":["hashtag1","hashtag2"]},{"1399506998":["hashtag1","hashtag2"]},{"1399507001":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399507000, 1399506996, 1399506999, 1399506986, 1399506998, 1399507001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53294014930725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 13:42:22.080427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/11/image_15122025_13_11_14_9701.jpg', '/home/pi/Desktop/images/15122025/13/11/image_15122025_13_11_24_9841.jpg', '/home/pi/Desktop/images/15122025/13/11/image_15122025_13_11_35_10723.jpg', '/home/pi/Desktop/images/15122025/13/11/image_15122025_13_11_45_9721.jpg', '/home/pi/Desktop/images/15122025/13/11/image_15122025_13_11_54_9687.jpg', '/home/pi/Desktop/images/15122025/13/11/image_15122025_13_12_05_10813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/11/image_15122025_13_11_14_9701.jpg
/home/pi/Desktop/images/15122025/13/11/image_15122025_13_11_24_9841.jpg
/home/pi/Desktop/images/15122025/13/11/image_15122025_13_11_35_10723.jpg
/home/pi/Desktop/images/15122025/13/11/image_15122025_13_11_45_9721.jpg
/home/pi/Desktop/images/15122025/13/11/image_15122025_13_11_54_9687.jpg
/home/pi/Desktop/images/15122025/13/11/image_15122025_13_12_05_10813.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5209200382232666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 13:42:31.965013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 13:42:41.958256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/03/image_05112025_15_04_01_3675.jpg', '/home/pi/Desktop/images/05112025/15/04/image_05112025_15_04_04_2668.jpg', '/home/pi/Desktop/images/05112025/15/04/image_05112025_15_04_10_3597.jpg', '/home/pi/Desktop/images/05112025/15/04/image_05112025_15_04_13_2801.jpg', '/home/pi/Desktop/images/05112025/15/04/image_05112025_15_04_15_2622.jpg', '/home/pi/Desktop/images/05112025/15/04/image_05112025_15_04_22_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/03/image_05112025_15_04_01_3675.jpg
/home/pi/Desktop/images/05112025/15/04/image_05112025_15_04_04_2668.jpg
/home/pi/Desktop/images/05112025/15/04/image_05112025_15_04_10_3597.jpg
/home/pi/Desktop/images/05112025/15/04/image_05112025_15_04_13_2801.jpg
/home/pi/Desktop/images/05112025/15/04/image_05112025_15_04_15_2622.jpg
/home/pi/Desktop/images/05112025/15/04/image_05112025_15_04_22_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":["1399507056","1399507041","1399507031","1399507054","1399507042","1399507036"],"photo_ids_order":["1399507031","1399507036","1399507041","1399507042","1399507054","1399507056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/029344cfd6e39a1955f5f64d8db99eda.jpg","text":"TemporaryFile(/tmp/multipartBody265586220674903776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802622690,"filename":"image_05112025_15_04_22_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/15/215c8579bf52167527678829286bc80a.jpg","text":"TemporaryFile(/tmp/multipartBody165733187672086045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802622690,"filename":"image_05112025_15_04_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/15/8a085734098656f8bb4bdfda53a78a4d.jpg","text":"TemporaryFile(/tmp/multipartBody7485727435606547193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802622690,"filename":"image_05112025_15_04_01_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/15/ecd5b19a530617cbbd6d72f7747ef2fa.jpg","text":"TemporaryFile(/tmp/multipartBody1178046151330630197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802622690,"filename":"image_05112025_15_04_15_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/519fd7d14ceed47d137222d13b08ef22.jpg","text":"TemporaryFile(/tmp/multipartBody4665740280953455968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802622690,"filename":"image_05112025_15_04_13_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/15/2e219feb89bcd5f662102ca919531676.jpg","text":"TemporaryFile(/tmp/multipartBody2829466454550095364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802622690,"filename":"image_05112025_15_04_04_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399507041","file1":"1399507036","file0":"1399507031","file4":"1399507054","file5":"1399507056","file3":"1399507042"},"map_files_photo_id_array":[{"photo_id":"1399507056","filename":"file5"},{"photo_id":"1399507041","filename":"file2"},{"photo_id":"1399507054","filename":"file4"},{"photo_id":"1399507036","filename":"file1"},{"photo_id":"1399507031","filename":"file0"},{"photo_id":"1399507042","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399507056":["hashtag1","hashtag2"]},{"1399507041":["hashtag1","hashtag2"]},{"1399507031":["hashtag1","hashtag2"]},{"1399507054":["hashtag1","hashtag2"]},{"1399507042":["hashtag1","hashtag2"]},{"1399507036":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399507056, 1399507041, 1399507031, 1399507054, 1399507042, 1399507036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6034619808197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 13:43:22.285669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/11/image_15122025_13_11_14_9701.jpg', '/home/pi/Desktop/images/15122025/13/11/image_15122025_13_11_24_9841.jpg', '/home/pi/Desktop/images/15122025/13/11/image_15122025_13_11_35_10723.jpg', '/home/pi/Desktop/images/15122025/13/11/image_15122025_13_11_45_9721.jpg', '/home/pi/Desktop/images/15122025/13/11/image_15122025_13_11_54_9687.jpg', '/home/pi/Desktop/images/15122025/13/11/image_15122025_13_12_05_10813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/11/image_15122025_13_11_14_9701.jpg
/home/pi/Desktop/images/15122025/13/11/image_15122025_13_11_24_9841.jpg
/home/pi/Desktop/images/15122025/13/11/image_15122025_13_11_35_10723.jpg
/home/pi/Desktop/images/15122025/13/11/image_15122025_13_11_45_9721.jpg
/home/pi/Desktop/images/15122025/13/11/image_15122025_13_11_54_9687.jpg
/home/pi/Desktop/images/15122025/13/11/image_15122025_13_12_05_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":["1399507062","1399507073","1399507070","1399507064","1399507066","1399507069"],"photo_ids_order":["1399507062","1399507064","1399507066","1399507069","1399507070","1399507073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/850428d379899078146a270d99333a0a.jpg","text":"TemporaryFile(/tmp/multipartBody6313765138504059570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802662956,"filename":"image_15122025_13_11_14_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/12944c268486bd9aed475740e4db086a.jpg","text":"TemporaryFile(/tmp/multipartBody9162742332643173675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802662956,"filename":"image_15122025_13_12_05_10813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/091dd478c30cb99896fc250429dac03a.jpg","text":"TemporaryFile(/tmp/multipartBody5055479044356601517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802662956,"filename":"image_15122025_13_11_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/15/6be39a03a392b43fe55f8aae0fccd5e4.jpg","text":"TemporaryFile(/tmp/multipartBody6014279259966562093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802662956,"filename":"image_15122025_13_11_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/15/d1b403a37b29c2e045ec3e4c01842b78.jpg","text":"TemporaryFile(/tmp/multipartBody2062794714567667652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802662956,"filename":"image_15122025_13_11_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/15/26c490c0b84e25789963087dd1438971.jpg","text":"TemporaryFile(/tmp/multipartBody3108845826340890307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802662956,"filename":"image_15122025_13_11_45_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399507066","file1":"1399507064","file0":"1399507062","file4":"1399507070","file5":"1399507073","file3":"1399507069"},"map_files_photo_id_array":[{"photo_id":"1399507073","filename":"file5"},{"photo_id":"1399507066","filename":"file2"},{"photo_id":"1399507070","filename":"file4"},{"photo_id":"1399507064","filename":"file1"},{"photo_id":"1399507062","filename":"file0"},{"photo_id":"1399507069","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399507062":["hashtag1","hashtag2"]},{"1399507073":["hashtag1","hashtag2"]},{"1399507070":["hashtag1","hashtag2"]},{"1399507064":["hashtag1","hashtag2"]},{"1399507066":["hashtag1","hashtag2"]},{"1399507069":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399507062, 1399507073, 1399507070, 1399507064, 1399507066, 1399507069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.32235288619995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 13:44:03.075644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/12/image_15122025_13_12_15_9769.jpg', '/home/pi/Desktop/images/15122025/13/12/image_15122025_13_12_25_9650.jpg', '/home/pi/Desktop/images/15122025/13/12/image_15122025_13_12_35_10542.jpg', '/home/pi/Desktop/images/15122025/13/12/image_15122025_13_12_45_9603.jpg', '/home/pi/Desktop/images/15122025/13/12/image_15122025_13_12_55_9760.jpg', '/home/pi/Desktop/images/15122025/13/12/image_15122025_13_13_05_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/12/image_15122025_13_12_15_9769.jpg
/home/pi/Desktop/images/15122025/13/12/image_15122025_13_12_25_9650.jpg
/home/pi/Desktop/images/15122025/13/12/image_15122025_13_12_35_10542.jpg
/home/pi/Desktop/images/15122025/13/12/image_15122025_13_12_45_9603.jpg
/home/pi/Desktop/images/15122025/13/12/image_15122025_13_12_55_9760.jpg
/home/pi/Desktop/images/15122025/13/12/image_15122025_13_13_05_10665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399507080","1399507077","1399507082","1399507076","1399507079","1399507075"],"photo_ids_order":["1399507075","1399507076","1399507077","1399507079","1399507080","1399507082"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e147509b2c42d341a036b82e7c36be63.jpg","text":"TemporaryFile(/tmp/multipartBody191113367697237158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802703819,"filename":"image_15122025_13_12_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/15/f560fa3552e145513d10aaa16e17b75c.jpg","text":"TemporaryFile(/tmp/multipartBody3963194620127230597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802703819,"filename":"image_15122025_13_12_35_10542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/57b122f5ffb5d34f33e06b0af93fc07f.jpg","text":"TemporaryFile(/tmp/multipartBody1661582056045200365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802703819,"filename":"image_15122025_13_13_05_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ab9321787b632a833897295342e9b947.jpg","text":"TemporaryFile(/tmp/multipartBody7135628666874577547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802703819,"filename":"image_15122025_13_12_25_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8fa1c58dbed3b35f8a8d2f04ca9fbb5e.jpg","text":"TemporaryFile(/tmp/multipartBody476201938513722673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802703819,"filename":"image_15122025_13_12_45_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/15/dbb6c61cce297a99db2e1ff7554fc458.jpg","text":"TemporaryFile(/tmp/multipartBody5590752271944339188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802703819,"filename":"image_15122025_13_12_15_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399507077","file1":"1399507076","file0":"1399507075","file4":"1399507080","file5":"1399507082","file3":"1399507079"},"map_files_photo_id_array":[{"photo_id":"1399507082","filename":"file5"},{"photo_id":"1399507077","filename":"file2"},{"photo_id":"1399507080","filename":"file4"},{"photo_id":"1399507076","filename":"file1"},{"photo_id":"1399507075","filename":"file0"},{"photo_id":"1399507079","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399507080":["hashtag1","hashtag2"]},{"1399507077":["hashtag1","hashtag2"]},{"1399507082":["hashtag1","hashtag2"]},{"1399507076":["hashtag1","hashtag2"]},{"1399507079":["hashtag1","hashtag2"]},{"1399507075":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399507080, 1399507077, 1399507082, 1399507076, 1399507079, 1399507075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26488423347473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 13:44:42.511011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/04/image_05112025_15_04_25_2771.jpg', '/home/pi/Desktop/images/05112025/15/04/image_05112025_15_04_31_2682.jpg', '/home/pi/Desktop/images/05112025/15/04/image_05112025_15_04_34_2740.jpg', '/home/pi/Desktop/images/05112025/15/04/image_05112025_15_04_36_2774.jpg', '/home/pi/Desktop/images/05112025/15/04/image_05112025_15_04_40_3727.jpg', '/home/pi/Desktop/images/05112025/15/04/image_05112025_15_04_43_2832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/04/image_05112025_15_04_25_2771.jpg
/home/pi/Desktop/images/05112025/15/04/image_05112025_15_04_31_2682.jpg
/home/pi/Desktop/images/05112025/15/04/image_05112025_15_04_34_2740.jpg
/home/pi/Desktop/images/05112025/15/04/image_05112025_15_04_36_2774.jpg
/home/pi/Desktop/images/05112025/15/04/image_05112025_15_04_40_3727.jpg
/home/pi/Desktop/images/05112025/15/04/image_05112025_15_04_43_2832.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399507095","1399507094","1399507088","1399507097","1399507093","1399507092"],"photo_ids_order":["1399507088","1399507092","1399507093","1399507094","1399507095","1399507097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8dc6c581ef6f93792260571beec7b3ad.jpg","text":"TemporaryFile(/tmp/multipartBody4367338043731656412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802743249,"filename":"image_05112025_15_04_40_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/15/9336e00b1804c9d19b63ea3c357dbe01.jpg","text":"TemporaryFile(/tmp/multipartBody2995984205775554015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802743249,"filename":"image_05112025_15_04_36_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0d5614a04b6e2c9ced43a71dc6a46ea8.jpg","text":"TemporaryFile(/tmp/multipartBody4029840971735693077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802743249,"filename":"image_05112025_15_04_25_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/15/bd7a2633d1e2e1094a03f4755084b854.jpg","text":"TemporaryFile(/tmp/multipartBody3953911938501549161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802743249,"filename":"image_05112025_15_04_43_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2ae1cd5c943156f56bb47f1bc4d50b90.jpg","text":"TemporaryFile(/tmp/multipartBody587775042621327381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802743249,"filename":"image_05112025_15_04_34_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/15/862758b94518dc0cf3f8083a8e128dea.jpg","text":"TemporaryFile(/tmp/multipartBody5102719014595043351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802743249,"filename":"image_05112025_15_04_31_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399507093","file1":"1399507092","file0":"1399507088","file4":"1399507095","file5":"1399507097","file3":"1399507094"},"map_files_photo_id_array":[{"photo_id":"1399507097","filename":"file5"},{"photo_id":"1399507093","filename":"file2"},{"photo_id":"1399507095","filename":"file4"},{"photo_id":"1399507092","filename":"file1"},{"photo_id":"1399507088","filename":"file0"},{"photo_id":"1399507094","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399507095":["hashtag1","hashtag2"]},{"1399507094":["hashtag1","hashtag2"]},{"1399507088":["hashtag1","hashtag2"]},{"1399507097":["hashtag1","hashtag2"]},{"1399507093":["hashtag1","hashtag2"]},{"1399507092":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399507095, 1399507094, 1399507088, 1399507097, 1399507093, 1399507092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83125138282776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 13:45:22.852461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/13/image_15122025_13_13_15_9957.jpg', '/home/pi/Desktop/images/15122025/13/13/image_15122025_13_13_25_9625.jpg', '/home/pi/Desktop/images/15122025/13/13/image_15122025_13_13_34_9643.jpg', '/home/pi/Desktop/images/15122025/13/13/image_15122025_13_13_45_10731.jpg', '/home/pi/Desktop/images/15122025/13/13/image_15122025_13_13_55_9625.jpg', '/home/pi/Desktop/images/15122025/13/13/image_15122025_13_14_05_9981.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/13/image_15122025_13_13_15_9957.jpg
/home/pi/Desktop/images/15122025/13/13/image_15122025_13_13_25_9625.jpg
/home/pi/Desktop/images/15122025/13/13/image_15122025_13_13_34_9643.jpg
/home/pi/Desktop/images/15122025/13/13/image_15122025_13_13_45_10731.jpg
/home/pi/Desktop/images/15122025/13/13/image_15122025_13_13_55_9625.jpg
/home/pi/Desktop/images/15122025/13/13/image_15122025_13_14_05_9981.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399507104","1399507106","1399507109","1399507100","1399507099","1399507102"],"photo_ids_order":["1399507099","1399507100","1399507102","1399507104","1399507106","1399507109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fefd842d85e897aa080369d6da2d89a9.jpg","text":"TemporaryFile(/tmp/multipartBody8671668212871666854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802783527,"filename":"image_15122025_13_13_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/15/a6021d1724908d8a5013f404d06b60a3.jpg","text":"TemporaryFile(/tmp/multipartBody5775551999498240752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802783527,"filename":"image_15122025_13_13_55_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/37aebb0be9200e711fa4cc28a06d5bf8.jpg","text":"TemporaryFile(/tmp/multipartBody5778108178077714382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802783527,"filename":"image_15122025_13_14_05_9981.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dc5ab16470e3bbeaa37012d0e00673f9.jpg","text":"TemporaryFile(/tmp/multipartBody1868805817498975714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802783527,"filename":"image_15122025_13_13_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/15/9616cc4c57c43a0ed1386ee425940eb4.jpg","text":"TemporaryFile(/tmp/multipartBody1190827001373753633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802783527,"filename":"image_15122025_13_13_15_9957.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9f033fe695151c373ff7697e5b7bce8f.jpg","text":"TemporaryFile(/tmp/multipartBody6213006852525645232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802783527,"filename":"image_15122025_13_13_34_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399507102","file1":"1399507100","file0":"1399507099","file4":"1399507106","file5":"1399507109","file3":"1399507104"},"map_files_photo_id_array":[{"photo_id":"1399507109","filename":"file5"},{"photo_id":"1399507102","filename":"file2"},{"photo_id":"1399507106","filename":"file4"},{"photo_id":"1399507100","filename":"file1"},{"photo_id":"1399507099","filename":"file0"},{"photo_id":"1399507104","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399507104":["hashtag1","hashtag2"]},{"1399507106":["hashtag1","hashtag2"]},{"1399507109":["hashtag1","hashtag2"]},{"1399507100":["hashtag1","hashtag2"]},{"1399507099":["hashtag1","hashtag2"]},{"1399507102":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399507104, 1399507106, 1399507109, 1399507100, 1399507099, 1399507102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.642998695373535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 13:46:02.320116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/14/image_15122025_13_14_14_9566.jpg', '/home/pi/Desktop/images/15122025/13/14/image_15122025_13_14_25_10677.jpg', '/home/pi/Desktop/images/15122025/13/14/image_15122025_13_14_35_9561.jpg', '/home/pi/Desktop/images/15122025/13/14/image_15122025_13_14_44_9725.jpg', '/home/pi/Desktop/images/15122025/13/14/image_15122025_13_14_55_10685.jpg', '/home/pi/Desktop/images/15122025/13/14/image_15122025_13_15_05_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/14/image_15122025_13_14_14_9566.jpg
/home/pi/Desktop/images/15122025/13/14/image_15122025_13_14_25_10677.jpg
/home/pi/Desktop/images/15122025/13/14/image_15122025_13_14_35_9561.jpg
/home/pi/Desktop/images/15122025/13/14/image_15122025_13_14_44_9725.jpg
/home/pi/Desktop/images/15122025/13/14/image_15122025_13_14_55_10685.jpg
/home/pi/Desktop/images/15122025/13/14/image_15122025_13_15_05_9774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399507113","1399507116","1399507118","1399507112","1399507115","1399507114"],"photo_ids_order":["1399507112","1399507113","1399507114","1399507115","1399507116","1399507118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/090cbc19465c4f5cd2a694d8461e6e4b.jpg","text":"TemporaryFile(/tmp/multipartBody7329276399005632497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802822976,"filename":"image_15122025_13_14_25_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/15/2d4655700ce1bb120643c91d1d118388.jpg","text":"TemporaryFile(/tmp/multipartBody4614257483982040449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802822976,"filename":"image_15122025_13_14_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/15/c385fc63599ac6741bb1f5f043559b0f.jpg","text":"TemporaryFile(/tmp/multipartBody9200506984750692332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802822976,"filename":"image_15122025_13_15_05_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ed97bb173ea3e0acb409f47a24c9c140.jpg","text":"TemporaryFile(/tmp/multipartBody8284652151530423720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802822976,"filename":"image_15122025_13_14_14_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/15/d92105135002d83609ac3290410d183c.jpg","text":"TemporaryFile(/tmp/multipartBody3374905090518674958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802822976,"filename":"image_15122025_13_14_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/15/15738957179b8a03cef893407c131f1d.jpg","text":"TemporaryFile(/tmp/multipartBody1461616349958116403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802822976,"filename":"image_15122025_13_14_35_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399507114","file1":"1399507113","file0":"1399507112","file4":"1399507116","file5":"1399507118","file3":"1399507115"},"map_files_photo_id_array":[{"photo_id":"1399507118","filename":"file5"},{"photo_id":"1399507114","filename":"file2"},{"photo_id":"1399507116","filename":"file4"},{"photo_id":"1399507113","filename":"file1"},{"photo_id":"1399507112","filename":"file0"},{"photo_id":"1399507115","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399507113":["hashtag1","hashtag2"]},{"1399507116":["hashtag1","hashtag2"]},{"1399507118":["hashtag1","hashtag2"]},{"1399507112":["hashtag1","hashtag2"]},{"1399507115":["hashtag1","hashtag2"]},{"1399507114":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399507113, 1399507116, 1399507118, 1399507112, 1399507115, 1399507114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.915682554244995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 13:46:42.002884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/04/image_05112025_15_04_46_2695.jpg', '/home/pi/Desktop/images/05112025/15/04/image_05112025_15_04_49_3677.jpg', '/home/pi/Desktop/images/05112025/15/04/image_05112025_15_04_52_2584.jpg', '/home/pi/Desktop/images/05112025/15/04/image_05112025_15_04_54_2614.jpg', '/home/pi/Desktop/images/05112025/15/05/image_05112025_15_05_01_2651.jpg', '/home/pi/Desktop/images/05112025/15/05/image_05112025_15_05_03_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/04/image_05112025_15_04_46_2695.jpg
/home/pi/Desktop/images/05112025/15/04/image_05112025_15_04_49_3677.jpg
/home/pi/Desktop/images/05112025/15/04/image_05112025_15_04_52_2584.jpg
/home/pi/Desktop/images/05112025/15/04/image_05112025_15_04_54_2614.jpg
/home/pi/Desktop/images/05112025/15/05/image_05112025_15_05_01_2651.jpg
/home/pi/Desktop/images/05112025/15/05/image_05112025_15_05_03_2616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399507125","1399507128","1399507124","1399507127","1399507126","1399507123"],"photo_ids_order":["1399507123","1399507124","1399507125","1399507126","1399507127","1399507128"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/538e9cf581475e348d0122963a1d851f.jpg","text":"TemporaryFile(/tmp/multipartBody2974361092795613871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802862745,"filename":"image_05112025_15_04_52_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2399d587468d565a7c925474cdd26035.jpg","text":"TemporaryFile(/tmp/multipartBody7998858815185704684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802862745,"filename":"image_05112025_15_05_03_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/15/1284742d2e9e1f60d0496cd7cf25ee59.jpg","text":"TemporaryFile(/tmp/multipartBody7421854781134734740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802862745,"filename":"image_05112025_15_04_49_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/15/8fba11816b62952a0467a50e52f23e58.jpg","text":"TemporaryFile(/tmp/multipartBody3363760629510100263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802862745,"filename":"image_05112025_15_05_01_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/686a6bebaed3ff30de755d2926c5780f.jpg","text":"TemporaryFile(/tmp/multipartBody1239176579627599184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802862745,"filename":"image_05112025_15_04_54_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/15/1e3ff2e8f23fea913f6fd21b113f52e8.jpg","text":"TemporaryFile(/tmp/multipartBody1654458531114973842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802862745,"filename":"image_05112025_15_04_46_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399507125","file1":"1399507124","file0":"1399507123","file4":"1399507127","file5":"1399507128","file3":"1399507126"},"map_files_photo_id_array":[{"photo_id":"1399507128","filename":"file5"},{"photo_id":"1399507125","filename":"file2"},{"photo_id":"1399507127","filename":"file4"},{"photo_id":"1399507124","filename":"file1"},{"photo_id":"1399507123","filename":"file0"},{"photo_id":"1399507126","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399507125":["hashtag1","hashtag2"]},{"1399507128":["hashtag1","hashtag2"]},{"1399507124":["hashtag1","hashtag2"]},{"1399507127":["hashtag1","hashtag2"]},{"1399507126":["hashtag1","hashtag2"]},{"1399507123":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399507125, 1399507128, 1399507124, 1399507127, 1399507126, 1399507123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01995873451233 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 13:47:22.273130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/15/image_15122025_13_15_14_9659.jpg', '/home/pi/Desktop/images/15122025/13/15/image_15122025_13_15_25_10597.jpg', '/home/pi/Desktop/images/15122025/13/15/image_15122025_13_15_35_9637.jpg', '/home/pi/Desktop/images/15122025/13/15/image_15122025_13_15_44_9627.jpg', '/home/pi/Desktop/images/15122025/13/15/image_15122025_13_15_55_10673.jpg', '/home/pi/Desktop/images/15122025/13/15/image_15122025_13_16_05_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/15/image_15122025_13_15_14_9659.jpg
/home/pi/Desktop/images/15122025/13/15/image_15122025_13_15_25_10597.jpg
/home/pi/Desktop/images/15122025/13/15/image_15122025_13_15_35_9637.jpg
/home/pi/Desktop/images/15122025/13/15/image_15122025_13_15_44_9627.jpg
/home/pi/Desktop/images/15122025/13/15/image_15122025_13_15_55_10673.jpg
/home/pi/Desktop/images/15122025/13/15/image_15122025_13_16_05_9609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399507137","1399507134","1399507130","1399507147","1399507132","1399507135"],"photo_ids_order":["1399507130","1399507132","1399507134","1399507135","1399507137","1399507147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/68c7585db4b760535176e14c77f89273.jpg","text":"TemporaryFile(/tmp/multipartBody7790608821216260266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802902953,"filename":"image_15122025_13_15_55_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/49f26fa9c5288100cb39662bcd0d82be.jpg","text":"TemporaryFile(/tmp/multipartBody6968622457974882790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802902953,"filename":"image_15122025_13_15_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/15/8cb54cc92097385c677ef43e0691a00e.jpg","text":"TemporaryFile(/tmp/multipartBody6772194268566535001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802902953,"filename":"image_15122025_13_15_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/15/03c1a05ce5e8749c219b59cd6dbbff93.jpg","text":"TemporaryFile(/tmp/multipartBody1471134238487885250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802902953,"filename":"image_15122025_13_16_05_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f386cc468c4721530c4c859f680d9616.jpg","text":"TemporaryFile(/tmp/multipartBody4075037846627607050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802902953,"filename":"image_15122025_13_15_25_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/15/62e52a3cfe29f5b0f0e5294ab0d793bf.jpg","text":"TemporaryFile(/tmp/multipartBody7056681083205969764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802902953,"filename":"image_15122025_13_15_44_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399507134","file1":"1399507132","file0":"1399507130","file4":"1399507137","file5":"1399507147","file3":"1399507135"},"map_files_photo_id_array":[{"photo_id":"1399507147","filename":"file5"},{"photo_id":"1399507134","filename":"file2"},{"photo_id":"1399507137","filename":"file4"},{"photo_id":"1399507132","filename":"file1"},{"photo_id":"1399507130","filename":"file0"},{"photo_id":"1399507135","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399507137":["hashtag1","hashtag2"]},{"1399507134":["hashtag1","hashtag2"]},{"1399507130":["hashtag1","hashtag2"]},{"1399507147":["hashtag1","hashtag2"]},{"1399507132":["hashtag1","hashtag2"]},{"1399507135":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399507137, 1399507134, 1399507130, 1399507147, 1399507132, 1399507135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67662453651428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 13:48:03.025189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/16/image_15122025_13_16_14_9693.jpg', '/home/pi/Desktop/images/15122025/13/16/image_15122025_13_16_25_10605.jpg', '/home/pi/Desktop/images/15122025/13/16/image_15122025_13_16_35_9625.jpg', '/home/pi/Desktop/images/15122025/13/16/image_15122025_13_16_45_10568.jpg', '/home/pi/Desktop/images/15122025/13/16/image_15122025_13_16_55_9659.jpg', '/home/pi/Desktop/images/15122025/13/16/image_15122025_13_17_04_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/16/image_15122025_13_16_14_9693.jpg
/home/pi/Desktop/images/15122025/13/16/image_15122025_13_16_25_10605.jpg
/home/pi/Desktop/images/15122025/13/16/image_15122025_13_16_35_9625.jpg
/home/pi/Desktop/images/15122025/13/16/image_15122025_13_16_45_10568.jpg
/home/pi/Desktop/images/15122025/13/16/image_15122025_13_16_55_9659.jpg
/home/pi/Desktop/images/15122025/13/16/image_15122025_13_17_04_9605.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5218737125396729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 13:48:12.460236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 13:48:22.527354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/16/image_15122025_13_16_14_9693.jpg', '/home/pi/Desktop/images/15122025/13/16/image_15122025_13_16_25_10605.jpg', '/home/pi/Desktop/images/15122025/13/16/image_15122025_13_16_35_9625.jpg', '/home/pi/Desktop/images/15122025/13/16/image_15122025_13_16_45_10568.jpg', '/home/pi/Desktop/images/15122025/13/16/image_15122025_13_16_55_9659.jpg', '/home/pi/Desktop/images/15122025/13/16/image_15122025_13_17_04_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/16/image_15122025_13_16_14_9693.jpg
/home/pi/Desktop/images/15122025/13/16/image_15122025_13_16_25_10605.jpg
/home/pi/Desktop/images/15122025/13/16/image_15122025_13_16_35_9625.jpg
/home/pi/Desktop/images/15122025/13/16/image_15122025_13_16_45_10568.jpg
/home/pi/Desktop/images/15122025/13/16/image_15122025_13_16_55_9659.jpg
/home/pi/Desktop/images/15122025/13/16/image_15122025_13_17_04_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":["1399507479","1399507473","1399507481","1399507484","1399507469","1399507448"],"photo_ids_order":["1399507448","1399507469","1399507473","1399507479","1399507481","1399507484"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/583f0bb2a3f5310163aeabb04d9ba504.jpg","text":"TemporaryFile(/tmp/multipartBody4739503808503103877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802963201,"filename":"image_15122025_13_16_45_10568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4db6fdfc8098b8a2035d689a5f6064ff.jpg","text":"TemporaryFile(/tmp/multipartBody6025261393849428251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802963201,"filename":"image_15122025_13_16_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/15/8398ca54a4ebc6a1b22bc1ef35ca2c66.jpg","text":"TemporaryFile(/tmp/multipartBody3999053172018120001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802963201,"filename":"image_15122025_13_16_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/15/e58884d3740e85ac2f2061ac3407ca1d.jpg","text":"TemporaryFile(/tmp/multipartBody5367712636533972541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802963201,"filename":"image_15122025_13_17_04_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/470b0e7e43f9691901d683c48436b0db.jpg","text":"TemporaryFile(/tmp/multipartBody6980969367542837968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802963201,"filename":"image_15122025_13_16_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/15/ba6324055288339f3526788bcc1caf51.jpg","text":"TemporaryFile(/tmp/multipartBody3273316310410591120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765802963201,"filename":"image_15122025_13_16_14_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399507473","file1":"1399507469","file0":"1399507448","file4":"1399507481","file5":"1399507484","file3":"1399507479"},"map_files_photo_id_array":[{"photo_id":"1399507484","filename":"file5"},{"photo_id":"1399507473","filename":"file2"},{"photo_id":"1399507481","filename":"file4"},{"photo_id":"1399507469","filename":"file1"},{"photo_id":"1399507448","filename":"file0"},{"photo_id":"1399507479","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399507479":["hashtag1","hashtag2"]},{"1399507473":["hashtag1","hashtag2"]},{"1399507481":["hashtag1","hashtag2"]},{"1399507484":["hashtag1","hashtag2"]},{"1399507469":["hashtag1","hashtag2"]},{"1399507448":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399507479, 1399507473, 1399507481, 1399507484, 1399507469, 1399507448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.417030572891235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 13:49:03.627574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/17/image_15122025_13_17_15_10830.jpg', '/home/pi/Desktop/images/15122025/13/17/image_15122025_13_17_25_9695.jpg', '/home/pi/Desktop/images/15122025/13/17/image_15122025_13_17_34_9607.jpg', '/home/pi/Desktop/images/15122025/13/17/image_15122025_13_17_45_10614.jpg', '/home/pi/Desktop/images/15122025/13/17/image_15122025_13_17_55_9729.jpg', '/home/pi/Desktop/images/15122025/13/17/image_15122025_13_18_05_9787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/17/image_15122025_13_17_15_10830.jpg
/home/pi/Desktop/images/15122025/13/17/image_15122025_13_17_25_9695.jpg
/home/pi/Desktop/images/15122025/13/17/image_15122025_13_17_34_9607.jpg
/home/pi/Desktop/images/15122025/13/17/image_15122025_13_17_45_10614.jpg
/home/pi/Desktop/images/15122025/13/17/image_15122025_13_17_55_9729.jpg
/home/pi/Desktop/images/15122025/13/17/image_15122025_13_18_05_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":["1399507485","1399507488","1399507487","1399507492","1399507495","1399507489"],"photo_ids_order":["1399507485","1399507487","1399507488","1399507489","1399507492","1399507495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e7653c4fe4d1300c5114e57a6e70b262.jpg","text":"TemporaryFile(/tmp/multipartBody4448558907180705866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803004480,"filename":"image_15122025_13_17_15_10830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/445a66bb980d9ed09833a85ff7679fcc.jpg","text":"TemporaryFile(/tmp/multipartBody3065385922713715674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803004480,"filename":"image_15122025_13_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/15/5515af4a426b0b5a175a797d34935623.jpg","text":"TemporaryFile(/tmp/multipartBody806500844214712800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803004480,"filename":"image_15122025_13_17_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/15/fec368c3daedbab7d1c661c65933ad65.jpg","text":"TemporaryFile(/tmp/multipartBody7480224812110530850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803004480,"filename":"image_15122025_13_17_55_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0a6370771c57a04c9803472405f0314a.jpg","text":"TemporaryFile(/tmp/multipartBody6576014369596334855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803004480,"filename":"image_15122025_13_18_05_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/15/aad2386ac132dd37139c8d48816e387a.jpg","text":"TemporaryFile(/tmp/multipartBody6999507221196420192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803004480,"filename":"image_15122025_13_17_45_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399507488","file1":"1399507487","file0":"1399507485","file4":"1399507492","file5":"1399507495","file3":"1399507489"},"map_files_photo_id_array":[{"photo_id":"1399507495","filename":"file5"},{"photo_id":"1399507488","filename":"file2"},{"photo_id":"1399507492","filename":"file4"},{"photo_id":"1399507487","filename":"file1"},{"photo_id":"1399507485","filename":"file0"},{"photo_id":"1399507489","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399507485":["hashtag1","hashtag2"]},{"1399507488":["hashtag1","hashtag2"]},{"1399507487":["hashtag1","hashtag2"]},{"1399507492":["hashtag1","hashtag2"]},{"1399507495":["hashtag1","hashtag2"]},{"1399507489":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399507485, 1399507488, 1399507487, 1399507492, 1399507495, 1399507489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14515805244446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 13:49:42.739173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/05/image_05112025_15_05_06_2912.jpg', '/home/pi/Desktop/images/05112025/15/05/image_05112025_15_05_10_3590.jpg', '/home/pi/Desktop/images/05112025/15/05/image_05112025_15_05_15_2646.jpg', '/home/pi/Desktop/images/05112025/15/05/image_05112025_15_05_19_3725.jpg', '/home/pi/Desktop/images/05112025/15/05/image_05112025_15_05_22_2573.jpg', '/home/pi/Desktop/images/05112025/15/05/image_05112025_15_05_24_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/05/image_05112025_15_05_06_2912.jpg
/home/pi/Desktop/images/05112025/15/05/image_05112025_15_05_10_3590.jpg
/home/pi/Desktop/images/05112025/15/05/image_05112025_15_05_15_2646.jpg
/home/pi/Desktop/images/05112025/15/05/image_05112025_15_05_19_3725.jpg
/home/pi/Desktop/images/05112025/15/05/image_05112025_15_05_22_2573.jpg
/home/pi/Desktop/images/05112025/15/05/image_05112025_15_05_24_2659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399507501","1399507512","1399507520","1399507523","1399507522","1399507525"],"photo_ids_order":["1399507501","1399507512","1399507520","1399507522","1399507523","1399507525"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fe1fae43b2eb602babbf18f4230b4bae.jpg","text":"TemporaryFile(/tmp/multipartBody7336109015433312905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803043463,"filename":"image_05112025_15_05_06_2912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2124e55a9692080a65a4c470ade313f2.jpg","text":"TemporaryFile(/tmp/multipartBody5197956327808341238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803043463,"filename":"image_05112025_15_05_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/15/a2f69b3cc005c6a6a42a83e82d4f69b2.jpg","text":"TemporaryFile(/tmp/multipartBody6311659564540122703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803043463,"filename":"image_05112025_15_05_15_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/15/449d680ce0c7fa802f47142f32a1be3a.jpg","text":"TemporaryFile(/tmp/multipartBody3117393257846460266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803043463,"filename":"image_05112025_15_05_22_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/15/0bc3d5a30c0e8e429929f2e179d32da4.jpg","text":"TemporaryFile(/tmp/multipartBody2223427052459348568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803043463,"filename":"image_05112025_15_05_19_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/15/bbc1272ee54ebd7c0ca0c088679745a1.jpg","text":"TemporaryFile(/tmp/multipartBody3974398899696477616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803043463,"filename":"image_05112025_15_05_24_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399507520","file1":"1399507512","file0":"1399507501","file4":"1399507523","file5":"1399507525","file3":"1399507522"},"map_files_photo_id_array":[{"photo_id":"1399507525","filename":"file5"},{"photo_id":"1399507520","filename":"file2"},{"photo_id":"1399507523","filename":"file4"},{"photo_id":"1399507512","filename":"file1"},{"photo_id":"1399507501","filename":"file0"},{"photo_id":"1399507522","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399507501":["hashtag1","hashtag2"]},{"1399507512":["hashtag1","hashtag2"]},{"1399507520":["hashtag1","hashtag2"]},{"1399507523":["hashtag1","hashtag2"]},{"1399507522":["hashtag1","hashtag2"]},{"1399507525":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399507501, 1399507512, 1399507520, 1399507523, 1399507522, 1399507525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31465172767639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 13:50:22.006907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/18/image_15122025_13_18_14_9758.jpg', '/home/pi/Desktop/images/15122025/13/18/image_15122025_13_18_25_10722.jpg', '/home/pi/Desktop/images/15122025/13/18/image_15122025_13_18_35_9722.jpg', '/home/pi/Desktop/images/15122025/13/18/image_15122025_13_18_45_9776.jpg', '/home/pi/Desktop/images/15122025/13/18/image_15122025_13_18_54_9754.jpg', '/home/pi/Desktop/images/15122025/13/18/image_15122025_13_19_05_10680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/18/image_15122025_13_18_14_9758.jpg
/home/pi/Desktop/images/15122025/13/18/image_15122025_13_18_25_10722.jpg
/home/pi/Desktop/images/15122025/13/18/image_15122025_13_18_35_9722.jpg
/home/pi/Desktop/images/15122025/13/18/image_15122025_13_18_45_9776.jpg
/home/pi/Desktop/images/15122025/13/18/image_15122025_13_18_54_9754.jpg
/home/pi/Desktop/images/15122025/13/18/image_15122025_13_19_05_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":["1399507533","1399507535","1399507529","1399507540","1399507537","1399507531"],"photo_ids_order":["1399507529","1399507531","1399507533","1399507535","1399507537","1399507540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ba1247a5790a425c11248ca8404a6c49.jpg","text":"TemporaryFile(/tmp/multipartBody1053456498676599174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803082676,"filename":"image_15122025_13_18_35_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2249942d9b6730e54df764f322621ae4.jpg","text":"TemporaryFile(/tmp/multipartBody7749502478436546888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803082676,"filename":"image_15122025_13_18_45_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/15/9ebb5ba30cfd9b18e8395546be634a01.jpg","text":"TemporaryFile(/tmp/multipartBody1358963426423093733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803082676,"filename":"image_15122025_13_18_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/15/0fb545c6c5bb740505bbaef50ce95006.jpg","text":"TemporaryFile(/tmp/multipartBody8552749961026280728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803082676,"filename":"image_15122025_13_19_05_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/99cd515df2166e99c8c1e1d6eef2857e.jpg","text":"TemporaryFile(/tmp/multipartBody4260697936964765357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803082676,"filename":"image_15122025_13_18_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/15/4ff0d8205ccdbebab98fd3a09007089c.jpg","text":"TemporaryFile(/tmp/multipartBody3016614804358621863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803082676,"filename":"image_15122025_13_18_25_10722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399507533","file1":"1399507531","file0":"1399507529","file4":"1399507537","file5":"1399507540","file3":"1399507535"},"map_files_photo_id_array":[{"photo_id":"1399507540","filename":"file5"},{"photo_id":"1399507533","filename":"file2"},{"photo_id":"1399507537","filename":"file4"},{"photo_id":"1399507531","filename":"file1"},{"photo_id":"1399507529","filename":"file0"},{"photo_id":"1399507535","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399507533":["hashtag1","hashtag2"]},{"1399507535":["hashtag1","hashtag2"]},{"1399507529":["hashtag1","hashtag2"]},{"1399507540":["hashtag1","hashtag2"]},{"1399507537":["hashtag1","hashtag2"]},{"1399507531":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399507533, 1399507535, 1399507529, 1399507540, 1399507537, 1399507531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68769431114197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 13:51:02.793525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/19/image_15122025_13_19_15_9663.jpg', '/home/pi/Desktop/images/15122025/13/19/image_15122025_13_19_24_9798.jpg', '/home/pi/Desktop/images/15122025/13/19/image_15122025_13_19_35_10768.jpg', '/home/pi/Desktop/images/15122025/13/19/image_15122025_13_19_45_9614.jpg', '/home/pi/Desktop/images/15122025/13/19/image_15122025_13_19_55_9860.jpg', '/home/pi/Desktop/images/15122025/13/19/image_15122025_13_20_04_9584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/19/image_15122025_13_19_15_9663.jpg
/home/pi/Desktop/images/15122025/13/19/image_15122025_13_19_24_9798.jpg
/home/pi/Desktop/images/15122025/13/19/image_15122025_13_19_35_10768.jpg
/home/pi/Desktop/images/15122025/13/19/image_15122025_13_19_45_9614.jpg
/home/pi/Desktop/images/15122025/13/19/image_15122025_13_19_55_9860.jpg
/home/pi/Desktop/images/15122025/13/19/image_15122025_13_20_04_9584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399507548","1399507542","1399507550","1399507553","1399507543","1399507546"],"photo_ids_order":["1399507542","1399507543","1399507546","1399507548","1399507550","1399507553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cba2819db4a82544c8b8b5c05312c7b7.jpg","text":"TemporaryFile(/tmp/multipartBody1816141866165296765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803123494,"filename":"image_15122025_13_19_45_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7c898c61ea1e317fdeff2fa5a3ed3832.jpg","text":"TemporaryFile(/tmp/multipartBody3364416833312089960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803123494,"filename":"image_15122025_13_19_15_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0665f40ca360c06e24a0ce890c8e8913.jpg","text":"TemporaryFile(/tmp/multipartBody7545991315887513028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803123494,"filename":"image_15122025_13_19_55_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/15/560684d20dafd3cdfa83b8184cfebe53.jpg","text":"TemporaryFile(/tmp/multipartBody5353006739777097225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803123494,"filename":"image_15122025_13_20_04_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f4b448c67947cee4968d548a35280c68.jpg","text":"TemporaryFile(/tmp/multipartBody8693570889700852815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803123494,"filename":"image_15122025_13_19_24_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bed04ff681e3a1d81428a029b609405a.jpg","text":"TemporaryFile(/tmp/multipartBody147191650810278507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803123494,"filename":"image_15122025_13_19_35_10768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399507546","file1":"1399507543","file0":"1399507542","file4":"1399507550","file5":"1399507553","file3":"1399507548"},"map_files_photo_id_array":[{"photo_id":"1399507553","filename":"file5"},{"photo_id":"1399507546","filename":"file2"},{"photo_id":"1399507550","filename":"file4"},{"photo_id":"1399507543","filename":"file1"},{"photo_id":"1399507542","filename":"file0"},{"photo_id":"1399507548","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399507548":["hashtag1","hashtag2"]},{"1399507542":["hashtag1","hashtag2"]},{"1399507550":["hashtag1","hashtag2"]},{"1399507553":["hashtag1","hashtag2"]},{"1399507543":["hashtag1","hashtag2"]},{"1399507546":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399507548, 1399507542, 1399507550, 1399507553, 1399507543, 1399507546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45329785346985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 13:51:42.198791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/05/image_05112025_15_05_28_3659.jpg', '/home/pi/Desktop/images/05112025/15/05/image_05112025_15_05_31_2596.jpg', '/home/pi/Desktop/images/05112025/15/05/image_05112025_15_05_34_3543.jpg', '/home/pi/Desktop/images/05112025/15/05/image_05112025_15_05_37_2782.jpg', '/home/pi/Desktop/images/05112025/15/05/image_05112025_15_05_40_2744.jpg', '/home/pi/Desktop/images/05112025/15/05/image_05112025_15_05_58_18539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/05/image_05112025_15_05_28_3659.jpg
/home/pi/Desktop/images/05112025/15/05/image_05112025_15_05_31_2596.jpg
/home/pi/Desktop/images/05112025/15/05/image_05112025_15_05_34_3543.jpg
/home/pi/Desktop/images/05112025/15/05/image_05112025_15_05_37_2782.jpg
/home/pi/Desktop/images/05112025/15/05/image_05112025_15_05_40_2744.jpg
/home/pi/Desktop/images/05112025/15/05/image_05112025_15_05_58_18539.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399507563","1399507566","1399507565","1399507559","1399507568","1399507564"],"photo_ids_order":["1399507559","1399507563","1399507564","1399507565","1399507566","1399507568"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0782ded3bfe8507c52c7698af29059e4.jpg","text":"TemporaryFile(/tmp/multipartBody4316379413726626645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803162934,"filename":"image_05112025_15_05_31_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/328b406498980b6e036991206b267ce9.jpg","text":"TemporaryFile(/tmp/multipartBody2891026461612286776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803162934,"filename":"image_05112025_15_05_40_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7d566166f7882d0a47bfb31c61e67f51.jpg","text":"TemporaryFile(/tmp/multipartBody3628972283405699816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803162934,"filename":"image_05112025_15_05_37_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/15/a763165c19a793e2aea606670ce3868e.jpg","text":"TemporaryFile(/tmp/multipartBody847527530540382574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803162934,"filename":"image_05112025_15_05_28_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/63655aadb14e015a416856bcc9489753.jpg","text":"TemporaryFile(/tmp/multipartBody2124114459674591269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803162934,"filename":"image_05112025_15_05_58_18539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/69659648a2b66ddf063efdfc538b29d9.jpg","text":"TemporaryFile(/tmp/multipartBody5912211480334076330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803162934,"filename":"image_05112025_15_05_34_3543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399507564","file1":"1399507563","file0":"1399507559","file4":"1399507566","file5":"1399507568","file3":"1399507565"},"map_files_photo_id_array":[{"photo_id":"1399507568","filename":"file5"},{"photo_id":"1399507564","filename":"file2"},{"photo_id":"1399507566","filename":"file4"},{"photo_id":"1399507563","filename":"file1"},{"photo_id":"1399507559","filename":"file0"},{"photo_id":"1399507565","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399507563":["hashtag1","hashtag2"]},{"1399507566":["hashtag1","hashtag2"]},{"1399507565":["hashtag1","hashtag2"]},{"1399507559":["hashtag1","hashtag2"]},{"1399507568":["hashtag1","hashtag2"]},{"1399507564":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399507563, 1399507566, 1399507565, 1399507559, 1399507568, 1399507564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79799199104309 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 13:52:22.444759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/20/image_15122025_13_20_15_10746.jpg', '/home/pi/Desktop/images/15122025/13/20/image_15122025_13_20_25_9624.jpg', '/home/pi/Desktop/images/15122025/13/20/image_15122025_13_20_34_9582.jpg', '/home/pi/Desktop/images/15122025/13/20/image_15122025_13_20_45_10784.jpg', '/home/pi/Desktop/images/15122025/13/20/image_15122025_13_20_55_9579.jpg', '/home/pi/Desktop/images/15122025/13/20/image_15122025_13_21_04_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/20/image_15122025_13_20_15_10746.jpg
/home/pi/Desktop/images/15122025/13/20/image_15122025_13_20_25_9624.jpg
/home/pi/Desktop/images/15122025/13/20/image_15122025_13_20_34_9582.jpg
/home/pi/Desktop/images/15122025/13/20/image_15122025_13_20_45_10784.jpg
/home/pi/Desktop/images/15122025/13/20/image_15122025_13_20_55_9579.jpg
/home/pi/Desktop/images/15122025/13/20/image_15122025_13_21_04_9659.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5536181926727295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 13:52:32.548706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 13:52:42.509558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_04_6257.jpg', '/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_06_1744.jpg', '/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_08_1850.jpg', '/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_19_11258.jpg', '/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_21_1695.jpg', '/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_22_1529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_04_6257.jpg
/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_06_1744.jpg
/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_08_1850.jpg
/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_19_11258.jpg
/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_21_1695.jpg
/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_22_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":["1399507590","1399507592","1399507589","1399507586","1399507591","1399507588"],"photo_ids_order":["1399507586","1399507588","1399507589","1399507590","1399507591","1399507592"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/72c00a51bf595f0d5929d3fe4f60053a.jpg","text":"TemporaryFile(/tmp/multipartBody4718875049334178878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803223244,"filename":"image_05112025_15_06_19_11258.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/db1bf52286437f106e23f5aa83df6ede.jpg","text":"TemporaryFile(/tmp/multipartBody5195074174059463924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803223244,"filename":"image_05112025_15_06_22_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/15/460751ae88deb8de37b9c9ebe3a9424e.jpg","text":"TemporaryFile(/tmp/multipartBody3676417498954997162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803223244,"filename":"image_05112025_15_06_08_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/15/98a0b580b58bdbdd332bf4bfe31d7a96.jpg","text":"TemporaryFile(/tmp/multipartBody7384495346354552056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803223244,"filename":"image_05112025_15_06_04_6257.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5b869aa877fc8cf0711e463622f63c5f.jpg","text":"TemporaryFile(/tmp/multipartBody8279333652763731515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803223244,"filename":"image_05112025_15_06_21_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/15/104cedf0695ad0f8514c2303f9ee10db.jpg","text":"TemporaryFile(/tmp/multipartBody7929074898541842975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803223244,"filename":"image_05112025_15_06_06_1744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399507589","file1":"1399507588","file0":"1399507586","file4":"1399507591","file5":"1399507592","file3":"1399507590"},"map_files_photo_id_array":[{"photo_id":"1399507592","filename":"file5"},{"photo_id":"1399507589","filename":"file2"},{"photo_id":"1399507591","filename":"file4"},{"photo_id":"1399507588","filename":"file1"},{"photo_id":"1399507586","filename":"file0"},{"photo_id":"1399507590","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399507590":["hashtag1","hashtag2"]},{"1399507592":["hashtag1","hashtag2"]},{"1399507589":["hashtag1","hashtag2"]},{"1399507586":["hashtag1","hashtag2"]},{"1399507591":["hashtag1","hashtag2"]},{"1399507588":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399507590, 1399507592, 1399507589, 1399507586, 1399507591, 1399507588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52476930618286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 13:53:22.741623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/20/image_15122025_13_20_15_10746.jpg', '/home/pi/Desktop/images/15122025/13/20/image_15122025_13_20_25_9624.jpg', '/home/pi/Desktop/images/15122025/13/20/image_15122025_13_20_34_9582.jpg', '/home/pi/Desktop/images/15122025/13/20/image_15122025_13_20_45_10784.jpg', '/home/pi/Desktop/images/15122025/13/20/image_15122025_13_20_55_9579.jpg', '/home/pi/Desktop/images/15122025/13/20/image_15122025_13_21_04_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/20/image_15122025_13_20_15_10746.jpg
/home/pi/Desktop/images/15122025/13/20/image_15122025_13_20_25_9624.jpg
/home/pi/Desktop/images/15122025/13/20/image_15122025_13_20_34_9582.jpg
/home/pi/Desktop/images/15122025/13/20/image_15122025_13_20_45_10784.jpg
/home/pi/Desktop/images/15122025/13/20/image_15122025_13_20_55_9579.jpg
/home/pi/Desktop/images/15122025/13/20/image_15122025_13_21_04_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399507600","1399507608","1399507611","1399507598","1399507604","1399507606"],"photo_ids_order":["1399507598","1399507600","1399507604","1399507606","1399507608","1399507611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9ed74b3034ab96ec4238e1f2875d0136.jpg","text":"TemporaryFile(/tmp/multipartBody5203860566460090664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803263368,"filename":"image_15122025_13_20_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/15/82e132106b53c0579e9bf94914a299f9.jpg","text":"TemporaryFile(/tmp/multipartBody6509092264608624753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803263368,"filename":"image_15122025_13_20_55_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/52c1c20ba94642168ce594719c29cc6d.jpg","text":"TemporaryFile(/tmp/multipartBody1562617655665409417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803263368,"filename":"image_15122025_13_21_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/15/062b969c73d4e9f3a76e33cd407826c0.jpg","text":"TemporaryFile(/tmp/multipartBody2390567707874814255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803263368,"filename":"image_15122025_13_20_15_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8175fa4ce9025e80751990312c4b35e8.jpg","text":"TemporaryFile(/tmp/multipartBody993265736510007831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803263368,"filename":"image_15122025_13_20_34_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b0eb1598ed9512a42196f679d85e3180.jpg","text":"TemporaryFile(/tmp/multipartBody2251896537329934064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803263368,"filename":"image_15122025_13_20_45_10784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399507604","file1":"1399507600","file0":"1399507598","file4":"1399507608","file5":"1399507611","file3":"1399507606"},"map_files_photo_id_array":[{"photo_id":"1399507611","filename":"file5"},{"photo_id":"1399507604","filename":"file2"},{"photo_id":"1399507608","filename":"file4"},{"photo_id":"1399507600","filename":"file1"},{"photo_id":"1399507598","filename":"file0"},{"photo_id":"1399507606","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399507600":["hashtag1","hashtag2"]},{"1399507608":["hashtag1","hashtag2"]},{"1399507611":["hashtag1","hashtag2"]},{"1399507598":["hashtag1","hashtag2"]},{"1399507604":["hashtag1","hashtag2"]},{"1399507606":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399507600, 1399507608, 1399507611, 1399507598, 1399507604, 1399507606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.69060754776001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 13:54:02.549774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/21/image_15122025_13_21_15_10676.jpg', '/home/pi/Desktop/images/15122025/13/21/image_15122025_13_21_25_9852.jpg', '/home/pi/Desktop/images/15122025/13/21/image_15122025_13_21_35_9686.jpg', '/home/pi/Desktop/images/15122025/13/21/image_15122025_13_21_44_9803.jpg', '/home/pi/Desktop/images/15122025/13/21/image_15122025_13_21_55_10750.jpg', '/home/pi/Desktop/images/15122025/13/21/image_15122025_13_22_05_9795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/21/image_15122025_13_21_15_10676.jpg
/home/pi/Desktop/images/15122025/13/21/image_15122025_13_21_25_9852.jpg
/home/pi/Desktop/images/15122025/13/21/image_15122025_13_21_35_9686.jpg
/home/pi/Desktop/images/15122025/13/21/image_15122025_13_21_44_9803.jpg
/home/pi/Desktop/images/15122025/13/21/image_15122025_13_21_55_10750.jpg
/home/pi/Desktop/images/15122025/13/21/image_15122025_13_22_05_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":["1399507615","1399507617","1399507619","1399507613","1399507621","1399507624"],"photo_ids_order":["1399507613","1399507615","1399507617","1399507619","1399507621","1399507624"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/733100a60c08f958d93ea596ba8db098.jpg","text":"TemporaryFile(/tmp/multipartBody1331689235240778617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803303238,"filename":"image_15122025_13_21_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/15/ea1be2719e73157071fbbc215b642c01.jpg","text":"TemporaryFile(/tmp/multipartBody4804940074401277347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803303238,"filename":"image_15122025_13_21_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/15/885526ecb8abebd9b7e01d8984e59e2c.jpg","text":"TemporaryFile(/tmp/multipartBody2112998871600932277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803303238,"filename":"image_15122025_13_21_44_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b112fd02e031f78b62587e46db78c32e.jpg","text":"TemporaryFile(/tmp/multipartBody8095034824851279735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803303238,"filename":"image_15122025_13_21_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/15/448b3f8b764589a35d32b0ba84c88796.jpg","text":"TemporaryFile(/tmp/multipartBody6437758465637369841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803303238,"filename":"image_15122025_13_21_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/15/f247c007bd55150b37e9bec994d321f5.jpg","text":"TemporaryFile(/tmp/multipartBody5025627794337408734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803303238,"filename":"image_15122025_13_22_05_9795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399507617","file1":"1399507615","file0":"1399507613","file4":"1399507621","file5":"1399507624","file3":"1399507619"},"map_files_photo_id_array":[{"photo_id":"1399507624","filename":"file5"},{"photo_id":"1399507617","filename":"file2"},{"photo_id":"1399507621","filename":"file4"},{"photo_id":"1399507615","filename":"file1"},{"photo_id":"1399507613","filename":"file0"},{"photo_id":"1399507619","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399507615":["hashtag1","hashtag2"]},{"1399507617":["hashtag1","hashtag2"]},{"1399507619":["hashtag1","hashtag2"]},{"1399507613":["hashtag1","hashtag2"]},{"1399507621":["hashtag1","hashtag2"]},{"1399507624":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399507615, 1399507617, 1399507619, 1399507613, 1399507621, 1399507624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17345380783081 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 13:54:41.913752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_24_1575.jpg', '/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_26_1712.jpg', '/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_32_1726.jpg', '/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_34_1522.jpg', '/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_36_1728.jpg', '/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_37_1662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_24_1575.jpg
/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_26_1712.jpg
/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_32_1726.jpg
/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_34_1522.jpg
/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_36_1728.jpg
/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_37_1662.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.604727029800415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 13:55:02.734463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/22/image_15122025_13_22_15_9690.jpg', '/home/pi/Desktop/images/15122025/13/22/image_15122025_13_22_24_9813.jpg', '/home/pi/Desktop/images/15122025/13/22/image_15122025_13_22_35_10711.jpg', '/home/pi/Desktop/images/15122025/13/22/image_15122025_13_22_45_9772.jpg', '/home/pi/Desktop/images/15122025/13/22/image_15122025_13_22_55_9653.jpg', '/home/pi/Desktop/images/15122025/13/22/image_15122025_13_23_04_9849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/22/image_15122025_13_22_15_9690.jpg
/home/pi/Desktop/images/15122025/13/22/image_15122025_13_22_24_9813.jpg
/home/pi/Desktop/images/15122025/13/22/image_15122025_13_22_35_10711.jpg
/home/pi/Desktop/images/15122025/13/22/image_15122025_13_22_45_9772.jpg
/home/pi/Desktop/images/15122025/13/22/image_15122025_13_22_55_9653.jpg
/home/pi/Desktop/images/15122025/13/22/image_15122025_13_23_04_9849.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399507647","1399507641","1399507643","1399507649","1399507645","1399507639"],"photo_ids_order":["1399507639","1399507641","1399507643","1399507645","1399507647","1399507649"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/87b50258fc72c645419c79a566e25c96.jpg","text":"TemporaryFile(/tmp/multipartBody6135870792512290048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803363434,"filename":"image_15122025_13_22_55_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7859f2555929d52148503da48c7e7215.jpg","text":"TemporaryFile(/tmp/multipartBody8608312791219854308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803363434,"filename":"image_15122025_13_22_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/15/9ad47e58df3c2bc1c3e69d00b84e66d7.jpg","text":"TemporaryFile(/tmp/multipartBody2122862496041344228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803363434,"filename":"image_15122025_13_22_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/15/5a36409040360dacbbfe19078c034641.jpg","text":"TemporaryFile(/tmp/multipartBody1263798247430904293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803363434,"filename":"image_15122025_13_23_04_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2b9adbdad44a90db2fe93c00d11b59c0.jpg","text":"TemporaryFile(/tmp/multipartBody3918101798107181750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803363434,"filename":"image_15122025_13_22_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/15/eeb8cd1f9a8f1964a0418c90cdd104af.jpg","text":"TemporaryFile(/tmp/multipartBody8229855246910515601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803363434,"filename":"image_15122025_13_22_15_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399507643","file1":"1399507641","file0":"1399507639","file4":"1399507647","file5":"1399507649","file3":"1399507645"},"map_files_photo_id_array":[{"photo_id":"1399507649","filename":"file5"},{"photo_id":"1399507643","filename":"file2"},{"photo_id":"1399507647","filename":"file4"},{"photo_id":"1399507641","filename":"file1"},{"photo_id":"1399507639","filename":"file0"},{"photo_id":"1399507645","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399507647":["hashtag1","hashtag2"]},{"1399507641":["hashtag1","hashtag2"]},{"1399507643":["hashtag1","hashtag2"]},{"1399507649":["hashtag1","hashtag2"]},{"1399507645":["hashtag1","hashtag2"]},{"1399507639":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399507647, 1399507641, 1399507643, 1399507649, 1399507645, 1399507639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.059725284576416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 13:55:42.063207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_24_1575.jpg', '/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_26_1712.jpg', '/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_32_1726.jpg', '/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_34_1522.jpg', '/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_36_1728.jpg', '/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_37_1662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_24_1575.jpg
/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_26_1712.jpg
/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_32_1726.jpg
/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_34_1522.jpg
/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_36_1728.jpg
/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_37_1662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399507661","1399507658","1399507666","1399507654","1399507663","1399507657"],"photo_ids_order":["1399507654","1399507657","1399507658","1399507661","1399507663","1399507666"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f17d7f8e6ba5b462bfd8971659eb31c5.jpg","text":"TemporaryFile(/tmp/multipartBody218400311596060673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803402659,"filename":"image_05112025_15_06_34_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/15/4d168579b216d23400fd10af27d2e2ae.jpg","text":"TemporaryFile(/tmp/multipartBody7225736830320981266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803402659,"filename":"image_05112025_15_06_32_1726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0c176f2cc369c335a77c79969e20f522.jpg","text":"TemporaryFile(/tmp/multipartBody5969131967439765396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803402659,"filename":"image_05112025_15_06_37_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/15/aa47c43858129f8b94f84e248c6f3736.jpg","text":"TemporaryFile(/tmp/multipartBody7216152262965896277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803402659,"filename":"image_05112025_15_06_24_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/15/13c39b8d28acc2cd292d754dea1b58d7.jpg","text":"TemporaryFile(/tmp/multipartBody323807031122760321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803402659,"filename":"image_05112025_15_06_36_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/15/2a0be5cfd2b1a1ec7b42f69c9ba72e20.jpg","text":"TemporaryFile(/tmp/multipartBody6281993402595758447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803402659,"filename":"image_05112025_15_06_26_1712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399507658","file1":"1399507657","file0":"1399507654","file4":"1399507663","file5":"1399507666","file3":"1399507661"},"map_files_photo_id_array":[{"photo_id":"1399507666","filename":"file5"},{"photo_id":"1399507658","filename":"file2"},{"photo_id":"1399507663","filename":"file4"},{"photo_id":"1399507657","filename":"file1"},{"photo_id":"1399507654","filename":"file0"},{"photo_id":"1399507661","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399507661":["hashtag1","hashtag2"]},{"1399507658":["hashtag1","hashtag2"]},{"1399507666":["hashtag1","hashtag2"]},{"1399507654":["hashtag1","hashtag2"]},{"1399507663":["hashtag1","hashtag2"]},{"1399507657":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399507661, 1399507658, 1399507666, 1399507654, 1399507663, 1399507657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.845356941223145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 13:56:22.345036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/23/image_15122025_13_23_15_10901.jpg', '/home/pi/Desktop/images/15122025/13/23/image_15122025_13_23_25_9680.jpg', '/home/pi/Desktop/images/15122025/13/23/image_15122025_13_23_35_9675.jpg', '/home/pi/Desktop/images/15122025/13/23/image_15122025_13_23_44_9662.jpg', '/home/pi/Desktop/images/15122025/13/23/image_15122025_13_23_55_10855.jpg', '/home/pi/Desktop/images/15122025/13/23/image_15122025_13_24_05_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/23/image_15122025_13_23_15_10901.jpg
/home/pi/Desktop/images/15122025/13/23/image_15122025_13_23_25_9680.jpg
/home/pi/Desktop/images/15122025/13/23/image_15122025_13_23_35_9675.jpg
/home/pi/Desktop/images/15122025/13/23/image_15122025_13_23_44_9662.jpg
/home/pi/Desktop/images/15122025/13/23/image_15122025_13_23_55_10855.jpg
/home/pi/Desktop/images/15122025/13/23/image_15122025_13_24_05_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":["1399507807","1399507797","1399507773","1399507800","1399507804","1399507794"],"photo_ids_order":["1399507773","1399507794","1399507797","1399507800","1399507804","1399507807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cc969ac9ddd32a250a0ad26349c54df2.jpg","text":"TemporaryFile(/tmp/multipartBody5818068474363705740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803442979,"filename":"image_15122025_13_24_05_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/15/1ed9128df749f6030d08adbef531849b.jpg","text":"TemporaryFile(/tmp/multipartBody5107390287437587888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803442979,"filename":"image_15122025_13_23_35_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/aa7f6b0c077f9f8d3e5d639168c78510.jpg","text":"TemporaryFile(/tmp/multipartBody2135351613563121787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803442979,"filename":"image_15122025_13_23_15_10901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1719b796e9db11dace3d98d2ef09aaa4.jpg","text":"TemporaryFile(/tmp/multipartBody8919763103934108836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803442979,"filename":"image_15122025_13_23_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/15/6c5f06678990463fd23c1de2a7344605.jpg","text":"TemporaryFile(/tmp/multipartBody1083994016876349901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803442979,"filename":"image_15122025_13_23_55_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/15/c5d34b2ef499ef2b75af434b7ecb8f93.jpg","text":"TemporaryFile(/tmp/multipartBody2697653604547765838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803442979,"filename":"image_15122025_13_23_25_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399507797","file1":"1399507794","file0":"1399507773","file4":"1399507804","file5":"1399507807","file3":"1399507800"},"map_files_photo_id_array":[{"photo_id":"1399507807","filename":"file5"},{"photo_id":"1399507797","filename":"file2"},{"photo_id":"1399507804","filename":"file4"},{"photo_id":"1399507794","filename":"file1"},{"photo_id":"1399507773","filename":"file0"},{"photo_id":"1399507800","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399507807":["hashtag1","hashtag2"]},{"1399507797":["hashtag1","hashtag2"]},{"1399507773":["hashtag1","hashtag2"]},{"1399507800":["hashtag1","hashtag2"]},{"1399507804":["hashtag1","hashtag2"]},{"1399507794":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399507807, 1399507797, 1399507773, 1399507800, 1399507804, 1399507794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47417759895325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 13:57:03.273476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/24/image_15122025_13_24_14_9683.jpg', '/home/pi/Desktop/images/15122025/13/24/image_15122025_13_24_25_10640.jpg', '/home/pi/Desktop/images/15122025/13/24/image_15122025_13_24_35_9739.jpg', '/home/pi/Desktop/images/15122025/13/24/image_15122025_13_24_45_9660.jpg', '/home/pi/Desktop/images/15122025/13/24/image_15122025_13_24_55_10579.jpg', '/home/pi/Desktop/images/15122025/13/24/image_15122025_13_25_05_9816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/24/image_15122025_13_24_14_9683.jpg
/home/pi/Desktop/images/15122025/13/24/image_15122025_13_24_25_10640.jpg
/home/pi/Desktop/images/15122025/13/24/image_15122025_13_24_35_9739.jpg
/home/pi/Desktop/images/15122025/13/24/image_15122025_13_24_45_9660.jpg
/home/pi/Desktop/images/15122025/13/24/image_15122025_13_24_55_10579.jpg
/home/pi/Desktop/images/15122025/13/24/image_15122025_13_25_05_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":["1399507865","1399507818","1399507904","1399507814","1399507828","1399507816"],"photo_ids_order":["1399507814","1399507816","1399507818","1399507828","1399507865","1399507904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ea5b176ad6fd90b31a1627589a81c25f.jpg","text":"TemporaryFile(/tmp/multipartBody1943337220669908345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803483996,"filename":"image_15122025_13_24_55_10579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/319c569eec83aaa419c18263faa8a84c.jpg","text":"TemporaryFile(/tmp/multipartBody5279598751211552875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803483996,"filename":"image_15122025_13_24_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/15/264a3ae78c7fcb075982a07e131f702d.jpg","text":"TemporaryFile(/tmp/multipartBody5899057804105444145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803483996,"filename":"image_15122025_13_25_05_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a319d911b1733cf3827dec6dc9daea81.jpg","text":"TemporaryFile(/tmp/multipartBody2824555325200715437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803483996,"filename":"image_15122025_13_24_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/15/1773a83b3df3f4975c25e886ebcca8ea.jpg","text":"TemporaryFile(/tmp/multipartBody7827698379450419463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803483996,"filename":"image_15122025_13_24_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/15/13565f9d0a1f7bf1fbfbac018950d55f.jpg","text":"TemporaryFile(/tmp/multipartBody7028205095033536543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803483996,"filename":"image_15122025_13_24_25_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399507818","file1":"1399507816","file0":"1399507814","file4":"1399507865","file5":"1399507904","file3":"1399507828"},"map_files_photo_id_array":[{"photo_id":"1399507904","filename":"file5"},{"photo_id":"1399507818","filename":"file2"},{"photo_id":"1399507865","filename":"file4"},{"photo_id":"1399507816","filename":"file1"},{"photo_id":"1399507814","filename":"file0"},{"photo_id":"1399507828","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399507865":["hashtag1","hashtag2"]},{"1399507818":["hashtag1","hashtag2"]},{"1399507904":["hashtag1","hashtag2"]},{"1399507814":["hashtag1","hashtag2"]},{"1399507828":["hashtag1","hashtag2"]},{"1399507816":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399507865, 1399507818, 1399507904, 1399507814, 1399507828, 1399507816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64325785636902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 13:57:42.693856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_39_1511.jpg', '/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_41_1661.jpg', '/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_42_1563.jpg', '/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_44_1809.jpg', '/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_46_1675.jpg', '/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_47_1642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_39_1511.jpg
/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_41_1661.jpg
/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_42_1563.jpg
/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_44_1809.jpg
/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_46_1675.jpg
/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_47_1642.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399508147","1399508075","1399508108","1399508039","1399508185","1399508179"],"photo_ids_order":["1399508039","1399508075","1399508108","1399508147","1399508179","1399508185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/093e3604d72ba90cacaff7b53e9e8bef.jpg","text":"TemporaryFile(/tmp/multipartBody8586222591496998758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803523428,"filename":"image_05112025_15_06_44_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/15/d31e4fa833a83fd420c7ec7e33b668d1.jpg","text":"TemporaryFile(/tmp/multipartBody3177512430699154173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803523428,"filename":"image_05112025_15_06_41_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/15/24d256c401e71cd5f2e7541eb3fb18b8.jpg","text":"TemporaryFile(/tmp/multipartBody243484022230086797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803523428,"filename":"image_05112025_15_06_42_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/15/8b4993e3a2f62ee0cb216acfdf82b12a.jpg","text":"TemporaryFile(/tmp/multipartBody6694000198703228267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803523428,"filename":"image_05112025_15_06_39_1511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ba2fb19aa0cd6147e8989656571d505c.jpg","text":"TemporaryFile(/tmp/multipartBody7618956939959490247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803523428,"filename":"image_05112025_15_06_47_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/15/2f6ffb3bbc51c5d65a2a451ec2687c70.jpg","text":"TemporaryFile(/tmp/multipartBody8480539746760753465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803523428,"filename":"image_05112025_15_06_46_1675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399508108","file1":"1399508075","file0":"1399508039","file4":"1399508179","file5":"1399508185","file3":"1399508147"},"map_files_photo_id_array":[{"photo_id":"1399508185","filename":"file5"},{"photo_id":"1399508108","filename":"file2"},{"photo_id":"1399508179","filename":"file4"},{"photo_id":"1399508075","filename":"file1"},{"photo_id":"1399508039","filename":"file0"},{"photo_id":"1399508147","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399508147":["hashtag1","hashtag2"]},{"1399508075":["hashtag1","hashtag2"]},{"1399508108":["hashtag1","hashtag2"]},{"1399508039":["hashtag1","hashtag2"]},{"1399508185":["hashtag1","hashtag2"]},{"1399508179":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399508147, 1399508075, 1399508108, 1399508039, 1399508185, 1399508179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75250220298767 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 13:59:02.943583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/25/image_15122025_13_25_15_9898.jpg', '/home/pi/Desktop/images/15122025/13/25/image_15122025_13_25_25_9764.jpg', '/home/pi/Desktop/images/15122025/13/25/image_15122025_13_25_34_9694.jpg', '/home/pi/Desktop/images/15122025/13/25/image_15122025_13_25_45_10601.jpg', '/home/pi/Desktop/images/15122025/13/25/image_15122025_13_25_55_9862.jpg', '/home/pi/Desktop/images/15122025/13/25/image_15122025_13_26_04_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/25/image_15122025_13_25_15_9898.jpg
/home/pi/Desktop/images/15122025/13/25/image_15122025_13_25_25_9764.jpg
/home/pi/Desktop/images/15122025/13/25/image_15122025_13_25_34_9694.jpg
/home/pi/Desktop/images/15122025/13/25/image_15122025_13_25_45_10601.jpg
/home/pi/Desktop/images/15122025/13/25/image_15122025_13_25_55_9862.jpg
/home/pi/Desktop/images/15122025/13/25/image_15122025_13_26_04_9682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399508340","1399508333","1399508347","1399508350","1399508344","1399508352"],"photo_ids_order":["1399508333","1399508340","1399508344","1399508347","1399508350","1399508352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b558b8c6f748a6fec6131d495700f7cc.jpg","text":"TemporaryFile(/tmp/multipartBody874498848014516908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803603870,"filename":"image_15122025_13_25_25_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a4d0087e946feb651093ad271d6b3fb0.jpg","text":"TemporaryFile(/tmp/multipartBody1613462541201424946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803603870,"filename":"image_15122025_13_25_15_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/15/f0b5e34f20e274a78172ec04da663260.jpg","text":"TemporaryFile(/tmp/multipartBody4130453713111620574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803603870,"filename":"image_15122025_13_25_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/15/a0bf47e64a5096d52f9e24fb3cfe3696.jpg","text":"TemporaryFile(/tmp/multipartBody3359200534265501223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803603870,"filename":"image_15122025_13_25_55_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/15/9b53ab00315fed76994e9cace82e580b.jpg","text":"TemporaryFile(/tmp/multipartBody4951426946832457382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803603870,"filename":"image_15122025_13_25_34_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a6ee93dc0c13130bd22ad65148c76d44.jpg","text":"TemporaryFile(/tmp/multipartBody4647103565273830548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803603870,"filename":"image_15122025_13_26_04_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399508344","file1":"1399508340","file0":"1399508333","file4":"1399508350","file5":"1399508352","file3":"1399508347"},"map_files_photo_id_array":[{"photo_id":"1399508352","filename":"file5"},{"photo_id":"1399508344","filename":"file2"},{"photo_id":"1399508350","filename":"file4"},{"photo_id":"1399508340","filename":"file1"},{"photo_id":"1399508333","filename":"file0"},{"photo_id":"1399508347","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399508340":["hashtag1","hashtag2"]},{"1399508333":["hashtag1","hashtag2"]},{"1399508347":["hashtag1","hashtag2"]},{"1399508350":["hashtag1","hashtag2"]},{"1399508344":["hashtag1","hashtag2"]},{"1399508352":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399508340, 1399508333, 1399508347, 1399508350, 1399508344, 1399508352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.89539885520935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 14:00:02.785764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/26/image_15122025_13_26_15_10742.jpg', '/home/pi/Desktop/images/15122025/13/26/image_15122025_13_26_25_9833.jpg', '/home/pi/Desktop/images/15122025/13/26/image_15122025_13_26_35_9850.jpg', '/home/pi/Desktop/images/15122025/13/26/image_15122025_13_26_45_9740.jpg', '/home/pi/Desktop/images/15122025/13/26/image_15122025_13_26_55_10647.jpg', '/home/pi/Desktop/images/15122025/13/26/image_15122025_13_27_05_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/26/image_15122025_13_26_15_10742.jpg
/home/pi/Desktop/images/15122025/13/26/image_15122025_13_26_25_9833.jpg
/home/pi/Desktop/images/15122025/13/26/image_15122025_13_26_35_9850.jpg
/home/pi/Desktop/images/15122025/13/26/image_15122025_13_26_45_9740.jpg
/home/pi/Desktop/images/15122025/13/26/image_15122025_13_26_55_10647.jpg
/home/pi/Desktop/images/15122025/13/26/image_15122025_13_27_05_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399508541","1399508465","1399508423","1399508618","1399508578","1399508503"],"photo_ids_order":["1399508423","1399508465","1399508503","1399508541","1399508578","1399508618"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dd34f5c57f0b122d6d01337231e2de33.jpg","text":"TemporaryFile(/tmp/multipartBody1116164595561559090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803663437,"filename":"image_15122025_13_26_45_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2281813efb09915023dff29327df1f8b.jpg","text":"TemporaryFile(/tmp/multipartBody6495594218935262253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803663437,"filename":"image_15122025_13_26_25_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/facbfab279c1e4c39e4b8c2095cf51d0.jpg","text":"TemporaryFile(/tmp/multipartBody6520418676046566146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803663437,"filename":"image_15122025_13_26_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/15/5ec919a91c7bcf2050f8f8aee9456792.jpg","text":"TemporaryFile(/tmp/multipartBody1323234037199689995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803663437,"filename":"image_15122025_13_27_05_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/217d1a05cff6fcc4cfa6b3bdf3296604.jpg","text":"TemporaryFile(/tmp/multipartBody7615945047830811946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803663437,"filename":"image_15122025_13_26_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/15/c8a71a3a18269e8d8d9ed9e8b51b0fad.jpg","text":"TemporaryFile(/tmp/multipartBody6580843992335356147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803663437,"filename":"image_15122025_13_26_35_9850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399508503","file1":"1399508465","file0":"1399508423","file4":"1399508578","file5":"1399508618","file3":"1399508541"},"map_files_photo_id_array":[{"photo_id":"1399508618","filename":"file5"},{"photo_id":"1399508503","filename":"file2"},{"photo_id":"1399508578","filename":"file4"},{"photo_id":"1399508465","filename":"file1"},{"photo_id":"1399508423","filename":"file0"},{"photo_id":"1399508541","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399508541":["hashtag1","hashtag2"]},{"1399508465":["hashtag1","hashtag2"]},{"1399508423":["hashtag1","hashtag2"]},{"1399508618":["hashtag1","hashtag2"]},{"1399508578":["hashtag1","hashtag2"]},{"1399508503":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399508541, 1399508465, 1399508423, 1399508618, 1399508578, 1399508503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62858605384827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 14:00:42.310056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_49_1689.jpg', '/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_54_2605.jpg', '/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_58_3759.jpg', '/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_01_2666.jpg', '/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_03_2518.jpg', '/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_07_3772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_49_1689.jpg
/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_54_2605.jpg
/home/pi/Desktop/images/05112025/15/06/image_05112025_15_06_58_3759.jpg
/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_01_2666.jpg
/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_03_2518.jpg
/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_07_3772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399508751","1399508786","1399508855","1399508917","1399508892","1399508820"],"photo_ids_order":["1399508751","1399508786","1399508820","1399508855","1399508892","1399508917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1257f12901cc134e22dfa820c8c4bf8f.jpg","text":"TemporaryFile(/tmp/multipartBody1254182477767114905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803703101,"filename":"image_05112025_15_06_49_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/15/a67f024f372b7a41965192ae95172850.jpg","text":"TemporaryFile(/tmp/multipartBody208251131112783158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803703101,"filename":"image_05112025_15_06_54_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/963ccb050a600e1532ee3839ed08e9f8.jpg","text":"TemporaryFile(/tmp/multipartBody4033730937689878121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803703101,"filename":"image_05112025_15_07_01_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/15/32e9b84fbbae27ea33d9db122c36e454.jpg","text":"TemporaryFile(/tmp/multipartBody4331414360114624104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803703101,"filename":"image_05112025_15_07_07_3772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/27422d7abfbc7f10c65773e2bbf3a8da.jpg","text":"TemporaryFile(/tmp/multipartBody8520194570043291419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803703101,"filename":"image_05112025_15_07_03_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/15/390c169513d3c1d0a362d1fb01d3fec6.jpg","text":"TemporaryFile(/tmp/multipartBody5093614498064288036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803703101,"filename":"image_05112025_15_06_58_3759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399508820","file1":"1399508786","file0":"1399508751","file4":"1399508892","file5":"1399508917","file3":"1399508855"},"map_files_photo_id_array":[{"photo_id":"1399508917","filename":"file5"},{"photo_id":"1399508820","filename":"file2"},{"photo_id":"1399508892","filename":"file4"},{"photo_id":"1399508786","filename":"file1"},{"photo_id":"1399508751","filename":"file0"},{"photo_id":"1399508855","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399508751":["hashtag1","hashtag2"]},{"1399508786":["hashtag1","hashtag2"]},{"1399508855":["hashtag1","hashtag2"]},{"1399508917":["hashtag1","hashtag2"]},{"1399508892":["hashtag1","hashtag2"]},{"1399508820":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399508751, 1399508786, 1399508855, 1399508917, 1399508892, 1399508820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17317199707031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 14:01:22.576642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/27/image_15122025_13_27_15_9655.jpg', '/home/pi/Desktop/images/15122025/13/27/image_15122025_13_27_25_10642.jpg', '/home/pi/Desktop/images/15122025/13/27/image_15122025_13_27_35_9637.jpg', '/home/pi/Desktop/images/15122025/13/27/image_15122025_13_27_45_9682.jpg', '/home/pi/Desktop/images/15122025/13/27/image_15122025_13_27_54_9787.jpg', '/home/pi/Desktop/images/15122025/13/27/image_15122025_13_28_05_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/27/image_15122025_13_27_15_9655.jpg
/home/pi/Desktop/images/15122025/13/27/image_15122025_13_27_25_10642.jpg
/home/pi/Desktop/images/15122025/13/27/image_15122025_13_27_35_9637.jpg
/home/pi/Desktop/images/15122025/13/27/image_15122025_13_27_45_9682.jpg
/home/pi/Desktop/images/15122025/13/27/image_15122025_13_27_54_9787.jpg
/home/pi/Desktop/images/15122025/13/27/image_15122025_13_28_05_10681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399509303","1399509329","1399509232","1399509262","1399509180","1399509231"],"photo_ids_order":["1399509180","1399509231","1399509232","1399509262","1399509303","1399509329"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/be63b9de8ecd69fbc32977a24749d7e2.jpg","text":"TemporaryFile(/tmp/multipartBody8594772954762423570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803743244,"filename":"image_15122025_13_27_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/15/4e04eb2d396febca9a8b184827c84569.jpg","text":"TemporaryFile(/tmp/multipartBody3122215475854474638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803743244,"filename":"image_15122025_13_28_05_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/15/b0aa8a2837554a9fe6720eb84db08fe7.jpg","text":"TemporaryFile(/tmp/multipartBody7157107503526627780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803743244,"filename":"image_15122025_13_27_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/15/34b9545e437a1147a9a5a8f4a0a520c1.jpg","text":"TemporaryFile(/tmp/multipartBody5552137244255908514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803743244,"filename":"image_15122025_13_27_45_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7bac4cceb1cc64d1b0ccff9f613e0648.jpg","text":"TemporaryFile(/tmp/multipartBody7048589877842799608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803743244,"filename":"image_15122025_13_27_15_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d16797e76b6b17d988642aea57cb4a92.jpg","text":"TemporaryFile(/tmp/multipartBody6844765710205010236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803743244,"filename":"image_15122025_13_27_25_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399509232","file1":"1399509231","file0":"1399509180","file4":"1399509303","file5":"1399509329","file3":"1399509262"},"map_files_photo_id_array":[{"photo_id":"1399509329","filename":"file5"},{"photo_id":"1399509232","filename":"file2"},{"photo_id":"1399509303","filename":"file4"},{"photo_id":"1399509231","filename":"file1"},{"photo_id":"1399509180","filename":"file0"},{"photo_id":"1399509262","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399509303":["hashtag1","hashtag2"]},{"1399509329":["hashtag1","hashtag2"]},{"1399509232":["hashtag1","hashtag2"]},{"1399509262":["hashtag1","hashtag2"]},{"1399509180":["hashtag1","hashtag2"]},{"1399509231":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399509303, 1399509329, 1399509232, 1399509262, 1399509180, 1399509231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.529467821121216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 14:02:03.144898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/28/image_15122025_13_28_15_9661.jpg', '/home/pi/Desktop/images/15122025/13/28/image_15122025_13_28_24_9708.jpg', '/home/pi/Desktop/images/15122025/13/28/image_15122025_13_28_35_10593.jpg', '/home/pi/Desktop/images/15122025/13/28/image_15122025_13_28_45_9618.jpg', '/home/pi/Desktop/images/15122025/13/28/image_15122025_13_28_55_10682.jpg', '/home/pi/Desktop/images/15122025/13/28/image_15122025_13_29_05_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/28/image_15122025_13_28_15_9661.jpg
/home/pi/Desktop/images/15122025/13/28/image_15122025_13_28_24_9708.jpg
/home/pi/Desktop/images/15122025/13/28/image_15122025_13_28_35_10593.jpg
/home/pi/Desktop/images/15122025/13/28/image_15122025_13_28_45_9618.jpg
/home/pi/Desktop/images/15122025/13/28/image_15122025_13_28_55_10682.jpg
/home/pi/Desktop/images/15122025/13/28/image_15122025_13_29_05_9702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399509353","1399509362","1399509359","1399509355","1399509357","1399509351"],"photo_ids_order":["1399509351","1399509353","1399509355","1399509357","1399509359","1399509362"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4acefd4f5403f2ea6ba7b1a2a3da55a5.jpg","text":"TemporaryFile(/tmp/multipartBody2354452234477754261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803783857,"filename":"image_15122025_13_28_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/15/c25efb582df4fa1636ae4c397bda23f1.jpg","text":"TemporaryFile(/tmp/multipartBody1716873244662903757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803783857,"filename":"image_15122025_13_29_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/15/eeb9da11c9d2be6b5f0fe57f7c50bcce.jpg","text":"TemporaryFile(/tmp/multipartBody2156454106033277551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803783857,"filename":"image_15122025_13_28_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/15/a36206353c61870792f4954585f2f53e.jpg","text":"TemporaryFile(/tmp/multipartBody2959806371421892139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803783857,"filename":"image_15122025_13_28_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/15/a637b5ccef914cbeb3599111abc25318.jpg","text":"TemporaryFile(/tmp/multipartBody1921858949948248748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803783857,"filename":"image_15122025_13_28_45_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/57cbde5a30dc3ce36009ed3928b1f608.jpg","text":"TemporaryFile(/tmp/multipartBody1938778595350994070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803783857,"filename":"image_15122025_13_28_15_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399509355","file1":"1399509353","file0":"1399509351","file4":"1399509359","file5":"1399509362","file3":"1399509357"},"map_files_photo_id_array":[{"photo_id":"1399509362","filename":"file5"},{"photo_id":"1399509355","filename":"file2"},{"photo_id":"1399509359","filename":"file4"},{"photo_id":"1399509353","filename":"file1"},{"photo_id":"1399509351","filename":"file0"},{"photo_id":"1399509357","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399509353":["hashtag1","hashtag2"]},{"1399509362":["hashtag1","hashtag2"]},{"1399509359":["hashtag1","hashtag2"]},{"1399509355":["hashtag1","hashtag2"]},{"1399509357":["hashtag1","hashtag2"]},{"1399509351":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399509353, 1399509362, 1399509359, 1399509355, 1399509357, 1399509351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.907148122787476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 14:02:42.892657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_10_2632.jpg', '/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_12_2658.jpg', '/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_16_3741.jpg', '/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_19_2703.jpg', '/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_22_3080.jpg', '/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_24_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_10_2632.jpg
/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_12_2658.jpg
/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_16_3741.jpg
/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_19_2703.jpg
/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_22_3080.jpg
/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_24_2654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399509380","1399509382","1399509379","1399509369","1399509444","1399509408"],"photo_ids_order":["1399509369","1399509379","1399509380","1399509382","1399509408","1399509444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/aae136763d6e2d625a56b90e669bff85.jpg","text":"TemporaryFile(/tmp/multipartBody7678550714795260744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803823607,"filename":"image_05112025_15_07_16_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fef640b90bdde3fd0922c7e6d0eb2ec2.jpg","text":"TemporaryFile(/tmp/multipartBody1935659566510821669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803823607,"filename":"image_05112025_15_07_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/15/5b1a051fb2aec886116bd7f2a1d3d990.jpg","text":"TemporaryFile(/tmp/multipartBody4220734815045255650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803823607,"filename":"image_05112025_15_07_12_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3711819c135fb1415ca8ff1a08d5c903.jpg","text":"TemporaryFile(/tmp/multipartBody766975899948843594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803823607,"filename":"image_05112025_15_07_10_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/243c5f87c629f77c6496d2cabf4fef32.jpg","text":"TemporaryFile(/tmp/multipartBody8566360743605548331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803823607,"filename":"image_05112025_15_07_24_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9da4f5f4229845400502966476a83e21.jpg","text":"TemporaryFile(/tmp/multipartBody6199777374228201304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803823607,"filename":"image_05112025_15_07_22_3080.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399509380","file1":"1399509379","file0":"1399509369","file4":"1399509408","file5":"1399509444","file3":"1399509382"},"map_files_photo_id_array":[{"photo_id":"1399509444","filename":"file5"},{"photo_id":"1399509380","filename":"file2"},{"photo_id":"1399509408","filename":"file4"},{"photo_id":"1399509379","filename":"file1"},{"photo_id":"1399509369","filename":"file0"},{"photo_id":"1399509382","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399509380":["hashtag1","hashtag2"]},{"1399509382":["hashtag1","hashtag2"]},{"1399509379":["hashtag1","hashtag2"]},{"1399509369":["hashtag1","hashtag2"]},{"1399509444":["hashtag1","hashtag2"]},{"1399509408":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399509380, 1399509382, 1399509379, 1399509369, 1399509444, 1399509408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65782904624939 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 14:03:22.119925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/29/image_15122025_13_29_15_9692.jpg', '/home/pi/Desktop/images/15122025/13/29/image_15122025_13_29_24_9745.jpg', '/home/pi/Desktop/images/15122025/13/29/image_15122025_13_29_35_10655.jpg', '/home/pi/Desktop/images/15122025/13/29/image_15122025_13_29_45_9624.jpg', '/home/pi/Desktop/images/15122025/13/29/image_15122025_13_29_54_9690.jpg', '/home/pi/Desktop/images/15122025/13/30/image_15122025_13_30_14_10059.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/29/image_15122025_13_29_15_9692.jpg
/home/pi/Desktop/images/15122025/13/29/image_15122025_13_29_24_9745.jpg
/home/pi/Desktop/images/15122025/13/29/image_15122025_13_29_35_10655.jpg
/home/pi/Desktop/images/15122025/13/29/image_15122025_13_29_45_9624.jpg
/home/pi/Desktop/images/15122025/13/29/image_15122025_13_29_54_9690.jpg
/home/pi/Desktop/images/15122025/13/30/image_15122025_13_30_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":["1399509764","1399509725","1399509574","1399509655","1399509618","1399509689"],"photo_ids_order":["1399509574","1399509618","1399509655","1399509689","1399509725","1399509764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f7c665bf5a62424e0ce6bde779d588bb.jpg","text":"TemporaryFile(/tmp/multipartBody5389414048138551355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803862756,"filename":"image_15122025_13_30_14_10059.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9b96c3b4db1411cb2659201a08fca227.jpg","text":"TemporaryFile(/tmp/multipartBody2987356952951468388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803862756,"filename":"image_15122025_13_29_54_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a4b6b3f62e5dc6beee9c538b7d22fdcd.jpg","text":"TemporaryFile(/tmp/multipartBody2284959831747055409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803862756,"filename":"image_15122025_13_29_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/15/6671c1fa641b7ddd7e3660bd5bf65495.jpg","text":"TemporaryFile(/tmp/multipartBody1033152503596974296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803862756,"filename":"image_15122025_13_29_35_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/14a399be5424896e80c25e67fe9ee521.jpg","text":"TemporaryFile(/tmp/multipartBody8092652096528893712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803862756,"filename":"image_15122025_13_29_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/15/b294f26dbc5817a2ab80da2ae0ae54b3.jpg","text":"TemporaryFile(/tmp/multipartBody1604468625354678341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803862756,"filename":"image_15122025_13_29_45_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399509655","file1":"1399509618","file0":"1399509574","file4":"1399509725","file5":"1399509764","file3":"1399509689"},"map_files_photo_id_array":[{"photo_id":"1399509764","filename":"file5"},{"photo_id":"1399509655","filename":"file2"},{"photo_id":"1399509725","filename":"file4"},{"photo_id":"1399509618","filename":"file1"},{"photo_id":"1399509574","filename":"file0"},{"photo_id":"1399509689","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399509764":["hashtag1","hashtag2"]},{"1399509725":["hashtag1","hashtag2"]},{"1399509574":["hashtag1","hashtag2"]},{"1399509655":["hashtag1","hashtag2"]},{"1399509618":["hashtag1","hashtag2"]},{"1399509689":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399509764, 1399509725, 1399509574, 1399509655, 1399509618, 1399509689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3418345451355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 14:04:03.173231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/30/image_15122025_13_30_25_10828.jpg', '/home/pi/Desktop/images/15122025/13/30/image_15122025_13_30_34_9645.jpg', '/home/pi/Desktop/images/15122025/13/30/image_15122025_13_30_44_9717.jpg', '/home/pi/Desktop/images/15122025/13/30/image_15122025_13_30_55_10696.jpg', '/home/pi/Desktop/images/15122025/13/30/image_15122025_13_31_04_9612.jpg', '/home/pi/Desktop/images/15122025/13/31/image_15122025_13_31_14_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/30/image_15122025_13_30_25_10828.jpg
/home/pi/Desktop/images/15122025/13/30/image_15122025_13_30_34_9645.jpg
/home/pi/Desktop/images/15122025/13/30/image_15122025_13_30_44_9717.jpg
/home/pi/Desktop/images/15122025/13/30/image_15122025_13_30_55_10696.jpg
/home/pi/Desktop/images/15122025/13/30/image_15122025_13_31_04_9612.jpg
/home/pi/Desktop/images/15122025/13/31/image_15122025_13_31_14_9744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399509989","1399509967","1399509928","1399509987","1399509984","1399509986"],"photo_ids_order":["1399509928","1399509967","1399509984","1399509986","1399509987","1399509989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7868065570063356dffaedf5a79642ae.jpg","text":"TemporaryFile(/tmp/multipartBody2609766704860734321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803903848,"filename":"image_15122025_13_31_14_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f0eb8e9d6c0ff596a65d28ae3d505c63.jpg","text":"TemporaryFile(/tmp/multipartBody5576003659441317970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803903848,"filename":"image_15122025_13_30_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/15/9ee2f414366e20c497a956c1ca1c8d15.jpg","text":"TemporaryFile(/tmp/multipartBody1712501421432760663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803903848,"filename":"image_15122025_13_30_25_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/15/8f5b41b3e1aec816d35abdf42dfd6e5e.jpg","text":"TemporaryFile(/tmp/multipartBody416514837940332281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803903848,"filename":"image_15122025_13_31_04_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/95942f7cfaf4dcfac757405eb51c87ec.jpg","text":"TemporaryFile(/tmp/multipartBody2067007366688323135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803903848,"filename":"image_15122025_13_30_44_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/16cc3961a9fe706bdbe4956186c33ec9.jpg","text":"TemporaryFile(/tmp/multipartBody3159156731117384919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803903848,"filename":"image_15122025_13_30_55_10696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399509984","file1":"1399509967","file0":"1399509928","file4":"1399509987","file5":"1399509989","file3":"1399509986"},"map_files_photo_id_array":[{"photo_id":"1399509989","filename":"file5"},{"photo_id":"1399509984","filename":"file2"},{"photo_id":"1399509987","filename":"file4"},{"photo_id":"1399509967","filename":"file1"},{"photo_id":"1399509928","filename":"file0"},{"photo_id":"1399509986","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399509989":["hashtag1","hashtag2"]},{"1399509967":["hashtag1","hashtag2"]},{"1399509928":["hashtag1","hashtag2"]},{"1399509987":["hashtag1","hashtag2"]},{"1399509984":["hashtag1","hashtag2"]},{"1399509986":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399509989, 1399509967, 1399509928, 1399509987, 1399509984, 1399509986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43800902366638 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 14:04:42.451796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_28_3620.jpg', '/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_31_2784.jpg', '/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_33_2675.jpg', '/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_47_13680.jpg', '/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_49_1749.jpg', '/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_51_1640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_28_3620.jpg
/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_31_2784.jpg
/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_33_2675.jpg
/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_47_13680.jpg
/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_49_1749.jpg
/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_51_1640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399510014","1399510088","1399510005","1399510049","1399510016","1399510009"],"photo_ids_order":["1399510005","1399510009","1399510014","1399510016","1399510049","1399510088"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9b70c238c37eded831bcb7547da5b8a3.jpg","text":"TemporaryFile(/tmp/multipartBody439631836909282037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803943238,"filename":"image_05112025_15_07_33_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4a86472659f9ba71073ab9f0024f62fe.jpg","text":"TemporaryFile(/tmp/multipartBody9125314495417730012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803943238,"filename":"image_05112025_15_07_51_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/15/b6a3fdbd2611c04440348df7ebe1f53d.jpg","text":"TemporaryFile(/tmp/multipartBody8707537468329171207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803943238,"filename":"image_05112025_15_07_28_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/15/ca0509470a90a889f1cfab672070dd94.jpg","text":"TemporaryFile(/tmp/multipartBody5673374198130359297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803943238,"filename":"image_05112025_15_07_49_1749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cab4d6a079fa1828c89ac4f631f61a27.jpg","text":"TemporaryFile(/tmp/multipartBody7936963381076669870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803943238,"filename":"image_05112025_15_07_47_13680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e67247fc6ca7c8563f8a28e56b1f8327.jpg","text":"TemporaryFile(/tmp/multipartBody7610080639353872094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803943238,"filename":"image_05112025_15_07_31_2784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399510014","file1":"1399510009","file0":"1399510005","file4":"1399510049","file5":"1399510088","file3":"1399510016"},"map_files_photo_id_array":[{"photo_id":"1399510088","filename":"file5"},{"photo_id":"1399510014","filename":"file2"},{"photo_id":"1399510049","filename":"file4"},{"photo_id":"1399510009","filename":"file1"},{"photo_id":"1399510005","filename":"file0"},{"photo_id":"1399510016","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399510014":["hashtag1","hashtag2"]},{"1399510088":["hashtag1","hashtag2"]},{"1399510005":["hashtag1","hashtag2"]},{"1399510049":["hashtag1","hashtag2"]},{"1399510016":["hashtag1","hashtag2"]},{"1399510009":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399510014, 1399510088, 1399510005, 1399510049, 1399510016, 1399510009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.094332218170166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 14:05:22.765836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/31/image_15122025_13_31_25_10683.jpg', '/home/pi/Desktop/images/15122025/13/31/image_15122025_13_31_34_9644.jpg', '/home/pi/Desktop/images/15122025/13/31/image_15122025_13_31_44_9601.jpg', '/home/pi/Desktop/images/15122025/13/31/image_15122025_13_31_55_10707.jpg', '/home/pi/Desktop/images/15122025/13/31/image_15122025_13_32_04_9731.jpg', '/home/pi/Desktop/images/15122025/13/32/image_15122025_13_32_14_9802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/31/image_15122025_13_31_25_10683.jpg
/home/pi/Desktop/images/15122025/13/31/image_15122025_13_31_34_9644.jpg
/home/pi/Desktop/images/15122025/13/31/image_15122025_13_31_44_9601.jpg
/home/pi/Desktop/images/15122025/13/31/image_15122025_13_31_55_10707.jpg
/home/pi/Desktop/images/15122025/13/31/image_15122025_13_32_04_9731.jpg
/home/pi/Desktop/images/15122025/13/32/image_15122025_13_32_14_9802.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399510251","1399510221","1399510334","1399510258","1399510299","1399510281"],"photo_ids_order":["1399510221","1399510251","1399510258","1399510281","1399510299","1399510334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1d0a02945963435975e336fed3db6852.jpg","text":"TemporaryFile(/tmp/multipartBody9140929191134229706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803983399,"filename":"image_15122025_13_31_34_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bee80faf3e5bc084bce31504f1630c99.jpg","text":"TemporaryFile(/tmp/multipartBody5234614138074265856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803983399,"filename":"image_15122025_13_31_25_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d8cc3d79e601a57119b16baf9d4bfd9d.jpg","text":"TemporaryFile(/tmp/multipartBody2563365453974978873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803983399,"filename":"image_15122025_13_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/15/9c0a14e48651487d8133a061c5a797de.jpg","text":"TemporaryFile(/tmp/multipartBody2901683061871670443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803983399,"filename":"image_15122025_13_31_44_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/227d71003f721882fad254256c6b5fd1.jpg","text":"TemporaryFile(/tmp/multipartBody4370000097179907413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803983399,"filename":"image_15122025_13_32_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/15/b6694be9e059fa7987d6a8014a2409c8.jpg","text":"TemporaryFile(/tmp/multipartBody8000960734027499058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765803983399,"filename":"image_15122025_13_31_55_10707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399510258","file1":"1399510251","file0":"1399510221","file4":"1399510299","file5":"1399510334","file3":"1399510281"},"map_files_photo_id_array":[{"photo_id":"1399510334","filename":"file5"},{"photo_id":"1399510258","filename":"file2"},{"photo_id":"1399510299","filename":"file4"},{"photo_id":"1399510251","filename":"file1"},{"photo_id":"1399510221","filename":"file0"},{"photo_id":"1399510281","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399510251":["hashtag1","hashtag2"]},{"1399510221":["hashtag1","hashtag2"]},{"1399510334":["hashtag1","hashtag2"]},{"1399510258":["hashtag1","hashtag2"]},{"1399510299":["hashtag1","hashtag2"]},{"1399510281":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399510251, 1399510221, 1399510334, 1399510258, 1399510299, 1399510281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.414193868637085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 14:06:02.405653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/32/image_15122025_13_32_24_9702.jpg', '/home/pi/Desktop/images/15122025/13/32/image_15122025_13_32_34_9858.jpg', '/home/pi/Desktop/images/15122025/13/32/image_15122025_13_32_45_10658.jpg', '/home/pi/Desktop/images/15122025/13/32/image_15122025_13_32_54_9662.jpg', '/home/pi/Desktop/images/15122025/13/32/image_15122025_13_33_04_9709.jpg', '/home/pi/Desktop/images/15122025/13/33/image_15122025_13_33_15_10936.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/32/image_15122025_13_32_24_9702.jpg
/home/pi/Desktop/images/15122025/13/32/image_15122025_13_32_34_9858.jpg
/home/pi/Desktop/images/15122025/13/32/image_15122025_13_32_45_10658.jpg
/home/pi/Desktop/images/15122025/13/32/image_15122025_13_32_54_9662.jpg
/home/pi/Desktop/images/15122025/13/32/image_15122025_13_33_04_9709.jpg
/home/pi/Desktop/images/15122025/13/33/image_15122025_13_33_15_10936.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399510365","1399510370","1399510364","1399510373","1399510368","1399510362"],"photo_ids_order":["1399510362","1399510364","1399510365","1399510368","1399510370","1399510373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/324878a56ba534be0e24428dfd5724a4.jpg","text":"TemporaryFile(/tmp/multipartBody8732249700113077529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804023051,"filename":"image_15122025_13_32_45_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9f2372b3ce182339dda9f9e0fcd84eee.jpg","text":"TemporaryFile(/tmp/multipartBody3626739752608965173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804023051,"filename":"image_15122025_13_33_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/15/1d559c68661c4d2fad2d456b71966d99.jpg","text":"TemporaryFile(/tmp/multipartBody8424431799924804030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804023051,"filename":"image_15122025_13_32_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/15/c8ce86b0f79e1a7d1f4c41c39901c756.jpg","text":"TemporaryFile(/tmp/multipartBody6722596767658306599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804023051,"filename":"image_15122025_13_33_15_10936.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0f9247cb80e2107838b5150f02ffc665.jpg","text":"TemporaryFile(/tmp/multipartBody4619247687302276449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804023051,"filename":"image_15122025_13_32_54_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/946367cc410b22e78c00e10e7c1fbf0f.jpg","text":"TemporaryFile(/tmp/multipartBody3528003229072891620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804023051,"filename":"image_15122025_13_32_24_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399510365","file1":"1399510364","file0":"1399510362","file4":"1399510370","file5":"1399510373","file3":"1399510368"},"map_files_photo_id_array":[{"photo_id":"1399510373","filename":"file5"},{"photo_id":"1399510365","filename":"file2"},{"photo_id":"1399510370","filename":"file4"},{"photo_id":"1399510364","filename":"file1"},{"photo_id":"1399510362","filename":"file0"},{"photo_id":"1399510368","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399510365":["hashtag1","hashtag2"]},{"1399510370":["hashtag1","hashtag2"]},{"1399510364":["hashtag1","hashtag2"]},{"1399510373":["hashtag1","hashtag2"]},{"1399510368":["hashtag1","hashtag2"]},{"1399510362":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399510365, 1399510370, 1399510364, 1399510373, 1399510368, 1399510362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.765044927597046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 14:06:41.922502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_52_1648.jpg', '/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_54_1940.jpg', '/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_56_1678.jpg', '/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_57_1579.jpg', '/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_59_1828.jpg', '/home/pi/Desktop/images/05112025/15/08/image_05112025_15_08_01_1631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_52_1648.jpg
/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_54_1940.jpg
/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_56_1678.jpg
/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_57_1579.jpg
/home/pi/Desktop/images/05112025/15/07/image_05112025_15_07_59_1828.jpg
/home/pi/Desktop/images/05112025/15/08/image_05112025_15_08_01_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":["1399510394","1399510382","1399510432","1399510408","1399510402","1399510380"],"photo_ids_order":["1399510380","1399510382","1399510394","1399510402","1399510408","1399510432"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ae994d834e912bc2d0e3ea42521b78e9.jpg","text":"TemporaryFile(/tmp/multipartBody7860604357673092863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804062637,"filename":"image_05112025_15_07_56_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/15/af10ee50ba333a0f3e3393280fc39c17.jpg","text":"TemporaryFile(/tmp/multipartBody9081173921569735953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804062637,"filename":"image_05112025_15_07_54_1940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/83207280f7680497000829009bcd6d81.jpg","text":"TemporaryFile(/tmp/multipartBody1927256081472761901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804062637,"filename":"image_05112025_15_08_01_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/15/697e672474d9f52f6939ca1aa1e8902a.jpg","text":"TemporaryFile(/tmp/multipartBody2447316482168037901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804062637,"filename":"image_05112025_15_07_59_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/15/e455bc4e670d9703527d47a2e10b210a.jpg","text":"TemporaryFile(/tmp/multipartBody1656434143614850398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804062637,"filename":"image_05112025_15_07_57_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/15/f2dca1684cd2bff9b0c51fe84f25156f.jpg","text":"TemporaryFile(/tmp/multipartBody8288709835983176276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804062637,"filename":"image_05112025_15_07_52_1648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399510394","file1":"1399510382","file0":"1399510380","file4":"1399510408","file5":"1399510432","file3":"1399510402"},"map_files_photo_id_array":[{"photo_id":"1399510432","filename":"file5"},{"photo_id":"1399510394","filename":"file2"},{"photo_id":"1399510408","filename":"file4"},{"photo_id":"1399510382","filename":"file1"},{"photo_id":"1399510380","filename":"file0"},{"photo_id":"1399510402","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399510394":["hashtag1","hashtag2"]},{"1399510382":["hashtag1","hashtag2"]},{"1399510432":["hashtag1","hashtag2"]},{"1399510408":["hashtag1","hashtag2"]},{"1399510402":["hashtag1","hashtag2"]},{"1399510380":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399510394, 1399510382, 1399510432, 1399510408, 1399510402, 1399510380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.872297286987305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 14:07:22.314039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/33/image_15122025_13_33_25_9706.jpg', '/home/pi/Desktop/images/15122025/13/33/image_15122025_13_33_34_9786.jpg', '/home/pi/Desktop/images/15122025/13/33/image_15122025_13_33_44_9730.jpg', '/home/pi/Desktop/images/15122025/13/33/image_15122025_13_33_54_9824.jpg', '/home/pi/Desktop/images/15122025/13/33/image_15122025_13_34_05_10663.jpg', '/home/pi/Desktop/images/15122025/13/34/image_15122025_13_34_14_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/33/image_15122025_13_33_25_9706.jpg
/home/pi/Desktop/images/15122025/13/33/image_15122025_13_33_34_9786.jpg
/home/pi/Desktop/images/15122025/13/33/image_15122025_13_33_44_9730.jpg
/home/pi/Desktop/images/15122025/13/33/image_15122025_13_33_54_9824.jpg
/home/pi/Desktop/images/15122025/13/33/image_15122025_13_34_05_10663.jpg
/home/pi/Desktop/images/15122025/13/34/image_15122025_13_34_14_9710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399510617","1399510796","1399510745","1399510696","1399510816","1399510819"],"photo_ids_order":["1399510617","1399510696","1399510745","1399510796","1399510816","1399510819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b69d6aea4918eb835f26c717a511952e.jpg","text":"TemporaryFile(/tmp/multipartBody6922910551881928553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804102949,"filename":"image_15122025_13_33_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/15/96e2dc8a720bd0da226d6f0ee29b4450.jpg","text":"TemporaryFile(/tmp/multipartBody2191168683814977517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804102949,"filename":"image_15122025_13_33_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/15/249442f7e6a9c58c68ff9f55598d2573.jpg","text":"TemporaryFile(/tmp/multipartBody7520224952109699557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804102949,"filename":"image_15122025_13_33_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/15/0dc1c4205556da7562e2d329a42f71cb.jpg","text":"TemporaryFile(/tmp/multipartBody2656652524304037869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804102949,"filename":"image_15122025_13_33_34_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0466402e5e9adb940fa226796266b36a.jpg","text":"TemporaryFile(/tmp/multipartBody3594062993945153662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804102949,"filename":"image_15122025_13_34_05_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f4e8e59cdf379cf3295149117ea96dd5.jpg","text":"TemporaryFile(/tmp/multipartBody1476371089765089517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804102949,"filename":"image_15122025_13_34_14_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399510745","file1":"1399510696","file0":"1399510617","file4":"1399510816","file5":"1399510819","file3":"1399510796"},"map_files_photo_id_array":[{"photo_id":"1399510819","filename":"file5"},{"photo_id":"1399510745","filename":"file2"},{"photo_id":"1399510816","filename":"file4"},{"photo_id":"1399510696","filename":"file1"},{"photo_id":"1399510617","filename":"file0"},{"photo_id":"1399510796","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399510617":["hashtag1","hashtag2"]},{"1399510796":["hashtag1","hashtag2"]},{"1399510745":["hashtag1","hashtag2"]},{"1399510696":["hashtag1","hashtag2"]},{"1399510816":["hashtag1","hashtag2"]},{"1399510819":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399510617, 1399510796, 1399510745, 1399510696, 1399510816, 1399510819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80051851272583 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 14:08:02.963663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/34/image_15122025_13_34_24_9625.jpg', '/home/pi/Desktop/images/15122025/13/34/image_15122025_13_34_35_10718.jpg', '/home/pi/Desktop/images/15122025/13/34/image_15122025_13_34_44_9746.jpg', '/home/pi/Desktop/images/15122025/13/34/image_15122025_13_34_54_9647.jpg', '/home/pi/Desktop/images/15122025/13/34/image_15122025_13_35_05_10756.jpg', '/home/pi/Desktop/images/15122025/13/35/image_15122025_13_35_14_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/34/image_15122025_13_34_24_9625.jpg
/home/pi/Desktop/images/15122025/13/34/image_15122025_13_34_35_10718.jpg
/home/pi/Desktop/images/15122025/13/34/image_15122025_13_34_44_9746.jpg
/home/pi/Desktop/images/15122025/13/34/image_15122025_13_34_54_9647.jpg
/home/pi/Desktop/images/15122025/13/34/image_15122025_13_35_05_10756.jpg
/home/pi/Desktop/images/15122025/13/35/image_15122025_13_35_14_9678.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5421504974365234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 14:08:12.488544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 14:08:22.606677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/34/image_15122025_13_34_24_9625.jpg', '/home/pi/Desktop/images/15122025/13/34/image_15122025_13_34_35_10718.jpg', '/home/pi/Desktop/images/15122025/13/34/image_15122025_13_34_44_9746.jpg', '/home/pi/Desktop/images/15122025/13/34/image_15122025_13_34_54_9647.jpg', '/home/pi/Desktop/images/15122025/13/34/image_15122025_13_35_05_10756.jpg', '/home/pi/Desktop/images/15122025/13/35/image_15122025_13_35_14_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/34/image_15122025_13_34_24_9625.jpg
/home/pi/Desktop/images/15122025/13/34/image_15122025_13_34_35_10718.jpg
/home/pi/Desktop/images/15122025/13/34/image_15122025_13_34_44_9746.jpg
/home/pi/Desktop/images/15122025/13/34/image_15122025_13_34_54_9647.jpg
/home/pi/Desktop/images/15122025/13/34/image_15122025_13_35_05_10756.jpg
/home/pi/Desktop/images/15122025/13/35/image_15122025_13_35_14_9678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399511059","1399511026","1399510987","1399511055","1399511022","1399511046"],"photo_ids_order":["1399510987","1399511022","1399511026","1399511046","1399511055","1399511059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b9b485aeffbcbea8ea36b3fbae9f4c9e.jpg","text":"TemporaryFile(/tmp/multipartBody2329727254914343256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804163281,"filename":"image_15122025_13_35_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/15/9aa9d2ca632f96308f0d308ef3aff179.jpg","text":"TemporaryFile(/tmp/multipartBody3057066967207157896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804163281,"filename":"image_15122025_13_34_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/15/ae3e460eccbfbb5bde45a03bd79e829d.jpg","text":"TemporaryFile(/tmp/multipartBody2620426245797938776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804163281,"filename":"image_15122025_13_34_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/15/997ac656c22cf9768c5245f595849443.jpg","text":"TemporaryFile(/tmp/multipartBody6715009898480163755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804163281,"filename":"image_15122025_13_35_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/15/790735b6bd95b7cae43b198f0a8196c3.jpg","text":"TemporaryFile(/tmp/multipartBody5076698390208287006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804163281,"filename":"image_15122025_13_34_35_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b392e3924c1e62aeb4424690808f05f7.jpg","text":"TemporaryFile(/tmp/multipartBody8582165448268979987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804163281,"filename":"image_15122025_13_34_54_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399511026","file1":"1399511022","file0":"1399510987","file4":"1399511055","file5":"1399511059","file3":"1399511046"},"map_files_photo_id_array":[{"photo_id":"1399511059","filename":"file5"},{"photo_id":"1399511026","filename":"file2"},{"photo_id":"1399511055","filename":"file4"},{"photo_id":"1399511022","filename":"file1"},{"photo_id":"1399510987","filename":"file0"},{"photo_id":"1399511046","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399511059":["hashtag1","hashtag2"]},{"1399511026":["hashtag1","hashtag2"]},{"1399510987":["hashtag1","hashtag2"]},{"1399511055":["hashtag1","hashtag2"]},{"1399511022":["hashtag1","hashtag2"]},{"1399511046":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399511059, 1399511026, 1399510987, 1399511055, 1399511022, 1399511046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74960780143738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 14:09:03.749865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/35/image_15122025_13_35_24_9673.jpg', '/home/pi/Desktop/images/15122025/13/35/image_15122025_13_35_35_10646.jpg', '/home/pi/Desktop/images/15122025/13/35/image_15122025_13_35_44_9753.jpg', '/home/pi/Desktop/images/15122025/13/35/image_15122025_13_35_54_9815.jpg', '/home/pi/Desktop/images/15122025/13/35/image_15122025_13_36_04_9593.jpg', '/home/pi/Desktop/images/15122025/13/36/image_15122025_13_36_15_10726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/35/image_15122025_13_35_24_9673.jpg
/home/pi/Desktop/images/15122025/13/35/image_15122025_13_35_35_10646.jpg
/home/pi/Desktop/images/15122025/13/35/image_15122025_13_35_44_9753.jpg
/home/pi/Desktop/images/15122025/13/35/image_15122025_13_35_54_9815.jpg
/home/pi/Desktop/images/15122025/13/35/image_15122025_13_36_04_9593.jpg
/home/pi/Desktop/images/15122025/13/36/image_15122025_13_36_15_10726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399511201","1399511197","1399511199","1399511203","1399511193","1399511195"],"photo_ids_order":["1399511193","1399511195","1399511197","1399511199","1399511201","1399511203"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/79c4c1cdfc0b3beb6d5b13c48c2b8248.jpg","text":"TemporaryFile(/tmp/multipartBody137946124293793517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804204471,"filename":"image_15122025_13_36_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/15/f10c8bea30272ae5bbc0a8a02e87e416.jpg","text":"TemporaryFile(/tmp/multipartBody8295218453421268143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804204471,"filename":"image_15122025_13_35_44_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7910dfa0e4a55413984fee6bbf94831b.jpg","text":"TemporaryFile(/tmp/multipartBody2918371687446635220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804204471,"filename":"image_15122025_13_35_54_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2a7e4691651b47ed530bd908423c63df.jpg","text":"TemporaryFile(/tmp/multipartBody3392161492104464615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804204471,"filename":"image_15122025_13_36_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/15/c8575f5588ada09c0070237169314c34.jpg","text":"TemporaryFile(/tmp/multipartBody5963696758278520465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804204471,"filename":"image_15122025_13_35_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/15/225a764a9b34826767a3bf03a88a548b.jpg","text":"TemporaryFile(/tmp/multipartBody4934298037182820665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804204471,"filename":"image_15122025_13_35_35_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399511197","file1":"1399511195","file0":"1399511193","file4":"1399511201","file5":"1399511203","file3":"1399511199"},"map_files_photo_id_array":[{"photo_id":"1399511203","filename":"file5"},{"photo_id":"1399511197","filename":"file2"},{"photo_id":"1399511201","filename":"file4"},{"photo_id":"1399511195","filename":"file1"},{"photo_id":"1399511193","filename":"file0"},{"photo_id":"1399511199","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399511201":["hashtag1","hashtag2"]},{"1399511197":["hashtag1","hashtag2"]},{"1399511199":["hashtag1","hashtag2"]},{"1399511203":["hashtag1","hashtag2"]},{"1399511193":["hashtag1","hashtag2"]},{"1399511195":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399511201, 1399511197, 1399511199, 1399511203, 1399511193, 1399511195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29831862449646 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-15 14:10:02.404067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/36/image_15122025_13_36_24_9724.jpg', '/home/pi/Desktop/images/15122025/13/36/image_15122025_13_36_34_9674.jpg', '/home/pi/Desktop/images/15122025/13/36/image_15122025_13_36_45_10745.jpg', '/home/pi/Desktop/images/15122025/13/36/image_15122025_13_36_54_9641.jpg', '/home/pi/Desktop/images/15122025/13/36/image_15122025_13_37_04_9778.jpg', '/home/pi/Desktop/images/15122025/13/37/image_15122025_13_37_14_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/36/image_15122025_13_36_24_9724.jpg
/home/pi/Desktop/images/15122025/13/36/image_15122025_13_36_34_9674.jpg
/home/pi/Desktop/images/15122025/13/36/image_15122025_13_36_45_10745.jpg
/home/pi/Desktop/images/15122025/13/36/image_15122025_13_36_54_9641.jpg
/home/pi/Desktop/images/15122025/13/36/image_15122025_13_37_04_9778.jpg
/home/pi/Desktop/images/15122025/13/37/image_15122025_13_37_14_9725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399511336","1399511335","1399511284","1399511314","1399511292","1399511316"],"photo_ids_order":["1399511284","1399511292","1399511314","1399511316","1399511335","1399511336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a3841f1b14d3d19efbf4afa94955c385.jpg","text":"TemporaryFile(/tmp/multipartBody2598176128506160801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804263050,"filename":"image_15122025_13_37_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/15/d8f693d352baf19ceb839e085f85adc8.jpg","text":"TemporaryFile(/tmp/multipartBody338654792150967380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804263050,"filename":"image_15122025_13_37_04_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cebc05978c34c1f107d3468e2538df2b.jpg","text":"TemporaryFile(/tmp/multipartBody7279306584394010326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804263050,"filename":"image_15122025_13_36_24_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c0ace52c7f613d85334a5d8f7806923b.jpg","text":"TemporaryFile(/tmp/multipartBody6215329896891085092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804263050,"filename":"image_15122025_13_36_45_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/15/3fb76066c7337520aacc9405811a9ce4.jpg","text":"TemporaryFile(/tmp/multipartBody7504553001514052982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804263050,"filename":"image_15122025_13_36_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/15/f6c772e298cf1089f07969b779c827a1.jpg","text":"TemporaryFile(/tmp/multipartBody3166375339418748277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804263050,"filename":"image_15122025_13_36_54_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399511314","file1":"1399511292","file0":"1399511284","file4":"1399511335","file5":"1399511336","file3":"1399511316"},"map_files_photo_id_array":[{"photo_id":"1399511336","filename":"file5"},{"photo_id":"1399511314","filename":"file2"},{"photo_id":"1399511335","filename":"file4"},{"photo_id":"1399511292","filename":"file1"},{"photo_id":"1399511284","filename":"file0"},{"photo_id":"1399511316","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399511336":["hashtag1","hashtag2"]},{"1399511335":["hashtag1","hashtag2"]},{"1399511284":["hashtag1","hashtag2"]},{"1399511314":["hashtag1","hashtag2"]},{"1399511292":["hashtag1","hashtag2"]},{"1399511316":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399511336, 1399511335, 1399511284, 1399511314, 1399511292, 1399511316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71752572059631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 14:10:41.963562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/08/image_05112025_15_08_03_2572.jpg', '/home/pi/Desktop/images/05112025/15/08/image_05112025_15_08_10_3591.jpg', '/home/pi/Desktop/images/05112025/15/08/image_05112025_15_08_12_2591.jpg', '/home/pi/Desktop/images/05112025/15/08/image_05112025_15_08_28_2666.jpg', '/home/pi/Desktop/images/05112025/15/08/image_05112025_15_08_30_2784.jpg', '/home/pi/Desktop/images/05112025/15/08/image_05112025_15_08_33_2879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/08/image_05112025_15_08_03_2572.jpg
/home/pi/Desktop/images/05112025/15/08/image_05112025_15_08_10_3591.jpg
/home/pi/Desktop/images/05112025/15/08/image_05112025_15_08_12_2591.jpg
/home/pi/Desktop/images/05112025/15/08/image_05112025_15_08_28_2666.jpg
/home/pi/Desktop/images/05112025/15/08/image_05112025_15_08_30_2784.jpg
/home/pi/Desktop/images/05112025/15/08/image_05112025_15_08_33_2879.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399511345","1399511353","1399511356","1399511350","1399511364","1399511358"],"photo_ids_order":["1399511345","1399511350","1399511353","1399511356","1399511358","1399511364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9fd1417250e5413cf73af838fdb38182.jpg","text":"TemporaryFile(/tmp/multipartBody4296627209394171051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804302686,"filename":"image_05112025_15_08_03_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/15/a1d1a4647e0a32ccf8290c2b0072a564.jpg","text":"TemporaryFile(/tmp/multipartBody6227561125975706323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804302686,"filename":"image_05112025_15_08_12_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/15/e62ae3a917598fe55d41388c8677c9e8.jpg","text":"TemporaryFile(/tmp/multipartBody7143708025361652532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804302686,"filename":"image_05112025_15_08_28_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/712bce7252d8778c18763a3a241eb9a4.jpg","text":"TemporaryFile(/tmp/multipartBody3255008591634190061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804302686,"filename":"image_05112025_15_08_10_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/15/e661415ed7efeaa9dc71d653fac95d07.jpg","text":"TemporaryFile(/tmp/multipartBody716532718443842502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804302686,"filename":"image_05112025_15_08_33_2879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5c0b3f9826ae4461bbadea8ef61cbefd.jpg","text":"TemporaryFile(/tmp/multipartBody7999290020435023148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804302686,"filename":"image_05112025_15_08_30_2784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399511353","file1":"1399511350","file0":"1399511345","file4":"1399511358","file5":"1399511364","file3":"1399511356"},"map_files_photo_id_array":[{"photo_id":"1399511364","filename":"file5"},{"photo_id":"1399511353","filename":"file2"},{"photo_id":"1399511358","filename":"file4"},{"photo_id":"1399511350","filename":"file1"},{"photo_id":"1399511345","filename":"file0"},{"photo_id":"1399511356","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399511345":["hashtag1","hashtag2"]},{"1399511353":["hashtag1","hashtag2"]},{"1399511356":["hashtag1","hashtag2"]},{"1399511350":["hashtag1","hashtag2"]},{"1399511364":["hashtag1","hashtag2"]},{"1399511358":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399511345, 1399511353, 1399511356, 1399511350, 1399511364, 1399511358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.606210708618164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 14:11:22.255936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/37/image_15122025_13_37_25_10824.jpg', '/home/pi/Desktop/images/15122025/13/37/image_15122025_13_37_34_9740.jpg', '/home/pi/Desktop/images/15122025/13/37/image_15122025_13_37_44_9856.jpg', '/home/pi/Desktop/images/15122025/13/37/image_15122025_13_37_54_9747.jpg', '/home/pi/Desktop/images/15122025/13/37/image_15122025_13_38_05_10598.jpg', '/home/pi/Desktop/images/15122025/13/38/image_15122025_13_38_14_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/37/image_15122025_13_37_25_10824.jpg
/home/pi/Desktop/images/15122025/13/37/image_15122025_13_37_34_9740.jpg
/home/pi/Desktop/images/15122025/13/37/image_15122025_13_37_44_9856.jpg
/home/pi/Desktop/images/15122025/13/37/image_15122025_13_37_54_9747.jpg
/home/pi/Desktop/images/15122025/13/37/image_15122025_13_38_05_10598.jpg
/home/pi/Desktop/images/15122025/13/38/image_15122025_13_38_14_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.5199365615844727 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 14:11:32.368950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 14:11:42.206732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/08/image_05112025_15_08_37_3747.jpg', '/home/pi/Desktop/images/05112025/15/08/image_05112025_15_08_40_2893.jpg', '/home/pi/Desktop/images/05112025/15/08/image_05112025_15_08_42_2644.jpg', '/home/pi/Desktop/images/05112025/15/08/image_05112025_15_08_45_2686.jpg', '/home/pi/Desktop/images/05112025/15/08/image_05112025_15_08_49_3576.jpg', '/home/pi/Desktop/images/05112025/15/08/image_05112025_15_08_51_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/08/image_05112025_15_08_37_3747.jpg
/home/pi/Desktop/images/05112025/15/08/image_05112025_15_08_40_2893.jpg
/home/pi/Desktop/images/05112025/15/08/image_05112025_15_08_42_2644.jpg
/home/pi/Desktop/images/05112025/15/08/image_05112025_15_08_45_2686.jpg
/home/pi/Desktop/images/05112025/15/08/image_05112025_15_08_49_3576.jpg
/home/pi/Desktop/images/05112025/15/08/image_05112025_15_08_51_2618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399511474","1399511477","1399511516","1399511515","1399511498","1399511517"],"photo_ids_order":["1399511474","1399511477","1399511498","1399511515","1399511516","1399511517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3581c666c2406f79b2312ccd8087664f.jpg","text":"TemporaryFile(/tmp/multipartBody1489731668785307022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804362966,"filename":"image_05112025_15_08_37_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9174bfa4cfed8f2dc8ad95486a89c6b2.jpg","text":"TemporaryFile(/tmp/multipartBody6425895504017703652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804362966,"filename":"image_05112025_15_08_40_2893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d636d0db89346dd680255c3bc96158d3.jpg","text":"TemporaryFile(/tmp/multipartBody7871317094583573717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804362966,"filename":"image_05112025_15_08_49_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/15/497e50f7ee242978e25e8bba33ff7850.jpg","text":"TemporaryFile(/tmp/multipartBody8859622938782476522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804362966,"filename":"image_05112025_15_08_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/15/8602e0449eb5e111d58646d0cbe37e1b.jpg","text":"TemporaryFile(/tmp/multipartBody5742601213589382685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804362966,"filename":"image_05112025_15_08_42_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/15/eb897ca253b921edfff86da3e4f23fa3.jpg","text":"TemporaryFile(/tmp/multipartBody5850220244229962834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804362966,"filename":"image_05112025_15_08_51_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399511498","file1":"1399511477","file0":"1399511474","file4":"1399511516","file5":"1399511517","file3":"1399511515"},"map_files_photo_id_array":[{"photo_id":"1399511517","filename":"file5"},{"photo_id":"1399511498","filename":"file2"},{"photo_id":"1399511516","filename":"file4"},{"photo_id":"1399511477","filename":"file1"},{"photo_id":"1399511474","filename":"file0"},{"photo_id":"1399511515","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399511474":["hashtag1","hashtag2"]},{"1399511477":["hashtag1","hashtag2"]},{"1399511516":["hashtag1","hashtag2"]},{"1399511515":["hashtag1","hashtag2"]},{"1399511498":["hashtag1","hashtag2"]},{"1399511517":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399511474, 1399511477, 1399511516, 1399511515, 1399511498, 1399511517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57204079627991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 14:12:22.545122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/37/image_15122025_13_37_25_10824.jpg', '/home/pi/Desktop/images/15122025/13/37/image_15122025_13_37_34_9740.jpg', '/home/pi/Desktop/images/15122025/13/37/image_15122025_13_37_44_9856.jpg', '/home/pi/Desktop/images/15122025/13/37/image_15122025_13_37_54_9747.jpg', '/home/pi/Desktop/images/15122025/13/37/image_15122025_13_38_05_10598.jpg', '/home/pi/Desktop/images/15122025/13/38/image_15122025_13_38_14_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/37/image_15122025_13_37_25_10824.jpg
/home/pi/Desktop/images/15122025/13/37/image_15122025_13_37_34_9740.jpg
/home/pi/Desktop/images/15122025/13/37/image_15122025_13_37_44_9856.jpg
/home/pi/Desktop/images/15122025/13/37/image_15122025_13_37_54_9747.jpg
/home/pi/Desktop/images/15122025/13/37/image_15122025_13_38_05_10598.jpg
/home/pi/Desktop/images/15122025/13/38/image_15122025_13_38_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":["1399511525","1399511557","1399511521","1399511529","1399511520","1399511523"],"photo_ids_order":["1399511520","1399511521","1399511523","1399511525","1399511529","1399511557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/136600b5bb2fb6e68d1fa81f97caed33.jpg","text":"TemporaryFile(/tmp/multipartBody4600092083337396127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804403174,"filename":"image_15122025_13_37_54_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/15/7457c62ca84492ff126601d76c7dc92d.jpg","text":"TemporaryFile(/tmp/multipartBody848025070345976658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804403174,"filename":"image_15122025_13_38_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/15/214cfd1c60286b8befaa8a0af4613073.jpg","text":"TemporaryFile(/tmp/multipartBody4617782115886865273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804403174,"filename":"image_15122025_13_37_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/15/4f755440e211fd73586cb045f777f837.jpg","text":"TemporaryFile(/tmp/multipartBody6049312053539827201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804403174,"filename":"image_15122025_13_38_05_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cd9f42f79606baf857b07df6f9020234.jpg","text":"TemporaryFile(/tmp/multipartBody6533434491099727427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804403174,"filename":"image_15122025_13_37_25_10824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/936e02d7f37b836c3f1a953d45c43eb3.jpg","text":"TemporaryFile(/tmp/multipartBody6023913908036153120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804403174,"filename":"image_15122025_13_37_44_9856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399511523","file1":"1399511521","file0":"1399511520","file4":"1399511529","file5":"1399511557","file3":"1399511525"},"map_files_photo_id_array":[{"photo_id":"1399511557","filename":"file5"},{"photo_id":"1399511523","filename":"file2"},{"photo_id":"1399511529","filename":"file4"},{"photo_id":"1399511521","filename":"file1"},{"photo_id":"1399511520","filename":"file0"},{"photo_id":"1399511525","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399511525":["hashtag1","hashtag2"]},{"1399511557":["hashtag1","hashtag2"]},{"1399511521":["hashtag1","hashtag2"]},{"1399511529":["hashtag1","hashtag2"]},{"1399511520":["hashtag1","hashtag2"]},{"1399511523":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399511525, 1399511557, 1399511521, 1399511529, 1399511520, 1399511523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.599403381347656 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-15 14:13:12.728932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 14:13:22.795977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/38/image_15122025_13_38_24_9676.jpg', '/home/pi/Desktop/images/15122025/13/38/image_15122025_13_38_34_9840.jpg', '/home/pi/Desktop/images/15122025/13/38/image_15122025_13_38_45_10655.jpg', '/home/pi/Desktop/images/15122025/13/38/image_15122025_13_38_54_9807.jpg', '/home/pi/Desktop/images/15122025/13/38/image_15122025_13_39_04_9670.jpg', '/home/pi/Desktop/images/15122025/13/39/image_15122025_13_39_15_10770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/38/image_15122025_13_38_24_9676.jpg
/home/pi/Desktop/images/15122025/13/38/image_15122025_13_38_34_9840.jpg
/home/pi/Desktop/images/15122025/13/38/image_15122025_13_38_45_10655.jpg
/home/pi/Desktop/images/15122025/13/38/image_15122025_13_38_54_9807.jpg
/home/pi/Desktop/images/15122025/13/38/image_15122025_13_39_04_9670.jpg
/home/pi/Desktop/images/15122025/13/39/image_15122025_13_39_15_10770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399511693","1399511723","1399511854","1399511856","1399511814","1399511777"],"photo_ids_order":["1399511693","1399511723","1399511777","1399511814","1399511854","1399511856"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1d25149a10ba8e45c53f4e9481f62cd9.jpg","text":"TemporaryFile(/tmp/multipartBody4857746591031607359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804463431,"filename":"image_15122025_13_38_24_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8b86914989b9c0c01459b28547ba7387.jpg","text":"TemporaryFile(/tmp/multipartBody557591317662199039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804463431,"filename":"image_15122025_13_38_34_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3c2bd831b6e943d18d7fe56f72556a93.jpg","text":"TemporaryFile(/tmp/multipartBody1665917989582358358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804463431,"filename":"image_15122025_13_39_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/15/00b41eee18c49690b31ee48b31b05352.jpg","text":"TemporaryFile(/tmp/multipartBody8135857129693019798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804463431,"filename":"image_15122025_13_39_15_10770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a00d5335c05a565b2ab839df3675a413.jpg","text":"TemporaryFile(/tmp/multipartBody5568967137904447971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804463431,"filename":"image_15122025_13_38_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/15/6fa2842dce1a8dc095ae39c57113e837.jpg","text":"TemporaryFile(/tmp/multipartBody3209385377687976298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804463431,"filename":"image_15122025_13_38_45_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399511777","file1":"1399511723","file0":"1399511693","file4":"1399511854","file5":"1399511856","file3":"1399511814"},"map_files_photo_id_array":[{"photo_id":"1399511856","filename":"file5"},{"photo_id":"1399511777","filename":"file2"},{"photo_id":"1399511854","filename":"file4"},{"photo_id":"1399511723","filename":"file1"},{"photo_id":"1399511693","filename":"file0"},{"photo_id":"1399511814","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399511693":["hashtag1","hashtag2"]},{"1399511723":["hashtag1","hashtag2"]},{"1399511854":["hashtag1","hashtag2"]},{"1399511856":["hashtag1","hashtag2"]},{"1399511814":["hashtag1","hashtag2"]},{"1399511777":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399511693, 1399511723, 1399511854, 1399511856, 1399511814, 1399511777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.92322659492493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 14:14:12.072175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 14:14:22.101522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/39/image_15122025_13_39_25_9754.jpg', '/home/pi/Desktop/images/15122025/13/39/image_15122025_13_39_34_9590.jpg', '/home/pi/Desktop/images/15122025/13/39/image_15122025_13_39_44_9736.jpg', '/home/pi/Desktop/images/15122025/13/39/image_15122025_13_39_55_10746.jpg', '/home/pi/Desktop/images/15122025/13/39/image_15122025_13_40_04_9671.jpg', '/home/pi/Desktop/images/15122025/13/40/image_15122025_13_40_14_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/39/image_15122025_13_39_25_9754.jpg
/home/pi/Desktop/images/15122025/13/39/image_15122025_13_39_34_9590.jpg
/home/pi/Desktop/images/15122025/13/39/image_15122025_13_39_44_9736.jpg
/home/pi/Desktop/images/15122025/13/39/image_15122025_13_39_55_10746.jpg
/home/pi/Desktop/images/15122025/13/39/image_15122025_13_40_04_9671.jpg
/home/pi/Desktop/images/15122025/13/40/image_15122025_13_40_14_9679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399511870","1399511875","1399511860","1399511872","1399511865","1399511862"],"photo_ids_order":["1399511860","1399511862","1399511865","1399511870","1399511872","1399511875"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1aeeaecde72ff4fe947659c6f9348b31.jpg","text":"TemporaryFile(/tmp/multipartBody6553644063822344826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804522743,"filename":"image_15122025_13_39_55_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7191b7319eb52a365e49dd66163eec4f.jpg","text":"TemporaryFile(/tmp/multipartBody4676741763468159174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804522743,"filename":"image_15122025_13_40_14_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c61a2c9c3fa2b53cbe8335cc29676d31.jpg","text":"TemporaryFile(/tmp/multipartBody6172477336076699456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804522743,"filename":"image_15122025_13_39_25_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/53128d88109c665e2cdab4ff85a5db08.jpg","text":"TemporaryFile(/tmp/multipartBody2847595370956961400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804522743,"filename":"image_15122025_13_40_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/15/0c8de2c1a2638705063bdcee06f75cfe.jpg","text":"TemporaryFile(/tmp/multipartBody4920734625415083113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804522743,"filename":"image_15122025_13_39_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/15/2e2c70b4245b7b9dbae5b0376d193513.jpg","text":"TemporaryFile(/tmp/multipartBody6431668207602930350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804522743,"filename":"image_15122025_13_39_34_9590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399511865","file1":"1399511862","file0":"1399511860","file4":"1399511872","file5":"1399511875","file3":"1399511870"},"map_files_photo_id_array":[{"photo_id":"1399511875","filename":"file5"},{"photo_id":"1399511865","filename":"file2"},{"photo_id":"1399511872","filename":"file4"},{"photo_id":"1399511862","filename":"file1"},{"photo_id":"1399511860","filename":"file0"},{"photo_id":"1399511870","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399511870":["hashtag1","hashtag2"]},{"1399511875":["hashtag1","hashtag2"]},{"1399511860":["hashtag1","hashtag2"]},{"1399511872":["hashtag1","hashtag2"]},{"1399511865":["hashtag1","hashtag2"]},{"1399511862":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399511870, 1399511875, 1399511860, 1399511872, 1399511865, 1399511862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66726851463318 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 14:15:02.989642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/40/image_15122025_13_40_25_10577.jpg', '/home/pi/Desktop/images/15122025/13/40/image_15122025_13_40_34_9890.jpg', '/home/pi/Desktop/images/15122025/13/40/image_15122025_13_40_44_9652.jpg', '/home/pi/Desktop/images/15122025/13/40/image_15122025_13_40_55_10676.jpg', '/home/pi/Desktop/images/15122025/13/40/image_15122025_13_41_05_9830.jpg', '/home/pi/Desktop/images/15122025/13/41/image_15122025_13_41_14_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/40/image_15122025_13_40_25_10577.jpg
/home/pi/Desktop/images/15122025/13/40/image_15122025_13_40_34_9890.jpg
/home/pi/Desktop/images/15122025/13/40/image_15122025_13_40_44_9652.jpg
/home/pi/Desktop/images/15122025/13/40/image_15122025_13_40_55_10676.jpg
/home/pi/Desktop/images/15122025/13/40/image_15122025_13_41_05_9830.jpg
/home/pi/Desktop/images/15122025/13/41/image_15122025_13_41_14_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":["1399511888","1399511884","1399511878","1399511886","1399511880","1399511882"],"photo_ids_order":["1399511878","1399511880","1399511882","1399511884","1399511886","1399511888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1e01bea18c8c1a6d741a57ebd37f51fa.jpg","text":"TemporaryFile(/tmp/multipartBody8245137651511015790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804563687,"filename":"image_15122025_13_41_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/15/d434466d5d3c6b507cd47bef59a29c6d.jpg","text":"TemporaryFile(/tmp/multipartBody6580389421501899481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804563687,"filename":"image_15122025_13_40_55_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c02c6068da77d3623f6551cb601f47dc.jpg","text":"TemporaryFile(/tmp/multipartBody1843209980207460215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804563687,"filename":"image_15122025_13_40_25_10577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a030ed765beaf83a27f2731050c9551a.jpg","text":"TemporaryFile(/tmp/multipartBody6513547385372973135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804563687,"filename":"image_15122025_13_41_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/15/e29619b0fde494ea84f45827744f5f3f.jpg","text":"TemporaryFile(/tmp/multipartBody562024806873347143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804563687,"filename":"image_15122025_13_40_34_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/15/7f3a4860aeb25e07e1128ce70d1344ca.jpg","text":"TemporaryFile(/tmp/multipartBody5128878523062437822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804563687,"filename":"image_15122025_13_40_44_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399511882","file1":"1399511880","file0":"1399511878","file4":"1399511886","file5":"1399511888","file3":"1399511884"},"map_files_photo_id_array":[{"photo_id":"1399511888","filename":"file5"},{"photo_id":"1399511882","filename":"file2"},{"photo_id":"1399511886","filename":"file4"},{"photo_id":"1399511880","filename":"file1"},{"photo_id":"1399511878","filename":"file0"},{"photo_id":"1399511884","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399511888":["hashtag1","hashtag2"]},{"1399511884":["hashtag1","hashtag2"]},{"1399511878":["hashtag1","hashtag2"]},{"1399511886":["hashtag1","hashtag2"]},{"1399511880":["hashtag1","hashtag2"]},{"1399511882":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399511888, 1399511884, 1399511878, 1399511886, 1399511880, 1399511882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39931297302246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 14:15:42.380756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/08/image_05112025_15_08_54_2625.jpg', '/home/pi/Desktop/images/05112025/15/08/image_05112025_15_08_58_3711.jpg', '/home/pi/Desktop/images/05112025/15/08/image_05112025_15_09_00_2594.jpg', '/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_03_2756.jpg', '/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_07_3752.jpg', '/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_12_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/08/image_05112025_15_08_54_2625.jpg
/home/pi/Desktop/images/05112025/15/08/image_05112025_15_08_58_3711.jpg
/home/pi/Desktop/images/05112025/15/08/image_05112025_15_09_00_2594.jpg
/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_03_2756.jpg
/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_07_3752.jpg
/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_12_2580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399512008","1399511989","1399512004","1399512007","1399512009","1399512006"],"photo_ids_order":["1399511989","1399512004","1399512006","1399512007","1399512008","1399512009"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/406a6da21526fa31429795f7c903e509.jpg","text":"TemporaryFile(/tmp/multipartBody8817385567082262933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804603161,"filename":"image_05112025_15_09_07_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/15/2ea8f6351e1a4b7b010bfdb4bf391b61.jpg","text":"TemporaryFile(/tmp/multipartBody423830850665790025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804603161,"filename":"image_05112025_15_08_54_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/53730b3de4e53acdd1bfe0227454ef1c.jpg","text":"TemporaryFile(/tmp/multipartBody1266341131490117905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804603161,"filename":"image_05112025_15_08_58_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f18505ff8cb4d6469acfddfbdbf3d173.jpg","text":"TemporaryFile(/tmp/multipartBody987098542111983320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804603161,"filename":"image_05112025_15_09_03_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/15/6c68ca0940c47648d4ea5a42a167d4b5.jpg","text":"TemporaryFile(/tmp/multipartBody9160603565468532658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804603161,"filename":"image_05112025_15_09_12_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3a2916cb40edf616a86234de62b82f59.jpg","text":"TemporaryFile(/tmp/multipartBody4625985455015832940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804603161,"filename":"image_05112025_15_09_00_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399512006","file1":"1399512004","file0":"1399511989","file4":"1399512008","file5":"1399512009","file3":"1399512007"},"map_files_photo_id_array":[{"photo_id":"1399512009","filename":"file5"},{"photo_id":"1399512006","filename":"file2"},{"photo_id":"1399512008","filename":"file4"},{"photo_id":"1399512004","filename":"file1"},{"photo_id":"1399511989","filename":"file0"},{"photo_id":"1399512007","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399512008":["hashtag1","hashtag2"]},{"1399511989":["hashtag1","hashtag2"]},{"1399512004":["hashtag1","hashtag2"]},{"1399512007":["hashtag1","hashtag2"]},{"1399512009":["hashtag1","hashtag2"]},{"1399512006":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399512008, 1399511989, 1399512004, 1399512007, 1399512009, 1399512006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4311785697937 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 14:16:22.656816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/41/image_15122025_13_41_24_9658.jpg', '/home/pi/Desktop/images/15122025/13/41/image_15122025_13_41_35_10885.jpg', '/home/pi/Desktop/images/15122025/13/41/image_15122025_13_41_44_9656.jpg', '/home/pi/Desktop/images/15122025/13/41/image_15122025_13_41_54_9837.jpg', '/home/pi/Desktop/images/15122025/13/41/image_15122025_13_42_04_9768.jpg', '/home/pi/Desktop/images/15122025/13/42/image_15122025_13_42_15_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/41/image_15122025_13_41_24_9658.jpg
/home/pi/Desktop/images/15122025/13/41/image_15122025_13_41_35_10885.jpg
/home/pi/Desktop/images/15122025/13/41/image_15122025_13_41_44_9656.jpg
/home/pi/Desktop/images/15122025/13/41/image_15122025_13_41_54_9837.jpg
/home/pi/Desktop/images/15122025/13/41/image_15122025_13_42_04_9768.jpg
/home/pi/Desktop/images/15122025/13/42/image_15122025_13_42_15_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":["1399512032","1399512035","1399512023","1399512017","1399512028","1399512030"],"photo_ids_order":["1399512017","1399512023","1399512028","1399512030","1399512032","1399512035"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/43ed40cfc318cc124d968de39070e41b.jpg","text":"TemporaryFile(/tmp/multipartBody6891228162075793711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804643358,"filename":"image_15122025_13_42_04_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2463dd8a89965cca8dc6e45317496c6f.jpg","text":"TemporaryFile(/tmp/multipartBody4423425775429404200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804643358,"filename":"image_15122025_13_42_15_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/41f3625b56a15ce80e2920d1d00d085a.jpg","text":"TemporaryFile(/tmp/multipartBody4269216757060808523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804643358,"filename":"image_15122025_13_41_35_10885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/94a77190cd9172f463a87def24a03e1b.jpg","text":"TemporaryFile(/tmp/multipartBody6398695210860660350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804643358,"filename":"image_15122025_13_41_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/15/c9d181bc2e97e9fc8dd2846f3d5c846d.jpg","text":"TemporaryFile(/tmp/multipartBody6146169813593405501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804643358,"filename":"image_15122025_13_41_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/15/1e6c26594ed909409b2095070e7e9f51.jpg","text":"TemporaryFile(/tmp/multipartBody3606594483336427376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804643358,"filename":"image_15122025_13_41_54_9837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399512028","file1":"1399512023","file0":"1399512017","file4":"1399512032","file5":"1399512035","file3":"1399512030"},"map_files_photo_id_array":[{"photo_id":"1399512035","filename":"file5"},{"photo_id":"1399512028","filename":"file2"},{"photo_id":"1399512032","filename":"file4"},{"photo_id":"1399512023","filename":"file1"},{"photo_id":"1399512017","filename":"file0"},{"photo_id":"1399512030","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399512032":["hashtag1","hashtag2"]},{"1399512035":["hashtag1","hashtag2"]},{"1399512023":["hashtag1","hashtag2"]},{"1399512017":["hashtag1","hashtag2"]},{"1399512028":["hashtag1","hashtag2"]},{"1399512030":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399512032, 1399512035, 1399512023, 1399512017, 1399512028, 1399512030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75929117202759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 14:17:02.729847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/42/image_15122025_13_42_24_9728.jpg', '/home/pi/Desktop/images/15122025/13/42/image_15122025_13_42_34_9732.jpg', '/home/pi/Desktop/images/15122025/13/42/image_15122025_13_42_45_10659.jpg', '/home/pi/Desktop/images/15122025/13/42/image_15122025_13_42_55_9908.jpg', '/home/pi/Desktop/images/15122025/13/42/image_15122025_13_43_04_9617.jpg', '/home/pi/Desktop/images/15122025/13/43/image_15122025_13_43_14_9835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/42/image_15122025_13_42_24_9728.jpg
/home/pi/Desktop/images/15122025/13/42/image_15122025_13_42_34_9732.jpg
/home/pi/Desktop/images/15122025/13/42/image_15122025_13_42_45_10659.jpg
/home/pi/Desktop/images/15122025/13/42/image_15122025_13_42_55_9908.jpg
/home/pi/Desktop/images/15122025/13/42/image_15122025_13_43_04_9617.jpg
/home/pi/Desktop/images/15122025/13/43/image_15122025_13_43_14_9835.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399512040","1399512052","1399512060","1399512054","1399512042","1399512056"],"photo_ids_order":["1399512040","1399512042","1399512052","1399512054","1399512056","1399512060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1662758f0e9f257b7c8ac27324da647e.jpg","text":"TemporaryFile(/tmp/multipartBody9057630196595063865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804683426,"filename":"image_15122025_13_42_24_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/557182a520d2f900411381690ec8a485.jpg","text":"TemporaryFile(/tmp/multipartBody8093242860585929588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804683426,"filename":"image_15122025_13_42_45_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8b327cd8a576d9c3ae3a4c1b2fc0fb69.jpg","text":"TemporaryFile(/tmp/multipartBody5762915173754987399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804683426,"filename":"image_15122025_13_43_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/15/1b9074c62e04b98acb126af0563a8a85.jpg","text":"TemporaryFile(/tmp/multipartBody7271720856730165945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804683426,"filename":"image_15122025_13_42_55_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/15/d5ac4aa76ff4057f93560b538bfcced2.jpg","text":"TemporaryFile(/tmp/multipartBody1185605764386039082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804683426,"filename":"image_15122025_13_42_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/15/4873c5ef247b3893217ce373907b830d.jpg","text":"TemporaryFile(/tmp/multipartBody5072955872346855884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804683426,"filename":"image_15122025_13_43_04_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399512052","file1":"1399512042","file0":"1399512040","file4":"1399512056","file5":"1399512060","file3":"1399512054"},"map_files_photo_id_array":[{"photo_id":"1399512060","filename":"file5"},{"photo_id":"1399512052","filename":"file2"},{"photo_id":"1399512056","filename":"file4"},{"photo_id":"1399512042","filename":"file1"},{"photo_id":"1399512040","filename":"file0"},{"photo_id":"1399512054","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399512040":["hashtag1","hashtag2"]},{"1399512052":["hashtag1","hashtag2"]},{"1399512060":["hashtag1","hashtag2"]},{"1399512054":["hashtag1","hashtag2"]},{"1399512042":["hashtag1","hashtag2"]},{"1399512056":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399512040, 1399512052, 1399512060, 1399512054, 1399512042, 1399512056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9574670791626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 14:17:41.949443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_15_2967.jpg', '/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_21_2722.jpg', '/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_24_2609.jpg', '/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_28_3772.jpg', '/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_31_2748.jpg', '/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_33_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_15_2967.jpg
/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_21_2722.jpg
/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_24_2609.jpg
/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_28_3772.jpg
/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_31_2748.jpg
/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_33_2649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399512068","1399512082","1399512081","1399512078","1399512080","1399512083"],"photo_ids_order":["1399512068","1399512078","1399512080","1399512081","1399512082","1399512083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/19bb11320a1ae6fb963ed077cd864ae6.jpg","text":"TemporaryFile(/tmp/multipartBody4043808894013224648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804722694,"filename":"image_05112025_15_09_15_2967.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/20e25564fbf06b0d5f3bb2c100bfbcbb.jpg","text":"TemporaryFile(/tmp/multipartBody1043455308554694894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804722694,"filename":"image_05112025_15_09_31_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4e8a3365c109e5535a9813811a1dd0fe.jpg","text":"TemporaryFile(/tmp/multipartBody3954736610822220807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804722694,"filename":"image_05112025_15_09_28_3772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/88cb3010ba00f4aac9179168a29fdcdb.jpg","text":"TemporaryFile(/tmp/multipartBody2704295533868417178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804722694,"filename":"image_05112025_15_09_21_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/15/db5227d6cf4c3466585f695da15db9dd.jpg","text":"TemporaryFile(/tmp/multipartBody7883111040161144888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804722694,"filename":"image_05112025_15_09_24_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/15/612c3395a4337c85f7abe518cf377648.jpg","text":"TemporaryFile(/tmp/multipartBody2874087834738842241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804722694,"filename":"image_05112025_15_09_33_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399512080","file1":"1399512078","file0":"1399512068","file4":"1399512082","file5":"1399512083","file3":"1399512081"},"map_files_photo_id_array":[{"photo_id":"1399512083","filename":"file5"},{"photo_id":"1399512080","filename":"file2"},{"photo_id":"1399512082","filename":"file4"},{"photo_id":"1399512078","filename":"file1"},{"photo_id":"1399512068","filename":"file0"},{"photo_id":"1399512081","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399512068":["hashtag1","hashtag2"]},{"1399512082":["hashtag1","hashtag2"]},{"1399512081":["hashtag1","hashtag2"]},{"1399512078":["hashtag1","hashtag2"]},{"1399512080":["hashtag1","hashtag2"]},{"1399512083":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399512068, 1399512082, 1399512081, 1399512078, 1399512080, 1399512083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.967456579208374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 14:18:22.170624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/43/image_15122025_13_43_25_10620.jpg', '/home/pi/Desktop/images/15122025/13/43/image_15122025_13_43_34_9609.jpg', '/home/pi/Desktop/images/15122025/13/43/image_15122025_13_43_44_9767.jpg', '/home/pi/Desktop/images/15122025/13/43/image_15122025_13_43_54_9914.jpg', '/home/pi/Desktop/images/15122025/13/43/image_15122025_13_44_05_10690.jpg', '/home/pi/Desktop/images/15122025/13/44/image_15122025_13_44_14_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/43/image_15122025_13_43_25_10620.jpg
/home/pi/Desktop/images/15122025/13/43/image_15122025_13_43_34_9609.jpg
/home/pi/Desktop/images/15122025/13/43/image_15122025_13_43_44_9767.jpg
/home/pi/Desktop/images/15122025/13/43/image_15122025_13_43_54_9914.jpg
/home/pi/Desktop/images/15122025/13/43/image_15122025_13_44_05_10690.jpg
/home/pi/Desktop/images/15122025/13/44/image_15122025_13_44_14_9668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399512091","1399512088","1399512093","1399512102","1399512089","1399512098"],"photo_ids_order":["1399512088","1399512089","1399512091","1399512093","1399512098","1399512102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/943f21053a89777a61e387a7c01af209.jpg","text":"TemporaryFile(/tmp/multipartBody6479541077102176624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804762800,"filename":"image_15122025_13_43_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/15/5571215c5be80e234869d409fa0c201d.jpg","text":"TemporaryFile(/tmp/multipartBody5234634645973043513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804762800,"filename":"image_15122025_13_43_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/15/682847605393618ca8e419fa769a7ff4.jpg","text":"TemporaryFile(/tmp/multipartBody75485314411934190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804762800,"filename":"image_15122025_13_43_54_9914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d54c238a3c4d8788a652814cdf425ad8.jpg","text":"TemporaryFile(/tmp/multipartBody2466094179302484100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804762800,"filename":"image_15122025_13_44_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/15/d887e7bb71b19e801a4b06cb661cce4b.jpg","text":"TemporaryFile(/tmp/multipartBody8887860805219060484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804762800,"filename":"image_15122025_13_43_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/15/742cbfe71028f60552167d2185679bea.jpg","text":"TemporaryFile(/tmp/multipartBody2085437094902218331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804762800,"filename":"image_15122025_13_44_05_10690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399512091","file1":"1399512089","file0":"1399512088","file4":"1399512098","file5":"1399512102","file3":"1399512093"},"map_files_photo_id_array":[{"photo_id":"1399512102","filename":"file5"},{"photo_id":"1399512091","filename":"file2"},{"photo_id":"1399512098","filename":"file4"},{"photo_id":"1399512089","filename":"file1"},{"photo_id":"1399512088","filename":"file0"},{"photo_id":"1399512093","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399512091":["hashtag1","hashtag2"]},{"1399512088":["hashtag1","hashtag2"]},{"1399512093":["hashtag1","hashtag2"]},{"1399512102":["hashtag1","hashtag2"]},{"1399512089":["hashtag1","hashtag2"]},{"1399512098":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399512091, 1399512088, 1399512093, 1399512102, 1399512089, 1399512098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.392388105392456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 14:19:03.431477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/44/image_15122025_13_44_24_9680.jpg', '/home/pi/Desktop/images/15122025/13/44/image_15122025_13_44_34_9767.jpg', '/home/pi/Desktop/images/15122025/13/44/image_15122025_13_44_45_10750.jpg', '/home/pi/Desktop/images/15122025/13/44/image_15122025_13_44_55_9849.jpg', '/home/pi/Desktop/images/15122025/13/44/image_15122025_13_45_04_9754.jpg', '/home/pi/Desktop/images/15122025/13/45/image_15122025_13_45_14_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/44/image_15122025_13_44_24_9680.jpg
/home/pi/Desktop/images/15122025/13/44/image_15122025_13_44_34_9767.jpg
/home/pi/Desktop/images/15122025/13/44/image_15122025_13_44_45_10750.jpg
/home/pi/Desktop/images/15122025/13/44/image_15122025_13_44_55_9849.jpg
/home/pi/Desktop/images/15122025/13/44/image_15122025_13_45_04_9754.jpg
/home/pi/Desktop/images/15122025/13/45/image_15122025_13_45_14_9664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399512121","1399512130","1399512213","1399512114","1399512123","1399512173"],"photo_ids_order":["1399512114","1399512121","1399512123","1399512130","1399512173","1399512213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/633c51a1dfe536ea4370e42788399a41.jpg","text":"TemporaryFile(/tmp/multipartBody5836325638196086791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804804257,"filename":"image_15122025_13_44_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/15/880c2825956b4715e6bb76542de67583.jpg","text":"TemporaryFile(/tmp/multipartBody8144868326434922411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804804257,"filename":"image_15122025_13_44_55_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/15/cea5b5bc923da60a0e61ae1fac3fae25.jpg","text":"TemporaryFile(/tmp/multipartBody3373189777273580986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804804257,"filename":"image_15122025_13_45_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/15/a8359baeab260c993db8b0e7ce57e6ad.jpg","text":"TemporaryFile(/tmp/multipartBody924334125273307235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804804257,"filename":"image_15122025_13_44_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/15/f4ff40bd96051af86111dc0aba75eedf.jpg","text":"TemporaryFile(/tmp/multipartBody3273548489555894208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804804257,"filename":"image_15122025_13_44_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/15/3b5a804d1f82b2a14be05cf0af977d64.jpg","text":"TemporaryFile(/tmp/multipartBody4450040431318432697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804804257,"filename":"image_15122025_13_45_04_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399512123","file1":"1399512121","file0":"1399512114","file4":"1399512173","file5":"1399512213","file3":"1399512130"},"map_files_photo_id_array":[{"photo_id":"1399512213","filename":"file5"},{"photo_id":"1399512123","filename":"file2"},{"photo_id":"1399512173","filename":"file4"},{"photo_id":"1399512121","filename":"file1"},{"photo_id":"1399512114","filename":"file0"},{"photo_id":"1399512130","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399512121":["hashtag1","hashtag2"]},{"1399512130":["hashtag1","hashtag2"]},{"1399512213":["hashtag1","hashtag2"]},{"1399512114":["hashtag1","hashtag2"]},{"1399512123":["hashtag1","hashtag2"]},{"1399512173":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399512121, 1399512130, 1399512213, 1399512114, 1399512123, 1399512173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.42809748649597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 14:20:03.002745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/45/image_15122025_13_45_25_10719.jpg', '/home/pi/Desktop/images/15122025/13/45/image_15122025_13_45_34_9556.jpg', '/home/pi/Desktop/images/15122025/13/45/image_15122025_13_45_44_9705.jpg', '/home/pi/Desktop/images/15122025/13/45/image_15122025_13_45_55_10666.jpg', '/home/pi/Desktop/images/15122025/13/45/image_15122025_13_46_04_9758.jpg', '/home/pi/Desktop/images/15122025/13/46/image_15122025_13_46_14_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/45/image_15122025_13_45_25_10719.jpg
/home/pi/Desktop/images/15122025/13/45/image_15122025_13_45_34_9556.jpg
/home/pi/Desktop/images/15122025/13/45/image_15122025_13_45_44_9705.jpg
/home/pi/Desktop/images/15122025/13/45/image_15122025_13_45_55_10666.jpg
/home/pi/Desktop/images/15122025/13/45/image_15122025_13_46_04_9758.jpg
/home/pi/Desktop/images/15122025/13/46/image_15122025_13_46_14_9684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399512416","1399512413","1399512407","1399512409","1399512411","1399512405"],"photo_ids_order":["1399512405","1399512407","1399512409","1399512411","1399512413","1399512416"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f200d1bc24dc0755e31b83658429cf12.jpg","text":"TemporaryFile(/tmp/multipartBody4647020659525293589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804863654,"filename":"image_15122025_13_46_14_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f6b1686332ee731edc6282373fe7bdfb.jpg","text":"TemporaryFile(/tmp/multipartBody7331134444689695804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804863654,"filename":"image_15122025_13_46_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/15/53b2d5b316a1c452826dcf4b99deb1ea.jpg","text":"TemporaryFile(/tmp/multipartBody1286569402829675412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804863654,"filename":"image_15122025_13_45_34_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/27b3f8be650d0ade5db3c0c77cf64ff1.jpg","text":"TemporaryFile(/tmp/multipartBody3869744712274150273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804863654,"filename":"image_15122025_13_45_44_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cbaf62eb005557e36091ba0c5e60906b.jpg","text":"TemporaryFile(/tmp/multipartBody5801214769546384209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804863654,"filename":"image_15122025_13_45_55_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a8aafdc3965eb9b21cb376b9ada9464f.jpg","text":"TemporaryFile(/tmp/multipartBody3431678117159443178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804863654,"filename":"image_15122025_13_45_25_10719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399512409","file1":"1399512407","file0":"1399512405","file4":"1399512413","file5":"1399512416","file3":"1399512411"},"map_files_photo_id_array":[{"photo_id":"1399512416","filename":"file5"},{"photo_id":"1399512409","filename":"file2"},{"photo_id":"1399512413","filename":"file4"},{"photo_id":"1399512407","filename":"file1"},{"photo_id":"1399512405","filename":"file0"},{"photo_id":"1399512411","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399512416":["hashtag1","hashtag2"]},{"1399512413":["hashtag1","hashtag2"]},{"1399512407":["hashtag1","hashtag2"]},{"1399512409":["hashtag1","hashtag2"]},{"1399512411":["hashtag1","hashtag2"]},{"1399512405":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399512416, 1399512413, 1399512407, 1399512409, 1399512411, 1399512405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.23799014091492 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 14:20:42.686679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_36_2624.jpg', '/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_39_3630.jpg', '/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_42_2735.jpg', '/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_45_2676.jpg', '/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_49_3728.jpg', '/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_51_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_36_2624.jpg
/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_39_3630.jpg
/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_42_2735.jpg
/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_45_2676.jpg
/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_49_3728.jpg
/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_51_2719.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6097533702850342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 14:21:02.645788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/46/image_15122025_13_46_25_10551.jpg', '/home/pi/Desktop/images/15122025/13/46/image_15122025_13_46_34_9723.jpg', '/home/pi/Desktop/images/15122025/13/46/image_15122025_13_46_44_9765.jpg', '/home/pi/Desktop/images/15122025/13/46/image_15122025_13_46_54_9781.jpg', '/home/pi/Desktop/images/15122025/13/46/image_15122025_13_47_04_10654.jpg', '/home/pi/Desktop/images/15122025/13/47/image_15122025_13_47_14_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/46/image_15122025_13_46_25_10551.jpg
/home/pi/Desktop/images/15122025/13/46/image_15122025_13_46_34_9723.jpg
/home/pi/Desktop/images/15122025/13/46/image_15122025_13_46_44_9765.jpg
/home/pi/Desktop/images/15122025/13/46/image_15122025_13_46_54_9781.jpg
/home/pi/Desktop/images/15122025/13/46/image_15122025_13_47_04_10654.jpg
/home/pi/Desktop/images/15122025/13/47/image_15122025_13_47_14_9574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399512457","1399512454","1399512459","1399512450","1399512447","1399512452"],"photo_ids_order":["1399512447","1399512450","1399512452","1399512454","1399512457","1399512459"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/641fe5838c7be6d980d6d8685b819a9a.jpg","text":"TemporaryFile(/tmp/multipartBody4990580806906747540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804923399,"filename":"image_15122025_13_47_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/15/cc7f4250edd8e67879e4cc3f1ea8cca2.jpg","text":"TemporaryFile(/tmp/multipartBody1938794477728431005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804923399,"filename":"image_15122025_13_46_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/15/fcf390f088c136cd044dc3af3339a33b.jpg","text":"TemporaryFile(/tmp/multipartBody2917398522638489320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804923399,"filename":"image_15122025_13_47_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/15/4b7f691d43c8c361d7fab4f6b4ddc79b.jpg","text":"TemporaryFile(/tmp/multipartBody390482964130495162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804923399,"filename":"image_15122025_13_46_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/15/f4c7163c26025a90f9c76c90dd98e973.jpg","text":"TemporaryFile(/tmp/multipartBody5577378382776168173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804923399,"filename":"image_15122025_13_46_25_10551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1538ebeec2123f3229f12f4efca04214.jpg","text":"TemporaryFile(/tmp/multipartBody8588878552182049172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804923399,"filename":"image_15122025_13_46_44_9765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399512452","file1":"1399512450","file0":"1399512447","file4":"1399512457","file5":"1399512459","file3":"1399512454"},"map_files_photo_id_array":[{"photo_id":"1399512459","filename":"file5"},{"photo_id":"1399512452","filename":"file2"},{"photo_id":"1399512457","filename":"file4"},{"photo_id":"1399512450","filename":"file1"},{"photo_id":"1399512447","filename":"file0"},{"photo_id":"1399512454","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399512457":["hashtag1","hashtag2"]},{"1399512454":["hashtag1","hashtag2"]},{"1399512459":["hashtag1","hashtag2"]},{"1399512450":["hashtag1","hashtag2"]},{"1399512447":["hashtag1","hashtag2"]},{"1399512452":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399512457, 1399512454, 1399512459, 1399512450, 1399512447, 1399512452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.85000514984131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 14:22:02.648094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/47/image_15122025_13_47_25_10625.jpg', '/home/pi/Desktop/images/15122025/13/47/image_15122025_13_47_34_9607.jpg', '/home/pi/Desktop/images/15122025/13/47/image_15122025_13_47_44_9866.jpg', '/home/pi/Desktop/images/15122025/13/47/image_15122025_13_47_54_9876.jpg', '/home/pi/Desktop/images/15122025/13/47/image_15122025_13_48_05_10709.jpg', '/home/pi/Desktop/images/15122025/13/48/image_15122025_13_48_15_9808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/47/image_15122025_13_47_25_10625.jpg
/home/pi/Desktop/images/15122025/13/47/image_15122025_13_47_34_9607.jpg
/home/pi/Desktop/images/15122025/13/47/image_15122025_13_47_44_9866.jpg
/home/pi/Desktop/images/15122025/13/47/image_15122025_13_47_54_9876.jpg
/home/pi/Desktop/images/15122025/13/47/image_15122025_13_48_05_10709.jpg
/home/pi/Desktop/images/15122025/13/48/image_15122025_13_48_15_9808.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399512469","1399512471","1399512465","1399512473","1399512467","1399512476"],"photo_ids_order":["1399512465","1399512467","1399512469","1399512471","1399512473","1399512476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/77cb03d942871b48e87da20412526eed.jpg","text":"TemporaryFile(/tmp/multipartBody5372139422124954018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804983321,"filename":"image_15122025_13_47_44_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/15/ce99639a6bc3c9d6346a2fd38c75ce40.jpg","text":"TemporaryFile(/tmp/multipartBody8473349906975353407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804983321,"filename":"image_15122025_13_47_54_9876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/76d337a25228a2378ae3e16ad35f6fbf.jpg","text":"TemporaryFile(/tmp/multipartBody2246039014004983325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804983321,"filename":"image_15122025_13_47_25_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c62dc431f2b69ccc92add9b792a856b8.jpg","text":"TemporaryFile(/tmp/multipartBody734397793548700759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804983321,"filename":"image_15122025_13_48_05_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3fad4a103466647121c12a828ed844a4.jpg","text":"TemporaryFile(/tmp/multipartBody9126121210877266218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804983321,"filename":"image_15122025_13_47_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/15/d0a26f6daec35d4e7f04d230c8df22f7.jpg","text":"TemporaryFile(/tmp/multipartBody4093340934552670969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765804983321,"filename":"image_15122025_13_48_15_9808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399512469","file1":"1399512467","file0":"1399512465","file4":"1399512473","file5":"1399512476","file3":"1399512471"},"map_files_photo_id_array":[{"photo_id":"1399512476","filename":"file5"},{"photo_id":"1399512469","filename":"file2"},{"photo_id":"1399512473","filename":"file4"},{"photo_id":"1399512467","filename":"file1"},{"photo_id":"1399512465","filename":"file0"},{"photo_id":"1399512471","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399512469":["hashtag1","hashtag2"]},{"1399512471":["hashtag1","hashtag2"]},{"1399512465":["hashtag1","hashtag2"]},{"1399512473":["hashtag1","hashtag2"]},{"1399512467":["hashtag1","hashtag2"]},{"1399512476":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399512469, 1399512471, 1399512465, 1399512473, 1399512467, 1399512476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5899178981781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 14:22:42.242057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_36_2624.jpg', '/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_39_3630.jpg', '/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_42_2735.jpg', '/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_45_2676.jpg', '/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_49_3728.jpg', '/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_51_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_36_2624.jpg
/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_39_3630.jpg
/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_42_2735.jpg
/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_45_2676.jpg
/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_49_3728.jpg
/home/pi/Desktop/images/05112025/15/09/image_05112025_15_09_51_2719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399512490","1399512486","1399512489","1399512483","1399512491","1399512488"],"photo_ids_order":["1399512483","1399512486","1399512488","1399512489","1399512490","1399512491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b78d939e1c788d2f5b258705057247a9.jpg","text":"TemporaryFile(/tmp/multipartBody3664354743855011940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805022839,"filename":"image_05112025_15_09_49_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/15/92e85fbea410d37ea5e58467a666a287.jpg","text":"TemporaryFile(/tmp/multipartBody3530315617826223947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805022839,"filename":"image_05112025_15_09_39_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/15/be01739e32269d614c23195e8e380b4d.jpg","text":"TemporaryFile(/tmp/multipartBody2687003621850635657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805022839,"filename":"image_05112025_15_09_45_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/15/939f2d1de3da67b3c11512360fdcc41c.jpg","text":"TemporaryFile(/tmp/multipartBody278565176070617595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805022839,"filename":"image_05112025_15_09_36_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/15/3d92aeeaae3c599ee24c43b0e5a962b0.jpg","text":"TemporaryFile(/tmp/multipartBody3634959747305531651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805022839,"filename":"image_05112025_15_09_51_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/15/a477c0546cdc5c19b4b324aae5caf0c0.jpg","text":"TemporaryFile(/tmp/multipartBody6940875067890053737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805022839,"filename":"image_05112025_15_09_42_2735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399512488","file1":"1399512486","file0":"1399512483","file4":"1399512490","file5":"1399512491","file3":"1399512489"},"map_files_photo_id_array":[{"photo_id":"1399512491","filename":"file5"},{"photo_id":"1399512488","filename":"file2"},{"photo_id":"1399512490","filename":"file4"},{"photo_id":"1399512486","filename":"file1"},{"photo_id":"1399512483","filename":"file0"},{"photo_id":"1399512489","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399512490":["hashtag1","hashtag2"]},{"1399512486":["hashtag1","hashtag2"]},{"1399512489":["hashtag1","hashtag2"]},{"1399512483":["hashtag1","hashtag2"]},{"1399512491":["hashtag1","hashtag2"]},{"1399512488":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399512490, 1399512486, 1399512489, 1399512483, 1399512491, 1399512488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43218398094177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 14:23:22.582647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/48/image_15122025_13_48_24_9840.jpg', '/home/pi/Desktop/images/15122025/13/48/image_15122025_13_48_34_9718.jpg', '/home/pi/Desktop/images/15122025/13/48/image_15122025_13_48_44_9722.jpg', '/home/pi/Desktop/images/15122025/13/48/image_15122025_13_48_54_10605.jpg', '/home/pi/Desktop/images/15122025/13/48/image_15122025_13_49_04_9704.jpg', '/home/pi/Desktop/images/15122025/13/49/image_15122025_13_49_14_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/48/image_15122025_13_48_24_9840.jpg
/home/pi/Desktop/images/15122025/13/48/image_15122025_13_48_34_9718.jpg
/home/pi/Desktop/images/15122025/13/48/image_15122025_13_48_44_9722.jpg
/home/pi/Desktop/images/15122025/13/48/image_15122025_13_48_54_10605.jpg
/home/pi/Desktop/images/15122025/13/48/image_15122025_13_49_04_9704.jpg
/home/pi/Desktop/images/15122025/13/49/image_15122025_13_49_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":["1399512509","1399512500","1399512496","1399512502","1399512504","1399512507"],"photo_ids_order":["1399512496","1399512500","1399512502","1399512504","1399512507","1399512509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1c77c1207f23cc863c8958e6e022ea13.jpg","text":"TemporaryFile(/tmp/multipartBody4254789567857172664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805063227,"filename":"image_15122025_13_49_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/15/f4d18b5907495c504a29cc7e9866998a.jpg","text":"TemporaryFile(/tmp/multipartBody2382388411865302743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805063227,"filename":"image_15122025_13_48_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/15/513c6c589b0dc382b7ac4dc5378fb79d.jpg","text":"TemporaryFile(/tmp/multipartBody3191218435074615052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805063227,"filename":"image_15122025_13_48_24_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/89e7dec724e83a526c4db932b5f386f1.jpg","text":"TemporaryFile(/tmp/multipartBody7228017775286053371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805063227,"filename":"image_15122025_13_48_44_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8aabeed1bf4b8ed36ccecaa3b2c3f697.jpg","text":"TemporaryFile(/tmp/multipartBody2220545718559301857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805063227,"filename":"image_15122025_13_48_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/15/c3fd934bad55e1d49dced86d8b476a39.jpg","text":"TemporaryFile(/tmp/multipartBody3753724233393346165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805063227,"filename":"image_15122025_13_49_04_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399512502","file1":"1399512500","file0":"1399512496","file4":"1399512507","file5":"1399512509","file3":"1399512504"},"map_files_photo_id_array":[{"photo_id":"1399512509","filename":"file5"},{"photo_id":"1399512502","filename":"file2"},{"photo_id":"1399512507","filename":"file4"},{"photo_id":"1399512500","filename":"file1"},{"photo_id":"1399512496","filename":"file0"},{"photo_id":"1399512504","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399512509":["hashtag1","hashtag2"]},{"1399512500":["hashtag1","hashtag2"]},{"1399512496":["hashtag1","hashtag2"]},{"1399512502":["hashtag1","hashtag2"]},{"1399512504":["hashtag1","hashtag2"]},{"1399512507":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399512509, 1399512500, 1399512496, 1399512502, 1399512504, 1399512507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.67822813987732 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 14:24:03.570394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/49/image_15122025_13_49_25_10723.jpg', '/home/pi/Desktop/images/15122025/13/49/image_15122025_13_49_34_9666.jpg', '/home/pi/Desktop/images/15122025/13/49/image_15122025_13_49_44_9574.jpg', '/home/pi/Desktop/images/15122025/13/49/image_15122025_13_49_55_10704.jpg', '/home/pi/Desktop/images/15122025/13/49/image_15122025_13_50_05_9989.jpg', '/home/pi/Desktop/images/15122025/13/50/image_15122025_13_50_14_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/49/image_15122025_13_49_25_10723.jpg
/home/pi/Desktop/images/15122025/13/49/image_15122025_13_49_34_9666.jpg
/home/pi/Desktop/images/15122025/13/49/image_15122025_13_49_44_9574.jpg
/home/pi/Desktop/images/15122025/13/49/image_15122025_13_49_55_10704.jpg
/home/pi/Desktop/images/15122025/13/49/image_15122025_13_50_05_9989.jpg
/home/pi/Desktop/images/15122025/13/50/image_15122025_13_50_14_9596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399512521","1399512526","1399512516","1399512519","1399512528","1399512513"],"photo_ids_order":["1399512513","1399512516","1399512519","1399512521","1399512526","1399512528"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3d1f6929d7a21c29e20d9b162d183a07.jpg","text":"TemporaryFile(/tmp/multipartBody856733525733661336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805104299,"filename":"image_15122025_13_49_55_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/15/73b0bd57f433e850d32e9840a46ab70a.jpg","text":"TemporaryFile(/tmp/multipartBody562781321647794541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805104299,"filename":"image_15122025_13_50_05_9989.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5494ddac64fe7e638712b31a745f455c.jpg","text":"TemporaryFile(/tmp/multipartBody4730640225726833646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805104299,"filename":"image_15122025_13_49_34_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/78a0892bbb4d955e57ba8e5bae7d3144.jpg","text":"TemporaryFile(/tmp/multipartBody62716363362370281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805104299,"filename":"image_15122025_13_49_44_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c49d19ac20a1928a338b2b0f627e0a35.jpg","text":"TemporaryFile(/tmp/multipartBody5331519961456518363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805104299,"filename":"image_15122025_13_50_14_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/15/dbd1505ea877aca38e15fb2b4aa89af0.jpg","text":"TemporaryFile(/tmp/multipartBody4636283545326666159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805104299,"filename":"image_15122025_13_49_25_10723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399512519","file1":"1399512516","file0":"1399512513","file4":"1399512526","file5":"1399512528","file3":"1399512521"},"map_files_photo_id_array":[{"photo_id":"1399512528","filename":"file5"},{"photo_id":"1399512519","filename":"file2"},{"photo_id":"1399512526","filename":"file4"},{"photo_id":"1399512516","filename":"file1"},{"photo_id":"1399512513","filename":"file0"},{"photo_id":"1399512521","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399512521":["hashtag1","hashtag2"]},{"1399512526":["hashtag1","hashtag2"]},{"1399512516":["hashtag1","hashtag2"]},{"1399512519":["hashtag1","hashtag2"]},{"1399512528":["hashtag1","hashtag2"]},{"1399512513":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399512521, 1399512526, 1399512516, 1399512519, 1399512528, 1399512513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.89361095428467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 14:25:02.796609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/50/image_15122025_13_50_25_10670.jpg', '/home/pi/Desktop/images/15122025/13/50/image_15122025_13_50_34_9661.jpg', '/home/pi/Desktop/images/15122025/13/50/image_15122025_13_50_44_9744.jpg', '/home/pi/Desktop/images/15122025/13/50/image_15122025_13_50_54_9661.jpg', '/home/pi/Desktop/images/15122025/13/50/image_15122025_13_51_04_10076.jpg', '/home/pi/Desktop/images/15122025/13/51/image_15122025_13_51_14_9937.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/50/image_15122025_13_50_25_10670.jpg
/home/pi/Desktop/images/15122025/13/50/image_15122025_13_50_34_9661.jpg
/home/pi/Desktop/images/15122025/13/50/image_15122025_13_50_44_9744.jpg
/home/pi/Desktop/images/15122025/13/50/image_15122025_13_50_54_9661.jpg
/home/pi/Desktop/images/15122025/13/50/image_15122025_13_51_04_10076.jpg
/home/pi/Desktop/images/15122025/13/51/image_15122025_13_51_14_9937.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399512623","1399512574","1399512568","1399512583","1399512576","1399512578"],"photo_ids_order":["1399512568","1399512574","1399512576","1399512578","1399512583","1399512623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/60ffdd34f804deb4d9e0a9f35731a8e1.jpg","text":"TemporaryFile(/tmp/multipartBody522493223731337723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805163494,"filename":"image_15122025_13_51_14_9937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c58726d9eed8e8494849229439396317.jpg","text":"TemporaryFile(/tmp/multipartBody3670616573619751719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805163494,"filename":"image_15122025_13_50_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/15/3b868ae80f92271be0214d0d087d0d32.jpg","text":"TemporaryFile(/tmp/multipartBody4860637709912608149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805163494,"filename":"image_15122025_13_50_25_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fdb03544f4e1241e26740f48fcd2ee97.jpg","text":"TemporaryFile(/tmp/multipartBody2216658917895771506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805163494,"filename":"image_15122025_13_51_04_10076.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2b439537a5ddf5cce477e5f71d04b113.jpg","text":"TemporaryFile(/tmp/multipartBody8026180398454287019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805163494,"filename":"image_15122025_13_50_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/15/5dc21efda6c8b905156eb834e5375b08.jpg","text":"TemporaryFile(/tmp/multipartBody5861974936308718257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805163494,"filename":"image_15122025_13_50_54_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399512576","file1":"1399512574","file0":"1399512568","file4":"1399512583","file5":"1399512623","file3":"1399512578"},"map_files_photo_id_array":[{"photo_id":"1399512623","filename":"file5"},{"photo_id":"1399512576","filename":"file2"},{"photo_id":"1399512583","filename":"file4"},{"photo_id":"1399512574","filename":"file1"},{"photo_id":"1399512568","filename":"file0"},{"photo_id":"1399512578","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399512623":["hashtag1","hashtag2"]},{"1399512574":["hashtag1","hashtag2"]},{"1399512568":["hashtag1","hashtag2"]},{"1399512583":["hashtag1","hashtag2"]},{"1399512576":["hashtag1","hashtag2"]},{"1399512578":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399512623, 1399512574, 1399512568, 1399512583, 1399512576, 1399512578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.347551345825195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 14:25:42.064196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/09/image_05112025_15_10_01_3739.jpg', '/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_03_2692.jpg', '/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_06_2693.jpg', '/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_09_2689.jpg', '/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_13_3721.jpg', '/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_15_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/09/image_05112025_15_10_01_3739.jpg
/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_03_2692.jpg
/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_06_2693.jpg
/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_09_2689.jpg
/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_13_3721.jpg
/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_15_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":["1399512787","1399512673","1399512718","1399512672","1399512671","1399512668"],"photo_ids_order":["1399512668","1399512671","1399512672","1399512673","1399512718","1399512787"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/511c437307ebf60a5c8a2dd34b60fb48.jpg","text":"TemporaryFile(/tmp/multipartBody1480639438301347431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805202786,"filename":"image_05112025_15_10_15_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/15/716bab29e0268a4879dee476a87b9ca7.jpg","text":"TemporaryFile(/tmp/multipartBody894570102614169294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805202786,"filename":"image_05112025_15_10_09_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/15/4af3638d5e75927b745b7735b18db437.jpg","text":"TemporaryFile(/tmp/multipartBody3840120074550256014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805202786,"filename":"image_05112025_15_10_13_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/15/ea435c8cb9859e7b282edf9bf6e55362.jpg","text":"TemporaryFile(/tmp/multipartBody6544864392320794956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805202786,"filename":"image_05112025_15_10_06_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/15/a5e139592db2613c817694e55ebf873d.jpg","text":"TemporaryFile(/tmp/multipartBody4626079969475963725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805202786,"filename":"image_05112025_15_10_03_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/15/f896b2902c7511cb07b3747960a21848.jpg","text":"TemporaryFile(/tmp/multipartBody5370787629984586405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805202786,"filename":"image_05112025_15_10_01_3739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399512672","file1":"1399512671","file0":"1399512668","file4":"1399512718","file5":"1399512787","file3":"1399512673"},"map_files_photo_id_array":[{"photo_id":"1399512787","filename":"file5"},{"photo_id":"1399512672","filename":"file2"},{"photo_id":"1399512718","filename":"file4"},{"photo_id":"1399512671","filename":"file1"},{"photo_id":"1399512668","filename":"file0"},{"photo_id":"1399512673","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399512787":["hashtag1","hashtag2"]},{"1399512673":["hashtag1","hashtag2"]},{"1399512718":["hashtag1","hashtag2"]},{"1399512672":["hashtag1","hashtag2"]},{"1399512671":["hashtag1","hashtag2"]},{"1399512668":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399512787, 1399512673, 1399512718, 1399512672, 1399512671, 1399512668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.328763008117676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 14:26:22.356138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/51/image_15122025_13_51_25_10736.jpg', '/home/pi/Desktop/images/15122025/13/51/image_15122025_13_51_34_9656.jpg', '/home/pi/Desktop/images/15122025/13/51/image_15122025_13_51_44_9678.jpg', '/home/pi/Desktop/images/15122025/13/51/image_15122025_13_51_55_10726.jpg', '/home/pi/Desktop/images/15122025/13/51/image_15122025_13_52_04_9699.jpg', '/home/pi/Desktop/images/15122025/13/52/image_15122025_13_52_14_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/51/image_15122025_13_51_25_10736.jpg
/home/pi/Desktop/images/15122025/13/51/image_15122025_13_51_34_9656.jpg
/home/pi/Desktop/images/15122025/13/51/image_15122025_13_51_44_9678.jpg
/home/pi/Desktop/images/15122025/13/51/image_15122025_13_51_55_10726.jpg
/home/pi/Desktop/images/15122025/13/51/image_15122025_13_52_04_9699.jpg
/home/pi/Desktop/images/15122025/13/52/image_15122025_13_52_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":["1399512821","1399512849","1399512825","1399512819","1399512842","1399512791"],"photo_ids_order":["1399512791","1399512819","1399512821","1399512825","1399512842","1399512849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4eb2577d26649fa45397b8d07b5056ee.jpg","text":"TemporaryFile(/tmp/multipartBody2086467776402358433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805243035,"filename":"image_15122025_13_51_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/15/ee2f829dd7ee30ba91b1f96ab7b754d1.jpg","text":"TemporaryFile(/tmp/multipartBody7668658501963962229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805243035,"filename":"image_15122025_13_52_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/15/b4edd61227c03fdb425ef9c3974a66ec.jpg","text":"TemporaryFile(/tmp/multipartBody14541379471023570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805243035,"filename":"image_15122025_13_51_55_10726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0d733d575d70f67f698d12e30a9b23a9.jpg","text":"TemporaryFile(/tmp/multipartBody7657101851224147197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805243035,"filename":"image_15122025_13_51_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/15/4fa0ebbcb2b4c0db553c7abfc406fedc.jpg","text":"TemporaryFile(/tmp/multipartBody3724070988436775839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805243035,"filename":"image_15122025_13_52_04_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a76ebfa077949422651e0e49d15f689f.jpg","text":"TemporaryFile(/tmp/multipartBody1536943438500364087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805243035,"filename":"image_15122025_13_51_25_10736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399512821","file1":"1399512819","file0":"1399512791","file4":"1399512842","file5":"1399512849","file3":"1399512825"},"map_files_photo_id_array":[{"photo_id":"1399512849","filename":"file5"},{"photo_id":"1399512821","filename":"file2"},{"photo_id":"1399512842","filename":"file4"},{"photo_id":"1399512819","filename":"file1"},{"photo_id":"1399512791","filename":"file0"},{"photo_id":"1399512825","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399512821":["hashtag1","hashtag2"]},{"1399512849":["hashtag1","hashtag2"]},{"1399512825":["hashtag1","hashtag2"]},{"1399512819":["hashtag1","hashtag2"]},{"1399512842":["hashtag1","hashtag2"]},{"1399512791":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399512821, 1399512849, 1399512825, 1399512819, 1399512842, 1399512791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46910262107849 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 14:27:03.164194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/52/image_15122025_13_52_25_10613.jpg', '/home/pi/Desktop/images/15122025/13/52/image_15122025_13_52_35_9841.jpg', '/home/pi/Desktop/images/15122025/13/52/image_15122025_13_52_44_9592.jpg', '/home/pi/Desktop/images/15122025/13/52/image_15122025_13_52_54_9795.jpg', '/home/pi/Desktop/images/15122025/13/52/image_15122025_13_53_05_10607.jpg', '/home/pi/Desktop/images/15122025/13/53/image_15122025_13_53_14_9797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/52/image_15122025_13_52_25_10613.jpg
/home/pi/Desktop/images/15122025/13/52/image_15122025_13_52_35_9841.jpg
/home/pi/Desktop/images/15122025/13/52/image_15122025_13_52_44_9592.jpg
/home/pi/Desktop/images/15122025/13/52/image_15122025_13_52_54_9795.jpg
/home/pi/Desktop/images/15122025/13/52/image_15122025_13_53_05_10607.jpg
/home/pi/Desktop/images/15122025/13/53/image_15122025_13_53_14_9797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399512865","1399512967","1399512862","1399512859","1399512861","1399512887"],"photo_ids_order":["1399512859","1399512861","1399512862","1399512865","1399512887","1399512967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/70c6ce0306212ffa2e0a911c5daff82c.jpg","text":"TemporaryFile(/tmp/multipartBody686284977121112716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805283903,"filename":"image_15122025_13_52_54_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8c64b70dbba411c937958c073ec1cb85.jpg","text":"TemporaryFile(/tmp/multipartBody3913371240311074605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805283903,"filename":"image_15122025_13_53_14_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/aa2b5137c8d632bc63a2c8829942a65c.jpg","text":"TemporaryFile(/tmp/multipartBody962922819001419417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805283903,"filename":"image_15122025_13_52_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/15/53bf6bd153981a992ce08e02b4dfcd3f.jpg","text":"TemporaryFile(/tmp/multipartBody901220117236989870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805283903,"filename":"image_15122025_13_52_25_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1224a782044f1c5966fd4d40ca3f265d.jpg","text":"TemporaryFile(/tmp/multipartBody8488724799931178204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805283903,"filename":"image_15122025_13_52_35_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/15/0b601f40589d048eb032f68ad2b4c9bf.jpg","text":"TemporaryFile(/tmp/multipartBody2936648447065969236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805283903,"filename":"image_15122025_13_53_05_10607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399512862","file1":"1399512861","file0":"1399512859","file4":"1399512887","file5":"1399512967","file3":"1399512865"},"map_files_photo_id_array":[{"photo_id":"1399512967","filename":"file5"},{"photo_id":"1399512862","filename":"file2"},{"photo_id":"1399512887","filename":"file4"},{"photo_id":"1399512861","filename":"file1"},{"photo_id":"1399512859","filename":"file0"},{"photo_id":"1399512865","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399512865":["hashtag1","hashtag2"]},{"1399512967":["hashtag1","hashtag2"]},{"1399512862":["hashtag1","hashtag2"]},{"1399512859":["hashtag1","hashtag2"]},{"1399512861":["hashtag1","hashtag2"]},{"1399512887":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399512865, 1399512967, 1399512862, 1399512859, 1399512861, 1399512887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80997014045715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 14:27:42.645039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_18_2695.jpg', '/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_21_3090.jpg', '/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_25_3696.jpg', '/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_27_2700.jpg', '/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_30_2598.jpg', '/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_34_3623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_18_2695.jpg
/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_21_3090.jpg
/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_25_3696.jpg
/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_27_2700.jpg
/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_30_2598.jpg
/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_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":["1399512979","1399512976","1399512975","1399512978","1399512980","1399512977"],"photo_ids_order":["1399512975","1399512976","1399512977","1399512978","1399512979","1399512980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fe508488241e8954c71c2eb7d51f45cf.jpg","text":"TemporaryFile(/tmp/multipartBody3481574851601129507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805323365,"filename":"image_05112025_15_10_30_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/15/63a4c45f4e245662d360bf37f394d672.jpg","text":"TemporaryFile(/tmp/multipartBody1093361216904131290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805323365,"filename":"image_05112025_15_10_21_3090.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0d18388cac71b3dd972b83443b907329.jpg","text":"TemporaryFile(/tmp/multipartBody4490200165110527453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805323365,"filename":"image_05112025_15_10_18_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5f291eb7466a0d736098779f97c2e005.jpg","text":"TemporaryFile(/tmp/multipartBody537971923733689499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805323365,"filename":"image_05112025_15_10_27_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/15/80880f15de2d459d91c068da402ce5a9.jpg","text":"TemporaryFile(/tmp/multipartBody5114045867997215471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805323365,"filename":"image_05112025_15_10_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/15/7aee07977e2574f87bcccb4d4c2eb1ca.jpg","text":"TemporaryFile(/tmp/multipartBody8775173268997932244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805323365,"filename":"image_05112025_15_10_25_3696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399512977","file1":"1399512976","file0":"1399512975","file4":"1399512979","file5":"1399512980","file3":"1399512978"},"map_files_photo_id_array":[{"photo_id":"1399512980","filename":"file5"},{"photo_id":"1399512977","filename":"file2"},{"photo_id":"1399512979","filename":"file4"},{"photo_id":"1399512976","filename":"file1"},{"photo_id":"1399512975","filename":"file0"},{"photo_id":"1399512978","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399512979":["hashtag1","hashtag2"]},{"1399512976":["hashtag1","hashtag2"]},{"1399512975":["hashtag1","hashtag2"]},{"1399512978":["hashtag1","hashtag2"]},{"1399512980":["hashtag1","hashtag2"]},{"1399512977":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399512979, 1399512976, 1399512975, 1399512978, 1399512980, 1399512977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13124489784241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 14:28:22.014158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/53/image_15122025_13_53_24_9611.jpg', '/home/pi/Desktop/images/15122025/13/53/image_15122025_13_53_35_10651.jpg', '/home/pi/Desktop/images/15122025/13/53/image_15122025_13_53_44_9702.jpg', '/home/pi/Desktop/images/15122025/13/53/image_15122025_13_53_54_9843.jpg', '/home/pi/Desktop/images/15122025/13/53/image_15122025_13_54_04_9748.jpg', '/home/pi/Desktop/images/15122025/13/54/image_15122025_13_54_15_10741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/53/image_15122025_13_53_24_9611.jpg
/home/pi/Desktop/images/15122025/13/53/image_15122025_13_53_35_10651.jpg
/home/pi/Desktop/images/15122025/13/53/image_15122025_13_53_44_9702.jpg
/home/pi/Desktop/images/15122025/13/53/image_15122025_13_53_54_9843.jpg
/home/pi/Desktop/images/15122025/13/53/image_15122025_13_54_04_9748.jpg
/home/pi/Desktop/images/15122025/13/54/image_15122025_13_54_15_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":["1399512991","1399512988","1399512987","1399512999","1399512984","1399513002"],"photo_ids_order":["1399512984","1399512987","1399512988","1399512991","1399512999","1399513002"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cbfd37e88c2a6c1158a880f82810311e.jpg","text":"TemporaryFile(/tmp/multipartBody7521591004726005827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805362654,"filename":"image_15122025_13_53_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/15/aa464f3feba9da6bd3f23231a4aaab38.jpg","text":"TemporaryFile(/tmp/multipartBody7089013698530130502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805362654,"filename":"image_15122025_13_53_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/15/35b549b182e9b71bc4aca4c4d238d2bc.jpg","text":"TemporaryFile(/tmp/multipartBody6788649866102826892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805362654,"filename":"image_15122025_13_53_35_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2a84739fafe5a5c132529e5b3da52c9e.jpg","text":"TemporaryFile(/tmp/multipartBody65868237769565667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805362654,"filename":"image_15122025_13_54_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/15/d17b9a6fe024cc1deb9c45fcb09cb40d.jpg","text":"TemporaryFile(/tmp/multipartBody7254707007230862523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805362654,"filename":"image_15122025_13_53_24_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/947e04fce319533e4053d7915ba04e64.jpg","text":"TemporaryFile(/tmp/multipartBody5537915122684002010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805362654,"filename":"image_15122025_13_54_15_10741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399512988","file1":"1399512987","file0":"1399512984","file4":"1399512999","file5":"1399513002","file3":"1399512991"},"map_files_photo_id_array":[{"photo_id":"1399513002","filename":"file5"},{"photo_id":"1399512988","filename":"file2"},{"photo_id":"1399512999","filename":"file4"},{"photo_id":"1399512987","filename":"file1"},{"photo_id":"1399512984","filename":"file0"},{"photo_id":"1399512991","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399512991":["hashtag1","hashtag2"]},{"1399512988":["hashtag1","hashtag2"]},{"1399512987":["hashtag1","hashtag2"]},{"1399512999":["hashtag1","hashtag2"]},{"1399512984":["hashtag1","hashtag2"]},{"1399513002":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399512991, 1399512988, 1399512987, 1399512999, 1399512984, 1399513002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.107608795166016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 14:29:03.149279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/54/image_15122025_13_54_24_9713.jpg', '/home/pi/Desktop/images/15122025/13/54/image_15122025_13_54_34_9626.jpg', '/home/pi/Desktop/images/15122025/13/54/image_15122025_13_54_45_10561.jpg', '/home/pi/Desktop/images/15122025/13/54/image_15122025_13_54_54_9726.jpg', '/home/pi/Desktop/images/15122025/13/54/image_15122025_13_55_04_9611.jpg', '/home/pi/Desktop/images/15122025/13/55/image_15122025_13_55_15_10878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/54/image_15122025_13_54_24_9713.jpg
/home/pi/Desktop/images/15122025/13/54/image_15122025_13_54_34_9626.jpg
/home/pi/Desktop/images/15122025/13/54/image_15122025_13_54_45_10561.jpg
/home/pi/Desktop/images/15122025/13/54/image_15122025_13_54_54_9726.jpg
/home/pi/Desktop/images/15122025/13/54/image_15122025_13_55_04_9611.jpg
/home/pi/Desktop/images/15122025/13/55/image_15122025_13_55_15_10878.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399513027","1399513021","1399513024","1399513006","1399513016","1399513019"],"photo_ids_order":["1399513006","1399513016","1399513019","1399513021","1399513024","1399513027"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a9e2ee7d28741de00197c49c131bd61e.jpg","text":"TemporaryFile(/tmp/multipartBody4115426301961615227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805403891,"filename":"image_15122025_13_55_15_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/15/7ee69c42f875b6adeae74e5ce301b5db.jpg","text":"TemporaryFile(/tmp/multipartBody77512376259636493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805403891,"filename":"image_15122025_13_54_54_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c3f6c70cfa7d270ea658bfbda22b9988.jpg","text":"TemporaryFile(/tmp/multipartBody7704067729975114396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805403891,"filename":"image_15122025_13_55_04_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5ecffd5d44607d3691a369f9a5e98a23.jpg","text":"TemporaryFile(/tmp/multipartBody7825909876776398970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805403891,"filename":"image_15122025_13_54_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/15/b264968a262cd7d2d75b5e3682cd0ecd.jpg","text":"TemporaryFile(/tmp/multipartBody8624975111048871677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805403891,"filename":"image_15122025_13_54_34_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/19e3f69a383f40ed5a7f76236e651512.jpg","text":"TemporaryFile(/tmp/multipartBody6156629628654422510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805403891,"filename":"image_15122025_13_54_45_10561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399513019","file1":"1399513016","file0":"1399513006","file4":"1399513024","file5":"1399513027","file3":"1399513021"},"map_files_photo_id_array":[{"photo_id":"1399513027","filename":"file5"},{"photo_id":"1399513019","filename":"file2"},{"photo_id":"1399513024","filename":"file4"},{"photo_id":"1399513016","filename":"file1"},{"photo_id":"1399513006","filename":"file0"},{"photo_id":"1399513021","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399513027":["hashtag1","hashtag2"]},{"1399513021":["hashtag1","hashtag2"]},{"1399513024":["hashtag1","hashtag2"]},{"1399513006":["hashtag1","hashtag2"]},{"1399513016":["hashtag1","hashtag2"]},{"1399513019":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399513027, 1399513021, 1399513024, 1399513006, 1399513016, 1399513019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.04466986656189 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 14:30:02.854146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/55/image_15122025_13_55_24_9591.jpg', '/home/pi/Desktop/images/15122025/13/55/image_15122025_13_55_34_9605.jpg', '/home/pi/Desktop/images/15122025/13/55/image_15122025_13_55_45_10569.jpg', '/home/pi/Desktop/images/15122025/13/55/image_15122025_13_55_54_9813.jpg', '/home/pi/Desktop/images/15122025/13/55/image_15122025_13_56_04_9641.jpg', '/home/pi/Desktop/images/15122025/13/56/image_15122025_13_56_15_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/55/image_15122025_13_55_24_9591.jpg
/home/pi/Desktop/images/15122025/13/55/image_15122025_13_55_34_9605.jpg
/home/pi/Desktop/images/15122025/13/55/image_15122025_13_55_45_10569.jpg
/home/pi/Desktop/images/15122025/13/55/image_15122025_13_55_54_9813.jpg
/home/pi/Desktop/images/15122025/13/55/image_15122025_13_56_04_9641.jpg
/home/pi/Desktop/images/15122025/13/56/image_15122025_13_56_15_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.5642364025115967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 14:30:12.358759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 14:30:22.477803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/55/image_15122025_13_55_24_9591.jpg', '/home/pi/Desktop/images/15122025/13/55/image_15122025_13_55_34_9605.jpg', '/home/pi/Desktop/images/15122025/13/55/image_15122025_13_55_45_10569.jpg', '/home/pi/Desktop/images/15122025/13/55/image_15122025_13_55_54_9813.jpg', '/home/pi/Desktop/images/15122025/13/55/image_15122025_13_56_04_9641.jpg', '/home/pi/Desktop/images/15122025/13/56/image_15122025_13_56_15_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/55/image_15122025_13_55_24_9591.jpg
/home/pi/Desktop/images/15122025/13/55/image_15122025_13_55_34_9605.jpg
/home/pi/Desktop/images/15122025/13/55/image_15122025_13_55_45_10569.jpg
/home/pi/Desktop/images/15122025/13/55/image_15122025_13_55_54_9813.jpg
/home/pi/Desktop/images/15122025/13/55/image_15122025_13_56_04_9641.jpg
/home/pi/Desktop/images/15122025/13/56/image_15122025_13_56_15_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":["1399513066","1399513051","1399513062","1399513059","1399513040","1399513043"],"photo_ids_order":["1399513040","1399513043","1399513051","1399513059","1399513062","1399513066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a55a329d0be1176407f9f73f4e29d53a.jpg","text":"TemporaryFile(/tmp/multipartBody2522444085817872057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805483166,"filename":"image_15122025_13_56_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/15/ccf18a436f0ed4f7996921c6395b99c2.jpg","text":"TemporaryFile(/tmp/multipartBody674514702910639207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805483166,"filename":"image_15122025_13_55_45_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5db560ef01898a5fd7e637a83858d1d7.jpg","text":"TemporaryFile(/tmp/multipartBody6699356838766953351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805483166,"filename":"image_15122025_13_56_04_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/15/81fb9f24b56b4b4b327fc37e80164019.jpg","text":"TemporaryFile(/tmp/multipartBody3049920248400717113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805483166,"filename":"image_15122025_13_55_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/15/fd92f8511f3cf1257c65a64a3ddb42f9.jpg","text":"TemporaryFile(/tmp/multipartBody1058253702078647727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805483166,"filename":"image_15122025_13_55_24_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0f7ec74511891c018affefa94863918d.jpg","text":"TemporaryFile(/tmp/multipartBody4667972307020607937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805483166,"filename":"image_15122025_13_55_34_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399513051","file1":"1399513043","file0":"1399513040","file4":"1399513062","file5":"1399513066","file3":"1399513059"},"map_files_photo_id_array":[{"photo_id":"1399513066","filename":"file5"},{"photo_id":"1399513051","filename":"file2"},{"photo_id":"1399513062","filename":"file4"},{"photo_id":"1399513043","filename":"file1"},{"photo_id":"1399513040","filename":"file0"},{"photo_id":"1399513059","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399513066":["hashtag1","hashtag2"]},{"1399513051":["hashtag1","hashtag2"]},{"1399513062":["hashtag1","hashtag2"]},{"1399513059":["hashtag1","hashtag2"]},{"1399513040":["hashtag1","hashtag2"]},{"1399513043":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399513066, 1399513051, 1399513062, 1399513059, 1399513040, 1399513043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.48730731010437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 14:31:03.241066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/56/image_15122025_13_56_24_9751.jpg', '/home/pi/Desktop/images/15122025/13/56/image_15122025_13_56_34_9589.jpg', '/home/pi/Desktop/images/15122025/13/56/image_15122025_13_56_45_10874.jpg', '/home/pi/Desktop/images/15122025/13/56/image_15122025_13_56_55_9754.jpg', '/home/pi/Desktop/images/15122025/13/56/image_15122025_13_57_04_9836.jpg', '/home/pi/Desktop/images/15122025/13/57/image_15122025_13_57_14_9882.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/56/image_15122025_13_56_24_9751.jpg
/home/pi/Desktop/images/15122025/13/56/image_15122025_13_56_34_9589.jpg
/home/pi/Desktop/images/15122025/13/56/image_15122025_13_56_45_10874.jpg
/home/pi/Desktop/images/15122025/13/56/image_15122025_13_56_55_9754.jpg
/home/pi/Desktop/images/15122025/13/56/image_15122025_13_57_04_9836.jpg
/home/pi/Desktop/images/15122025/13/57/image_15122025_13_57_14_9882.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399513075","1399513069","1399513089","1399513071","1399513091","1399513073"],"photo_ids_order":["1399513069","1399513071","1399513073","1399513075","1399513089","1399513091"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9ebd996f55aac30d892d9885a73a4c1d.jpg","text":"TemporaryFile(/tmp/multipartBody3071531091368296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805523927,"filename":"image_15122025_13_56_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/15/f3bffba71449012c8c4ef71ef05fa48c.jpg","text":"TemporaryFile(/tmp/multipartBody8870990005290252768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805523927,"filename":"image_15122025_13_56_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/15/657fc1d9186c51246e5fa7fce32398c9.jpg","text":"TemporaryFile(/tmp/multipartBody2486852778008073588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805523927,"filename":"image_15122025_13_57_04_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/48ab8c0a02a630fecf8f732369eeec4f.jpg","text":"TemporaryFile(/tmp/multipartBody3871702394514675648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805523927,"filename":"image_15122025_13_56_34_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/24c3b266b46c94dae47a771ef404bfcc.jpg","text":"TemporaryFile(/tmp/multipartBody4581747298153468229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805523927,"filename":"image_15122025_13_57_14_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/84f0f18bc9bb4f609e01bf0cf4b698a1.jpg","text":"TemporaryFile(/tmp/multipartBody3474075915609619250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805523927,"filename":"image_15122025_13_56_45_10874.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399513073","file1":"1399513071","file0":"1399513069","file4":"1399513089","file5":"1399513091","file3":"1399513075"},"map_files_photo_id_array":[{"photo_id":"1399513091","filename":"file5"},{"photo_id":"1399513073","filename":"file2"},{"photo_id":"1399513089","filename":"file4"},{"photo_id":"1399513071","filename":"file1"},{"photo_id":"1399513069","filename":"file0"},{"photo_id":"1399513075","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399513075":["hashtag1","hashtag2"]},{"1399513069":["hashtag1","hashtag2"]},{"1399513089":["hashtag1","hashtag2"]},{"1399513071":["hashtag1","hashtag2"]},{"1399513091":["hashtag1","hashtag2"]},{"1399513073":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399513075, 1399513069, 1399513089, 1399513071, 1399513091, 1399513073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.104151010513306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 14:31:42.759550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_36_2524.jpg', '/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_39_2659.jpg', '/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_43_3739.jpg', '/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_45_2695.jpg', '/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_48_2667.jpg', '/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_54_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_36_2524.jpg
/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_39_2659.jpg
/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_43_3739.jpg
/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_45_2695.jpg
/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_48_2667.jpg
/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_54_2623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399513114","1399513108","1399513111","1399513113","1399513115","1399513112"],"photo_ids_order":["1399513108","1399513111","1399513112","1399513113","1399513114","1399513115"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1f81ccc2f09bf23c1faf7a8f09a83d60.jpg","text":"TemporaryFile(/tmp/multipartBody6274148058725782723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805563464,"filename":"image_05112025_15_10_48_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/15/39acb51cb0b5453ce9a48233fa338362.jpg","text":"TemporaryFile(/tmp/multipartBody2063854579115583025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805563464,"filename":"image_05112025_15_10_36_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/15/d0bd7867f6a775d89edf492bf5737a0f.jpg","text":"TemporaryFile(/tmp/multipartBody1618385871754215809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805563464,"filename":"image_05112025_15_10_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/15/de16d4e3e23cb4416af583d1c31146e0.jpg","text":"TemporaryFile(/tmp/multipartBody2220245265545156561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805563464,"filename":"image_05112025_15_10_45_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/15/998720b4353493804a41485f3cb9b572.jpg","text":"TemporaryFile(/tmp/multipartBody7619073019666749021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805563464,"filename":"image_05112025_15_10_54_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/15/3f1bc9f467c6b102ac1b0e150c510a88.jpg","text":"TemporaryFile(/tmp/multipartBody3023660739600307376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805563464,"filename":"image_05112025_15_10_43_3739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399513112","file1":"1399513111","file0":"1399513108","file4":"1399513114","file5":"1399513115","file3":"1399513113"},"map_files_photo_id_array":[{"photo_id":"1399513115","filename":"file5"},{"photo_id":"1399513112","filename":"file2"},{"photo_id":"1399513114","filename":"file4"},{"photo_id":"1399513111","filename":"file1"},{"photo_id":"1399513108","filename":"file0"},{"photo_id":"1399513113","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399513114":["hashtag1","hashtag2"]},{"1399513108":["hashtag1","hashtag2"]},{"1399513111":["hashtag1","hashtag2"]},{"1399513113":["hashtag1","hashtag2"]},{"1399513115":["hashtag1","hashtag2"]},{"1399513112":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399513114, 1399513108, 1399513111, 1399513113, 1399513115, 1399513112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.942808628082275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 14:32:22.060116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/57/image_15122025_13_57_24_9585.jpg', '/home/pi/Desktop/images/15122025/13/57/image_15122025_13_57_34_10598.jpg', '/home/pi/Desktop/images/15122025/13/57/image_15122025_13_57_44_9729.jpg', '/home/pi/Desktop/images/15122025/13/57/image_15122025_13_57_54_9679.jpg', '/home/pi/Desktop/images/15122025/13/57/image_15122025_13_58_04_10594.jpg', '/home/pi/Desktop/images/15122025/13/58/image_15122025_13_58_14_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/57/image_15122025_13_57_24_9585.jpg
/home/pi/Desktop/images/15122025/13/57/image_15122025_13_57_34_10598.jpg
/home/pi/Desktop/images/15122025/13/57/image_15122025_13_57_44_9729.jpg
/home/pi/Desktop/images/15122025/13/57/image_15122025_13_57_54_9679.jpg
/home/pi/Desktop/images/15122025/13/57/image_15122025_13_58_04_10594.jpg
/home/pi/Desktop/images/15122025/13/58/image_15122025_13_58_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":["1399513132","1399513135","1399513120","1399513122","1399513130","1399513124"],"photo_ids_order":["1399513120","1399513122","1399513124","1399513130","1399513132","1399513135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/181990a5f7d4d199b22f9ef6a4e73f22.jpg","text":"TemporaryFile(/tmp/multipartBody4332604009922830863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805602689,"filename":"image_15122025_13_58_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/15/96b7684d2029adf678003d5ef4396f4a.jpg","text":"TemporaryFile(/tmp/multipartBody1989204400989448698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805602689,"filename":"image_15122025_13_58_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/15/8d111e19c36bd964ceafa79e82e35192.jpg","text":"TemporaryFile(/tmp/multipartBody392043972042984355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805602689,"filename":"image_15122025_13_57_24_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/afbf46f7cb1632f446da7fe6e43c7c64.jpg","text":"TemporaryFile(/tmp/multipartBody4128527643394300024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805602689,"filename":"image_15122025_13_57_34_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ff5fdbaaa5e669fa320cc54059900404.jpg","text":"TemporaryFile(/tmp/multipartBody2000675894931573969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805602689,"filename":"image_15122025_13_57_54_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/13580b56a00a050701c889cacfbb7757.jpg","text":"TemporaryFile(/tmp/multipartBody4702330295280758761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805602689,"filename":"image_15122025_13_57_44_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399513124","file1":"1399513122","file0":"1399513120","file4":"1399513132","file5":"1399513135","file3":"1399513130"},"map_files_photo_id_array":[{"photo_id":"1399513135","filename":"file5"},{"photo_id":"1399513124","filename":"file2"},{"photo_id":"1399513132","filename":"file4"},{"photo_id":"1399513122","filename":"file1"},{"photo_id":"1399513120","filename":"file0"},{"photo_id":"1399513130","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399513132":["hashtag1","hashtag2"]},{"1399513135":["hashtag1","hashtag2"]},{"1399513120":["hashtag1","hashtag2"]},{"1399513122":["hashtag1","hashtag2"]},{"1399513130":["hashtag1","hashtag2"]},{"1399513124":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399513132, 1399513135, 1399513120, 1399513122, 1399513130, 1399513124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92946195602417 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 14:33:02.892978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/58/image_15122025_13_58_25_10593.jpg', '/home/pi/Desktop/images/15122025/13/58/image_15122025_13_58_34_9671.jpg', '/home/pi/Desktop/images/15122025/13/58/image_15122025_13_58_44_9634.jpg', '/home/pi/Desktop/images/15122025/13/58/image_15122025_13_58_55_10691.jpg', '/home/pi/Desktop/images/15122025/13/58/image_15122025_13_59_04_9595.jpg', '/home/pi/Desktop/images/15122025/13/59/image_15122025_13_59_14_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/58/image_15122025_13_58_25_10593.jpg
/home/pi/Desktop/images/15122025/13/58/image_15122025_13_58_34_9671.jpg
/home/pi/Desktop/images/15122025/13/58/image_15122025_13_58_44_9634.jpg
/home/pi/Desktop/images/15122025/13/58/image_15122025_13_58_55_10691.jpg
/home/pi/Desktop/images/15122025/13/58/image_15122025_13_59_04_9595.jpg
/home/pi/Desktop/images/15122025/13/59/image_15122025_13_59_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":["1399513177","1399513153","1399513155","1399513170","1399513151","1399513148"],"photo_ids_order":["1399513148","1399513151","1399513153","1399513155","1399513170","1399513177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b79482a9be55eb40e6a77fb23879b866.jpg","text":"TemporaryFile(/tmp/multipartBody3773007970323419233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805643582,"filename":"image_15122025_13_59_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/15/4261399657bd2bb8d73b71b4637bf418.jpg","text":"TemporaryFile(/tmp/multipartBody7789100548904455482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805643582,"filename":"image_15122025_13_58_44_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/193117e9fc5c2d82f3588c662827e8a9.jpg","text":"TemporaryFile(/tmp/multipartBody5760981011057764056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805643582,"filename":"image_15122025_13_58_55_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/da3ea96af47f2f3a1a7ca28af84c67bf.jpg","text":"TemporaryFile(/tmp/multipartBody2632103427040528224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805643582,"filename":"image_15122025_13_59_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/15/3deb2b003b03cacc28c45516917380aa.jpg","text":"TemporaryFile(/tmp/multipartBody4279157066312056004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805643582,"filename":"image_15122025_13_58_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/15/19df3d48dd57125c401e4bdcde5aedbb.jpg","text":"TemporaryFile(/tmp/multipartBody4878334299585159497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805643582,"filename":"image_15122025_13_58_25_10593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399513153","file1":"1399513151","file0":"1399513148","file4":"1399513170","file5":"1399513177","file3":"1399513155"},"map_files_photo_id_array":[{"photo_id":"1399513177","filename":"file5"},{"photo_id":"1399513153","filename":"file2"},{"photo_id":"1399513170","filename":"file4"},{"photo_id":"1399513151","filename":"file1"},{"photo_id":"1399513148","filename":"file0"},{"photo_id":"1399513155","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399513177":["hashtag1","hashtag2"]},{"1399513153":["hashtag1","hashtag2"]},{"1399513155":["hashtag1","hashtag2"]},{"1399513170":["hashtag1","hashtag2"]},{"1399513151":["hashtag1","hashtag2"]},{"1399513148":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399513177, 1399513153, 1399513155, 1399513170, 1399513151, 1399513148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31068229675293 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 14:33:42.215123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_58_3526.jpg', '/home/pi/Desktop/images/05112025/15/10/image_05112025_15_11_00_2626.jpg', '/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_03_2647.jpg', '/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_07_3658.jpg', '/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_09_2607.jpg', '/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_12_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/10/image_05112025_15_10_58_3526.jpg
/home/pi/Desktop/images/05112025/15/10/image_05112025_15_11_00_2626.jpg
/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_03_2647.jpg
/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_07_3658.jpg
/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_09_2607.jpg
/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_12_2703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399513198","1399513197","1399513196","1399513200","1399513199","1399513217"],"photo_ids_order":["1399513196","1399513197","1399513198","1399513199","1399513200","1399513217"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/870d2d8de34b497c99613e1223e95f4f.jpg","text":"TemporaryFile(/tmp/multipartBody3775222604269430195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805682921,"filename":"image_05112025_15_11_03_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/15/9b7e55280e526d085cbd661b6b02b3ef.jpg","text":"TemporaryFile(/tmp/multipartBody4708272316593592856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805682921,"filename":"image_05112025_15_11_00_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/15/d9b5230768f9aa87cb7c77f3ee081aeb.jpg","text":"TemporaryFile(/tmp/multipartBody1012009051225677375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805682921,"filename":"image_05112025_15_10_58_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/972378c4e50e61188758d56e3c28f60b.jpg","text":"TemporaryFile(/tmp/multipartBody3908457341322409260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805682921,"filename":"image_05112025_15_11_09_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4fa8167f94ef5b3835c7ae6ba9dd921e.jpg","text":"TemporaryFile(/tmp/multipartBody668365637087414558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805682921,"filename":"image_05112025_15_11_07_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/042333dd49d288ea4a5989a6ac8f11a8.jpg","text":"TemporaryFile(/tmp/multipartBody6318211580098601231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805682921,"filename":"image_05112025_15_11_12_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399513198","file1":"1399513197","file0":"1399513196","file4":"1399513200","file5":"1399513217","file3":"1399513199"},"map_files_photo_id_array":[{"photo_id":"1399513217","filename":"file5"},{"photo_id":"1399513198","filename":"file2"},{"photo_id":"1399513200","filename":"file4"},{"photo_id":"1399513197","filename":"file1"},{"photo_id":"1399513196","filename":"file0"},{"photo_id":"1399513199","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399513198":["hashtag1","hashtag2"]},{"1399513197":["hashtag1","hashtag2"]},{"1399513196":["hashtag1","hashtag2"]},{"1399513200":["hashtag1","hashtag2"]},{"1399513199":["hashtag1","hashtag2"]},{"1399513217":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399513198, 1399513197, 1399513196, 1399513200, 1399513199, 1399513217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78660273551941 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 14:34:22.451708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/13/59/image_15122025_13_59_25_10699.jpg', '/home/pi/Desktop/images/15122025/13/59/image_15122025_13_59_34_9627.jpg', '/home/pi/Desktop/images/15122025/13/59/image_15122025_13_59_44_9623.jpg', '/home/pi/Desktop/images/15122025/13/59/image_15122025_13_59_54_9851.jpg', '/home/pi/Desktop/images/15122025/14/00/image_15122025_14_00_14_10058.jpg', '/home/pi/Desktop/images/15122025/14/00/image_15122025_14_00_25_10745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/13/59/image_15122025_13_59_25_10699.jpg
/home/pi/Desktop/images/15122025/13/59/image_15122025_13_59_34_9627.jpg
/home/pi/Desktop/images/15122025/13/59/image_15122025_13_59_44_9623.jpg
/home/pi/Desktop/images/15122025/13/59/image_15122025_13_59_54_9851.jpg
/home/pi/Desktop/images/15122025/14/00/image_15122025_14_00_14_10058.jpg
/home/pi/Desktop/images/15122025/14/00/image_15122025_14_00_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":["1399513396","1399513375","1399513411","1399513327","1399513352","1399513343"],"photo_ids_order":["1399513327","1399513343","1399513352","1399513375","1399513396","1399513411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/24421af7de88deb3ddeab0696568d151.jpg","text":"TemporaryFile(/tmp/multipartBody8384509331556982198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805723087,"filename":"image_15122025_14_00_14_10058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/41129c21c455a704419c7577e514cdf0.jpg","text":"TemporaryFile(/tmp/multipartBody6304690114821252817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805723087,"filename":"image_15122025_13_59_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/15/c50ab8a7c0c60b2d234253d8fdb3a03a.jpg","text":"TemporaryFile(/tmp/multipartBody468123362135942009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805723087,"filename":"image_15122025_14_00_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/15/56b293f7e9defc5602ea7bcac282c5a8.jpg","text":"TemporaryFile(/tmp/multipartBody5092016473398429777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805723087,"filename":"image_15122025_13_59_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/15/b3b51937e2d6e272e70c6546e1f2442c.jpg","text":"TemporaryFile(/tmp/multipartBody2290643314553662498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805723087,"filename":"image_15122025_13_59_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/15/ab4feb5ea16df365450a57a552fdbacf.jpg","text":"TemporaryFile(/tmp/multipartBody4833971803349631489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805723087,"filename":"image_15122025_13_59_34_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399513352","file1":"1399513343","file0":"1399513327","file4":"1399513396","file5":"1399513411","file3":"1399513375"},"map_files_photo_id_array":[{"photo_id":"1399513411","filename":"file5"},{"photo_id":"1399513352","filename":"file2"},{"photo_id":"1399513396","filename":"file4"},{"photo_id":"1399513343","filename":"file1"},{"photo_id":"1399513327","filename":"file0"},{"photo_id":"1399513375","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399513396":["hashtag1","hashtag2"]},{"1399513375":["hashtag1","hashtag2"]},{"1399513411":["hashtag1","hashtag2"]},{"1399513327":["hashtag1","hashtag2"]},{"1399513352":["hashtag1","hashtag2"]},{"1399513343":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399513396, 1399513375, 1399513411, 1399513327, 1399513352, 1399513343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.939669370651245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 14:35:03.453542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/00/image_15122025_14_00_35_9581.jpg', '/home/pi/Desktop/images/15122025/14/00/image_15122025_14_00_44_9704.jpg', '/home/pi/Desktop/images/15122025/14/00/image_15122025_14_00_55_10680.jpg', '/home/pi/Desktop/images/15122025/14/00/image_15122025_14_01_05_9952.jpg', '/home/pi/Desktop/images/15122025/14/01/image_15122025_14_01_15_9628.jpg', '/home/pi/Desktop/images/15122025/14/01/image_15122025_14_01_24_9806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/00/image_15122025_14_00_35_9581.jpg
/home/pi/Desktop/images/15122025/14/00/image_15122025_14_00_44_9704.jpg
/home/pi/Desktop/images/15122025/14/00/image_15122025_14_00_55_10680.jpg
/home/pi/Desktop/images/15122025/14/00/image_15122025_14_01_05_9952.jpg
/home/pi/Desktop/images/15122025/14/01/image_15122025_14_01_15_9628.jpg
/home/pi/Desktop/images/15122025/14/01/image_15122025_14_01_24_9806.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399513432","1399513429","1399513434","1399513427","1399513436","1399513424"],"photo_ids_order":["1399513424","1399513427","1399513429","1399513432","1399513434","1399513436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/517b882c62c533516b159481d956341c.jpg","text":"TemporaryFile(/tmp/multipartBody5640537451496689730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805764119,"filename":"image_15122025_14_01_05_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/15/5c5e7dc3d09a4fc8f97c479f75237c4b.jpg","text":"TemporaryFile(/tmp/multipartBody4950975564432560779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805764119,"filename":"image_15122025_14_00_55_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e44c9999eb215589fd7a2856fa6ec401.jpg","text":"TemporaryFile(/tmp/multipartBody1725319422643242417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805764119,"filename":"image_15122025_14_01_15_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0c985d42865427ce16c60c85bc566133.jpg","text":"TemporaryFile(/tmp/multipartBody19277598109466941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805764119,"filename":"image_15122025_14_00_44_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f4cda751c5c0ed60857a2854ad250116.jpg","text":"TemporaryFile(/tmp/multipartBody7288197240964689223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805764119,"filename":"image_15122025_14_01_24_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a2bb479a5989beb14d1f86ba4aa9c0be.jpg","text":"TemporaryFile(/tmp/multipartBody1380246601290955301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805764119,"filename":"image_15122025_14_00_35_9581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399513429","file1":"1399513427","file0":"1399513424","file4":"1399513434","file5":"1399513436","file3":"1399513432"},"map_files_photo_id_array":[{"photo_id":"1399513436","filename":"file5"},{"photo_id":"1399513429","filename":"file2"},{"photo_id":"1399513434","filename":"file4"},{"photo_id":"1399513427","filename":"file1"},{"photo_id":"1399513424","filename":"file0"},{"photo_id":"1399513432","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399513432":["hashtag1","hashtag2"]},{"1399513429":["hashtag1","hashtag2"]},{"1399513434":["hashtag1","hashtag2"]},{"1399513427":["hashtag1","hashtag2"]},{"1399513436":["hashtag1","hashtag2"]},{"1399513424":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399513432, 1399513429, 1399513434, 1399513427, 1399513436, 1399513424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.91400980949402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 14:36:02.401148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/01/image_15122025_14_01_34_9898.jpg', '/home/pi/Desktop/images/15122025/14/01/image_15122025_14_01_45_10679.jpg', '/home/pi/Desktop/images/15122025/14/01/image_15122025_14_01_55_9821.jpg', '/home/pi/Desktop/images/15122025/14/01/image_15122025_14_02_04_9624.jpg', '/home/pi/Desktop/images/15122025/14/02/image_15122025_14_02_15_10574.jpg', '/home/pi/Desktop/images/15122025/14/02/image_15122025_14_02_25_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/01/image_15122025_14_01_34_9898.jpg
/home/pi/Desktop/images/15122025/14/01/image_15122025_14_01_45_10679.jpg
/home/pi/Desktop/images/15122025/14/01/image_15122025_14_01_55_9821.jpg
/home/pi/Desktop/images/15122025/14/01/image_15122025_14_02_04_9624.jpg
/home/pi/Desktop/images/15122025/14/02/image_15122025_14_02_15_10574.jpg
/home/pi/Desktop/images/15122025/14/02/image_15122025_14_02_25_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":["1399513480","1399513485","1399513494","1399513496","1399513490","1399513492"],"photo_ids_order":["1399513480","1399513485","1399513490","1399513492","1399513494","1399513496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8bea524518898ee122d5fcaf8aa8c6ac.jpg","text":"TemporaryFile(/tmp/multipartBody1441117721986967462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805823055,"filename":"image_15122025_14_01_34_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/15/9786789e776b09d8b0f589a1aa8391cc.jpg","text":"TemporaryFile(/tmp/multipartBody2230068040920304364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805823055,"filename":"image_15122025_14_01_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/15/a8d64a3e669cc8fcdacee429a0ba23e4.jpg","text":"TemporaryFile(/tmp/multipartBody3441259397495646206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805823055,"filename":"image_15122025_14_02_15_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/15/82f58c4d9b61b2bfa093a071a768494b.jpg","text":"TemporaryFile(/tmp/multipartBody3149109542108649915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805823055,"filename":"image_15122025_14_02_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/15/f20f0e91470ea26a0cf4c50ea86ecfc5.jpg","text":"TemporaryFile(/tmp/multipartBody7237454951633346712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805823055,"filename":"image_15122025_14_01_55_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c4422f665829ed9d934e646e9b2fd804.jpg","text":"TemporaryFile(/tmp/multipartBody7262515027399828197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805823055,"filename":"image_15122025_14_02_04_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399513490","file1":"1399513485","file0":"1399513480","file4":"1399513494","file5":"1399513496","file3":"1399513492"},"map_files_photo_id_array":[{"photo_id":"1399513496","filename":"file5"},{"photo_id":"1399513490","filename":"file2"},{"photo_id":"1399513494","filename":"file4"},{"photo_id":"1399513485","filename":"file1"},{"photo_id":"1399513480","filename":"file0"},{"photo_id":"1399513492","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399513480":["hashtag1","hashtag2"]},{"1399513485":["hashtag1","hashtag2"]},{"1399513494":["hashtag1","hashtag2"]},{"1399513496":["hashtag1","hashtag2"]},{"1399513490":["hashtag1","hashtag2"]},{"1399513492":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399513480, 1399513485, 1399513494, 1399513496, 1399513490, 1399513492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.234718322753906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 14:36:41.911263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_16_3723.jpg', '/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_18_2588.jpg', '/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_21_2988.jpg', '/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_27_5793.jpg', '/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_29_1644.jpg', '/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_30_1767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_16_3723.jpg
/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_18_2588.jpg
/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_21_2988.jpg
/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_27_5793.jpg
/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_29_1644.jpg
/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_30_1767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399513516","1399513519","1399513513","1399513503","1399513511","1399513508"],"photo_ids_order":["1399513503","1399513508","1399513511","1399513513","1399513516","1399513519"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ef74985429a3e0a8617eeec167f962aa.jpg","text":"TemporaryFile(/tmp/multipartBody994699902877966374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805862622,"filename":"image_05112025_15_11_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/15/d3656cb15161a6c2c51dfce5c1e19a46.jpg","text":"TemporaryFile(/tmp/multipartBody2490997368970079221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805862622,"filename":"image_05112025_15_11_30_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/15/1f1e28cdd5f93870abe39b9bc66a3a17.jpg","text":"TemporaryFile(/tmp/multipartBody1722232719619788606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805862622,"filename":"image_05112025_15_11_27_5793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/aecf12e9a85e5cea5b17638a3fd4aafc.jpg","text":"TemporaryFile(/tmp/multipartBody1737684520706828179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805862622,"filename":"image_05112025_15_11_16_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/15/f8c59560cb3a07732f71a6a31981d404.jpg","text":"TemporaryFile(/tmp/multipartBody7375373426592413541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805862622,"filename":"image_05112025_15_11_21_2988.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/748acfa94471d9b7ef71db2dfc7c85fd.jpg","text":"TemporaryFile(/tmp/multipartBody5899801851114078200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805862622,"filename":"image_05112025_15_11_18_2588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399513511","file1":"1399513508","file0":"1399513503","file4":"1399513516","file5":"1399513519","file3":"1399513513"},"map_files_photo_id_array":[{"photo_id":"1399513519","filename":"file5"},{"photo_id":"1399513511","filename":"file2"},{"photo_id":"1399513516","filename":"file4"},{"photo_id":"1399513508","filename":"file1"},{"photo_id":"1399513503","filename":"file0"},{"photo_id":"1399513513","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399513516":["hashtag1","hashtag2"]},{"1399513519":["hashtag1","hashtag2"]},{"1399513513":["hashtag1","hashtag2"]},{"1399513503":["hashtag1","hashtag2"]},{"1399513511":["hashtag1","hashtag2"]},{"1399513508":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399513516, 1399513519, 1399513513, 1399513503, 1399513511, 1399513508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.28019618988037 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 14:37:22.133086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/02/image_15122025_14_02_35_10598.jpg', '/home/pi/Desktop/images/15122025/14/02/image_15122025_14_02_45_9781.jpg', '/home/pi/Desktop/images/15122025/14/02/image_15122025_14_02_55_9786.jpg', '/home/pi/Desktop/images/15122025/14/02/image_15122025_14_03_05_9805.jpg', '/home/pi/Desktop/images/15122025/14/03/image_15122025_14_03_14_9749.jpg', '/home/pi/Desktop/images/15122025/14/03/image_15122025_14_03_25_10722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/02/image_15122025_14_02_35_10598.jpg
/home/pi/Desktop/images/15122025/14/02/image_15122025_14_02_45_9781.jpg
/home/pi/Desktop/images/15122025/14/02/image_15122025_14_02_55_9786.jpg
/home/pi/Desktop/images/15122025/14/02/image_15122025_14_03_05_9805.jpg
/home/pi/Desktop/images/15122025/14/03/image_15122025_14_03_14_9749.jpg
/home/pi/Desktop/images/15122025/14/03/image_15122025_14_03_25_10722.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5271780490875244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 14:37:32.185783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 14:37:42.132603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_33_2550.jpg', '/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_36_3570.jpg', '/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_39_2539.jpg', '/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_43_3569.jpg', '/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_45_2607.jpg', '/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_48_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_33_2550.jpg
/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_36_3570.jpg
/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_39_2539.jpg
/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_43_3569.jpg
/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_45_2607.jpg
/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_48_2749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399513675","1399513723","1399513665","1399513728","1399513704","1399513694"],"photo_ids_order":["1399513665","1399513675","1399513694","1399513704","1399513723","1399513728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2617fcc0e9a7589e830567c1000a7a0f.jpg","text":"TemporaryFile(/tmp/multipartBody1735635884794343286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805922839,"filename":"image_05112025_15_11_36_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/15/4c1a19c0700afd9f69f456bc6ef8bf98.jpg","text":"TemporaryFile(/tmp/multipartBody4667660870409572960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805922839,"filename":"image_05112025_15_11_45_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/15/ee0812d6c26803186f05c71788f80b4b.jpg","text":"TemporaryFile(/tmp/multipartBody5728596631529794681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805922839,"filename":"image_05112025_15_11_33_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/15/9a467da65a9862623d42355310710baf.jpg","text":"TemporaryFile(/tmp/multipartBody6909530914012589735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805922839,"filename":"image_05112025_15_11_48_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/15/6e5ee423ad7267a2e9a92eabafa34dc6.jpg","text":"TemporaryFile(/tmp/multipartBody1260009586997776603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805922839,"filename":"image_05112025_15_11_43_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/15/fbf073065fee33cf25da60bda8270adb.jpg","text":"TemporaryFile(/tmp/multipartBody5922850696676395944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805922839,"filename":"image_05112025_15_11_39_2539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399513694","file1":"1399513675","file0":"1399513665","file4":"1399513723","file5":"1399513728","file3":"1399513704"},"map_files_photo_id_array":[{"photo_id":"1399513728","filename":"file5"},{"photo_id":"1399513694","filename":"file2"},{"photo_id":"1399513723","filename":"file4"},{"photo_id":"1399513675","filename":"file1"},{"photo_id":"1399513665","filename":"file0"},{"photo_id":"1399513704","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399513675":["hashtag1","hashtag2"]},{"1399513723":["hashtag1","hashtag2"]},{"1399513665":["hashtag1","hashtag2"]},{"1399513728":["hashtag1","hashtag2"]},{"1399513704":["hashtag1","hashtag2"]},{"1399513694":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399513675, 1399513723, 1399513665, 1399513728, 1399513704, 1399513694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45796275138855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 14:38:22.359232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/02/image_15122025_14_02_35_10598.jpg', '/home/pi/Desktop/images/15122025/14/02/image_15122025_14_02_45_9781.jpg', '/home/pi/Desktop/images/15122025/14/02/image_15122025_14_02_55_9786.jpg', '/home/pi/Desktop/images/15122025/14/02/image_15122025_14_03_05_9805.jpg', '/home/pi/Desktop/images/15122025/14/03/image_15122025_14_03_14_9749.jpg', '/home/pi/Desktop/images/15122025/14/03/image_15122025_14_03_25_10722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/02/image_15122025_14_02_35_10598.jpg
/home/pi/Desktop/images/15122025/14/02/image_15122025_14_02_45_9781.jpg
/home/pi/Desktop/images/15122025/14/02/image_15122025_14_02_55_9786.jpg
/home/pi/Desktop/images/15122025/14/02/image_15122025_14_03_05_9805.jpg
/home/pi/Desktop/images/15122025/14/03/image_15122025_14_03_14_9749.jpg
/home/pi/Desktop/images/15122025/14/03/image_15122025_14_03_25_10722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399513774","1399513776","1399513785","1399513772","1399513769","1399513778"],"photo_ids_order":["1399513769","1399513772","1399513774","1399513776","1399513778","1399513785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7bfa8f1d38c2001656c12b41597a5c21.jpg","text":"TemporaryFile(/tmp/multipartBody6801417773455396968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805962995,"filename":"image_15122025_14_02_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/15/278dcb56c71842a2f38fa395dd7178e7.jpg","text":"TemporaryFile(/tmp/multipartBody3348135864533397150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805962995,"filename":"image_15122025_14_03_05_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/15/cc3413533d5b8841b7ef3b3da9e3aa03.jpg","text":"TemporaryFile(/tmp/multipartBody2690397802381990962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805962995,"filename":"image_15122025_14_03_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/15/9331076abd780e13cf24af53da1f66b3.jpg","text":"TemporaryFile(/tmp/multipartBody5583836130308269368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805962995,"filename":"image_15122025_14_02_45_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6688fab8cfeda7b380c0d4037e8e522d.jpg","text":"TemporaryFile(/tmp/multipartBody3763289095474904259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805962995,"filename":"image_15122025_14_02_35_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/15/9917aa0788c135d8352f3adcd408116a.jpg","text":"TemporaryFile(/tmp/multipartBody7475105586603757454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765805962995,"filename":"image_15122025_14_03_14_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399513774","file1":"1399513772","file0":"1399513769","file4":"1399513778","file5":"1399513785","file3":"1399513776"},"map_files_photo_id_array":[{"photo_id":"1399513785","filename":"file5"},{"photo_id":"1399513774","filename":"file2"},{"photo_id":"1399513778","filename":"file4"},{"photo_id":"1399513772","filename":"file1"},{"photo_id":"1399513769","filename":"file0"},{"photo_id":"1399513776","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399513774":["hashtag1","hashtag2"]},{"1399513776":["hashtag1","hashtag2"]},{"1399513785":["hashtag1","hashtag2"]},{"1399513772":["hashtag1","hashtag2"]},{"1399513769":["hashtag1","hashtag2"]},{"1399513778":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399513774, 1399513776, 1399513785, 1399513772, 1399513769, 1399513778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65278887748718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 14:39:03.716136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/03/image_15122025_14_03_35_9599.jpg', '/home/pi/Desktop/images/15122025/14/03/image_15122025_14_03_44_9738.jpg', '/home/pi/Desktop/images/15122025/14/03/image_15122025_14_03_55_10667.jpg', '/home/pi/Desktop/images/15122025/14/03/image_15122025_14_04_05_9732.jpg', '/home/pi/Desktop/images/15122025/14/04/image_15122025_14_04_14_9614.jpg', '/home/pi/Desktop/images/15122025/14/04/image_15122025_14_04_25_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/03/image_15122025_14_03_35_9599.jpg
/home/pi/Desktop/images/15122025/14/03/image_15122025_14_03_44_9738.jpg
/home/pi/Desktop/images/15122025/14/03/image_15122025_14_03_55_10667.jpg
/home/pi/Desktop/images/15122025/14/03/image_15122025_14_04_05_9732.jpg
/home/pi/Desktop/images/15122025/14/04/image_15122025_14_04_14_9614.jpg
/home/pi/Desktop/images/15122025/14/04/image_15122025_14_04_25_10681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399513801","1399513804","1399513799","1399513793","1399513796","1399513814"],"photo_ids_order":["1399513793","1399513796","1399513799","1399513801","1399513804","1399513814"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6929dfeb00b279a15e57198bd897295f.jpg","text":"TemporaryFile(/tmp/multipartBody4389470992836634779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806004473,"filename":"image_15122025_14_04_05_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/15/25dbea65422a80e866d2d47b2e72b4ca.jpg","text":"TemporaryFile(/tmp/multipartBody826809048416207080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806004473,"filename":"image_15122025_14_04_14_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b7d272c4481005dfc46174f85ac0c48a.jpg","text":"TemporaryFile(/tmp/multipartBody7340444771307666529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806004473,"filename":"image_15122025_14_03_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/15/09a6c06c0ef07a539a10182df97068d8.jpg","text":"TemporaryFile(/tmp/multipartBody206594706044808946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806004473,"filename":"image_15122025_14_03_35_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4af4c664c643864026dcbdbfdd948dd3.jpg","text":"TemporaryFile(/tmp/multipartBody2635595147515200526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806004473,"filename":"image_15122025_14_03_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/15/a6fcc7b82d7098b3e406e440eac10199.jpg","text":"TemporaryFile(/tmp/multipartBody4829850680029773155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806004473,"filename":"image_15122025_14_04_25_10681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399513799","file1":"1399513796","file0":"1399513793","file4":"1399513804","file5":"1399513814","file3":"1399513801"},"map_files_photo_id_array":[{"photo_id":"1399513814","filename":"file5"},{"photo_id":"1399513799","filename":"file2"},{"photo_id":"1399513804","filename":"file4"},{"photo_id":"1399513796","filename":"file1"},{"photo_id":"1399513793","filename":"file0"},{"photo_id":"1399513801","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399513801":["hashtag1","hashtag2"]},{"1399513804":["hashtag1","hashtag2"]},{"1399513799":["hashtag1","hashtag2"]},{"1399513793":["hashtag1","hashtag2"]},{"1399513796":["hashtag1","hashtag2"]},{"1399513814":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399513801, 1399513804, 1399513799, 1399513793, 1399513796, 1399513814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16749358177185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 14:39:42.662041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_52_3632.jpg', '/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_54_2718.jpg', '/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_57_2623.jpg', '/home/pi/Desktop/images/05112025/15/11/image_05112025_15_12_01_3663.jpg', '/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_03_2765.jpg', '/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_06_2753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_52_3632.jpg
/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_54_2718.jpg
/home/pi/Desktop/images/05112025/15/11/image_05112025_15_11_57_2623.jpg
/home/pi/Desktop/images/05112025/15/11/image_05112025_15_12_01_3663.jpg
/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_03_2765.jpg
/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_06_2753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399513822","1399513825","1399513824","1399513827","1399513829","1399513826"],"photo_ids_order":["1399513822","1399513824","1399513825","1399513826","1399513827","1399513829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6862cc3a38a8decb7efe0d03502d376d.jpg","text":"TemporaryFile(/tmp/multipartBody2162408127996200432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806043382,"filename":"image_05112025_15_11_52_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/15/09063a23fdf1284a3ae519c458492ebf.jpg","text":"TemporaryFile(/tmp/multipartBody58274591976326649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806043382,"filename":"image_05112025_15_11_57_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fb3cc4a674456b2e23fe59aad55d3a3f.jpg","text":"TemporaryFile(/tmp/multipartBody207797779161674534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806043382,"filename":"image_05112025_15_11_54_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/85a90a84557b316a24ee16f10692b077.jpg","text":"TemporaryFile(/tmp/multipartBody8064837481204205136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806043382,"filename":"image_05112025_15_12_03_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/15/a94df469d4e16aaf4eb3532684b2906a.jpg","text":"TemporaryFile(/tmp/multipartBody6663786027884213465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806043382,"filename":"image_05112025_15_12_06_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/15/bd7ed722599bbee9a3901eb65956064d.jpg","text":"TemporaryFile(/tmp/multipartBody4260745809058977753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806043382,"filename":"image_05112025_15_12_01_3663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399513825","file1":"1399513824","file0":"1399513822","file4":"1399513827","file5":"1399513829","file3":"1399513826"},"map_files_photo_id_array":[{"photo_id":"1399513829","filename":"file5"},{"photo_id":"1399513825","filename":"file2"},{"photo_id":"1399513827","filename":"file4"},{"photo_id":"1399513824","filename":"file1"},{"photo_id":"1399513822","filename":"file0"},{"photo_id":"1399513826","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399513822":["hashtag1","hashtag2"]},{"1399513825":["hashtag1","hashtag2"]},{"1399513824":["hashtag1","hashtag2"]},{"1399513827":["hashtag1","hashtag2"]},{"1399513829":["hashtag1","hashtag2"]},{"1399513826":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399513822, 1399513825, 1399513824, 1399513827, 1399513829, 1399513826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31239318847656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 14:40:21.953163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/04/image_15122025_14_04_35_9708.jpg', '/home/pi/Desktop/images/15122025/14/04/image_15122025_14_04_45_10413.jpg', '/home/pi/Desktop/images/15122025/14/04/image_15122025_14_04_55_9629.jpg', '/home/pi/Desktop/images/15122025/14/04/image_15122025_14_05_05_9814.jpg', '/home/pi/Desktop/images/15122025/14/05/image_15122025_14_05_14_9792.jpg', '/home/pi/Desktop/images/15122025/14/05/image_15122025_14_05_25_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/04/image_15122025_14_04_35_9708.jpg
/home/pi/Desktop/images/15122025/14/04/image_15122025_14_04_45_10413.jpg
/home/pi/Desktop/images/15122025/14/04/image_15122025_14_04_55_9629.jpg
/home/pi/Desktop/images/15122025/14/04/image_15122025_14_05_05_9814.jpg
/home/pi/Desktop/images/15122025/14/05/image_15122025_14_05_14_9792.jpg
/home/pi/Desktop/images/15122025/14/05/image_15122025_14_05_25_10622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399513837","1399513839","1399513833","1399513841","1399513835","1399513844"],"photo_ids_order":["1399513833","1399513835","1399513837","1399513839","1399513841","1399513844"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6134966798f7e7b13b6c4aea8aa81499.jpg","text":"TemporaryFile(/tmp/multipartBody2625831160464312062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806082622,"filename":"image_15122025_14_04_55_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f3c18f84516fd10a5366c7b10d4154c5.jpg","text":"TemporaryFile(/tmp/multipartBody3026976874410800815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806082622,"filename":"image_15122025_14_05_05_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/15/0d5f3c70c8bf4cec16b9b218e0b37987.jpg","text":"TemporaryFile(/tmp/multipartBody6747306373175040505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806082622,"filename":"image_15122025_14_04_35_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a0e80b7713a688ffe5295f7f6220cfac.jpg","text":"TemporaryFile(/tmp/multipartBody8227403624222229190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806082622,"filename":"image_15122025_14_05_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/15/8ef961d950b73babfe4d01529053e4f0.jpg","text":"TemporaryFile(/tmp/multipartBody4771457246747162794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806082622,"filename":"image_15122025_14_04_45_10413.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9da80286407218777a38783c084a3eba.jpg","text":"TemporaryFile(/tmp/multipartBody8058374739530127282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806082622,"filename":"image_15122025_14_05_25_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399513837","file1":"1399513835","file0":"1399513833","file4":"1399513841","file5":"1399513844","file3":"1399513839"},"map_files_photo_id_array":[{"photo_id":"1399513844","filename":"file5"},{"photo_id":"1399513837","filename":"file2"},{"photo_id":"1399513841","filename":"file4"},{"photo_id":"1399513835","filename":"file1"},{"photo_id":"1399513833","filename":"file0"},{"photo_id":"1399513839","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399513837":["hashtag1","hashtag2"]},{"1399513839":["hashtag1","hashtag2"]},{"1399513833":["hashtag1","hashtag2"]},{"1399513841":["hashtag1","hashtag2"]},{"1399513835":["hashtag1","hashtag2"]},{"1399513844":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399513837, 1399513839, 1399513833, 1399513841, 1399513835, 1399513844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.349215269088745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 14:41:02.753117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/05/image_15122025_14_05_35_9739.jpg', '/home/pi/Desktop/images/15122025/14/05/image_15122025_14_05_45_9760.jpg', '/home/pi/Desktop/images/15122025/14/05/image_15122025_14_05_54_9694.jpg', '/home/pi/Desktop/images/15122025/14/05/image_15122025_14_06_05_10649.jpg', '/home/pi/Desktop/images/15122025/14/06/image_15122025_14_06_15_9674.jpg', '/home/pi/Desktop/images/15122025/14/06/image_15122025_14_06_24_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/05/image_15122025_14_05_35_9739.jpg
/home/pi/Desktop/images/15122025/14/05/image_15122025_14_05_45_9760.jpg
/home/pi/Desktop/images/15122025/14/05/image_15122025_14_05_54_9694.jpg
/home/pi/Desktop/images/15122025/14/05/image_15122025_14_06_05_10649.jpg
/home/pi/Desktop/images/15122025/14/06/image_15122025_14_06_15_9674.jpg
/home/pi/Desktop/images/15122025/14/06/image_15122025_14_06_24_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":["1399513864","1399513852","1399513861","1399513855","1399513857","1399513859"],"photo_ids_order":["1399513852","1399513855","1399513857","1399513859","1399513861","1399513864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f81de2055273e9ccc850039a47adffb1.jpg","text":"TemporaryFile(/tmp/multipartBody8593235233112369153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806123511,"filename":"image_15122025_14_06_24_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a60067d4e3f4c32253feec33ccb226a6.jpg","text":"TemporaryFile(/tmp/multipartBody7426057968874068579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806123511,"filename":"image_15122025_14_05_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/15/0614172efb1862914e259e134cd5c78e.jpg","text":"TemporaryFile(/tmp/multipartBody2402925650823933043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806123511,"filename":"image_15122025_14_06_15_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0df39862e429172642956206db06457e.jpg","text":"TemporaryFile(/tmp/multipartBody4651515399247281345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806123511,"filename":"image_15122025_14_05_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/15/764e57941c2f932b7cea824cf08ce1f9.jpg","text":"TemporaryFile(/tmp/multipartBody9127906885979933359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806123511,"filename":"image_15122025_14_05_54_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4bcab09222debe4f696125f5ff900883.jpg","text":"TemporaryFile(/tmp/multipartBody2092522342681420756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806123511,"filename":"image_15122025_14_06_05_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399513857","file1":"1399513855","file0":"1399513852","file4":"1399513861","file5":"1399513864","file3":"1399513859"},"map_files_photo_id_array":[{"photo_id":"1399513864","filename":"file5"},{"photo_id":"1399513857","filename":"file2"},{"photo_id":"1399513861","filename":"file4"},{"photo_id":"1399513855","filename":"file1"},{"photo_id":"1399513852","filename":"file0"},{"photo_id":"1399513859","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399513864":["hashtag1","hashtag2"]},{"1399513852":["hashtag1","hashtag2"]},{"1399513861":["hashtag1","hashtag2"]},{"1399513855":["hashtag1","hashtag2"]},{"1399513857":["hashtag1","hashtag2"]},{"1399513859":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399513864, 1399513852, 1399513861, 1399513855, 1399513857, 1399513859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74230909347534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 14:41:42.122077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_09_2615.jpg', '/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_12_3575.jpg', '/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_15_2680.jpg', '/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_18_2591.jpg', '/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_21_3631.jpg', '/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_24_2907.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_09_2615.jpg
/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_12_3575.jpg
/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_15_2680.jpg
/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_18_2591.jpg
/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_21_3631.jpg
/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_24_2907.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399513890","1399513875","1399513869","1399513897","1399513882","1399513876"],"photo_ids_order":["1399513869","1399513875","1399513876","1399513882","1399513890","1399513897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/176cad049cb99430a1119451656fea50.jpg","text":"TemporaryFile(/tmp/multipartBody3065938892048414158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806162830,"filename":"image_05112025_15_12_21_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3864ef3e7511d5b4548cf4bc565fae0f.jpg","text":"TemporaryFile(/tmp/multipartBody5146990046230470896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806162830,"filename":"image_05112025_15_12_12_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/15/fc387758f6bfe1ffe1e3a5abcfb22ee7.jpg","text":"TemporaryFile(/tmp/multipartBody4152907799965272374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806162830,"filename":"image_05112025_15_12_09_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/15/ded6b32c0ff23f0c72681e94e8b294c5.jpg","text":"TemporaryFile(/tmp/multipartBody8640053583814630096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806162830,"filename":"image_05112025_15_12_24_2907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e1c270ead5100e151a0e28d9e28649d1.jpg","text":"TemporaryFile(/tmp/multipartBody855786558317577006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806162830,"filename":"image_05112025_15_12_18_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/30e547b809e3804aba5d376a3fb9721c.jpg","text":"TemporaryFile(/tmp/multipartBody7125076939411016038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806162830,"filename":"image_05112025_15_12_15_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399513876","file1":"1399513875","file0":"1399513869","file4":"1399513890","file5":"1399513897","file3":"1399513882"},"map_files_photo_id_array":[{"photo_id":"1399513897","filename":"file5"},{"photo_id":"1399513876","filename":"file2"},{"photo_id":"1399513890","filename":"file4"},{"photo_id":"1399513875","filename":"file1"},{"photo_id":"1399513869","filename":"file0"},{"photo_id":"1399513882","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399513890":["hashtag1","hashtag2"]},{"1399513875":["hashtag1","hashtag2"]},{"1399513869":["hashtag1","hashtag2"]},{"1399513897":["hashtag1","hashtag2"]},{"1399513882":["hashtag1","hashtag2"]},{"1399513876":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399513890, 1399513875, 1399513869, 1399513897, 1399513882, 1399513876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.92626667022705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 14:42:22.526232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/06/image_15122025_14_06_35_10652.jpg', '/home/pi/Desktop/images/15122025/14/06/image_15122025_14_06_45_9644.jpg', '/home/pi/Desktop/images/15122025/14/06/image_15122025_14_07_05_10702.jpg', '/home/pi/Desktop/images/15122025/14/07/image_15122025_14_07_15_9804.jpg', '/home/pi/Desktop/images/15122025/14/07/image_15122025_14_07_25_9635.jpg', '/home/pi/Desktop/images/15122025/14/07/image_15122025_14_07_35_10663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/06/image_15122025_14_06_35_10652.jpg
/home/pi/Desktop/images/15122025/14/06/image_15122025_14_06_45_9644.jpg
/home/pi/Desktop/images/15122025/14/06/image_15122025_14_07_05_10702.jpg
/home/pi/Desktop/images/15122025/14/07/image_15122025_14_07_15_9804.jpg
/home/pi/Desktop/images/15122025/14/07/image_15122025_14_07_25_9635.jpg
/home/pi/Desktop/images/15122025/14/07/image_15122025_14_07_35_10663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399513963","1399513966","1399513924","1399513905","1399513908","1399513902"],"photo_ids_order":["1399513902","1399513905","1399513908","1399513924","1399513963","1399513966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e2730858894695bd3453f4da4ce23b81.jpg","text":"TemporaryFile(/tmp/multipartBody749143298946962599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806203185,"filename":"image_15122025_14_07_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/15/f05651f654f892ef34bf28b196c4e3b3.jpg","text":"TemporaryFile(/tmp/multipartBody5994603869144196892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806203185,"filename":"image_15122025_14_07_35_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ef64e2858cb854e10970bc91268c4366.jpg","text":"TemporaryFile(/tmp/multipartBody2309751045988810267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806203185,"filename":"image_15122025_14_07_15_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b848408cb7b1947f9a42dea9b66c8e7c.jpg","text":"TemporaryFile(/tmp/multipartBody1380075527921916137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806203185,"filename":"image_15122025_14_06_45_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e926ca4d51b77e8449df21328d0303b6.jpg","text":"TemporaryFile(/tmp/multipartBody3522331583668981848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806203185,"filename":"image_15122025_14_07_05_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d36b026f35ff5eb400322c794abed135.jpg","text":"TemporaryFile(/tmp/multipartBody6984541845004693619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806203185,"filename":"image_15122025_14_06_35_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399513908","file1":"1399513905","file0":"1399513902","file4":"1399513963","file5":"1399513966","file3":"1399513924"},"map_files_photo_id_array":[{"photo_id":"1399513966","filename":"file5"},{"photo_id":"1399513908","filename":"file2"},{"photo_id":"1399513963","filename":"file4"},{"photo_id":"1399513905","filename":"file1"},{"photo_id":"1399513902","filename":"file0"},{"photo_id":"1399513924","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399513963":["hashtag1","hashtag2"]},{"1399513966":["hashtag1","hashtag2"]},{"1399513924":["hashtag1","hashtag2"]},{"1399513905":["hashtag1","hashtag2"]},{"1399513908":["hashtag1","hashtag2"]},{"1399513902":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399513963, 1399513966, 1399513924, 1399513905, 1399513908, 1399513902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4678156375885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 14:43:03.487835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/07/image_15122025_14_07_45_9739.jpg', '/home/pi/Desktop/images/15122025/14/07/image_15122025_14_07_55_9960.jpg', '/home/pi/Desktop/images/15122025/14/07/image_15122025_14_08_05_9655.jpg', '/home/pi/Desktop/images/15122025/14/08/image_15122025_14_08_15_10561.jpg', '/home/pi/Desktop/images/15122025/14/08/image_15122025_14_08_25_9785.jpg', '/home/pi/Desktop/images/15122025/14/08/image_15122025_14_08_35_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/07/image_15122025_14_07_45_9739.jpg
/home/pi/Desktop/images/15122025/14/07/image_15122025_14_07_55_9960.jpg
/home/pi/Desktop/images/15122025/14/07/image_15122025_14_08_05_9655.jpg
/home/pi/Desktop/images/15122025/14/08/image_15122025_14_08_15_10561.jpg
/home/pi/Desktop/images/15122025/14/08/image_15122025_14_08_25_9785.jpg
/home/pi/Desktop/images/15122025/14/08/image_15122025_14_08_35_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":["1399514011","1399513992","1399514043","1399514022","1399514025","1399514001"],"photo_ids_order":["1399513992","1399514001","1399514011","1399514022","1399514025","1399514043"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/85f385ffe872c49baec911938c08da9c.jpg","text":"TemporaryFile(/tmp/multipartBody3830001081167548587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806244244,"filename":"image_15122025_14_08_05_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/eea70dc68e30bb208a5c34f1c578d91a.jpg","text":"TemporaryFile(/tmp/multipartBody2559586548915578637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806244244,"filename":"image_15122025_14_07_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/15/bb2f839bed5e52e14844c0b3c53f87ad.jpg","text":"TemporaryFile(/tmp/multipartBody6025133370090699799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806244244,"filename":"image_15122025_14_08_35_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/31e461580e7fa4ee0030bfd37a598f7f.jpg","text":"TemporaryFile(/tmp/multipartBody6688366677196168761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806244244,"filename":"image_15122025_14_08_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/15/d1b588a1976293cc119fa0f31d5ae1b9.jpg","text":"TemporaryFile(/tmp/multipartBody7612933884116365035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806244244,"filename":"image_15122025_14_08_25_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8966876f7a44e971ffaa17e77b56b110.jpg","text":"TemporaryFile(/tmp/multipartBody1140261071769412211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806244244,"filename":"image_15122025_14_07_55_9960.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399514011","file1":"1399514001","file0":"1399513992","file4":"1399514025","file5":"1399514043","file3":"1399514022"},"map_files_photo_id_array":[{"photo_id":"1399514043","filename":"file5"},{"photo_id":"1399514011","filename":"file2"},{"photo_id":"1399514025","filename":"file4"},{"photo_id":"1399514001","filename":"file1"},{"photo_id":"1399513992","filename":"file0"},{"photo_id":"1399514022","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399514011":["hashtag1","hashtag2"]},{"1399513992":["hashtag1","hashtag2"]},{"1399514043":["hashtag1","hashtag2"]},{"1399514022":["hashtag1","hashtag2"]},{"1399514025":["hashtag1","hashtag2"]},{"1399514001":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399514011, 1399513992, 1399514043, 1399514022, 1399514025, 1399514001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71994924545288 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 14:43:42.744085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_27_2528.jpg', '/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_30_3629.jpg', '/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_33_2700.jpg', '/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_38_5334.jpg', '/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_44_5803.jpg', '/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_46_1775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_27_2528.jpg
/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_30_3629.jpg
/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_33_2700.jpg
/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_38_5334.jpg
/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_44_5803.jpg
/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_46_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":["1399514196","1399514200","1399514199","1399514198","1399514201","1399514197"],"photo_ids_order":["1399514196","1399514197","1399514198","1399514199","1399514200","1399514201"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7576a7c58d019fec33c5fb54fd38a7cb.jpg","text":"TemporaryFile(/tmp/multipartBody8538095019399804815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806283454,"filename":"image_05112025_15_12_27_2528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2af51e38887a0fa9a4d4d8bf14e53578.jpg","text":"TemporaryFile(/tmp/multipartBody7668605362824815899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806283454,"filename":"image_05112025_15_12_44_5803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f735cf8bb2236d0327722b1ea2a83e6a.jpg","text":"TemporaryFile(/tmp/multipartBody2179770784300432675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806283454,"filename":"image_05112025_15_12_38_5334.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a8cdec83f1ccd77b4d0cb2156b85540a.jpg","text":"TemporaryFile(/tmp/multipartBody2849457590515824097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806283454,"filename":"image_05112025_15_12_33_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/924dc607ae6c2379769b511e2f4fba33.jpg","text":"TemporaryFile(/tmp/multipartBody5538849753135621958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806283454,"filename":"image_05112025_15_12_46_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/15/2e3b5828a64f06616e07a320395d46b5.jpg","text":"TemporaryFile(/tmp/multipartBody6324209343922867423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806283454,"filename":"image_05112025_15_12_30_3629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399514198","file1":"1399514197","file0":"1399514196","file4":"1399514200","file5":"1399514201","file3":"1399514199"},"map_files_photo_id_array":[{"photo_id":"1399514201","filename":"file5"},{"photo_id":"1399514198","filename":"file2"},{"photo_id":"1399514200","filename":"file4"},{"photo_id":"1399514197","filename":"file1"},{"photo_id":"1399514196","filename":"file0"},{"photo_id":"1399514199","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399514196":["hashtag1","hashtag2"]},{"1399514200":["hashtag1","hashtag2"]},{"1399514199":["hashtag1","hashtag2"]},{"1399514198":["hashtag1","hashtag2"]},{"1399514201":["hashtag1","hashtag2"]},{"1399514197":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399514196, 1399514200, 1399514199, 1399514198, 1399514201, 1399514197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9022536277771 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 14:44:22.082853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/08/image_15122025_14_08_44_9757.jpg', '/home/pi/Desktop/images/15122025/14/08/image_15122025_14_08_54_9821.jpg', '/home/pi/Desktop/images/15122025/14/08/image_15122025_14_09_05_10762.jpg', '/home/pi/Desktop/images/15122025/14/09/image_15122025_14_09_15_9795.jpg', '/home/pi/Desktop/images/15122025/14/09/image_15122025_14_09_25_9771.jpg', '/home/pi/Desktop/images/15122025/14/09/image_15122025_14_09_34_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/08/image_15122025_14_08_44_9757.jpg
/home/pi/Desktop/images/15122025/14/08/image_15122025_14_08_54_9821.jpg
/home/pi/Desktop/images/15122025/14/08/image_15122025_14_09_05_10762.jpg
/home/pi/Desktop/images/15122025/14/09/image_15122025_14_09_15_9795.jpg
/home/pi/Desktop/images/15122025/14/09/image_15122025_14_09_25_9771.jpg
/home/pi/Desktop/images/15122025/14/09/image_15122025_14_09_34_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":["1399514215","1399514247","1399514282","1399514208","1399514210","1399514320"],"photo_ids_order":["1399514208","1399514210","1399514215","1399514247","1399514282","1399514320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b831dd9c285b7ea42d9340abb8fdec30.jpg","text":"TemporaryFile(/tmp/multipartBody2900937437943306088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806322765,"filename":"image_15122025_14_09_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/15/8c9b457b1b35b18c8561370f41ace0b4.jpg","text":"TemporaryFile(/tmp/multipartBody6319167798856208870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806322765,"filename":"image_15122025_14_09_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/15/00c93887b6a19994aace2ebe03102a3b.jpg","text":"TemporaryFile(/tmp/multipartBody1526191501310354309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806322765,"filename":"image_15122025_14_09_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/15/8f5e728614e6d662a85f7ea61f0b7b29.jpg","text":"TemporaryFile(/tmp/multipartBody6372159652938277357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806322765,"filename":"image_15122025_14_08_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/15/f1ead38538c74e1de8549512d40f8030.jpg","text":"TemporaryFile(/tmp/multipartBody7885913098707445148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806322765,"filename":"image_15122025_14_08_54_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7097d84c89de6e7d3827a64560fdc517.jpg","text":"TemporaryFile(/tmp/multipartBody5361114568277818087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806322765,"filename":"image_15122025_14_09_34_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399514215","file1":"1399514210","file0":"1399514208","file4":"1399514282","file5":"1399514320","file3":"1399514247"},"map_files_photo_id_array":[{"photo_id":"1399514320","filename":"file5"},{"photo_id":"1399514215","filename":"file2"},{"photo_id":"1399514282","filename":"file4"},{"photo_id":"1399514210","filename":"file1"},{"photo_id":"1399514208","filename":"file0"},{"photo_id":"1399514247","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399514215":["hashtag1","hashtag2"]},{"1399514247":["hashtag1","hashtag2"]},{"1399514282":["hashtag1","hashtag2"]},{"1399514208":["hashtag1","hashtag2"]},{"1399514210":["hashtag1","hashtag2"]},{"1399514320":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399514215, 1399514247, 1399514282, 1399514208, 1399514210, 1399514320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.803834676742554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 14:45:02.857588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/09/image_15122025_14_09_45_10686.jpg', '/home/pi/Desktop/images/15122025/14/09/image_15122025_14_09_55_9587.jpg', '/home/pi/Desktop/images/15122025/14/09/image_15122025_14_10_05_10630.jpg', '/home/pi/Desktop/images/15122025/14/10/image_15122025_14_10_15_9702.jpg', '/home/pi/Desktop/images/15122025/14/10/image_15122025_14_10_25_9664.jpg', '/home/pi/Desktop/images/15122025/14/10/image_15122025_14_10_34_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/09/image_15122025_14_09_45_10686.jpg
/home/pi/Desktop/images/15122025/14/09/image_15122025_14_09_55_9587.jpg
/home/pi/Desktop/images/15122025/14/09/image_15122025_14_10_05_10630.jpg
/home/pi/Desktop/images/15122025/14/10/image_15122025_14_10_15_9702.jpg
/home/pi/Desktop/images/15122025/14/10/image_15122025_14_10_25_9664.jpg
/home/pi/Desktop/images/15122025/14/10/image_15122025_14_10_34_9733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399514608","1399514427","1399514508","1399514606","1399514581","1399514464"],"photo_ids_order":["1399514427","1399514464","1399514508","1399514581","1399514606","1399514608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fa5029f35656790ef4bcf8fe890f8266.jpg","text":"TemporaryFile(/tmp/multipartBody1002366686816057018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806363571,"filename":"image_15122025_14_10_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/15/3c48bd158c0ce0673bdaaa847e158bf5.jpg","text":"TemporaryFile(/tmp/multipartBody8278234785972958855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806363571,"filename":"image_15122025_14_09_45_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4e0dde596ec7daf874fb74bb9d66263f.jpg","text":"TemporaryFile(/tmp/multipartBody4564576002306607728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806363571,"filename":"image_15122025_14_10_05_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7f695cc74149b0849b2f3c8b86527b9c.jpg","text":"TemporaryFile(/tmp/multipartBody1461359765618363941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806363571,"filename":"image_15122025_14_10_25_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/619cb14cc2100f7b931d56d9e0394110.jpg","text":"TemporaryFile(/tmp/multipartBody3798377563609783613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806363571,"filename":"image_15122025_14_10_15_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8d6a6dde41fa5c52ce4b8865b126d050.jpg","text":"TemporaryFile(/tmp/multipartBody5238335315285239034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806363571,"filename":"image_15122025_14_09_55_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399514508","file1":"1399514464","file0":"1399514427","file4":"1399514606","file5":"1399514608","file3":"1399514581"},"map_files_photo_id_array":[{"photo_id":"1399514608","filename":"file5"},{"photo_id":"1399514508","filename":"file2"},{"photo_id":"1399514606","filename":"file4"},{"photo_id":"1399514464","filename":"file1"},{"photo_id":"1399514427","filename":"file0"},{"photo_id":"1399514581","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399514608":["hashtag1","hashtag2"]},{"1399514427":["hashtag1","hashtag2"]},{"1399514508":["hashtag1","hashtag2"]},{"1399514606":["hashtag1","hashtag2"]},{"1399514581":["hashtag1","hashtag2"]},{"1399514464":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399514608, 1399514427, 1399514508, 1399514606, 1399514581, 1399514464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18647646903992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 14:45:42.269944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_48_1640.jpg', '/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_49_1623.jpg', '/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_51_1527.jpg', '/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_54_3600.jpg', '/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_57_2647.jpg', '/home/pi/Desktop/images/05112025/15/12/image_05112025_15_13_00_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_48_1640.jpg
/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_49_1623.jpg
/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_51_1527.jpg
/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_54_3600.jpg
/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_57_2647.jpg
/home/pi/Desktop/images/05112025/15/12/image_05112025_15_13_00_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":["1399514635","1399514712","1399514633","1399514642","1399514636","1399514674"],"photo_ids_order":["1399514633","1399514635","1399514636","1399514642","1399514674","1399514712"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/eeccfe0574fbbe5f38f18696d454569b.jpg","text":"TemporaryFile(/tmp/multipartBody2808870239130538664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806402981,"filename":"image_05112025_15_12_49_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/15/82e9f0abab762f356f300d12d8ee0431.jpg","text":"TemporaryFile(/tmp/multipartBody9738110725582979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806402981,"filename":"image_05112025_15_13_00_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/15/eea58b0e2bd657f20522fcd4abb98abb.jpg","text":"TemporaryFile(/tmp/multipartBody635654741495712980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806402981,"filename":"image_05112025_15_12_48_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/15/829e1a8b63139651a0d9a34929db525b.jpg","text":"TemporaryFile(/tmp/multipartBody6682492769561945712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806402981,"filename":"image_05112025_15_12_54_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/15/443c87549d736fdcd8b4e4e587df1b5b.jpg","text":"TemporaryFile(/tmp/multipartBody3497941865633669236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806402981,"filename":"image_05112025_15_12_51_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/15/d094e489c1419f89733b69c673c3c3b9.jpg","text":"TemporaryFile(/tmp/multipartBody3738642565241429836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806402981,"filename":"image_05112025_15_12_57_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399514636","file1":"1399514635","file0":"1399514633","file4":"1399514674","file5":"1399514712","file3":"1399514642"},"map_files_photo_id_array":[{"photo_id":"1399514712","filename":"file5"},{"photo_id":"1399514636","filename":"file2"},{"photo_id":"1399514674","filename":"file4"},{"photo_id":"1399514635","filename":"file1"},{"photo_id":"1399514633","filename":"file0"},{"photo_id":"1399514642","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399514635":["hashtag1","hashtag2"]},{"1399514712":["hashtag1","hashtag2"]},{"1399514633":["hashtag1","hashtag2"]},{"1399514642":["hashtag1","hashtag2"]},{"1399514636":["hashtag1","hashtag2"]},{"1399514674":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399514635, 1399514712, 1399514633, 1399514642, 1399514636, 1399514674)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1399514636 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_51_1527.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1399514636 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_51_1527.jpg";
uploaded 6 photos
time to upload: 62.327951192855835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
2025-12-15 14:47:14.287201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 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-15 14:47:28.804632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/10/image_15122025_14_10_45_10691.jpg', '/home/pi/Desktop/images/15122025/14/10/image_15122025_14_10_55_9736.jpg', '/home/pi/Desktop/images/15122025/14/10/image_15122025_14_11_04_9717.jpg', '/home/pi/Desktop/images/15122025/14/11/image_15122025_14_11_15_10706.jpg', '/home/pi/Desktop/images/15122025/14/11/image_15122025_14_11_25_9550.jpg', '/home/pi/Desktop/images/15122025/14/11/image_15122025_14_11_34_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/10/image_15122025_14_10_45_10691.jpg
/home/pi/Desktop/images/15122025/14/10/image_15122025_14_10_55_9736.jpg
/home/pi/Desktop/images/15122025/14/10/image_15122025_14_11_04_9717.jpg
/home/pi/Desktop/images/15122025/14/11/image_15122025_14_11_15_10706.jpg
/home/pi/Desktop/images/15122025/14/11/image_15122025_14_11_25_9550.jpg
/home/pi/Desktop/images/15122025/14/11/image_15122025_14_11_34_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":["1399515045","1399515065","1399515047","1399515052","1399515049","1399515064"],"photo_ids_order":["1399515045","1399515047","1399515049","1399515052","1399515064","1399515065"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/08f613b036ba37f6b30fa1def97deec8.jpg","text":"TemporaryFile(/tmp/multipartBody5573005795170502119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806509397,"filename":"image_15122025_14_10_45_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/268610d90d74a63f12deff559ad77edf.jpg","text":"TemporaryFile(/tmp/multipartBody8144129884910960459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806509397,"filename":"image_15122025_14_11_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/15/ee2c0f1ffc94bafda6bb4eb416604163.jpg","text":"TemporaryFile(/tmp/multipartBody2962455943556381161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806509397,"filename":"image_15122025_14_10_55_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e084b1f0e29c8a12ce898f999796b27d.jpg","text":"TemporaryFile(/tmp/multipartBody2953256285973724012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806509397,"filename":"image_15122025_14_11_15_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/043f6ec74b8039c3e91076d57a52be5d.jpg","text":"TemporaryFile(/tmp/multipartBody4102607844851053406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806509397,"filename":"image_15122025_14_11_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/15/3d2f6906a7d938c90ce46600b673de32.jpg","text":"TemporaryFile(/tmp/multipartBody6379067751417575807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806509397,"filename":"image_15122025_14_11_25_9550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399515049","file1":"1399515047","file0":"1399515045","file4":"1399515064","file5":"1399515065","file3":"1399515052"},"map_files_photo_id_array":[{"photo_id":"1399515065","filename":"file5"},{"photo_id":"1399515049","filename":"file2"},{"photo_id":"1399515064","filename":"file4"},{"photo_id":"1399515047","filename":"file1"},{"photo_id":"1399515045","filename":"file0"},{"photo_id":"1399515052","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399515045":["hashtag1","hashtag2"]},{"1399515065":["hashtag1","hashtag2"]},{"1399515047":["hashtag1","hashtag2"]},{"1399515052":["hashtag1","hashtag2"]},{"1399515049":["hashtag1","hashtag2"]},{"1399515064":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399515045, 1399515065, 1399515047, 1399515052, 1399515049, 1399515064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3731734752655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 14:48:12.632018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 14:48:22.643593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/11/image_15122025_14_11_45_10637.jpg', '/home/pi/Desktop/images/15122025/14/11/image_15122025_14_11_55_9580.jpg', '/home/pi/Desktop/images/15122025/14/11/image_15122025_14_12_04_9754.jpg', '/home/pi/Desktop/images/15122025/14/12/image_15122025_14_12_15_10658.jpg', '/home/pi/Desktop/images/15122025/14/12/image_15122025_14_12_25_9736.jpg', '/home/pi/Desktop/images/15122025/14/12/image_15122025_14_12_34_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/11/image_15122025_14_11_45_10637.jpg
/home/pi/Desktop/images/15122025/14/11/image_15122025_14_11_55_9580.jpg
/home/pi/Desktop/images/15122025/14/11/image_15122025_14_12_04_9754.jpg
/home/pi/Desktop/images/15122025/14/12/image_15122025_14_12_15_10658.jpg
/home/pi/Desktop/images/15122025/14/12/image_15122025_14_12_25_9736.jpg
/home/pi/Desktop/images/15122025/14/12/image_15122025_14_12_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":["1399515086","1399515095","1399515098","1399515110","1399515101","1399515091"],"photo_ids_order":["1399515086","1399515091","1399515095","1399515098","1399515101","1399515110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/72d293ed017b36c988e98a8c0230d210.jpg","text":"TemporaryFile(/tmp/multipartBody7586031497230287047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806563273,"filename":"image_15122025_14_11_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/15/0a52fff896e81773f0694f295603f33a.jpg","text":"TemporaryFile(/tmp/multipartBody387298608442639786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806563273,"filename":"image_15122025_14_12_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/15/9509f5b8a7fefc1b8323055b4e064005.jpg","text":"TemporaryFile(/tmp/multipartBody8203652007707237715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806563273,"filename":"image_15122025_14_12_15_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f71da99b53e725004caad965c7cedd10.jpg","text":"TemporaryFile(/tmp/multipartBody4270702998262942587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806563273,"filename":"image_15122025_14_12_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/15/6816eab44cda4b8f49d59aca2cd322e4.jpg","text":"TemporaryFile(/tmp/multipartBody9164494307486061081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806563273,"filename":"image_15122025_14_12_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/15/f23c6c0a133b86473d64080b5c7bf0b3.jpg","text":"TemporaryFile(/tmp/multipartBody2244919079308145621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806563273,"filename":"image_15122025_14_11_55_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399515095","file1":"1399515091","file0":"1399515086","file4":"1399515101","file5":"1399515110","file3":"1399515098"},"map_files_photo_id_array":[{"photo_id":"1399515110","filename":"file5"},{"photo_id":"1399515095","filename":"file2"},{"photo_id":"1399515101","filename":"file4"},{"photo_id":"1399515091","filename":"file1"},{"photo_id":"1399515086","filename":"file0"},{"photo_id":"1399515098","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399515086":["hashtag1","hashtag2"]},{"1399515095":["hashtag1","hashtag2"]},{"1399515098":["hashtag1","hashtag2"]},{"1399515110":["hashtag1","hashtag2"]},{"1399515101":["hashtag1","hashtag2"]},{"1399515091":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399515086, 1399515095, 1399515098, 1399515110, 1399515101, 1399515091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52450704574585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 14:49:03.660944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/12/image_15122025_14_12_45_10750.jpg', '/home/pi/Desktop/images/15122025/14/12/image_15122025_14_12_55_9694.jpg', '/home/pi/Desktop/images/15122025/14/12/image_15122025_14_13_05_9898.jpg', '/home/pi/Desktop/images/15122025/14/13/image_15122025_14_13_14_9731.jpg', '/home/pi/Desktop/images/15122025/14/13/image_15122025_14_13_24_9913.jpg', '/home/pi/Desktop/images/15122025/14/13/image_15122025_14_13_35_10606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/12/image_15122025_14_12_45_10750.jpg
/home/pi/Desktop/images/15122025/14/12/image_15122025_14_12_55_9694.jpg
/home/pi/Desktop/images/15122025/14/12/image_15122025_14_13_05_9898.jpg
/home/pi/Desktop/images/15122025/14/13/image_15122025_14_13_14_9731.jpg
/home/pi/Desktop/images/15122025/14/13/image_15122025_14_13_24_9913.jpg
/home/pi/Desktop/images/15122025/14/13/image_15122025_14_13_35_10606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399515138","1399515141","1399515135","1399515117","1399515131","1399515133"],"photo_ids_order":["1399515117","1399515131","1399515133","1399515135","1399515138","1399515141"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e8346ce3d8cb076dd50582cc9d303f9f.jpg","text":"TemporaryFile(/tmp/multipartBody7695179994925476277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806604457,"filename":"image_15122025_14_13_24_9913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8930aa649bc606ff618437410312463d.jpg","text":"TemporaryFile(/tmp/multipartBody8148904255266369837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806604457,"filename":"image_15122025_14_13_35_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/11ed1391749d1b0a140cf0bcab7a85cf.jpg","text":"TemporaryFile(/tmp/multipartBody5547413953527879087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806604457,"filename":"image_15122025_14_13_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/15/de4de34f99349ea01a93ceffe7e57d67.jpg","text":"TemporaryFile(/tmp/multipartBody5968588552016559969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806604457,"filename":"image_15122025_14_12_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/15/655dedb6eec0cc836c1b2768875d0f1f.jpg","text":"TemporaryFile(/tmp/multipartBody3156998781271776835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806604457,"filename":"image_15122025_14_12_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/15/0e992219d0ad2b65073539d985d5eb25.jpg","text":"TemporaryFile(/tmp/multipartBody4514620238371827903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806604457,"filename":"image_15122025_14_13_05_9898.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399515133","file1":"1399515131","file0":"1399515117","file4":"1399515138","file5":"1399515141","file3":"1399515135"},"map_files_photo_id_array":[{"photo_id":"1399515141","filename":"file5"},{"photo_id":"1399515133","filename":"file2"},{"photo_id":"1399515138","filename":"file4"},{"photo_id":"1399515131","filename":"file1"},{"photo_id":"1399515117","filename":"file0"},{"photo_id":"1399515135","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399515138":["hashtag1","hashtag2"]},{"1399515141":["hashtag1","hashtag2"]},{"1399515135":["hashtag1","hashtag2"]},{"1399515117":["hashtag1","hashtag2"]},{"1399515131":["hashtag1","hashtag2"]},{"1399515133":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399515138, 1399515141, 1399515135, 1399515117, 1399515131, 1399515133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.93427515029907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 14:50:02.497196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/13/image_15122025_14_13_45_9750.jpg', '/home/pi/Desktop/images/15122025/14/13/image_15122025_14_13_54_9672.jpg', '/home/pi/Desktop/images/15122025/14/13/image_15122025_14_14_05_10664.jpg', '/home/pi/Desktop/images/15122025/14/14/image_15122025_14_14_15_9650.jpg', '/home/pi/Desktop/images/15122025/14/14/image_15122025_14_14_24_9703.jpg', '/home/pi/Desktop/images/15122025/14/14/image_15122025_14_14_35_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/13/image_15122025_14_13_45_9750.jpg
/home/pi/Desktop/images/15122025/14/13/image_15122025_14_13_54_9672.jpg
/home/pi/Desktop/images/15122025/14/13/image_15122025_14_14_05_10664.jpg
/home/pi/Desktop/images/15122025/14/14/image_15122025_14_14_15_9650.jpg
/home/pi/Desktop/images/15122025/14/14/image_15122025_14_14_24_9703.jpg
/home/pi/Desktop/images/15122025/14/14/image_15122025_14_14_35_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":["1399515186","1399515171","1399515267","1399515176","1399515227","1399515174"],"photo_ids_order":["1399515171","1399515174","1399515176","1399515186","1399515227","1399515267"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4a73ae4c852cbb3e7b87982952a7b45e.jpg","text":"TemporaryFile(/tmp/multipartBody5473214248270424254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806663130,"filename":"image_15122025_14_14_15_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5dcd0e820473def5edd87813cc32ac70.jpg","text":"TemporaryFile(/tmp/multipartBody5643008968314070066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806663130,"filename":"image_15122025_14_13_45_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7b9c8096ab6fb03f808811408d1f77db.jpg","text":"TemporaryFile(/tmp/multipartBody5035723922985544522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806663130,"filename":"image_15122025_14_14_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/15/d84771d78b7429e4297b6552c9e50b86.jpg","text":"TemporaryFile(/tmp/multipartBody7721032381217359130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806663130,"filename":"image_15122025_14_14_05_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e0e56a0b36fe2d7dddb2ef09f5445a77.jpg","text":"TemporaryFile(/tmp/multipartBody25351795442803508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806663130,"filename":"image_15122025_14_14_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/15/b958019d154e7275f575ceb1a24c4b31.jpg","text":"TemporaryFile(/tmp/multipartBody4056669877677443458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806663130,"filename":"image_15122025_14_13_54_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399515176","file1":"1399515174","file0":"1399515171","file4":"1399515227","file5":"1399515267","file3":"1399515186"},"map_files_photo_id_array":[{"photo_id":"1399515267","filename":"file5"},{"photo_id":"1399515176","filename":"file2"},{"photo_id":"1399515227","filename":"file4"},{"photo_id":"1399515174","filename":"file1"},{"photo_id":"1399515171","filename":"file0"},{"photo_id":"1399515186","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399515186":["hashtag1","hashtag2"]},{"1399515171":["hashtag1","hashtag2"]},{"1399515267":["hashtag1","hashtag2"]},{"1399515176":["hashtag1","hashtag2"]},{"1399515227":["hashtag1","hashtag2"]},{"1399515174":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399515186, 1399515171, 1399515267, 1399515176, 1399515227, 1399515174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.28228282928467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 14:50:42.007249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_48_1640.jpg', '/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_49_1623.jpg', '/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_51_1527.jpg', '/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_54_3600.jpg', '/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_57_2647.jpg', '/home/pi/Desktop/images/05112025/15/12/image_05112025_15_13_00_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_48_1640.jpg
/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_49_1623.jpg
/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_51_1527.jpg
/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_54_3600.jpg
/home/pi/Desktop/images/05112025/15/12/image_05112025_15_12_57_2647.jpg
/home/pi/Desktop/images/05112025/15/12/image_05112025_15_13_00_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":["1399515315","1399515309","1399515302","1399515316","1399515304","1399515294"],"photo_ids_order":["1399515294","1399515302","1399515304","1399515309","1399515315","1399515316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3befdfa64a731740267b260987073eb7.jpg","text":"TemporaryFile(/tmp/multipartBody6078731953699829633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806702593,"filename":"image_05112025_15_12_57_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/15/1719b2c1622fc84b04ebb312faf5a0df.jpg","text":"TemporaryFile(/tmp/multipartBody4651706122108015169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806702593,"filename":"image_05112025_15_12_54_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/15/857fd801dae7aa1bc82dd1b7f56b997d.jpg","text":"TemporaryFile(/tmp/multipartBody3646999469462032589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806702593,"filename":"image_05112025_15_12_49_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/15/112c704f4f5af53f84f674cf12711bff.jpg","text":"TemporaryFile(/tmp/multipartBody7679775942321456789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806702593,"filename":"image_05112025_15_13_00_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/15/c267ea9af011bda140cebed8870bac79.jpg","text":"TemporaryFile(/tmp/multipartBody3617698598924018190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806702593,"filename":"image_05112025_15_12_51_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/15/db42fb9d4d9fc498187329feb09a6a52.jpg","text":"TemporaryFile(/tmp/multipartBody5774737766666244380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806702593,"filename":"image_05112025_15_12_48_1640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399515304","file1":"1399515302","file0":"1399515294","file4":"1399515315","file5":"1399515316","file3":"1399515309"},"map_files_photo_id_array":[{"photo_id":"1399515316","filename":"file5"},{"photo_id":"1399515304","filename":"file2"},{"photo_id":"1399515315","filename":"file4"},{"photo_id":"1399515302","filename":"file1"},{"photo_id":"1399515294","filename":"file0"},{"photo_id":"1399515309","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399515315":["hashtag1","hashtag2"]},{"1399515309":["hashtag1","hashtag2"]},{"1399515302":["hashtag1","hashtag2"]},{"1399515316":["hashtag1","hashtag2"]},{"1399515304":["hashtag1","hashtag2"]},{"1399515294":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399515315, 1399515309, 1399515302, 1399515316, 1399515304, 1399515294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43106412887573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 14:51:22.178964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/14/image_15122025_14_14_45_9761.jpg', '/home/pi/Desktop/images/15122025/14/14/image_15122025_14_14_55_9773.jpg', '/home/pi/Desktop/images/15122025/14/14/image_15122025_14_15_05_9864.jpg', '/home/pi/Desktop/images/15122025/14/15/image_15122025_14_15_15_10662.jpg', '/home/pi/Desktop/images/15122025/14/15/image_15122025_14_15_25_9755.jpg', '/home/pi/Desktop/images/15122025/14/15/image_15122025_14_15_35_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/14/image_15122025_14_14_45_9761.jpg
/home/pi/Desktop/images/15122025/14/14/image_15122025_14_14_55_9773.jpg
/home/pi/Desktop/images/15122025/14/14/image_15122025_14_15_05_9864.jpg
/home/pi/Desktop/images/15122025/14/15/image_15122025_14_15_15_10662.jpg
/home/pi/Desktop/images/15122025/14/15/image_15122025_14_15_25_9755.jpg
/home/pi/Desktop/images/15122025/14/15/image_15122025_14_15_35_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":["1399515324","1399515320","1399515338","1399515326","1399515328","1399515322"],"photo_ids_order":["1399515320","1399515322","1399515324","1399515326","1399515328","1399515338"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/64f44a28818daca3bd38480498dee9e8.jpg","text":"TemporaryFile(/tmp/multipartBody3057669028940826903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806742807,"filename":"image_15122025_14_15_05_9864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/abfdbfcaab735290755912c05ec96028.jpg","text":"TemporaryFile(/tmp/multipartBody1489347326187450654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806742807,"filename":"image_15122025_14_14_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/15/78012eec5b6d6a721c00b8039f773e6e.jpg","text":"TemporaryFile(/tmp/multipartBody47398386279568485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806742807,"filename":"image_15122025_14_15_35_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/736193b3c88f4b5e616bbea9d88e84ac.jpg","text":"TemporaryFile(/tmp/multipartBody3084119033493985951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806742807,"filename":"image_15122025_14_15_15_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1c13a1f78da1d132239912a852bbe566.jpg","text":"TemporaryFile(/tmp/multipartBody5883702525839077814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806742807,"filename":"image_15122025_14_15_25_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/754100ca45855a60ffe6268bac2683f6.jpg","text":"TemporaryFile(/tmp/multipartBody281945605189110788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806742807,"filename":"image_15122025_14_14_55_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399515324","file1":"1399515322","file0":"1399515320","file4":"1399515328","file5":"1399515338","file3":"1399515326"},"map_files_photo_id_array":[{"photo_id":"1399515338","filename":"file5"},{"photo_id":"1399515324","filename":"file2"},{"photo_id":"1399515328","filename":"file4"},{"photo_id":"1399515322","filename":"file1"},{"photo_id":"1399515320","filename":"file0"},{"photo_id":"1399515326","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399515324":["hashtag1","hashtag2"]},{"1399515320":["hashtag1","hashtag2"]},{"1399515338":["hashtag1","hashtag2"]},{"1399515326":["hashtag1","hashtag2"]},{"1399515328":["hashtag1","hashtag2"]},{"1399515322":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399515324, 1399515320, 1399515338, 1399515326, 1399515328, 1399515322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.67810344696045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 14:52:02.837994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/15/image_15122025_14_15_44_9666.jpg', '/home/pi/Desktop/images/15122025/14/15/image_15122025_14_15_55_10747.jpg', '/home/pi/Desktop/images/15122025/14/15/image_15122025_14_16_05_9605.jpg', '/home/pi/Desktop/images/15122025/14/16/image_15122025_14_16_14_9798.jpg', '/home/pi/Desktop/images/15122025/14/16/image_15122025_14_16_24_10015.jpg', '/home/pi/Desktop/images/15122025/14/16/image_15122025_14_16_34_9793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/15/image_15122025_14_15_44_9666.jpg
/home/pi/Desktop/images/15122025/14/15/image_15122025_14_15_55_10747.jpg
/home/pi/Desktop/images/15122025/14/15/image_15122025_14_16_05_9605.jpg
/home/pi/Desktop/images/15122025/14/16/image_15122025_14_16_14_9798.jpg
/home/pi/Desktop/images/15122025/14/16/image_15122025_14_16_24_10015.jpg
/home/pi/Desktop/images/15122025/14/16/image_15122025_14_16_34_9793.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399515366","1399515371","1399515359","1399515374","1399515368","1399515361"],"photo_ids_order":["1399515359","1399515361","1399515366","1399515368","1399515371","1399515374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/edfbd0f2dcdce772632e01815bbb7b36.jpg","text":"TemporaryFile(/tmp/multipartBody5918382015587263733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806783499,"filename":"image_15122025_14_16_05_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4c052c28fc497290bfdc7b9c026aeb5c.jpg","text":"TemporaryFile(/tmp/multipartBody6662166635067806072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806783499,"filename":"image_15122025_14_16_24_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/15/4c1c8ad90c90b5c114ffddd57ebe7e3b.jpg","text":"TemporaryFile(/tmp/multipartBody3270923291604434342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806783499,"filename":"image_15122025_14_15_44_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/471d2665c0e4cd26047dc80243c9c12d.jpg","text":"TemporaryFile(/tmp/multipartBody1512487159931629174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806783499,"filename":"image_15122025_14_16_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/15/133f4b2ce279f2880899906fba897d43.jpg","text":"TemporaryFile(/tmp/multipartBody2117231219583591357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806783499,"filename":"image_15122025_14_16_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/15/82dc25b9f9619eeebd25d445975d5020.jpg","text":"TemporaryFile(/tmp/multipartBody482250825722614100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806783499,"filename":"image_15122025_14_15_55_10747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399515366","file1":"1399515361","file0":"1399515359","file4":"1399515371","file5":"1399515374","file3":"1399515368"},"map_files_photo_id_array":[{"photo_id":"1399515374","filename":"file5"},{"photo_id":"1399515366","filename":"file2"},{"photo_id":"1399515371","filename":"file4"},{"photo_id":"1399515361","filename":"file1"},{"photo_id":"1399515359","filename":"file0"},{"photo_id":"1399515368","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399515366":["hashtag1","hashtag2"]},{"1399515371":["hashtag1","hashtag2"]},{"1399515359":["hashtag1","hashtag2"]},{"1399515374":["hashtag1","hashtag2"]},{"1399515368":["hashtag1","hashtag2"]},{"1399515361":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399515366, 1399515371, 1399515359, 1399515374, 1399515368, 1399515361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.768420696258545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 14:52:42.474458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/13/image_05112025_15_13_03_3725.jpg', '/home/pi/Desktop/images/05112025/15/13/image_05112025_15_13_06_2653.jpg', '/home/pi/Desktop/images/05112025/15/13/image_05112025_15_13_09_2808.jpg', '/home/pi/Desktop/images/05112025/15/13/image_05112025_15_13_12_2943.jpg', '/home/pi/Desktop/images/05112025/15/13/image_05112025_15_13_15_3584.jpg', '/home/pi/Desktop/images/05112025/15/13/image_05112025_15_13_18_2603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/13/image_05112025_15_13_03_3725.jpg
/home/pi/Desktop/images/05112025/15/13/image_05112025_15_13_06_2653.jpg
/home/pi/Desktop/images/05112025/15/13/image_05112025_15_13_09_2808.jpg
/home/pi/Desktop/images/05112025/15/13/image_05112025_15_13_12_2943.jpg
/home/pi/Desktop/images/05112025/15/13/image_05112025_15_13_15_3584.jpg
/home/pi/Desktop/images/05112025/15/13/image_05112025_15_13_18_2603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399515396","1399515411","1399515395","1399515397","1399515391","1399515403"],"photo_ids_order":["1399515391","1399515395","1399515396","1399515397","1399515403","1399515411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b6a27e6f6bf1d40668db27d146244eb8.jpg","text":"TemporaryFile(/tmp/multipartBody4305660786086044550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806823179,"filename":"image_05112025_15_13_09_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1dbacffc78f04de5d0f64eb0ffce487e.jpg","text":"TemporaryFile(/tmp/multipartBody8477625690978760131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806823179,"filename":"image_05112025_15_13_18_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/15/ac476abc7ea881dc99dc23509c95b93c.jpg","text":"TemporaryFile(/tmp/multipartBody5459238470754398313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806823179,"filename":"image_05112025_15_13_06_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/15/310db0f57a5f01ea71c1e9247529db7d.jpg","text":"TemporaryFile(/tmp/multipartBody5813764413549664886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806823179,"filename":"image_05112025_15_13_12_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/15/9f9e958cdbc9a512cf7d7f8af752cbf3.jpg","text":"TemporaryFile(/tmp/multipartBody6541040096395615778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806823179,"filename":"image_05112025_15_13_03_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/15/0c90d5cf89e35b4f1b33662b66e44286.jpg","text":"TemporaryFile(/tmp/multipartBody4735408279342029699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806823179,"filename":"image_05112025_15_13_15_3584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399515396","file1":"1399515395","file0":"1399515391","file4":"1399515403","file5":"1399515411","file3":"1399515397"},"map_files_photo_id_array":[{"photo_id":"1399515411","filename":"file5"},{"photo_id":"1399515396","filename":"file2"},{"photo_id":"1399515403","filename":"file4"},{"photo_id":"1399515395","filename":"file1"},{"photo_id":"1399515391","filename":"file0"},{"photo_id":"1399515397","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399515396":["hashtag1","hashtag2"]},{"1399515411":["hashtag1","hashtag2"]},{"1399515395":["hashtag1","hashtag2"]},{"1399515397":["hashtag1","hashtag2"]},{"1399515391":["hashtag1","hashtag2"]},{"1399515403":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399515396, 1399515411, 1399515395, 1399515397, 1399515391, 1399515403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.460771560668945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 14:53:22.817851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/16/image_15122025_14_16_45_10791.jpg', '/home/pi/Desktop/images/15122025/14/16/image_15122025_14_16_55_9735.jpg', '/home/pi/Desktop/images/15122025/14/16/image_15122025_14_17_05_9802.jpg', '/home/pi/Desktop/images/15122025/14/17/image_15122025_14_17_15_10577.jpg', '/home/pi/Desktop/images/15122025/14/17/image_15122025_14_17_25_9632.jpg', '/home/pi/Desktop/images/15122025/14/17/image_15122025_14_17_34_9580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/16/image_15122025_14_16_45_10791.jpg
/home/pi/Desktop/images/15122025/14/16/image_15122025_14_16_55_9735.jpg
/home/pi/Desktop/images/15122025/14/16/image_15122025_14_17_05_9802.jpg
/home/pi/Desktop/images/15122025/14/17/image_15122025_14_17_15_10577.jpg
/home/pi/Desktop/images/15122025/14/17/image_15122025_14_17_25_9632.jpg
/home/pi/Desktop/images/15122025/14/17/image_15122025_14_17_34_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":["1399515432","1399515428","1399515422","1399515425","1399515419","1399515427"],"photo_ids_order":["1399515419","1399515422","1399515425","1399515427","1399515428","1399515432"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7de53c338b665d39368c6341edbf15a4.jpg","text":"TemporaryFile(/tmp/multipartBody3932043624372465362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806863444,"filename":"image_15122025_14_17_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/15/46d28f41e49c5bd3c1252b22e66fb30a.jpg","text":"TemporaryFile(/tmp/multipartBody838334105632254254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806863444,"filename":"image_15122025_14_17_25_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2b406fc53b3baefe1d39223f379650a9.jpg","text":"TemporaryFile(/tmp/multipartBody7272675312382825029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806863444,"filename":"image_15122025_14_16_55_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2e8aa7943f2c5d98b8917dddaa555347.jpg","text":"TemporaryFile(/tmp/multipartBody1646023395690667297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806863444,"filename":"image_15122025_14_17_05_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9fc002af44ec7dcb30afd32e1c0a12ea.jpg","text":"TemporaryFile(/tmp/multipartBody8225213272658072761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806863444,"filename":"image_15122025_14_16_45_10791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/09a9d9c01dc5f48f6043fa18eb4c5915.jpg","text":"TemporaryFile(/tmp/multipartBody2710142070626409309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806863444,"filename":"image_15122025_14_17_15_10577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399515425","file1":"1399515422","file0":"1399515419","file4":"1399515428","file5":"1399515432","file3":"1399515427"},"map_files_photo_id_array":[{"photo_id":"1399515432","filename":"file5"},{"photo_id":"1399515425","filename":"file2"},{"photo_id":"1399515428","filename":"file4"},{"photo_id":"1399515422","filename":"file1"},{"photo_id":"1399515419","filename":"file0"},{"photo_id":"1399515427","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399515432":["hashtag1","hashtag2"]},{"1399515428":["hashtag1","hashtag2"]},{"1399515422":["hashtag1","hashtag2"]},{"1399515425":["hashtag1","hashtag2"]},{"1399515419":["hashtag1","hashtag2"]},{"1399515427":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399515432, 1399515428, 1399515422, 1399515425, 1399515419, 1399515427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.948410749435425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 14:54:02.570252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/17/image_15122025_14_17_45_10716.jpg', '/home/pi/Desktop/images/15122025/14/17/image_15122025_14_17_55_9778.jpg', '/home/pi/Desktop/images/15122025/14/17/image_15122025_14_18_05_9784.jpg', '/home/pi/Desktop/images/15122025/14/18/image_15122025_14_18_15_9848.jpg', '/home/pi/Desktop/images/15122025/14/18/image_15122025_14_18_25_10680.jpg', '/home/pi/Desktop/images/15122025/14/18/image_15122025_14_18_35_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/17/image_15122025_14_17_45_10716.jpg
/home/pi/Desktop/images/15122025/14/17/image_15122025_14_17_55_9778.jpg
/home/pi/Desktop/images/15122025/14/17/image_15122025_14_18_05_9784.jpg
/home/pi/Desktop/images/15122025/14/18/image_15122025_14_18_15_9848.jpg
/home/pi/Desktop/images/15122025/14/18/image_15122025_14_18_25_10680.jpg
/home/pi/Desktop/images/15122025/14/18/image_15122025_14_18_35_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.5914320945739746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 14:54:11.938174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 14:54:21.974030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/17/image_15122025_14_17_45_10716.jpg', '/home/pi/Desktop/images/15122025/14/17/image_15122025_14_17_55_9778.jpg', '/home/pi/Desktop/images/15122025/14/17/image_15122025_14_18_05_9784.jpg', '/home/pi/Desktop/images/15122025/14/18/image_15122025_14_18_15_9848.jpg', '/home/pi/Desktop/images/15122025/14/18/image_15122025_14_18_25_10680.jpg', '/home/pi/Desktop/images/15122025/14/18/image_15122025_14_18_35_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/17/image_15122025_14_17_45_10716.jpg
/home/pi/Desktop/images/15122025/14/17/image_15122025_14_17_55_9778.jpg
/home/pi/Desktop/images/15122025/14/17/image_15122025_14_18_05_9784.jpg
/home/pi/Desktop/images/15122025/14/18/image_15122025_14_18_15_9848.jpg
/home/pi/Desktop/images/15122025/14/18/image_15122025_14_18_25_10680.jpg
/home/pi/Desktop/images/15122025/14/18/image_15122025_14_18_35_9736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399515456","1399515459","1399515464","1399515469","1399515472","1399515466"],"photo_ids_order":["1399515456","1399515459","1399515464","1399515466","1399515469","1399515472"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/98362162b15712cbc67efe0fbc1790b4.jpg","text":"TemporaryFile(/tmp/multipartBody8970030310785287425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806922641,"filename":"image_15122025_14_17_45_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b54ef35222241dcce182ed95bb392440.jpg","text":"TemporaryFile(/tmp/multipartBody9122070865116717262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806922641,"filename":"image_15122025_14_17_55_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fc7a38e3ea1a880a66f4bbec6492753a.jpg","text":"TemporaryFile(/tmp/multipartBody7802515336976510731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806922641,"filename":"image_15122025_14_18_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/15/8f3baa7263fc98b719f9c5e549aae550.jpg","text":"TemporaryFile(/tmp/multipartBody6108282276201251151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806922641,"filename":"image_15122025_14_18_25_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a948f6b8560e396dc7762de1988adbae.jpg","text":"TemporaryFile(/tmp/multipartBody1907098373498553082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806922641,"filename":"image_15122025_14_18_35_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/15d3f68455186129f71056f32a73bd8c.jpg","text":"TemporaryFile(/tmp/multipartBody6967944281407894501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806922641,"filename":"image_15122025_14_18_15_9848.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399515464","file1":"1399515459","file0":"1399515456","file4":"1399515469","file5":"1399515472","file3":"1399515466"},"map_files_photo_id_array":[{"photo_id":"1399515472","filename":"file5"},{"photo_id":"1399515464","filename":"file2"},{"photo_id":"1399515469","filename":"file4"},{"photo_id":"1399515459","filename":"file1"},{"photo_id":"1399515456","filename":"file0"},{"photo_id":"1399515466","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399515456":["hashtag1","hashtag2"]},{"1399515459":["hashtag1","hashtag2"]},{"1399515464":["hashtag1","hashtag2"]},{"1399515469":["hashtag1","hashtag2"]},{"1399515472":["hashtag1","hashtag2"]},{"1399515466":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399515456, 1399515459, 1399515464, 1399515469, 1399515472, 1399515466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.638492822647095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 14:55:02.878139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/18/image_15122025_14_18_45_9555.jpg', '/home/pi/Desktop/images/15122025/14/18/image_15122025_14_18_55_10620.jpg', '/home/pi/Desktop/images/15122025/14/18/image_15122025_14_19_05_9780.jpg', '/home/pi/Desktop/images/15122025/14/19/image_15122025_14_19_14_9584.jpg', '/home/pi/Desktop/images/15122025/14/19/image_15122025_14_19_24_9872.jpg', '/home/pi/Desktop/images/15122025/14/19/image_15122025_14_19_35_10780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/18/image_15122025_14_18_45_9555.jpg
/home/pi/Desktop/images/15122025/14/18/image_15122025_14_18_55_10620.jpg
/home/pi/Desktop/images/15122025/14/18/image_15122025_14_19_05_9780.jpg
/home/pi/Desktop/images/15122025/14/19/image_15122025_14_19_14_9584.jpg
/home/pi/Desktop/images/15122025/14/19/image_15122025_14_19_24_9872.jpg
/home/pi/Desktop/images/15122025/14/19/image_15122025_14_19_35_10780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399515474","1399515491","1399515485","1399515493","1399515496","1399515498"],"photo_ids_order":["1399515474","1399515485","1399515491","1399515493","1399515496","1399515498"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4bb14e25e2de1fbbe4d250620835f30b.jpg","text":"TemporaryFile(/tmp/multipartBody356231365612884219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806963528,"filename":"image_15122025_14_18_45_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ff4c1b0801f2acbd375194f64fa45c45.jpg","text":"TemporaryFile(/tmp/multipartBody220467423889338293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806963528,"filename":"image_15122025_14_19_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/15/25c8db671c53e8b1a7b46695d0b612b4.jpg","text":"TemporaryFile(/tmp/multipartBody996921051128939498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806963528,"filename":"image_15122025_14_18_55_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/05b978198fc5dec6a5d44e6a4795095e.jpg","text":"TemporaryFile(/tmp/multipartBody4663910305042865192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806963528,"filename":"image_15122025_14_19_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/15/6f20b21c6e9ff369b0866d34a23638bf.jpg","text":"TemporaryFile(/tmp/multipartBody4072512297993337961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806963528,"filename":"image_15122025_14_19_24_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/15/93347bfa31248178e8ea7bf4c193508c.jpg","text":"TemporaryFile(/tmp/multipartBody527929243748633887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765806963528,"filename":"image_15122025_14_19_35_10780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399515491","file1":"1399515485","file0":"1399515474","file4":"1399515496","file5":"1399515498","file3":"1399515493"},"map_files_photo_id_array":[{"photo_id":"1399515498","filename":"file5"},{"photo_id":"1399515491","filename":"file2"},{"photo_id":"1399515496","filename":"file4"},{"photo_id":"1399515485","filename":"file1"},{"photo_id":"1399515474","filename":"file0"},{"photo_id":"1399515493","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399515474":["hashtag1","hashtag2"]},{"1399515491":["hashtag1","hashtag2"]},{"1399515485":["hashtag1","hashtag2"]},{"1399515493":["hashtag1","hashtag2"]},{"1399515496":["hashtag1","hashtag2"]},{"1399515498":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399515474, 1399515491, 1399515485, 1399515493, 1399515496, 1399515498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.580655336380005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 14:55:42.153050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/13/image_05112025_15_13_21_2626.jpg', '/home/pi/Desktop/images/05112025/15/13/image_05112025_15_13_24_3603.jpg', '/home/pi/Desktop/images/05112025/15/13/image_05112025_15_13_40_15780.jpg', '/home/pi/Desktop/images/05112025/15/13/image_05112025_15_13_42_1622.jpg', '/home/pi/Desktop/images/05112025/15/13/image_05112025_15_13_43_1548.jpg', '/home/pi/Desktop/images/05112025/15/13/image_05112025_15_13_45_1621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/13/image_05112025_15_13_21_2626.jpg
/home/pi/Desktop/images/05112025/15/13/image_05112025_15_13_24_3603.jpg
/home/pi/Desktop/images/05112025/15/13/image_05112025_15_13_40_15780.jpg
/home/pi/Desktop/images/05112025/15/13/image_05112025_15_13_42_1622.jpg
/home/pi/Desktop/images/05112025/15/13/image_05112025_15_13_43_1548.jpg
/home/pi/Desktop/images/05112025/15/13/image_05112025_15_13_45_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":["1399515564","1399515516","1399515510","1399515513","1399515562","1399515514"],"photo_ids_order":["1399515510","1399515513","1399515514","1399515516","1399515562","1399515564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0d779cd5179c84e224f5d85e98464dc2.jpg","text":"TemporaryFile(/tmp/multipartBody1405326102527636574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807002855,"filename":"image_05112025_15_13_45_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/15/5a955a5a944563d03772a5506f70275d.jpg","text":"TemporaryFile(/tmp/multipartBody2863814262174095276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807002855,"filename":"image_05112025_15_13_42_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/15/f931714e19b2207a0b1a19b771b1843a.jpg","text":"TemporaryFile(/tmp/multipartBody4998640298860386808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807002855,"filename":"image_05112025_15_13_21_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/15/670d2c7be01e8eb9cc5e8ab63842c718.jpg","text":"TemporaryFile(/tmp/multipartBody8637345285874825083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807002855,"filename":"image_05112025_15_13_24_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/15/534fa4e608ad285a20416a1bccde433b.jpg","text":"TemporaryFile(/tmp/multipartBody4329075630401430931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807002855,"filename":"image_05112025_15_13_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/15/8ed21b401531b73268ebb24414964ebb.jpg","text":"TemporaryFile(/tmp/multipartBody3584321355932141282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807002855,"filename":"image_05112025_15_13_40_15780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399515514","file1":"1399515513","file0":"1399515510","file4":"1399515562","file5":"1399515564","file3":"1399515516"},"map_files_photo_id_array":[{"photo_id":"1399515564","filename":"file5"},{"photo_id":"1399515514","filename":"file2"},{"photo_id":"1399515562","filename":"file4"},{"photo_id":"1399515513","filename":"file1"},{"photo_id":"1399515510","filename":"file0"},{"photo_id":"1399515516","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399515564":["hashtag1","hashtag2"]},{"1399515516":["hashtag1","hashtag2"]},{"1399515510":["hashtag1","hashtag2"]},{"1399515513":["hashtag1","hashtag2"]},{"1399515562":["hashtag1","hashtag2"]},{"1399515514":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399515564, 1399515516, 1399515510, 1399515513, 1399515562, 1399515514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15410399436951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 14:56:22.429704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/19/image_15122025_14_19_45_9716.jpg', '/home/pi/Desktop/images/15122025/14/19/image_15122025_14_19_54_9610.jpg', '/home/pi/Desktop/images/15122025/14/19/image_15122025_14_20_05_10732.jpg', '/home/pi/Desktop/images/15122025/14/20/image_15122025_14_20_15_9767.jpg', '/home/pi/Desktop/images/15122025/14/20/image_15122025_14_20_25_9643.jpg', '/home/pi/Desktop/images/15122025/14/20/image_15122025_14_20_34_9823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/19/image_15122025_14_19_45_9716.jpg
/home/pi/Desktop/images/15122025/14/19/image_15122025_14_19_54_9610.jpg
/home/pi/Desktop/images/15122025/14/19/image_15122025_14_20_05_10732.jpg
/home/pi/Desktop/images/15122025/14/20/image_15122025_14_20_15_9767.jpg
/home/pi/Desktop/images/15122025/14/20/image_15122025_14_20_25_9643.jpg
/home/pi/Desktop/images/15122025/14/20/image_15122025_14_20_34_9823.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399515609","1399515603","1399515606","1399515611","1399515619","1399515601"],"photo_ids_order":["1399515601","1399515603","1399515606","1399515609","1399515611","1399515619"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/67fb1ebdd9639c433db5ecd6300e5950.jpg","text":"TemporaryFile(/tmp/multipartBody5423104314754203710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807043051,"filename":"image_15122025_14_20_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/15/61deb3abf5003fae75009f8df46c2732.jpg","text":"TemporaryFile(/tmp/multipartBody8558505393598220720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807043051,"filename":"image_15122025_14_19_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/15/2dc271f9008d8453b8ce7b52951442ee.jpg","text":"TemporaryFile(/tmp/multipartBody8592687628687672301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807043051,"filename":"image_15122025_14_20_05_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3e0a7623cbfced630dfa57d1ff6f679f.jpg","text":"TemporaryFile(/tmp/multipartBody4431610236909808091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807043051,"filename":"image_15122025_14_20_25_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/06b9fdbfd4e602db72408f8a8c16ba2f.jpg","text":"TemporaryFile(/tmp/multipartBody5904484359368775661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807043051,"filename":"image_15122025_14_20_34_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a5d27dc35a0016860a543d90d693b6a4.jpg","text":"TemporaryFile(/tmp/multipartBody1182660608987033577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807043051,"filename":"image_15122025_14_19_45_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399515606","file1":"1399515603","file0":"1399515601","file4":"1399515611","file5":"1399515619","file3":"1399515609"},"map_files_photo_id_array":[{"photo_id":"1399515619","filename":"file5"},{"photo_id":"1399515606","filename":"file2"},{"photo_id":"1399515611","filename":"file4"},{"photo_id":"1399515603","filename":"file1"},{"photo_id":"1399515601","filename":"file0"},{"photo_id":"1399515609","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399515609":["hashtag1","hashtag2"]},{"1399515603":["hashtag1","hashtag2"]},{"1399515606":["hashtag1","hashtag2"]},{"1399515611":["hashtag1","hashtag2"]},{"1399515619":["hashtag1","hashtag2"]},{"1399515601":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399515609, 1399515603, 1399515606, 1399515611, 1399515619, 1399515601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74574160575867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 14:57:03.264231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/20/image_15122025_14_20_45_10809.jpg', '/home/pi/Desktop/images/15122025/14/20/image_15122025_14_20_55_9733.jpg', '/home/pi/Desktop/images/15122025/14/20/image_15122025_14_21_05_9754.jpg', '/home/pi/Desktop/images/15122025/14/21/image_15122025_14_21_14_9673.jpg', '/home/pi/Desktop/images/15122025/14/21/image_15122025_14_21_25_10585.jpg', '/home/pi/Desktop/images/15122025/14/21/image_15122025_14_21_35_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/20/image_15122025_14_20_45_10809.jpg
/home/pi/Desktop/images/15122025/14/20/image_15122025_14_20_55_9733.jpg
/home/pi/Desktop/images/15122025/14/20/image_15122025_14_21_05_9754.jpg
/home/pi/Desktop/images/15122025/14/21/image_15122025_14_21_14_9673.jpg
/home/pi/Desktop/images/15122025/14/21/image_15122025_14_21_25_10585.jpg
/home/pi/Desktop/images/15122025/14/21/image_15122025_14_21_35_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":["1399515642","1399515636","1399515638","1399515637","1399515631","1399515634"],"photo_ids_order":["1399515631","1399515634","1399515636","1399515637","1399515638","1399515642"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1176c52e599a8370ca4777a3505d5ff0.jpg","text":"TemporaryFile(/tmp/multipartBody8335576371124193654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807083930,"filename":"image_15122025_14_21_35_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fc85eba0c25fad8689b53df0252d5ca9.jpg","text":"TemporaryFile(/tmp/multipartBody8692224681306959411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807083930,"filename":"image_15122025_14_21_05_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1f848a3e36c714d82316e1e64fc1519c.jpg","text":"TemporaryFile(/tmp/multipartBody6850938632224566000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807083930,"filename":"image_15122025_14_21_25_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/15/0aa01f9eb916aacfa197c57b4caee2a5.jpg","text":"TemporaryFile(/tmp/multipartBody289837446439701843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807083930,"filename":"image_15122025_14_21_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/15/abeb6e9ac7b5226d8b7ead78877794fb.jpg","text":"TemporaryFile(/tmp/multipartBody8642030950842273519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807083930,"filename":"image_15122025_14_20_45_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/15/b54838d1663598bd736abbbd9d5bc072.jpg","text":"TemporaryFile(/tmp/multipartBody7021854652138187076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807083930,"filename":"image_15122025_14_20_55_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399515636","file1":"1399515634","file0":"1399515631","file4":"1399515638","file5":"1399515642","file3":"1399515637"},"map_files_photo_id_array":[{"photo_id":"1399515642","filename":"file5"},{"photo_id":"1399515636","filename":"file2"},{"photo_id":"1399515638","filename":"file4"},{"photo_id":"1399515634","filename":"file1"},{"photo_id":"1399515631","filename":"file0"},{"photo_id":"1399515637","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399515642":["hashtag1","hashtag2"]},{"1399515636":["hashtag1","hashtag2"]},{"1399515638":["hashtag1","hashtag2"]},{"1399515637":["hashtag1","hashtag2"]},{"1399515631":["hashtag1","hashtag2"]},{"1399515634":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399515642, 1399515636, 1399515638, 1399515637, 1399515631, 1399515634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73826503753662 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 14:57:42.826693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/13/image_05112025_15_13_55_10030.jpg', '/home/pi/Desktop/images/05112025/15/13/image_05112025_15_13_56_1540.jpg', '/home/pi/Desktop/images/05112025/15/13/image_05112025_15_13_58_1625.jpg', '/home/pi/Desktop/images/05112025/15/13/image_05112025_15_14_00_1663.jpg', '/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_01_1569.jpg', '/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_03_1629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/13/image_05112025_15_13_55_10030.jpg
/home/pi/Desktop/images/05112025/15/13/image_05112025_15_13_56_1540.jpg
/home/pi/Desktop/images/05112025/15/13/image_05112025_15_13_58_1625.jpg
/home/pi/Desktop/images/05112025/15/13/image_05112025_15_14_00_1663.jpg
/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_01_1569.jpg
/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_03_1629.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399515651","1399515662","1399515659","1399515653","1399515649","1399515652"],"photo_ids_order":["1399515649","1399515651","1399515652","1399515653","1399515659","1399515662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/830169b4d338361957635dcbaa171b4c.jpg","text":"TemporaryFile(/tmp/multipartBody8458509403389953180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807123558,"filename":"image_05112025_15_13_56_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/15/d564dff0678368727cdca9867f204165.jpg","text":"TemporaryFile(/tmp/multipartBody1301161569003700563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807123558,"filename":"image_05112025_15_14_03_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/15/d1361c4771bd508afd98c6865350fca5.jpg","text":"TemporaryFile(/tmp/multipartBody2840078001897057508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807123558,"filename":"image_05112025_15_14_01_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/15/29b9ee6d6f170391505d96421272e338.jpg","text":"TemporaryFile(/tmp/multipartBody1740155859593778805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807123558,"filename":"image_05112025_15_14_00_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/15/64350dae500ba124651ea690f029a42e.jpg","text":"TemporaryFile(/tmp/multipartBody270202541960693474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807123558,"filename":"image_05112025_15_13_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/15/b565747466bbc6427b4b69d7d9002f40.jpg","text":"TemporaryFile(/tmp/multipartBody7666971468275325930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807123558,"filename":"image_05112025_15_13_58_1625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399515652","file1":"1399515651","file0":"1399515649","file4":"1399515659","file5":"1399515662","file3":"1399515653"},"map_files_photo_id_array":[{"photo_id":"1399515662","filename":"file5"},{"photo_id":"1399515652","filename":"file2"},{"photo_id":"1399515659","filename":"file4"},{"photo_id":"1399515651","filename":"file1"},{"photo_id":"1399515649","filename":"file0"},{"photo_id":"1399515653","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399515651":["hashtag1","hashtag2"]},{"1399515662":["hashtag1","hashtag2"]},{"1399515659":["hashtag1","hashtag2"]},{"1399515653":["hashtag1","hashtag2"]},{"1399515649":["hashtag1","hashtag2"]},{"1399515652":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399515651, 1399515662, 1399515659, 1399515653, 1399515649, 1399515652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74529266357422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 14:59:03.002214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/21/image_15122025_14_21_44_9758.jpg', '/home/pi/Desktop/images/15122025/14/21/image_15122025_14_21_54_9823.jpg', '/home/pi/Desktop/images/15122025/14/21/image_15122025_14_22_05_10864.jpg', '/home/pi/Desktop/images/15122025/14/22/image_15122025_14_22_15_9736.jpg', '/home/pi/Desktop/images/15122025/14/22/image_15122025_14_22_25_9744.jpg', '/home/pi/Desktop/images/15122025/14/22/image_15122025_14_22_34_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/21/image_15122025_14_21_44_9758.jpg
/home/pi/Desktop/images/15122025/14/21/image_15122025_14_21_54_9823.jpg
/home/pi/Desktop/images/15122025/14/21/image_15122025_14_22_05_10864.jpg
/home/pi/Desktop/images/15122025/14/22/image_15122025_14_22_15_9736.jpg
/home/pi/Desktop/images/15122025/14/22/image_15122025_14_22_25_9744.jpg
/home/pi/Desktop/images/15122025/14/22/image_15122025_14_22_34_9703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399515675","1399515669","1399515683","1399515667","1399515681","1399515678"],"photo_ids_order":["1399515667","1399515669","1399515675","1399515678","1399515681","1399515683"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7d7779c8cb0fec5b37d3f4246a525a9c.jpg","text":"TemporaryFile(/tmp/multipartBody4598978497788312913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807203735,"filename":"image_15122025_14_22_05_10864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0291b338dc261a81385f0486a2d21311.jpg","text":"TemporaryFile(/tmp/multipartBody524441413563659006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807203735,"filename":"image_15122025_14_21_54_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1b4f95271857d2933f13d76289d457ca.jpg","text":"TemporaryFile(/tmp/multipartBody3612847165648316141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807203735,"filename":"image_15122025_14_22_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/15/30ebd3c1af0063518bf56f5b9267ec72.jpg","text":"TemporaryFile(/tmp/multipartBody3405519007702716759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807203735,"filename":"image_15122025_14_21_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/15/bdc7c6f69079ab929442470ea95daf27.jpg","text":"TemporaryFile(/tmp/multipartBody3998666718844675231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807203735,"filename":"image_15122025_14_22_25_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2993d375b90fb830dc4a86ce313ecac2.jpg","text":"TemporaryFile(/tmp/multipartBody4520121822352963563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807203735,"filename":"image_15122025_14_22_15_9736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399515675","file1":"1399515669","file0":"1399515667","file4":"1399515681","file5":"1399515683","file3":"1399515678"},"map_files_photo_id_array":[{"photo_id":"1399515683","filename":"file5"},{"photo_id":"1399515675","filename":"file2"},{"photo_id":"1399515681","filename":"file4"},{"photo_id":"1399515669","filename":"file1"},{"photo_id":"1399515667","filename":"file0"},{"photo_id":"1399515678","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399515675":["hashtag1","hashtag2"]},{"1399515669":["hashtag1","hashtag2"]},{"1399515683":["hashtag1","hashtag2"]},{"1399515667":["hashtag1","hashtag2"]},{"1399515681":["hashtag1","hashtag2"]},{"1399515678":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399515675, 1399515669, 1399515683, 1399515667, 1399515681, 1399515678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94464111328125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 14:59:42.232226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_06_3506.jpg', '/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_09_2978.jpg', '/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_11_1566.jpg', '/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_13_1843.jpg', '/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_16_3564.jpg', '/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_18_1549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_06_3506.jpg
/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_09_2978.jpg
/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_11_1566.jpg
/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_13_1843.jpg
/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_16_3564.jpg
/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_18_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":["1399515702","1399515705","1399515689","1399515716","1399515709","1399515699"],"photo_ids_order":["1399515689","1399515699","1399515702","1399515705","1399515709","1399515716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e6cee1ab5c127c88ba3c36d45fdd6af5.jpg","text":"TemporaryFile(/tmp/multipartBody7593081374542911037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807242933,"filename":"image_05112025_15_14_11_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/15/fe34bfcf0de07f972d6ec35542d22b3d.jpg","text":"TemporaryFile(/tmp/multipartBody221034009488533847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807242933,"filename":"image_05112025_15_14_13_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/15/209cda9282826853b6216a314de1115c.jpg","text":"TemporaryFile(/tmp/multipartBody2247714438606522477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807242933,"filename":"image_05112025_15_14_06_3506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ea0434f81a2920b62c54aef3f2e11f26.jpg","text":"TemporaryFile(/tmp/multipartBody3453104669344945457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807242933,"filename":"image_05112025_15_14_18_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/15/55c6a4b0a42647c51a1dfe33968cac91.jpg","text":"TemporaryFile(/tmp/multipartBody6593333917362566737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807242933,"filename":"image_05112025_15_14_16_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/25b3fe16ccc248239deb72624500e12b.jpg","text":"TemporaryFile(/tmp/multipartBody2943028632175026847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807242933,"filename":"image_05112025_15_14_09_2978.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399515702","file1":"1399515699","file0":"1399515689","file4":"1399515709","file5":"1399515716","file3":"1399515705"},"map_files_photo_id_array":[{"photo_id":"1399515716","filename":"file5"},{"photo_id":"1399515702","filename":"file2"},{"photo_id":"1399515709","filename":"file4"},{"photo_id":"1399515699","filename":"file1"},{"photo_id":"1399515689","filename":"file0"},{"photo_id":"1399515705","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399515702":["hashtag1","hashtag2"]},{"1399515705":["hashtag1","hashtag2"]},{"1399515689":["hashtag1","hashtag2"]},{"1399515716":["hashtag1","hashtag2"]},{"1399515709":["hashtag1","hashtag2"]},{"1399515699":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399515702, 1399515705, 1399515689, 1399515716, 1399515709, 1399515699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.525105237960815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 15:00:22.540537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/22/image_15122025_14_22_45_10705.jpg', '/home/pi/Desktop/images/15122025/14/22/image_15122025_14_22_55_9715.jpg', '/home/pi/Desktop/images/15122025/14/22/image_15122025_14_23_05_9846.jpg', '/home/pi/Desktop/images/15122025/14/23/image_15122025_14_23_14_9817.jpg', '/home/pi/Desktop/images/15122025/14/23/image_15122025_14_23_24_9911.jpg', '/home/pi/Desktop/images/15122025/14/23/image_15122025_14_23_35_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/22/image_15122025_14_22_45_10705.jpg
/home/pi/Desktop/images/15122025/14/22/image_15122025_14_22_55_9715.jpg
/home/pi/Desktop/images/15122025/14/22/image_15122025_14_23_05_9846.jpg
/home/pi/Desktop/images/15122025/14/23/image_15122025_14_23_14_9817.jpg
/home/pi/Desktop/images/15122025/14/23/image_15122025_14_23_24_9911.jpg
/home/pi/Desktop/images/15122025/14/23/image_15122025_14_23_35_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":["1399515735","1399515738","1399515737","1399515734","1399515736","1399515733"],"photo_ids_order":["1399515733","1399515734","1399515735","1399515736","1399515737","1399515738"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9fe791003317f2be1a4486966363206f.jpg","text":"TemporaryFile(/tmp/multipartBody6615006792461717742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807283163,"filename":"image_15122025_14_23_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/15/163734043bb3e61aaeef7617281da564.jpg","text":"TemporaryFile(/tmp/multipartBody2746778536620264781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807283163,"filename":"image_15122025_14_23_35_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/40f5a1aeb2836884c1a3b1487a7e86f8.jpg","text":"TemporaryFile(/tmp/multipartBody9169862448285636275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807283163,"filename":"image_15122025_14_23_24_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/15/87cc01f7067c3e89c3c79a297de0ceda.jpg","text":"TemporaryFile(/tmp/multipartBody3850638726850506953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807283163,"filename":"image_15122025_14_22_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/15/b81bcfed31f303053872b6ab3af4897a.jpg","text":"TemporaryFile(/tmp/multipartBody5889430863493041152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807283163,"filename":"image_15122025_14_23_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/15/f508a8e25984431a64c2b95659651cb0.jpg","text":"TemporaryFile(/tmp/multipartBody4046833320405735124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807283163,"filename":"image_15122025_14_22_45_10705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399515735","file1":"1399515734","file0":"1399515733","file4":"1399515737","file5":"1399515738","file3":"1399515736"},"map_files_photo_id_array":[{"photo_id":"1399515738","filename":"file5"},{"photo_id":"1399515735","filename":"file2"},{"photo_id":"1399515737","filename":"file4"},{"photo_id":"1399515734","filename":"file1"},{"photo_id":"1399515733","filename":"file0"},{"photo_id":"1399515736","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399515735":["hashtag1","hashtag2"]},{"1399515738":["hashtag1","hashtag2"]},{"1399515737":["hashtag1","hashtag2"]},{"1399515734":["hashtag1","hashtag2"]},{"1399515736":["hashtag1","hashtag2"]},{"1399515733":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399515735, 1399515738, 1399515737, 1399515734, 1399515736, 1399515733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5414605140686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 15:01:03.537349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/23/image_15122025_14_23_45_9705.jpg', '/home/pi/Desktop/images/15122025/14/23/image_15122025_14_23_55_9937.jpg', '/home/pi/Desktop/images/15122025/14/23/image_15122025_14_24_04_9750.jpg', '/home/pi/Desktop/images/15122025/14/24/image_15122025_14_24_15_10738.jpg', '/home/pi/Desktop/images/15122025/14/24/image_15122025_14_24_25_9702.jpg', '/home/pi/Desktop/images/15122025/14/24/image_15122025_14_24_35_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/23/image_15122025_14_23_45_9705.jpg
/home/pi/Desktop/images/15122025/14/23/image_15122025_14_23_55_9937.jpg
/home/pi/Desktop/images/15122025/14/23/image_15122025_14_24_04_9750.jpg
/home/pi/Desktop/images/15122025/14/24/image_15122025_14_24_15_10738.jpg
/home/pi/Desktop/images/15122025/14/24/image_15122025_14_24_25_9702.jpg
/home/pi/Desktop/images/15122025/14/24/image_15122025_14_24_35_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":["1399515879","1399515744","1399515953","1399516000","1399515748","1399515805"],"photo_ids_order":["1399515744","1399515748","1399515805","1399515879","1399515953","1399516000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4a0db3268ead005bcdfec378a997761f.jpg","text":"TemporaryFile(/tmp/multipartBody4200885676209505572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807324221,"filename":"image_15122025_14_24_15_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ffb2fede256faa595abc6293787a53c6.jpg","text":"TemporaryFile(/tmp/multipartBody6514845089918015279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807324221,"filename":"image_15122025_14_23_45_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/75c88b555f2cb29fddd175c986c78d08.jpg","text":"TemporaryFile(/tmp/multipartBody6962664166257546234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807324221,"filename":"image_15122025_14_24_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/15/3583b5362610f4dead64bd038074c534.jpg","text":"TemporaryFile(/tmp/multipartBody1885643103802633333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807324221,"filename":"image_15122025_14_24_35_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c42851331601db459897bed86fc1a2f4.jpg","text":"TemporaryFile(/tmp/multipartBody1056974806801996868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807324221,"filename":"image_15122025_14_23_55_9937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e15ac6757808ebe63945b1cc478d2381.jpg","text":"TemporaryFile(/tmp/multipartBody2546678168055833587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807324221,"filename":"image_15122025_14_24_04_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399515805","file1":"1399515748","file0":"1399515744","file4":"1399515953","file5":"1399516000","file3":"1399515879"},"map_files_photo_id_array":[{"photo_id":"1399516000","filename":"file5"},{"photo_id":"1399515805","filename":"file2"},{"photo_id":"1399515953","filename":"file4"},{"photo_id":"1399515748","filename":"file1"},{"photo_id":"1399515744","filename":"file0"},{"photo_id":"1399515879","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399515879":["hashtag1","hashtag2"]},{"1399515744":["hashtag1","hashtag2"]},{"1399515953":["hashtag1","hashtag2"]},{"1399516000":["hashtag1","hashtag2"]},{"1399515748":["hashtag1","hashtag2"]},{"1399515805":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399515879, 1399515744, 1399515953, 1399516000, 1399515748, 1399515805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23418879508972 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 15:01:42.773989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_19_1537.jpg', '/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_21_1632.jpg', '/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_37_16387.jpg', '/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_42_4425.jpg', '/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_43_1660.jpg', '/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_49_1680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_19_1537.jpg
/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_21_1632.jpg
/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_37_16387.jpg
/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_42_4425.jpg
/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_43_1660.jpg
/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_49_1680.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6315417289733887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 15:02:02.493149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/24/image_15122025_14_24_44_9802.jpg', '/home/pi/Desktop/images/15122025/14/24/image_15122025_14_24_55_10613.jpg', '/home/pi/Desktop/images/15122025/14/24/image_15122025_14_25_05_9676.jpg', '/home/pi/Desktop/images/15122025/14/25/image_15122025_14_25_15_9919.jpg', '/home/pi/Desktop/images/15122025/14/25/image_15122025_14_25_24_9895.jpg', '/home/pi/Desktop/images/15122025/14/25/image_15122025_14_25_35_10713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/24/image_15122025_14_24_44_9802.jpg
/home/pi/Desktop/images/15122025/14/24/image_15122025_14_24_55_10613.jpg
/home/pi/Desktop/images/15122025/14/24/image_15122025_14_25_05_9676.jpg
/home/pi/Desktop/images/15122025/14/25/image_15122025_14_25_15_9919.jpg
/home/pi/Desktop/images/15122025/14/25/image_15122025_14_25_24_9895.jpg
/home/pi/Desktop/images/15122025/14/25/image_15122025_14_25_35_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":["1399516151","1399516145","1399516160","1399516155","1399516149","1399516158"],"photo_ids_order":["1399516145","1399516149","1399516151","1399516155","1399516158","1399516160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0a998a51340dc42be54c13b81f7ba0c8.jpg","text":"TemporaryFile(/tmp/multipartBody5815772410704191713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807383137,"filename":"image_15122025_14_25_05_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c814950451759b17d14e59f768de6d6f.jpg","text":"TemporaryFile(/tmp/multipartBody7006926594856322440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807383137,"filename":"image_15122025_14_24_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/15/2d21deac47cf666ce0b6bb75395eaeb2.jpg","text":"TemporaryFile(/tmp/multipartBody7717251858040264970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807383137,"filename":"image_15122025_14_25_35_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/421a730980dcba63e217a281f61da30c.jpg","text":"TemporaryFile(/tmp/multipartBody207708706078112686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807383137,"filename":"image_15122025_14_25_15_9919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/91d1f1aeb662ec2146559009a1e5bd2a.jpg","text":"TemporaryFile(/tmp/multipartBody3584641042101130459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807383137,"filename":"image_15122025_14_24_55_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8bb61b1573311b7fc1a30f78d2832a3c.jpg","text":"TemporaryFile(/tmp/multipartBody4849854199955173214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807383137,"filename":"image_15122025_14_25_24_9895.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399516151","file1":"1399516149","file0":"1399516145","file4":"1399516158","file5":"1399516160","file3":"1399516155"},"map_files_photo_id_array":[{"photo_id":"1399516160","filename":"file5"},{"photo_id":"1399516151","filename":"file2"},{"photo_id":"1399516158","filename":"file4"},{"photo_id":"1399516149","filename":"file1"},{"photo_id":"1399516145","filename":"file0"},{"photo_id":"1399516155","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399516151":["hashtag1","hashtag2"]},{"1399516145":["hashtag1","hashtag2"]},{"1399516160":["hashtag1","hashtag2"]},{"1399516155":["hashtag1","hashtag2"]},{"1399516149":["hashtag1","hashtag2"]},{"1399516158":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399516151, 1399516145, 1399516160, 1399516155, 1399516149, 1399516158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85310077667236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 15:02:42.002567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_19_1537.jpg', '/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_21_1632.jpg', '/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_37_16387.jpg', '/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_42_4425.jpg', '/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_43_1660.jpg', '/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_49_1680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_19_1537.jpg
/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_21_1632.jpg
/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_37_16387.jpg
/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_42_4425.jpg
/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_43_1660.jpg
/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_49_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":["1399516172","1399516174","1399516168","1399516176","1399516161","1399516170"],"photo_ids_order":["1399516161","1399516168","1399516170","1399516172","1399516174","1399516176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/25d67e445de21845a149112718360018.jpg","text":"TemporaryFile(/tmp/multipartBody4309740808111112592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807422590,"filename":"image_05112025_15_14_42_4425.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/91c68342e55f1b660c0dc0989b4a8ffe.jpg","text":"TemporaryFile(/tmp/multipartBody1772182085754057911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807422590,"filename":"image_05112025_15_14_43_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/15/798cdf9cc5053b1f83f50304a96e93ea.jpg","text":"TemporaryFile(/tmp/multipartBody6256817140436314457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807422590,"filename":"image_05112025_15_14_21_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/73c052c181db99400134344e688f4f82.jpg","text":"TemporaryFile(/tmp/multipartBody3368793089248664805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807422590,"filename":"image_05112025_15_14_49_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/15/af877b73f1ff36a440cab20a39a0ce03.jpg","text":"TemporaryFile(/tmp/multipartBody6166854175928616958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807422590,"filename":"image_05112025_15_14_19_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/15/c880e2e49745be14d77f0cd9c366af9f.jpg","text":"TemporaryFile(/tmp/multipartBody519748643642427000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807422590,"filename":"image_05112025_15_14_37_16387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399516170","file1":"1399516168","file0":"1399516161","file4":"1399516174","file5":"1399516176","file3":"1399516172"},"map_files_photo_id_array":[{"photo_id":"1399516176","filename":"file5"},{"photo_id":"1399516170","filename":"file2"},{"photo_id":"1399516174","filename":"file4"},{"photo_id":"1399516168","filename":"file1"},{"photo_id":"1399516161","filename":"file0"},{"photo_id":"1399516172","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399516172":["hashtag1","hashtag2"]},{"1399516174":["hashtag1","hashtag2"]},{"1399516168":["hashtag1","hashtag2"]},{"1399516176":["hashtag1","hashtag2"]},{"1399516161":["hashtag1","hashtag2"]},{"1399516170":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399516172, 1399516174, 1399516168, 1399516176, 1399516161, 1399516170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40979027748108 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 15:03:22.274946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/25/image_15122025_14_25_45_9929.jpg', '/home/pi/Desktop/images/15122025/14/25/image_15122025_14_25_55_9737.jpg', '/home/pi/Desktop/images/15122025/14/25/image_15122025_14_26_05_9720.jpg', '/home/pi/Desktop/images/15122025/14/26/image_15122025_14_26_14_9813.jpg', '/home/pi/Desktop/images/15122025/14/26/image_15122025_14_26_25_10581.jpg', '/home/pi/Desktop/images/15122025/14/26/image_15122025_14_26_35_9802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/25/image_15122025_14_25_45_9929.jpg
/home/pi/Desktop/images/15122025/14/25/image_15122025_14_25_55_9737.jpg
/home/pi/Desktop/images/15122025/14/25/image_15122025_14_26_05_9720.jpg
/home/pi/Desktop/images/15122025/14/26/image_15122025_14_26_14_9813.jpg
/home/pi/Desktop/images/15122025/14/26/image_15122025_14_26_25_10581.jpg
/home/pi/Desktop/images/15122025/14/26/image_15122025_14_26_35_9802.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399516181","1399516184","1399516210","1399516207","1399516222","1399516194"],"photo_ids_order":["1399516181","1399516184","1399516194","1399516207","1399516210","1399516222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/84751df5e54422306f489122a8116025.jpg","text":"TemporaryFile(/tmp/multipartBody7665019193258577438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807462932,"filename":"image_15122025_14_25_45_9929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ddcdaf7676bd5cc9db1fb4e17fdf6680.jpg","text":"TemporaryFile(/tmp/multipartBody4394730587439693862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807462932,"filename":"image_15122025_14_25_55_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/729f33b1f7d82fbdd0fcb417e9242278.jpg","text":"TemporaryFile(/tmp/multipartBody1742342935977910992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807462932,"filename":"image_15122025_14_26_25_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7de1e3d857b2bd38f0d048802dce71c9.jpg","text":"TemporaryFile(/tmp/multipartBody4076179648930903103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807462932,"filename":"image_15122025_14_26_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/15/a9655dbfb392b3105ab11e85ef673bd6.jpg","text":"TemporaryFile(/tmp/multipartBody541340680301012037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807462932,"filename":"image_15122025_14_26_35_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/15/3de786768e771da4df1336be358a84e0.jpg","text":"TemporaryFile(/tmp/multipartBody6358873643988531657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807462932,"filename":"image_15122025_14_26_05_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399516194","file1":"1399516184","file0":"1399516181","file4":"1399516210","file5":"1399516222","file3":"1399516207"},"map_files_photo_id_array":[{"photo_id":"1399516222","filename":"file5"},{"photo_id":"1399516194","filename":"file2"},{"photo_id":"1399516210","filename":"file4"},{"photo_id":"1399516184","filename":"file1"},{"photo_id":"1399516181","filename":"file0"},{"photo_id":"1399516207","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399516181":["hashtag1","hashtag2"]},{"1399516184":["hashtag1","hashtag2"]},{"1399516210":["hashtag1","hashtag2"]},{"1399516207":["hashtag1","hashtag2"]},{"1399516222":["hashtag1","hashtag2"]},{"1399516194":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399516181, 1399516184, 1399516210, 1399516207, 1399516222, 1399516194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.28627610206604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 15:04:03.193140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/26/image_15122025_14_26_45_9718.jpg', '/home/pi/Desktop/images/15122025/14/26/image_15122025_14_26_55_10637.jpg', '/home/pi/Desktop/images/15122025/14/26/image_15122025_14_27_05_9848.jpg', '/home/pi/Desktop/images/15122025/14/27/image_15122025_14_27_15_9982.jpg', '/home/pi/Desktop/images/15122025/14/27/image_15122025_14_27_25_9719.jpg', '/home/pi/Desktop/images/15122025/14/27/image_15122025_14_27_35_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/26/image_15122025_14_26_45_9718.jpg
/home/pi/Desktop/images/15122025/14/26/image_15122025_14_26_55_10637.jpg
/home/pi/Desktop/images/15122025/14/26/image_15122025_14_27_05_9848.jpg
/home/pi/Desktop/images/15122025/14/27/image_15122025_14_27_15_9982.jpg
/home/pi/Desktop/images/15122025/14/27/image_15122025_14_27_25_9719.jpg
/home/pi/Desktop/images/15122025/14/27/image_15122025_14_27_35_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.5548543930053711 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 15:04:12.455109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 15:04:22.531792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/26/image_15122025_14_26_45_9718.jpg', '/home/pi/Desktop/images/15122025/14/26/image_15122025_14_26_55_10637.jpg', '/home/pi/Desktop/images/15122025/14/26/image_15122025_14_27_05_9848.jpg', '/home/pi/Desktop/images/15122025/14/27/image_15122025_14_27_15_9982.jpg', '/home/pi/Desktop/images/15122025/14/27/image_15122025_14_27_25_9719.jpg', '/home/pi/Desktop/images/15122025/14/27/image_15122025_14_27_35_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/26/image_15122025_14_26_45_9718.jpg
/home/pi/Desktop/images/15122025/14/26/image_15122025_14_26_55_10637.jpg
/home/pi/Desktop/images/15122025/14/26/image_15122025_14_27_05_9848.jpg
/home/pi/Desktop/images/15122025/14/27/image_15122025_14_27_15_9982.jpg
/home/pi/Desktop/images/15122025/14/27/image_15122025_14_27_25_9719.jpg
/home/pi/Desktop/images/15122025/14/27/image_15122025_14_27_35_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":["1399516245","1399516262","1399516237","1399516240","1399516248","1399516242"],"photo_ids_order":["1399516237","1399516240","1399516242","1399516245","1399516248","1399516262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/45db6d7a2e8f677ba845ed8293f6e316.jpg","text":"TemporaryFile(/tmp/multipartBody5454594484018853473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807523179,"filename":"image_15122025_14_27_15_9982.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/89ffd90a888701a96ed9a38e6837d8d6.jpg","text":"TemporaryFile(/tmp/multipartBody675675342301208063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807523179,"filename":"image_15122025_14_27_35_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f30ce7df4d9156a53e7d3160742892d8.jpg","text":"TemporaryFile(/tmp/multipartBody8224421083705857156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807523179,"filename":"image_15122025_14_26_45_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/42ae80667c2a06393680c5abba001364.jpg","text":"TemporaryFile(/tmp/multipartBody6741457370808970231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807523179,"filename":"image_15122025_14_26_55_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b41ebdec15c7aab91f7a0e7932590105.jpg","text":"TemporaryFile(/tmp/multipartBody3364270215481495175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807523179,"filename":"image_15122025_14_27_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/15/0c2ab2b22f287d875e3d581b39740f4e.jpg","text":"TemporaryFile(/tmp/multipartBody2428846955276839447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807523179,"filename":"image_15122025_14_27_05_9848.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399516242","file1":"1399516240","file0":"1399516237","file4":"1399516248","file5":"1399516262","file3":"1399516245"},"map_files_photo_id_array":[{"photo_id":"1399516262","filename":"file5"},{"photo_id":"1399516242","filename":"file2"},{"photo_id":"1399516248","filename":"file4"},{"photo_id":"1399516240","filename":"file1"},{"photo_id":"1399516237","filename":"file0"},{"photo_id":"1399516245","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399516245":["hashtag1","hashtag2"]},{"1399516262":["hashtag1","hashtag2"]},{"1399516237":["hashtag1","hashtag2"]},{"1399516240":["hashtag1","hashtag2"]},{"1399516248":["hashtag1","hashtag2"]},{"1399516242":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399516245, 1399516262, 1399516237, 1399516240, 1399516248, 1399516242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.69395327568054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 15:05:02.405459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/27/image_15122025_14_27_45_10673.jpg', '/home/pi/Desktop/images/15122025/14/27/image_15122025_14_27_55_9729.jpg', '/home/pi/Desktop/images/15122025/14/27/image_15122025_14_28_05_9631.jpg', '/home/pi/Desktop/images/15122025/14/28/image_15122025_14_28_15_10671.jpg', '/home/pi/Desktop/images/15122025/14/28/image_15122025_14_28_25_9589.jpg', '/home/pi/Desktop/images/15122025/14/28/image_15122025_14_28_34_9560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/27/image_15122025_14_27_45_10673.jpg
/home/pi/Desktop/images/15122025/14/27/image_15122025_14_27_55_9729.jpg
/home/pi/Desktop/images/15122025/14/27/image_15122025_14_28_05_9631.jpg
/home/pi/Desktop/images/15122025/14/28/image_15122025_14_28_15_10671.jpg
/home/pi/Desktop/images/15122025/14/28/image_15122025_14_28_25_9589.jpg
/home/pi/Desktop/images/15122025/14/28/image_15122025_14_28_34_9560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399516280","1399516273","1399516282","1399516276","1399516284","1399516278"],"photo_ids_order":["1399516273","1399516276","1399516278","1399516280","1399516282","1399516284"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/88bd2eeef5b9455531ade52fe5f52b76.jpg","text":"TemporaryFile(/tmp/multipartBody1682280619741323354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807563108,"filename":"image_15122025_14_28_15_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d9225800a94f9cd655e08adba125f840.jpg","text":"TemporaryFile(/tmp/multipartBody8673641299730424286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807563108,"filename":"image_15122025_14_27_45_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b03f0850867d346119994e68c80a5c12.jpg","text":"TemporaryFile(/tmp/multipartBody8362020444202700016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807563108,"filename":"image_15122025_14_28_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/15/d8a1eb6266f4e6ef320bb200763902c4.jpg","text":"TemporaryFile(/tmp/multipartBody1053170106959245878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807563108,"filename":"image_15122025_14_27_55_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/915e99e3cadf374903bab80d41dc16c8.jpg","text":"TemporaryFile(/tmp/multipartBody4150953551809943238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807563108,"filename":"image_15122025_14_28_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/15/0e39335c513406825163f0402450eff9.jpg","text":"TemporaryFile(/tmp/multipartBody8041415449928354861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807563108,"filename":"image_15122025_14_28_05_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399516278","file1":"1399516276","file0":"1399516273","file4":"1399516282","file5":"1399516284","file3":"1399516280"},"map_files_photo_id_array":[{"photo_id":"1399516284","filename":"file5"},{"photo_id":"1399516278","filename":"file2"},{"photo_id":"1399516282","filename":"file4"},{"photo_id":"1399516276","filename":"file1"},{"photo_id":"1399516273","filename":"file0"},{"photo_id":"1399516280","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399516280":["hashtag1","hashtag2"]},{"1399516273":["hashtag1","hashtag2"]},{"1399516282":["hashtag1","hashtag2"]},{"1399516276":["hashtag1","hashtag2"]},{"1399516284":["hashtag1","hashtag2"]},{"1399516278":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399516280, 1399516273, 1399516282, 1399516276, 1399516284, 1399516278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01987361907959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 15:05:41.805077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_51_1780.jpg', '/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_53_1741.jpg', '/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_55_1669.jpg', '/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_56_1560.jpg', '/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_58_1549.jpg', '/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_59_1765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_51_1780.jpg
/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_53_1741.jpg
/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_55_1669.jpg
/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_56_1560.jpg
/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_58_1549.jpg
/home/pi/Desktop/images/05112025/15/14/image_05112025_15_14_59_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":["1399516295","1399516289","1399516308","1399516294","1399516297","1399516293"],"photo_ids_order":["1399516289","1399516293","1399516294","1399516295","1399516297","1399516308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/26700958de6b64147169a977ebfcec15.jpg","text":"TemporaryFile(/tmp/multipartBody546918411377822014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807602503,"filename":"image_05112025_15_14_56_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/15/5aea4cd8b463dedeb74392ba17e1b75b.jpg","text":"TemporaryFile(/tmp/multipartBody6217855630873180256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807602503,"filename":"image_05112025_15_14_51_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/15/170eb79f4562f8a7d3a30ec0610a490d.jpg","text":"TemporaryFile(/tmp/multipartBody441699927458157397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807602503,"filename":"image_05112025_15_14_59_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/15/d7160b1b0d874fd82d1e13a764493c7b.jpg","text":"TemporaryFile(/tmp/multipartBody300012472145444821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807602503,"filename":"image_05112025_15_14_55_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/15/fda7aa91e3cc03b3833c47d720354764.jpg","text":"TemporaryFile(/tmp/multipartBody5720315525695532102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807602503,"filename":"image_05112025_15_14_58_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/15/a83c0091367b2bbd4bb5b14a42477186.jpg","text":"TemporaryFile(/tmp/multipartBody8767006670023456174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807602503,"filename":"image_05112025_15_14_53_1741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399516294","file1":"1399516293","file0":"1399516289","file4":"1399516297","file5":"1399516308","file3":"1399516295"},"map_files_photo_id_array":[{"photo_id":"1399516308","filename":"file5"},{"photo_id":"1399516294","filename":"file2"},{"photo_id":"1399516297","filename":"file4"},{"photo_id":"1399516293","filename":"file1"},{"photo_id":"1399516289","filename":"file0"},{"photo_id":"1399516295","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399516295":["hashtag1","hashtag2"]},{"1399516289":["hashtag1","hashtag2"]},{"1399516308":["hashtag1","hashtag2"]},{"1399516294":["hashtag1","hashtag2"]},{"1399516297":["hashtag1","hashtag2"]},{"1399516293":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399516295, 1399516289, 1399516308, 1399516294, 1399516297, 1399516293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51414704322815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 15:06:22.015040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/28/image_15122025_14_28_45_10632.jpg', '/home/pi/Desktop/images/15122025/14/28/image_15122025_14_28_55_9662.jpg', '/home/pi/Desktop/images/15122025/14/28/image_15122025_14_29_04_9722.jpg', '/home/pi/Desktop/images/15122025/14/29/image_15122025_14_29_15_10711.jpg', '/home/pi/Desktop/images/15122025/14/29/image_15122025_14_29_25_9732.jpg', '/home/pi/Desktop/images/15122025/14/29/image_15122025_14_29_35_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/28/image_15122025_14_28_45_10632.jpg
/home/pi/Desktop/images/15122025/14/28/image_15122025_14_28_55_9662.jpg
/home/pi/Desktop/images/15122025/14/28/image_15122025_14_29_04_9722.jpg
/home/pi/Desktop/images/15122025/14/29/image_15122025_14_29_15_10711.jpg
/home/pi/Desktop/images/15122025/14/29/image_15122025_14_29_25_9732.jpg
/home/pi/Desktop/images/15122025/14/29/image_15122025_14_29_35_9696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399516323","1399516317","1399516316","1399516319","1399516330","1399516333"],"photo_ids_order":["1399516316","1399516317","1399516319","1399516323","1399516330","1399516333"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8a46699e10e1cbf06a259eee09873d57.jpg","text":"TemporaryFile(/tmp/multipartBody299471564818518441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807642636,"filename":"image_15122025_14_29_15_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/37a4432c31bcec5653c8e9ffee9f3da5.jpg","text":"TemporaryFile(/tmp/multipartBody225431308504155146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807642636,"filename":"image_15122025_14_28_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/15/aa94569071793979f7e06c6773ede2ff.jpg","text":"TemporaryFile(/tmp/multipartBody9104724972539552177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807642636,"filename":"image_15122025_14_28_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/15/9aad5f80b6904dad1a272a81ff84ff93.jpg","text":"TemporaryFile(/tmp/multipartBody7223861427153121468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807642636,"filename":"image_15122025_14_29_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/15/770e9972af91610354c5758772ca4aa7.jpg","text":"TemporaryFile(/tmp/multipartBody7916213482406515082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807642636,"filename":"image_15122025_14_29_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/15/dc518415d361e0274320a84b02c22fe6.jpg","text":"TemporaryFile(/tmp/multipartBody7748410868991286511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807642636,"filename":"image_15122025_14_29_35_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399516319","file1":"1399516317","file0":"1399516316","file4":"1399516330","file5":"1399516333","file3":"1399516323"},"map_files_photo_id_array":[{"photo_id":"1399516333","filename":"file5"},{"photo_id":"1399516319","filename":"file2"},{"photo_id":"1399516330","filename":"file4"},{"photo_id":"1399516317","filename":"file1"},{"photo_id":"1399516316","filename":"file0"},{"photo_id":"1399516323","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399516323":["hashtag1","hashtag2"]},{"1399516317":["hashtag1","hashtag2"]},{"1399516316":["hashtag1","hashtag2"]},{"1399516319":["hashtag1","hashtag2"]},{"1399516330":["hashtag1","hashtag2"]},{"1399516333":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399516323, 1399516317, 1399516316, 1399516319, 1399516330, 1399516333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.928762674331665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 15:07:02.855717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/29/image_15122025_14_29_45_10653.jpg', '/home/pi/Desktop/images/15122025/14/29/image_15122025_14_29_55_9758.jpg', '/home/pi/Desktop/images/15122025/14/30/image_15122025_14_30_14_10056.jpg', '/home/pi/Desktop/images/15122025/14/30/image_15122025_14_30_25_10647.jpg', '/home/pi/Desktop/images/15122025/14/30/image_15122025_14_30_35_9541.jpg', '/home/pi/Desktop/images/15122025/14/30/image_15122025_14_30_45_10745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/29/image_15122025_14_29_45_10653.jpg
/home/pi/Desktop/images/15122025/14/29/image_15122025_14_29_55_9758.jpg
/home/pi/Desktop/images/15122025/14/30/image_15122025_14_30_14_10056.jpg
/home/pi/Desktop/images/15122025/14/30/image_15122025_14_30_25_10647.jpg
/home/pi/Desktop/images/15122025/14/30/image_15122025_14_30_35_9541.jpg
/home/pi/Desktop/images/15122025/14/30/image_15122025_14_30_45_10745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399516358","1399516343","1399516355","1399516349","1399516351","1399516353"],"photo_ids_order":["1399516343","1399516349","1399516351","1399516353","1399516355","1399516358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0db752e8964544432b4f1a2e8ca57e4c.jpg","text":"TemporaryFile(/tmp/multipartBody6728442160343553005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807683530,"filename":"image_15122025_14_30_45_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/15/77dabd4b47b2513d730adbf4ebb54b6c.jpg","text":"TemporaryFile(/tmp/multipartBody8587905298606419755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807683530,"filename":"image_15122025_14_29_45_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c2257a0a20a50814a7ffa9e171e8cb9f.jpg","text":"TemporaryFile(/tmp/multipartBody4919239585157089626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807683530,"filename":"image_15122025_14_30_35_9541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/06335fc4a9d48d98efe40a6b0859e3ca.jpg","text":"TemporaryFile(/tmp/multipartBody6927294817883079390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807683530,"filename":"image_15122025_14_29_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/15/e4bd9d153f9e5879db09ee3a1e92b0dd.jpg","text":"TemporaryFile(/tmp/multipartBody5219186712060691623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807683530,"filename":"image_15122025_14_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/15/29f039f368d25c64573a65f9eb949b92.jpg","text":"TemporaryFile(/tmp/multipartBody513987804164638958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807683530,"filename":"image_15122025_14_30_25_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399516351","file1":"1399516349","file0":"1399516343","file4":"1399516355","file5":"1399516358","file3":"1399516353"},"map_files_photo_id_array":[{"photo_id":"1399516358","filename":"file5"},{"photo_id":"1399516351","filename":"file2"},{"photo_id":"1399516355","filename":"file4"},{"photo_id":"1399516349","filename":"file1"},{"photo_id":"1399516343","filename":"file0"},{"photo_id":"1399516353","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399516358":["hashtag1","hashtag2"]},{"1399516343":["hashtag1","hashtag2"]},{"1399516355":["hashtag1","hashtag2"]},{"1399516349":["hashtag1","hashtag2"]},{"1399516351":["hashtag1","hashtag2"]},{"1399516353":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399516358, 1399516343, 1399516355, 1399516349, 1399516351, 1399516353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5962131023407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 15:07:42.139702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_01_1505.jpg', '/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_03_1839.jpg', '/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_04_1618.jpg', '/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_06_1700.jpg', '/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_08_1612.jpg', '/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_09_1613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_01_1505.jpg
/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_03_1839.jpg
/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_04_1618.jpg
/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_06_1700.jpg
/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_08_1612.jpg
/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_09_1613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399516376","1399516372","1399516363","1399516366","1399516377","1399516368"],"photo_ids_order":["1399516363","1399516366","1399516368","1399516372","1399516376","1399516377"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3917263c20b941f03d7abcda275c8ff0.jpg","text":"TemporaryFile(/tmp/multipartBody7865246606845760267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807722837,"filename":"image_05112025_15_15_08_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/15/9a84528b4c49ae59104483594de8b562.jpg","text":"TemporaryFile(/tmp/multipartBody984590930971899928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807722837,"filename":"image_05112025_15_15_06_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/15/72801932d6a793e56ec40231eb656a9f.jpg","text":"TemporaryFile(/tmp/multipartBody6839765313228828380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807722837,"filename":"image_05112025_15_15_01_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/15/c50e9875ebd610b763ad60963ee0cb58.jpg","text":"TemporaryFile(/tmp/multipartBody6452454139921532920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807722837,"filename":"image_05112025_15_15_03_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/15/95152cb5a07b07d964f147c0c9a98c03.jpg","text":"TemporaryFile(/tmp/multipartBody7912267689399149626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807722837,"filename":"image_05112025_15_15_09_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/15/4f468bdd3c61bee2b5144c7cb1a3e030.jpg","text":"TemporaryFile(/tmp/multipartBody5739545761642534127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807722837,"filename":"image_05112025_15_15_04_1618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399516368","file1":"1399516366","file0":"1399516363","file4":"1399516376","file5":"1399516377","file3":"1399516372"},"map_files_photo_id_array":[{"photo_id":"1399516377","filename":"file5"},{"photo_id":"1399516368","filename":"file2"},{"photo_id":"1399516376","filename":"file4"},{"photo_id":"1399516366","filename":"file1"},{"photo_id":"1399516363","filename":"file0"},{"photo_id":"1399516372","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399516376":["hashtag1","hashtag2"]},{"1399516372":["hashtag1","hashtag2"]},{"1399516363":["hashtag1","hashtag2"]},{"1399516366":["hashtag1","hashtag2"]},{"1399516377":["hashtag1","hashtag2"]},{"1399516368":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399516376, 1399516372, 1399516363, 1399516366, 1399516377, 1399516368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.158746004104614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 15:08:22.409682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/30/image_15122025_14_30_55_9651.jpg', '/home/pi/Desktop/images/15122025/14/30/image_15122025_14_31_05_9586.jpg', '/home/pi/Desktop/images/15122025/14/31/image_15122025_14_31_15_10635.jpg', '/home/pi/Desktop/images/15122025/14/31/image_15122025_14_31_25_9674.jpg', '/home/pi/Desktop/images/15122025/14/31/image_15122025_14_31_35_9645.jpg', '/home/pi/Desktop/images/15122025/14/31/image_15122025_14_31_45_10776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/30/image_15122025_14_30_55_9651.jpg
/home/pi/Desktop/images/15122025/14/30/image_15122025_14_31_05_9586.jpg
/home/pi/Desktop/images/15122025/14/31/image_15122025_14_31_15_10635.jpg
/home/pi/Desktop/images/15122025/14/31/image_15122025_14_31_25_9674.jpg
/home/pi/Desktop/images/15122025/14/31/image_15122025_14_31_35_9645.jpg
/home/pi/Desktop/images/15122025/14/31/image_15122025_14_31_45_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":["1399516388","1399516397","1399516385","1399516400","1399516390","1399516383"],"photo_ids_order":["1399516383","1399516385","1399516388","1399516390","1399516397","1399516400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2677f377a9e991354c03839a6f410e19.jpg","text":"TemporaryFile(/tmp/multipartBody5146628321081733541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807763062,"filename":"image_15122025_14_31_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/15/252a6a01395ca381bd58d354c1f48a43.jpg","text":"TemporaryFile(/tmp/multipartBody3289683916494061334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807763062,"filename":"image_15122025_14_31_35_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f73a0799dd4c2b4ce8a19a747a1bba0e.jpg","text":"TemporaryFile(/tmp/multipartBody4938564657278253745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807763062,"filename":"image_15122025_14_31_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/15/98b51b9e8b3230b60476da0e784b776c.jpg","text":"TemporaryFile(/tmp/multipartBody7928937589299159765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807763062,"filename":"image_15122025_14_31_45_10776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a2b40d77d06fe2aeb511a57c4e63cad6.jpg","text":"TemporaryFile(/tmp/multipartBody5993348132682333074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807763062,"filename":"image_15122025_14_31_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/15/ef77c234e509d0468d7a9a1ec1948818.jpg","text":"TemporaryFile(/tmp/multipartBody8498576643327410560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807763062,"filename":"image_15122025_14_30_55_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399516388","file1":"1399516385","file0":"1399516383","file4":"1399516397","file5":"1399516400","file3":"1399516390"},"map_files_photo_id_array":[{"photo_id":"1399516400","filename":"file5"},{"photo_id":"1399516388","filename":"file2"},{"photo_id":"1399516397","filename":"file4"},{"photo_id":"1399516385","filename":"file1"},{"photo_id":"1399516383","filename":"file0"},{"photo_id":"1399516390","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399516388":["hashtag1","hashtag2"]},{"1399516397":["hashtag1","hashtag2"]},{"1399516385":["hashtag1","hashtag2"]},{"1399516400":["hashtag1","hashtag2"]},{"1399516390":["hashtag1","hashtag2"]},{"1399516383":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399516388, 1399516397, 1399516385, 1399516400, 1399516390, 1399516383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44909405708313 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 15:09:03.452686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/31/image_15122025_14_31_55_9605.jpg', '/home/pi/Desktop/images/15122025/14/31/image_15122025_14_32_05_9761.jpg', '/home/pi/Desktop/images/15122025/14/32/image_15122025_14_32_15_10645.jpg', '/home/pi/Desktop/images/15122025/14/32/image_15122025_14_32_25_9681.jpg', '/home/pi/Desktop/images/15122025/14/32/image_15122025_14_32_35_9630.jpg', '/home/pi/Desktop/images/15122025/14/32/image_15122025_14_32_45_10558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/31/image_15122025_14_31_55_9605.jpg
/home/pi/Desktop/images/15122025/14/31/image_15122025_14_32_05_9761.jpg
/home/pi/Desktop/images/15122025/14/32/image_15122025_14_32_15_10645.jpg
/home/pi/Desktop/images/15122025/14/32/image_15122025_14_32_25_9681.jpg
/home/pi/Desktop/images/15122025/14/32/image_15122025_14_32_35_9630.jpg
/home/pi/Desktop/images/15122025/14/32/image_15122025_14_32_45_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":["1399516422","1399516416","1399516412","1399516418","1399516420","1399516414"],"photo_ids_order":["1399516412","1399516414","1399516416","1399516418","1399516420","1399516422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e570f5e4566d09673fcfd408f91060fb.jpg","text":"TemporaryFile(/tmp/multipartBody117993682797475442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807804189,"filename":"image_15122025_14_32_45_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/15/104040755f6615e1464f1305b11f0bd9.jpg","text":"TemporaryFile(/tmp/multipartBody6773831746688388086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807804189,"filename":"image_15122025_14_32_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/15/7881fe1c236ca73ac6e594df99f0e1f2.jpg","text":"TemporaryFile(/tmp/multipartBody2962299265539222721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807804189,"filename":"image_15122025_14_31_55_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c7a9155954a9c427a969c70c3e2ace3d.jpg","text":"TemporaryFile(/tmp/multipartBody8555328751807789213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807804189,"filename":"image_15122025_14_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/15/0dea4a71b2f2ddb27c9cf7262a7ed4b6.jpg","text":"TemporaryFile(/tmp/multipartBody3178830444732021265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807804189,"filename":"image_15122025_14_32_35_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5dfd35b2d1f02fdab0fa882f277c10d9.jpg","text":"TemporaryFile(/tmp/multipartBody7464227793372571958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807804189,"filename":"image_15122025_14_32_05_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399516416","file1":"1399516414","file0":"1399516412","file4":"1399516420","file5":"1399516422","file3":"1399516418"},"map_files_photo_id_array":[{"photo_id":"1399516422","filename":"file5"},{"photo_id":"1399516416","filename":"file2"},{"photo_id":"1399516420","filename":"file4"},{"photo_id":"1399516414","filename":"file1"},{"photo_id":"1399516412","filename":"file0"},{"photo_id":"1399516418","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399516422":["hashtag1","hashtag2"]},{"1399516416":["hashtag1","hashtag2"]},{"1399516412":["hashtag1","hashtag2"]},{"1399516418":["hashtag1","hashtag2"]},{"1399516420":["hashtag1","hashtag2"]},{"1399516414":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399516422, 1399516416, 1399516412, 1399516418, 1399516420, 1399516414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56352138519287 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 15:09:42.575796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_12_2731.jpg', '/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_15_2692.jpg', '/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_19_3808.jpg', '/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_21_2630.jpg', '/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_25_3402.jpg', '/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_26_1674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_12_2731.jpg
/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_15_2692.jpg
/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_19_3808.jpg
/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_21_2630.jpg
/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_25_3402.jpg
/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_26_1674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399516433","1399516436","1399516435","1399516431","1399516434","1399516428"],"photo_ids_order":["1399516428","1399516431","1399516433","1399516434","1399516435","1399516436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/097c4ae1be46253551c2d40cfe2fea28.jpg","text":"TemporaryFile(/tmp/multipartBody7989973334393489736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807843276,"filename":"image_05112025_15_15_19_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/15/ffa8f372da441df980c665b9b19679cc.jpg","text":"TemporaryFile(/tmp/multipartBody5526998107780678903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807843276,"filename":"image_05112025_15_15_26_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/15/31b028ad40a8ab12b28d759ef8fcf468.jpg","text":"TemporaryFile(/tmp/multipartBody2663363735425254102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807843276,"filename":"image_05112025_15_15_25_3402.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b312a0b6ffdf13b296a51a3210c169ca.jpg","text":"TemporaryFile(/tmp/multipartBody1581622318397268637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807843276,"filename":"image_05112025_15_15_15_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/15/7f830475ebc0a552a74175067448f562.jpg","text":"TemporaryFile(/tmp/multipartBody5721356393365321784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807843276,"filename":"image_05112025_15_15_21_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/15/5540770ca8091fd806dd26fe776fe375.jpg","text":"TemporaryFile(/tmp/multipartBody7895384524620383468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807843276,"filename":"image_05112025_15_15_12_2731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399516433","file1":"1399516431","file0":"1399516428","file4":"1399516435","file5":"1399516436","file3":"1399516434"},"map_files_photo_id_array":[{"photo_id":"1399516436","filename":"file5"},{"photo_id":"1399516433","filename":"file2"},{"photo_id":"1399516435","filename":"file4"},{"photo_id":"1399516431","filename":"file1"},{"photo_id":"1399516428","filename":"file0"},{"photo_id":"1399516434","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399516433":["hashtag1","hashtag2"]},{"1399516436":["hashtag1","hashtag2"]},{"1399516435":["hashtag1","hashtag2"]},{"1399516431":["hashtag1","hashtag2"]},{"1399516434":["hashtag1","hashtag2"]},{"1399516428":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399516433, 1399516436, 1399516435, 1399516431, 1399516434, 1399516428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37145113945007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 15:10:21.855114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/32/image_15122025_14_32_55_9615.jpg', '/home/pi/Desktop/images/15122025/14/32/image_15122025_14_33_04_9620.jpg', '/home/pi/Desktop/images/15122025/14/33/image_15122025_14_33_15_10632.jpg', '/home/pi/Desktop/images/15122025/14/33/image_15122025_14_33_25_9745.jpg', '/home/pi/Desktop/images/15122025/14/33/image_15122025_14_33_35_9825.jpg', '/home/pi/Desktop/images/15122025/14/33/image_15122025_14_33_44_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/32/image_15122025_14_32_55_9615.jpg
/home/pi/Desktop/images/15122025/14/32/image_15122025_14_33_04_9620.jpg
/home/pi/Desktop/images/15122025/14/33/image_15122025_14_33_15_10632.jpg
/home/pi/Desktop/images/15122025/14/33/image_15122025_14_33_25_9745.jpg
/home/pi/Desktop/images/15122025/14/33/image_15122025_14_33_35_9825.jpg
/home/pi/Desktop/images/15122025/14/33/image_15122025_14_33_44_9718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399516443","1399516445","1399516453","1399516447","1399516441","1399516459"],"photo_ids_order":["1399516441","1399516443","1399516445","1399516447","1399516453","1399516459"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d1970133d9ff1ed2cedeb1a6f5d8258f.jpg","text":"TemporaryFile(/tmp/multipartBody8474717069055054921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807882491,"filename":"image_15122025_14_33_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/15/45354721029a08646466bbbc0c8de66c.jpg","text":"TemporaryFile(/tmp/multipartBody3592191508775780400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807882491,"filename":"image_15122025_14_33_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/15/dd61f9dbee533da5e15fd3962d9a4daf.jpg","text":"TemporaryFile(/tmp/multipartBody1636313390354547806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807882491,"filename":"image_15122025_14_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/15/16e0c3d77197deda8c6fc2eed15bc15e.jpg","text":"TemporaryFile(/tmp/multipartBody6543811179817848545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807882491,"filename":"image_15122025_14_33_25_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8a9f62524f508d574ea50cb9f7772b17.jpg","text":"TemporaryFile(/tmp/multipartBody886222354027032114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807882491,"filename":"image_15122025_14_32_55_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d9c3b0c079f8ebfde120d82b9eca8fdb.jpg","text":"TemporaryFile(/tmp/multipartBody1901168777994704409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807882491,"filename":"image_15122025_14_33_44_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399516445","file1":"1399516443","file0":"1399516441","file4":"1399516453","file5":"1399516459","file3":"1399516447"},"map_files_photo_id_array":[{"photo_id":"1399516459","filename":"file5"},{"photo_id":"1399516445","filename":"file2"},{"photo_id":"1399516453","filename":"file4"},{"photo_id":"1399516443","filename":"file1"},{"photo_id":"1399516441","filename":"file0"},{"photo_id":"1399516447","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399516443":["hashtag1","hashtag2"]},{"1399516445":["hashtag1","hashtag2"]},{"1399516453":["hashtag1","hashtag2"]},{"1399516447":["hashtag1","hashtag2"]},{"1399516441":["hashtag1","hashtag2"]},{"1399516459":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399516443, 1399516445, 1399516453, 1399516447, 1399516441, 1399516459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.832746744155884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 15:11:02.680576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/33/image_15122025_14_33_55_10681.jpg', '/home/pi/Desktop/images/15122025/14/33/image_15122025_14_34_05_9824.jpg', '/home/pi/Desktop/images/15122025/14/34/image_15122025_14_34_15_9768.jpg', '/home/pi/Desktop/images/15122025/14/34/image_15122025_14_34_25_10683.jpg', '/home/pi/Desktop/images/15122025/14/34/image_15122025_14_34_35_9676.jpg', '/home/pi/Desktop/images/15122025/14/34/image_15122025_14_34_45_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/33/image_15122025_14_33_55_10681.jpg
/home/pi/Desktop/images/15122025/14/33/image_15122025_14_34_05_9824.jpg
/home/pi/Desktop/images/15122025/14/34/image_15122025_14_34_15_9768.jpg
/home/pi/Desktop/images/15122025/14/34/image_15122025_14_34_25_10683.jpg
/home/pi/Desktop/images/15122025/14/34/image_15122025_14_34_35_9676.jpg
/home/pi/Desktop/images/15122025/14/34/image_15122025_14_34_45_9762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399516490","1399516486","1399516482","1399516476","1399516479","1399516473"],"photo_ids_order":["1399516473","1399516476","1399516479","1399516482","1399516486","1399516490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3917ada6faee9b6b59f1e0bced6c60fa.jpg","text":"TemporaryFile(/tmp/multipartBody4909533820623771416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807928227,"filename":"image_15122025_14_34_45_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3c9b31b5c9822e8bb344d3dc1dfabe53.jpg","text":"TemporaryFile(/tmp/multipartBody3921221305209859471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807928227,"filename":"image_15122025_14_34_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/15/32a2d1d93583187fce1e128ce98029f5.jpg","text":"TemporaryFile(/tmp/multipartBody6692639431422314971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807928227,"filename":"image_15122025_14_34_25_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9e2fcaa4f70a39bdb5eb7a5e75b4a2dd.jpg","text":"TemporaryFile(/tmp/multipartBody8065567385521928162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807928227,"filename":"image_15122025_14_34_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/15/6b3c9cc60e83007bf9b682e281434bb6.jpg","text":"TemporaryFile(/tmp/multipartBody3049854607671861603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807928227,"filename":"image_15122025_14_34_15_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6e96a880cbebaab29760fa75fcb65462.jpg","text":"TemporaryFile(/tmp/multipartBody2175965095208646417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807928227,"filename":"image_15122025_14_33_55_10681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399516479","file1":"1399516476","file0":"1399516473","file4":"1399516486","file5":"1399516490","file3":"1399516482"},"map_files_photo_id_array":[{"photo_id":"1399516490","filename":"file5"},{"photo_id":"1399516479","filename":"file2"},{"photo_id":"1399516486","filename":"file4"},{"photo_id":"1399516476","filename":"file1"},{"photo_id":"1399516473","filename":"file0"},{"photo_id":"1399516482","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399516490":["hashtag1","hashtag2"]},{"1399516486":["hashtag1","hashtag2"]},{"1399516482":["hashtag1","hashtag2"]},{"1399516476":["hashtag1","hashtag2"]},{"1399516479":["hashtag1","hashtag2"]},{"1399516473":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399516490, 1399516486, 1399516482, 1399516476, 1399516479, 1399516473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.654197692871094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 15:12:02.737184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/34/image_15122025_14_34_54_9713.jpg', '/home/pi/Desktop/images/15122025/14/34/image_15122025_14_35_05_10621.jpg', '/home/pi/Desktop/images/15122025/14/35/image_15122025_14_35_15_9577.jpg', '/home/pi/Desktop/images/15122025/14/35/image_15122025_14_35_24_9772.jpg', '/home/pi/Desktop/images/15122025/14/35/image_15122025_14_35_35_10721.jpg', '/home/pi/Desktop/images/15122025/14/35/image_15122025_14_35_45_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/34/image_15122025_14_34_54_9713.jpg
/home/pi/Desktop/images/15122025/14/34/image_15122025_14_35_05_10621.jpg
/home/pi/Desktop/images/15122025/14/35/image_15122025_14_35_15_9577.jpg
/home/pi/Desktop/images/15122025/14/35/image_15122025_14_35_24_9772.jpg
/home/pi/Desktop/images/15122025/14/35/image_15122025_14_35_35_10721.jpg
/home/pi/Desktop/images/15122025/14/35/image_15122025_14_35_45_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":["1399516541","1399516535","1399516543","1399516537","1399516539","1399516533"],"photo_ids_order":["1399516533","1399516535","1399516537","1399516539","1399516541","1399516543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7d209c10b910034d03b3f1f9d948506c.jpg","text":"TemporaryFile(/tmp/multipartBody1668088462328913714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807983383,"filename":"image_15122025_14_35_35_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/15/f5c6e0358f672b76fdbefaa4d7f8d1bb.jpg","text":"TemporaryFile(/tmp/multipartBody6826177414353722054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807983383,"filename":"image_15122025_14_35_05_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ec85aa74a1b32da26829748a0f94813f.jpg","text":"TemporaryFile(/tmp/multipartBody8443748218085645681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807983383,"filename":"image_15122025_14_35_45_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/905f78434bfe66618b15463261eb4fa7.jpg","text":"TemporaryFile(/tmp/multipartBody5358957590251889999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807983383,"filename":"image_15122025_14_35_15_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/15/93b2e453d68bc0e799960c359e6f7ec5.jpg","text":"TemporaryFile(/tmp/multipartBody71294143901423327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807983383,"filename":"image_15122025_14_35_24_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ad6f630974d9bd409ede6b623661e604.jpg","text":"TemporaryFile(/tmp/multipartBody5703576212134136212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765807983383,"filename":"image_15122025_14_34_54_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399516537","file1":"1399516535","file0":"1399516533","file4":"1399516541","file5":"1399516543","file3":"1399516539"},"map_files_photo_id_array":[{"photo_id":"1399516543","filename":"file5"},{"photo_id":"1399516537","filename":"file2"},{"photo_id":"1399516541","filename":"file4"},{"photo_id":"1399516535","filename":"file1"},{"photo_id":"1399516533","filename":"file0"},{"photo_id":"1399516539","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399516541":["hashtag1","hashtag2"]},{"1399516535":["hashtag1","hashtag2"]},{"1399516543":["hashtag1","hashtag2"]},{"1399516537":["hashtag1","hashtag2"]},{"1399516539":["hashtag1","hashtag2"]},{"1399516533":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399516541, 1399516535, 1399516543, 1399516537, 1399516539, 1399516533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14008951187134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 15:12:42.409110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_34_7285.jpg', '/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_35_1623.jpg', '/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_37_1622.jpg', '/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_40_2822.jpg', '/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_43_3124.jpg', '/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_45_1761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_34_7285.jpg
/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_35_1623.jpg
/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_37_1622.jpg
/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_40_2822.jpg
/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_43_3124.jpg
/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_45_1761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399516562","1399516565","1399516559","1399516564","1399516561","1399516563"],"photo_ids_order":["1399516559","1399516561","1399516562","1399516563","1399516564","1399516565"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ea91bd9a67efef4d60328b17364dc8e6.jpg","text":"TemporaryFile(/tmp/multipartBody8528039392716925498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808023114,"filename":"image_05112025_15_15_37_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/15/0c12217192a46f5185e4c6edda750ba4.jpg","text":"TemporaryFile(/tmp/multipartBody4201877965860127501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808023114,"filename":"image_05112025_15_15_45_1761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f0299bbf03b2fc017ac5e8b9df473da5.jpg","text":"TemporaryFile(/tmp/multipartBody361272277805564541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808023114,"filename":"image_05112025_15_15_34_7285.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/317133db1c1421360f4214445f96d659.jpg","text":"TemporaryFile(/tmp/multipartBody63185633095910457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808023114,"filename":"image_05112025_15_15_43_3124.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/94c1992ccf64973f3817444f43f19f62.jpg","text":"TemporaryFile(/tmp/multipartBody439275095048770837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808023114,"filename":"image_05112025_15_15_35_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/15/7ea31668b58ac883fd155e6c1c9e2a06.jpg","text":"TemporaryFile(/tmp/multipartBody7210880354470606972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808023114,"filename":"image_05112025_15_15_40_2822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399516562","file1":"1399516561","file0":"1399516559","file4":"1399516564","file5":"1399516565","file3":"1399516563"},"map_files_photo_id_array":[{"photo_id":"1399516565","filename":"file5"},{"photo_id":"1399516562","filename":"file2"},{"photo_id":"1399516564","filename":"file4"},{"photo_id":"1399516561","filename":"file1"},{"photo_id":"1399516559","filename":"file0"},{"photo_id":"1399516563","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399516562":["hashtag1","hashtag2"]},{"1399516565":["hashtag1","hashtag2"]},{"1399516559":["hashtag1","hashtag2"]},{"1399516564":["hashtag1","hashtag2"]},{"1399516561":["hashtag1","hashtag2"]},{"1399516563":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399516562, 1399516565, 1399516559, 1399516564, 1399516561, 1399516563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81667160987854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 15:13:22.682237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/35/image_15122025_14_35_55_9809.jpg', '/home/pi/Desktop/images/15122025/14/35/image_15122025_14_36_04_9741.jpg', '/home/pi/Desktop/images/15122025/14/36/image_15122025_14_36_15_10793.jpg', '/home/pi/Desktop/images/15122025/14/36/image_15122025_14_36_25_9609.jpg', '/home/pi/Desktop/images/15122025/14/36/image_15122025_14_36_34_9614.jpg', '/home/pi/Desktop/images/15122025/14/36/image_15122025_14_36_45_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/35/image_15122025_14_35_55_9809.jpg
/home/pi/Desktop/images/15122025/14/35/image_15122025_14_36_04_9741.jpg
/home/pi/Desktop/images/15122025/14/36/image_15122025_14_36_15_10793.jpg
/home/pi/Desktop/images/15122025/14/36/image_15122025_14_36_25_9609.jpg
/home/pi/Desktop/images/15122025/14/36/image_15122025_14_36_34_9614.jpg
/home/pi/Desktop/images/15122025/14/36/image_15122025_14_36_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":["1399516580","1399516582","1399516570","1399516573","1399516576","1399516578"],"photo_ids_order":["1399516570","1399516573","1399516576","1399516578","1399516580","1399516582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/220aa0622d6a590ce8825ff4959af9d4.jpg","text":"TemporaryFile(/tmp/multipartBody1498238566504491295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808063313,"filename":"image_15122025_14_36_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/15/ef36b76cc92c32e8ccea39985c98c5ef.jpg","text":"TemporaryFile(/tmp/multipartBody6770741689964320371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808063313,"filename":"image_15122025_14_36_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/15/9184b62f9a68a24109271e1b96ebcaf2.jpg","text":"TemporaryFile(/tmp/multipartBody4702555698275609837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808063313,"filename":"image_15122025_14_35_55_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d39bf28cdb3126e7f5f8302ac0547d40.jpg","text":"TemporaryFile(/tmp/multipartBody4875622839540582096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808063313,"filename":"image_15122025_14_36_04_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f26a8f0524aa6581a272d0c5270aa5ee.jpg","text":"TemporaryFile(/tmp/multipartBody2242714651989205274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808063313,"filename":"image_15122025_14_36_15_10793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f8c65da8359e78bc4c0872251ee7ea53.jpg","text":"TemporaryFile(/tmp/multipartBody303858700594284360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808063313,"filename":"image_15122025_14_36_25_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399516576","file1":"1399516573","file0":"1399516570","file4":"1399516580","file5":"1399516582","file3":"1399516578"},"map_files_photo_id_array":[{"photo_id":"1399516582","filename":"file5"},{"photo_id":"1399516576","filename":"file2"},{"photo_id":"1399516580","filename":"file4"},{"photo_id":"1399516573","filename":"file1"},{"photo_id":"1399516570","filename":"file0"},{"photo_id":"1399516578","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399516580":["hashtag1","hashtag2"]},{"1399516582":["hashtag1","hashtag2"]},{"1399516570":["hashtag1","hashtag2"]},{"1399516573":["hashtag1","hashtag2"]},{"1399516576":["hashtag1","hashtag2"]},{"1399516578":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399516580, 1399516582, 1399516570, 1399516573, 1399516576, 1399516578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26076936721802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 15:14:02.706860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/36/image_15122025_14_36_55_9635.jpg', '/home/pi/Desktop/images/15122025/14/36/image_15122025_14_37_04_9691.jpg', '/home/pi/Desktop/images/15122025/14/37/image_15122025_14_37_15_10852.jpg', '/home/pi/Desktop/images/15122025/14/37/image_15122025_14_37_25_9711.jpg', '/home/pi/Desktop/images/15122025/14/37/image_15122025_14_37_35_9738.jpg', '/home/pi/Desktop/images/15122025/14/37/image_15122025_14_37_44_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/36/image_15122025_14_36_55_9635.jpg
/home/pi/Desktop/images/15122025/14/36/image_15122025_14_37_04_9691.jpg
/home/pi/Desktop/images/15122025/14/37/image_15122025_14_37_15_10852.jpg
/home/pi/Desktop/images/15122025/14/37/image_15122025_14_37_25_9711.jpg
/home/pi/Desktop/images/15122025/14/37/image_15122025_14_37_35_9738.jpg
/home/pi/Desktop/images/15122025/14/37/image_15122025_14_37_44_9748.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.558692216873169 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 15:14:12.047705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 15:14:22.040378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/36/image_15122025_14_36_55_9635.jpg', '/home/pi/Desktop/images/15122025/14/36/image_15122025_14_37_04_9691.jpg', '/home/pi/Desktop/images/15122025/14/37/image_15122025_14_37_15_10852.jpg', '/home/pi/Desktop/images/15122025/14/37/image_15122025_14_37_25_9711.jpg', '/home/pi/Desktop/images/15122025/14/37/image_15122025_14_37_35_9738.jpg', '/home/pi/Desktop/images/15122025/14/37/image_15122025_14_37_44_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/36/image_15122025_14_36_55_9635.jpg
/home/pi/Desktop/images/15122025/14/36/image_15122025_14_37_04_9691.jpg
/home/pi/Desktop/images/15122025/14/37/image_15122025_14_37_15_10852.jpg
/home/pi/Desktop/images/15122025/14/37/image_15122025_14_37_25_9711.jpg
/home/pi/Desktop/images/15122025/14/37/image_15122025_14_37_35_9738.jpg
/home/pi/Desktop/images/15122025/14/37/image_15122025_14_37_44_9748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399516620","1399516610","1399516613","1399516607","1399516618","1399516603"],"photo_ids_order":["1399516603","1399516607","1399516610","1399516613","1399516618","1399516620"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bc2fc30c1a29bf35b2abd8ab2708203e.jpg","text":"TemporaryFile(/tmp/multipartBody811540308926776969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808122669,"filename":"image_15122025_14_37_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/15/b8991c175f1ef14be1515f2287c44618.jpg","text":"TemporaryFile(/tmp/multipartBody9084091131869096510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808122669,"filename":"image_15122025_14_37_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/15/c37eaa13f0cca93e1e38066a38b81ac1.jpg","text":"TemporaryFile(/tmp/multipartBody6854618931891282088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808122669,"filename":"image_15122025_14_37_25_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d86b1c2dbc57d4aa31e9e1b735da05f2.jpg","text":"TemporaryFile(/tmp/multipartBody3401394792715995139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808122669,"filename":"image_15122025_14_37_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/15/80211218c4de01a021b891432db2a41c.jpg","text":"TemporaryFile(/tmp/multipartBody1176934475020656896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808122669,"filename":"image_15122025_14_37_35_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8125d02625be633ee5321943480031c1.jpg","text":"TemporaryFile(/tmp/multipartBody4009882170799273773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808122669,"filename":"image_15122025_14_36_55_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399516610","file1":"1399516607","file0":"1399516603","file4":"1399516618","file5":"1399516620","file3":"1399516613"},"map_files_photo_id_array":[{"photo_id":"1399516620","filename":"file5"},{"photo_id":"1399516610","filename":"file2"},{"photo_id":"1399516618","filename":"file4"},{"photo_id":"1399516607","filename":"file1"},{"photo_id":"1399516603","filename":"file0"},{"photo_id":"1399516613","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399516620":["hashtag1","hashtag2"]},{"1399516610":["hashtag1","hashtag2"]},{"1399516613":["hashtag1","hashtag2"]},{"1399516607":["hashtag1","hashtag2"]},{"1399516618":["hashtag1","hashtag2"]},{"1399516603":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399516620, 1399516610, 1399516613, 1399516607, 1399516618, 1399516603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.58131408691406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 15:15:02.961895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/37/image_15122025_14_37_55_10652.jpg', '/home/pi/Desktop/images/15122025/14/37/image_15122025_14_38_05_9726.jpg', '/home/pi/Desktop/images/15122025/14/38/image_15122025_14_38_14_9647.jpg', '/home/pi/Desktop/images/15122025/14/38/image_15122025_14_38_35_9737.jpg', '/home/pi/Desktop/images/15122025/14/38/image_15122025_14_38_45_9777.jpg', '/home/pi/Desktop/images/15122025/14/38/image_15122025_14_39_05_10726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/37/image_15122025_14_37_55_10652.jpg
/home/pi/Desktop/images/15122025/14/37/image_15122025_14_38_05_9726.jpg
/home/pi/Desktop/images/15122025/14/38/image_15122025_14_38_14_9647.jpg
/home/pi/Desktop/images/15122025/14/38/image_15122025_14_38_35_9737.jpg
/home/pi/Desktop/images/15122025/14/38/image_15122025_14_38_45_9777.jpg
/home/pi/Desktop/images/15122025/14/38/image_15122025_14_39_05_10726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399516676","1399516658","1399516666","1399516669","1399516674","1399516671"],"photo_ids_order":["1399516658","1399516666","1399516669","1399516671","1399516674","1399516676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/56cdd7502b759ae475aff68595612fbf.jpg","text":"TemporaryFile(/tmp/multipartBody5962376717263345206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808163646,"filename":"image_15122025_14_39_05_10726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f01de2f4b9dfee1f8ba93e59dea316f5.jpg","text":"TemporaryFile(/tmp/multipartBody3471401900044052760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808163646,"filename":"image_15122025_14_37_55_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1ee2b8fc1eb819c6a54c66632e147dcc.jpg","text":"TemporaryFile(/tmp/multipartBody2999639752584201274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808163646,"filename":"image_15122025_14_38_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/15/fa20a46b32d5919d6203b2881b826330.jpg","text":"TemporaryFile(/tmp/multipartBody7505927722960031976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808163646,"filename":"image_15122025_14_38_14_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2d8db17920882b2f7865d9cc2ed1711b.jpg","text":"TemporaryFile(/tmp/multipartBody2724763683804146508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808163646,"filename":"image_15122025_14_38_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/15/5f4244036ee33c24643b058726539a8e.jpg","text":"TemporaryFile(/tmp/multipartBody8367675148932673471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808163646,"filename":"image_15122025_14_38_35_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399516669","file1":"1399516666","file0":"1399516658","file4":"1399516674","file5":"1399516676","file3":"1399516671"},"map_files_photo_id_array":[{"photo_id":"1399516676","filename":"file5"},{"photo_id":"1399516669","filename":"file2"},{"photo_id":"1399516674","filename":"file4"},{"photo_id":"1399516666","filename":"file1"},{"photo_id":"1399516658","filename":"file0"},{"photo_id":"1399516671","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399516676":["hashtag1","hashtag2"]},{"1399516658":["hashtag1","hashtag2"]},{"1399516666":["hashtag1","hashtag2"]},{"1399516669":["hashtag1","hashtag2"]},{"1399516674":["hashtag1","hashtag2"]},{"1399516671":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399516676, 1399516658, 1399516666, 1399516669, 1399516674, 1399516671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.171361684799194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 15:16:02.933882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/39/image_15122025_14_39_15_9700.jpg', '/home/pi/Desktop/images/15122025/14/39/image_15122025_14_39_24_9676.jpg', '/home/pi/Desktop/images/15122025/14/39/image_15122025_14_39_34_9864.jpg', '/home/pi/Desktop/images/15122025/14/39/image_15122025_14_39_45_10723.jpg', '/home/pi/Desktop/images/15122025/14/39/image_15122025_14_39_55_9577.jpg', '/home/pi/Desktop/images/15122025/14/39/image_15122025_14_40_04_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/39/image_15122025_14_39_15_9700.jpg
/home/pi/Desktop/images/15122025/14/39/image_15122025_14_39_24_9676.jpg
/home/pi/Desktop/images/15122025/14/39/image_15122025_14_39_34_9864.jpg
/home/pi/Desktop/images/15122025/14/39/image_15122025_14_39_45_10723.jpg
/home/pi/Desktop/images/15122025/14/39/image_15122025_14_39_55_9577.jpg
/home/pi/Desktop/images/15122025/14/39/image_15122025_14_40_04_9719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399516685","1399516682","1399516681","1399516687","1399516692","1399516689"],"photo_ids_order":["1399516681","1399516682","1399516685","1399516687","1399516689","1399516692"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0f18ba30b3d67f5d1701adf7fbfd6bd7.jpg","text":"TemporaryFile(/tmp/multipartBody4070147786861682621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808223601,"filename":"image_15122025_14_39_34_9864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7da3d2aa0fa07b7e6c531405f7b043a6.jpg","text":"TemporaryFile(/tmp/multipartBody4141484834976250790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808223601,"filename":"image_15122025_14_39_24_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/61dd8d227e663f6535f80a62178e7ab3.jpg","text":"TemporaryFile(/tmp/multipartBody2699446665693445602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808223601,"filename":"image_15122025_14_39_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/15/e671b8a94a672c0287b42d79ebc94665.jpg","text":"TemporaryFile(/tmp/multipartBody4075781032112289933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808223601,"filename":"image_15122025_14_39_45_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9e1fcdbbb9027d0638b1df65f76c0907.jpg","text":"TemporaryFile(/tmp/multipartBody4772648174266704612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808223601,"filename":"image_15122025_14_40_04_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d192ec2bde19145eb0210c116dc7062a.jpg","text":"TemporaryFile(/tmp/multipartBody8612386475339508146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808223601,"filename":"image_15122025_14_39_55_9577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399516685","file1":"1399516682","file0":"1399516681","file4":"1399516689","file5":"1399516692","file3":"1399516687"},"map_files_photo_id_array":[{"photo_id":"1399516692","filename":"file5"},{"photo_id":"1399516685","filename":"file2"},{"photo_id":"1399516689","filename":"file4"},{"photo_id":"1399516682","filename":"file1"},{"photo_id":"1399516681","filename":"file0"},{"photo_id":"1399516687","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399516685":["hashtag1","hashtag2"]},{"1399516682":["hashtag1","hashtag2"]},{"1399516681":["hashtag1","hashtag2"]},{"1399516687":["hashtag1","hashtag2"]},{"1399516692":["hashtag1","hashtag2"]},{"1399516689":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399516685, 1399516682, 1399516681, 1399516687, 1399516692, 1399516689)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.61508131027222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 15:17:03.395396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/40/image_15122025_14_40_15_10645.jpg', '/home/pi/Desktop/images/15122025/14/40/image_15122025_14_40_25_9647.jpg', '/home/pi/Desktop/images/15122025/14/40/image_15122025_14_40_34_9674.jpg', '/home/pi/Desktop/images/15122025/14/40/image_15122025_14_40_45_10728.jpg', '/home/pi/Desktop/images/15122025/14/40/image_15122025_14_40_55_9662.jpg', '/home/pi/Desktop/images/15122025/14/40/image_15122025_14_41_04_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/40/image_15122025_14_40_15_10645.jpg
/home/pi/Desktop/images/15122025/14/40/image_15122025_14_40_25_9647.jpg
/home/pi/Desktop/images/15122025/14/40/image_15122025_14_40_34_9674.jpg
/home/pi/Desktop/images/15122025/14/40/image_15122025_14_40_45_10728.jpg
/home/pi/Desktop/images/15122025/14/40/image_15122025_14_40_55_9662.jpg
/home/pi/Desktop/images/15122025/14/40/image_15122025_14_41_04_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399516703","1399516706","1399516709","1399516699","1399516708","1399516705"],"photo_ids_order":["1399516699","1399516703","1399516705","1399516706","1399516708","1399516709"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e38da03e6ed655dd6ce94d91b93a1679.jpg","text":"TemporaryFile(/tmp/multipartBody4406592588789273242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808284051,"filename":"image_15122025_14_40_25_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0af36ba96f4a9df2256f66edc2a4dcb5.jpg","text":"TemporaryFile(/tmp/multipartBody3499146857538605128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808284051,"filename":"image_15122025_14_40_45_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/92cb914f27ea5adaad4a980cce14f1f8.jpg","text":"TemporaryFile(/tmp/multipartBody8586979624434367465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808284051,"filename":"image_15122025_14_41_04_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b52673952c86f655932d642f50c0d5d5.jpg","text":"TemporaryFile(/tmp/multipartBody2936334058443405296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808284051,"filename":"image_15122025_14_40_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/15/62b8465e5050f57665375b3d7884cab6.jpg","text":"TemporaryFile(/tmp/multipartBody8671109432199182536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808284051,"filename":"image_15122025_14_40_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/15/2bcfa453941123f7706abf5f44acc2c8.jpg","text":"TemporaryFile(/tmp/multipartBody6634436024112715971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808284051,"filename":"image_15122025_14_40_34_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399516705","file1":"1399516703","file0":"1399516699","file4":"1399516708","file5":"1399516709","file3":"1399516706"},"map_files_photo_id_array":[{"photo_id":"1399516709","filename":"file5"},{"photo_id":"1399516705","filename":"file2"},{"photo_id":"1399516708","filename":"file4"},{"photo_id":"1399516703","filename":"file1"},{"photo_id":"1399516699","filename":"file0"},{"photo_id":"1399516706","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399516703":["hashtag1","hashtag2"]},{"1399516706":["hashtag1","hashtag2"]},{"1399516709":["hashtag1","hashtag2"]},{"1399516699":["hashtag1","hashtag2"]},{"1399516708":["hashtag1","hashtag2"]},{"1399516705":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399516703, 1399516706, 1399516709, 1399516699, 1399516708, 1399516705)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.98117208480835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 15:18:02.597606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/41/image_15122025_14_41_15_10830.jpg', '/home/pi/Desktop/images/15122025/14/41/image_15122025_14_41_25_9608.jpg', '/home/pi/Desktop/images/15122025/14/41/image_15122025_14_41_35_9711.jpg', '/home/pi/Desktop/images/15122025/14/41/image_15122025_14_41_45_10678.jpg', '/home/pi/Desktop/images/15122025/14/41/image_15122025_14_41_55_9600.jpg', '/home/pi/Desktop/images/15122025/14/41/image_15122025_14_42_05_9842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/41/image_15122025_14_41_15_10830.jpg
/home/pi/Desktop/images/15122025/14/41/image_15122025_14_41_25_9608.jpg
/home/pi/Desktop/images/15122025/14/41/image_15122025_14_41_35_9711.jpg
/home/pi/Desktop/images/15122025/14/41/image_15122025_14_41_45_10678.jpg
/home/pi/Desktop/images/15122025/14/41/image_15122025_14_41_55_9600.jpg
/home/pi/Desktop/images/15122025/14/41/image_15122025_14_42_05_9842.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399516760","1399516762","1399516759","1399516761","1399516764","1399516758"],"photo_ids_order":["1399516758","1399516759","1399516760","1399516761","1399516762","1399516764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dd4388f4da23d258a38f9ea44bfb2437.jpg","text":"TemporaryFile(/tmp/multipartBody8167421595461999082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808343284,"filename":"image_15122025_14_41_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/15/2117be964ba1c9a3b0b4e4a6332a965d.jpg","text":"TemporaryFile(/tmp/multipartBody158278584171112944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808343284,"filename":"image_15122025_14_41_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/15/4608786ebbf3e702ee9622c56eaf3df3.jpg","text":"TemporaryFile(/tmp/multipartBody790451320831192028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808343284,"filename":"image_15122025_14_41_25_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/252a7c9f2de2ad954a043d4d4ad57628.jpg","text":"TemporaryFile(/tmp/multipartBody904404491300215837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808343284,"filename":"image_15122025_14_41_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/15/7e59ac93de546a178179dcca5e18b0fd.jpg","text":"TemporaryFile(/tmp/multipartBody8579742511160284100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808343284,"filename":"image_15122025_14_42_05_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1ce34aa5aef1c462588c97df623f44da.jpg","text":"TemporaryFile(/tmp/multipartBody4661278948685731277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808343284,"filename":"image_15122025_14_41_15_10830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399516760","file1":"1399516759","file0":"1399516758","file4":"1399516762","file5":"1399516764","file3":"1399516761"},"map_files_photo_id_array":[{"photo_id":"1399516764","filename":"file5"},{"photo_id":"1399516760","filename":"file2"},{"photo_id":"1399516762","filename":"file4"},{"photo_id":"1399516759","filename":"file1"},{"photo_id":"1399516758","filename":"file0"},{"photo_id":"1399516761","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399516760":["hashtag1","hashtag2"]},{"1399516762":["hashtag1","hashtag2"]},{"1399516759":["hashtag1","hashtag2"]},{"1399516761":["hashtag1","hashtag2"]},{"1399516764":["hashtag1","hashtag2"]},{"1399516758":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399516760, 1399516762, 1399516759, 1399516761, 1399516764, 1399516758)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.529705286026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 15:19:03.021185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/42/image_15122025_14_42_15_10688.jpg', '/home/pi/Desktop/images/15122025/14/42/image_15122025_14_42_25_9714.jpg', '/home/pi/Desktop/images/15122025/14/42/image_15122025_14_42_35_9644.jpg', '/home/pi/Desktop/images/15122025/14/42/image_15122025_14_42_45_10603.jpg', '/home/pi/Desktop/images/15122025/14/42/image_15122025_14_42_55_9661.jpg', '/home/pi/Desktop/images/15122025/14/42/image_15122025_14_43_05_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/42/image_15122025_14_42_15_10688.jpg
/home/pi/Desktop/images/15122025/14/42/image_15122025_14_42_25_9714.jpg
/home/pi/Desktop/images/15122025/14/42/image_15122025_14_42_35_9644.jpg
/home/pi/Desktop/images/15122025/14/42/image_15122025_14_42_45_10603.jpg
/home/pi/Desktop/images/15122025/14/42/image_15122025_14_42_55_9661.jpg
/home/pi/Desktop/images/15122025/14/42/image_15122025_14_43_05_9709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399516800","1399516803","1399516802","1399516805","1399516801","1399516791"],"photo_ids_order":["1399516791","1399516800","1399516801","1399516802","1399516803","1399516805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4a9c6f36782ce0048c88cf081c23013f.jpg","text":"TemporaryFile(/tmp/multipartBody3699651535185728443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808403780,"filename":"image_15122025_14_42_25_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6b311e5428d57cb4f0a0a573d7cbee3c.jpg","text":"TemporaryFile(/tmp/multipartBody7668979356570489682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808403780,"filename":"image_15122025_14_42_55_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2668ce91197bd1dbe7831b0be4454365.jpg","text":"TemporaryFile(/tmp/multipartBody6728532158012995855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808403780,"filename":"image_15122025_14_42_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/15/4e73b0f6853b9e23a8029bdeb495261b.jpg","text":"TemporaryFile(/tmp/multipartBody3612655152424146790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808403780,"filename":"image_15122025_14_43_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/15/0ed91a672caacd5271ff2e1a09216c8e.jpg","text":"TemporaryFile(/tmp/multipartBody3900882297723429091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808403780,"filename":"image_15122025_14_42_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/15/d3e969997f300408bae8559c82bf10ad.jpg","text":"TemporaryFile(/tmp/multipartBody8289070666219891041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808403780,"filename":"image_15122025_14_42_15_10688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399516801","file1":"1399516800","file0":"1399516791","file4":"1399516803","file5":"1399516805","file3":"1399516802"},"map_files_photo_id_array":[{"photo_id":"1399516805","filename":"file5"},{"photo_id":"1399516801","filename":"file2"},{"photo_id":"1399516803","filename":"file4"},{"photo_id":"1399516800","filename":"file1"},{"photo_id":"1399516791","filename":"file0"},{"photo_id":"1399516802","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399516800":["hashtag1","hashtag2"]},{"1399516803":["hashtag1","hashtag2"]},{"1399516802":["hashtag1","hashtag2"]},{"1399516805":["hashtag1","hashtag2"]},{"1399516801":["hashtag1","hashtag2"]},{"1399516791":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399516800, 1399516803, 1399516802, 1399516805, 1399516801, 1399516791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.549116134643555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 15:19:41.910423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_48_3609.jpg', '/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_51_2711.jpg', '/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_53_2664.jpg', '/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_57_3593.jpg', '/home/pi/Desktop/images/05112025/15/15/image_05112025_15_16_00_2596.jpg', '/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_02_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_48_3609.jpg
/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_51_2711.jpg
/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_53_2664.jpg
/home/pi/Desktop/images/05112025/15/15/image_05112025_15_15_57_3593.jpg
/home/pi/Desktop/images/05112025/15/15/image_05112025_15_16_00_2596.jpg
/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_02_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":["1399516815","1399516809","1399516817","1399516813","1399516816","1399516818"],"photo_ids_order":["1399516809","1399516813","1399516815","1399516816","1399516817","1399516818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5bf9188931b64f59d1ebe3f3f5e4a7dc.jpg","text":"TemporaryFile(/tmp/multipartBody1462269606111193884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808442604,"filename":"image_05112025_15_15_53_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1e5eb6d98fc84df9037b906d460aad39.jpg","text":"TemporaryFile(/tmp/multipartBody3750991227584945801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808442604,"filename":"image_05112025_15_15_48_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9ff576acd145f9f3712f1ba793750a59.jpg","text":"TemporaryFile(/tmp/multipartBody5965879444610158297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808442604,"filename":"image_05112025_15_16_00_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/15/0e67c466abff129a2264e9a2b03345b4.jpg","text":"TemporaryFile(/tmp/multipartBody1444564438517040942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808442604,"filename":"image_05112025_15_15_51_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/15/30a617d394165d33c06903543e5c7296.jpg","text":"TemporaryFile(/tmp/multipartBody5262416561565309429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808442604,"filename":"image_05112025_15_15_57_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/15/0348df49f05f27a6a3d8a4eef121a31e.jpg","text":"TemporaryFile(/tmp/multipartBody5108859162847414502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808442604,"filename":"image_05112025_15_16_02_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399516815","file1":"1399516813","file0":"1399516809","file4":"1399516817","file5":"1399516818","file3":"1399516816"},"map_files_photo_id_array":[{"photo_id":"1399516818","filename":"file5"},{"photo_id":"1399516815","filename":"file2"},{"photo_id":"1399516817","filename":"file4"},{"photo_id":"1399516813","filename":"file1"},{"photo_id":"1399516809","filename":"file0"},{"photo_id":"1399516816","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399516815":["hashtag1","hashtag2"]},{"1399516809":["hashtag1","hashtag2"]},{"1399516817":["hashtag1","hashtag2"]},{"1399516813":["hashtag1","hashtag2"]},{"1399516816":["hashtag1","hashtag2"]},{"1399516818":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399516815, 1399516809, 1399516817, 1399516813, 1399516816, 1399516818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04041814804077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 15:20:22.201033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/43/image_15122025_14_43_14_9672.jpg', '/home/pi/Desktop/images/15122025/14/43/image_15122025_14_43_25_10634.jpg', '/home/pi/Desktop/images/15122025/14/43/image_15122025_14_43_35_9544.jpg', '/home/pi/Desktop/images/15122025/14/43/image_15122025_14_43_45_10639.jpg', '/home/pi/Desktop/images/15122025/14/43/image_15122025_14_43_55_9682.jpg', '/home/pi/Desktop/images/15122025/14/43/image_15122025_14_44_04_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/43/image_15122025_14_43_14_9672.jpg
/home/pi/Desktop/images/15122025/14/43/image_15122025_14_43_25_10634.jpg
/home/pi/Desktop/images/15122025/14/43/image_15122025_14_43_35_9544.jpg
/home/pi/Desktop/images/15122025/14/43/image_15122025_14_43_45_10639.jpg
/home/pi/Desktop/images/15122025/14/43/image_15122025_14_43_55_9682.jpg
/home/pi/Desktop/images/15122025/14/43/image_15122025_14_44_04_9657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399516833","1399516850","1399516829","1399516822","1399516819","1399516824"],"photo_ids_order":["1399516819","1399516822","1399516824","1399516829","1399516833","1399516850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/41fd800c608ab85f3828b7584b8bd744.jpg","text":"TemporaryFile(/tmp/multipartBody732854317317221566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808482873,"filename":"image_15122025_14_43_55_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f6b60e04dd2eb9aee1f3171be23ed96e.jpg","text":"TemporaryFile(/tmp/multipartBody5278399714000725012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808482873,"filename":"image_15122025_14_44_04_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fd6af72922cd05508c6524fa1f319f77.jpg","text":"TemporaryFile(/tmp/multipartBody5375770300377453930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808482873,"filename":"image_15122025_14_43_45_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cdb0285955cc3158541fdc286924978b.jpg","text":"TemporaryFile(/tmp/multipartBody3688994536510630622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808482873,"filename":"image_15122025_14_43_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/15/bc4c76f5adbe5e525cf8a1b2b30a03d4.jpg","text":"TemporaryFile(/tmp/multipartBody4370013577046556062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808482873,"filename":"image_15122025_14_43_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/15/d08cd3ab3953305127508e1295dc5efe.jpg","text":"TemporaryFile(/tmp/multipartBody7976472181303524063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808482873,"filename":"image_15122025_14_43_35_9544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399516824","file1":"1399516822","file0":"1399516819","file4":"1399516833","file5":"1399516850","file3":"1399516829"},"map_files_photo_id_array":[{"photo_id":"1399516850","filename":"file5"},{"photo_id":"1399516824","filename":"file2"},{"photo_id":"1399516833","filename":"file4"},{"photo_id":"1399516822","filename":"file1"},{"photo_id":"1399516819","filename":"file0"},{"photo_id":"1399516829","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399516833":["hashtag1","hashtag2"]},{"1399516850":["hashtag1","hashtag2"]},{"1399516829":["hashtag1","hashtag2"]},{"1399516822":["hashtag1","hashtag2"]},{"1399516819":["hashtag1","hashtag2"]},{"1399516824":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399516833, 1399516850, 1399516829, 1399516822, 1399516819, 1399516824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.45131182670593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 15:21:12.463637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 15:21:22.390017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/44/image_15122025_14_44_15_10774.jpg', '/home/pi/Desktop/images/15122025/14/44/image_15122025_14_44_25_9742.jpg', '/home/pi/Desktop/images/15122025/14/44/image_15122025_14_44_35_9656.jpg', '/home/pi/Desktop/images/15122025/14/44/image_15122025_14_44_45_10614.jpg', '/home/pi/Desktop/images/15122025/14/44/image_15122025_14_44_55_9840.jpg', '/home/pi/Desktop/images/15122025/14/44/image_15122025_14_45_05_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/44/image_15122025_14_44_15_10774.jpg
/home/pi/Desktop/images/15122025/14/44/image_15122025_14_44_25_9742.jpg
/home/pi/Desktop/images/15122025/14/44/image_15122025_14_44_35_9656.jpg
/home/pi/Desktop/images/15122025/14/44/image_15122025_14_44_45_10614.jpg
/home/pi/Desktop/images/15122025/14/44/image_15122025_14_44_55_9840.jpg
/home/pi/Desktop/images/15122025/14/44/image_15122025_14_45_05_9712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399516871","1399516873","1399516867","1399516875","1399516869","1399516878"],"photo_ids_order":["1399516867","1399516869","1399516871","1399516873","1399516875","1399516878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4b8260b4c322c2dc43e61fa3e65e8fcf.jpg","text":"TemporaryFile(/tmp/multipartBody4695999308254066143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808543028,"filename":"image_15122025_14_44_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/15/c030a38c826b063438fca8b751607f35.jpg","text":"TemporaryFile(/tmp/multipartBody6095822349102846092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808543028,"filename":"image_15122025_14_44_45_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/460117e7044f754ecf93015717579be1.jpg","text":"TemporaryFile(/tmp/multipartBody1964557420923664135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808543028,"filename":"image_15122025_14_44_15_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/15/0323909aebe2b294020365869ad00699.jpg","text":"TemporaryFile(/tmp/multipartBody8563333400206691140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808543028,"filename":"image_15122025_14_44_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/15/124139f7e571caaa871e1d33a2c8ee71.jpg","text":"TemporaryFile(/tmp/multipartBody6114871155874204693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808543028,"filename":"image_15122025_14_44_25_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a228aac4d1f84d994c889670aa1a4bbe.jpg","text":"TemporaryFile(/tmp/multipartBody2638676451858490221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808543028,"filename":"image_15122025_14_45_05_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399516871","file1":"1399516869","file0":"1399516867","file4":"1399516875","file5":"1399516878","file3":"1399516873"},"map_files_photo_id_array":[{"photo_id":"1399516878","filename":"file5"},{"photo_id":"1399516871","filename":"file2"},{"photo_id":"1399516875","filename":"file4"},{"photo_id":"1399516869","filename":"file1"},{"photo_id":"1399516867","filename":"file0"},{"photo_id":"1399516873","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399516871":["hashtag1","hashtag2"]},{"1399516873":["hashtag1","hashtag2"]},{"1399516867":["hashtag1","hashtag2"]},{"1399516875":["hashtag1","hashtag2"]},{"1399516869":["hashtag1","hashtag2"]},{"1399516878":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399516871, 1399516873, 1399516867, 1399516875, 1399516869, 1399516878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0935173034668 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 15:22:02.981862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/45/image_15122025_14_45_14_9640.jpg', '/home/pi/Desktop/images/15122025/14/45/image_15122025_14_45_25_10642.jpg', '/home/pi/Desktop/images/15122025/14/45/image_15122025_14_45_35_9555.jpg', '/home/pi/Desktop/images/15122025/14/45/image_15122025_14_45_45_9843.jpg', '/home/pi/Desktop/images/15122025/14/45/image_15122025_14_45_55_10677.jpg', '/home/pi/Desktop/images/15122025/14/45/image_15122025_14_46_05_9814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/45/image_15122025_14_45_14_9640.jpg
/home/pi/Desktop/images/15122025/14/45/image_15122025_14_45_25_10642.jpg
/home/pi/Desktop/images/15122025/14/45/image_15122025_14_45_35_9555.jpg
/home/pi/Desktop/images/15122025/14/45/image_15122025_14_45_45_9843.jpg
/home/pi/Desktop/images/15122025/14/45/image_15122025_14_45_55_10677.jpg
/home/pi/Desktop/images/15122025/14/45/image_15122025_14_46_05_9814.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.59647536277771 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 15:22:12.686336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 15:22:22.603418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/45/image_15122025_14_45_14_9640.jpg', '/home/pi/Desktop/images/15122025/14/45/image_15122025_14_45_25_10642.jpg', '/home/pi/Desktop/images/15122025/14/45/image_15122025_14_45_35_9555.jpg', '/home/pi/Desktop/images/15122025/14/45/image_15122025_14_45_45_9843.jpg', '/home/pi/Desktop/images/15122025/14/45/image_15122025_14_45_55_10677.jpg', '/home/pi/Desktop/images/15122025/14/45/image_15122025_14_46_05_9814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/45/image_15122025_14_45_14_9640.jpg
/home/pi/Desktop/images/15122025/14/45/image_15122025_14_45_25_10642.jpg
/home/pi/Desktop/images/15122025/14/45/image_15122025_14_45_35_9555.jpg
/home/pi/Desktop/images/15122025/14/45/image_15122025_14_45_45_9843.jpg
/home/pi/Desktop/images/15122025/14/45/image_15122025_14_45_55_10677.jpg
/home/pi/Desktop/images/15122025/14/45/image_15122025_14_46_05_9814.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399516908","1399516892","1399516886","1399516888","1399516897","1399516890"],"photo_ids_order":["1399516886","1399516888","1399516890","1399516892","1399516897","1399516908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e9a3437f8399abf1151bf4f175cd74c8.jpg","text":"TemporaryFile(/tmp/multipartBody9036425660067477808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808603284,"filename":"image_15122025_14_46_05_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/15/a563f07806185b9b2d8d49067681ca13.jpg","text":"TemporaryFile(/tmp/multipartBody7530342397147079065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808603284,"filename":"image_15122025_14_45_45_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/15/8f06a18368a7aea76f0849ec5dae9a0c.jpg","text":"TemporaryFile(/tmp/multipartBody2449394348803490216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808603284,"filename":"image_15122025_14_45_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/15/979e97962c170d817016c9aa58dfa5a3.jpg","text":"TemporaryFile(/tmp/multipartBody2763072895665006395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808603284,"filename":"image_15122025_14_45_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/15/0488fdc0afed01a4eb79216c40b7f222.jpg","text":"TemporaryFile(/tmp/multipartBody4959548142994983902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808603284,"filename":"image_15122025_14_45_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/15/2295b94921a9570f38b13249efb111ca.jpg","text":"TemporaryFile(/tmp/multipartBody8980164514399807785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808603284,"filename":"image_15122025_14_45_35_9555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399516890","file1":"1399516888","file0":"1399516886","file4":"1399516897","file5":"1399516908","file3":"1399516892"},"map_files_photo_id_array":[{"photo_id":"1399516908","filename":"file5"},{"photo_id":"1399516890","filename":"file2"},{"photo_id":"1399516897","filename":"file4"},{"photo_id":"1399516888","filename":"file1"},{"photo_id":"1399516886","filename":"file0"},{"photo_id":"1399516892","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399516908":["hashtag1","hashtag2"]},{"1399516892":["hashtag1","hashtag2"]},{"1399516886":["hashtag1","hashtag2"]},{"1399516888":["hashtag1","hashtag2"]},{"1399516897":["hashtag1","hashtag2"]},{"1399516890":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399516908, 1399516892, 1399516886, 1399516888, 1399516897, 1399516890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74627065658569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 15:23:03.380265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/46/image_15122025_14_46_15_9707.jpg', '/home/pi/Desktop/images/15122025/14/46/image_15122025_14_46_24_9737.jpg', '/home/pi/Desktop/images/15122025/14/46/image_15122025_14_46_35_10791.jpg', '/home/pi/Desktop/images/15122025/14/46/image_15122025_14_46_45_9822.jpg', '/home/pi/Desktop/images/15122025/14/46/image_15122025_14_46_55_9660.jpg', '/home/pi/Desktop/images/15122025/14/46/image_15122025_14_47_04_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/46/image_15122025_14_46_15_9707.jpg
/home/pi/Desktop/images/15122025/14/46/image_15122025_14_46_24_9737.jpg
/home/pi/Desktop/images/15122025/14/46/image_15122025_14_46_35_10791.jpg
/home/pi/Desktop/images/15122025/14/46/image_15122025_14_46_45_9822.jpg
/home/pi/Desktop/images/15122025/14/46/image_15122025_14_46_55_9660.jpg
/home/pi/Desktop/images/15122025/14/46/image_15122025_14_47_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.5839869976043701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 15:23:12.775467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 15:23:22.834374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/46/image_15122025_14_46_15_9707.jpg', '/home/pi/Desktop/images/15122025/14/46/image_15122025_14_46_24_9737.jpg', '/home/pi/Desktop/images/15122025/14/46/image_15122025_14_46_35_10791.jpg', '/home/pi/Desktop/images/15122025/14/46/image_15122025_14_46_45_9822.jpg', '/home/pi/Desktop/images/15122025/14/46/image_15122025_14_46_55_9660.jpg', '/home/pi/Desktop/images/15122025/14/46/image_15122025_14_47_04_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/46/image_15122025_14_46_15_9707.jpg
/home/pi/Desktop/images/15122025/14/46/image_15122025_14_46_24_9737.jpg
/home/pi/Desktop/images/15122025/14/46/image_15122025_14_46_35_10791.jpg
/home/pi/Desktop/images/15122025/14/46/image_15122025_14_46_45_9822.jpg
/home/pi/Desktop/images/15122025/14/46/image_15122025_14_46_55_9660.jpg
/home/pi/Desktop/images/15122025/14/46/image_15122025_14_47_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":["1399516931","1399516925","1399516927","1399516953","1399516929","1399516923"],"photo_ids_order":["1399516923","1399516925","1399516927","1399516929","1399516931","1399516953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d5bf7481001b919fb7fdcf4673c0b2d2.jpg","text":"TemporaryFile(/tmp/multipartBody4597172862524523825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808663461,"filename":"image_15122025_14_46_55_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3dbede6f77b353e3416af971a575ef8a.jpg","text":"TemporaryFile(/tmp/multipartBody7584803346332868837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808663461,"filename":"image_15122025_14_46_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/15/9b255df59da85f6fa3420e3f0f6185d4.jpg","text":"TemporaryFile(/tmp/multipartBody5229956022383126871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808663461,"filename":"image_15122025_14_46_35_10791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ffa026fc6cecef944747245a9d8d4c5c.jpg","text":"TemporaryFile(/tmp/multipartBody4966614408449500133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808663461,"filename":"image_15122025_14_47_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/15/4f57c063f5bfbf945f6f2b7f5b9bfe0a.jpg","text":"TemporaryFile(/tmp/multipartBody544808422195913407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808663461,"filename":"image_15122025_14_46_45_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/454140d9abdcf8b9933255e37063d428.jpg","text":"TemporaryFile(/tmp/multipartBody8522806319363143697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808663461,"filename":"image_15122025_14_46_15_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399516927","file1":"1399516925","file0":"1399516923","file4":"1399516931","file5":"1399516953","file3":"1399516929"},"map_files_photo_id_array":[{"photo_id":"1399516953","filename":"file5"},{"photo_id":"1399516927","filename":"file2"},{"photo_id":"1399516931","filename":"file4"},{"photo_id":"1399516925","filename":"file1"},{"photo_id":"1399516923","filename":"file0"},{"photo_id":"1399516929","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399516931":["hashtag1","hashtag2"]},{"1399516925":["hashtag1","hashtag2"]},{"1399516927":["hashtag1","hashtag2"]},{"1399516953":["hashtag1","hashtag2"]},{"1399516929":["hashtag1","hashtag2"]},{"1399516923":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399516931, 1399516925, 1399516927, 1399516953, 1399516929, 1399516923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.808961391448975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 15:24:02.848744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/47/image_15122025_14_47_15_10704.jpg', '/home/pi/Desktop/images/15122025/14/47/image_15122025_14_47_25_9712.jpg', '/home/pi/Desktop/images/15122025/14/47/image_15122025_14_47_43_18055.jpg', '/home/pi/Desktop/images/15122025/14/47/image_15122025_14_47_44_1583.jpg', '/home/pi/Desktop/images/15122025/14/47/image_15122025_14_47_55_10823.jpg', '/home/pi/Desktop/images/15122025/14/48/image_15122025_14_48_05_9808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/47/image_15122025_14_47_15_10704.jpg
/home/pi/Desktop/images/15122025/14/47/image_15122025_14_47_25_9712.jpg
/home/pi/Desktop/images/15122025/14/47/image_15122025_14_47_43_18055.jpg
/home/pi/Desktop/images/15122025/14/47/image_15122025_14_47_44_1583.jpg
/home/pi/Desktop/images/15122025/14/47/image_15122025_14_47_55_10823.jpg
/home/pi/Desktop/images/15122025/14/48/image_15122025_14_48_05_9808.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399516964","1399516955","1399516960","1399516957","1399516962","1399516959"],"photo_ids_order":["1399516955","1399516957","1399516959","1399516960","1399516962","1399516964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3a9394d78f2e9c8510c3e854410ca022.jpg","text":"TemporaryFile(/tmp/multipartBody3094129954472332372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808703564,"filename":"image_15122025_14_48_05_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/15/a9ce33061802293701eb3b815fc90852.jpg","text":"TemporaryFile(/tmp/multipartBody3593266631765995298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808703564,"filename":"image_15122025_14_47_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/15/0400a6d50379c23f961cdc2f02be7030.jpg","text":"TemporaryFile(/tmp/multipartBody3044799073026929922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808703564,"filename":"image_15122025_14_47_44_1583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/04e6726480934b4ebc0ac1a96318be18.jpg","text":"TemporaryFile(/tmp/multipartBody4452199706766344640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808703564,"filename":"image_15122025_14_47_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/15/f9c9cf60f748673b0983e5289dac33a4.jpg","text":"TemporaryFile(/tmp/multipartBody5461244925846407523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808703564,"filename":"image_15122025_14_47_55_10823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e1c590f4d1820deaa40acafd03592df3.jpg","text":"TemporaryFile(/tmp/multipartBody4886401041726303194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808703564,"filename":"image_15122025_14_47_43_18055.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399516959","file1":"1399516957","file0":"1399516955","file4":"1399516962","file5":"1399516964","file3":"1399516960"},"map_files_photo_id_array":[{"photo_id":"1399516964","filename":"file5"},{"photo_id":"1399516959","filename":"file2"},{"photo_id":"1399516962","filename":"file4"},{"photo_id":"1399516957","filename":"file1"},{"photo_id":"1399516955","filename":"file0"},{"photo_id":"1399516960","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399516964":["hashtag1","hashtag2"]},{"1399516955":["hashtag1","hashtag2"]},{"1399516960":["hashtag1","hashtag2"]},{"1399516957":["hashtag1","hashtag2"]},{"1399516962":["hashtag1","hashtag2"]},{"1399516959":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399516964, 1399516955, 1399516960, 1399516957, 1399516962, 1399516959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76712417602539 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 15:24:42.024115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_06_3547.jpg', '/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_08_2621.jpg', '/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_12_3566.jpg', '/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_17_4867.jpg', '/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_19_1962.jpg', '/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_20_1602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_06_3547.jpg
/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_08_2621.jpg
/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_12_3566.jpg
/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_17_4867.jpg
/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_19_1962.jpg
/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_20_1602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399517003","1399516990","1399517008","1399516986","1399517025","1399517004"],"photo_ids_order":["1399516986","1399516990","1399517003","1399517004","1399517008","1399517025"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/64cea9eb3e1f4024f299c71a8dbd38a6.jpg","text":"TemporaryFile(/tmp/multipartBody4846699554580079470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808742719,"filename":"image_05112025_15_16_12_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0e40fc68ce3ae89146bfaf1dc443d70e.jpg","text":"TemporaryFile(/tmp/multipartBody745022446654018500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808742719,"filename":"image_05112025_15_16_08_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/15/7c394b4e1a115dff8e05085ba01d5295.jpg","text":"TemporaryFile(/tmp/multipartBody7915210335855470667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808742719,"filename":"image_05112025_15_16_19_1962.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bfbe3cb9fdc66054e6caf07d4948a4af.jpg","text":"TemporaryFile(/tmp/multipartBody3865312417270012831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808742719,"filename":"image_05112025_15_16_06_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/15/851f7249fbfed45d2039a7d11e6e14e7.jpg","text":"TemporaryFile(/tmp/multipartBody148103269500508238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808742719,"filename":"image_05112025_15_16_20_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/15/04c7bf67f8f20d712784ccaf3cd473cc.jpg","text":"TemporaryFile(/tmp/multipartBody5382685309379075818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808742719,"filename":"image_05112025_15_16_17_4867.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399517003","file1":"1399516990","file0":"1399516986","file4":"1399517008","file5":"1399517025","file3":"1399517004"},"map_files_photo_id_array":[{"photo_id":"1399517025","filename":"file5"},{"photo_id":"1399517003","filename":"file2"},{"photo_id":"1399517008","filename":"file4"},{"photo_id":"1399516990","filename":"file1"},{"photo_id":"1399516986","filename":"file0"},{"photo_id":"1399517004","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399517003":["hashtag1","hashtag2"]},{"1399516990":["hashtag1","hashtag2"]},{"1399517008":["hashtag1","hashtag2"]},{"1399516986":["hashtag1","hashtag2"]},{"1399517025":["hashtag1","hashtag2"]},{"1399517004":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399517003, 1399516990, 1399517008, 1399516986, 1399517025, 1399517004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.628796100616455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 15:25:22.284873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/48/image_15122025_14_48_15_9647.jpg', '/home/pi/Desktop/images/15122025/14/48/image_15122025_14_48_24_9745.jpg', '/home/pi/Desktop/images/15122025/14/48/image_15122025_14_48_35_10324.jpg', '/home/pi/Desktop/images/15122025/14/48/image_15122025_14_48_45_9723.jpg', '/home/pi/Desktop/images/15122025/14/48/image_15122025_14_48_55_10714.jpg', '/home/pi/Desktop/images/15122025/14/48/image_15122025_14_49_05_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/48/image_15122025_14_48_15_9647.jpg
/home/pi/Desktop/images/15122025/14/48/image_15122025_14_48_24_9745.jpg
/home/pi/Desktop/images/15122025/14/48/image_15122025_14_48_35_10324.jpg
/home/pi/Desktop/images/15122025/14/48/image_15122025_14_48_45_9723.jpg
/home/pi/Desktop/images/15122025/14/48/image_15122025_14_48_55_10714.jpg
/home/pi/Desktop/images/15122025/14/48/image_15122025_14_49_05_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.5280649662017822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 15:25:32.262715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 15:25:42.247903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_24_3645.jpg', '/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_27_2589.jpg', '/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_30_3037.jpg', '/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_32_2591.jpg', '/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_36_3595.jpg', '/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_39_2572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_24_3645.jpg
/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_27_2589.jpg
/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_30_3037.jpg
/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_32_2591.jpg
/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_36_3595.jpg
/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_39_2572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399517072","1399517069","1399517068","1399517071","1399517070","1399517064"],"photo_ids_order":["1399517064","1399517068","1399517069","1399517070","1399517071","1399517072"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6b2e229a3eb24009de7a4ba7e99b4378.jpg","text":"TemporaryFile(/tmp/multipartBody8598377851786191774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808802972,"filename":"image_05112025_15_16_39_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/15/20d28ba86572aca78a3560ce754a0887.jpg","text":"TemporaryFile(/tmp/multipartBody5550172707667931244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808802972,"filename":"image_05112025_15_16_30_3037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/edd466ab4cf313d3dec16ff93346ff0d.jpg","text":"TemporaryFile(/tmp/multipartBody4441432814098544288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808802972,"filename":"image_05112025_15_16_27_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/15/5aca6542e19104071a52ba853e1c5cc1.jpg","text":"TemporaryFile(/tmp/multipartBody5284582773250585695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808802972,"filename":"image_05112025_15_16_36_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/15/61cd8de02c046cd160a85367e5b8751f.jpg","text":"TemporaryFile(/tmp/multipartBody602296046940337046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808802972,"filename":"image_05112025_15_16_32_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/15/b8712e863012db9d27f0dc908496e73c.jpg","text":"TemporaryFile(/tmp/multipartBody2626685347452961223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808802972,"filename":"image_05112025_15_16_24_3645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399517069","file1":"1399517068","file0":"1399517064","file4":"1399517071","file5":"1399517072","file3":"1399517070"},"map_files_photo_id_array":[{"photo_id":"1399517072","filename":"file5"},{"photo_id":"1399517069","filename":"file2"},{"photo_id":"1399517071","filename":"file4"},{"photo_id":"1399517068","filename":"file1"},{"photo_id":"1399517064","filename":"file0"},{"photo_id":"1399517070","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399517072":["hashtag1","hashtag2"]},{"1399517069":["hashtag1","hashtag2"]},{"1399517068":["hashtag1","hashtag2"]},{"1399517071":["hashtag1","hashtag2"]},{"1399517070":["hashtag1","hashtag2"]},{"1399517064":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399517072, 1399517069, 1399517068, 1399517071, 1399517070, 1399517064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72060799598694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 15:26:22.506839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/48/image_15122025_14_48_15_9647.jpg', '/home/pi/Desktop/images/15122025/14/48/image_15122025_14_48_24_9745.jpg', '/home/pi/Desktop/images/15122025/14/48/image_15122025_14_48_35_10324.jpg', '/home/pi/Desktop/images/15122025/14/48/image_15122025_14_48_45_9723.jpg', '/home/pi/Desktop/images/15122025/14/48/image_15122025_14_48_55_10714.jpg', '/home/pi/Desktop/images/15122025/14/48/image_15122025_14_49_05_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/48/image_15122025_14_48_15_9647.jpg
/home/pi/Desktop/images/15122025/14/48/image_15122025_14_48_24_9745.jpg
/home/pi/Desktop/images/15122025/14/48/image_15122025_14_48_35_10324.jpg
/home/pi/Desktop/images/15122025/14/48/image_15122025_14_48_45_9723.jpg
/home/pi/Desktop/images/15122025/14/48/image_15122025_14_48_55_10714.jpg
/home/pi/Desktop/images/15122025/14/48/image_15122025_14_49_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":["1399517078","1399517089","1399517080","1399517074","1399517082","1399517076"],"photo_ids_order":["1399517074","1399517076","1399517078","1399517080","1399517082","1399517089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9785d09770b76fac4fbd5c4856bf9b08.jpg","text":"TemporaryFile(/tmp/multipartBody6800123996587051805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808843151,"filename":"image_15122025_14_48_35_10324.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3218dae562d6711cc6e910286f57ed79.jpg","text":"TemporaryFile(/tmp/multipartBody4805431783241868255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808843151,"filename":"image_15122025_14_49_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/15/55eec193a0568acf8612469480fdc6ae.jpg","text":"TemporaryFile(/tmp/multipartBody4658348395498797796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808843151,"filename":"image_15122025_14_48_45_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/64ab97364fb14d603a883e6dbfe1bd8c.jpg","text":"TemporaryFile(/tmp/multipartBody4772187548033137557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808843151,"filename":"image_15122025_14_48_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/15/a94a4b2b64e20f818f3d7f7e1944bea6.jpg","text":"TemporaryFile(/tmp/multipartBody9196653231025104162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808843151,"filename":"image_15122025_14_48_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/15/53bb10b6eb111252e48e3f6ed97a3e60.jpg","text":"TemporaryFile(/tmp/multipartBody6143365881562550841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808843151,"filename":"image_15122025_14_48_24_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399517078","file1":"1399517076","file0":"1399517074","file4":"1399517082","file5":"1399517089","file3":"1399517080"},"map_files_photo_id_array":[{"photo_id":"1399517089","filename":"file5"},{"photo_id":"1399517078","filename":"file2"},{"photo_id":"1399517082","filename":"file4"},{"photo_id":"1399517076","filename":"file1"},{"photo_id":"1399517074","filename":"file0"},{"photo_id":"1399517080","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399517078":["hashtag1","hashtag2"]},{"1399517089":["hashtag1","hashtag2"]},{"1399517080":["hashtag1","hashtag2"]},{"1399517074":["hashtag1","hashtag2"]},{"1399517082":["hashtag1","hashtag2"]},{"1399517076":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399517078, 1399517089, 1399517080, 1399517074, 1399517082, 1399517076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.237122535705566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 15:27:03.403246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/49/image_15122025_14_49_15_9728.jpg', '/home/pi/Desktop/images/15122025/14/49/image_15122025_14_49_25_10638.jpg', '/home/pi/Desktop/images/15122025/14/49/image_15122025_14_49_35_9815.jpg', '/home/pi/Desktop/images/15122025/14/49/image_15122025_14_49_45_9732.jpg', '/home/pi/Desktop/images/15122025/14/49/image_15122025_14_49_55_9847.jpg', '/home/pi/Desktop/images/15122025/14/49/image_15122025_14_50_04_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/49/image_15122025_14_49_15_9728.jpg
/home/pi/Desktop/images/15122025/14/49/image_15122025_14_49_25_10638.jpg
/home/pi/Desktop/images/15122025/14/49/image_15122025_14_49_35_9815.jpg
/home/pi/Desktop/images/15122025/14/49/image_15122025_14_49_45_9732.jpg
/home/pi/Desktop/images/15122025/14/49/image_15122025_14_49_55_9847.jpg
/home/pi/Desktop/images/15122025/14/49/image_15122025_14_50_04_9697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399517126","1399517123","1399517125","1399517128","1399517127","1399517130"],"photo_ids_order":["1399517123","1399517125","1399517126","1399517127","1399517128","1399517130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0d6827ff121e0202a4452fa00a729421.jpg","text":"TemporaryFile(/tmp/multipartBody1717498829293738284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808884069,"filename":"image_15122025_14_49_35_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5ea2888ea166fb02d046b27278484c9f.jpg","text":"TemporaryFile(/tmp/multipartBody6698288739333242983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808884069,"filename":"image_15122025_14_49_15_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/672571b358d0e96f86a8363915c53d99.jpg","text":"TemporaryFile(/tmp/multipartBody3796285240605547783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808884069,"filename":"image_15122025_14_49_25_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/48d71632e18b689502b0d78f6e489b99.jpg","text":"TemporaryFile(/tmp/multipartBody5390515012821883359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808884069,"filename":"image_15122025_14_49_55_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/83afcc68901b42cffb2b2ef5dc5dfbad.jpg","text":"TemporaryFile(/tmp/multipartBody101551696008409374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808884069,"filename":"image_15122025_14_49_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/15/e0d364bcbde5f66828bdd83b78ecff29.jpg","text":"TemporaryFile(/tmp/multipartBody5445577831897890074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808884069,"filename":"image_15122025_14_50_04_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399517126","file1":"1399517125","file0":"1399517123","file4":"1399517128","file5":"1399517130","file3":"1399517127"},"map_files_photo_id_array":[{"photo_id":"1399517130","filename":"file5"},{"photo_id":"1399517126","filename":"file2"},{"photo_id":"1399517128","filename":"file4"},{"photo_id":"1399517125","filename":"file1"},{"photo_id":"1399517123","filename":"file0"},{"photo_id":"1399517127","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399517126":["hashtag1","hashtag2"]},{"1399517123":["hashtag1","hashtag2"]},{"1399517125":["hashtag1","hashtag2"]},{"1399517128":["hashtag1","hashtag2"]},{"1399517127":["hashtag1","hashtag2"]},{"1399517130":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399517126, 1399517123, 1399517125, 1399517128, 1399517127, 1399517130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.34672141075134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 15:27:42.755951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_41_2606.jpg', '/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_45_3703.jpg', '/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_51_3606.jpg', '/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_54_2622.jpg', '/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_57_2990.jpg', '/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_59_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_41_2606.jpg
/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_45_3703.jpg
/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_51_3606.jpg
/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_54_2622.jpg
/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_57_2990.jpg
/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_59_2743.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6157164573669434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 15:28:02.438661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/50/image_15122025_14_50_15_10939.jpg', '/home/pi/Desktop/images/15122025/14/50/image_15122025_14_50_25_9748.jpg', '/home/pi/Desktop/images/15122025/14/50/image_15122025_14_50_35_9618.jpg', '/home/pi/Desktop/images/15122025/14/50/image_15122025_14_50_44_9721.jpg', '/home/pi/Desktop/images/15122025/14/50/image_15122025_14_50_55_10694.jpg', '/home/pi/Desktop/images/15122025/14/50/image_15122025_14_51_05_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/50/image_15122025_14_50_15_10939.jpg
/home/pi/Desktop/images/15122025/14/50/image_15122025_14_50_25_9748.jpg
/home/pi/Desktop/images/15122025/14/50/image_15122025_14_50_35_9618.jpg
/home/pi/Desktop/images/15122025/14/50/image_15122025_14_50_44_9721.jpg
/home/pi/Desktop/images/15122025/14/50/image_15122025_14_50_55_10694.jpg
/home/pi/Desktop/images/15122025/14/50/image_15122025_14_51_05_9678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399517150","1399517144","1399517147","1399517143","1399517146","1399517148"],"photo_ids_order":["1399517143","1399517144","1399517146","1399517147","1399517148","1399517150"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b8715eab05e51023a3956db07e0182e5.jpg","text":"TemporaryFile(/tmp/multipartBody2124929677931103096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808943117,"filename":"image_15122025_14_51_05_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0897262b092a4f856e851f94649caefb.jpg","text":"TemporaryFile(/tmp/multipartBody2032773761359051437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808943117,"filename":"image_15122025_14_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/15/60e8ffd26ed7cb3d6e8798a36c6d0d60.jpg","text":"TemporaryFile(/tmp/multipartBody712387958182973736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808943117,"filename":"image_15122025_14_50_44_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/96fa949d11eec761829923ad0a24d400.jpg","text":"TemporaryFile(/tmp/multipartBody1447191147091109309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808943117,"filename":"image_15122025_14_50_15_10939.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3d2bdf3e7f82f48e7fbb51bc51a8b125.jpg","text":"TemporaryFile(/tmp/multipartBody3935571540515249309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808943117,"filename":"image_15122025_14_50_35_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0fc4dac099e2fa61b74179cc81f78b7f.jpg","text":"TemporaryFile(/tmp/multipartBody4090662526239833091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808943117,"filename":"image_15122025_14_50_55_10694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399517146","file1":"1399517144","file0":"1399517143","file4":"1399517148","file5":"1399517150","file3":"1399517147"},"map_files_photo_id_array":[{"photo_id":"1399517150","filename":"file5"},{"photo_id":"1399517146","filename":"file2"},{"photo_id":"1399517148","filename":"file4"},{"photo_id":"1399517144","filename":"file1"},{"photo_id":"1399517143","filename":"file0"},{"photo_id":"1399517147","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399517150":["hashtag1","hashtag2"]},{"1399517144":["hashtag1","hashtag2"]},{"1399517147":["hashtag1","hashtag2"]},{"1399517143":["hashtag1","hashtag2"]},{"1399517146":["hashtag1","hashtag2"]},{"1399517148":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399517150, 1399517144, 1399517147, 1399517143, 1399517146, 1399517148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79007315635681 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 15:28:41.922208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_41_2606.jpg', '/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_45_3703.jpg', '/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_51_3606.jpg', '/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_54_2622.jpg', '/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_57_2990.jpg', '/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_59_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_41_2606.jpg
/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_45_3703.jpg
/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_51_3606.jpg
/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_54_2622.jpg
/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_57_2990.jpg
/home/pi/Desktop/images/05112025/15/16/image_05112025_15_16_59_2743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399517179","1399517161","1399517181","1399517178","1399517180","1399517174"],"photo_ids_order":["1399517161","1399517174","1399517178","1399517179","1399517180","1399517181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ea3f6f340ddaf23acfe4087c35c29ea6.jpg","text":"TemporaryFile(/tmp/multipartBody5100988438157509887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808982502,"filename":"image_05112025_15_16_54_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/15/9b13a74c609f6831edd49c141ff689c1.jpg","text":"TemporaryFile(/tmp/multipartBody6737447320014049520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808982502,"filename":"image_05112025_15_16_41_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/15/3a5a46c58db22f24bef0160cedce0e7e.jpg","text":"TemporaryFile(/tmp/multipartBody4879810754014774306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808982502,"filename":"image_05112025_15_16_59_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9296b37907c536e60f78ccceca9ef491.jpg","text":"TemporaryFile(/tmp/multipartBody77906193940907579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808982502,"filename":"image_05112025_15_16_51_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/15/b373da0e79c5bbf5a5e372ca6d0018d8.jpg","text":"TemporaryFile(/tmp/multipartBody1971018094997681835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808982502,"filename":"image_05112025_15_16_57_2990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9c79391770511188a66971a086d8df44.jpg","text":"TemporaryFile(/tmp/multipartBody9081020997392432507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765808982502,"filename":"image_05112025_15_16_45_3703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399517178","file1":"1399517174","file0":"1399517161","file4":"1399517180","file5":"1399517181","file3":"1399517179"},"map_files_photo_id_array":[{"photo_id":"1399517181","filename":"file5"},{"photo_id":"1399517178","filename":"file2"},{"photo_id":"1399517180","filename":"file4"},{"photo_id":"1399517174","filename":"file1"},{"photo_id":"1399517161","filename":"file0"},{"photo_id":"1399517179","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399517179":["hashtag1","hashtag2"]},{"1399517161":["hashtag1","hashtag2"]},{"1399517181":["hashtag1","hashtag2"]},{"1399517178":["hashtag1","hashtag2"]},{"1399517180":["hashtag1","hashtag2"]},{"1399517174":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399517179, 1399517161, 1399517181, 1399517178, 1399517180, 1399517174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97971200942993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 15:29:22.238441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/51/image_15122025_14_51_15_9858.jpg', '/home/pi/Desktop/images/15122025/14/51/image_15122025_14_51_25_10663.jpg', '/home/pi/Desktop/images/15122025/14/51/image_15122025_14_51_35_9542.jpg', '/home/pi/Desktop/images/15122025/14/51/image_15122025_14_51_45_9813.jpg', '/home/pi/Desktop/images/15122025/14/51/image_15122025_14_51_55_9933.jpg', '/home/pi/Desktop/images/15122025/14/51/image_15122025_14_52_05_10666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/51/image_15122025_14_51_15_9858.jpg
/home/pi/Desktop/images/15122025/14/51/image_15122025_14_51_25_10663.jpg
/home/pi/Desktop/images/15122025/14/51/image_15122025_14_51_35_9542.jpg
/home/pi/Desktop/images/15122025/14/51/image_15122025_14_51_45_9813.jpg
/home/pi/Desktop/images/15122025/14/51/image_15122025_14_51_55_9933.jpg
/home/pi/Desktop/images/15122025/14/51/image_15122025_14_52_05_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":["1399517183","1399517186","1399517203","1399517190","1399517192","1399517189"],"photo_ids_order":["1399517183","1399517186","1399517189","1399517190","1399517192","1399517203"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d26d13eae5cb5d92cc6086670bb30606.jpg","text":"TemporaryFile(/tmp/multipartBody4029404178506437371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809022926,"filename":"image_15122025_14_51_15_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d1cde0f63061401593b35760d1796bc6.jpg","text":"TemporaryFile(/tmp/multipartBody8431032680748048035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809022926,"filename":"image_15122025_14_51_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/15/2f28165ad4254cc8f92403704ae24660.jpg","text":"TemporaryFile(/tmp/multipartBody7580811821693127243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809022926,"filename":"image_15122025_14_52_05_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/30f5bf6960d4db851ef3ccc65e2cf969.jpg","text":"TemporaryFile(/tmp/multipartBody1062361826572744169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809022926,"filename":"image_15122025_14_51_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/15/e38f6cc644103b75dc46872eb1b51998.jpg","text":"TemporaryFile(/tmp/multipartBody6097283760776676615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809022926,"filename":"image_15122025_14_51_55_9933.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5e0bc7b4b32bc7b37476d1b97694b947.jpg","text":"TemporaryFile(/tmp/multipartBody1310175430867987599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809022926,"filename":"image_15122025_14_51_35_9542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399517189","file1":"1399517186","file0":"1399517183","file4":"1399517192","file5":"1399517203","file3":"1399517190"},"map_files_photo_id_array":[{"photo_id":"1399517203","filename":"file5"},{"photo_id":"1399517189","filename":"file2"},{"photo_id":"1399517192","filename":"file4"},{"photo_id":"1399517186","filename":"file1"},{"photo_id":"1399517183","filename":"file0"},{"photo_id":"1399517190","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399517183":["hashtag1","hashtag2"]},{"1399517186":["hashtag1","hashtag2"]},{"1399517203":["hashtag1","hashtag2"]},{"1399517190":["hashtag1","hashtag2"]},{"1399517192":["hashtag1","hashtag2"]},{"1399517189":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399517183, 1399517186, 1399517203, 1399517190, 1399517192, 1399517189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.27763843536377 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 15:30:02.802132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/52/image_15122025_14_52_15_9738.jpg', '/home/pi/Desktop/images/15122025/14/52/image_15122025_14_52_25_9700.jpg', '/home/pi/Desktop/images/15122025/14/52/image_15122025_14_52_34_9825.jpg', '/home/pi/Desktop/images/15122025/14/52/image_15122025_14_52_45_10657.jpg', '/home/pi/Desktop/images/15122025/14/52/image_15122025_14_52_55_9734.jpg', '/home/pi/Desktop/images/15122025/14/52/image_15122025_14_53_04_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/52/image_15122025_14_52_15_9738.jpg
/home/pi/Desktop/images/15122025/14/52/image_15122025_14_52_25_9700.jpg
/home/pi/Desktop/images/15122025/14/52/image_15122025_14_52_34_9825.jpg
/home/pi/Desktop/images/15122025/14/52/image_15122025_14_52_45_10657.jpg
/home/pi/Desktop/images/15122025/14/52/image_15122025_14_52_55_9734.jpg
/home/pi/Desktop/images/15122025/14/52/image_15122025_14_53_04_9603.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5555610656738281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 15:30:12.291771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 15:30:22.369286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/52/image_15122025_14_52_15_9738.jpg', '/home/pi/Desktop/images/15122025/14/52/image_15122025_14_52_25_9700.jpg', '/home/pi/Desktop/images/15122025/14/52/image_15122025_14_52_34_9825.jpg', '/home/pi/Desktop/images/15122025/14/52/image_15122025_14_52_45_10657.jpg', '/home/pi/Desktop/images/15122025/14/52/image_15122025_14_52_55_9734.jpg', '/home/pi/Desktop/images/15122025/14/52/image_15122025_14_53_04_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/52/image_15122025_14_52_15_9738.jpg
/home/pi/Desktop/images/15122025/14/52/image_15122025_14_52_25_9700.jpg
/home/pi/Desktop/images/15122025/14/52/image_15122025_14_52_34_9825.jpg
/home/pi/Desktop/images/15122025/14/52/image_15122025_14_52_45_10657.jpg
/home/pi/Desktop/images/15122025/14/52/image_15122025_14_52_55_9734.jpg
/home/pi/Desktop/images/15122025/14/52/image_15122025_14_53_04_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":["1399517225","1399517234","1399517228","1399517236","1399517239","1399517232"],"photo_ids_order":["1399517225","1399517228","1399517232","1399517234","1399517236","1399517239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a74b70cea650478b48ce26d373fccebd.jpg","text":"TemporaryFile(/tmp/multipartBody1859751170655239621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809083001,"filename":"image_15122025_14_52_15_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/15/e2fb7a90dd0fe0d5c232aa1fca9fd676.jpg","text":"TemporaryFile(/tmp/multipartBody6867730173774831972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809083001,"filename":"image_15122025_14_52_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/15/c69319148ebdc33127fbdb1adaf0c7a3.jpg","text":"TemporaryFile(/tmp/multipartBody7879687266693610974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809083001,"filename":"image_15122025_14_52_25_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7fd2103f582d9d9cf54d9f09072d37ee.jpg","text":"TemporaryFile(/tmp/multipartBody5406616291646168083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809083001,"filename":"image_15122025_14_52_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/15/30896dc832b6da07192e3abd70ce0201.jpg","text":"TemporaryFile(/tmp/multipartBody122949400208061295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809083001,"filename":"image_15122025_14_53_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/15/7af2c6e03ff7f4a609c5d7265c0d18a6.jpg","text":"TemporaryFile(/tmp/multipartBody9072872467717996694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809083001,"filename":"image_15122025_14_52_34_9825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399517232","file1":"1399517228","file0":"1399517225","file4":"1399517236","file5":"1399517239","file3":"1399517234"},"map_files_photo_id_array":[{"photo_id":"1399517239","filename":"file5"},{"photo_id":"1399517232","filename":"file2"},{"photo_id":"1399517236","filename":"file4"},{"photo_id":"1399517228","filename":"file1"},{"photo_id":"1399517225","filename":"file0"},{"photo_id":"1399517234","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399517225":["hashtag1","hashtag2"]},{"1399517234":["hashtag1","hashtag2"]},{"1399517228":["hashtag1","hashtag2"]},{"1399517236":["hashtag1","hashtag2"]},{"1399517239":["hashtag1","hashtag2"]},{"1399517232":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399517225, 1399517234, 1399517228, 1399517236, 1399517239, 1399517232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80031967163086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 15:31:03.303963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/53/image_15122025_14_53_15_10709.jpg', '/home/pi/Desktop/images/15122025/14/53/image_15122025_14_53_25_9742.jpg', '/home/pi/Desktop/images/15122025/14/53/image_15122025_14_53_35_9697.jpg', '/home/pi/Desktop/images/15122025/14/53/image_15122025_14_53_44_9873.jpg', '/home/pi/Desktop/images/15122025/14/53/image_15122025_14_53_55_10811.jpg', '/home/pi/Desktop/images/15122025/14/53/image_15122025_14_54_05_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/53/image_15122025_14_53_15_10709.jpg
/home/pi/Desktop/images/15122025/14/53/image_15122025_14_53_25_9742.jpg
/home/pi/Desktop/images/15122025/14/53/image_15122025_14_53_35_9697.jpg
/home/pi/Desktop/images/15122025/14/53/image_15122025_14_53_44_9873.jpg
/home/pi/Desktop/images/15122025/14/53/image_15122025_14_53_55_10811.jpg
/home/pi/Desktop/images/15122025/14/53/image_15122025_14_54_05_9702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399517243","1399517240","1399517242","1399517245","1399517247","1399517241"],"photo_ids_order":["1399517240","1399517241","1399517242","1399517243","1399517245","1399517247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5362891cdadf7a5d78957f2714cbff01.jpg","text":"TemporaryFile(/tmp/multipartBody3522271939133478757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809124014,"filename":"image_15122025_14_53_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/15/b72906165a5e43499ccdea7d4238181b.jpg","text":"TemporaryFile(/tmp/multipartBody6264663836019206791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809124014,"filename":"image_15122025_14_53_15_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9cc2a8f1910b4d7bb1f5f60b2159fa18.jpg","text":"TemporaryFile(/tmp/multipartBody3133598399614890122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809124014,"filename":"image_15122025_14_53_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/15/700aae58fd106129b659b7c3ba73bcfd.jpg","text":"TemporaryFile(/tmp/multipartBody4801362458113664571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809124014,"filename":"image_15122025_14_53_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/15/1be3837e883ee3b71a156498f51762e6.jpg","text":"TemporaryFile(/tmp/multipartBody1374077408469128962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809124014,"filename":"image_15122025_14_54_05_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e00e76aaeb49daf5e2484951e0a155c9.jpg","text":"TemporaryFile(/tmp/multipartBody3501345183119050285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809124014,"filename":"image_15122025_14_53_25_9742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399517242","file1":"1399517241","file0":"1399517240","file4":"1399517245","file5":"1399517247","file3":"1399517243"},"map_files_photo_id_array":[{"photo_id":"1399517247","filename":"file5"},{"photo_id":"1399517242","filename":"file2"},{"photo_id":"1399517245","filename":"file4"},{"photo_id":"1399517241","filename":"file1"},{"photo_id":"1399517240","filename":"file0"},{"photo_id":"1399517243","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399517243":["hashtag1","hashtag2"]},{"1399517240":["hashtag1","hashtag2"]},{"1399517242":["hashtag1","hashtag2"]},{"1399517245":["hashtag1","hashtag2"]},{"1399517247":["hashtag1","hashtag2"]},{"1399517241":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399517243, 1399517240, 1399517242, 1399517245, 1399517247, 1399517241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59582853317261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 15:31:42.555779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_03_3706.jpg', '/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_06_2731.jpg', '/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_08_2684.jpg', '/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_12_3609.jpg', '/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_15_2631.jpg', '/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_17_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_03_3706.jpg
/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_06_2731.jpg
/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_08_2684.jpg
/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_12_3609.jpg
/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_15_2631.jpg
/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_17_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":["1399517255","1399517258","1399517252","1399517254","1399517257","1399517256"],"photo_ids_order":["1399517252","1399517254","1399517255","1399517256","1399517257","1399517258"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ac9e75774a0a3ac4a714a35bcc03dad3.jpg","text":"TemporaryFile(/tmp/multipartBody5911961776198292279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809163248,"filename":"image_05112025_15_17_08_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/15/6eef31b41b0e934e6d5ef19d1090d3f3.jpg","text":"TemporaryFile(/tmp/multipartBody8670701387908785804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809163248,"filename":"image_05112025_15_17_17_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/26017ade48e372df94823104817805c1.jpg","text":"TemporaryFile(/tmp/multipartBody8756518656213847682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809163248,"filename":"image_05112025_15_17_03_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/15/85bcc10b173a7660a9e3db0e14f87b17.jpg","text":"TemporaryFile(/tmp/multipartBody4741738070020838290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809163248,"filename":"image_05112025_15_17_06_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d2b3fccfe76feed2bd51ccf98b91aca1.jpg","text":"TemporaryFile(/tmp/multipartBody7184980054476760778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809163248,"filename":"image_05112025_15_17_15_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/15/5911d10dcb040d85764871796b773b6a.jpg","text":"TemporaryFile(/tmp/multipartBody3319823081211972064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809163248,"filename":"image_05112025_15_17_12_3609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399517255","file1":"1399517254","file0":"1399517252","file4":"1399517257","file5":"1399517258","file3":"1399517256"},"map_files_photo_id_array":[{"photo_id":"1399517258","filename":"file5"},{"photo_id":"1399517255","filename":"file2"},{"photo_id":"1399517257","filename":"file4"},{"photo_id":"1399517254","filename":"file1"},{"photo_id":"1399517252","filename":"file0"},{"photo_id":"1399517256","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399517255":["hashtag1","hashtag2"]},{"1399517258":["hashtag1","hashtag2"]},{"1399517252":["hashtag1","hashtag2"]},{"1399517254":["hashtag1","hashtag2"]},{"1399517257":["hashtag1","hashtag2"]},{"1399517256":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399517255, 1399517258, 1399517252, 1399517254, 1399517257, 1399517256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81484770774841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 15:32:22.837572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/54/image_15122025_14_54_15_9794.jpg', '/home/pi/Desktop/images/15122025/14/54/image_15122025_14_54_25_9826.jpg', '/home/pi/Desktop/images/15122025/14/54/image_15122025_14_54_34_9853.jpg', '/home/pi/Desktop/images/15122025/14/54/image_15122025_14_54_45_10700.jpg', '/home/pi/Desktop/images/15122025/14/54/image_15122025_14_54_55_9607.jpg', '/home/pi/Desktop/images/15122025/14/54/image_15122025_14_55_05_9794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/54/image_15122025_14_54_15_9794.jpg
/home/pi/Desktop/images/15122025/14/54/image_15122025_14_54_25_9826.jpg
/home/pi/Desktop/images/15122025/14/54/image_15122025_14_54_34_9853.jpg
/home/pi/Desktop/images/15122025/14/54/image_15122025_14_54_45_10700.jpg
/home/pi/Desktop/images/15122025/14/54/image_15122025_14_54_55_9607.jpg
/home/pi/Desktop/images/15122025/14/54/image_15122025_14_55_05_9794.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399517285","1399517270","1399517267","1399517260","1399517263","1399517265"],"photo_ids_order":["1399517260","1399517263","1399517265","1399517267","1399517270","1399517285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6aa7bc1cd6109583e710b89544d76576.jpg","text":"TemporaryFile(/tmp/multipartBody208750504762545307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809203495,"filename":"image_15122025_14_55_05_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b2cd6e113f5e0cfc36cca04c4ef5a795.jpg","text":"TemporaryFile(/tmp/multipartBody850737690152643039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809203495,"filename":"image_15122025_14_54_55_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/15/4b1bb0c54a2207d8c219e7fc494a343f.jpg","text":"TemporaryFile(/tmp/multipartBody5539320693190882131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809203495,"filename":"image_15122025_14_54_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/15/f827249466ed8a160742b07ece62238e.jpg","text":"TemporaryFile(/tmp/multipartBody3182677974497853434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809203495,"filename":"image_15122025_14_54_15_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/622a17f9430accffe554d30ec434d801.jpg","text":"TemporaryFile(/tmp/multipartBody8223253702481330574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809203495,"filename":"image_15122025_14_54_25_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2904e0ce3dc9bb23eb5534a27f718745.jpg","text":"TemporaryFile(/tmp/multipartBody2330613244179441607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809203495,"filename":"image_15122025_14_54_34_9853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399517265","file1":"1399517263","file0":"1399517260","file4":"1399517270","file5":"1399517285","file3":"1399517267"},"map_files_photo_id_array":[{"photo_id":"1399517285","filename":"file5"},{"photo_id":"1399517265","filename":"file2"},{"photo_id":"1399517270","filename":"file4"},{"photo_id":"1399517263","filename":"file1"},{"photo_id":"1399517260","filename":"file0"},{"photo_id":"1399517267","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399517285":["hashtag1","hashtag2"]},{"1399517270":["hashtag1","hashtag2"]},{"1399517267":["hashtag1","hashtag2"]},{"1399517260":["hashtag1","hashtag2"]},{"1399517263":["hashtag1","hashtag2"]},{"1399517265":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399517285, 1399517270, 1399517267, 1399517260, 1399517263, 1399517265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82432723045349 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 15:33:02.548226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/55/image_15122025_14_55_14_9849.jpg', '/home/pi/Desktop/images/15122025/14/55/image_15122025_14_55_25_10893.jpg', '/home/pi/Desktop/images/15122025/14/55/image_15122025_14_55_35_9632.jpg', '/home/pi/Desktop/images/15122025/14/55/image_15122025_14_55_45_9620.jpg', '/home/pi/Desktop/images/15122025/14/55/image_15122025_14_55_55_10717.jpg', '/home/pi/Desktop/images/15122025/14/55/image_15122025_14_56_05_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/55/image_15122025_14_55_14_9849.jpg
/home/pi/Desktop/images/15122025/14/55/image_15122025_14_55_25_10893.jpg
/home/pi/Desktop/images/15122025/14/55/image_15122025_14_55_35_9632.jpg
/home/pi/Desktop/images/15122025/14/55/image_15122025_14_55_45_9620.jpg
/home/pi/Desktop/images/15122025/14/55/image_15122025_14_55_55_10717.jpg
/home/pi/Desktop/images/15122025/14/55/image_15122025_14_56_05_9691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399517306","1399517308","1399517307","1399517301","1399517291","1399517310"],"photo_ids_order":["1399517291","1399517301","1399517306","1399517307","1399517308","1399517310"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/110fb0df64a4fe5632ae78600219d39d.jpg","text":"TemporaryFile(/tmp/multipartBody5420913560730584242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809243216,"filename":"image_15122025_14_55_35_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/632518159eb88a5b814f60e310e79a91.jpg","text":"TemporaryFile(/tmp/multipartBody7688795222167399069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809243216,"filename":"image_15122025_14_55_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/15/b4d4c75c468fecab7a9aab5b7f0eb22f.jpg","text":"TemporaryFile(/tmp/multipartBody7599961289033425825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809243216,"filename":"image_15122025_14_55_45_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/53b44a4ff7ad1a4b2e0a35521456d182.jpg","text":"TemporaryFile(/tmp/multipartBody164272184001730044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809243216,"filename":"image_15122025_14_55_25_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/15/47bee2187ded3dc8da55afaf0845b472.jpg","text":"TemporaryFile(/tmp/multipartBody4584487227293934986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809243216,"filename":"image_15122025_14_55_14_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/15/f4c6bf35489a7a2c13f7797b0fe49e0b.jpg","text":"TemporaryFile(/tmp/multipartBody7772283361936737985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809243216,"filename":"image_15122025_14_56_05_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399517306","file1":"1399517301","file0":"1399517291","file4":"1399517308","file5":"1399517310","file3":"1399517307"},"map_files_photo_id_array":[{"photo_id":"1399517310","filename":"file5"},{"photo_id":"1399517306","filename":"file2"},{"photo_id":"1399517308","filename":"file4"},{"photo_id":"1399517301","filename":"file1"},{"photo_id":"1399517291","filename":"file0"},{"photo_id":"1399517307","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399517306":["hashtag1","hashtag2"]},{"1399517308":["hashtag1","hashtag2"]},{"1399517307":["hashtag1","hashtag2"]},{"1399517301":["hashtag1","hashtag2"]},{"1399517291":["hashtag1","hashtag2"]},{"1399517310":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399517306, 1399517308, 1399517307, 1399517301, 1399517291, 1399517310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26116967201233 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 15:33:42.008688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_21_3658.jpg', '/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_24_2678.jpg', '/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_27_2878.jpg', '/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_29_2608.jpg', '/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_33_3545.jpg', '/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_35_2550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_21_3658.jpg
/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_24_2678.jpg
/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_27_2878.jpg
/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_29_2608.jpg
/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_33_3545.jpg
/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_35_2550.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399517360","1399517359","1399517353","1399517335","1399517346","1399517331"],"photo_ids_order":["1399517331","1399517335","1399517346","1399517353","1399517359","1399517360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7b62afd1e96864006d5508977223a697.jpg","text":"TemporaryFile(/tmp/multipartBody3357003322720473056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809282797,"filename":"image_05112025_15_17_35_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/15/7af8e0cead55d29e031f5f4ac53eb6f8.jpg","text":"TemporaryFile(/tmp/multipartBody5084204706362779617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809282797,"filename":"image_05112025_15_17_33_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/15/0f9dc12e435ad9c77e3ed5bbd4916ef1.jpg","text":"TemporaryFile(/tmp/multipartBody1753823998990951748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809282797,"filename":"image_05112025_15_17_29_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/15/4a8eaaff0972d4ab611ef3322d84d618.jpg","text":"TemporaryFile(/tmp/multipartBody9169887180706619785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809282797,"filename":"image_05112025_15_17_24_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/15/34c9b8bf9c569055cbcc68cab7fcea33.jpg","text":"TemporaryFile(/tmp/multipartBody8584102246500146631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809282797,"filename":"image_05112025_15_17_27_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/15/1b4ef080f808bf44415a8b5044ee1b29.jpg","text":"TemporaryFile(/tmp/multipartBody5295984209519991770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809282797,"filename":"image_05112025_15_17_21_3658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399517346","file1":"1399517335","file0":"1399517331","file4":"1399517359","file5":"1399517360","file3":"1399517353"},"map_files_photo_id_array":[{"photo_id":"1399517360","filename":"file5"},{"photo_id":"1399517346","filename":"file2"},{"photo_id":"1399517359","filename":"file4"},{"photo_id":"1399517335","filename":"file1"},{"photo_id":"1399517331","filename":"file0"},{"photo_id":"1399517353","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399517360":["hashtag1","hashtag2"]},{"1399517359":["hashtag1","hashtag2"]},{"1399517353":["hashtag1","hashtag2"]},{"1399517335":["hashtag1","hashtag2"]},{"1399517346":["hashtag1","hashtag2"]},{"1399517331":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399517360, 1399517359, 1399517353, 1399517335, 1399517346, 1399517331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51196050643921 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 15:34:22.372086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/56/image_15122025_14_56_15_9830.jpg', '/home/pi/Desktop/images/15122025/14/56/image_15122025_14_56_25_9797.jpg', '/home/pi/Desktop/images/15122025/14/56/image_15122025_14_56_34_9724.jpg', '/home/pi/Desktop/images/15122025/14/56/image_15122025_14_56_45_10750.jpg', '/home/pi/Desktop/images/15122025/14/56/image_15122025_14_56_55_9616.jpg', '/home/pi/Desktop/images/15122025/14/56/image_15122025_14_57_04_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/56/image_15122025_14_56_15_9830.jpg
/home/pi/Desktop/images/15122025/14/56/image_15122025_14_56_25_9797.jpg
/home/pi/Desktop/images/15122025/14/56/image_15122025_14_56_34_9724.jpg
/home/pi/Desktop/images/15122025/14/56/image_15122025_14_56_45_10750.jpg
/home/pi/Desktop/images/15122025/14/56/image_15122025_14_56_55_9616.jpg
/home/pi/Desktop/images/15122025/14/56/image_15122025_14_57_04_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.537022590637207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 15:34:32.273172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 15:34:42.214360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_38_2780.jpg', '/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_42_3622.jpg', '/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_44_2558.jpg', '/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_48_3779.jpg', '/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_51_2760.jpg', '/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_53_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_38_2780.jpg
/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_42_3622.jpg
/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_44_2558.jpg
/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_48_3779.jpg
/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_51_2760.jpg
/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_53_2702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399517381","1399517378","1399517383","1399517382","1399517385","1399517384"],"photo_ids_order":["1399517378","1399517381","1399517382","1399517383","1399517384","1399517385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f7c0124140cff2250abee727bf28b2f0.jpg","text":"TemporaryFile(/tmp/multipartBody9144851582736060966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809342908,"filename":"image_05112025_15_17_42_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/15/e43a8499c0d873d7f924c8799a0c1622.jpg","text":"TemporaryFile(/tmp/multipartBody3105793096177961660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809342908,"filename":"image_05112025_15_17_38_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/702dfc683799a34a71f6ea26d67bc1fc.jpg","text":"TemporaryFile(/tmp/multipartBody947793372258896874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809342908,"filename":"image_05112025_15_17_48_3779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2aa010cbf1fb8e91559c6f1f4fc9e267.jpg","text":"TemporaryFile(/tmp/multipartBody7975159338789955522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809342908,"filename":"image_05112025_15_17_44_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/15/992d799eb0423812313bbee12305a7c0.jpg","text":"TemporaryFile(/tmp/multipartBody5376209045549986492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809342908,"filename":"image_05112025_15_17_53_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c83cd575ffaaa5749a318e19aa844526.jpg","text":"TemporaryFile(/tmp/multipartBody6123158922930272800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809342908,"filename":"image_05112025_15_17_51_2760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399517382","file1":"1399517381","file0":"1399517378","file4":"1399517384","file5":"1399517385","file3":"1399517383"},"map_files_photo_id_array":[{"photo_id":"1399517385","filename":"file5"},{"photo_id":"1399517382","filename":"file2"},{"photo_id":"1399517384","filename":"file4"},{"photo_id":"1399517381","filename":"file1"},{"photo_id":"1399517378","filename":"file0"},{"photo_id":"1399517383","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399517381":["hashtag1","hashtag2"]},{"1399517378":["hashtag1","hashtag2"]},{"1399517383":["hashtag1","hashtag2"]},{"1399517382":["hashtag1","hashtag2"]},{"1399517385":["hashtag1","hashtag2"]},{"1399517384":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399517381, 1399517378, 1399517383, 1399517382, 1399517385, 1399517384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65140891075134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 15:35:22.581460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/56/image_15122025_14_56_15_9830.jpg', '/home/pi/Desktop/images/15122025/14/56/image_15122025_14_56_25_9797.jpg', '/home/pi/Desktop/images/15122025/14/56/image_15122025_14_56_34_9724.jpg', '/home/pi/Desktop/images/15122025/14/56/image_15122025_14_56_45_10750.jpg', '/home/pi/Desktop/images/15122025/14/56/image_15122025_14_56_55_9616.jpg', '/home/pi/Desktop/images/15122025/14/56/image_15122025_14_57_04_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/56/image_15122025_14_56_15_9830.jpg
/home/pi/Desktop/images/15122025/14/56/image_15122025_14_56_25_9797.jpg
/home/pi/Desktop/images/15122025/14/56/image_15122025_14_56_34_9724.jpg
/home/pi/Desktop/images/15122025/14/56/image_15122025_14_56_45_10750.jpg
/home/pi/Desktop/images/15122025/14/56/image_15122025_14_56_55_9616.jpg
/home/pi/Desktop/images/15122025/14/56/image_15122025_14_57_04_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":["1399517395","1399517389","1399517391","1399517406","1399517393","1399517387"],"photo_ids_order":["1399517387","1399517389","1399517391","1399517393","1399517395","1399517406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4fb49cb11217ba76bc7db555eeb93a94.jpg","text":"TemporaryFile(/tmp/multipartBody5391997918132028877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809383221,"filename":"image_15122025_14_56_55_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/22494ed89d1e06994b5bc947abe319eb.jpg","text":"TemporaryFile(/tmp/multipartBody8438804493570631122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809383221,"filename":"image_15122025_14_56_25_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e8a3b69c4ee78be3a0ff4624a99898b3.jpg","text":"TemporaryFile(/tmp/multipartBody2126754137862370242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809383221,"filename":"image_15122025_14_56_34_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/97e307b9dad5b3134ae162212f18b3ac.jpg","text":"TemporaryFile(/tmp/multipartBody7293970549065918773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809383221,"filename":"image_15122025_14_57_04_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1f230b71232aabe5c9fc90954c7d0c26.jpg","text":"TemporaryFile(/tmp/multipartBody519763653518613942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809383221,"filename":"image_15122025_14_56_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/15/0a1a87c1adc4b5ca18b9ca720724fef9.jpg","text":"TemporaryFile(/tmp/multipartBody9106834925344728531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809383221,"filename":"image_15122025_14_56_15_9830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399517391","file1":"1399517389","file0":"1399517387","file4":"1399517395","file5":"1399517406","file3":"1399517393"},"map_files_photo_id_array":[{"photo_id":"1399517406","filename":"file5"},{"photo_id":"1399517391","filename":"file2"},{"photo_id":"1399517395","filename":"file4"},{"photo_id":"1399517389","filename":"file1"},{"photo_id":"1399517387","filename":"file0"},{"photo_id":"1399517393","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399517395":["hashtag1","hashtag2"]},{"1399517389":["hashtag1","hashtag2"]},{"1399517391":["hashtag1","hashtag2"]},{"1399517406":["hashtag1","hashtag2"]},{"1399517393":["hashtag1","hashtag2"]},{"1399517387":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399517395, 1399517389, 1399517391, 1399517406, 1399517393, 1399517387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35214281082153 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 15:36:03.261387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/57/image_15122025_14_57_15_10828.jpg', '/home/pi/Desktop/images/15122025/14/57/image_15122025_14_57_25_9675.jpg', '/home/pi/Desktop/images/15122025/14/57/image_15122025_14_57_35_9956.jpg', '/home/pi/Desktop/images/15122025/14/57/image_15122025_14_57_44_9693.jpg', '/home/pi/Desktop/images/15122025/14/57/image_15122025_14_57_55_10663.jpg', '/home/pi/Desktop/images/15122025/14/58/image_15122025_14_58_15_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/57/image_15122025_14_57_15_10828.jpg
/home/pi/Desktop/images/15122025/14/57/image_15122025_14_57_25_9675.jpg
/home/pi/Desktop/images/15122025/14/57/image_15122025_14_57_35_9956.jpg
/home/pi/Desktop/images/15122025/14/57/image_15122025_14_57_44_9693.jpg
/home/pi/Desktop/images/15122025/14/57/image_15122025_14_57_55_10663.jpg
/home/pi/Desktop/images/15122025/14/58/image_15122025_14_58_15_9698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399517417","1399517420","1399517422","1399517416","1399517415","1399517418"],"photo_ids_order":["1399517415","1399517416","1399517417","1399517418","1399517420","1399517422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8c69a5740a4409051cd065375b2d6ef2.jpg","text":"TemporaryFile(/tmp/multipartBody145154713336826322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809423961,"filename":"image_15122025_14_57_35_9956.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/17e16a52f29befa6e7b9bfbaea7659e4.jpg","text":"TemporaryFile(/tmp/multipartBody2621278325434768777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809423961,"filename":"image_15122025_14_57_55_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b4f77fe2693c2c3fff01bbff4d371409.jpg","text":"TemporaryFile(/tmp/multipartBody3841087936951125351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809423961,"filename":"image_15122025_14_58_15_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e0b3fe5ab3faee1d4eade12c0ba58ee0.jpg","text":"TemporaryFile(/tmp/multipartBody3042857939123314949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809423961,"filename":"image_15122025_14_57_25_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ec5b176b7d9de5e723931bac27cca49c.jpg","text":"TemporaryFile(/tmp/multipartBody6842198052969982405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809423961,"filename":"image_15122025_14_57_15_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/15/5fd8b82052add27b9c753e7e855ca0ce.jpg","text":"TemporaryFile(/tmp/multipartBody9060151935958566313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809423961,"filename":"image_15122025_14_57_44_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399517417","file1":"1399517416","file0":"1399517415","file4":"1399517420","file5":"1399517422","file3":"1399517418"},"map_files_photo_id_array":[{"photo_id":"1399517422","filename":"file5"},{"photo_id":"1399517417","filename":"file2"},{"photo_id":"1399517420","filename":"file4"},{"photo_id":"1399517416","filename":"file1"},{"photo_id":"1399517415","filename":"file0"},{"photo_id":"1399517418","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399517417":["hashtag1","hashtag2"]},{"1399517420":["hashtag1","hashtag2"]},{"1399517422":["hashtag1","hashtag2"]},{"1399517416":["hashtag1","hashtag2"]},{"1399517415":["hashtag1","hashtag2"]},{"1399517418":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399517417, 1399517420, 1399517422, 1399517416, 1399517415, 1399517418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12866163253784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 15:36:42.779662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_56_2592.jpg', '/home/pi/Desktop/images/05112025/15/17/image_05112025_15_18_00_3725.jpg', '/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_03_2749.jpg', '/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_05_2751.jpg', '/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_09_3588.jpg', '/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_14_5404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/17/image_05112025_15_17_56_2592.jpg
/home/pi/Desktop/images/05112025/15/17/image_05112025_15_18_00_3725.jpg
/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_03_2749.jpg
/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_05_2751.jpg
/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_09_3588.jpg
/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_14_5404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399517453","1399517450","1399517449","1399517440","1399517451","1399517430"],"photo_ids_order":["1399517430","1399517440","1399517449","1399517450","1399517451","1399517453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b10032346ad64517752dac8726a663f8.jpg","text":"TemporaryFile(/tmp/multipartBody268506903775990827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809463473,"filename":"image_05112025_15_18_14_5404.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3479ecfda7ea4abee27170137fb1b246.jpg","text":"TemporaryFile(/tmp/multipartBody7461282446418277044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809463473,"filename":"image_05112025_15_18_05_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/15/6a548bd73d9ddac06504dcc3564f13ac.jpg","text":"TemporaryFile(/tmp/multipartBody2923256864578564813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809463473,"filename":"image_05112025_15_18_03_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/15/19f17ad1c23a1d3a57ef0d21d82ca4f2.jpg","text":"TemporaryFile(/tmp/multipartBody4434520639935594613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809463473,"filename":"image_05112025_15_18_00_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/15/54cd9a92a56e4e7b5e1b07858770f6ad.jpg","text":"TemporaryFile(/tmp/multipartBody4505858661592508615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809463473,"filename":"image_05112025_15_18_09_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/15/2a006d8b179c1b14cd708d658077db2d.jpg","text":"TemporaryFile(/tmp/multipartBody8988913956965514760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809463473,"filename":"image_05112025_15_17_56_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399517449","file1":"1399517440","file0":"1399517430","file4":"1399517451","file5":"1399517453","file3":"1399517450"},"map_files_photo_id_array":[{"photo_id":"1399517453","filename":"file5"},{"photo_id":"1399517449","filename":"file2"},{"photo_id":"1399517451","filename":"file4"},{"photo_id":"1399517440","filename":"file1"},{"photo_id":"1399517430","filename":"file0"},{"photo_id":"1399517450","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399517453":["hashtag1","hashtag2"]},{"1399517450":["hashtag1","hashtag2"]},{"1399517449":["hashtag1","hashtag2"]},{"1399517440":["hashtag1","hashtag2"]},{"1399517451":["hashtag1","hashtag2"]},{"1399517430":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399517453, 1399517450, 1399517449, 1399517440, 1399517451, 1399517430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66307544708252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 15:37:22.072395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/58/image_15122025_14_58_25_10632.jpg', '/home/pi/Desktop/images/15122025/14/58/image_15122025_14_58_35_9762.jpg', '/home/pi/Desktop/images/15122025/14/58/image_15122025_14_58_45_9703.jpg', '/home/pi/Desktop/images/15122025/14/58/image_15122025_14_58_54_9716.jpg', '/home/pi/Desktop/images/15122025/14/58/image_15122025_14_59_05_10646.jpg', '/home/pi/Desktop/images/15122025/14/59/image_15122025_14_59_15_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/58/image_15122025_14_58_25_10632.jpg
/home/pi/Desktop/images/15122025/14/58/image_15122025_14_58_35_9762.jpg
/home/pi/Desktop/images/15122025/14/58/image_15122025_14_58_45_9703.jpg
/home/pi/Desktop/images/15122025/14/58/image_15122025_14_58_54_9716.jpg
/home/pi/Desktop/images/15122025/14/58/image_15122025_14_59_05_10646.jpg
/home/pi/Desktop/images/15122025/14/59/image_15122025_14_59_15_9719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399517480","1399517470","1399517464","1399517478","1399517505","1399517454"],"photo_ids_order":["1399517454","1399517464","1399517470","1399517478","1399517480","1399517505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a2f4192a605aab258be4dda1db04108c.jpg","text":"TemporaryFile(/tmp/multipartBody89055898523836417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809502708,"filename":"image_15122025_14_59_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/15/2f7298c31f7ef5d40075cd5b8b0931f7.jpg","text":"TemporaryFile(/tmp/multipartBody6161720277793754782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809502708,"filename":"image_15122025_14_58_45_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b1f43215b6398c635f6e39f6102cf8c7.jpg","text":"TemporaryFile(/tmp/multipartBody4086520624166931946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809502708,"filename":"image_15122025_14_58_35_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/102dfafeb64d93fe2af39e68b72061f7.jpg","text":"TemporaryFile(/tmp/multipartBody2510382272750503595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809502708,"filename":"image_15122025_14_58_54_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5000dbf16040c080dec2001fc1fff430.jpg","text":"TemporaryFile(/tmp/multipartBody8105939468977132165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809502708,"filename":"image_15122025_14_59_15_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dba0b6276ba0d2267fddc5946e99487c.jpg","text":"TemporaryFile(/tmp/multipartBody273628404146461966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809502708,"filename":"image_15122025_14_58_25_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399517470","file1":"1399517464","file0":"1399517454","file4":"1399517480","file5":"1399517505","file3":"1399517478"},"map_files_photo_id_array":[{"photo_id":"1399517505","filename":"file5"},{"photo_id":"1399517470","filename":"file2"},{"photo_id":"1399517480","filename":"file4"},{"photo_id":"1399517464","filename":"file1"},{"photo_id":"1399517454","filename":"file0"},{"photo_id":"1399517478","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399517480":["hashtag1","hashtag2"]},{"1399517470":["hashtag1","hashtag2"]},{"1399517464":["hashtag1","hashtag2"]},{"1399517478":["hashtag1","hashtag2"]},{"1399517505":["hashtag1","hashtag2"]},{"1399517454":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399517480, 1399517470, 1399517464, 1399517478, 1399517505, 1399517454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67038893699646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 15:38:02.859168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/59/image_15122025_14_59_25_9752.jpg', '/home/pi/Desktop/images/15122025/14/59/image_15122025_14_59_35_10702.jpg', '/home/pi/Desktop/images/15122025/14/59/image_15122025_14_59_45_9707.jpg', '/home/pi/Desktop/images/15122025/14/59/image_15122025_14_59_55_9678.jpg', '/home/pi/Desktop/images/15122025/15/00/image_15122025_15_00_14_10053.jpg', '/home/pi/Desktop/images/15122025/15/00/image_15122025_15_00_25_10919.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/59/image_15122025_14_59_25_9752.jpg
/home/pi/Desktop/images/15122025/14/59/image_15122025_14_59_35_10702.jpg
/home/pi/Desktop/images/15122025/14/59/image_15122025_14_59_45_9707.jpg
/home/pi/Desktop/images/15122025/14/59/image_15122025_14_59_55_9678.jpg
/home/pi/Desktop/images/15122025/15/00/image_15122025_15_00_14_10053.jpg
/home/pi/Desktop/images/15122025/15/00/image_15122025_15_00_25_10919.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5285263061523438 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 15:38:12.243705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 15:38:22.443683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/14/59/image_15122025_14_59_25_9752.jpg', '/home/pi/Desktop/images/15122025/14/59/image_15122025_14_59_35_10702.jpg', '/home/pi/Desktop/images/15122025/14/59/image_15122025_14_59_45_9707.jpg', '/home/pi/Desktop/images/15122025/14/59/image_15122025_14_59_55_9678.jpg', '/home/pi/Desktop/images/15122025/15/00/image_15122025_15_00_14_10053.jpg', '/home/pi/Desktop/images/15122025/15/00/image_15122025_15_00_25_10919.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/14/59/image_15122025_14_59_25_9752.jpg
/home/pi/Desktop/images/15122025/14/59/image_15122025_14_59_35_10702.jpg
/home/pi/Desktop/images/15122025/14/59/image_15122025_14_59_45_9707.jpg
/home/pi/Desktop/images/15122025/14/59/image_15122025_14_59_55_9678.jpg
/home/pi/Desktop/images/15122025/15/00/image_15122025_15_00_14_10053.jpg
/home/pi/Desktop/images/15122025/15/00/image_15122025_15_00_25_10919.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399517543","1399517599","1399517626","1399517562","1399517631","1399517628"],"photo_ids_order":["1399517543","1399517562","1399517599","1399517626","1399517628","1399517631"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bb23e8ca33b93f1aaa411192aac68a18.jpg","text":"TemporaryFile(/tmp/multipartBody6879361720958490358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809563165,"filename":"image_15122025_14_59_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/15/411370623729bb7be233c386c6d885ce.jpg","text":"TemporaryFile(/tmp/multipartBody226300708273706787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809563165,"filename":"image_15122025_14_59_45_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/df6a72891ba3b1e7f7b856cad029c787.jpg","text":"TemporaryFile(/tmp/multipartBody5131924456616183874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809563165,"filename":"image_15122025_14_59_55_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c15457917deeb79aef5f2e78d5dcef56.jpg","text":"TemporaryFile(/tmp/multipartBody3115034615634790713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809563165,"filename":"image_15122025_14_59_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/15/8e0b0c5d69c8767884968e4f65bdd62d.jpg","text":"TemporaryFile(/tmp/multipartBody3848996906866958288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809563165,"filename":"image_15122025_15_00_25_10919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/61264f616e1d11c5a66d57674ae18ae6.jpg","text":"TemporaryFile(/tmp/multipartBody7318631065556143828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809563165,"filename":"image_15122025_15_00_14_10053.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399517599","file1":"1399517562","file0":"1399517543","file4":"1399517628","file5":"1399517631","file3":"1399517626"},"map_files_photo_id_array":[{"photo_id":"1399517631","filename":"file5"},{"photo_id":"1399517599","filename":"file2"},{"photo_id":"1399517628","filename":"file4"},{"photo_id":"1399517562","filename":"file1"},{"photo_id":"1399517543","filename":"file0"},{"photo_id":"1399517626","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399517543":["hashtag1","hashtag2"]},{"1399517599":["hashtag1","hashtag2"]},{"1399517626":["hashtag1","hashtag2"]},{"1399517562":["hashtag1","hashtag2"]},{"1399517631":["hashtag1","hashtag2"]},{"1399517628":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399517543, 1399517599, 1399517626, 1399517562, 1399517631, 1399517628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81576633453369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 15:39:03.453251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/00/image_15122025_15_00_35_9627.jpg', '/home/pi/Desktop/images/15122025/15/00/image_15122025_15_00_44_9675.jpg', '/home/pi/Desktop/images/15122025/15/00/image_15122025_15_00_54_9782.jpg', '/home/pi/Desktop/images/15122025/15/00/image_15122025_15_01_05_10728.jpg', '/home/pi/Desktop/images/15122025/15/01/image_15122025_15_01_15_9695.jpg', '/home/pi/Desktop/images/15122025/15/01/image_15122025_15_01_24_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/00/image_15122025_15_00_35_9627.jpg
/home/pi/Desktop/images/15122025/15/00/image_15122025_15_00_44_9675.jpg
/home/pi/Desktop/images/15122025/15/00/image_15122025_15_00_54_9782.jpg
/home/pi/Desktop/images/15122025/15/00/image_15122025_15_01_05_10728.jpg
/home/pi/Desktop/images/15122025/15/01/image_15122025_15_01_15_9695.jpg
/home/pi/Desktop/images/15122025/15/01/image_15122025_15_01_24_9696.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.243558406829834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 15:39:12.536846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 15:39:22.624514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/00/image_15122025_15_00_35_9627.jpg', '/home/pi/Desktop/images/15122025/15/00/image_15122025_15_00_44_9675.jpg', '/home/pi/Desktop/images/15122025/15/00/image_15122025_15_00_54_9782.jpg', '/home/pi/Desktop/images/15122025/15/00/image_15122025_15_01_05_10728.jpg', '/home/pi/Desktop/images/15122025/15/01/image_15122025_15_01_15_9695.jpg', '/home/pi/Desktop/images/15122025/15/01/image_15122025_15_01_24_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/00/image_15122025_15_00_35_9627.jpg
/home/pi/Desktop/images/15122025/15/00/image_15122025_15_00_44_9675.jpg
/home/pi/Desktop/images/15122025/15/00/image_15122025_15_00_54_9782.jpg
/home/pi/Desktop/images/15122025/15/00/image_15122025_15_01_05_10728.jpg
/home/pi/Desktop/images/15122025/15/01/image_15122025_15_01_15_9695.jpg
/home/pi/Desktop/images/15122025/15/01/image_15122025_15_01_24_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":["1399517692","1399517694","1399517688","1399517696","1399517700","1399517690"],"photo_ids_order":["1399517688","1399517690","1399517692","1399517694","1399517696","1399517700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6580bedc6831e22f4f8f881a62b826c2.jpg","text":"TemporaryFile(/tmp/multipartBody7742667658404320937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809623258,"filename":"image_15122025_15_00_54_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c7439601c0114f00a02bdf3ff41b7ed0.jpg","text":"TemporaryFile(/tmp/multipartBody1374628912135549809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809623258,"filename":"image_15122025_15_01_05_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7ef6061d27019cb4f2d2f7683f63f05b.jpg","text":"TemporaryFile(/tmp/multipartBody4246068889580652084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809623258,"filename":"image_15122025_15_00_35_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d35340d2a2b1c90fe55afd50b38f6f26.jpg","text":"TemporaryFile(/tmp/multipartBody4992620510333786725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809623258,"filename":"image_15122025_15_01_15_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c31a70743f5803255d81489d03fcaa5e.jpg","text":"TemporaryFile(/tmp/multipartBody1330067567896802903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809623258,"filename":"image_15122025_15_01_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/15/3a56dae161e22f7c1f6e13ecda731c86.jpg","text":"TemporaryFile(/tmp/multipartBody6374317120469749971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809623258,"filename":"image_15122025_15_00_44_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399517692","file1":"1399517690","file0":"1399517688","file4":"1399517696","file5":"1399517700","file3":"1399517694"},"map_files_photo_id_array":[{"photo_id":"1399517700","filename":"file5"},{"photo_id":"1399517692","filename":"file2"},{"photo_id":"1399517696","filename":"file4"},{"photo_id":"1399517690","filename":"file1"},{"photo_id":"1399517688","filename":"file0"},{"photo_id":"1399517694","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399517692":["hashtag1","hashtag2"]},{"1399517694":["hashtag1","hashtag2"]},{"1399517688":["hashtag1","hashtag2"]},{"1399517696":["hashtag1","hashtag2"]},{"1399517700":["hashtag1","hashtag2"]},{"1399517690":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399517692, 1399517694, 1399517688, 1399517696, 1399517700, 1399517690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.458165407180786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 15:40:03.189632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/01/image_15122025_15_01_35_10756.jpg', '/home/pi/Desktop/images/15122025/15/01/image_15122025_15_01_45_9812.jpg', '/home/pi/Desktop/images/15122025/15/01/image_15122025_15_01_55_9625.jpg', '/home/pi/Desktop/images/15122025/15/01/image_15122025_15_02_04_9678.jpg', '/home/pi/Desktop/images/15122025/15/02/image_15122025_15_02_15_10801.jpg', '/home/pi/Desktop/images/15122025/15/02/image_15122025_15_02_25_9787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/01/image_15122025_15_01_35_10756.jpg
/home/pi/Desktop/images/15122025/15/01/image_15122025_15_01_45_9812.jpg
/home/pi/Desktop/images/15122025/15/01/image_15122025_15_01_55_9625.jpg
/home/pi/Desktop/images/15122025/15/01/image_15122025_15_02_04_9678.jpg
/home/pi/Desktop/images/15122025/15/02/image_15122025_15_02_15_10801.jpg
/home/pi/Desktop/images/15122025/15/02/image_15122025_15_02_25_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":["1399517702","1399517705","1399517707","1399517704","1399517703","1399517706"],"photo_ids_order":["1399517702","1399517703","1399517704","1399517705","1399517706","1399517707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2aad23be5b1817c30632cb84a5e23d6d.jpg","text":"TemporaryFile(/tmp/multipartBody4882298236270522574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809663854,"filename":"image_15122025_15_01_35_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2b33ee6f36f9ceb52f717822224e1a9d.jpg","text":"TemporaryFile(/tmp/multipartBody2716958554770816810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809663854,"filename":"image_15122025_15_02_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/15/0340029dc0246bb78bd9e0b52f265d8f.jpg","text":"TemporaryFile(/tmp/multipartBody1701951823451947241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809663854,"filename":"image_15122025_15_02_25_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/519cf73159cf4eb8e0e722e0d00c8ce4.jpg","text":"TemporaryFile(/tmp/multipartBody7035637674135273370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809663854,"filename":"image_15122025_15_01_55_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/315ba4401bf197b944a6dd5deddcfcc1.jpg","text":"TemporaryFile(/tmp/multipartBody7941537667531854390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809663854,"filename":"image_15122025_15_01_45_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/15/bd8cefff58712e5c165a79fa967eecdd.jpg","text":"TemporaryFile(/tmp/multipartBody7949549567717564228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809663854,"filename":"image_15122025_15_02_15_10801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399517704","file1":"1399517703","file0":"1399517702","file4":"1399517706","file5":"1399517707","file3":"1399517705"},"map_files_photo_id_array":[{"photo_id":"1399517707","filename":"file5"},{"photo_id":"1399517704","filename":"file2"},{"photo_id":"1399517706","filename":"file4"},{"photo_id":"1399517703","filename":"file1"},{"photo_id":"1399517702","filename":"file0"},{"photo_id":"1399517705","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399517702":["hashtag1","hashtag2"]},{"1399517705":["hashtag1","hashtag2"]},{"1399517707":["hashtag1","hashtag2"]},{"1399517704":["hashtag1","hashtag2"]},{"1399517703":["hashtag1","hashtag2"]},{"1399517706":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399517702, 1399517705, 1399517707, 1399517704, 1399517703, 1399517706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.843581199645996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 15:40:42.738301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_16_1602.jpg', '/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_18_1768.jpg', '/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_20_2709.jpg', '/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_23_2732.jpg', '/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_27_3698.jpg', '/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_29_2551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_16_1602.jpg
/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_18_1768.jpg
/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_20_2709.jpg
/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_23_2732.jpg
/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_27_3698.jpg
/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_29_2551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399517771","1399517765","1399517767","1399517758","1399517769","1399517762"],"photo_ids_order":["1399517758","1399517762","1399517765","1399517767","1399517769","1399517771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2dda560aac6e8b54e601e052c1f4cabc.jpg","text":"TemporaryFile(/tmp/multipartBody1650488151313028952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809703469,"filename":"image_05112025_15_18_29_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/12a3a826689e406c2530f5be3f2f6eb3.jpg","text":"TemporaryFile(/tmp/multipartBody3948460523518292102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809703469,"filename":"image_05112025_15_18_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/15/9f078f7db4f8c4b7c5673a2b8e60f0cd.jpg","text":"TemporaryFile(/tmp/multipartBody479559962850303862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809703469,"filename":"image_05112025_15_18_23_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/15/220b7002d690f75d9f19ab5749ab3127.jpg","text":"TemporaryFile(/tmp/multipartBody5783348596920261410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809703469,"filename":"image_05112025_15_18_16_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/15/e74e46e96be5b43d04429ed04d94f238.jpg","text":"TemporaryFile(/tmp/multipartBody1754246989532401695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809703469,"filename":"image_05112025_15_18_27_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/15/c15aa25aeb34411a58a4c33b37cbef82.jpg","text":"TemporaryFile(/tmp/multipartBody7518876553375528773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809703469,"filename":"image_05112025_15_18_18_1768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399517765","file1":"1399517762","file0":"1399517758","file4":"1399517769","file5":"1399517771","file3":"1399517767"},"map_files_photo_id_array":[{"photo_id":"1399517771","filename":"file5"},{"photo_id":"1399517765","filename":"file2"},{"photo_id":"1399517769","filename":"file4"},{"photo_id":"1399517762","filename":"file1"},{"photo_id":"1399517758","filename":"file0"},{"photo_id":"1399517767","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399517771":["hashtag1","hashtag2"]},{"1399517765":["hashtag1","hashtag2"]},{"1399517767":["hashtag1","hashtag2"]},{"1399517758":["hashtag1","hashtag2"]},{"1399517769":["hashtag1","hashtag2"]},{"1399517762":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399517771, 1399517765, 1399517767, 1399517758, 1399517769, 1399517762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.913058042526245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 15:41:21.989224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/02/image_15122025_15_02_34_9640.jpg', '/home/pi/Desktop/images/15122025/15/02/image_15122025_15_02_44_9724.jpg', '/home/pi/Desktop/images/15122025/15/02/image_15122025_15_02_55_10659.jpg', '/home/pi/Desktop/images/15122025/15/02/image_15122025_15_03_05_9766.jpg', '/home/pi/Desktop/images/15122025/15/03/image_15122025_15_03_14_9786.jpg', '/home/pi/Desktop/images/15122025/15/03/image_15122025_15_03_25_10751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/02/image_15122025_15_02_34_9640.jpg
/home/pi/Desktop/images/15122025/15/02/image_15122025_15_02_44_9724.jpg
/home/pi/Desktop/images/15122025/15/02/image_15122025_15_02_55_10659.jpg
/home/pi/Desktop/images/15122025/15/02/image_15122025_15_03_05_9766.jpg
/home/pi/Desktop/images/15122025/15/03/image_15122025_15_03_14_9786.jpg
/home/pi/Desktop/images/15122025/15/03/image_15122025_15_03_25_10751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399517825","1399517791","1399517788","1399517790","1399517862","1399517901"],"photo_ids_order":["1399517788","1399517790","1399517791","1399517825","1399517862","1399517901"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/816bb53bc1e22fa8d54dd3221e57ef6f.jpg","text":"TemporaryFile(/tmp/multipartBody5367636070064584664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809742665,"filename":"image_15122025_15_03_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/15/9f7b097025b7df518f4b448b3bb6333f.jpg","text":"TemporaryFile(/tmp/multipartBody1345153983884408465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809742665,"filename":"image_15122025_15_02_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/15/2e862f49b829b38cae140f436c44b63f.jpg","text":"TemporaryFile(/tmp/multipartBody4348329825264940112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809742665,"filename":"image_15122025_15_02_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/15/8d53deb34dfc5b2609ce608cf052bc44.jpg","text":"TemporaryFile(/tmp/multipartBody6516915692159351266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809742665,"filename":"image_15122025_15_02_44_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/103a406cb7fba9cc9b5d236c8117290b.jpg","text":"TemporaryFile(/tmp/multipartBody3421785309352189151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809742665,"filename":"image_15122025_15_03_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/15/700d3873aee342b23d7094af799cd377.jpg","text":"TemporaryFile(/tmp/multipartBody4490850258977363087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809742665,"filename":"image_15122025_15_03_25_10751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399517791","file1":"1399517790","file0":"1399517788","file4":"1399517862","file5":"1399517901","file3":"1399517825"},"map_files_photo_id_array":[{"photo_id":"1399517901","filename":"file5"},{"photo_id":"1399517791","filename":"file2"},{"photo_id":"1399517862","filename":"file4"},{"photo_id":"1399517790","filename":"file1"},{"photo_id":"1399517788","filename":"file0"},{"photo_id":"1399517825","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399517825":["hashtag1","hashtag2"]},{"1399517791":["hashtag1","hashtag2"]},{"1399517788":["hashtag1","hashtag2"]},{"1399517790":["hashtag1","hashtag2"]},{"1399517862":["hashtag1","hashtag2"]},{"1399517901":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399517825, 1399517791, 1399517788, 1399517790, 1399517862, 1399517901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49769139289856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 15:42:02.641578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/03/image_15122025_15_03_35_9779.jpg', '/home/pi/Desktop/images/15122025/15/03/image_15122025_15_03_45_9631.jpg', '/home/pi/Desktop/images/15122025/15/03/image_15122025_15_03_54_9774.jpg', '/home/pi/Desktop/images/15122025/15/03/image_15122025_15_04_05_10584.jpg', '/home/pi/Desktop/images/15122025/15/04/image_15122025_15_04_15_9805.jpg', '/home/pi/Desktop/images/15122025/15/04/image_15122025_15_04_24_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/03/image_15122025_15_03_35_9779.jpg
/home/pi/Desktop/images/15122025/15/03/image_15122025_15_03_45_9631.jpg
/home/pi/Desktop/images/15122025/15/03/image_15122025_15_03_54_9774.jpg
/home/pi/Desktop/images/15122025/15/03/image_15122025_15_04_05_10584.jpg
/home/pi/Desktop/images/15122025/15/04/image_15122025_15_04_15_9805.jpg
/home/pi/Desktop/images/15122025/15/04/image_15122025_15_04_24_9603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399518047","1399518133","1399518130","1399518135","1399518095","1399518083"],"photo_ids_order":["1399518047","1399518083","1399518095","1399518130","1399518133","1399518135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3e3f1def584317a47d6e5e0efbc52054.jpg","text":"TemporaryFile(/tmp/multipartBody5686022865447590408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809783289,"filename":"image_15122025_15_03_35_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/15/ad796f1a65588f05977985d6e1926bed.jpg","text":"TemporaryFile(/tmp/multipartBody4539399636866062986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809783289,"filename":"image_15122025_15_04_15_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3a05dde51e097628247073c27382a3f1.jpg","text":"TemporaryFile(/tmp/multipartBody6872094727001469255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809783289,"filename":"image_15122025_15_04_05_10584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/887c51ca8af1353cc2adc1b381c2696c.jpg","text":"TemporaryFile(/tmp/multipartBody728916331190008221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809783289,"filename":"image_15122025_15_04_24_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/554c735388b5b2edf8a769db39833744.jpg","text":"TemporaryFile(/tmp/multipartBody1352539785516993587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809783289,"filename":"image_15122025_15_03_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/15/075e7eb991c995293afa7840346ac4fb.jpg","text":"TemporaryFile(/tmp/multipartBody4811594401413383925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809783289,"filename":"image_15122025_15_03_45_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399518095","file1":"1399518083","file0":"1399518047","file4":"1399518133","file5":"1399518135","file3":"1399518130"},"map_files_photo_id_array":[{"photo_id":"1399518135","filename":"file5"},{"photo_id":"1399518095","filename":"file2"},{"photo_id":"1399518133","filename":"file4"},{"photo_id":"1399518083","filename":"file1"},{"photo_id":"1399518047","filename":"file0"},{"photo_id":"1399518130","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399518047":["hashtag1","hashtag2"]},{"1399518133":["hashtag1","hashtag2"]},{"1399518130":["hashtag1","hashtag2"]},{"1399518135":["hashtag1","hashtag2"]},{"1399518095":["hashtag1","hashtag2"]},{"1399518083":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399518047, 1399518133, 1399518130, 1399518135, 1399518095, 1399518083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.300002336502075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 15:42:42.196346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_32_2752.jpg', '/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_36_3722.jpg', '/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_38_2613.jpg', '/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_41_2709.jpg', '/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_45_3582.jpg', '/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_47_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_32_2752.jpg
/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_36_3722.jpg
/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_38_2613.jpg
/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_41_2709.jpg
/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_45_3582.jpg
/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_47_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":["1399518338","1399518352","1399518238","1399518319","1399518189","1399518165"],"photo_ids_order":["1399518165","1399518189","1399518238","1399518319","1399518338","1399518352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ad8fa8bba8de193a2b5abce1901a813f.jpg","text":"TemporaryFile(/tmp/multipartBody3249519162671084082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809822903,"filename":"image_05112025_15_18_45_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0c7b8f7e2c348596500baabf08c1b0f1.jpg","text":"TemporaryFile(/tmp/multipartBody7136389743187188634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809822903,"filename":"image_05112025_15_18_47_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/15/8fd1994b7aee1ee8eedfe3bccb2e0c75.jpg","text":"TemporaryFile(/tmp/multipartBody500664175605549987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809822903,"filename":"image_05112025_15_18_38_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/15/c874ec8da7a5e1914b7246056120c3fc.jpg","text":"TemporaryFile(/tmp/multipartBody7827788787819881159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809822903,"filename":"image_05112025_15_18_41_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/15/7e8a3e27fd0c526d0c6a4a0558de36f4.jpg","text":"TemporaryFile(/tmp/multipartBody339329405789514457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809822903,"filename":"image_05112025_15_18_36_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fa3af4f4a72596c5e3320396500b4c0a.jpg","text":"TemporaryFile(/tmp/multipartBody5990612533940839248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809822903,"filename":"image_05112025_15_18_32_2752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399518238","file1":"1399518189","file0":"1399518165","file4":"1399518338","file5":"1399518352","file3":"1399518319"},"map_files_photo_id_array":[{"photo_id":"1399518352","filename":"file5"},{"photo_id":"1399518238","filename":"file2"},{"photo_id":"1399518338","filename":"file4"},{"photo_id":"1399518189","filename":"file1"},{"photo_id":"1399518165","filename":"file0"},{"photo_id":"1399518319","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399518338":["hashtag1","hashtag2"]},{"1399518352":["hashtag1","hashtag2"]},{"1399518238":["hashtag1","hashtag2"]},{"1399518319":["hashtag1","hashtag2"]},{"1399518189":["hashtag1","hashtag2"]},{"1399518165":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399518338, 1399518352, 1399518238, 1399518319, 1399518189, 1399518165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.64346265792847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 15:43:22.488248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/04/image_15122025_15_04_35_10208.jpg', '/home/pi/Desktop/images/15122025/15/04/image_15122025_15_04_44_9744.jpg', '/home/pi/Desktop/images/15122025/15/04/image_15122025_15_04_55_10627.jpg', '/home/pi/Desktop/images/15122025/15/04/image_15122025_15_05_05_9813.jpg', '/home/pi/Desktop/images/15122025/15/05/image_15122025_15_05_14_9656.jpg', '/home/pi/Desktop/images/15122025/15/05/image_15122025_15_05_25_10760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/04/image_15122025_15_04_35_10208.jpg
/home/pi/Desktop/images/15122025/15/04/image_15122025_15_04_44_9744.jpg
/home/pi/Desktop/images/15122025/15/04/image_15122025_15_04_55_10627.jpg
/home/pi/Desktop/images/15122025/15/04/image_15122025_15_05_05_9813.jpg
/home/pi/Desktop/images/15122025/15/05/image_15122025_15_05_14_9656.jpg
/home/pi/Desktop/images/15122025/15/05/image_15122025_15_05_25_10760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399518407","1399518400","1399518396","1399518423","1399518398","1399518461"],"photo_ids_order":["1399518396","1399518398","1399518400","1399518407","1399518423","1399518461"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d159a98e1b68e5012a702d22b56832ce.jpg","text":"TemporaryFile(/tmp/multipartBody5950275531282840120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809863157,"filename":"image_15122025_15_05_05_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8cdfea8abb44e32562439053631ebea7.jpg","text":"TemporaryFile(/tmp/multipartBody8132387978472912250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809863157,"filename":"image_15122025_15_04_55_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0675741a655f585c4f9eef57e9a31e6c.jpg","text":"TemporaryFile(/tmp/multipartBody5731032268986307404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809863157,"filename":"image_15122025_15_04_35_10208.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1a2a51e3fd1b378745b13d7a1f944ff9.jpg","text":"TemporaryFile(/tmp/multipartBody3571345101001480225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809863157,"filename":"image_15122025_15_05_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/15/5decbcd814ec549ad8497da69ec1df7a.jpg","text":"TemporaryFile(/tmp/multipartBody6719222697788349374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809863157,"filename":"image_15122025_15_04_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/15/a22b80117783ad29539cd7d1683a4015.jpg","text":"TemporaryFile(/tmp/multipartBody6048851884564906041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809863157,"filename":"image_15122025_15_05_25_10760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399518400","file1":"1399518398","file0":"1399518396","file4":"1399518423","file5":"1399518461","file3":"1399518407"},"map_files_photo_id_array":[{"photo_id":"1399518461","filename":"file5"},{"photo_id":"1399518400","filename":"file2"},{"photo_id":"1399518423","filename":"file4"},{"photo_id":"1399518398","filename":"file1"},{"photo_id":"1399518396","filename":"file0"},{"photo_id":"1399518407","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399518407":["hashtag1","hashtag2"]},{"1399518400":["hashtag1","hashtag2"]},{"1399518396":["hashtag1","hashtag2"]},{"1399518423":["hashtag1","hashtag2"]},{"1399518398":["hashtag1","hashtag2"]},{"1399518461":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399518407, 1399518400, 1399518396, 1399518423, 1399518398, 1399518461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98055911064148 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 15:44:03.384880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/05/image_15122025_15_05_35_9763.jpg', '/home/pi/Desktop/images/15122025/15/05/image_15122025_15_05_45_9739.jpg', '/home/pi/Desktop/images/15122025/15/05/image_15122025_15_05_54_9695.jpg', '/home/pi/Desktop/images/15122025/15/05/image_15122025_15_06_05_10581.jpg', '/home/pi/Desktop/images/15122025/15/06/image_15122025_15_06_14_9574.jpg', '/home/pi/Desktop/images/15122025/15/06/image_15122025_15_06_25_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/05/image_15122025_15_05_35_9763.jpg
/home/pi/Desktop/images/15122025/15/05/image_15122025_15_05_45_9739.jpg
/home/pi/Desktop/images/15122025/15/05/image_15122025_15_05_54_9695.jpg
/home/pi/Desktop/images/15122025/15/05/image_15122025_15_06_05_10581.jpg
/home/pi/Desktop/images/15122025/15/06/image_15122025_15_06_14_9574.jpg
/home/pi/Desktop/images/15122025/15/06/image_15122025_15_06_25_10646.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6403682231903076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 15:44:12.730471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 15:44:22.796527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/05/image_15122025_15_05_35_9763.jpg', '/home/pi/Desktop/images/15122025/15/05/image_15122025_15_05_45_9739.jpg', '/home/pi/Desktop/images/15122025/15/05/image_15122025_15_05_54_9695.jpg', '/home/pi/Desktop/images/15122025/15/05/image_15122025_15_06_05_10581.jpg', '/home/pi/Desktop/images/15122025/15/06/image_15122025_15_06_14_9574.jpg', '/home/pi/Desktop/images/15122025/15/06/image_15122025_15_06_25_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/05/image_15122025_15_05_35_9763.jpg
/home/pi/Desktop/images/15122025/15/05/image_15122025_15_05_45_9739.jpg
/home/pi/Desktop/images/15122025/15/05/image_15122025_15_05_54_9695.jpg
/home/pi/Desktop/images/15122025/15/05/image_15122025_15_06_05_10581.jpg
/home/pi/Desktop/images/15122025/15/06/image_15122025_15_06_14_9574.jpg
/home/pi/Desktop/images/15122025/15/06/image_15122025_15_06_25_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":["1399518623","1399518616","1399518625","1399518628","1399518621","1399518632"],"photo_ids_order":["1399518616","1399518621","1399518623","1399518625","1399518628","1399518632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a6e4d8fe944b354111e7e3ee2af102ae.jpg","text":"TemporaryFile(/tmp/multipartBody5829990959263348531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809923474,"filename":"image_15122025_15_05_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/15/0fece74024f20f3cb0179644d2e6c371.jpg","text":"TemporaryFile(/tmp/multipartBody97708394905893988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809923474,"filename":"image_15122025_15_05_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/15/db8aa59b9188a6b2da9729c149f92ccd.jpg","text":"TemporaryFile(/tmp/multipartBody5437723633345223343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809923474,"filename":"image_15122025_15_06_05_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b444d738866046809e58441fe4a7f682.jpg","text":"TemporaryFile(/tmp/multipartBody2638352203732358695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809923474,"filename":"image_15122025_15_06_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/15/6c218369d3330b5d2e60ff65e1df23b7.jpg","text":"TemporaryFile(/tmp/multipartBody53212982233903450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809923474,"filename":"image_15122025_15_05_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/15/9b9a97249a58a24af3c9a867a6c32e22.jpg","text":"TemporaryFile(/tmp/multipartBody6107467144014864760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809923474,"filename":"image_15122025_15_06_25_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399518623","file1":"1399518621","file0":"1399518616","file4":"1399518628","file5":"1399518632","file3":"1399518625"},"map_files_photo_id_array":[{"photo_id":"1399518632","filename":"file5"},{"photo_id":"1399518623","filename":"file2"},{"photo_id":"1399518628","filename":"file4"},{"photo_id":"1399518621","filename":"file1"},{"photo_id":"1399518616","filename":"file0"},{"photo_id":"1399518625","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399518623":["hashtag1","hashtag2"]},{"1399518616":["hashtag1","hashtag2"]},{"1399518625":["hashtag1","hashtag2"]},{"1399518628":["hashtag1","hashtag2"]},{"1399518621":["hashtag1","hashtag2"]},{"1399518632":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399518623, 1399518616, 1399518625, 1399518628, 1399518621, 1399518632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.44249629974365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 15:45:02.645871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/06/image_15122025_15_06_35_9708.jpg', '/home/pi/Desktop/images/15122025/15/06/image_15122025_15_06_45_9712.jpg', '/home/pi/Desktop/images/15122025/15/06/image_15122025_15_06_54_9829.jpg', '/home/pi/Desktop/images/15122025/15/06/image_15122025_15_07_05_10576.jpg', '/home/pi/Desktop/images/15122025/15/07/image_15122025_15_07_15_9920.jpg', '/home/pi/Desktop/images/15122025/15/07/image_15122025_15_07_25_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/06/image_15122025_15_06_35_9708.jpg
/home/pi/Desktop/images/15122025/15/06/image_15122025_15_06_45_9712.jpg
/home/pi/Desktop/images/15122025/15/06/image_15122025_15_06_54_9829.jpg
/home/pi/Desktop/images/15122025/15/06/image_15122025_15_07_05_10576.jpg
/home/pi/Desktop/images/15122025/15/07/image_15122025_15_07_15_9920.jpg
/home/pi/Desktop/images/15122025/15/07/image_15122025_15_07_25_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":["1399518652","1399518760","1399518687","1399518648","1399518785","1399518722"],"photo_ids_order":["1399518648","1399518652","1399518687","1399518722","1399518760","1399518785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f81d923c53228d102634c477e09608c9.jpg","text":"TemporaryFile(/tmp/multipartBody1443085502229606702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809963318,"filename":"image_15122025_15_06_45_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f3934a1f85e0091bc469df13c50f9676.jpg","text":"TemporaryFile(/tmp/multipartBody5297017597343382217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809963318,"filename":"image_15122025_15_07_15_9920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c9295ccac105e219cb830dda804991b9.jpg","text":"TemporaryFile(/tmp/multipartBody2073331117990638471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809963318,"filename":"image_15122025_15_06_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/15/0768d21ef268d8ede661201d93d0c2fd.jpg","text":"TemporaryFile(/tmp/multipartBody6008241551790204877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809963318,"filename":"image_15122025_15_06_35_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/59bca8ddc67bb4cee6f9f8d811098d06.jpg","text":"TemporaryFile(/tmp/multipartBody5171774386043995604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809963318,"filename":"image_15122025_15_07_25_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b6bf0e3faa07f15bde3bf1af2901a256.jpg","text":"TemporaryFile(/tmp/multipartBody320984530281406257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765809963318,"filename":"image_15122025_15_07_05_10576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399518687","file1":"1399518652","file0":"1399518648","file4":"1399518760","file5":"1399518785","file3":"1399518722"},"map_files_photo_id_array":[{"photo_id":"1399518785","filename":"file5"},{"photo_id":"1399518687","filename":"file2"},{"photo_id":"1399518760","filename":"file4"},{"photo_id":"1399518652","filename":"file1"},{"photo_id":"1399518648","filename":"file0"},{"photo_id":"1399518722","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399518652":["hashtag1","hashtag2"]},{"1399518760":["hashtag1","hashtag2"]},{"1399518687":["hashtag1","hashtag2"]},{"1399518648":["hashtag1","hashtag2"]},{"1399518785":["hashtag1","hashtag2"]},{"1399518722":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399518652, 1399518760, 1399518687, 1399518648, 1399518785, 1399518722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.71992778778076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 15:45:42.076247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_51_3544.jpg', '/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_54_2648.jpg', '/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_56_2774.jpg', '/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_59_2586.jpg', '/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_02_3551.jpg', '/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_05_2893.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_51_3544.jpg
/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_54_2648.jpg
/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_56_2774.jpg
/home/pi/Desktop/images/05112025/15/18/image_05112025_15_18_59_2586.jpg
/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_02_3551.jpg
/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_05_2893.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399518847","1399518846","1399518849","1399518813","1399518822","1399518824"],"photo_ids_order":["1399518813","1399518822","1399518824","1399518846","1399518847","1399518849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6451b6922125caf7e47b613ccd4ec204.jpg","text":"TemporaryFile(/tmp/multipartBody751768675610648218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810002776,"filename":"image_05112025_15_19_02_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/15/9804f7abc9d0f36c84c101109302bd86.jpg","text":"TemporaryFile(/tmp/multipartBody7592098696244777972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810002776,"filename":"image_05112025_15_18_59_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/10f13c5067cbad7238037377364bf2ad.jpg","text":"TemporaryFile(/tmp/multipartBody422168988841078248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810002776,"filename":"image_05112025_15_19_05_2893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/57a79e23eb5e880aaf1396fd584bb451.jpg","text":"TemporaryFile(/tmp/multipartBody5912249249266450202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810002776,"filename":"image_05112025_15_18_51_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/15/5e2dda46c1982fb9f2290dd5ae796169.jpg","text":"TemporaryFile(/tmp/multipartBody299762850781021258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810002776,"filename":"image_05112025_15_18_54_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/15/620a700c02078feb989498fdfd212e7f.jpg","text":"TemporaryFile(/tmp/multipartBody6944383084172692734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810002776,"filename":"image_05112025_15_18_56_2774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399518824","file1":"1399518822","file0":"1399518813","file4":"1399518847","file5":"1399518849","file3":"1399518846"},"map_files_photo_id_array":[{"photo_id":"1399518849","filename":"file5"},{"photo_id":"1399518824","filename":"file2"},{"photo_id":"1399518847","filename":"file4"},{"photo_id":"1399518822","filename":"file1"},{"photo_id":"1399518813","filename":"file0"},{"photo_id":"1399518846","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399518847":["hashtag1","hashtag2"]},{"1399518846":["hashtag1","hashtag2"]},{"1399518849":["hashtag1","hashtag2"]},{"1399518813":["hashtag1","hashtag2"]},{"1399518822":["hashtag1","hashtag2"]},{"1399518824":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399518847, 1399518846, 1399518849, 1399518813, 1399518822, 1399518824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63298273086548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 15:46:22.341426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/07/image_15122025_15_07_34_9652.jpg', '/home/pi/Desktop/images/15122025/15/07/image_15122025_15_07_45_10658.jpg', '/home/pi/Desktop/images/15122025/15/07/image_15122025_15_07_55_9649.jpg', '/home/pi/Desktop/images/15122025/15/07/image_15122025_15_08_04_9776.jpg', '/home/pi/Desktop/images/15122025/15/08/image_15122025_15_08_15_10781.jpg', '/home/pi/Desktop/images/15122025/15/08/image_15122025_15_08_25_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/07/image_15122025_15_07_34_9652.jpg
/home/pi/Desktop/images/15122025/15/07/image_15122025_15_07_45_10658.jpg
/home/pi/Desktop/images/15122025/15/07/image_15122025_15_07_55_9649.jpg
/home/pi/Desktop/images/15122025/15/07/image_15122025_15_08_04_9776.jpg
/home/pi/Desktop/images/15122025/15/08/image_15122025_15_08_15_10781.jpg
/home/pi/Desktop/images/15122025/15/08/image_15122025_15_08_25_9648.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5287759304046631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 15:46:32.351786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 15:46:42.335309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_08_2654.jpg', '/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_12_3620.jpg', '/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_14_2681.jpg', '/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_18_3541.jpg', '/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_21_2688.jpg', '/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_23_2738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_08_2654.jpg
/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_12_3620.jpg
/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_14_2681.jpg
/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_18_3541.jpg
/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_21_2688.jpg
/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_23_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":["1399518926","1399518928","1399518922","1399518925","1399518924","1399518927"],"photo_ids_order":["1399518922","1399518924","1399518925","1399518926","1399518927","1399518928"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7b2ef460afd863d688374728fcb9c48d.jpg","text":"TemporaryFile(/tmp/multipartBody4493343449635361461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810063070,"filename":"image_05112025_15_19_18_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3dc537e9bbdfc516ee100d4c80d0306e.jpg","text":"TemporaryFile(/tmp/multipartBody5366203596030475062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810063070,"filename":"image_05112025_15_19_23_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/15/7e06794e519e5a646d653faf044d5fc8.jpg","text":"TemporaryFile(/tmp/multipartBody5429693305330476088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810063070,"filename":"image_05112025_15_19_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/15/99e8478af8d851336f2c2f2d7ca89a06.jpg","text":"TemporaryFile(/tmp/multipartBody2344803480604200680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810063070,"filename":"image_05112025_15_19_14_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/15/d455eecfea2b69ccad4e14bbfa3189ab.jpg","text":"TemporaryFile(/tmp/multipartBody8586065342409047550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810063070,"filename":"image_05112025_15_19_12_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/15/1592303fbe59bc6bbaa9afe463b4a9cd.jpg","text":"TemporaryFile(/tmp/multipartBody6172023700626317128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810063070,"filename":"image_05112025_15_19_21_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399518925","file1":"1399518924","file0":"1399518922","file4":"1399518927","file5":"1399518928","file3":"1399518926"},"map_files_photo_id_array":[{"photo_id":"1399518928","filename":"file5"},{"photo_id":"1399518925","filename":"file2"},{"photo_id":"1399518927","filename":"file4"},{"photo_id":"1399518924","filename":"file1"},{"photo_id":"1399518922","filename":"file0"},{"photo_id":"1399518926","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399518926":["hashtag1","hashtag2"]},{"1399518928":["hashtag1","hashtag2"]},{"1399518922":["hashtag1","hashtag2"]},{"1399518925":["hashtag1","hashtag2"]},{"1399518924":["hashtag1","hashtag2"]},{"1399518927":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399518926, 1399518928, 1399518922, 1399518925, 1399518924, 1399518927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49783134460449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 15:47:22.556424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/07/image_15122025_15_07_34_9652.jpg', '/home/pi/Desktop/images/15122025/15/07/image_15122025_15_07_45_10658.jpg', '/home/pi/Desktop/images/15122025/15/07/image_15122025_15_07_55_9649.jpg', '/home/pi/Desktop/images/15122025/15/07/image_15122025_15_08_04_9776.jpg', '/home/pi/Desktop/images/15122025/15/08/image_15122025_15_08_15_10781.jpg', '/home/pi/Desktop/images/15122025/15/08/image_15122025_15_08_25_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/07/image_15122025_15_07_34_9652.jpg
/home/pi/Desktop/images/15122025/15/07/image_15122025_15_07_45_10658.jpg
/home/pi/Desktop/images/15122025/15/07/image_15122025_15_07_55_9649.jpg
/home/pi/Desktop/images/15122025/15/07/image_15122025_15_08_04_9776.jpg
/home/pi/Desktop/images/15122025/15/08/image_15122025_15_08_15_10781.jpg
/home/pi/Desktop/images/15122025/15/08/image_15122025_15_08_25_9648.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5264358520507812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 15:47:32.568033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 15:47:42.711295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_26_2713.jpg', '/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_30_3689.jpg', '/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_32_2604.jpg', '/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_35_2690.jpg', '/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_39_3578.jpg', '/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_41_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_26_2713.jpg
/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_30_3689.jpg
/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_32_2604.jpg
/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_35_2690.jpg
/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_39_3578.jpg
/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_41_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":["1399518964","1399518961","1399518963","1399518957","1399518939","1399518962"],"photo_ids_order":["1399518939","1399518957","1399518961","1399518962","1399518963","1399518964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7b53f3573b974aa05f285a4aaa54d51b.jpg","text":"TemporaryFile(/tmp/multipartBody2646041838956501078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810123409,"filename":"image_05112025_15_19_41_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3fc0bf5bc295ec48a54b0bcd657da8dd.jpg","text":"TemporaryFile(/tmp/multipartBody3168810694845953091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810123409,"filename":"image_05112025_15_19_32_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/15/defa0050d202b2d5270c72db3538dc11.jpg","text":"TemporaryFile(/tmp/multipartBody1477800425118551390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810123409,"filename":"image_05112025_15_19_39_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/15/07195e2bbee4b70e04e18985cd653782.jpg","text":"TemporaryFile(/tmp/multipartBody8292586252117053621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810123409,"filename":"image_05112025_15_19_30_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/15/9f630d32ce0c45923faa0e44fe4c5f21.jpg","text":"TemporaryFile(/tmp/multipartBody2178312542724491767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810123409,"filename":"image_05112025_15_19_26_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/15/3d40adb4f20eb208f737b377cc972a0b.jpg","text":"TemporaryFile(/tmp/multipartBody394170168954029747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810123409,"filename":"image_05112025_15_19_35_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399518961","file1":"1399518957","file0":"1399518939","file4":"1399518963","file5":"1399518964","file3":"1399518962"},"map_files_photo_id_array":[{"photo_id":"1399518964","filename":"file5"},{"photo_id":"1399518961","filename":"file2"},{"photo_id":"1399518963","filename":"file4"},{"photo_id":"1399518957","filename":"file1"},{"photo_id":"1399518939","filename":"file0"},{"photo_id":"1399518962","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399518964":["hashtag1","hashtag2"]},{"1399518961":["hashtag1","hashtag2"]},{"1399518963":["hashtag1","hashtag2"]},{"1399518957":["hashtag1","hashtag2"]},{"1399518939":["hashtag1","hashtag2"]},{"1399518962":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399518964, 1399518961, 1399518963, 1399518957, 1399518939, 1399518962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46197485923767 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 15:48:22.037307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/07/image_15122025_15_07_34_9652.jpg', '/home/pi/Desktop/images/15122025/15/07/image_15122025_15_07_45_10658.jpg', '/home/pi/Desktop/images/15122025/15/07/image_15122025_15_07_55_9649.jpg', '/home/pi/Desktop/images/15122025/15/07/image_15122025_15_08_04_9776.jpg', '/home/pi/Desktop/images/15122025/15/08/image_15122025_15_08_15_10781.jpg', '/home/pi/Desktop/images/15122025/15/08/image_15122025_15_08_25_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/07/image_15122025_15_07_34_9652.jpg
/home/pi/Desktop/images/15122025/15/07/image_15122025_15_07_45_10658.jpg
/home/pi/Desktop/images/15122025/15/07/image_15122025_15_07_55_9649.jpg
/home/pi/Desktop/images/15122025/15/07/image_15122025_15_08_04_9776.jpg
/home/pi/Desktop/images/15122025/15/08/image_15122025_15_08_15_10781.jpg
/home/pi/Desktop/images/15122025/15/08/image_15122025_15_08_25_9648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399518985","1399518979","1399518967","1399518981","1399518983","1399518965"],"photo_ids_order":["1399518965","1399518967","1399518979","1399518981","1399518983","1399518985"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c7e5557da67e771957526284a53d969c.jpg","text":"TemporaryFile(/tmp/multipartBody7327581529617352311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810162671,"filename":"image_15122025_15_08_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/15/8d6cd92d96d58f94c718754d394df597.jpg","text":"TemporaryFile(/tmp/multipartBody7913293325808836804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810162671,"filename":"image_15122025_15_07_55_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9b1bf27512d15a62eb4d62c011eac939.jpg","text":"TemporaryFile(/tmp/multipartBody2606474685597254973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810162671,"filename":"image_15122025_15_07_45_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/46f08ee06daadc4c711a8d463222aaf6.jpg","text":"TemporaryFile(/tmp/multipartBody4618963437945392437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810162671,"filename":"image_15122025_15_08_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/15/9bf1ebf8451db6fac322f89a1acdc011.jpg","text":"TemporaryFile(/tmp/multipartBody7245386749107226220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810162671,"filename":"image_15122025_15_08_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/15/510d2cdc9da7b4f001cd89ed5fdecdce.jpg","text":"TemporaryFile(/tmp/multipartBody8293583474433677622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810162671,"filename":"image_15122025_15_07_34_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399518979","file1":"1399518967","file0":"1399518965","file4":"1399518983","file5":"1399518985","file3":"1399518981"},"map_files_photo_id_array":[{"photo_id":"1399518985","filename":"file5"},{"photo_id":"1399518979","filename":"file2"},{"photo_id":"1399518983","filename":"file4"},{"photo_id":"1399518967","filename":"file1"},{"photo_id":"1399518965","filename":"file0"},{"photo_id":"1399518981","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399518985":["hashtag1","hashtag2"]},{"1399518979":["hashtag1","hashtag2"]},{"1399518967":["hashtag1","hashtag2"]},{"1399518981":["hashtag1","hashtag2"]},{"1399518983":["hashtag1","hashtag2"]},{"1399518965":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399518985, 1399518979, 1399518967, 1399518981, 1399518983, 1399518965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.87527680397034 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-15 15:49:13.446649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 15:49:23.453748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/08/image_15122025_15_08_44_9689.jpg', '/home/pi/Desktop/images/15122025/15/08/image_15122025_15_08_55_10647.jpg', '/home/pi/Desktop/images/15122025/15/08/image_15122025_15_09_05_9848.jpg', '/home/pi/Desktop/images/15122025/15/09/image_15122025_15_09_14_9745.jpg', '/home/pi/Desktop/images/15122025/15/09/image_15122025_15_09_35_10711.jpg', '/home/pi/Desktop/images/15122025/15/09/image_15122025_15_09_45_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/08/image_15122025_15_08_44_9689.jpg
/home/pi/Desktop/images/15122025/15/08/image_15122025_15_08_55_10647.jpg
/home/pi/Desktop/images/15122025/15/08/image_15122025_15_09_05_9848.jpg
/home/pi/Desktop/images/15122025/15/09/image_15122025_15_09_14_9745.jpg
/home/pi/Desktop/images/15122025/15/09/image_15122025_15_09_35_10711.jpg
/home/pi/Desktop/images/15122025/15/09/image_15122025_15_09_45_9714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399519327","1399519309","1399519272","1399519337","1399519232","1399519334"],"photo_ids_order":["1399519232","1399519272","1399519309","1399519327","1399519334","1399519337"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/92d5ce06bc5e6bc4c193e7dcd177ec2c.jpg","text":"TemporaryFile(/tmp/multipartBody1467029930912048833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810224088,"filename":"image_15122025_15_09_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/15/c09c4400682be6e38dc9989d6f8962ff.jpg","text":"TemporaryFile(/tmp/multipartBody2851090547869641364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810224088,"filename":"image_15122025_15_09_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/15/6913c0124abdf4a7d690e44d44574129.jpg","text":"TemporaryFile(/tmp/multipartBody5547737799752319226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810224088,"filename":"image_15122025_15_08_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/15/0e5a7ff9b18b483d90ec0553edc702cd.jpg","text":"TemporaryFile(/tmp/multipartBody2162876370610735439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810224088,"filename":"image_15122025_15_09_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/15/082facda9c4386b90320936be04e4dc0.jpg","text":"TemporaryFile(/tmp/multipartBody4194698648951524962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810224088,"filename":"image_15122025_15_08_44_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/27c0bd494638365fa83036f7a3265dce.jpg","text":"TemporaryFile(/tmp/multipartBody7874317400003433445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810224088,"filename":"image_15122025_15_09_35_10711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399519309","file1":"1399519272","file0":"1399519232","file4":"1399519334","file5":"1399519337","file3":"1399519327"},"map_files_photo_id_array":[{"photo_id":"1399519337","filename":"file5"},{"photo_id":"1399519309","filename":"file2"},{"photo_id":"1399519334","filename":"file4"},{"photo_id":"1399519272","filename":"file1"},{"photo_id":"1399519232","filename":"file0"},{"photo_id":"1399519327","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399519327":["hashtag1","hashtag2"]},{"1399519309":["hashtag1","hashtag2"]},{"1399519272":["hashtag1","hashtag2"]},{"1399519337":["hashtag1","hashtag2"]},{"1399519232":["hashtag1","hashtag2"]},{"1399519334":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399519327, 1399519309, 1399519272, 1399519337, 1399519232, 1399519334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93895149230957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 15:50:03.129247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/09/image_15122025_15_09_54_9742.jpg', '/home/pi/Desktop/images/15122025/15/09/image_15122025_15_10_05_10747.jpg', '/home/pi/Desktop/images/15122025/15/10/image_15122025_15_10_15_9472.jpg', '/home/pi/Desktop/images/15122025/15/10/image_15122025_15_10_24_9711.jpg', '/home/pi/Desktop/images/15122025/15/10/image_15122025_15_10_35_10764.jpg', '/home/pi/Desktop/images/15122025/15/10/image_15122025_15_10_45_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/09/image_15122025_15_09_54_9742.jpg
/home/pi/Desktop/images/15122025/15/09/image_15122025_15_10_05_10747.jpg
/home/pi/Desktop/images/15122025/15/10/image_15122025_15_10_15_9472.jpg
/home/pi/Desktop/images/15122025/15/10/image_15122025_15_10_24_9711.jpg
/home/pi/Desktop/images/15122025/15/10/image_15122025_15_10_35_10764.jpg
/home/pi/Desktop/images/15122025/15/10/image_15122025_15_10_45_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":["1399519342","1399519345","1399519339","1399519347","1399519344","1399519343"],"photo_ids_order":["1399519339","1399519342","1399519343","1399519344","1399519345","1399519347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/979b23d6d88dc20285b6f8380124f617.jpg","text":"TemporaryFile(/tmp/multipartBody8865119155378119424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810263767,"filename":"image_15122025_15_10_05_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e9c026cec0bbe9c8aa5f91fab8399e45.jpg","text":"TemporaryFile(/tmp/multipartBody4969487746717556535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810263767,"filename":"image_15122025_15_10_35_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/15/ff0c1d774aa9c562dc3be599ab7c0dc8.jpg","text":"TemporaryFile(/tmp/multipartBody6742157672515891712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810263767,"filename":"image_15122025_15_09_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/15/a8d65c476d05417b606733bc32346354.jpg","text":"TemporaryFile(/tmp/multipartBody7178720181314774214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810263767,"filename":"image_15122025_15_10_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/15/9dc7853ae729625f85dddc3f11cf60d5.jpg","text":"TemporaryFile(/tmp/multipartBody3170539299845736398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810263767,"filename":"image_15122025_15_10_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/15/42a32bd638bdad752f22749d3ba7a7ef.jpg","text":"TemporaryFile(/tmp/multipartBody2432728812683547361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810263767,"filename":"image_15122025_15_10_15_9472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399519343","file1":"1399519342","file0":"1399519339","file4":"1399519345","file5":"1399519347","file3":"1399519344"},"map_files_photo_id_array":[{"photo_id":"1399519347","filename":"file5"},{"photo_id":"1399519343","filename":"file2"},{"photo_id":"1399519345","filename":"file4"},{"photo_id":"1399519342","filename":"file1"},{"photo_id":"1399519339","filename":"file0"},{"photo_id":"1399519344","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399519342":["hashtag1","hashtag2"]},{"1399519345":["hashtag1","hashtag2"]},{"1399519339":["hashtag1","hashtag2"]},{"1399519347":["hashtag1","hashtag2"]},{"1399519344":["hashtag1","hashtag2"]},{"1399519343":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399519342, 1399519345, 1399519339, 1399519347, 1399519344, 1399519343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50437569618225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 15:50:42.613423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_44_2721.jpg', '/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_48_3644.jpg', '/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_50_2787.jpg', '/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_53_2662.jpg', '/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_57_3676.jpg', '/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_59_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_44_2721.jpg
/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_48_3644.jpg
/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_50_2787.jpg
/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_53_2662.jpg
/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_57_3676.jpg
/home/pi/Desktop/images/05112025/15/19/image_05112025_15_19_59_2663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399519375","1399519377","1399519374","1399519373","1399519361","1399519352"],"photo_ids_order":["1399519352","1399519361","1399519373","1399519374","1399519375","1399519377"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2bdad12579835c4702df9f4ca6085f6f.jpg","text":"TemporaryFile(/tmp/multipartBody1448123956144415863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810303320,"filename":"image_05112025_15_19_57_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/15/b27c29996921d34ef3b7eced4a51e8a7.jpg","text":"TemporaryFile(/tmp/multipartBody8172522573668316863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810303320,"filename":"image_05112025_15_19_59_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/15/b57e0450d49af6b9056b5284278e8c34.jpg","text":"TemporaryFile(/tmp/multipartBody3170747343027853474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810303320,"filename":"image_05112025_15_19_53_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/15/8c4c080838e9287045fa723955bbbcc6.jpg","text":"TemporaryFile(/tmp/multipartBody3751209065730456247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810303320,"filename":"image_05112025_15_19_50_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/15/90eb5b092c22cc790d1d0dbd9e857efd.jpg","text":"TemporaryFile(/tmp/multipartBody130116747828887415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810303320,"filename":"image_05112025_15_19_48_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/90dcf77967fc65eb15e26cf8e783b78d.jpg","text":"TemporaryFile(/tmp/multipartBody6562463345497731247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810303320,"filename":"image_05112025_15_19_44_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399519373","file1":"1399519361","file0":"1399519352","file4":"1399519375","file5":"1399519377","file3":"1399519374"},"map_files_photo_id_array":[{"photo_id":"1399519377","filename":"file5"},{"photo_id":"1399519373","filename":"file2"},{"photo_id":"1399519375","filename":"file4"},{"photo_id":"1399519361","filename":"file1"},{"photo_id":"1399519352","filename":"file0"},{"photo_id":"1399519374","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399519375":["hashtag1","hashtag2"]},{"1399519377":["hashtag1","hashtag2"]},{"1399519374":["hashtag1","hashtag2"]},{"1399519373":["hashtag1","hashtag2"]},{"1399519361":["hashtag1","hashtag2"]},{"1399519352":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399519375, 1399519377, 1399519374, 1399519373, 1399519361, 1399519352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07308483123779 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 15:51:21.848257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/10/image_15122025_15_10_54_9756.jpg', '/home/pi/Desktop/images/15122025/15/10/image_15122025_15_11_05_10631.jpg', '/home/pi/Desktop/images/15122025/15/11/image_15122025_15_11_15_9636.jpg', '/home/pi/Desktop/images/15122025/15/11/image_15122025_15_11_24_9767.jpg', '/home/pi/Desktop/images/15122025/15/11/image_15122025_15_11_35_10705.jpg', '/home/pi/Desktop/images/15122025/15/11/image_15122025_15_11_45_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/10/image_15122025_15_10_54_9756.jpg
/home/pi/Desktop/images/15122025/15/10/image_15122025_15_11_05_10631.jpg
/home/pi/Desktop/images/15122025/15/11/image_15122025_15_11_15_9636.jpg
/home/pi/Desktop/images/15122025/15/11/image_15122025_15_11_24_9767.jpg
/home/pi/Desktop/images/15122025/15/11/image_15122025_15_11_35_10705.jpg
/home/pi/Desktop/images/15122025/15/11/image_15122025_15_11_45_9695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399519396","1399519378","1399519383","1399519380","1399519385","1399519387"],"photo_ids_order":["1399519378","1399519380","1399519383","1399519385","1399519387","1399519396"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/052636d77dff6e672a3f45591412c2c4.jpg","text":"TemporaryFile(/tmp/multipartBody3567415783585427022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810342476,"filename":"image_15122025_15_11_45_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e0774224b0e12cf02bc0b0b8df3243e2.jpg","text":"TemporaryFile(/tmp/multipartBody3280887057362377016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810342476,"filename":"image_15122025_15_10_54_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/19af9ae8b718af46594abca6a76615eb.jpg","text":"TemporaryFile(/tmp/multipartBody6536103835859600668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810342476,"filename":"image_15122025_15_11_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/15/e610c67d72acee4569ea07c242c8cc26.jpg","text":"TemporaryFile(/tmp/multipartBody8630589340776279874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810342476,"filename":"image_15122025_15_11_05_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/39ba4aae0ab0e2a3e790a351de828479.jpg","text":"TemporaryFile(/tmp/multipartBody771495613396187054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810342476,"filename":"image_15122025_15_11_24_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e6603e2f67cf654d89d98caf8014d9f2.jpg","text":"TemporaryFile(/tmp/multipartBody3504316090406955253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810342476,"filename":"image_15122025_15_11_35_10705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399519383","file1":"1399519380","file0":"1399519378","file4":"1399519387","file5":"1399519396","file3":"1399519385"},"map_files_photo_id_array":[{"photo_id":"1399519396","filename":"file5"},{"photo_id":"1399519383","filename":"file2"},{"photo_id":"1399519387","filename":"file4"},{"photo_id":"1399519380","filename":"file1"},{"photo_id":"1399519378","filename":"file0"},{"photo_id":"1399519385","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399519396":["hashtag1","hashtag2"]},{"1399519378":["hashtag1","hashtag2"]},{"1399519383":["hashtag1","hashtag2"]},{"1399519380":["hashtag1","hashtag2"]},{"1399519385":["hashtag1","hashtag2"]},{"1399519387":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399519396, 1399519378, 1399519383, 1399519380, 1399519385, 1399519387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.401175022125244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 15:52:02.719094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/11/image_15122025_15_11_55_9773.jpg', '/home/pi/Desktop/images/15122025/15/11/image_15122025_15_12_04_9604.jpg', '/home/pi/Desktop/images/15122025/15/12/image_15122025_15_12_15_10860.jpg', '/home/pi/Desktop/images/15122025/15/12/image_15122025_15_12_25_9731.jpg', '/home/pi/Desktop/images/15122025/15/12/image_15122025_15_12_34_9678.jpg', '/home/pi/Desktop/images/15122025/15/12/image_15122025_15_12_55_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/11/image_15122025_15_11_55_9773.jpg
/home/pi/Desktop/images/15122025/15/11/image_15122025_15_12_04_9604.jpg
/home/pi/Desktop/images/15122025/15/12/image_15122025_15_12_15_10860.jpg
/home/pi/Desktop/images/15122025/15/12/image_15122025_15_12_25_9731.jpg
/home/pi/Desktop/images/15122025/15/12/image_15122025_15_12_34_9678.jpg
/home/pi/Desktop/images/15122025/15/12/image_15122025_15_12_55_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399519429","1399519432","1399519428","1399519422","1399519430","1399519406"],"photo_ids_order":["1399519406","1399519422","1399519428","1399519429","1399519430","1399519432"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/521ef2545db42ed98750a2b79010832f.jpg","text":"TemporaryFile(/tmp/multipartBody533990646295399335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810383373,"filename":"image_15122025_15_12_25_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3b836b1f848c3a49efc66a9a7c3c258a.jpg","text":"TemporaryFile(/tmp/multipartBody3357647553111718141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810383373,"filename":"image_15122025_15_12_55_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8734733909f322013e5b4cab0ce03bda.jpg","text":"TemporaryFile(/tmp/multipartBody7546310797854870969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810383373,"filename":"image_15122025_15_12_15_10860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/aead93596675e9ece6c024563efae746.jpg","text":"TemporaryFile(/tmp/multipartBody2586707611603434897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810383373,"filename":"image_15122025_15_12_04_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e6fd847117674e13f6ee1d0ed64a0530.jpg","text":"TemporaryFile(/tmp/multipartBody1383986914723588093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810383373,"filename":"image_15122025_15_12_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/15/7e8a33c240f7af6c9e0dca3d467cab26.jpg","text":"TemporaryFile(/tmp/multipartBody2548817442900722689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810383373,"filename":"image_15122025_15_11_55_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399519428","file1":"1399519422","file0":"1399519406","file4":"1399519430","file5":"1399519432","file3":"1399519429"},"map_files_photo_id_array":[{"photo_id":"1399519432","filename":"file5"},{"photo_id":"1399519428","filename":"file2"},{"photo_id":"1399519430","filename":"file4"},{"photo_id":"1399519422","filename":"file1"},{"photo_id":"1399519406","filename":"file0"},{"photo_id":"1399519429","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399519429":["hashtag1","hashtag2"]},{"1399519432":["hashtag1","hashtag2"]},{"1399519428":["hashtag1","hashtag2"]},{"1399519422":["hashtag1","hashtag2"]},{"1399519430":["hashtag1","hashtag2"]},{"1399519406":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399519429, 1399519432, 1399519428, 1399519422, 1399519430, 1399519406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30756378173828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 15:52:42.209808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_02_2801.jpg', '/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_05_2669.jpg', '/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_08_3015.jpg', '/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_12_3802.jpg', '/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_14_2628.jpg', '/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_17_2559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_02_2801.jpg
/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_05_2669.jpg
/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_08_3015.jpg
/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_12_3802.jpg
/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_14_2628.jpg
/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_17_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":["1399519441","1399519444","1399519438","1399519440","1399519443","1399519442"],"photo_ids_order":["1399519438","1399519440","1399519441","1399519442","1399519443","1399519444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1cd1dec97aa75ffb2f5834a26e80db22.jpg","text":"TemporaryFile(/tmp/multipartBody7580272420672117669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810422915,"filename":"image_05112025_15_20_08_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/333959f17d05eaef14ad185769604196.jpg","text":"TemporaryFile(/tmp/multipartBody8810160378500107478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810422915,"filename":"image_05112025_15_20_17_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/15/9a57c748a5e738e1840425f456eaa5a7.jpg","text":"TemporaryFile(/tmp/multipartBody5931299942727665617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810422915,"filename":"image_05112025_15_20_02_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/15/2b00e343d1b8e0d50cbde96b610a4a69.jpg","text":"TemporaryFile(/tmp/multipartBody4212026709973740975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810422915,"filename":"image_05112025_15_20_05_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/15/c75622227f6044e2778ed9aed54cb3b4.jpg","text":"TemporaryFile(/tmp/multipartBody6029429774066149960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810422915,"filename":"image_05112025_15_20_14_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/15/926707b54de9a77f6ae9de1434471b7c.jpg","text":"TemporaryFile(/tmp/multipartBody4065249719072630174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810422915,"filename":"image_05112025_15_20_12_3802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399519441","file1":"1399519440","file0":"1399519438","file4":"1399519443","file5":"1399519444","file3":"1399519442"},"map_files_photo_id_array":[{"photo_id":"1399519444","filename":"file5"},{"photo_id":"1399519441","filename":"file2"},{"photo_id":"1399519443","filename":"file4"},{"photo_id":"1399519440","filename":"file1"},{"photo_id":"1399519438","filename":"file0"},{"photo_id":"1399519442","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399519441":["hashtag1","hashtag2"]},{"1399519444":["hashtag1","hashtag2"]},{"1399519438":["hashtag1","hashtag2"]},{"1399519440":["hashtag1","hashtag2"]},{"1399519443":["hashtag1","hashtag2"]},{"1399519442":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399519441, 1399519444, 1399519438, 1399519440, 1399519443, 1399519442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68974566459656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 15:53:22.653599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/12/image_15122025_15_13_05_9764.jpg', '/home/pi/Desktop/images/15122025/15/13/image_15122025_15_13_14_9886.jpg', '/home/pi/Desktop/images/15122025/15/13/image_15122025_15_13_24_9872.jpg', '/home/pi/Desktop/images/15122025/15/13/image_15122025_15_13_35_10666.jpg', '/home/pi/Desktop/images/15122025/15/13/image_15122025_15_13_45_9694.jpg', '/home/pi/Desktop/images/15122025/15/13/image_15122025_15_13_54_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/12/image_15122025_15_13_05_9764.jpg
/home/pi/Desktop/images/15122025/15/13/image_15122025_15_13_14_9886.jpg
/home/pi/Desktop/images/15122025/15/13/image_15122025_15_13_24_9872.jpg
/home/pi/Desktop/images/15122025/15/13/image_15122025_15_13_35_10666.jpg
/home/pi/Desktop/images/15122025/15/13/image_15122025_15_13_45_9694.jpg
/home/pi/Desktop/images/15122025/15/13/image_15122025_15_13_54_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399519453","1399519450","1399519446","1399519451","1399519448","1399519465"],"photo_ids_order":["1399519446","1399519448","1399519450","1399519451","1399519453","1399519465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/21d14b1e4740cefe3b97bb134ce689eb.jpg","text":"TemporaryFile(/tmp/multipartBody7308916467943200094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810463337,"filename":"image_15122025_15_13_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/15/c30d4fa63d3aae28832a9fda10e80543.jpg","text":"TemporaryFile(/tmp/multipartBody7954858801428430514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810463337,"filename":"image_15122025_15_13_24_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/15/928a1808211dfe9869e29ddfad156e8f.jpg","text":"TemporaryFile(/tmp/multipartBody5928975463412287131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810463337,"filename":"image_15122025_15_13_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/15/8f40e10c7bf7188cf18d24f8e25d7805.jpg","text":"TemporaryFile(/tmp/multipartBody3993883597580050898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810463337,"filename":"image_15122025_15_13_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/15/bd81a86b5885be4598428c8d62e92125.jpg","text":"TemporaryFile(/tmp/multipartBody2888527016673317949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810463337,"filename":"image_15122025_15_13_14_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/15/fb3c6845f63468790aaa6bec9c02505b.jpg","text":"TemporaryFile(/tmp/multipartBody532632093002678160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810463337,"filename":"image_15122025_15_13_54_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399519450","file1":"1399519448","file0":"1399519446","file4":"1399519453","file5":"1399519465","file3":"1399519451"},"map_files_photo_id_array":[{"photo_id":"1399519465","filename":"file5"},{"photo_id":"1399519450","filename":"file2"},{"photo_id":"1399519453","filename":"file4"},{"photo_id":"1399519448","filename":"file1"},{"photo_id":"1399519446","filename":"file0"},{"photo_id":"1399519451","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399519453":["hashtag1","hashtag2"]},{"1399519450":["hashtag1","hashtag2"]},{"1399519446":["hashtag1","hashtag2"]},{"1399519451":["hashtag1","hashtag2"]},{"1399519448":["hashtag1","hashtag2"]},{"1399519465":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399519453, 1399519450, 1399519446, 1399519451, 1399519448, 1399519465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71397042274475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 15:54:03.375770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/13/image_15122025_15_14_05_10679.jpg', '/home/pi/Desktop/images/15122025/15/14/image_15122025_15_14_15_9678.jpg', '/home/pi/Desktop/images/15122025/15/14/image_15122025_15_14_24_9800.jpg', '/home/pi/Desktop/images/15122025/15/14/image_15122025_15_14_35_10554.jpg', '/home/pi/Desktop/images/15122025/15/14/image_15122025_15_14_45_9674.jpg', '/home/pi/Desktop/images/15122025/15/14/image_15122025_15_14_54_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/13/image_15122025_15_14_05_10679.jpg
/home/pi/Desktop/images/15122025/15/14/image_15122025_15_14_15_9678.jpg
/home/pi/Desktop/images/15122025/15/14/image_15122025_15_14_24_9800.jpg
/home/pi/Desktop/images/15122025/15/14/image_15122025_15_14_35_10554.jpg
/home/pi/Desktop/images/15122025/15/14/image_15122025_15_14_45_9674.jpg
/home/pi/Desktop/images/15122025/15/14/image_15122025_15_14_54_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.6183435916900635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 15:54:12.734621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 15:54:22.731984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/13/image_15122025_15_14_05_10679.jpg', '/home/pi/Desktop/images/15122025/15/14/image_15122025_15_14_15_9678.jpg', '/home/pi/Desktop/images/15122025/15/14/image_15122025_15_14_24_9800.jpg', '/home/pi/Desktop/images/15122025/15/14/image_15122025_15_14_35_10554.jpg', '/home/pi/Desktop/images/15122025/15/14/image_15122025_15_14_45_9674.jpg', '/home/pi/Desktop/images/15122025/15/14/image_15122025_15_14_54_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/13/image_15122025_15_14_05_10679.jpg
/home/pi/Desktop/images/15122025/15/14/image_15122025_15_14_15_9678.jpg
/home/pi/Desktop/images/15122025/15/14/image_15122025_15_14_24_9800.jpg
/home/pi/Desktop/images/15122025/15/14/image_15122025_15_14_35_10554.jpg
/home/pi/Desktop/images/15122025/15/14/image_15122025_15_14_45_9674.jpg
/home/pi/Desktop/images/15122025/15/14/image_15122025_15_14_54_9702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399519488","1399519482","1399519485","1399519490","1399519493","1399519484"],"photo_ids_order":["1399519482","1399519484","1399519485","1399519488","1399519490","1399519493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e21256f139b6de55e8510139414f7ae9.jpg","text":"TemporaryFile(/tmp/multipartBody7363795785887202739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810523414,"filename":"image_15122025_15_14_35_10554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/198c652d88e012914564977f48d69282.jpg","text":"TemporaryFile(/tmp/multipartBody6972447890920894540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810523414,"filename":"image_15122025_15_14_05_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/edbb984846cf90ac975b4a1d644934c9.jpg","text":"TemporaryFile(/tmp/multipartBody1843278991714625400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810523414,"filename":"image_15122025_15_14_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/15/5f63baabd1445f446e3b539070c057d2.jpg","text":"TemporaryFile(/tmp/multipartBody6490792621656677777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810523414,"filename":"image_15122025_15_14_45_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/68cf0c75d39cff472d444eba40258c62.jpg","text":"TemporaryFile(/tmp/multipartBody6950037848491205871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810523414,"filename":"image_15122025_15_14_54_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a797de66c0e70364ab753b8b5d88ccc2.jpg","text":"TemporaryFile(/tmp/multipartBody5564097715007840156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810523414,"filename":"image_15122025_15_14_15_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399519485","file1":"1399519484","file0":"1399519482","file4":"1399519490","file5":"1399519493","file3":"1399519488"},"map_files_photo_id_array":[{"photo_id":"1399519493","filename":"file5"},{"photo_id":"1399519485","filename":"file2"},{"photo_id":"1399519490","filename":"file4"},{"photo_id":"1399519484","filename":"file1"},{"photo_id":"1399519482","filename":"file0"},{"photo_id":"1399519488","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399519488":["hashtag1","hashtag2"]},{"1399519482":["hashtag1","hashtag2"]},{"1399519485":["hashtag1","hashtag2"]},{"1399519490":["hashtag1","hashtag2"]},{"1399519493":["hashtag1","hashtag2"]},{"1399519484":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399519488, 1399519482, 1399519485, 1399519490, 1399519493, 1399519484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.254329204559326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 15:55:02.567148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/14/image_15122025_15_15_05_10673.jpg', '/home/pi/Desktop/images/15122025/15/15/image_15122025_15_15_15_9566.jpg', '/home/pi/Desktop/images/15122025/15/15/image_15122025_15_15_24_9735.jpg', '/home/pi/Desktop/images/15122025/15/15/image_15122025_15_15_35_10706.jpg', '/home/pi/Desktop/images/15122025/15/15/image_15122025_15_15_45_9656.jpg', '/home/pi/Desktop/images/15122025/15/15/image_15122025_15_15_54_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/14/image_15122025_15_15_05_10673.jpg
/home/pi/Desktop/images/15122025/15/15/image_15122025_15_15_15_9566.jpg
/home/pi/Desktop/images/15122025/15/15/image_15122025_15_15_24_9735.jpg
/home/pi/Desktop/images/15122025/15/15/image_15122025_15_15_35_10706.jpg
/home/pi/Desktop/images/15122025/15/15/image_15122025_15_15_45_9656.jpg
/home/pi/Desktop/images/15122025/15/15/image_15122025_15_15_54_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":["1399519495","1399519501","1399519497","1399519499","1399519496","1399519498"],"photo_ids_order":["1399519495","1399519496","1399519497","1399519498","1399519499","1399519501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/96b55ddd79e45e0bfa1f5547a89ba157.jpg","text":"TemporaryFile(/tmp/multipartBody2443489393744049640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810563232,"filename":"image_15122025_15_15_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/15/192e3b354e56e7aae5fd6521cbc960cd.jpg","text":"TemporaryFile(/tmp/multipartBody1189372295463623171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810563232,"filename":"image_15122025_15_15_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/15/f99dc2df6c820ab6d9c9f82a0e82661e.jpg","text":"TemporaryFile(/tmp/multipartBody536411276433017205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810563232,"filename":"image_15122025_15_15_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/15/4ba8d72b6afc6da89a453d9cd57ebf38.jpg","text":"TemporaryFile(/tmp/multipartBody1174927998919947772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810563232,"filename":"image_15122025_15_15_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/15/e832f8a783c8d3801d78f711d64ad359.jpg","text":"TemporaryFile(/tmp/multipartBody4589072949436764225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810563232,"filename":"image_15122025_15_15_15_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/15/a418224c49b4125ea407775994745db2.jpg","text":"TemporaryFile(/tmp/multipartBody6688727993509399392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810563232,"filename":"image_15122025_15_15_35_10706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399519497","file1":"1399519496","file0":"1399519495","file4":"1399519499","file5":"1399519501","file3":"1399519498"},"map_files_photo_id_array":[{"photo_id":"1399519501","filename":"file5"},{"photo_id":"1399519497","filename":"file2"},{"photo_id":"1399519499","filename":"file4"},{"photo_id":"1399519496","filename":"file1"},{"photo_id":"1399519495","filename":"file0"},{"photo_id":"1399519498","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399519495":["hashtag1","hashtag2"]},{"1399519501":["hashtag1","hashtag2"]},{"1399519497":["hashtag1","hashtag2"]},{"1399519499":["hashtag1","hashtag2"]},{"1399519496":["hashtag1","hashtag2"]},{"1399519498":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399519495, 1399519501, 1399519497, 1399519499, 1399519496, 1399519498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74512529373169 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 15:55:41.924216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_21_3781.jpg', '/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_23_2597.jpg', '/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_29_5999.jpg', '/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_31_1861.jpg', '/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_33_1570.jpg', '/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_35_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_21_3781.jpg
/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_23_2597.jpg
/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_29_5999.jpg
/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_31_1861.jpg
/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_33_1570.jpg
/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_35_2610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399519513","1399519515","1399519517","1399519511","1399519505","1399519508"],"photo_ids_order":["1399519505","1399519508","1399519511","1399519513","1399519515","1399519517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2068aea9e83562ef8240717167f768dc.jpg","text":"TemporaryFile(/tmp/multipartBody1848428248690108563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810602653,"filename":"image_05112025_15_20_31_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/15/24b3f9c73e424c0662896deb2830fd12.jpg","text":"TemporaryFile(/tmp/multipartBody286391052413840915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810602653,"filename":"image_05112025_15_20_33_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/15/dafe759b3671a9804f69007863187b14.jpg","text":"TemporaryFile(/tmp/multipartBody8701979919139569742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810602653,"filename":"image_05112025_15_20_35_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/15/f94619b66963b219c6ab57c0efbf911e.jpg","text":"TemporaryFile(/tmp/multipartBody5773434488182357973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810602653,"filename":"image_05112025_15_20_29_5999.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e1525ada88fcc4f426964b5377393998.jpg","text":"TemporaryFile(/tmp/multipartBody6847523282503688958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810602653,"filename":"image_05112025_15_20_21_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/15/167d451f726606e5dbfa23b24c4ebb3a.jpg","text":"TemporaryFile(/tmp/multipartBody1429181143191592568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810602653,"filename":"image_05112025_15_20_23_2597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399519511","file1":"1399519508","file0":"1399519505","file4":"1399519515","file5":"1399519517","file3":"1399519513"},"map_files_photo_id_array":[{"photo_id":"1399519517","filename":"file5"},{"photo_id":"1399519511","filename":"file2"},{"photo_id":"1399519515","filename":"file4"},{"photo_id":"1399519508","filename":"file1"},{"photo_id":"1399519505","filename":"file0"},{"photo_id":"1399519513","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399519513":["hashtag1","hashtag2"]},{"1399519515":["hashtag1","hashtag2"]},{"1399519517":["hashtag1","hashtag2"]},{"1399519511":["hashtag1","hashtag2"]},{"1399519505":["hashtag1","hashtag2"]},{"1399519508":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399519513, 1399519515, 1399519517, 1399519511, 1399519505, 1399519508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38415861129761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 15:56:22.174211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/15/image_15122025_15_16_05_10804.jpg', '/home/pi/Desktop/images/15122025/15/16/image_15122025_15_16_15_9873.jpg', '/home/pi/Desktop/images/15122025/15/16/image_15122025_15_16_25_9624.jpg', '/home/pi/Desktop/images/15122025/15/16/image_15122025_15_16_35_9895.jpg', '/home/pi/Desktop/images/15122025/15/16/image_15122025_15_16_44_9661.jpg', '/home/pi/Desktop/images/15122025/15/16/image_15122025_15_16_55_10705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/15/image_15122025_15_16_05_10804.jpg
/home/pi/Desktop/images/15122025/15/16/image_15122025_15_16_15_9873.jpg
/home/pi/Desktop/images/15122025/15/16/image_15122025_15_16_25_9624.jpg
/home/pi/Desktop/images/15122025/15/16/image_15122025_15_16_35_9895.jpg
/home/pi/Desktop/images/15122025/15/16/image_15122025_15_16_44_9661.jpg
/home/pi/Desktop/images/15122025/15/16/image_15122025_15_16_55_10705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399519522","1399519560","1399519542","1399519524","1399519521","1399519547"],"photo_ids_order":["1399519521","1399519522","1399519524","1399519542","1399519547","1399519560"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2e3712a7ed1f82cbcea4bccae614f189.jpg","text":"TemporaryFile(/tmp/multipartBody4274414932390585090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810642854,"filename":"image_15122025_15_16_15_9873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dae43a96d7d0a4de4f6ba2ac258e3431.jpg","text":"TemporaryFile(/tmp/multipartBody6713754375647969303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810642854,"filename":"image_15122025_15_16_55_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f73523d2faf2974f947a7f528ed9f6a8.jpg","text":"TemporaryFile(/tmp/multipartBody6068553083972233938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810642854,"filename":"image_15122025_15_16_35_9895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/007fd1cbf175cc13509ef26d7ae52cd8.jpg","text":"TemporaryFile(/tmp/multipartBody2427950854317925626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810642854,"filename":"image_15122025_15_16_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/15/de7c3da798e3eec4ba6b966f568ca231.jpg","text":"TemporaryFile(/tmp/multipartBody2341509302565845146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810642854,"filename":"image_15122025_15_16_05_10804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/325ed5a585e266acc864c1ba99333999.jpg","text":"TemporaryFile(/tmp/multipartBody2302990952022636634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810642854,"filename":"image_15122025_15_16_44_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399519524","file1":"1399519522","file0":"1399519521","file4":"1399519547","file5":"1399519560","file3":"1399519542"},"map_files_photo_id_array":[{"photo_id":"1399519560","filename":"file5"},{"photo_id":"1399519524","filename":"file2"},{"photo_id":"1399519547","filename":"file4"},{"photo_id":"1399519522","filename":"file1"},{"photo_id":"1399519521","filename":"file0"},{"photo_id":"1399519542","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399519522":["hashtag1","hashtag2"]},{"1399519560":["hashtag1","hashtag2"]},{"1399519542":["hashtag1","hashtag2"]},{"1399519524":["hashtag1","hashtag2"]},{"1399519521":["hashtag1","hashtag2"]},{"1399519547":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399519522, 1399519560, 1399519542, 1399519524, 1399519521, 1399519547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23629879951477 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 15:57:03.133084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/16/image_15122025_15_17_05_9614.jpg', '/home/pi/Desktop/images/15122025/15/17/image_15122025_15_17_14_9667.jpg', '/home/pi/Desktop/images/15122025/15/17/image_15122025_15_17_25_10631.jpg', '/home/pi/Desktop/images/15122025/15/17/image_15122025_15_17_35_9781.jpg', '/home/pi/Desktop/images/15122025/15/17/image_15122025_15_17_44_9765.jpg', '/home/pi/Desktop/images/15122025/15/17/image_15122025_15_17_55_10734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/16/image_15122025_15_17_05_9614.jpg
/home/pi/Desktop/images/15122025/15/17/image_15122025_15_17_14_9667.jpg
/home/pi/Desktop/images/15122025/15/17/image_15122025_15_17_25_10631.jpg
/home/pi/Desktop/images/15122025/15/17/image_15122025_15_17_35_9781.jpg
/home/pi/Desktop/images/15122025/15/17/image_15122025_15_17_44_9765.jpg
/home/pi/Desktop/images/15122025/15/17/image_15122025_15_17_55_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":["1399519587","1399519596","1399519590","1399519598","1399519592","1399519594"],"photo_ids_order":["1399519587","1399519590","1399519592","1399519594","1399519596","1399519598"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a028659e4805cd9f63e209610a6fb85e.jpg","text":"TemporaryFile(/tmp/multipartBody4760512728132447140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810683847,"filename":"image_15122025_15_17_05_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5b9c0d4d2293a1213ddecb447e8f34cd.jpg","text":"TemporaryFile(/tmp/multipartBody7311921178411688926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810683847,"filename":"image_15122025_15_17_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/15/e75cd9d10d25b5f615890ee2a59ae298.jpg","text":"TemporaryFile(/tmp/multipartBody9110610449745486941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810683847,"filename":"image_15122025_15_17_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/15/ee15104ee8fcd78fa5326292b9cc714b.jpg","text":"TemporaryFile(/tmp/multipartBody7591731757059758417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810683847,"filename":"image_15122025_15_17_55_10734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cba036929e723549c21610cd4dafb140.jpg","text":"TemporaryFile(/tmp/multipartBody43932175992874318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810683847,"filename":"image_15122025_15_17_25_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/81d4de34c9ac959e79767f9b0c0a1d0b.jpg","text":"TemporaryFile(/tmp/multipartBody835377775877497283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810683847,"filename":"image_15122025_15_17_35_9781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399519592","file1":"1399519590","file0":"1399519587","file4":"1399519596","file5":"1399519598","file3":"1399519594"},"map_files_photo_id_array":[{"photo_id":"1399519598","filename":"file5"},{"photo_id":"1399519592","filename":"file2"},{"photo_id":"1399519596","filename":"file4"},{"photo_id":"1399519590","filename":"file1"},{"photo_id":"1399519587","filename":"file0"},{"photo_id":"1399519594","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399519587":["hashtag1","hashtag2"]},{"1399519596":["hashtag1","hashtag2"]},{"1399519590":["hashtag1","hashtag2"]},{"1399519598":["hashtag1","hashtag2"]},{"1399519592":["hashtag1","hashtag2"]},{"1399519594":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399519587, 1399519596, 1399519590, 1399519598, 1399519592, 1399519594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.756324768066406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 15:57:42.444283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_38_2618.jpg', '/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_42_3634.jpg', '/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_44_2652.jpg', '/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_47_2535.jpg', '/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_50_3604.jpg', '/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_53_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_38_2618.jpg
/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_42_3634.jpg
/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_44_2652.jpg
/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_47_2535.jpg
/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_50_3604.jpg
/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_53_2713.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399519609","1399519600","1399519603","1399519611","1399519605","1399519607"],"photo_ids_order":["1399519600","1399519603","1399519605","1399519607","1399519609","1399519611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/11df6b50cba26fa6117018d5155514ec.jpg","text":"TemporaryFile(/tmp/multipartBody6801977579882538713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810723136,"filename":"image_05112025_15_20_50_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/15/bbb055da23c749bdf3adc4a29e706cc3.jpg","text":"TemporaryFile(/tmp/multipartBody3305381911358861852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810723136,"filename":"image_05112025_15_20_38_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/15/3e0e9e8f8339ee9e26403865814b292f.jpg","text":"TemporaryFile(/tmp/multipartBody603170693476778596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810723136,"filename":"image_05112025_15_20_42_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/15/5a0f1639f2e4093abc6d64dd6082cc7f.jpg","text":"TemporaryFile(/tmp/multipartBody3564551075858120899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810723136,"filename":"image_05112025_15_20_53_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/91c1672baf93c7d104467dc840125c65.jpg","text":"TemporaryFile(/tmp/multipartBody2821261300696913806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810723136,"filename":"image_05112025_15_20_44_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/15/b872a41aedfe45b88ea91b8caf34ff94.jpg","text":"TemporaryFile(/tmp/multipartBody7023939225821357383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810723136,"filename":"image_05112025_15_20_47_2535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399519605","file1":"1399519603","file0":"1399519600","file4":"1399519609","file5":"1399519611","file3":"1399519607"},"map_files_photo_id_array":[{"photo_id":"1399519611","filename":"file5"},{"photo_id":"1399519605","filename":"file2"},{"photo_id":"1399519609","filename":"file4"},{"photo_id":"1399519603","filename":"file1"},{"photo_id":"1399519600","filename":"file0"},{"photo_id":"1399519607","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399519609":["hashtag1","hashtag2"]},{"1399519600":["hashtag1","hashtag2"]},{"1399519603":["hashtag1","hashtag2"]},{"1399519611":["hashtag1","hashtag2"]},{"1399519605":["hashtag1","hashtag2"]},{"1399519607":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399519609, 1399519600, 1399519603, 1399519611, 1399519605, 1399519607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.099109411239624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 15:59:02.652412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/17/image_15122025_15_18_05_9702.jpg', '/home/pi/Desktop/images/15122025/15/18/image_15122025_15_18_15_9724.jpg', '/home/pi/Desktop/images/15122025/15/18/image_15122025_15_18_24_9683.jpg', '/home/pi/Desktop/images/15122025/15/18/image_15122025_15_18_35_10666.jpg', '/home/pi/Desktop/images/15122025/15/18/image_15122025_15_18_45_9688.jpg', '/home/pi/Desktop/images/15122025/15/18/image_15122025_15_18_54_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/17/image_15122025_15_18_05_9702.jpg
/home/pi/Desktop/images/15122025/15/18/image_15122025_15_18_15_9724.jpg
/home/pi/Desktop/images/15122025/15/18/image_15122025_15_18_24_9683.jpg
/home/pi/Desktop/images/15122025/15/18/image_15122025_15_18_35_10666.jpg
/home/pi/Desktop/images/15122025/15/18/image_15122025_15_18_45_9688.jpg
/home/pi/Desktop/images/15122025/15/18/image_15122025_15_18_54_9700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399519627","1399519630","1399519623","1399519614","1399519625","1399519619"],"photo_ids_order":["1399519614","1399519619","1399519623","1399519625","1399519627","1399519630"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e8bffcfd474a4bd07e8f4d7be3077c95.jpg","text":"TemporaryFile(/tmp/multipartBody8041803305676277719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810803515,"filename":"image_15122025_15_18_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/15/7a841330ff28a5c528028f29a985a601.jpg","text":"TemporaryFile(/tmp/multipartBody946334617305473683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810803515,"filename":"image_15122025_15_18_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/15/bc8500313cd5d2b3883acd7347278ebb.jpg","text":"TemporaryFile(/tmp/multipartBody6034642846687869069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810803515,"filename":"image_15122025_15_18_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/15/92f469bc7c63819c9bb11b729593871c.jpg","text":"TemporaryFile(/tmp/multipartBody7407253991709842190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810803515,"filename":"image_15122025_15_18_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/15/e89124d50d671b4365b42a93264cce2c.jpg","text":"TemporaryFile(/tmp/multipartBody3223304693832050932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810803515,"filename":"image_15122025_15_18_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/15/3b91aae4b66dcc81a6f4b4d1c58513da.jpg","text":"TemporaryFile(/tmp/multipartBody4735880910692422987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810803515,"filename":"image_15122025_15_18_15_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399519623","file1":"1399519619","file0":"1399519614","file4":"1399519627","file5":"1399519630","file3":"1399519625"},"map_files_photo_id_array":[{"photo_id":"1399519630","filename":"file5"},{"photo_id":"1399519623","filename":"file2"},{"photo_id":"1399519627","filename":"file4"},{"photo_id":"1399519619","filename":"file1"},{"photo_id":"1399519614","filename":"file0"},{"photo_id":"1399519625","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399519627":["hashtag1","hashtag2"]},{"1399519630":["hashtag1","hashtag2"]},{"1399519623":["hashtag1","hashtag2"]},{"1399519614":["hashtag1","hashtag2"]},{"1399519625":["hashtag1","hashtag2"]},{"1399519619":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399519627, 1399519630, 1399519623, 1399519614, 1399519625, 1399519619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.86685490608215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 16:00:02.572778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/18/image_15122025_15_19_05_10771.jpg', '/home/pi/Desktop/images/15122025/15/19/image_15122025_15_19_15_9670.jpg', '/home/pi/Desktop/images/15122025/15/19/image_15122025_15_19_24_9747.jpg', '/home/pi/Desktop/images/15122025/15/19/image_15122025_15_19_34_9823.jpg', '/home/pi/Desktop/images/15122025/15/19/image_15122025_15_19_45_10607.jpg', '/home/pi/Desktop/images/15122025/15/19/image_15122025_15_19_55_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/18/image_15122025_15_19_05_10771.jpg
/home/pi/Desktop/images/15122025/15/19/image_15122025_15_19_15_9670.jpg
/home/pi/Desktop/images/15122025/15/19/image_15122025_15_19_24_9747.jpg
/home/pi/Desktop/images/15122025/15/19/image_15122025_15_19_34_9823.jpg
/home/pi/Desktop/images/15122025/15/19/image_15122025_15_19_45_10607.jpg
/home/pi/Desktop/images/15122025/15/19/image_15122025_15_19_55_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.5568368434906006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 16:00:12.047891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 16:00:22.118953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/18/image_15122025_15_19_05_10771.jpg', '/home/pi/Desktop/images/15122025/15/19/image_15122025_15_19_15_9670.jpg', '/home/pi/Desktop/images/15122025/15/19/image_15122025_15_19_24_9747.jpg', '/home/pi/Desktop/images/15122025/15/19/image_15122025_15_19_34_9823.jpg', '/home/pi/Desktop/images/15122025/15/19/image_15122025_15_19_45_10607.jpg', '/home/pi/Desktop/images/15122025/15/19/image_15122025_15_19_55_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/18/image_15122025_15_19_05_10771.jpg
/home/pi/Desktop/images/15122025/15/19/image_15122025_15_19_15_9670.jpg
/home/pi/Desktop/images/15122025/15/19/image_15122025_15_19_24_9747.jpg
/home/pi/Desktop/images/15122025/15/19/image_15122025_15_19_34_9823.jpg
/home/pi/Desktop/images/15122025/15/19/image_15122025_15_19_45_10607.jpg
/home/pi/Desktop/images/15122025/15/19/image_15122025_15_19_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":["1399519669","1399519671","1399519665","1399519673","1399519667","1399519663"],"photo_ids_order":["1399519663","1399519665","1399519667","1399519669","1399519671","1399519673"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/934b27fe839c6f365dfdb1cbbb29a765.jpg","text":"TemporaryFile(/tmp/multipartBody1824525583410670502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810882736,"filename":"image_15122025_15_19_34_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1a7a0de9e3acbd063817bbfa90e1624d.jpg","text":"TemporaryFile(/tmp/multipartBody5305231756624309593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810882736,"filename":"image_15122025_15_19_45_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cc9252defcac2d9e7e69ec10e9e30ca2.jpg","text":"TemporaryFile(/tmp/multipartBody4783308267876321672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810882736,"filename":"image_15122025_15_19_15_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5d3123653d725a99c7bd09abe95446f9.jpg","text":"TemporaryFile(/tmp/multipartBody3728824454588400758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810882736,"filename":"image_15122025_15_19_55_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/15/b370ba577527ab38c9503446c5b7d825.jpg","text":"TemporaryFile(/tmp/multipartBody8544672866235866180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810882736,"filename":"image_15122025_15_19_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/15/97e00b9b93b2cf8fd7d931fe6b518e71.jpg","text":"TemporaryFile(/tmp/multipartBody4355789494975961421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810882736,"filename":"image_15122025_15_19_05_10771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399519667","file1":"1399519665","file0":"1399519663","file4":"1399519671","file5":"1399519673","file3":"1399519669"},"map_files_photo_id_array":[{"photo_id":"1399519673","filename":"file5"},{"photo_id":"1399519667","filename":"file2"},{"photo_id":"1399519671","filename":"file4"},{"photo_id":"1399519665","filename":"file1"},{"photo_id":"1399519663","filename":"file0"},{"photo_id":"1399519669","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399519669":["hashtag1","hashtag2"]},{"1399519671":["hashtag1","hashtag2"]},{"1399519665":["hashtag1","hashtag2"]},{"1399519673":["hashtag1","hashtag2"]},{"1399519667":["hashtag1","hashtag2"]},{"1399519663":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399519669, 1399519671, 1399519665, 1399519673, 1399519667, 1399519663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11022925376892 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 16:01:02.983410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/19/image_15122025_15_20_04_9706.jpg', '/home/pi/Desktop/images/15122025/15/20/image_15122025_15_20_15_10802.jpg', '/home/pi/Desktop/images/15122025/15/20/image_15122025_15_20_25_9595.jpg', '/home/pi/Desktop/images/15122025/15/20/image_15122025_15_20_34_9789.jpg', '/home/pi/Desktop/images/15122025/15/20/image_15122025_15_20_45_10617.jpg', '/home/pi/Desktop/images/15122025/15/20/image_15122025_15_20_55_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/19/image_15122025_15_20_04_9706.jpg
/home/pi/Desktop/images/15122025/15/20/image_15122025_15_20_15_10802.jpg
/home/pi/Desktop/images/15122025/15/20/image_15122025_15_20_25_9595.jpg
/home/pi/Desktop/images/15122025/15/20/image_15122025_15_20_34_9789.jpg
/home/pi/Desktop/images/15122025/15/20/image_15122025_15_20_45_10617.jpg
/home/pi/Desktop/images/15122025/15/20/image_15122025_15_20_55_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.6209855079650879 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 16:01:12.397787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 16:01:22.373234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/19/image_15122025_15_20_04_9706.jpg', '/home/pi/Desktop/images/15122025/15/20/image_15122025_15_20_15_10802.jpg', '/home/pi/Desktop/images/15122025/15/20/image_15122025_15_20_25_9595.jpg', '/home/pi/Desktop/images/15122025/15/20/image_15122025_15_20_34_9789.jpg', '/home/pi/Desktop/images/15122025/15/20/image_15122025_15_20_45_10617.jpg', '/home/pi/Desktop/images/15122025/15/20/image_15122025_15_20_55_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/19/image_15122025_15_20_04_9706.jpg
/home/pi/Desktop/images/15122025/15/20/image_15122025_15_20_15_10802.jpg
/home/pi/Desktop/images/15122025/15/20/image_15122025_15_20_25_9595.jpg
/home/pi/Desktop/images/15122025/15/20/image_15122025_15_20_34_9789.jpg
/home/pi/Desktop/images/15122025/15/20/image_15122025_15_20_45_10617.jpg
/home/pi/Desktop/images/15122025/15/20/image_15122025_15_20_55_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":["1399519686","1399519683","1399519691","1399519688","1399519681","1399519684"],"photo_ids_order":["1399519681","1399519683","1399519684","1399519686","1399519688","1399519691"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/eebcf1a3edddf23bf4b226d1afb38e1b.jpg","text":"TemporaryFile(/tmp/multipartBody4241200181585666102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810943030,"filename":"image_15122025_15_20_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/15/e881b9ea92f5661f2320ac52fcae273b.jpg","text":"TemporaryFile(/tmp/multipartBody7171244712027787087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810943030,"filename":"image_15122025_15_20_15_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/15/0f170cf3013662c8fa34bb97a2286e77.jpg","text":"TemporaryFile(/tmp/multipartBody5259973263513418546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810943030,"filename":"image_15122025_15_20_55_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5717ed870570269030692a5992e2780d.jpg","text":"TemporaryFile(/tmp/multipartBody9048042302486205701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810943030,"filename":"image_15122025_15_20_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/15/76d6c69012e1743687d63a41d30732c0.jpg","text":"TemporaryFile(/tmp/multipartBody4980072764640144998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810943030,"filename":"image_15122025_15_20_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/15/a932c1d48e1267089d47e4c033b1f7a5.jpg","text":"TemporaryFile(/tmp/multipartBody3280757729402141211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810943030,"filename":"image_15122025_15_20_25_9595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399519684","file1":"1399519683","file0":"1399519681","file4":"1399519688","file5":"1399519691","file3":"1399519686"},"map_files_photo_id_array":[{"photo_id":"1399519691","filename":"file5"},{"photo_id":"1399519684","filename":"file2"},{"photo_id":"1399519688","filename":"file4"},{"photo_id":"1399519683","filename":"file1"},{"photo_id":"1399519681","filename":"file0"},{"photo_id":"1399519686","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399519686":["hashtag1","hashtag2"]},{"1399519683":["hashtag1","hashtag2"]},{"1399519691":["hashtag1","hashtag2"]},{"1399519688":["hashtag1","hashtag2"]},{"1399519681":["hashtag1","hashtag2"]},{"1399519684":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399519686, 1399519683, 1399519691, 1399519688, 1399519681, 1399519684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13936901092529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 16:02:03.054377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/20/image_15122025_15_21_04_9675.jpg', '/home/pi/Desktop/images/15122025/15/21/image_15122025_15_21_14_9737.jpg', '/home/pi/Desktop/images/15122025/15/21/image_15122025_15_21_25_10664.jpg', '/home/pi/Desktop/images/15122025/15/21/image_15122025_15_21_35_9673.jpg', '/home/pi/Desktop/images/15122025/15/21/image_15122025_15_21_45_10577.jpg', '/home/pi/Desktop/images/15122025/15/21/image_15122025_15_21_55_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/20/image_15122025_15_21_04_9675.jpg
/home/pi/Desktop/images/15122025/15/21/image_15122025_15_21_14_9737.jpg
/home/pi/Desktop/images/15122025/15/21/image_15122025_15_21_25_10664.jpg
/home/pi/Desktop/images/15122025/15/21/image_15122025_15_21_35_9673.jpg
/home/pi/Desktop/images/15122025/15/21/image_15122025_15_21_45_10577.jpg
/home/pi/Desktop/images/15122025/15/21/image_15122025_15_21_55_9754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399519692","1399519695","1399519697","1399519694","1399519693","1399519699"],"photo_ids_order":["1399519692","1399519693","1399519694","1399519695","1399519697","1399519699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1558fcc21ec9666aa92e6078c28179fa.jpg","text":"TemporaryFile(/tmp/multipartBody1008179575614086113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810983705,"filename":"image_15122025_15_21_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/15/5219e7a15101cc644ebc7cd73e2c3516.jpg","text":"TemporaryFile(/tmp/multipartBody5916212370450361347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810983705,"filename":"image_15122025_15_21_35_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/59e5253a585246a6054b99664534df90.jpg","text":"TemporaryFile(/tmp/multipartBody3809717240436802599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810983705,"filename":"image_15122025_15_21_45_10577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5cfa99badb4d14f2bb2178ea24823720.jpg","text":"TemporaryFile(/tmp/multipartBody4585290801786219771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810983705,"filename":"image_15122025_15_21_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/15/428ae569220069babfa37c97ac4dc501.jpg","text":"TemporaryFile(/tmp/multipartBody719154312360225940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810983705,"filename":"image_15122025_15_21_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/15/1655587e6e24bba2cbfd4f83721e5309.jpg","text":"TemporaryFile(/tmp/multipartBody3810913888453806693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765810983705,"filename":"image_15122025_15_21_55_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399519694","file1":"1399519693","file0":"1399519692","file4":"1399519697","file5":"1399519699","file3":"1399519695"},"map_files_photo_id_array":[{"photo_id":"1399519699","filename":"file5"},{"photo_id":"1399519694","filename":"file2"},{"photo_id":"1399519697","filename":"file4"},{"photo_id":"1399519693","filename":"file1"},{"photo_id":"1399519692","filename":"file0"},{"photo_id":"1399519695","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399519692":["hashtag1","hashtag2"]},{"1399519695":["hashtag1","hashtag2"]},{"1399519697":["hashtag1","hashtag2"]},{"1399519694":["hashtag1","hashtag2"]},{"1399519693":["hashtag1","hashtag2"]},{"1399519699":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399519692, 1399519695, 1399519697, 1399519694, 1399519693, 1399519699)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.03863739967346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 16:03:02.524569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/21/image_15122025_15_22_05_9775.jpg', '/home/pi/Desktop/images/15122025/15/22/image_15122025_15_22_14_9724.jpg', '/home/pi/Desktop/images/15122025/15/22/image_15122025_15_22_25_10693.jpg', '/home/pi/Desktop/images/15122025/15/22/image_15122025_15_22_35_9555.jpg', '/home/pi/Desktop/images/15122025/15/22/image_15122025_15_22_45_10532.jpg', '/home/pi/Desktop/images/15122025/15/22/image_15122025_15_22_55_9911.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/21/image_15122025_15_22_05_9775.jpg
/home/pi/Desktop/images/15122025/15/22/image_15122025_15_22_14_9724.jpg
/home/pi/Desktop/images/15122025/15/22/image_15122025_15_22_25_10693.jpg
/home/pi/Desktop/images/15122025/15/22/image_15122025_15_22_35_9555.jpg
/home/pi/Desktop/images/15122025/15/22/image_15122025_15_22_45_10532.jpg
/home/pi/Desktop/images/15122025/15/22/image_15122025_15_22_55_9911.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399519708","1399519711","1399519705","1399519707","1399519706","1399519709"],"photo_ids_order":["1399519705","1399519706","1399519707","1399519708","1399519709","1399519711"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1bde49b397a3f7766f2be4379d1b9197.jpg","text":"TemporaryFile(/tmp/multipartBody4636302242711354354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811043248,"filename":"image_15122025_15_22_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/15/6ed121b5ce6748ffc9268cb60b5ce440.jpg","text":"TemporaryFile(/tmp/multipartBody6193551569127864787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811043248,"filename":"image_15122025_15_22_55_9911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5bc06d796938934689da3aa5d26a7ad3.jpg","text":"TemporaryFile(/tmp/multipartBody7993949784775863166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811043248,"filename":"image_15122025_15_22_05_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/15/d0d0997dea568617bb6f873510f24fe6.jpg","text":"TemporaryFile(/tmp/multipartBody5634438382218953293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811043248,"filename":"image_15122025_15_22_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/15/929f7aa8d0ae56cdefe2740473620cc4.jpg","text":"TemporaryFile(/tmp/multipartBody1849331182903265337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811043248,"filename":"image_15122025_15_22_14_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4151049e66072c80ead063529308a1fc.jpg","text":"TemporaryFile(/tmp/multipartBody2700504094558395985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811043248,"filename":"image_15122025_15_22_45_10532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399519707","file1":"1399519706","file0":"1399519705","file4":"1399519709","file5":"1399519711","file3":"1399519708"},"map_files_photo_id_array":[{"photo_id":"1399519711","filename":"file5"},{"photo_id":"1399519707","filename":"file2"},{"photo_id":"1399519709","filename":"file4"},{"photo_id":"1399519706","filename":"file1"},{"photo_id":"1399519705","filename":"file0"},{"photo_id":"1399519708","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399519708":["hashtag1","hashtag2"]},{"1399519711":["hashtag1","hashtag2"]},{"1399519705":["hashtag1","hashtag2"]},{"1399519707":["hashtag1","hashtag2"]},{"1399519706":["hashtag1","hashtag2"]},{"1399519709":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399519708, 1399519711, 1399519705, 1399519707, 1399519706, 1399519709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43282747268677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 16:03:41.797855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_56_2705.jpg', '/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_59_3687.jpg', '/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_02_2711.jpg', '/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_05_2865.jpg', '/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_08_2677.jpg', '/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_11_3707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_56_2705.jpg
/home/pi/Desktop/images/05112025/15/20/image_05112025_15_20_59_3687.jpg
/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_02_2711.jpg
/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_05_2865.jpg
/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_08_2677.jpg
/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_11_3707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399519738","1399519731","1399519725","1399519757","1399519715","1399519730"],"photo_ids_order":["1399519715","1399519725","1399519730","1399519731","1399519738","1399519757"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5fb1d488a991b811ecce621a989d6e8b.jpg","text":"TemporaryFile(/tmp/multipartBody3467768752079744883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811082500,"filename":"image_05112025_15_21_08_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/15/c5d5686b3e38cc29b341e27bbd0a14ba.jpg","text":"TemporaryFile(/tmp/multipartBody5051966635773133456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811082500,"filename":"image_05112025_15_21_05_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/15/ee798c76ece1c717466db0099d754b75.jpg","text":"TemporaryFile(/tmp/multipartBody1068185187835549916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811082500,"filename":"image_05112025_15_20_59_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/15/73c56ef0e8246fcf925e48993028a946.jpg","text":"TemporaryFile(/tmp/multipartBody2597072446515442735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811082500,"filename":"image_05112025_15_21_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/15/7f8a84f27aa41f6e7984658ed3695de6.jpg","text":"TemporaryFile(/tmp/multipartBody2200018737163395869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811082500,"filename":"image_05112025_15_20_56_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7e8b70d03eae156e6d6c0a8aa4dae576.jpg","text":"TemporaryFile(/tmp/multipartBody1726658896235970418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811082500,"filename":"image_05112025_15_21_02_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399519730","file1":"1399519725","file0":"1399519715","file4":"1399519738","file5":"1399519757","file3":"1399519731"},"map_files_photo_id_array":[{"photo_id":"1399519757","filename":"file5"},{"photo_id":"1399519730","filename":"file2"},{"photo_id":"1399519738","filename":"file4"},{"photo_id":"1399519725","filename":"file1"},{"photo_id":"1399519715","filename":"file0"},{"photo_id":"1399519731","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399519738":["hashtag1","hashtag2"]},{"1399519731":["hashtag1","hashtag2"]},{"1399519725":["hashtag1","hashtag2"]},{"1399519757":["hashtag1","hashtag2"]},{"1399519715":["hashtag1","hashtag2"]},{"1399519730":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399519738, 1399519731, 1399519725, 1399519757, 1399519715, 1399519730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88521456718445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 16:04:22.080297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/22/image_15122025_15_23_05_9754.jpg', '/home/pi/Desktop/images/15122025/15/23/image_15122025_15_23_14_9602.jpg', '/home/pi/Desktop/images/15122025/15/23/image_15122025_15_23_25_10639.jpg', '/home/pi/Desktop/images/15122025/15/23/image_15122025_15_23_35_9786.jpg', '/home/pi/Desktop/images/15122025/15/23/image_15122025_15_23_45_9774.jpg', '/home/pi/Desktop/images/15122025/15/23/image_15122025_15_23_54_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/22/image_15122025_15_23_05_9754.jpg
/home/pi/Desktop/images/15122025/15/23/image_15122025_15_23_14_9602.jpg
/home/pi/Desktop/images/15122025/15/23/image_15122025_15_23_25_10639.jpg
/home/pi/Desktop/images/15122025/15/23/image_15122025_15_23_35_9786.jpg
/home/pi/Desktop/images/15122025/15/23/image_15122025_15_23_45_9774.jpg
/home/pi/Desktop/images/15122025/15/23/image_15122025_15_23_54_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":["1399519788","1399519782","1399519800","1399519790","1399519792","1399519795"],"photo_ids_order":["1399519782","1399519788","1399519790","1399519792","1399519795","1399519800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a72dda9ab512eb9e0c995e26d2baafdb.jpg","text":"TemporaryFile(/tmp/multipartBody3225996223137776559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811122755,"filename":"image_15122025_15_23_14_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/46a513925b1edf57e46e345f81e6ebe9.jpg","text":"TemporaryFile(/tmp/multipartBody3015641417525037298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811122755,"filename":"image_15122025_15_23_05_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f857c6cfda14c630be97d522f1b57348.jpg","text":"TemporaryFile(/tmp/multipartBody3973399003147910754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811122755,"filename":"image_15122025_15_23_54_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1d9a3f8a21755c563bc5a06b4e8bcd40.jpg","text":"TemporaryFile(/tmp/multipartBody5048059249122811301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811122755,"filename":"image_15122025_15_23_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/15/e7ef47a1e2407697d5aaf0cbdaa3ed7c.jpg","text":"TemporaryFile(/tmp/multipartBody9066466567349228759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811122755,"filename":"image_15122025_15_23_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/15/70605e9a30003cdc241f4943e7a4b5e1.jpg","text":"TemporaryFile(/tmp/multipartBody1276732017443792258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811122755,"filename":"image_15122025_15_23_45_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399519790","file1":"1399519788","file0":"1399519782","file4":"1399519795","file5":"1399519800","file3":"1399519792"},"map_files_photo_id_array":[{"photo_id":"1399519800","filename":"file5"},{"photo_id":"1399519790","filename":"file2"},{"photo_id":"1399519795","filename":"file4"},{"photo_id":"1399519788","filename":"file1"},{"photo_id":"1399519782","filename":"file0"},{"photo_id":"1399519792","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399519788":["hashtag1","hashtag2"]},{"1399519782":["hashtag1","hashtag2"]},{"1399519800":["hashtag1","hashtag2"]},{"1399519790":["hashtag1","hashtag2"]},{"1399519792":["hashtag1","hashtag2"]},{"1399519795":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399519788, 1399519782, 1399519800, 1399519790, 1399519792, 1399519795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.626259326934814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 16:05:03.002529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/23/image_15122025_15_24_05_10722.jpg', '/home/pi/Desktop/images/15122025/15/24/image_15122025_15_24_15_9661.jpg', '/home/pi/Desktop/images/15122025/15/24/image_15122025_15_24_24_9553.jpg', '/home/pi/Desktop/images/15122025/15/24/image_15122025_15_24_35_10660.jpg', '/home/pi/Desktop/images/15122025/15/24/image_15122025_15_24_45_9662.jpg', '/home/pi/Desktop/images/15122025/15/24/image_15122025_15_24_54_9836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/23/image_15122025_15_24_05_10722.jpg
/home/pi/Desktop/images/15122025/15/24/image_15122025_15_24_15_9661.jpg
/home/pi/Desktop/images/15122025/15/24/image_15122025_15_24_24_9553.jpg
/home/pi/Desktop/images/15122025/15/24/image_15122025_15_24_35_10660.jpg
/home/pi/Desktop/images/15122025/15/24/image_15122025_15_24_45_9662.jpg
/home/pi/Desktop/images/15122025/15/24/image_15122025_15_24_54_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":["1399519813","1399519815","1399519814","1399519808","1399519817","1399519811"],"photo_ids_order":["1399519808","1399519811","1399519813","1399519814","1399519815","1399519817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/95ceefeaa6a88eaf7392dd78cf9c1326.jpg","text":"TemporaryFile(/tmp/multipartBody5543083999223180649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811163647,"filename":"image_15122025_15_24_24_9553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/824d13271c42046f0e44cca8735e8766.jpg","text":"TemporaryFile(/tmp/multipartBody3247839035995789022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811163647,"filename":"image_15122025_15_24_45_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/75a73bd271f75096b994956d4eac42ba.jpg","text":"TemporaryFile(/tmp/multipartBody6589733060068215170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811163647,"filename":"image_15122025_15_24_35_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1d88988c7e29d043b6804f902bc4d2d4.jpg","text":"TemporaryFile(/tmp/multipartBody3907519342204338002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811163647,"filename":"image_15122025_15_24_05_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cf0110e951f9883a052945cda1aa398e.jpg","text":"TemporaryFile(/tmp/multipartBody2788343497946715014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811163647,"filename":"image_15122025_15_24_54_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5dd6446132ae1b33502206aebf6c3d24.jpg","text":"TemporaryFile(/tmp/multipartBody8332103516192486331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811163647,"filename":"image_15122025_15_24_15_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399519813","file1":"1399519811","file0":"1399519808","file4":"1399519815","file5":"1399519817","file3":"1399519814"},"map_files_photo_id_array":[{"photo_id":"1399519817","filename":"file5"},{"photo_id":"1399519813","filename":"file2"},{"photo_id":"1399519815","filename":"file4"},{"photo_id":"1399519811","filename":"file1"},{"photo_id":"1399519808","filename":"file0"},{"photo_id":"1399519814","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399519813":["hashtag1","hashtag2"]},{"1399519815":["hashtag1","hashtag2"]},{"1399519814":["hashtag1","hashtag2"]},{"1399519808":["hashtag1","hashtag2"]},{"1399519817":["hashtag1","hashtag2"]},{"1399519811":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399519813, 1399519815, 1399519814, 1399519808, 1399519817, 1399519811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.043121099472046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 16:05:42.280183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_14_2700.jpg', '/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_17_2619.jpg', '/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_20_3668.jpg', '/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_23_2683.jpg', '/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_26_2609.jpg', '/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_29_3662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_14_2700.jpg
/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_17_2619.jpg
/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_20_3668.jpg
/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_23_2683.jpg
/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_26_2609.jpg
/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_29_3662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399519896","1399520028","1399519991","1399519973","1399519937","1399519996"],"photo_ids_order":["1399519896","1399519937","1399519973","1399519991","1399519996","1399520028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7e1d1eb55fe69a6a06a8ecb1153ec2f3.jpg","text":"TemporaryFile(/tmp/multipartBody1790414063865167549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811202978,"filename":"image_05112025_15_21_14_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/15/085659468ac060e8c69f853b94ac44e4.jpg","text":"TemporaryFile(/tmp/multipartBody7894897783356305875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811202978,"filename":"image_05112025_15_21_29_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0f2ccd4a8fae8101f845a6907b10e56f.jpg","text":"TemporaryFile(/tmp/multipartBody4871853193109988244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811202978,"filename":"image_05112025_15_21_23_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/15/d76fd16f82442d491d6abea80167b6ff.jpg","text":"TemporaryFile(/tmp/multipartBody540625828615532737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811202978,"filename":"image_05112025_15_21_20_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dfadaa2282a125b1ba31e3194c91f7b5.jpg","text":"TemporaryFile(/tmp/multipartBody6296343124941583935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811202978,"filename":"image_05112025_15_21_17_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/51546ccb08483f3c929280329f413bbc.jpg","text":"TemporaryFile(/tmp/multipartBody4965007177076851304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811202978,"filename":"image_05112025_15_21_26_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399519973","file1":"1399519937","file0":"1399519896","file4":"1399519996","file5":"1399520028","file3":"1399519991"},"map_files_photo_id_array":[{"photo_id":"1399520028","filename":"file5"},{"photo_id":"1399519973","filename":"file2"},{"photo_id":"1399519996","filename":"file4"},{"photo_id":"1399519937","filename":"file1"},{"photo_id":"1399519896","filename":"file0"},{"photo_id":"1399519991","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399519896":["hashtag1","hashtag2"]},{"1399520028":["hashtag1","hashtag2"]},{"1399519991":["hashtag1","hashtag2"]},{"1399519973":["hashtag1","hashtag2"]},{"1399519937":["hashtag1","hashtag2"]},{"1399519996":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399519896, 1399520028, 1399519991, 1399519973, 1399519937, 1399519996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42465305328369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 16:06:22.524243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/24/image_15122025_15_25_05_10738.jpg', '/home/pi/Desktop/images/15122025/15/25/image_15122025_15_25_15_9700.jpg', '/home/pi/Desktop/images/15122025/15/25/image_15122025_15_25_24_9611.jpg', '/home/pi/Desktop/images/15122025/15/25/image_15122025_15_25_35_10666.jpg', '/home/pi/Desktop/images/15122025/15/25/image_15122025_15_25_45_9607.jpg', '/home/pi/Desktop/images/15122025/15/25/image_15122025_15_25_54_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/24/image_15122025_15_25_05_10738.jpg
/home/pi/Desktop/images/15122025/15/25/image_15122025_15_25_15_9700.jpg
/home/pi/Desktop/images/15122025/15/25/image_15122025_15_25_24_9611.jpg
/home/pi/Desktop/images/15122025/15/25/image_15122025_15_25_35_10666.jpg
/home/pi/Desktop/images/15122025/15/25/image_15122025_15_25_45_9607.jpg
/home/pi/Desktop/images/15122025/15/25/image_15122025_15_25_54_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":["1399520102","1399520104","1399520070","1399520106","1399520100","1399520072"],"photo_ids_order":["1399520070","1399520072","1399520100","1399520102","1399520104","1399520106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e434bf25ec43173b5455e6fedfc391e3.jpg","text":"TemporaryFile(/tmp/multipartBody8650572647387049626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811243157,"filename":"image_15122025_15_25_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/15/6ab869d4e4ea82148daa4b1d635936bc.jpg","text":"TemporaryFile(/tmp/multipartBody1344226201902300782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811243157,"filename":"image_15122025_15_25_45_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f05d9743bc1a96e1d2d903edfc1a0008.jpg","text":"TemporaryFile(/tmp/multipartBody8047935848082731330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811243157,"filename":"image_15122025_15_25_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/15/7e4ec77ec6e0fb7b05c086302de9c539.jpg","text":"TemporaryFile(/tmp/multipartBody8823297010393070448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811243157,"filename":"image_15122025_15_25_54_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/15/556c3edc5d513f69ca1ad76393a7cd06.jpg","text":"TemporaryFile(/tmp/multipartBody6547280542175364927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811243157,"filename":"image_15122025_15_25_24_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2f4b7796afbb7c9e0fd3de9bef89d687.jpg","text":"TemporaryFile(/tmp/multipartBody8379984431793039587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811243157,"filename":"image_15122025_15_25_15_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399520100","file1":"1399520072","file0":"1399520070","file4":"1399520104","file5":"1399520106","file3":"1399520102"},"map_files_photo_id_array":[{"photo_id":"1399520106","filename":"file5"},{"photo_id":"1399520100","filename":"file2"},{"photo_id":"1399520104","filename":"file4"},{"photo_id":"1399520072","filename":"file1"},{"photo_id":"1399520070","filename":"file0"},{"photo_id":"1399520102","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399520102":["hashtag1","hashtag2"]},{"1399520104":["hashtag1","hashtag2"]},{"1399520070":["hashtag1","hashtag2"]},{"1399520106":["hashtag1","hashtag2"]},{"1399520100":["hashtag1","hashtag2"]},{"1399520072":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399520102, 1399520104, 1399520070, 1399520106, 1399520100, 1399520072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.435173749923706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 16:07:03.191605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/25/image_15122025_15_26_05_10386.jpg', '/home/pi/Desktop/images/15122025/15/26/image_15122025_15_26_14_9735.jpg', '/home/pi/Desktop/images/15122025/15/26/image_15122025_15_26_25_10730.jpg', '/home/pi/Desktop/images/15122025/15/26/image_15122025_15_26_35_9731.jpg', '/home/pi/Desktop/images/15122025/15/26/image_15122025_15_26_44_9622.jpg', '/home/pi/Desktop/images/15122025/15/26/image_15122025_15_26_54_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/25/image_15122025_15_26_05_10386.jpg
/home/pi/Desktop/images/15122025/15/26/image_15122025_15_26_14_9735.jpg
/home/pi/Desktop/images/15122025/15/26/image_15122025_15_26_25_10730.jpg
/home/pi/Desktop/images/15122025/15/26/image_15122025_15_26_35_9731.jpg
/home/pi/Desktop/images/15122025/15/26/image_15122025_15_26_44_9622.jpg
/home/pi/Desktop/images/15122025/15/26/image_15122025_15_26_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":["1399520269","1399520317","1399520302","1399520319","1399520180","1399520219"],"photo_ids_order":["1399520180","1399520219","1399520269","1399520302","1399520317","1399520319"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6a1b8c055623ea43ee140aa6f34efbc4.jpg","text":"TemporaryFile(/tmp/multipartBody3416963340486905094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811283837,"filename":"image_15122025_15_26_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/15/b343f5c58354129ab2e5ca6277b46975.jpg","text":"TemporaryFile(/tmp/multipartBody30362699424432264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811283837,"filename":"image_15122025_15_26_44_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/41bdd3dc4508fa18448ee13c9c45af9b.jpg","text":"TemporaryFile(/tmp/multipartBody6420224514049101177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811283837,"filename":"image_15122025_15_26_35_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/33ed61266d8c715dd65b962cf94d11cd.jpg","text":"TemporaryFile(/tmp/multipartBody1426200911314826673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811283837,"filename":"image_15122025_15_26_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/15/0cf755dc4dfcf82564ba0b1c183ecf8d.jpg","text":"TemporaryFile(/tmp/multipartBody5502342822941028553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811283837,"filename":"image_15122025_15_26_05_10386.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/432f959535f4c5950cb695fa14bc8b08.jpg","text":"TemporaryFile(/tmp/multipartBody3906653420100457135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811283837,"filename":"image_15122025_15_26_14_9735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399520269","file1":"1399520219","file0":"1399520180","file4":"1399520317","file5":"1399520319","file3":"1399520302"},"map_files_photo_id_array":[{"photo_id":"1399520319","filename":"file5"},{"photo_id":"1399520269","filename":"file2"},{"photo_id":"1399520317","filename":"file4"},{"photo_id":"1399520219","filename":"file1"},{"photo_id":"1399520180","filename":"file0"},{"photo_id":"1399520302","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399520269":["hashtag1","hashtag2"]},{"1399520317":["hashtag1","hashtag2"]},{"1399520302":["hashtag1","hashtag2"]},{"1399520319":["hashtag1","hashtag2"]},{"1399520180":["hashtag1","hashtag2"]},{"1399520219":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399520269, 1399520317, 1399520302, 1399520319, 1399520180, 1399520219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.061131954193115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 16:07:42.722565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_32_2554.jpg', '/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_35_3560.jpg', '/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_38_2618.jpg', '/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_42_4221.jpg', '/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_44_1832.jpg', '/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_47_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_32_2554.jpg
/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_35_3560.jpg
/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_38_2618.jpg
/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_42_4221.jpg
/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_44_1832.jpg
/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_47_2642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399520371","1399520370","1399520373","1399520372","1399520369","1399520366"],"photo_ids_order":["1399520366","1399520369","1399520370","1399520371","1399520372","1399520373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/160c8ae070e573b256a0e33a161806c9.jpg","text":"TemporaryFile(/tmp/multipartBody6547351131184830959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811323450,"filename":"image_05112025_15_21_42_4221.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/100a7bc42d2e85f4032a86bdac558804.jpg","text":"TemporaryFile(/tmp/multipartBody8864065986899109214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811323450,"filename":"image_05112025_15_21_38_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/15/868927279e6450adca9bd80175d5ef6a.jpg","text":"TemporaryFile(/tmp/multipartBody6923538617409428942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811323450,"filename":"image_05112025_15_21_47_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/15/2f724630c6ed7ce4fadb9e0fd52a22a0.jpg","text":"TemporaryFile(/tmp/multipartBody1665113863005612901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811323450,"filename":"image_05112025_15_21_44_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/15/8a56cbf39ddc845dfc42cc80b55de35f.jpg","text":"TemporaryFile(/tmp/multipartBody2302719383448981253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811323450,"filename":"image_05112025_15_21_35_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/15/b63ac8775ab2d8c6d06abc51433d61ff.jpg","text":"TemporaryFile(/tmp/multipartBody4356740209451155236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811323450,"filename":"image_05112025_15_21_32_2554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399520370","file1":"1399520369","file0":"1399520366","file4":"1399520372","file5":"1399520373","file3":"1399520371"},"map_files_photo_id_array":[{"photo_id":"1399520373","filename":"file5"},{"photo_id":"1399520370","filename":"file2"},{"photo_id":"1399520372","filename":"file4"},{"photo_id":"1399520369","filename":"file1"},{"photo_id":"1399520366","filename":"file0"},{"photo_id":"1399520371","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399520371":["hashtag1","hashtag2"]},{"1399520370":["hashtag1","hashtag2"]},{"1399520373":["hashtag1","hashtag2"]},{"1399520372":["hashtag1","hashtag2"]},{"1399520369":["hashtag1","hashtag2"]},{"1399520366":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399520371, 1399520370, 1399520373, 1399520372, 1399520369, 1399520366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11246728897095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 16:08:21.989274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/26/image_15122025_15_27_05_10811.jpg', '/home/pi/Desktop/images/15122025/15/27/image_15122025_15_27_15_9720.jpg', '/home/pi/Desktop/images/15122025/15/27/image_15122025_15_27_24_9734.jpg', '/home/pi/Desktop/images/15122025/15/27/image_15122025_15_27_35_10693.jpg', '/home/pi/Desktop/images/15122025/15/27/image_15122025_15_27_45_9726.jpg', '/home/pi/Desktop/images/15122025/15/27/image_15122025_15_27_55_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/26/image_15122025_15_27_05_10811.jpg
/home/pi/Desktop/images/15122025/15/27/image_15122025_15_27_15_9720.jpg
/home/pi/Desktop/images/15122025/15/27/image_15122025_15_27_24_9734.jpg
/home/pi/Desktop/images/15122025/15/27/image_15122025_15_27_35_10693.jpg
/home/pi/Desktop/images/15122025/15/27/image_15122025_15_27_45_9726.jpg
/home/pi/Desktop/images/15122025/15/27/image_15122025_15_27_55_9703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399520377","1399520386","1399520379","1399520381","1399520375","1399520384"],"photo_ids_order":["1399520375","1399520377","1399520379","1399520381","1399520384","1399520386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a28d5b6d4bab6fa163a0edfdbc8b34d4.jpg","text":"TemporaryFile(/tmp/multipartBody1162376775535857515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811362609,"filename":"image_15122025_15_27_15_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/37de67d39c68653544df896265480ac0.jpg","text":"TemporaryFile(/tmp/multipartBody3133712794595361260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811362609,"filename":"image_15122025_15_27_55_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0b1b7d181257e3beeb2ab6c42871c21c.jpg","text":"TemporaryFile(/tmp/multipartBody1447700768692908275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811362609,"filename":"image_15122025_15_27_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/15/296b910420fbbd2b3510dd90ba2840ee.jpg","text":"TemporaryFile(/tmp/multipartBody6967278827012565034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811362609,"filename":"image_15122025_15_27_35_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8eb04483c4cecc2875afc39f0dd85f0d.jpg","text":"TemporaryFile(/tmp/multipartBody7563495569485419456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811362609,"filename":"image_15122025_15_27_05_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/15/7afd495740fcc1ac432fb367ae22d9e8.jpg","text":"TemporaryFile(/tmp/multipartBody7481340358996955996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811362609,"filename":"image_15122025_15_27_45_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399520379","file1":"1399520377","file0":"1399520375","file4":"1399520384","file5":"1399520386","file3":"1399520381"},"map_files_photo_id_array":[{"photo_id":"1399520386","filename":"file5"},{"photo_id":"1399520379","filename":"file2"},{"photo_id":"1399520384","filename":"file4"},{"photo_id":"1399520377","filename":"file1"},{"photo_id":"1399520375","filename":"file0"},{"photo_id":"1399520381","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399520377":["hashtag1","hashtag2"]},{"1399520386":["hashtag1","hashtag2"]},{"1399520379":["hashtag1","hashtag2"]},{"1399520381":["hashtag1","hashtag2"]},{"1399520375":["hashtag1","hashtag2"]},{"1399520384":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399520377, 1399520386, 1399520379, 1399520381, 1399520375, 1399520384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.63723850250244 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-15 16:09:12.339991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 16:09:23.954832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/27/image_15122025_15_28_05_10525.jpg', '/home/pi/Desktop/images/15122025/15/28/image_15122025_15_28_15_9801.jpg', '/home/pi/Desktop/images/15122025/15/28/image_15122025_15_28_25_9760.jpg', '/home/pi/Desktop/images/15122025/15/28/image_15122025_15_28_35_9844.jpg', '/home/pi/Desktop/images/15122025/15/28/image_15122025_15_28_44_9675.jpg', '/home/pi/Desktop/images/15122025/15/28/image_15122025_15_28_55_10707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/27/image_15122025_15_28_05_10525.jpg
/home/pi/Desktop/images/15122025/15/28/image_15122025_15_28_15_9801.jpg
/home/pi/Desktop/images/15122025/15/28/image_15122025_15_28_25_9760.jpg
/home/pi/Desktop/images/15122025/15/28/image_15122025_15_28_35_9844.jpg
/home/pi/Desktop/images/15122025/15/28/image_15122025_15_28_44_9675.jpg
/home/pi/Desktop/images/15122025/15/28/image_15122025_15_28_55_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":["1399520392","1399520394","1399520388","1399520397","1399520400","1399520390"],"photo_ids_order":["1399520388","1399520390","1399520392","1399520394","1399520397","1399520400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fa1a48e6dccf754043c72b416b14a18d.jpg","text":"TemporaryFile(/tmp/multipartBody1693708319333487492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811424562,"filename":"image_15122025_15_28_25_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ea2778962e5ad3e5f9659ee1d44bd598.jpg","text":"TemporaryFile(/tmp/multipartBody6303186871356620233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811424562,"filename":"image_15122025_15_28_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/15/6c8597cdc8233bc91f3d6f3b28d7b7aa.jpg","text":"TemporaryFile(/tmp/multipartBody3983676376775847408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811424562,"filename":"image_15122025_15_28_05_10525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ee916f219749f026105b6aa72c4fbd7e.jpg","text":"TemporaryFile(/tmp/multipartBody4688277617439919454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811424562,"filename":"image_15122025_15_28_44_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d574d1563e57547ba3ca47dc63c20490.jpg","text":"TemporaryFile(/tmp/multipartBody8923391414030847099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811424562,"filename":"image_15122025_15_28_55_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e835f6e5e36fb2929a79ef60bd18804e.jpg","text":"TemporaryFile(/tmp/multipartBody8044462041657704165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811424562,"filename":"image_15122025_15_28_15_9801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399520392","file1":"1399520390","file0":"1399520388","file4":"1399520397","file5":"1399520400","file3":"1399520394"},"map_files_photo_id_array":[{"photo_id":"1399520400","filename":"file5"},{"photo_id":"1399520392","filename":"file2"},{"photo_id":"1399520397","filename":"file4"},{"photo_id":"1399520390","filename":"file1"},{"photo_id":"1399520388","filename":"file0"},{"photo_id":"1399520394","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399520392":["hashtag1","hashtag2"]},{"1399520394":["hashtag1","hashtag2"]},{"1399520388":["hashtag1","hashtag2"]},{"1399520397":["hashtag1","hashtag2"]},{"1399520400":["hashtag1","hashtag2"]},{"1399520390":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399520392, 1399520394, 1399520388, 1399520397, 1399520400, 1399520390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.55317759513855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 16:10:12.559411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 16:10:22.561519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/28/image_15122025_15_29_05_9750.jpg', '/home/pi/Desktop/images/15122025/15/29/image_15122025_15_29_14_9758.jpg', '/home/pi/Desktop/images/15122025/15/29/image_15122025_15_29_24_9835.jpg', '/home/pi/Desktop/images/15122025/15/29/image_15122025_15_29_35_10634.jpg', '/home/pi/Desktop/images/15122025/15/29/image_15122025_15_29_45_9667.jpg', '/home/pi/Desktop/images/15122025/15/29/image_15122025_15_29_55_10587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/28/image_15122025_15_29_05_9750.jpg
/home/pi/Desktop/images/15122025/15/29/image_15122025_15_29_14_9758.jpg
/home/pi/Desktop/images/15122025/15/29/image_15122025_15_29_24_9835.jpg
/home/pi/Desktop/images/15122025/15/29/image_15122025_15_29_35_10634.jpg
/home/pi/Desktop/images/15122025/15/29/image_15122025_15_29_45_9667.jpg
/home/pi/Desktop/images/15122025/15/29/image_15122025_15_29_55_10587.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5340278148651123 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 16:10:32.551930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 16:10:42.462722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_53_2701.jpg', '/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_56_2566.jpg', '/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_59_3392.jpg', '/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_02_2600.jpg', '/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_05_3365.jpg', '/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_08_2585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_53_2701.jpg
/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_56_2566.jpg
/home/pi/Desktop/images/05112025/15/21/image_05112025_15_21_59_3392.jpg
/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_02_2600.jpg
/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_05_3365.jpg
/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_08_2585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399520414","1399520416","1399520419","1399520412","1399520415","1399520418"],"photo_ids_order":["1399520412","1399520414","1399520415","1399520416","1399520418","1399520419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/01a25f9c89379218c2332e38b8ea32ec.jpg","text":"TemporaryFile(/tmp/multipartBody6123996023325299437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811504615,"filename":"image_05112025_15_21_56_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c30bb69bc6a6ecd62ed67690cfe21472.jpg","text":"TemporaryFile(/tmp/multipartBody969225828475606484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811504615,"filename":"image_05112025_15_22_02_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/15/87bfedd4246e19da83135d98f7ffa1d4.jpg","text":"TemporaryFile(/tmp/multipartBody4552176671550082003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811504615,"filename":"image_05112025_15_22_08_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/15/5e928f2b8110d6e0b3878d095af50b54.jpg","text":"TemporaryFile(/tmp/multipartBody7402108759254630638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811504615,"filename":"image_05112025_15_21_53_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1929e86f3d39f0a1314b5d48e6632819.jpg","text":"TemporaryFile(/tmp/multipartBody7848453638151160864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811504615,"filename":"image_05112025_15_21_59_3392.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/977441db019d2f9c04ba4aca430f8bf8.jpg","text":"TemporaryFile(/tmp/multipartBody8102783264755179000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811504615,"filename":"image_05112025_15_22_05_3365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399520415","file1":"1399520414","file0":"1399520412","file4":"1399520418","file5":"1399520419","file3":"1399520416"},"map_files_photo_id_array":[{"photo_id":"1399520419","filename":"file5"},{"photo_id":"1399520415","filename":"file2"},{"photo_id":"1399520418","filename":"file4"},{"photo_id":"1399520414","filename":"file1"},{"photo_id":"1399520412","filename":"file0"},{"photo_id":"1399520416","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399520414":["hashtag1","hashtag2"]},{"1399520416":["hashtag1","hashtag2"]},{"1399520419":["hashtag1","hashtag2"]},{"1399520412":["hashtag1","hashtag2"]},{"1399520415":["hashtag1","hashtag2"]},{"1399520418":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399520414, 1399520416, 1399520419, 1399520412, 1399520415, 1399520418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.74547028541565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 16:11:22.719913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/28/image_15122025_15_29_05_9750.jpg', '/home/pi/Desktop/images/15122025/15/29/image_15122025_15_29_14_9758.jpg', '/home/pi/Desktop/images/15122025/15/29/image_15122025_15_29_24_9835.jpg', '/home/pi/Desktop/images/15122025/15/29/image_15122025_15_29_35_10634.jpg', '/home/pi/Desktop/images/15122025/15/29/image_15122025_15_29_45_9667.jpg', '/home/pi/Desktop/images/15122025/15/29/image_15122025_15_29_55_10587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/28/image_15122025_15_29_05_9750.jpg
/home/pi/Desktop/images/15122025/15/29/image_15122025_15_29_14_9758.jpg
/home/pi/Desktop/images/15122025/15/29/image_15122025_15_29_24_9835.jpg
/home/pi/Desktop/images/15122025/15/29/image_15122025_15_29_35_10634.jpg
/home/pi/Desktop/images/15122025/15/29/image_15122025_15_29_45_9667.jpg
/home/pi/Desktop/images/15122025/15/29/image_15122025_15_29_55_10587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399520431","1399520424","1399520433","1399520427","1399520435","1399520429"],"photo_ids_order":["1399520424","1399520427","1399520429","1399520431","1399520433","1399520435"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/18392a977087cb92244eadf7cd68a179.jpg","text":"TemporaryFile(/tmp/multipartBody8784134614135040901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811543325,"filename":"image_15122025_15_29_35_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f4f8bce5900c47e2b74ba01e97e0dd62.jpg","text":"TemporaryFile(/tmp/multipartBody8086005405061379422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811543325,"filename":"image_15122025_15_29_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/15/6755383ad33afb86ca44cbe6a67b43f9.jpg","text":"TemporaryFile(/tmp/multipartBody6455789287712925290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811543325,"filename":"image_15122025_15_29_45_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8da9e755e10344e343da4d1c0cd7d1d4.jpg","text":"TemporaryFile(/tmp/multipartBody3020321768358592620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811543325,"filename":"image_15122025_15_29_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/15/401af5aaf4955208cb469bc1a049f739.jpg","text":"TemporaryFile(/tmp/multipartBody3110080591036755678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811543325,"filename":"image_15122025_15_29_55_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f63c5e0a42703c95a4425a70883ff0bf.jpg","text":"TemporaryFile(/tmp/multipartBody8642727158080453939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811543325,"filename":"image_15122025_15_29_24_9835.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399520429","file1":"1399520427","file0":"1399520424","file4":"1399520433","file5":"1399520435","file3":"1399520431"},"map_files_photo_id_array":[{"photo_id":"1399520435","filename":"file5"},{"photo_id":"1399520429","filename":"file2"},{"photo_id":"1399520433","filename":"file4"},{"photo_id":"1399520427","filename":"file1"},{"photo_id":"1399520424","filename":"file0"},{"photo_id":"1399520431","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399520431":["hashtag1","hashtag2"]},{"1399520424":["hashtag1","hashtag2"]},{"1399520433":["hashtag1","hashtag2"]},{"1399520427":["hashtag1","hashtag2"]},{"1399520435":["hashtag1","hashtag2"]},{"1399520429":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399520431, 1399520424, 1399520433, 1399520427, 1399520435, 1399520429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.059492349624634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 16:12:02.383095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/30/image_15122025_15_30_14_10056.jpg', '/home/pi/Desktop/images/15122025/15/30/image_15122025_15_30_25_10829.jpg', '/home/pi/Desktop/images/15122025/15/30/image_15122025_15_30_35_9672.jpg', '/home/pi/Desktop/images/15122025/15/30/image_15122025_15_30_44_9544.jpg', '/home/pi/Desktop/images/15122025/15/30/image_15122025_15_30_55_10842.jpg', '/home/pi/Desktop/images/15122025/15/30/image_15122025_15_31_05_9837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/30/image_15122025_15_30_14_10056.jpg
/home/pi/Desktop/images/15122025/15/30/image_15122025_15_30_25_10829.jpg
/home/pi/Desktop/images/15122025/15/30/image_15122025_15_30_35_9672.jpg
/home/pi/Desktop/images/15122025/15/30/image_15122025_15_30_44_9544.jpg
/home/pi/Desktop/images/15122025/15/30/image_15122025_15_30_55_10842.jpg
/home/pi/Desktop/images/15122025/15/30/image_15122025_15_31_05_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":["1399520440","1399520437","1399520442","1399520451","1399520456","1399520441"],"photo_ids_order":["1399520437","1399520440","1399520441","1399520442","1399520451","1399520456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/32f4355c4b61de9be9a31b6e57ba12f2.jpg","text":"TemporaryFile(/tmp/multipartBody3456804486239089005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811582984,"filename":"image_15122025_15_30_25_10829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b052c2341c7e6e7588777add002be391.jpg","text":"TemporaryFile(/tmp/multipartBody5902412692806098738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811582984,"filename":"image_15122025_15_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/15/1ee16709c082daf14ea9865274f4c82b.jpg","text":"TemporaryFile(/tmp/multipartBody1328674178099164330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811582984,"filename":"image_15122025_15_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/15/64a4764a50e8b51c5da8ada02a90720f.jpg","text":"TemporaryFile(/tmp/multipartBody7643932882028478018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811582984,"filename":"image_15122025_15_30_55_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/15/4470d26bedae176134da9a1e994aae75.jpg","text":"TemporaryFile(/tmp/multipartBody7377162127767125046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811582984,"filename":"image_15122025_15_31_05_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8e5f28377ea397c3f0db9144db40d59a.jpg","text":"TemporaryFile(/tmp/multipartBody742776990926362008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811582984,"filename":"image_15122025_15_30_35_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399520441","file1":"1399520440","file0":"1399520437","file4":"1399520451","file5":"1399520456","file3":"1399520442"},"map_files_photo_id_array":[{"photo_id":"1399520456","filename":"file5"},{"photo_id":"1399520441","filename":"file2"},{"photo_id":"1399520451","filename":"file4"},{"photo_id":"1399520440","filename":"file1"},{"photo_id":"1399520437","filename":"file0"},{"photo_id":"1399520442","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399520440":["hashtag1","hashtag2"]},{"1399520437":["hashtag1","hashtag2"]},{"1399520442":["hashtag1","hashtag2"]},{"1399520451":["hashtag1","hashtag2"]},{"1399520456":["hashtag1","hashtag2"]},{"1399520441":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399520440, 1399520437, 1399520442, 1399520451, 1399520456, 1399520441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09975743293762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 16:12:41.962768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_11_3764.jpg', '/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_14_2588.jpg', '/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_17_3072.jpg', '/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_20_2575.jpg', '/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_23_3461.jpg', '/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_26_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_11_3764.jpg
/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_14_2588.jpg
/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_17_3072.jpg
/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_20_2575.jpg
/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_23_3461.jpg
/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_26_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":["1399520488","1399520487","1399520506","1399520484","1399520486","1399520489"],"photo_ids_order":["1399520484","1399520486","1399520487","1399520488","1399520489","1399520506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/aecadb82495357e3c924e4bca26f6483.jpg","text":"TemporaryFile(/tmp/multipartBody6521027905514978711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811622673,"filename":"image_05112025_15_22_20_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/15/bc5954c6ef1c80778efd4e3e540698e1.jpg","text":"TemporaryFile(/tmp/multipartBody6994341403251652262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811622673,"filename":"image_05112025_15_22_17_3072.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/59d0edc8a8542c51669218a1b360021f.jpg","text":"TemporaryFile(/tmp/multipartBody8419895221540207337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811622673,"filename":"image_05112025_15_22_26_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/048af7c7698613b044d8bf361ce5a93f.jpg","text":"TemporaryFile(/tmp/multipartBody2107592560437899618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811622673,"filename":"image_05112025_15_22_11_3764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2217f5a459b2cc3c8f4da18b86514775.jpg","text":"TemporaryFile(/tmp/multipartBody7193109075915931467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811622673,"filename":"image_05112025_15_22_14_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/15/a487f5bfe8de995b48c08136eba53d34.jpg","text":"TemporaryFile(/tmp/multipartBody5578902482525642613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811622673,"filename":"image_05112025_15_22_23_3461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399520487","file1":"1399520486","file0":"1399520484","file4":"1399520489","file5":"1399520506","file3":"1399520488"},"map_files_photo_id_array":[{"photo_id":"1399520506","filename":"file5"},{"photo_id":"1399520487","filename":"file2"},{"photo_id":"1399520489","filename":"file4"},{"photo_id":"1399520486","filename":"file1"},{"photo_id":"1399520484","filename":"file0"},{"photo_id":"1399520488","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399520488":["hashtag1","hashtag2"]},{"1399520487":["hashtag1","hashtag2"]},{"1399520506":["hashtag1","hashtag2"]},{"1399520484":["hashtag1","hashtag2"]},{"1399520486":["hashtag1","hashtag2"]},{"1399520489":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399520488, 1399520487, 1399520506, 1399520484, 1399520486, 1399520489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.876410245895386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 16:13:22.331556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/31/image_15122025_15_31_15_9787.jpg', '/home/pi/Desktop/images/15122025/15/31/image_15122025_15_31_24_9630.jpg', '/home/pi/Desktop/images/15122025/15/31/image_15122025_15_31_35_10606.jpg', '/home/pi/Desktop/images/15122025/15/31/image_15122025_15_31_44_9618.jpg', '/home/pi/Desktop/images/15122025/15/31/image_15122025_15_31_54_9703.jpg', '/home/pi/Desktop/images/15122025/15/31/image_15122025_15_32_05_10757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/31/image_15122025_15_31_15_9787.jpg
/home/pi/Desktop/images/15122025/15/31/image_15122025_15_31_24_9630.jpg
/home/pi/Desktop/images/15122025/15/31/image_15122025_15_31_35_10606.jpg
/home/pi/Desktop/images/15122025/15/31/image_15122025_15_31_44_9618.jpg
/home/pi/Desktop/images/15122025/15/31/image_15122025_15_31_54_9703.jpg
/home/pi/Desktop/images/15122025/15/31/image_15122025_15_32_05_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":["1399520624","1399520578","1399520673","1399520795","1399520753","1399520714"],"photo_ids_order":["1399520578","1399520624","1399520673","1399520714","1399520753","1399520795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/55810719947f3fe067a46c962e0bbfdf.jpg","text":"TemporaryFile(/tmp/multipartBody3730023740858528448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811662939,"filename":"image_15122025_15_31_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/15/ab6a7c2651ff823a320fca80f1481171.jpg","text":"TemporaryFile(/tmp/multipartBody946550090338771332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811662939,"filename":"image_15122025_15_31_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/15/41b712fd0c21d196ce77f76e67373393.jpg","text":"TemporaryFile(/tmp/multipartBody8542394975446961503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811662939,"filename":"image_15122025_15_31_35_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5b41c2cda929b7bead56fe4157a9f521.jpg","text":"TemporaryFile(/tmp/multipartBody2849928107136037676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811662939,"filename":"image_15122025_15_32_05_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/15/ab42fb24b833612535846e7022b884c2.jpg","text":"TemporaryFile(/tmp/multipartBody6146184015617243307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811662939,"filename":"image_15122025_15_31_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/15/b0e643bf6ca1b8351ee117aab3e44bc1.jpg","text":"TemporaryFile(/tmp/multipartBody8754348955237723330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811662939,"filename":"image_15122025_15_31_44_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399520673","file1":"1399520624","file0":"1399520578","file4":"1399520753","file5":"1399520795","file3":"1399520714"},"map_files_photo_id_array":[{"photo_id":"1399520795","filename":"file5"},{"photo_id":"1399520673","filename":"file2"},{"photo_id":"1399520753","filename":"file4"},{"photo_id":"1399520624","filename":"file1"},{"photo_id":"1399520578","filename":"file0"},{"photo_id":"1399520714","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399520624":["hashtag1","hashtag2"]},{"1399520578":["hashtag1","hashtag2"]},{"1399520673":["hashtag1","hashtag2"]},{"1399520795":["hashtag1","hashtag2"]},{"1399520753":["hashtag1","hashtag2"]},{"1399520714":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399520624, 1399520578, 1399520673, 1399520795, 1399520753, 1399520714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.680896282196045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 16:14:03.083205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/32/image_15122025_15_32_15_9954.jpg', '/home/pi/Desktop/images/15122025/15/32/image_15122025_15_32_24_9619.jpg', '/home/pi/Desktop/images/15122025/15/32/image_15122025_15_32_34_9717.jpg', '/home/pi/Desktop/images/15122025/15/32/image_15122025_15_32_44_9823.jpg', '/home/pi/Desktop/images/15122025/15/32/image_15122025_15_32_55_10757.jpg', '/home/pi/Desktop/images/15122025/15/32/image_15122025_15_33_04_9569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/32/image_15122025_15_32_15_9954.jpg
/home/pi/Desktop/images/15122025/15/32/image_15122025_15_32_24_9619.jpg
/home/pi/Desktop/images/15122025/15/32/image_15122025_15_32_34_9717.jpg
/home/pi/Desktop/images/15122025/15/32/image_15122025_15_32_44_9823.jpg
/home/pi/Desktop/images/15122025/15/32/image_15122025_15_32_55_10757.jpg
/home/pi/Desktop/images/15122025/15/32/image_15122025_15_33_04_9569.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5361895561218262 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 16:14:12.562196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 16:14:22.648284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/32/image_15122025_15_32_15_9954.jpg', '/home/pi/Desktop/images/15122025/15/32/image_15122025_15_32_24_9619.jpg', '/home/pi/Desktop/images/15122025/15/32/image_15122025_15_32_34_9717.jpg', '/home/pi/Desktop/images/15122025/15/32/image_15122025_15_32_44_9823.jpg', '/home/pi/Desktop/images/15122025/15/32/image_15122025_15_32_55_10757.jpg', '/home/pi/Desktop/images/15122025/15/32/image_15122025_15_33_04_9569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/32/image_15122025_15_32_15_9954.jpg
/home/pi/Desktop/images/15122025/15/32/image_15122025_15_32_24_9619.jpg
/home/pi/Desktop/images/15122025/15/32/image_15122025_15_32_34_9717.jpg
/home/pi/Desktop/images/15122025/15/32/image_15122025_15_32_44_9823.jpg
/home/pi/Desktop/images/15122025/15/32/image_15122025_15_32_55_10757.jpg
/home/pi/Desktop/images/15122025/15/32/image_15122025_15_33_04_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":["1399521093","1399521177","1399521138","1399521257","1399521218","1399521298"],"photo_ids_order":["1399521093","1399521138","1399521177","1399521218","1399521257","1399521298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3ba5cd70ef29a883cd06546e3aff03e2.jpg","text":"TemporaryFile(/tmp/multipartBody2753568589359275351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811723250,"filename":"image_15122025_15_32_15_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/15/2b5133bf1e0e071b86ab5f3bcdf448ad.jpg","text":"TemporaryFile(/tmp/multipartBody1959224628580785767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811723250,"filename":"image_15122025_15_32_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/15/680b72aa788500773692f91790fd836c.jpg","text":"TemporaryFile(/tmp/multipartBody8539241992481763601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811723250,"filename":"image_15122025_15_32_24_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0eb0ead1911c104711435c19d6c4a285.jpg","text":"TemporaryFile(/tmp/multipartBody8083687943059019745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811723250,"filename":"image_15122025_15_32_55_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/645d423f91c15f086cdb5a6d7ef1d372.jpg","text":"TemporaryFile(/tmp/multipartBody2771989201847179540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811723250,"filename":"image_15122025_15_32_44_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/821b7d12f9f125c0fdeb1ac2b0ca43aa.jpg","text":"TemporaryFile(/tmp/multipartBody442126184479927882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811723250,"filename":"image_15122025_15_33_04_9569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399521177","file1":"1399521138","file0":"1399521093","file4":"1399521257","file5":"1399521298","file3":"1399521218"},"map_files_photo_id_array":[{"photo_id":"1399521298","filename":"file5"},{"photo_id":"1399521177","filename":"file2"},{"photo_id":"1399521257","filename":"file4"},{"photo_id":"1399521138","filename":"file1"},{"photo_id":"1399521093","filename":"file0"},{"photo_id":"1399521218","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399521093":["hashtag1","hashtag2"]},{"1399521177":["hashtag1","hashtag2"]},{"1399521138":["hashtag1","hashtag2"]},{"1399521257":["hashtag1","hashtag2"]},{"1399521218":["hashtag1","hashtag2"]},{"1399521298":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399521093, 1399521177, 1399521138, 1399521257, 1399521218, 1399521298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9038462638855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 16:15:03.371765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/33/image_15122025_15_33_14_9771.jpg', '/home/pi/Desktop/images/15122025/15/33/image_15122025_15_33_25_10712.jpg', '/home/pi/Desktop/images/15122025/15/33/image_15122025_15_33_34_9563.jpg', '/home/pi/Desktop/images/15122025/15/33/image_15122025_15_33_45_10605.jpg', '/home/pi/Desktop/images/15122025/15/33/image_15122025_15_33_55_9853.jpg', '/home/pi/Desktop/images/15122025/15/33/image_15122025_15_34_05_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/33/image_15122025_15_33_14_9771.jpg
/home/pi/Desktop/images/15122025/15/33/image_15122025_15_33_25_10712.jpg
/home/pi/Desktop/images/15122025/15/33/image_15122025_15_33_34_9563.jpg
/home/pi/Desktop/images/15122025/15/33/image_15122025_15_33_45_10605.jpg
/home/pi/Desktop/images/15122025/15/33/image_15122025_15_33_55_9853.jpg
/home/pi/Desktop/images/15122025/15/33/image_15122025_15_34_05_9708.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5470757484436035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 16:15:12.790898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 16:15:22.871304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/33/image_15122025_15_33_14_9771.jpg', '/home/pi/Desktop/images/15122025/15/33/image_15122025_15_33_25_10712.jpg', '/home/pi/Desktop/images/15122025/15/33/image_15122025_15_33_34_9563.jpg', '/home/pi/Desktop/images/15122025/15/33/image_15122025_15_33_45_10605.jpg', '/home/pi/Desktop/images/15122025/15/33/image_15122025_15_33_55_9853.jpg', '/home/pi/Desktop/images/15122025/15/33/image_15122025_15_34_05_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/33/image_15122025_15_33_14_9771.jpg
/home/pi/Desktop/images/15122025/15/33/image_15122025_15_33_25_10712.jpg
/home/pi/Desktop/images/15122025/15/33/image_15122025_15_33_34_9563.jpg
/home/pi/Desktop/images/15122025/15/33/image_15122025_15_33_45_10605.jpg
/home/pi/Desktop/images/15122025/15/33/image_15122025_15_33_55_9853.jpg
/home/pi/Desktop/images/15122025/15/33/image_15122025_15_34_05_9708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399521550","1399521625","1399521477","1399521785","1399521695","1399521746"],"photo_ids_order":["1399521477","1399521550","1399521625","1399521695","1399521746","1399521785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6d69bd335fde90631c56f35a055da217.jpg","text":"TemporaryFile(/tmp/multipartBody6170261172208095629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811783471,"filename":"image_15122025_15_33_25_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b57c784643d71558a34beebe5aa6c620.jpg","text":"TemporaryFile(/tmp/multipartBody6441781123656378963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811783471,"filename":"image_15122025_15_33_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/15/5f8dda7b3159d0e7f128cb75a179bacd.jpg","text":"TemporaryFile(/tmp/multipartBody7318602377481786294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811783471,"filename":"image_15122025_15_33_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/15/7d0d3fc3587a0c6f84dec484d5c9a089.jpg","text":"TemporaryFile(/tmp/multipartBody837456795745767339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811783471,"filename":"image_15122025_15_34_05_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2f94d72ce801653ea4a4eceeb251c634.jpg","text":"TemporaryFile(/tmp/multipartBody7697041149720131509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811783471,"filename":"image_15122025_15_33_45_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/aa7a108eac4adef2c9083acf7a1b09ee.jpg","text":"TemporaryFile(/tmp/multipartBody4871580106511241550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811783471,"filename":"image_15122025_15_33_55_9853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399521625","file1":"1399521550","file0":"1399521477","file4":"1399521746","file5":"1399521785","file3":"1399521695"},"map_files_photo_id_array":[{"photo_id":"1399521785","filename":"file5"},{"photo_id":"1399521625","filename":"file2"},{"photo_id":"1399521746","filename":"file4"},{"photo_id":"1399521550","filename":"file1"},{"photo_id":"1399521477","filename":"file0"},{"photo_id":"1399521695","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399521550":["hashtag1","hashtag2"]},{"1399521625":["hashtag1","hashtag2"]},{"1399521477":["hashtag1","hashtag2"]},{"1399521785":["hashtag1","hashtag2"]},{"1399521695":["hashtag1","hashtag2"]},{"1399521746":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399521550, 1399521625, 1399521477, 1399521785, 1399521695, 1399521746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02148199081421 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 16:16:02.470550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/34/image_15122025_15_34_14_9702.jpg', '/home/pi/Desktop/images/15122025/15/34/image_15122025_15_34_25_10618.jpg', '/home/pi/Desktop/images/15122025/15/34/image_15122025_15_34_35_9691.jpg', '/home/pi/Desktop/images/15122025/15/34/image_15122025_15_34_44_9628.jpg', '/home/pi/Desktop/images/15122025/15/34/image_15122025_15_34_55_10762.jpg', '/home/pi/Desktop/images/15122025/15/34/image_15122025_15_35_05_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/34/image_15122025_15_34_14_9702.jpg
/home/pi/Desktop/images/15122025/15/34/image_15122025_15_34_25_10618.jpg
/home/pi/Desktop/images/15122025/15/34/image_15122025_15_34_35_9691.jpg
/home/pi/Desktop/images/15122025/15/34/image_15122025_15_34_44_9628.jpg
/home/pi/Desktop/images/15122025/15/34/image_15122025_15_34_55_10762.jpg
/home/pi/Desktop/images/15122025/15/34/image_15122025_15_35_05_9682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399522067","1399521998","1399521932","1399522243","1399522171","1399522111"],"photo_ids_order":["1399521932","1399521998","1399522067","1399522111","1399522171","1399522243"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c8a75c94c29fac8569c835c4dda9a734.jpg","text":"TemporaryFile(/tmp/multipartBody4011471929376364936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811823135,"filename":"image_15122025_15_34_35_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c7c53b25f05b9e821942c47a1be354b1.jpg","text":"TemporaryFile(/tmp/multipartBody5573104224996821196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811823135,"filename":"image_15122025_15_34_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/15/146365ce771571d782168355a0c46fbf.jpg","text":"TemporaryFile(/tmp/multipartBody7896465062282710991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811823135,"filename":"image_15122025_15_34_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/15/bdcb885a8c7bf465672e0cb1a375d938.jpg","text":"TemporaryFile(/tmp/multipartBody7680317668964964906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811823135,"filename":"image_15122025_15_35_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/15/aa44aab143da0ba0fe7ceeb4f8c45111.jpg","text":"TemporaryFile(/tmp/multipartBody8991671153348045909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811823135,"filename":"image_15122025_15_34_55_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/00fe8dcbfd637d331f7997f8c105492e.jpg","text":"TemporaryFile(/tmp/multipartBody3234583624695170592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811823135,"filename":"image_15122025_15_34_44_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399522067","file1":"1399521998","file0":"1399521932","file4":"1399522171","file5":"1399522243","file3":"1399522111"},"map_files_photo_id_array":[{"photo_id":"1399522243","filename":"file5"},{"photo_id":"1399522067","filename":"file2"},{"photo_id":"1399522171","filename":"file4"},{"photo_id":"1399521998","filename":"file1"},{"photo_id":"1399521932","filename":"file0"},{"photo_id":"1399522111","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399522067":["hashtag1","hashtag2"]},{"1399521998":["hashtag1","hashtag2"]},{"1399521932":["hashtag1","hashtag2"]},{"1399522243":["hashtag1","hashtag2"]},{"1399522171":["hashtag1","hashtag2"]},{"1399522111":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399522067, 1399521998, 1399521932, 1399522243, 1399522171, 1399522111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.253862380981445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 16:16:41.966896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_29_3725.jpg', '/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_32_2733.jpg', '/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_35_2709.jpg', '/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_38_2730.jpg', '/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_41_3671.jpg', '/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_44_2501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_29_3725.jpg
/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_32_2733.jpg
/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_35_2709.jpg
/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_38_2730.jpg
/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_41_3671.jpg
/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_44_2501.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6160900592803955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 16:17:02.981172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/35/image_15122025_15_35_14_9749.jpg', '/home/pi/Desktop/images/15122025/15/35/image_15122025_15_35_24_9679.jpg', '/home/pi/Desktop/images/15122025/15/35/image_15122025_15_35_35_10648.jpg', '/home/pi/Desktop/images/15122025/15/35/image_15122025_15_35_44_9647.jpg', '/home/pi/Desktop/images/15122025/15/35/image_15122025_15_35_55_10587.jpg', '/home/pi/Desktop/images/15122025/15/35/image_15122025_15_36_05_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/35/image_15122025_15_35_14_9749.jpg
/home/pi/Desktop/images/15122025/15/35/image_15122025_15_35_24_9679.jpg
/home/pi/Desktop/images/15122025/15/35/image_15122025_15_35_35_10648.jpg
/home/pi/Desktop/images/15122025/15/35/image_15122025_15_35_44_9647.jpg
/home/pi/Desktop/images/15122025/15/35/image_15122025_15_35_55_10587.jpg
/home/pi/Desktop/images/15122025/15/35/image_15122025_15_36_05_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":["1399522905","1399522806","1399523045","1399522976","1399523116","1399522864"],"photo_ids_order":["1399522806","1399522864","1399522905","1399522976","1399523045","1399523116"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bc421faadfe234e297363ff05580e3cf.jpg","text":"TemporaryFile(/tmp/multipartBody4650061117515454828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811883678,"filename":"image_15122025_15_35_35_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/76cecbae486ff03cb18aef8fb0cb228f.jpg","text":"TemporaryFile(/tmp/multipartBody6321575424083641283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811883678,"filename":"image_15122025_15_35_14_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5e5a7630e61b0e65fd5550f711e34672.jpg","text":"TemporaryFile(/tmp/multipartBody5571075656558247292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811883678,"filename":"image_15122025_15_35_55_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0266b93f7ffb924fba79f0e2ebfe3dca.jpg","text":"TemporaryFile(/tmp/multipartBody3711536385836027804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811883678,"filename":"image_15122025_15_35_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/15/887f9028918a7be1beb76e29e3829fd0.jpg","text":"TemporaryFile(/tmp/multipartBody397795697908980711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811883678,"filename":"image_15122025_15_36_05_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2a993f63b99513fe1543778ba011f871.jpg","text":"TemporaryFile(/tmp/multipartBody7643153265030174853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811883678,"filename":"image_15122025_15_35_24_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399522905","file1":"1399522864","file0":"1399522806","file4":"1399523045","file5":"1399523116","file3":"1399522976"},"map_files_photo_id_array":[{"photo_id":"1399523116","filename":"file5"},{"photo_id":"1399522905","filename":"file2"},{"photo_id":"1399523045","filename":"file4"},{"photo_id":"1399522864","filename":"file1"},{"photo_id":"1399522806","filename":"file0"},{"photo_id":"1399522976","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399522905":["hashtag1","hashtag2"]},{"1399522806":["hashtag1","hashtag2"]},{"1399523045":["hashtag1","hashtag2"]},{"1399522976":["hashtag1","hashtag2"]},{"1399523116":["hashtag1","hashtag2"]},{"1399522864":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399522905, 1399522806, 1399523045, 1399522976, 1399523116, 1399522864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.221887826919556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 16:17:42.212538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_29_3725.jpg', '/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_32_2733.jpg', '/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_35_2709.jpg', '/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_38_2730.jpg', '/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_41_3671.jpg', '/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_44_2501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_29_3725.jpg
/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_32_2733.jpg
/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_35_2709.jpg
/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_38_2730.jpg
/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_41_3671.jpg
/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_44_2501.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399523340","1399523540","1399523417","1399523612","1399523493","1399523574"],"photo_ids_order":["1399523340","1399523417","1399523493","1399523540","1399523574","1399523612"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/694c4bfb2069abfb2298ae54df3207e8.jpg","text":"TemporaryFile(/tmp/multipartBody2456640217004184758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811922790,"filename":"image_05112025_15_22_29_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/15/35ad30832bc0ac41232d8b40f9a64c54.jpg","text":"TemporaryFile(/tmp/multipartBody3072207676337277814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811922790,"filename":"image_05112025_15_22_38_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ac35b46381681ed7e3ba62e497e3f54d.jpg","text":"TemporaryFile(/tmp/multipartBody5202646329831744507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811922790,"filename":"image_05112025_15_22_32_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/174b7139484bc011004a38ea84c593ca.jpg","text":"TemporaryFile(/tmp/multipartBody8893083826715645856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811922790,"filename":"image_05112025_15_22_44_2501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8d655ce67b0fc55e86b952b31d9b8230.jpg","text":"TemporaryFile(/tmp/multipartBody8618282263404120387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811922790,"filename":"image_05112025_15_22_35_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6b05ba731b9ad5863029b08e1da4c84e.jpg","text":"TemporaryFile(/tmp/multipartBody5729440056806935103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811922790,"filename":"image_05112025_15_22_41_3671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399523493","file1":"1399523417","file0":"1399523340","file4":"1399523574","file5":"1399523612","file3":"1399523540"},"map_files_photo_id_array":[{"photo_id":"1399523612","filename":"file5"},{"photo_id":"1399523493","filename":"file2"},{"photo_id":"1399523574","filename":"file4"},{"photo_id":"1399523417","filename":"file1"},{"photo_id":"1399523340","filename":"file0"},{"photo_id":"1399523540","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399523340":["hashtag1","hashtag2"]},{"1399523540":["hashtag1","hashtag2"]},{"1399523417":["hashtag1","hashtag2"]},{"1399523612":["hashtag1","hashtag2"]},{"1399523493":["hashtag1","hashtag2"]},{"1399523574":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399523340, 1399523540, 1399523417, 1399523612, 1399523493, 1399523574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25243163108826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 16:18:22.512734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/36/image_15122025_15_36_14_9722.jpg', '/home/pi/Desktop/images/15122025/15/36/image_15122025_15_36_24_9664.jpg', '/home/pi/Desktop/images/15122025/15/36/image_15122025_15_36_35_10664.jpg', '/home/pi/Desktop/images/15122025/15/36/image_15122025_15_36_45_9853.jpg', '/home/pi/Desktop/images/15122025/15/36/image_15122025_15_36_54_9706.jpg', '/home/pi/Desktop/images/15122025/15/36/image_15122025_15_37_04_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/36/image_15122025_15_36_14_9722.jpg
/home/pi/Desktop/images/15122025/15/36/image_15122025_15_36_24_9664.jpg
/home/pi/Desktop/images/15122025/15/36/image_15122025_15_36_35_10664.jpg
/home/pi/Desktop/images/15122025/15/36/image_15122025_15_36_45_9853.jpg
/home/pi/Desktop/images/15122025/15/36/image_15122025_15_36_54_9706.jpg
/home/pi/Desktop/images/15122025/15/36/image_15122025_15_37_04_9775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399523820","1399523858","1399523948","1399523785","1399523746","1399523898"],"photo_ids_order":["1399523746","1399523785","1399523820","1399523858","1399523898","1399523948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/81baed83003cc48c31103339164c8b75.jpg","text":"TemporaryFile(/tmp/multipartBody2419294729167549737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811963137,"filename":"image_15122025_15_36_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/15/5726f1b93ed74bcec8c86fbd33898945.jpg","text":"TemporaryFile(/tmp/multipartBody7544699584577896721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811963137,"filename":"image_15122025_15_36_45_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/103de2759ce4ae269d6184ca740d18a3.jpg","text":"TemporaryFile(/tmp/multipartBody3425406105790235208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811963137,"filename":"image_15122025_15_37_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/15/b92a13f4979bc5f625e20c0a80c31999.jpg","text":"TemporaryFile(/tmp/multipartBody7709137390509642789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811963137,"filename":"image_15122025_15_36_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/15/5a53460e05e4f2dbb6401d6065ce401c.jpg","text":"TemporaryFile(/tmp/multipartBody6525562032932352747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811963137,"filename":"image_15122025_15_36_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/15/3aa29e46c81d73812c86e41e633b05d2.jpg","text":"TemporaryFile(/tmp/multipartBody8735457527486404440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765811963137,"filename":"image_15122025_15_36_54_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399523820","file1":"1399523785","file0":"1399523746","file4":"1399523898","file5":"1399523948","file3":"1399523858"},"map_files_photo_id_array":[{"photo_id":"1399523948","filename":"file5"},{"photo_id":"1399523820","filename":"file2"},{"photo_id":"1399523898","filename":"file4"},{"photo_id":"1399523785","filename":"file1"},{"photo_id":"1399523746","filename":"file0"},{"photo_id":"1399523858","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399523820":["hashtag1","hashtag2"]},{"1399523858":["hashtag1","hashtag2"]},{"1399523948":["hashtag1","hashtag2"]},{"1399523785":["hashtag1","hashtag2"]},{"1399523746":["hashtag1","hashtag2"]},{"1399523898":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399523820, 1399523858, 1399523948, 1399523785, 1399523746, 1399523898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.81910800933838 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 16:19:03.748554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/37/image_15122025_15_37_15_10707.jpg', '/home/pi/Desktop/images/15122025/15/37/image_15122025_15_37_25_9964.jpg', '/home/pi/Desktop/images/15122025/15/37/image_15122025_15_37_35_9821.jpg', '/home/pi/Desktop/images/15122025/15/37/image_15122025_15_37_44_9718.jpg', '/home/pi/Desktop/images/15122025/15/37/image_15122025_15_37_54_9920.jpg', '/home/pi/Desktop/images/15122025/15/37/image_15122025_15_38_05_10707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/37/image_15122025_15_37_15_10707.jpg
/home/pi/Desktop/images/15122025/15/37/image_15122025_15_37_25_9964.jpg
/home/pi/Desktop/images/15122025/15/37/image_15122025_15_37_35_9821.jpg
/home/pi/Desktop/images/15122025/15/37/image_15122025_15_37_44_9718.jpg
/home/pi/Desktop/images/15122025/15/37/image_15122025_15_37_54_9920.jpg
/home/pi/Desktop/images/15122025/15/37/image_15122025_15_38_05_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":["1399524140","1399524137","1399524088","1399524165","1399524138","1399524126"],"photo_ids_order":["1399524088","1399524126","1399524137","1399524138","1399524140","1399524165"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/096d56caab24f2e68aecd654294f5a4c.jpg","text":"TemporaryFile(/tmp/multipartBody6233680840828541481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812004416,"filename":"image_15122025_15_37_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/15/a087d4d0745bb328c2595dc204b4f3ca.jpg","text":"TemporaryFile(/tmp/multipartBody5822757092232351060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812004416,"filename":"image_15122025_15_37_35_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c4892d45030ff487edb6d29e990f9e3a.jpg","text":"TemporaryFile(/tmp/multipartBody4532466179725609452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812004416,"filename":"image_15122025_15_37_15_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0663cfbc698f6831945fb42a247227c6.jpg","text":"TemporaryFile(/tmp/multipartBody8521543400657328366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812004416,"filename":"image_15122025_15_38_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/15/259bb20c0e28dcc1bb5a19a5de46c3e9.jpg","text":"TemporaryFile(/tmp/multipartBody5146978256377287414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812004416,"filename":"image_15122025_15_37_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/15/e0eac19b07a6dd6954639122ae432aa0.jpg","text":"TemporaryFile(/tmp/multipartBody7949280648035039523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812004416,"filename":"image_15122025_15_37_25_9964.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399524137","file1":"1399524126","file0":"1399524088","file4":"1399524140","file5":"1399524165","file3":"1399524138"},"map_files_photo_id_array":[{"photo_id":"1399524165","filename":"file5"},{"photo_id":"1399524137","filename":"file2"},{"photo_id":"1399524140","filename":"file4"},{"photo_id":"1399524126","filename":"file1"},{"photo_id":"1399524088","filename":"file0"},{"photo_id":"1399524138","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399524140":["hashtag1","hashtag2"]},{"1399524137":["hashtag1","hashtag2"]},{"1399524088":["hashtag1","hashtag2"]},{"1399524165":["hashtag1","hashtag2"]},{"1399524138":["hashtag1","hashtag2"]},{"1399524126":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399524140, 1399524137, 1399524088, 1399524165, 1399524138, 1399524126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98455095291138 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 16:19:42.667396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_47_3662.jpg', '/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_50_2619.jpg', '/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_53_2737.jpg', '/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_56_2736.jpg', '/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_59_3588.jpg', '/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_02_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_47_3662.jpg
/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_50_2619.jpg
/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_53_2737.jpg
/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_56_2736.jpg
/home/pi/Desktop/images/05112025/15/22/image_05112025_15_22_59_3588.jpg
/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_02_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":["1399524299","1399524535","1399524457","1399524498","1399524409","1399524342"],"photo_ids_order":["1399524299","1399524342","1399524409","1399524457","1399524498","1399524535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5fd9147a956a9775619b847be3158185.jpg","text":"TemporaryFile(/tmp/multipartBody167385501787731699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812043381,"filename":"image_05112025_15_22_47_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c7646362e3864d7e095a55a198534340.jpg","text":"TemporaryFile(/tmp/multipartBody8705965523810592440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812043381,"filename":"image_05112025_15_23_02_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5e39f9de8d9236d1d839fcccc0e1d837.jpg","text":"TemporaryFile(/tmp/multipartBody8582283737192172572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812043381,"filename":"image_05112025_15_22_56_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/15/4c3756ac0874f331a9ae161a6668b836.jpg","text":"TemporaryFile(/tmp/multipartBody1165848598948577604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812043381,"filename":"image_05112025_15_22_59_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/15/2e3711565a25536316bc0232e9da9193.jpg","text":"TemporaryFile(/tmp/multipartBody3556783203929294774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812043381,"filename":"image_05112025_15_22_53_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9b95b0ed75a4da013d0c3f7a41d28412.jpg","text":"TemporaryFile(/tmp/multipartBody4203943059897847516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812043381,"filename":"image_05112025_15_22_50_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399524409","file1":"1399524342","file0":"1399524299","file4":"1399524498","file5":"1399524535","file3":"1399524457"},"map_files_photo_id_array":[{"photo_id":"1399524535","filename":"file5"},{"photo_id":"1399524409","filename":"file2"},{"photo_id":"1399524498","filename":"file4"},{"photo_id":"1399524342","filename":"file1"},{"photo_id":"1399524299","filename":"file0"},{"photo_id":"1399524457","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399524299":["hashtag1","hashtag2"]},{"1399524535":["hashtag1","hashtag2"]},{"1399524457":["hashtag1","hashtag2"]},{"1399524498":["hashtag1","hashtag2"]},{"1399524409":["hashtag1","hashtag2"]},{"1399524342":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399524299, 1399524535, 1399524457, 1399524498, 1399524409, 1399524342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91050052642822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 16:20:21.890452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_14_9623.jpg', '/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_24_9678.jpg', '/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_35_10686.jpg', '/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_45_9794.jpg', '/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_54_9654.jpg', '/home/pi/Desktop/images/15122025/15/38/image_15122025_15_39_04_9980.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_14_9623.jpg
/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_24_9678.jpg
/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_35_10686.jpg
/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_45_9794.jpg
/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_54_9654.jpg
/home/pi/Desktop/images/15122025/15/38/image_15122025_15_39_04_9980.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5275261402130127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 16:20:31.937262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 16:20:41.909031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_05_3568.jpg', '/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_08_2653.jpg', '/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_12_3803.jpg', '/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_18_6135.jpg', '/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_20_1655.jpg', '/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_24_4285.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_05_3568.jpg
/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_08_2653.jpg
/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_12_3803.jpg
/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_18_6135.jpg
/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_20_1655.jpg
/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_24_4285.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399524794","1399524653","1399524691","1399524766","1399524795","1399524729"],"photo_ids_order":["1399524653","1399524691","1399524729","1399524766","1399524794","1399524795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f1e9a4f05c9aced8d6335500ca10be8e.jpg","text":"TemporaryFile(/tmp/multipartBody8366760474816307529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812102634,"filename":"image_05112025_15_23_20_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/15/ab6e4d11c4683e09d2316107bff81eb9.jpg","text":"TemporaryFile(/tmp/multipartBody484145439287426781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812102634,"filename":"image_05112025_15_23_05_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bbed8683e308ac528b68f3636bfe5126.jpg","text":"TemporaryFile(/tmp/multipartBody2652251200103935626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812102634,"filename":"image_05112025_15_23_08_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/15/982b9a4788cf3b0a61970d0cd854e8be.jpg","text":"TemporaryFile(/tmp/multipartBody1951331170146045839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812102634,"filename":"image_05112025_15_23_18_6135.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c7259d2dbc5e8b629e3366d2e4625cad.jpg","text":"TemporaryFile(/tmp/multipartBody6223984042245376565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812102634,"filename":"image_05112025_15_23_24_4285.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d1b59df6c66fefcbf85e18caa19b2f48.jpg","text":"TemporaryFile(/tmp/multipartBody6116457577374708426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812102634,"filename":"image_05112025_15_23_12_3803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399524729","file1":"1399524691","file0":"1399524653","file4":"1399524794","file5":"1399524795","file3":"1399524766"},"map_files_photo_id_array":[{"photo_id":"1399524795","filename":"file5"},{"photo_id":"1399524729","filename":"file2"},{"photo_id":"1399524794","filename":"file4"},{"photo_id":"1399524691","filename":"file1"},{"photo_id":"1399524653","filename":"file0"},{"photo_id":"1399524766","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399524794":["hashtag1","hashtag2"]},{"1399524653":["hashtag1","hashtag2"]},{"1399524691":["hashtag1","hashtag2"]},{"1399524766":["hashtag1","hashtag2"]},{"1399524795":["hashtag1","hashtag2"]},{"1399524729":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399524794, 1399524653, 1399524691, 1399524766, 1399524795, 1399524729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63784408569336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 16:21:22.243367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_14_9623.jpg', '/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_24_9678.jpg', '/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_35_10686.jpg', '/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_45_9794.jpg', '/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_54_9654.jpg', '/home/pi/Desktop/images/15122025/15/38/image_15122025_15_39_04_9980.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_14_9623.jpg
/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_24_9678.jpg
/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_35_10686.jpg
/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_45_9794.jpg
/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_54_9654.jpg
/home/pi/Desktop/images/15122025/15/38/image_15122025_15_39_04_9980.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5074644088745117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 16:21:32.218688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 16:21:42.218574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_26_1628.jpg', '/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_27_1690.jpg', '/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_29_1679.jpg', '/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_33_3672.jpg', '/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_35_2748.jpg', '/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_48_12339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_26_1628.jpg
/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_27_1690.jpg
/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_29_1679.jpg
/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_33_3672.jpg
/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_35_2748.jpg
/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_48_12339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399524900","1399524903","1399524902","1399524898","1399524901","1399524896"],"photo_ids_order":["1399524896","1399524898","1399524900","1399524901","1399524902","1399524903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3c4ef388cf64c78ab6992352091a00e1.jpg","text":"TemporaryFile(/tmp/multipartBody1519560449072547915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812163004,"filename":"image_05112025_15_23_29_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/15/4c401f14da01c2164888fe0da0c23408.jpg","text":"TemporaryFile(/tmp/multipartBody3303004061102271608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812163004,"filename":"image_05112025_15_23_48_12339.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d9d87dafce58e55a9395377c328e15ca.jpg","text":"TemporaryFile(/tmp/multipartBody8612191812015348346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812163004,"filename":"image_05112025_15_23_35_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/15/0e1ea21460fe58471b38c1f0a1debcd9.jpg","text":"TemporaryFile(/tmp/multipartBody6140506635972266245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812163004,"filename":"image_05112025_15_23_27_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/15/bd32ac6603c2c60bbfed3566c34465be.jpg","text":"TemporaryFile(/tmp/multipartBody4870389311332119135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812163004,"filename":"image_05112025_15_23_33_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/15/9d129cc22ae1b7a2162ce4d1dbe202ca.jpg","text":"TemporaryFile(/tmp/multipartBody5656441565614109385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812163004,"filename":"image_05112025_15_23_26_1628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399524900","file1":"1399524898","file0":"1399524896","file4":"1399524902","file5":"1399524903","file3":"1399524901"},"map_files_photo_id_array":[{"photo_id":"1399524903","filename":"file5"},{"photo_id":"1399524900","filename":"file2"},{"photo_id":"1399524902","filename":"file4"},{"photo_id":"1399524898","filename":"file1"},{"photo_id":"1399524896","filename":"file0"},{"photo_id":"1399524901","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399524900":["hashtag1","hashtag2"]},{"1399524903":["hashtag1","hashtag2"]},{"1399524902":["hashtag1","hashtag2"]},{"1399524898":["hashtag1","hashtag2"]},{"1399524901":["hashtag1","hashtag2"]},{"1399524896":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399524900, 1399524903, 1399524902, 1399524898, 1399524901, 1399524896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.399073123931885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 16:22:22.462539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_14_9623.jpg', '/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_24_9678.jpg', '/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_35_10686.jpg', '/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_45_9794.jpg', '/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_54_9654.jpg', '/home/pi/Desktop/images/15122025/15/38/image_15122025_15_39_04_9980.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_14_9623.jpg
/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_24_9678.jpg
/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_35_10686.jpg
/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_45_9794.jpg
/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_54_9654.jpg
/home/pi/Desktop/images/15122025/15/38/image_15122025_15_39_04_9980.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.615703821182251 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 16:22:32.445710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 16:22:42.423909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_49_1578.jpg', '/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_51_1704.jpg', '/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_53_1589.jpg', '/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_54_1556.jpg', '/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_56_1692.jpg', '/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_57_1697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_49_1578.jpg
/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_51_1704.jpg
/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_53_1589.jpg
/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_54_1556.jpg
/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_56_1692.jpg
/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_57_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":["1399524921","1399524914","1399524917","1399524916","1399524919","1399524918"],"photo_ids_order":["1399524914","1399524916","1399524917","1399524918","1399524919","1399524921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a12142b499c54d07f5ec722c2fb1b803.jpg","text":"TemporaryFile(/tmp/multipartBody1926787100167412454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812223141,"filename":"image_05112025_15_23_57_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/15/0e14b3f74cbe63e50def4c9e958de53b.jpg","text":"TemporaryFile(/tmp/multipartBody6060098793033284801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812223141,"filename":"image_05112025_15_23_49_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/15/9075ab279ba6922b3aa22642f331396d.jpg","text":"TemporaryFile(/tmp/multipartBody3484446750116566932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812223141,"filename":"image_05112025_15_23_53_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/15/00fba642b463211704b8538b6de4fd60.jpg","text":"TemporaryFile(/tmp/multipartBody3603594062332345226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812223141,"filename":"image_05112025_15_23_51_1704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e9d4f829f9426002d8de3960df65d2dd.jpg","text":"TemporaryFile(/tmp/multipartBody6761217609470025413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812223141,"filename":"image_05112025_15_23_56_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/15/85bc499626f8d78c4670b7e29574f2b5.jpg","text":"TemporaryFile(/tmp/multipartBody7667386748569099669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812223141,"filename":"image_05112025_15_23_54_1556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399524917","file1":"1399524916","file0":"1399524914","file4":"1399524919","file5":"1399524921","file3":"1399524918"},"map_files_photo_id_array":[{"photo_id":"1399524921","filename":"file5"},{"photo_id":"1399524917","filename":"file2"},{"photo_id":"1399524919","filename":"file4"},{"photo_id":"1399524916","filename":"file1"},{"photo_id":"1399524914","filename":"file0"},{"photo_id":"1399524918","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399524921":["hashtag1","hashtag2"]},{"1399524914":["hashtag1","hashtag2"]},{"1399524917":["hashtag1","hashtag2"]},{"1399524916":["hashtag1","hashtag2"]},{"1399524919":["hashtag1","hashtag2"]},{"1399524918":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399524921, 1399524914, 1399524917, 1399524916, 1399524919, 1399524918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64978003501892 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 16:23:22.670931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_14_9623.jpg', '/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_24_9678.jpg', '/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_35_10686.jpg', '/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_45_9794.jpg', '/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_54_9654.jpg', '/home/pi/Desktop/images/15122025/15/38/image_15122025_15_39_04_9980.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_14_9623.jpg
/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_24_9678.jpg
/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_35_10686.jpg
/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_45_9794.jpg
/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_54_9654.jpg
/home/pi/Desktop/images/15122025/15/38/image_15122025_15_39_04_9980.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5042562484741211 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 16:23:32.656410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 16:23:42.597105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_59_1646.jpg', '/home/pi/Desktop/images/05112025/15/24/image_05112025_15_24_05_3054.jpg', '/home/pi/Desktop/images/05112025/15/24/image_05112025_15_24_08_3587.jpg', '/home/pi/Desktop/images/05112025/15/24/image_05112025_15_24_11_2615.jpg', '/home/pi/Desktop/images/05112025/15/24/image_05112025_15_24_14_2712.jpg', '/home/pi/Desktop/images/05112025/15/24/image_05112025_15_24_18_4354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/23/image_05112025_15_23_59_1646.jpg
/home/pi/Desktop/images/05112025/15/24/image_05112025_15_24_05_3054.jpg
/home/pi/Desktop/images/05112025/15/24/image_05112025_15_24_08_3587.jpg
/home/pi/Desktop/images/05112025/15/24/image_05112025_15_24_11_2615.jpg
/home/pi/Desktop/images/05112025/15/24/image_05112025_15_24_14_2712.jpg
/home/pi/Desktop/images/05112025/15/24/image_05112025_15_24_18_4354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399524950","1399524976","1399524958","1399524973","1399524981","1399524960"],"photo_ids_order":["1399524950","1399524958","1399524960","1399524973","1399524976","1399524981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/17828ff2e49d988e0ab207235d7493af.jpg","text":"TemporaryFile(/tmp/multipartBody3857691217529378044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812283294,"filename":"image_05112025_15_23_59_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/15/89e0c81d6e934025011b73687912f2b4.jpg","text":"TemporaryFile(/tmp/multipartBody9091393782615927476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812283294,"filename":"image_05112025_15_24_14_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/15/dfeea2beb560c448bb00f5888f0cccfb.jpg","text":"TemporaryFile(/tmp/multipartBody1789355142124075808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812283294,"filename":"image_05112025_15_24_05_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/15/6313901c822629dc65db207c974b84b2.jpg","text":"TemporaryFile(/tmp/multipartBody577442513622775387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812283294,"filename":"image_05112025_15_24_11_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/15/ef1445425cf4ae08c6a331bd721b0400.jpg","text":"TemporaryFile(/tmp/multipartBody5323705970833094077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812283294,"filename":"image_05112025_15_24_18_4354.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/15def8cf749027bb26f40febd0a642d9.jpg","text":"TemporaryFile(/tmp/multipartBody1846952492150268334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812283294,"filename":"image_05112025_15_24_08_3587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399524960","file1":"1399524958","file0":"1399524950","file4":"1399524976","file5":"1399524981","file3":"1399524973"},"map_files_photo_id_array":[{"photo_id":"1399524981","filename":"file5"},{"photo_id":"1399524960","filename":"file2"},{"photo_id":"1399524976","filename":"file4"},{"photo_id":"1399524958","filename":"file1"},{"photo_id":"1399524950","filename":"file0"},{"photo_id":"1399524973","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399524950":["hashtag1","hashtag2"]},{"1399524976":["hashtag1","hashtag2"]},{"1399524958":["hashtag1","hashtag2"]},{"1399524973":["hashtag1","hashtag2"]},{"1399524981":["hashtag1","hashtag2"]},{"1399524960":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399524950, 1399524976, 1399524958, 1399524973, 1399524981, 1399524960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90655875205994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 16:24:21.856605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_14_9623.jpg', '/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_24_9678.jpg', '/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_35_10686.jpg', '/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_45_9794.jpg', '/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_54_9654.jpg', '/home/pi/Desktop/images/15122025/15/38/image_15122025_15_39_04_9980.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_14_9623.jpg
/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_24_9678.jpg
/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_35_10686.jpg
/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_45_9794.jpg
/home/pi/Desktop/images/15122025/15/38/image_15122025_15_38_54_9654.jpg
/home/pi/Desktop/images/15122025/15/38/image_15122025_15_39_04_9980.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399525001","1399525007","1399524982","1399525021","1399524984","1399525005"],"photo_ids_order":["1399524982","1399524984","1399525001","1399525005","1399525007","1399525021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e49b5a8218d971fa986ef543ec03f8b8.jpg","text":"TemporaryFile(/tmp/multipartBody7918152293284786819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812322470,"filename":"image_15122025_15_38_35_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/15/0c098b387c02a3f4bef1ad48d7cc4e0b.jpg","text":"TemporaryFile(/tmp/multipartBody6168548048249498228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812322470,"filename":"image_15122025_15_38_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/15/8ce1446fb0e8421861e68ad9dab33afd.jpg","text":"TemporaryFile(/tmp/multipartBody2803720562490132792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812322470,"filename":"image_15122025_15_38_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/15/c817c813637d3c6de90d56a025084747.jpg","text":"TemporaryFile(/tmp/multipartBody5259631587050707966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812322470,"filename":"image_15122025_15_39_04_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/15/44f5318f3c38b061551ea9a0cf2b682e.jpg","text":"TemporaryFile(/tmp/multipartBody9084381205739362685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812322470,"filename":"image_15122025_15_38_24_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bf4da1a11704b8dba21a3d3d3fad5dba.jpg","text":"TemporaryFile(/tmp/multipartBody225328806449375858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812322470,"filename":"image_15122025_15_38_45_9794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399525001","file1":"1399524984","file0":"1399524982","file4":"1399525007","file5":"1399525021","file3":"1399525005"},"map_files_photo_id_array":[{"photo_id":"1399525021","filename":"file5"},{"photo_id":"1399525001","filename":"file2"},{"photo_id":"1399525007","filename":"file4"},{"photo_id":"1399524984","filename":"file1"},{"photo_id":"1399524982","filename":"file0"},{"photo_id":"1399525005","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399525001":["hashtag1","hashtag2"]},{"1399525007":["hashtag1","hashtag2"]},{"1399524982":["hashtag1","hashtag2"]},{"1399525021":["hashtag1","hashtag2"]},{"1399524984":["hashtag1","hashtag2"]},{"1399525005":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399525001, 1399525007, 1399524982, 1399525021, 1399524984, 1399525005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14296078681946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 16:25:02.533235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/39/image_15122025_15_39_15_10666.jpg', '/home/pi/Desktop/images/15122025/15/39/image_15122025_15_39_25_9681.jpg', '/home/pi/Desktop/images/15122025/15/39/image_15122025_15_39_34_9716.jpg', '/home/pi/Desktop/images/15122025/15/39/image_15122025_15_39_44_9733.jpg', '/home/pi/Desktop/images/15122025/15/39/image_15122025_15_39_55_10677.jpg', '/home/pi/Desktop/images/15122025/15/39/image_15122025_15_40_05_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/39/image_15122025_15_39_15_10666.jpg
/home/pi/Desktop/images/15122025/15/39/image_15122025_15_39_25_9681.jpg
/home/pi/Desktop/images/15122025/15/39/image_15122025_15_39_34_9716.jpg
/home/pi/Desktop/images/15122025/15/39/image_15122025_15_39_44_9733.jpg
/home/pi/Desktop/images/15122025/15/39/image_15122025_15_39_55_10677.jpg
/home/pi/Desktop/images/15122025/15/39/image_15122025_15_40_05_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":["1399525031","1399525028","1399525030","1399525033","1399525027","1399525029"],"photo_ids_order":["1399525027","1399525028","1399525029","1399525030","1399525031","1399525033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/331320f963227266bc20a6a6eb421f39.jpg","text":"TemporaryFile(/tmp/multipartBody1882872278156678592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812363191,"filename":"image_15122025_15_39_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/15/278b5ff85f5bc30d3feba809be8b9b23.jpg","text":"TemporaryFile(/tmp/multipartBody3950928479850155511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812363191,"filename":"image_15122025_15_39_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/15/f18c4ca5954a1f493be75905c8e2f705.jpg","text":"TemporaryFile(/tmp/multipartBody4246093790376538322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812363191,"filename":"image_15122025_15_39_44_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/20ff9c80df44a693e95803eabca51d28.jpg","text":"TemporaryFile(/tmp/multipartBody1480300980804835325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812363191,"filename":"image_15122025_15_40_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/15/400ef54c2f63e9326061c467dda19a77.jpg","text":"TemporaryFile(/tmp/multipartBody2747972403061295665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812363191,"filename":"image_15122025_15_39_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/15/469eefa641c740cfb6c90a1d7a8271de.jpg","text":"TemporaryFile(/tmp/multipartBody8837292585168137078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812363191,"filename":"image_15122025_15_39_34_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399525029","file1":"1399525028","file0":"1399525027","file4":"1399525031","file5":"1399525033","file3":"1399525030"},"map_files_photo_id_array":[{"photo_id":"1399525033","filename":"file5"},{"photo_id":"1399525029","filename":"file2"},{"photo_id":"1399525031","filename":"file4"},{"photo_id":"1399525028","filename":"file1"},{"photo_id":"1399525027","filename":"file0"},{"photo_id":"1399525030","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399525031":["hashtag1","hashtag2"]},{"1399525028":["hashtag1","hashtag2"]},{"1399525030":["hashtag1","hashtag2"]},{"1399525033":["hashtag1","hashtag2"]},{"1399525027":["hashtag1","hashtag2"]},{"1399525029":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399525031, 1399525028, 1399525030, 1399525033, 1399525027, 1399525029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.494075298309326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 16:25:42.033854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/24/image_05112025_15_24_33_15339.jpg', '/home/pi/Desktop/images/05112025/15/24/image_05112025_15_24_35_1640.jpg', '/home/pi/Desktop/images/05112025/15/24/image_05112025_15_24_51_16170.jpg', '/home/pi/Desktop/images/05112025/15/24/image_05112025_15_24_53_1926.jpg', '/home/pi/Desktop/images/05112025/15/24/image_05112025_15_24_55_1609.jpg', '/home/pi/Desktop/images/05112025/15/24/image_05112025_15_24_57_2423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/24/image_05112025_15_24_33_15339.jpg
/home/pi/Desktop/images/05112025/15/24/image_05112025_15_24_35_1640.jpg
/home/pi/Desktop/images/05112025/15/24/image_05112025_15_24_51_16170.jpg
/home/pi/Desktop/images/05112025/15/24/image_05112025_15_24_53_1926.jpg
/home/pi/Desktop/images/05112025/15/24/image_05112025_15_24_55_1609.jpg
/home/pi/Desktop/images/05112025/15/24/image_05112025_15_24_57_2423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399525043","1399525042","1399525045","1399525041","1399525044","1399525038"],"photo_ids_order":["1399525038","1399525041","1399525042","1399525043","1399525044","1399525045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a8a16a6c737a8b03a53c939e2f9117a9.jpg","text":"TemporaryFile(/tmp/multipartBody8818501572693993954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812402903,"filename":"image_05112025_15_24_53_1926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5f890af909a04d6abc91f54bc58d16df.jpg","text":"TemporaryFile(/tmp/multipartBody7261356259351682032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812402903,"filename":"image_05112025_15_24_51_16170.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/672d64f07cec180abce14cd1a59d0a9e.jpg","text":"TemporaryFile(/tmp/multipartBody2348398496236417247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812402903,"filename":"image_05112025_15_24_57_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/15/39405962c712559c5d1f8c2dd78b7b82.jpg","text":"TemporaryFile(/tmp/multipartBody365371787372806389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812402903,"filename":"image_05112025_15_24_35_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/15/2a3f67f177cb4293d2fb7f09bf1a9f58.jpg","text":"TemporaryFile(/tmp/multipartBody3310826491525198638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812402903,"filename":"image_05112025_15_24_55_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/15/449100a1776189e8cb32d02408429aa1.jpg","text":"TemporaryFile(/tmp/multipartBody1191521899807353805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812402903,"filename":"image_05112025_15_24_33_15339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399525042","file1":"1399525041","file0":"1399525038","file4":"1399525044","file5":"1399525045","file3":"1399525043"},"map_files_photo_id_array":[{"photo_id":"1399525045","filename":"file5"},{"photo_id":"1399525042","filename":"file2"},{"photo_id":"1399525044","filename":"file4"},{"photo_id":"1399525041","filename":"file1"},{"photo_id":"1399525038","filename":"file0"},{"photo_id":"1399525043","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399525043":["hashtag1","hashtag2"]},{"1399525042":["hashtag1","hashtag2"]},{"1399525045":["hashtag1","hashtag2"]},{"1399525041":["hashtag1","hashtag2"]},{"1399525044":["hashtag1","hashtag2"]},{"1399525038":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399525043, 1399525042, 1399525045, 1399525041, 1399525044, 1399525038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.285298585891724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 16:26:22.330295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/40/image_15122025_15_40_14_9856.jpg', '/home/pi/Desktop/images/15122025/15/40/image_15122025_15_40_24_9652.jpg', '/home/pi/Desktop/images/15122025/15/40/image_15122025_15_40_35_10606.jpg', '/home/pi/Desktop/images/15122025/15/40/image_15122025_15_40_44_9668.jpg', '/home/pi/Desktop/images/15122025/15/40/image_15122025_15_40_55_10650.jpg', '/home/pi/Desktop/images/15122025/15/40/image_15122025_15_41_05_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/40/image_15122025_15_40_14_9856.jpg
/home/pi/Desktop/images/15122025/15/40/image_15122025_15_40_24_9652.jpg
/home/pi/Desktop/images/15122025/15/40/image_15122025_15_40_35_10606.jpg
/home/pi/Desktop/images/15122025/15/40/image_15122025_15_40_44_9668.jpg
/home/pi/Desktop/images/15122025/15/40/image_15122025_15_40_55_10650.jpg
/home/pi/Desktop/images/15122025/15/40/image_15122025_15_41_05_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399525046","1399525049","1399525051","1399525053","1399525047","1399525058"],"photo_ids_order":["1399525046","1399525047","1399525049","1399525051","1399525053","1399525058"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f677b3bc69343a0dd57594c690b75259.jpg","text":"TemporaryFile(/tmp/multipartBody4074615634017240936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812442984,"filename":"image_15122025_15_40_14_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1fc217a6b22687dbea6d26fea29f1c4e.jpg","text":"TemporaryFile(/tmp/multipartBody5043944100005692888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812442984,"filename":"image_15122025_15_40_35_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/572567d609bc1d87ebe0dac32e21714c.jpg","text":"TemporaryFile(/tmp/multipartBody5386032841685950518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812442984,"filename":"image_15122025_15_40_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/15/8a1c0d114cbb87b3b6a734d85e182a7f.jpg","text":"TemporaryFile(/tmp/multipartBody3034174883926904469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812442984,"filename":"image_15122025_15_40_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/15/ee69b592189cebaad9d05dfe7714f31f.jpg","text":"TemporaryFile(/tmp/multipartBody1505534565229021187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812442984,"filename":"image_15122025_15_40_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/15/e86d0f8cdf245e81b79114f35f668017.jpg","text":"TemporaryFile(/tmp/multipartBody5966137215655993355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812442984,"filename":"image_15122025_15_41_05_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399525049","file1":"1399525047","file0":"1399525046","file4":"1399525053","file5":"1399525058","file3":"1399525051"},"map_files_photo_id_array":[{"photo_id":"1399525058","filename":"file5"},{"photo_id":"1399525049","filename":"file2"},{"photo_id":"1399525053","filename":"file4"},{"photo_id":"1399525047","filename":"file1"},{"photo_id":"1399525046","filename":"file0"},{"photo_id":"1399525051","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399525046":["hashtag1","hashtag2"]},{"1399525049":["hashtag1","hashtag2"]},{"1399525051":["hashtag1","hashtag2"]},{"1399525053":["hashtag1","hashtag2"]},{"1399525047":["hashtag1","hashtag2"]},{"1399525058":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399525046, 1399525049, 1399525051, 1399525053, 1399525047, 1399525058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.43671202659607 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 16:27:03.328653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/41/image_15122025_15_41_14_9678.jpg', '/home/pi/Desktop/images/15122025/15/41/image_15122025_15_41_24_9812.jpg', '/home/pi/Desktop/images/15122025/15/41/image_15122025_15_41_35_10570.jpg', '/home/pi/Desktop/images/15122025/15/41/image_15122025_15_41_44_9593.jpg', '/home/pi/Desktop/images/15122025/15/41/image_15122025_15_41_54_9775.jpg', '/home/pi/Desktop/images/15122025/15/41/image_15122025_15_42_05_10709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/41/image_15122025_15_41_14_9678.jpg
/home/pi/Desktop/images/15122025/15/41/image_15122025_15_41_24_9812.jpg
/home/pi/Desktop/images/15122025/15/41/image_15122025_15_41_35_10570.jpg
/home/pi/Desktop/images/15122025/15/41/image_15122025_15_41_44_9593.jpg
/home/pi/Desktop/images/15122025/15/41/image_15122025_15_41_54_9775.jpg
/home/pi/Desktop/images/15122025/15/41/image_15122025_15_42_05_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":["1399525067","1399525069","1399525066","1399525062","1399525065","1399525064"],"photo_ids_order":["1399525062","1399525064","1399525065","1399525066","1399525067","1399525069"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c701f91ea1712152500c63ef86a95f59.jpg","text":"TemporaryFile(/tmp/multipartBody2147843733929067449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812484034,"filename":"image_15122025_15_41_54_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/12c7b98579c6f01becbec72b11b47f85.jpg","text":"TemporaryFile(/tmp/multipartBody4021517061024889115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812484034,"filename":"image_15122025_15_42_05_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c2a88cc8716aba51254b672e8b622064.jpg","text":"TemporaryFile(/tmp/multipartBody7262709359531563109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812484034,"filename":"image_15122025_15_41_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/15/52663dea87f3a2415dd51f5fb0c1070a.jpg","text":"TemporaryFile(/tmp/multipartBody6069613544513233662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812484034,"filename":"image_15122025_15_41_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/15/275dc3d905ee28b7a53166c6158e71a1.jpg","text":"TemporaryFile(/tmp/multipartBody9140975888752442036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812484034,"filename":"image_15122025_15_41_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/15/f5a59ce506e3c9a2177ce8dd270bd9f8.jpg","text":"TemporaryFile(/tmp/multipartBody195184423383667984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812484034,"filename":"image_15122025_15_41_24_9812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399525065","file1":"1399525064","file0":"1399525062","file4":"1399525067","file5":"1399525069","file3":"1399525066"},"map_files_photo_id_array":[{"photo_id":"1399525069","filename":"file5"},{"photo_id":"1399525065","filename":"file2"},{"photo_id":"1399525067","filename":"file4"},{"photo_id":"1399525064","filename":"file1"},{"photo_id":"1399525062","filename":"file0"},{"photo_id":"1399525066","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399525067":["hashtag1","hashtag2"]},{"1399525069":["hashtag1","hashtag2"]},{"1399525066":["hashtag1","hashtag2"]},{"1399525062":["hashtag1","hashtag2"]},{"1399525065":["hashtag1","hashtag2"]},{"1399525064":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399525067, 1399525069, 1399525066, 1399525062, 1399525065, 1399525064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67035984992981 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 16:27:42.524632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/24/image_05112025_15_24_59_1636.jpg', '/home/pi/Desktop/images/05112025/15/25/image_05112025_15_25_03_4305.jpg', '/home/pi/Desktop/images/05112025/15/25/image_05112025_15_25_05_1976.jpg', '/home/pi/Desktop/images/05112025/15/25/image_05112025_15_25_07_1853.jpg', '/home/pi/Desktop/images/05112025/15/25/image_05112025_15_25_18_11294.jpg', '/home/pi/Desktop/images/05112025/15/25/image_05112025_15_25_22_4231.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/24/image_05112025_15_24_59_1636.jpg
/home/pi/Desktop/images/05112025/15/25/image_05112025_15_25_03_4305.jpg
/home/pi/Desktop/images/05112025/15/25/image_05112025_15_25_05_1976.jpg
/home/pi/Desktop/images/05112025/15/25/image_05112025_15_25_07_1853.jpg
/home/pi/Desktop/images/05112025/15/25/image_05112025_15_25_18_11294.jpg
/home/pi/Desktop/images/05112025/15/25/image_05112025_15_25_22_4231.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399525081","1399525078","1399525074","1399525077","1399525076","1399525079"],"photo_ids_order":["1399525074","1399525076","1399525077","1399525078","1399525079","1399525081"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d895c3d9a39eaa4f7edcee20811f7ca9.jpg","text":"TemporaryFile(/tmp/multipartBody448436891397302743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812523238,"filename":"image_05112025_15_25_22_4231.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fb2ca9f45be11ff7b3cf3e6e4150389c.jpg","text":"TemporaryFile(/tmp/multipartBody3774316925971749107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812523238,"filename":"image_05112025_15_25_07_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/15/3c0c85d937983dc9469f5edbd8aa35cf.jpg","text":"TemporaryFile(/tmp/multipartBody413126042635553497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812523238,"filename":"image_05112025_15_24_59_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/15/27c4581875eefae0f39da29e8925dfe7.jpg","text":"TemporaryFile(/tmp/multipartBody9153325150808614467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812523238,"filename":"image_05112025_15_25_05_1976.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fa8bce79e08aec59833aa73480971093.jpg","text":"TemporaryFile(/tmp/multipartBody7860895795931907236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812523238,"filename":"image_05112025_15_25_03_4305.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/57305d38375bba2a5af958b6b63ce8f1.jpg","text":"TemporaryFile(/tmp/multipartBody2050352104614321692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812523238,"filename":"image_05112025_15_25_18_11294.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399525077","file1":"1399525076","file0":"1399525074","file4":"1399525079","file5":"1399525081","file3":"1399525078"},"map_files_photo_id_array":[{"photo_id":"1399525081","filename":"file5"},{"photo_id":"1399525077","filename":"file2"},{"photo_id":"1399525079","filename":"file4"},{"photo_id":"1399525076","filename":"file1"},{"photo_id":"1399525074","filename":"file0"},{"photo_id":"1399525078","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399525081":["hashtag1","hashtag2"]},{"1399525078":["hashtag1","hashtag2"]},{"1399525074":["hashtag1","hashtag2"]},{"1399525077":["hashtag1","hashtag2"]},{"1399525076":["hashtag1","hashtag2"]},{"1399525079":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399525081, 1399525078, 1399525074, 1399525077, 1399525076, 1399525079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53435158729553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 16:28:22.809306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/42/image_15122025_15_42_14_9714.jpg', '/home/pi/Desktop/images/15122025/15/42/image_15122025_15_42_24_9696.jpg', '/home/pi/Desktop/images/15122025/15/42/image_15122025_15_42_35_10657.jpg', '/home/pi/Desktop/images/15122025/15/42/image_15122025_15_42_45_9870.jpg', '/home/pi/Desktop/images/15122025/15/42/image_15122025_15_42_54_9753.jpg', '/home/pi/Desktop/images/15122025/15/42/image_15122025_15_43_04_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/42/image_15122025_15_42_14_9714.jpg
/home/pi/Desktop/images/15122025/15/42/image_15122025_15_42_24_9696.jpg
/home/pi/Desktop/images/15122025/15/42/image_15122025_15_42_35_10657.jpg
/home/pi/Desktop/images/15122025/15/42/image_15122025_15_42_45_9870.jpg
/home/pi/Desktop/images/15122025/15/42/image_15122025_15_42_54_9753.jpg
/home/pi/Desktop/images/15122025/15/42/image_15122025_15_43_04_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":["1399525088","1399525099","1399525084","1399525086","1399525097","1399525082"],"photo_ids_order":["1399525082","1399525084","1399525086","1399525088","1399525097","1399525099"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d5cd71764b321e9410344ad691fbe9e3.jpg","text":"TemporaryFile(/tmp/multipartBody7808137388333151303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812563412,"filename":"image_15122025_15_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/15/4777b7c7b4d96b4e2a0de526190c30cd.jpg","text":"TemporaryFile(/tmp/multipartBody4213540384960865448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812563412,"filename":"image_15122025_15_43_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/15/beb86d48bec4b0c0e90ede8164dfe630.jpg","text":"TemporaryFile(/tmp/multipartBody4614638321831178859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812563412,"filename":"image_15122025_15_42_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/15/ca18d1eda9ac530676813611135f717b.jpg","text":"TemporaryFile(/tmp/multipartBody3455005122380018959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812563412,"filename":"image_15122025_15_42_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/15/627b6b408bafb3160195db797d2abc64.jpg","text":"TemporaryFile(/tmp/multipartBody9125750546659713154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812563412,"filename":"image_15122025_15_42_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/15/aaa273429a79d29c76e2e6522c052f89.jpg","text":"TemporaryFile(/tmp/multipartBody6571104449182057131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812563412,"filename":"image_15122025_15_42_14_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399525086","file1":"1399525084","file0":"1399525082","file4":"1399525097","file5":"1399525099","file3":"1399525088"},"map_files_photo_id_array":[{"photo_id":"1399525099","filename":"file5"},{"photo_id":"1399525086","filename":"file2"},{"photo_id":"1399525097","filename":"file4"},{"photo_id":"1399525084","filename":"file1"},{"photo_id":"1399525082","filename":"file0"},{"photo_id":"1399525088","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399525088":["hashtag1","hashtag2"]},{"1399525099":["hashtag1","hashtag2"]},{"1399525084":["hashtag1","hashtag2"]},{"1399525086":["hashtag1","hashtag2"]},{"1399525097":["hashtag1","hashtag2"]},{"1399525082":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399525088, 1399525099, 1399525084, 1399525086, 1399525097, 1399525082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.208146810531616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 16:29:03.049752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/43/image_15122025_15_43_15_10554.jpg', '/home/pi/Desktop/images/15122025/15/43/image_15122025_15_43_25_9715.jpg', '/home/pi/Desktop/images/15122025/15/43/image_15122025_15_43_34_9672.jpg', '/home/pi/Desktop/images/15122025/15/43/image_15122025_15_43_45_10686.jpg', '/home/pi/Desktop/images/15122025/15/43/image_15122025_15_43_55_9729.jpg', '/home/pi/Desktop/images/15122025/15/43/image_15122025_15_44_05_9917.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/43/image_15122025_15_43_15_10554.jpg
/home/pi/Desktop/images/15122025/15/43/image_15122025_15_43_25_9715.jpg
/home/pi/Desktop/images/15122025/15/43/image_15122025_15_43_34_9672.jpg
/home/pi/Desktop/images/15122025/15/43/image_15122025_15_43_45_10686.jpg
/home/pi/Desktop/images/15122025/15/43/image_15122025_15_43_55_9729.jpg
/home/pi/Desktop/images/15122025/15/43/image_15122025_15_44_05_9917.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399525121","1399525118","1399525123","1399525117","1399525116","1399525119"],"photo_ids_order":["1399525116","1399525117","1399525118","1399525119","1399525121","1399525123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6a609c4a2a2adbb1f125f393d3ec0c47.jpg","text":"TemporaryFile(/tmp/multipartBody323470511970433851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812603769,"filename":"image_15122025_15_43_55_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c43e9ab2d388b0ab2568083d27956081.jpg","text":"TemporaryFile(/tmp/multipartBody7143655195246014910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812603769,"filename":"image_15122025_15_43_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/15/28c28b595a5dbd3d3b6f153ab21156d6.jpg","text":"TemporaryFile(/tmp/multipartBody8827047704312635033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812603769,"filename":"image_15122025_15_44_05_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/15/7c07c04d11ad7a79835d9f9d4ac0f51f.jpg","text":"TemporaryFile(/tmp/multipartBody765949550447287392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812603769,"filename":"image_15122025_15_43_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/15/6a4d09e69650a8c5e37f7b9b71dbd399.jpg","text":"TemporaryFile(/tmp/multipartBody725100843178437224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812603769,"filename":"image_15122025_15_43_15_10554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/195c9b1aeee0e218dfbd0563a9e4f4f2.jpg","text":"TemporaryFile(/tmp/multipartBody5822131729059595407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812603769,"filename":"image_15122025_15_43_45_10686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399525118","file1":"1399525117","file0":"1399525116","file4":"1399525121","file5":"1399525123","file3":"1399525119"},"map_files_photo_id_array":[{"photo_id":"1399525123","filename":"file5"},{"photo_id":"1399525118","filename":"file2"},{"photo_id":"1399525121","filename":"file4"},{"photo_id":"1399525117","filename":"file1"},{"photo_id":"1399525116","filename":"file0"},{"photo_id":"1399525119","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399525121":["hashtag1","hashtag2"]},{"1399525118":["hashtag1","hashtag2"]},{"1399525123":["hashtag1","hashtag2"]},{"1399525117":["hashtag1","hashtag2"]},{"1399525116":["hashtag1","hashtag2"]},{"1399525119":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399525121, 1399525118, 1399525123, 1399525117, 1399525116, 1399525119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.919111490249634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 16:29:42.000104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/25/image_05112025_15_25_30_7415.jpg', '/home/pi/Desktop/images/05112025/15/25/image_05112025_15_25_31_1593.jpg', '/home/pi/Desktop/images/05112025/15/25/image_05112025_15_25_33_1539.jpg', '/home/pi/Desktop/images/05112025/15/25/image_05112025_15_25_35_1591.jpg', '/home/pi/Desktop/images/05112025/15/25/image_05112025_15_25_47_9755.jpg', '/home/pi/Desktop/images/05112025/15/25/image_05112025_15_25_49_1788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/25/image_05112025_15_25_30_7415.jpg
/home/pi/Desktop/images/05112025/15/25/image_05112025_15_25_31_1593.jpg
/home/pi/Desktop/images/05112025/15/25/image_05112025_15_25_33_1539.jpg
/home/pi/Desktop/images/05112025/15/25/image_05112025_15_25_35_1591.jpg
/home/pi/Desktop/images/05112025/15/25/image_05112025_15_25_47_9755.jpg
/home/pi/Desktop/images/05112025/15/25/image_05112025_15_25_49_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":["1399525133","1399525132","1399525135","1399525129","1399525134","1399525131"],"photo_ids_order":["1399525129","1399525131","1399525132","1399525133","1399525134","1399525135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/88a5c73dba2cd0c881036e93a6ebc585.jpg","text":"TemporaryFile(/tmp/multipartBody404857211707822552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812642715,"filename":"image_05112025_15_25_35_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/15/674f5a312fd718b593ee7a07741548cb.jpg","text":"TemporaryFile(/tmp/multipartBody1918550371350839518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812642715,"filename":"image_05112025_15_25_33_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/15/e8ae221873f06f056182ba6a86dab3f1.jpg","text":"TemporaryFile(/tmp/multipartBody767750910325878589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812642715,"filename":"image_05112025_15_25_49_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/15/9d053a848b59329544530fd2a86d105e.jpg","text":"TemporaryFile(/tmp/multipartBody4472532698060559719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812642715,"filename":"image_05112025_15_25_30_7415.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/09dc0831a71ab50650430261a3cb0c67.jpg","text":"TemporaryFile(/tmp/multipartBody5805207808018979956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812642715,"filename":"image_05112025_15_25_47_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/15/b7a2f9f9d69794f3d9549e42b600ef9b.jpg","text":"TemporaryFile(/tmp/multipartBody4496693136146026434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812642715,"filename":"image_05112025_15_25_31_1593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399525132","file1":"1399525131","file0":"1399525129","file4":"1399525134","file5":"1399525135","file3":"1399525133"},"map_files_photo_id_array":[{"photo_id":"1399525135","filename":"file5"},{"photo_id":"1399525132","filename":"file2"},{"photo_id":"1399525134","filename":"file4"},{"photo_id":"1399525131","filename":"file1"},{"photo_id":"1399525129","filename":"file0"},{"photo_id":"1399525133","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399525133":["hashtag1","hashtag2"]},{"1399525132":["hashtag1","hashtag2"]},{"1399525135":["hashtag1","hashtag2"]},{"1399525129":["hashtag1","hashtag2"]},{"1399525134":["hashtag1","hashtag2"]},{"1399525131":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399525133, 1399525132, 1399525135, 1399525129, 1399525134, 1399525131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.411298513412476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 16:30:22.306719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/44/image_15122025_15_44_25_10727.jpg', '/home/pi/Desktop/images/15122025/15/44/image_15122025_15_44_35_9660.jpg', '/home/pi/Desktop/images/15122025/15/44/image_15122025_15_44_44_9575.jpg', '/home/pi/Desktop/images/15122025/15/44/image_15122025_15_45_05_9765.jpg', '/home/pi/Desktop/images/15122025/15/45/image_15122025_15_45_14_9647.jpg', '/home/pi/Desktop/images/15122025/15/45/image_15122025_15_45_24_9797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/44/image_15122025_15_44_25_10727.jpg
/home/pi/Desktop/images/15122025/15/44/image_15122025_15_44_35_9660.jpg
/home/pi/Desktop/images/15122025/15/44/image_15122025_15_44_44_9575.jpg
/home/pi/Desktop/images/15122025/15/44/image_15122025_15_45_05_9765.jpg
/home/pi/Desktop/images/15122025/15/45/image_15122025_15_45_14_9647.jpg
/home/pi/Desktop/images/15122025/15/45/image_15122025_15_45_24_9797.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5034525394439697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 16:30:32.276640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 16:30:42.222590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/25/image_05112025_15_25_51_1594.jpg', '/home/pi/Desktop/images/05112025/15/25/image_05112025_15_25_53_1725.jpg', '/home/pi/Desktop/images/05112025/15/25/image_05112025_15_25_57_4479.jpg', '/home/pi/Desktop/images/05112025/15/25/image_05112025_15_25_59_1705.jpg', '/home/pi/Desktop/images/05112025/15/25/image_05112025_15_26_00_1716.jpg', '/home/pi/Desktop/images/05112025/15/26/image_05112025_15_26_02_1692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/25/image_05112025_15_25_51_1594.jpg
/home/pi/Desktop/images/05112025/15/25/image_05112025_15_25_53_1725.jpg
/home/pi/Desktop/images/05112025/15/25/image_05112025_15_25_57_4479.jpg
/home/pi/Desktop/images/05112025/15/25/image_05112025_15_25_59_1705.jpg
/home/pi/Desktop/images/05112025/15/25/image_05112025_15_26_00_1716.jpg
/home/pi/Desktop/images/05112025/15/26/image_05112025_15_26_02_1692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399525151","1399525154","1399525148","1399525150","1399525153","1399525152"],"photo_ids_order":["1399525148","1399525150","1399525151","1399525152","1399525153","1399525154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/316df163480ae976f110d074a0bb3f81.jpg","text":"TemporaryFile(/tmp/multipartBody6189456149201315972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812702935,"filename":"image_05112025_15_25_57_4479.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0877e7386e76d164e48596044899a91b.jpg","text":"TemporaryFile(/tmp/multipartBody6288114283622237730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812702935,"filename":"image_05112025_15_26_02_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/15/f2e97af7868a87a04fab03b322655d97.jpg","text":"TemporaryFile(/tmp/multipartBody2505184484671922545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812702935,"filename":"image_05112025_15_25_51_1594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/98ec6beac40e2bc4c292597403dc702a.jpg","text":"TemporaryFile(/tmp/multipartBody6818897677987085228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812702935,"filename":"image_05112025_15_25_53_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/15/98fbe7f2c9c1ec42233a5264359359fd.jpg","text":"TemporaryFile(/tmp/multipartBody6967245840645936972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812702935,"filename":"image_05112025_15_26_00_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/15/1bdc417c15bade983091b0edd74e0289.jpg","text":"TemporaryFile(/tmp/multipartBody9156099489825595428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812702935,"filename":"image_05112025_15_25_59_1705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399525151","file1":"1399525150","file0":"1399525148","file4":"1399525153","file5":"1399525154","file3":"1399525152"},"map_files_photo_id_array":[{"photo_id":"1399525154","filename":"file5"},{"photo_id":"1399525151","filename":"file2"},{"photo_id":"1399525153","filename":"file4"},{"photo_id":"1399525150","filename":"file1"},{"photo_id":"1399525148","filename":"file0"},{"photo_id":"1399525152","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399525151":["hashtag1","hashtag2"]},{"1399525154":["hashtag1","hashtag2"]},{"1399525148":["hashtag1","hashtag2"]},{"1399525150":["hashtag1","hashtag2"]},{"1399525153":["hashtag1","hashtag2"]},{"1399525152":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399525151, 1399525154, 1399525148, 1399525150, 1399525153, 1399525152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.76106238365173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 16:31:32.442812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 16:31:42.488919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/26/image_05112025_15_26_08_5706.jpg', '/home/pi/Desktop/images/05112025/15/26/image_05112025_15_26_25_17595.jpg', '/home/pi/Desktop/images/05112025/15/26/image_05112025_15_26_58_32217.jpg', '/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_11_1767.jpg', '/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_13_1626.jpg', '/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_14_1657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/26/image_05112025_15_26_08_5706.jpg
/home/pi/Desktop/images/05112025/15/26/image_05112025_15_26_25_17595.jpg
/home/pi/Desktop/images/05112025/15/26/image_05112025_15_26_58_32217.jpg
/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_11_1767.jpg
/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_13_1626.jpg
/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_14_1657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399525166","1399525160","1399525162","1399525165","1399525164","1399525163"],"photo_ids_order":["1399525160","1399525162","1399525163","1399525164","1399525165","1399525166"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/913191eefa43db3388db540852d1ff04.jpg","text":"TemporaryFile(/tmp/multipartBody2222648726316107231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812763195,"filename":"image_05112025_15_27_14_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/15/51a0ab572e9fc9b1f6e45c501c389f6e.jpg","text":"TemporaryFile(/tmp/multipartBody5623797847776063911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812763195,"filename":"image_05112025_15_26_08_5706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a92376aed49dd35493c0262aa9644d0d.jpg","text":"TemporaryFile(/tmp/multipartBody471460079341420675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812763195,"filename":"image_05112025_15_26_25_17595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7a5e3f893513648dae9c14b38552e9d5.jpg","text":"TemporaryFile(/tmp/multipartBody4252315992476544895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812763195,"filename":"image_05112025_15_27_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/15/be5f4a14c64f196935f9cb492d92005e.jpg","text":"TemporaryFile(/tmp/multipartBody7539556555523309477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812763195,"filename":"image_05112025_15_27_11_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/15/f91ccad3f0b0111b7172bd87577c3794.jpg","text":"TemporaryFile(/tmp/multipartBody2291115587495625539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812763195,"filename":"image_05112025_15_26_58_32217.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399525163","file1":"1399525162","file0":"1399525160","file4":"1399525165","file5":"1399525166","file3":"1399525164"},"map_files_photo_id_array":[{"photo_id":"1399525166","filename":"file5"},{"photo_id":"1399525163","filename":"file2"},{"photo_id":"1399525165","filename":"file4"},{"photo_id":"1399525162","filename":"file1"},{"photo_id":"1399525160","filename":"file0"},{"photo_id":"1399525164","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399525166":["hashtag1","hashtag2"]},{"1399525160":["hashtag1","hashtag2"]},{"1399525162":["hashtag1","hashtag2"]},{"1399525165":["hashtag1","hashtag2"]},{"1399525164":["hashtag1","hashtag2"]},{"1399525163":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399525166, 1399525160, 1399525162, 1399525165, 1399525164, 1399525163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56737422943115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 16:32:22.723644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/44/image_15122025_15_44_25_10727.jpg', '/home/pi/Desktop/images/15122025/15/44/image_15122025_15_44_35_9660.jpg', '/home/pi/Desktop/images/15122025/15/44/image_15122025_15_44_44_9575.jpg', '/home/pi/Desktop/images/15122025/15/44/image_15122025_15_45_05_9765.jpg', '/home/pi/Desktop/images/15122025/15/45/image_15122025_15_45_14_9647.jpg', '/home/pi/Desktop/images/15122025/15/45/image_15122025_15_45_24_9797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/44/image_15122025_15_44_25_10727.jpg
/home/pi/Desktop/images/15122025/15/44/image_15122025_15_44_35_9660.jpg
/home/pi/Desktop/images/15122025/15/44/image_15122025_15_44_44_9575.jpg
/home/pi/Desktop/images/15122025/15/44/image_15122025_15_45_05_9765.jpg
/home/pi/Desktop/images/15122025/15/45/image_15122025_15_45_14_9647.jpg
/home/pi/Desktop/images/15122025/15/45/image_15122025_15_45_24_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":["1399525172","1399525169","1399525174","1399525179","1399525167","1399525176"],"photo_ids_order":["1399525167","1399525169","1399525172","1399525174","1399525176","1399525179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/da6f79525e7efdf97a9ec11bc965a96b.jpg","text":"TemporaryFile(/tmp/multipartBody8322356281807440205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812803415,"filename":"image_15122025_15_44_44_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/15/a21d22a1d8fcd0c69fa116b5fd49cb80.jpg","text":"TemporaryFile(/tmp/multipartBody8454703093767985680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812803415,"filename":"image_15122025_15_44_35_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a738ea17f0dae3916fd0462b07964461.jpg","text":"TemporaryFile(/tmp/multipartBody8632307374444657418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812803415,"filename":"image_15122025_15_45_05_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5355291f376e2e9bea27f9911bc12fa1.jpg","text":"TemporaryFile(/tmp/multipartBody5226136138751875370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812803415,"filename":"image_15122025_15_45_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/15/812eb4ab5f2a4aa29d0ddf40c04b7877.jpg","text":"TemporaryFile(/tmp/multipartBody4020903490737285605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812803415,"filename":"image_15122025_15_44_25_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e253b1459da12ad625f51bb872d3cf91.jpg","text":"TemporaryFile(/tmp/multipartBody4939656855169996935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812803415,"filename":"image_15122025_15_45_14_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399525172","file1":"1399525169","file0":"1399525167","file4":"1399525176","file5":"1399525179","file3":"1399525174"},"map_files_photo_id_array":[{"photo_id":"1399525179","filename":"file5"},{"photo_id":"1399525172","filename":"file2"},{"photo_id":"1399525176","filename":"file4"},{"photo_id":"1399525169","filename":"file1"},{"photo_id":"1399525167","filename":"file0"},{"photo_id":"1399525174","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399525172":["hashtag1","hashtag2"]},{"1399525169":["hashtag1","hashtag2"]},{"1399525174":["hashtag1","hashtag2"]},{"1399525179":["hashtag1","hashtag2"]},{"1399525167":["hashtag1","hashtag2"]},{"1399525176":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399525172, 1399525169, 1399525174, 1399525179, 1399525167, 1399525176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56803488731384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 16:33:02.792559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/45/image_15122025_15_45_54_9752.jpg', '/home/pi/Desktop/images/15122025/15/45/image_15122025_15_46_04_9684.jpg', '/home/pi/Desktop/images/15122025/15/46/image_15122025_15_46_15_10611.jpg', '/home/pi/Desktop/images/15122025/15/46/image_15122025_15_46_24_9734.jpg', '/home/pi/Desktop/images/15122025/15/46/image_15122025_15_46_34_9652.jpg', '/home/pi/Desktop/images/15122025/15/46/image_15122025_15_46_45_10691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/45/image_15122025_15_45_54_9752.jpg
/home/pi/Desktop/images/15122025/15/45/image_15122025_15_46_04_9684.jpg
/home/pi/Desktop/images/15122025/15/46/image_15122025_15_46_15_10611.jpg
/home/pi/Desktop/images/15122025/15/46/image_15122025_15_46_24_9734.jpg
/home/pi/Desktop/images/15122025/15/46/image_15122025_15_46_34_9652.jpg
/home/pi/Desktop/images/15122025/15/46/image_15122025_15_46_45_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":["1399525418","1399525313","1399525279","1399525453","1399525347","1399525382"],"photo_ids_order":["1399525279","1399525313","1399525347","1399525382","1399525418","1399525453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a56873ab7d69378f24926b6438231c90.jpg","text":"TemporaryFile(/tmp/multipartBody2518429883214653526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812843449,"filename":"image_15122025_15_46_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/15/04c884454bf0f5e37e0f1b2df9255a18.jpg","text":"TemporaryFile(/tmp/multipartBody7761083140954963595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812843449,"filename":"image_15122025_15_46_04_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2a3c1795bfe76f4e497cd0a85cab7e5f.jpg","text":"TemporaryFile(/tmp/multipartBody6409176877343906179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812843449,"filename":"image_15122025_15_45_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/15/f49d55ff9c51812113935b226b30fdc3.jpg","text":"TemporaryFile(/tmp/multipartBody2702465332359530823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812843449,"filename":"image_15122025_15_46_45_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bd0217a6debfa9005b8abd30862968c3.jpg","text":"TemporaryFile(/tmp/multipartBody5121904101977178438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812843449,"filename":"image_15122025_15_46_15_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7fbedcde0db435a02971ae15b65a164e.jpg","text":"TemporaryFile(/tmp/multipartBody2820935199002818047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812843449,"filename":"image_15122025_15_46_24_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399525347","file1":"1399525313","file0":"1399525279","file4":"1399525418","file5":"1399525453","file3":"1399525382"},"map_files_photo_id_array":[{"photo_id":"1399525453","filename":"file5"},{"photo_id":"1399525347","filename":"file2"},{"photo_id":"1399525418","filename":"file4"},{"photo_id":"1399525313","filename":"file1"},{"photo_id":"1399525279","filename":"file0"},{"photo_id":"1399525382","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399525418":["hashtag1","hashtag2"]},{"1399525313":["hashtag1","hashtag2"]},{"1399525279":["hashtag1","hashtag2"]},{"1399525453":["hashtag1","hashtag2"]},{"1399525347":["hashtag1","hashtag2"]},{"1399525382":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399525418, 1399525313, 1399525279, 1399525453, 1399525347, 1399525382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3192458152771 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 16:33:42.039131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_16_1517.jpg', '/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_18_1644.jpg', '/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_19_1624.jpg', '/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_21_1754.jpg', '/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_23_1662.jpg', '/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_35_11877.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_16_1517.jpg
/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_18_1644.jpg
/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_19_1624.jpg
/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_21_1754.jpg
/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_23_1662.jpg
/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_35_11877.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399525649","1399525616","1399525613","1399525588","1399525615","1399525617"],"photo_ids_order":["1399525588","1399525613","1399525615","1399525616","1399525617","1399525649"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/278c3d0242960191e5aac08468251dcd.jpg","text":"TemporaryFile(/tmp/multipartBody1032183455697478524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812882763,"filename":"image_05112025_15_27_35_11877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2ae466cecdd6261a8ff21cb82a4ef1fc.jpg","text":"TemporaryFile(/tmp/multipartBody4691188675052508773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812882763,"filename":"image_05112025_15_27_21_1754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c240815c8d544fbc95ebc207fe7635e4.jpg","text":"TemporaryFile(/tmp/multipartBody1776406600799067732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812882763,"filename":"image_05112025_15_27_18_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/15/d2c66ac7f11493eb721555ceaccc06dd.jpg","text":"TemporaryFile(/tmp/multipartBody1024856824457224865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812882763,"filename":"image_05112025_15_27_16_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/15/6e5c2fbcaab1cee777161447d7d6401d.jpg","text":"TemporaryFile(/tmp/multipartBody1731239736377275195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812882763,"filename":"image_05112025_15_27_19_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1001a0f75f736085ca0578278d9b77f1.jpg","text":"TemporaryFile(/tmp/multipartBody8348384978015018404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812882763,"filename":"image_05112025_15_27_23_1662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399525615","file1":"1399525613","file0":"1399525588","file4":"1399525617","file5":"1399525649","file3":"1399525616"},"map_files_photo_id_array":[{"photo_id":"1399525649","filename":"file5"},{"photo_id":"1399525615","filename":"file2"},{"photo_id":"1399525617","filename":"file4"},{"photo_id":"1399525613","filename":"file1"},{"photo_id":"1399525588","filename":"file0"},{"photo_id":"1399525616","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399525649":["hashtag1","hashtag2"]},{"1399525616":["hashtag1","hashtag2"]},{"1399525613":["hashtag1","hashtag2"]},{"1399525588":["hashtag1","hashtag2"]},{"1399525615":["hashtag1","hashtag2"]},{"1399525617":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399525649, 1399525616, 1399525613, 1399525588, 1399525615, 1399525617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47533917427063 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 16:34:22.358414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/46/image_15122025_15_47_04_9760.jpg', '/home/pi/Desktop/images/15122025/15/47/image_15122025_15_47_15_10714.jpg', '/home/pi/Desktop/images/15122025/15/47/image_15122025_15_47_25_9912.jpg', '/home/pi/Desktop/images/15122025/15/47/image_15122025_15_47_35_9759.jpg', '/home/pi/Desktop/images/15122025/15/47/image_15122025_15_47_44_9641.jpg', '/home/pi/Desktop/images/15122025/15/47/image_15122025_15_47_55_10731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/46/image_15122025_15_47_04_9760.jpg
/home/pi/Desktop/images/15122025/15/47/image_15122025_15_47_15_10714.jpg
/home/pi/Desktop/images/15122025/15/47/image_15122025_15_47_25_9912.jpg
/home/pi/Desktop/images/15122025/15/47/image_15122025_15_47_35_9759.jpg
/home/pi/Desktop/images/15122025/15/47/image_15122025_15_47_44_9641.jpg
/home/pi/Desktop/images/15122025/15/47/image_15122025_15_47_55_10731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399525712","1399525706","1399525714","1399525708","1399525746","1399525710"],"photo_ids_order":["1399525706","1399525708","1399525710","1399525712","1399525714","1399525746"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/458180de5f7a1d735ca5dfc2f5e32d90.jpg","text":"TemporaryFile(/tmp/multipartBody8986227720626668918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812922995,"filename":"image_15122025_15_47_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/15/a18d0c50cebff9a46742d992e3104547.jpg","text":"TemporaryFile(/tmp/multipartBody6790554961171751321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812922995,"filename":"image_15122025_15_47_04_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f70fd540f572f294e2552085acac2712.jpg","text":"TemporaryFile(/tmp/multipartBody6465940398225564644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812922995,"filename":"image_15122025_15_47_44_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/56f74ceb396464349341a1f99a511132.jpg","text":"TemporaryFile(/tmp/multipartBody445312511120804653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812922995,"filename":"image_15122025_15_47_15_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0a2d2fa128f6d864f0f319deead84bf0.jpg","text":"TemporaryFile(/tmp/multipartBody4959262996661840637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812922995,"filename":"image_15122025_15_47_55_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/22985a50a380d167f72da0639673266c.jpg","text":"TemporaryFile(/tmp/multipartBody7038548868168351882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812922995,"filename":"image_15122025_15_47_25_9912.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399525710","file1":"1399525708","file0":"1399525706","file4":"1399525714","file5":"1399525746","file3":"1399525712"},"map_files_photo_id_array":[{"photo_id":"1399525746","filename":"file5"},{"photo_id":"1399525710","filename":"file2"},{"photo_id":"1399525714","filename":"file4"},{"photo_id":"1399525708","filename":"file1"},{"photo_id":"1399525706","filename":"file0"},{"photo_id":"1399525712","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399525712":["hashtag1","hashtag2"]},{"1399525706":["hashtag1","hashtag2"]},{"1399525714":["hashtag1","hashtag2"]},{"1399525708":["hashtag1","hashtag2"]},{"1399525746":["hashtag1","hashtag2"]},{"1399525710":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399525712, 1399525706, 1399525714, 1399525708, 1399525746, 1399525710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.333147287368774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 16:35:03.177081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/47/image_15122025_15_48_05_9690.jpg', '/home/pi/Desktop/images/15122025/15/48/image_15122025_15_48_14_9833.jpg', '/home/pi/Desktop/images/15122025/15/48/image_15122025_15_48_24_9632.jpg', '/home/pi/Desktop/images/15122025/15/48/image_15122025_15_48_35_10587.jpg', '/home/pi/Desktop/images/15122025/15/48/image_15122025_15_48_44_9655.jpg', '/home/pi/Desktop/images/15122025/15/48/image_15122025_15_48_55_10688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/47/image_15122025_15_48_05_9690.jpg
/home/pi/Desktop/images/15122025/15/48/image_15122025_15_48_14_9833.jpg
/home/pi/Desktop/images/15122025/15/48/image_15122025_15_48_24_9632.jpg
/home/pi/Desktop/images/15122025/15/48/image_15122025_15_48_35_10587.jpg
/home/pi/Desktop/images/15122025/15/48/image_15122025_15_48_44_9655.jpg
/home/pi/Desktop/images/15122025/15/48/image_15122025_15_48_55_10688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399525867","1399525843","1399525852","1399525851","1399525956","1399525917"],"photo_ids_order":["1399525843","1399525851","1399525852","1399525867","1399525917","1399525956"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1a839a4a3bc08e8f13dceabffe0cc983.jpg","text":"TemporaryFile(/tmp/multipartBody5237096649471558105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812963840,"filename":"image_15122025_15_48_35_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/15/619ba27e01409a674fae0db623262123.jpg","text":"TemporaryFile(/tmp/multipartBody6470110398684775720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812963840,"filename":"image_15122025_15_48_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/15/5b494cfea8e5498626cc7e27f55b76bc.jpg","text":"TemporaryFile(/tmp/multipartBody4215039010443975220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812963840,"filename":"image_15122025_15_48_24_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/397f45219eed0a78895edbd56d132eb4.jpg","text":"TemporaryFile(/tmp/multipartBody1280340455985118126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812963840,"filename":"image_15122025_15_48_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/15/d13a97241c980e1266337ea775f78aa4.jpg","text":"TemporaryFile(/tmp/multipartBody4058651316508123800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812963840,"filename":"image_15122025_15_48_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/15/3bbbb4d89ff328f46403ba74270fa4e2.jpg","text":"TemporaryFile(/tmp/multipartBody5350273647830226609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765812963840,"filename":"image_15122025_15_48_44_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399525852","file1":"1399525851","file0":"1399525843","file4":"1399525917","file5":"1399525956","file3":"1399525867"},"map_files_photo_id_array":[{"photo_id":"1399525956","filename":"file5"},{"photo_id":"1399525852","filename":"file2"},{"photo_id":"1399525917","filename":"file4"},{"photo_id":"1399525851","filename":"file1"},{"photo_id":"1399525843","filename":"file0"},{"photo_id":"1399525867","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399525867":["hashtag1","hashtag2"]},{"1399525843":["hashtag1","hashtag2"]},{"1399525852":["hashtag1","hashtag2"]},{"1399525851":["hashtag1","hashtag2"]},{"1399525956":["hashtag1","hashtag2"]},{"1399525917":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399525867, 1399525843, 1399525852, 1399525851, 1399525956, 1399525917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.79912543296814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 16:36:03.320641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 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-15 16:36:12.764851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 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-15 16:36:22.746079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 16:36:44.189369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 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
2025-12-15 16:36:44.218551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 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-15 16:37:03.070639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/48/image_15122025_15_49_05_9837.jpg', '/home/pi/Desktop/images/15122025/15/49/image_15122025_15_49_15_9773.jpg', '/home/pi/Desktop/images/15122025/15/49/image_15122025_15_49_24_9609.jpg', '/home/pi/Desktop/images/15122025/15/49/image_15122025_15_49_34_9826.jpg', '/home/pi/Desktop/images/15122025/15/49/image_15122025_15_49_45_10713.jpg', '/home/pi/Desktop/images/15122025/15/49/image_15122025_15_49_54_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/48/image_15122025_15_49_05_9837.jpg
/home/pi/Desktop/images/15122025/15/49/image_15122025_15_49_15_9773.jpg
/home/pi/Desktop/images/15122025/15/49/image_15122025_15_49_24_9609.jpg
/home/pi/Desktop/images/15122025/15/49/image_15122025_15_49_34_9826.jpg
/home/pi/Desktop/images/15122025/15/49/image_15122025_15_49_45_10713.jpg
/home/pi/Desktop/images/15122025/15/49/image_15122025_15_49_54_9738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399525990","1399525993","1399525995","1399525992","1399525994","1399525997"],"photo_ids_order":["1399525990","1399525992","1399525993","1399525994","1399525995","1399525997"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0c94e97da92af7768b4167eda45bdb97.jpg","text":"TemporaryFile(/tmp/multipartBody5492234253728071883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813083741,"filename":"image_15122025_15_49_05_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bb5ea196d9efba9cc3ed5638a5766875.jpg","text":"TemporaryFile(/tmp/multipartBody8176679732722640003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813083741,"filename":"image_15122025_15_49_24_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6fa08278a65e2b049fcebd8d6301f7bd.jpg","text":"TemporaryFile(/tmp/multipartBody4607545620412322003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813083741,"filename":"image_15122025_15_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/15/69808f19e65aa0f176da8cc2f57eaec9.jpg","text":"TemporaryFile(/tmp/multipartBody4017350117576891686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813083741,"filename":"image_15122025_15_49_15_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3d49a2a33062ff3243150b2a19006719.jpg","text":"TemporaryFile(/tmp/multipartBody6298504709762421440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813083741,"filename":"image_15122025_15_49_34_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8bbcbfdd79ea8384a6cc5917f5722594.jpg","text":"TemporaryFile(/tmp/multipartBody1576540829453108833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813083741,"filename":"image_15122025_15_49_54_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399525993","file1":"1399525992","file0":"1399525990","file4":"1399525995","file5":"1399525997","file3":"1399525994"},"map_files_photo_id_array":[{"photo_id":"1399525997","filename":"file5"},{"photo_id":"1399525993","filename":"file2"},{"photo_id":"1399525995","filename":"file4"},{"photo_id":"1399525992","filename":"file1"},{"photo_id":"1399525990","filename":"file0"},{"photo_id":"1399525994","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399525990":["hashtag1","hashtag2"]},{"1399525993":["hashtag1","hashtag2"]},{"1399525995":["hashtag1","hashtag2"]},{"1399525992":["hashtag1","hashtag2"]},{"1399525994":["hashtag1","hashtag2"]},{"1399525997":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399525990, 1399525993, 1399525995, 1399525992, 1399525994, 1399525997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.172138690948486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 16:37:42.481164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_36_1548.jpg', '/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_38_1621.jpg', '/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_39_1643.jpg', '/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_54_15125.jpg', '/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_56_1560.jpg', '/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_58_1793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_36_1548.jpg
/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_38_1621.jpg
/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_39_1643.jpg
/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_54_15125.jpg
/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_56_1560.jpg
/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_58_1793.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6493868827819824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 16:38:03.161967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/49/image_15122025_15_50_04_9640.jpg', '/home/pi/Desktop/images/15122025/15/50/image_15122025_15_50_15_10692.jpg', '/home/pi/Desktop/images/15122025/15/50/image_15122025_15_50_25_9753.jpg', '/home/pi/Desktop/images/15122025/15/50/image_15122025_15_50_34_9803.jpg', '/home/pi/Desktop/images/15122025/15/50/image_15122025_15_50_44_9813.jpg', '/home/pi/Desktop/images/15122025/15/50/image_15122025_15_50_55_10706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/49/image_15122025_15_50_04_9640.jpg
/home/pi/Desktop/images/15122025/15/50/image_15122025_15_50_15_10692.jpg
/home/pi/Desktop/images/15122025/15/50/image_15122025_15_50_25_9753.jpg
/home/pi/Desktop/images/15122025/15/50/image_15122025_15_50_34_9803.jpg
/home/pi/Desktop/images/15122025/15/50/image_15122025_15_50_44_9813.jpg
/home/pi/Desktop/images/15122025/15/50/image_15122025_15_50_55_10706.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399526009","1399526011","1399526014","1399526008","1399526010","1399526012"],"photo_ids_order":["1399526008","1399526009","1399526010","1399526011","1399526012","1399526014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ab14b3626f8cfeb4ac4b49843463ec4f.jpg","text":"TemporaryFile(/tmp/multipartBody1090604320602654120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813143880,"filename":"image_15122025_15_50_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/15/a391a8e7cdaccaf7fcbeda6a77e09de4.jpg","text":"TemporaryFile(/tmp/multipartBody6951654343583873100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813143880,"filename":"image_15122025_15_50_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/15/859a1fe831e2f81f1b67329fa0365b56.jpg","text":"TemporaryFile(/tmp/multipartBody3552604553688710921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813143880,"filename":"image_15122025_15_50_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/15/b5f3eae93bfd40f25419874d8945438e.jpg","text":"TemporaryFile(/tmp/multipartBody7778149770470463100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813143880,"filename":"image_15122025_15_50_04_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4ccb36ad136e3d8fcc611da30b32171a.jpg","text":"TemporaryFile(/tmp/multipartBody7116700525321800280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813143880,"filename":"image_15122025_15_50_25_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8630f381cfaf23f9ba465135c84ee11e.jpg","text":"TemporaryFile(/tmp/multipartBody7965730446344070395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813143880,"filename":"image_15122025_15_50_44_9813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526010","file1":"1399526009","file0":"1399526008","file4":"1399526012","file5":"1399526014","file3":"1399526011"},"map_files_photo_id_array":[{"photo_id":"1399526014","filename":"file5"},{"photo_id":"1399526010","filename":"file2"},{"photo_id":"1399526012","filename":"file4"},{"photo_id":"1399526009","filename":"file1"},{"photo_id":"1399526008","filename":"file0"},{"photo_id":"1399526011","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399526009":["hashtag1","hashtag2"]},{"1399526011":["hashtag1","hashtag2"]},{"1399526014":["hashtag1","hashtag2"]},{"1399526008":["hashtag1","hashtag2"]},{"1399526010":["hashtag1","hashtag2"]},{"1399526012":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399526009, 1399526011, 1399526014, 1399526008, 1399526010, 1399526012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57451128959656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 16:38:42.696731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_36_1548.jpg', '/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_38_1621.jpg', '/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_39_1643.jpg', '/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_54_15125.jpg', '/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_56_1560.jpg', '/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_58_1793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_36_1548.jpg
/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_38_1621.jpg
/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_39_1643.jpg
/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_54_15125.jpg
/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_56_1560.jpg
/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_58_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":["1399526021","1399526023","1399526026","1399526022","1399526019","1399526024"],"photo_ids_order":["1399526019","1399526021","1399526022","1399526023","1399526024","1399526026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e728d2947629bd0e51d7c5a57ec9710d.jpg","text":"TemporaryFile(/tmp/multipartBody2745802524799647987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813183290,"filename":"image_05112025_15_27_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/15/fb57de25acf32869b6379c497a4ad3f9.jpg","text":"TemporaryFile(/tmp/multipartBody8750425361341246540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813183290,"filename":"image_05112025_15_27_54_15125.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/300dc1c777fcd58b4070e8a72ab537a4.jpg","text":"TemporaryFile(/tmp/multipartBody4941465366072893197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813183290,"filename":"image_05112025_15_27_58_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/15/23cfa79a53e25ecc15a3b86157d9250a.jpg","text":"TemporaryFile(/tmp/multipartBody9188866470241898876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813183290,"filename":"image_05112025_15_27_39_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/15/232fb491050234c5ff3844129e79965e.jpg","text":"TemporaryFile(/tmp/multipartBody4349032953050195187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813183290,"filename":"image_05112025_15_27_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/15/048d7038e804f1f3f87baed153b4e742.jpg","text":"TemporaryFile(/tmp/multipartBody4149881249228160759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813183290,"filename":"image_05112025_15_27_56_1560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526022","file1":"1399526021","file0":"1399526019","file4":"1399526024","file5":"1399526026","file3":"1399526023"},"map_files_photo_id_array":[{"photo_id":"1399526026","filename":"file5"},{"photo_id":"1399526022","filename":"file2"},{"photo_id":"1399526024","filename":"file4"},{"photo_id":"1399526021","filename":"file1"},{"photo_id":"1399526019","filename":"file0"},{"photo_id":"1399526023","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399526021":["hashtag1","hashtag2"]},{"1399526023":["hashtag1","hashtag2"]},{"1399526026":["hashtag1","hashtag2"]},{"1399526022":["hashtag1","hashtag2"]},{"1399526019":["hashtag1","hashtag2"]},{"1399526024":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399526021, 1399526023, 1399526026, 1399526022, 1399526019, 1399526024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.890777349472046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 16:39:22.041238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/50/image_15122025_15_51_05_9637.jpg', '/home/pi/Desktop/images/15122025/15/51/image_15122025_15_51_14_9872.jpg', '/home/pi/Desktop/images/15122025/15/51/image_15122025_15_51_24_9683.jpg', '/home/pi/Desktop/images/15122025/15/51/image_15122025_15_51_35_10799.jpg', '/home/pi/Desktop/images/15122025/15/51/image_15122025_15_51_45_9740.jpg', '/home/pi/Desktop/images/15122025/15/51/image_15122025_15_51_54_9582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/50/image_15122025_15_51_05_9637.jpg
/home/pi/Desktop/images/15122025/15/51/image_15122025_15_51_14_9872.jpg
/home/pi/Desktop/images/15122025/15/51/image_15122025_15_51_24_9683.jpg
/home/pi/Desktop/images/15122025/15/51/image_15122025_15_51_35_10799.jpg
/home/pi/Desktop/images/15122025/15/51/image_15122025_15_51_45_9740.jpg
/home/pi/Desktop/images/15122025/15/51/image_15122025_15_51_54_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":["1399526065","1399526052","1399526046","1399526043","1399526069","1399526060"],"photo_ids_order":["1399526043","1399526046","1399526052","1399526060","1399526065","1399526069"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/13710d2d6f0fc2c8a4d646038ca75b3f.jpg","text":"TemporaryFile(/tmp/multipartBody575014149854455744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813222636,"filename":"image_15122025_15_51_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/15/58f175f0445c755903e847ff4343c322.jpg","text":"TemporaryFile(/tmp/multipartBody4280607951975291455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813222636,"filename":"image_15122025_15_51_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/15/a66ee22b6c9853147b5a1d25ce574ce9.jpg","text":"TemporaryFile(/tmp/multipartBody6663386034140923435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813222636,"filename":"image_15122025_15_51_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/15/6cf35863d7ea9c4b7f7e6d71711f37d2.jpg","text":"TemporaryFile(/tmp/multipartBody8972562167202385855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813222636,"filename":"image_15122025_15_51_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/15/e208db57d482029fc98a8018496481b2.jpg","text":"TemporaryFile(/tmp/multipartBody1932199769592826955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813222636,"filename":"image_15122025_15_51_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/15/7fd52d18c677dc5c3bc6e1fc737bddfd.jpg","text":"TemporaryFile(/tmp/multipartBody1738957731320229431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813222636,"filename":"image_15122025_15_51_35_10799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526052","file1":"1399526046","file0":"1399526043","file4":"1399526065","file5":"1399526069","file3":"1399526060"},"map_files_photo_id_array":[{"photo_id":"1399526069","filename":"file5"},{"photo_id":"1399526052","filename":"file2"},{"photo_id":"1399526065","filename":"file4"},{"photo_id":"1399526046","filename":"file1"},{"photo_id":"1399526043","filename":"file0"},{"photo_id":"1399526060","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399526065":["hashtag1","hashtag2"]},{"1399526052":["hashtag1","hashtag2"]},{"1399526046":["hashtag1","hashtag2"]},{"1399526043":["hashtag1","hashtag2"]},{"1399526069":["hashtag1","hashtag2"]},{"1399526060":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399526065, 1399526052, 1399526046, 1399526043, 1399526069, 1399526060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02260184288025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 16:40:02.571468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/51/image_15122025_15_52_05_10688.jpg', '/home/pi/Desktop/images/15122025/15/52/image_15122025_15_52_15_9699.jpg', '/home/pi/Desktop/images/15122025/15/52/image_15122025_15_52_24_9750.jpg', '/home/pi/Desktop/images/15122025/15/52/image_15122025_15_52_35_10585.jpg', '/home/pi/Desktop/images/15122025/15/52/image_15122025_15_52_45_9734.jpg', '/home/pi/Desktop/images/15122025/15/52/image_15122025_15_52_54_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/51/image_15122025_15_52_05_10688.jpg
/home/pi/Desktop/images/15122025/15/52/image_15122025_15_52_15_9699.jpg
/home/pi/Desktop/images/15122025/15/52/image_15122025_15_52_24_9750.jpg
/home/pi/Desktop/images/15122025/15/52/image_15122025_15_52_35_10585.jpg
/home/pi/Desktop/images/15122025/15/52/image_15122025_15_52_45_9734.jpg
/home/pi/Desktop/images/15122025/15/52/image_15122025_15_52_54_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399526074","1399526076","1399526079","1399526073","1399526075","1399526072"],"photo_ids_order":["1399526072","1399526073","1399526074","1399526075","1399526076","1399526079"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/86ff294a8a73b43af1ffe6f02007590a.jpg","text":"TemporaryFile(/tmp/multipartBody7282543604949545654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813263225,"filename":"image_15122025_15_52_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/15/cb88fd3a7ae1e18964daa5b15ea0a9c5.jpg","text":"TemporaryFile(/tmp/multipartBody8020602298727747569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813263225,"filename":"image_15122025_15_52_45_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b41172bf8c507dfb62e15991c4f654f7.jpg","text":"TemporaryFile(/tmp/multipartBody2634314261410205332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813263225,"filename":"image_15122025_15_52_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7e8cc9b929e747699b21cb7f7c8f1b3e.jpg","text":"TemporaryFile(/tmp/multipartBody8837370587892291810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813263225,"filename":"image_15122025_15_52_15_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/17a6e67b6a927cab5776c0fa342102af.jpg","text":"TemporaryFile(/tmp/multipartBody511065871236666424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813263225,"filename":"image_15122025_15_52_35_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a8a06a04d6d82179ed68c228d1ec47bf.jpg","text":"TemporaryFile(/tmp/multipartBody8619605922901989436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813263225,"filename":"image_15122025_15_52_05_10688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526074","file1":"1399526073","file0":"1399526072","file4":"1399526076","file5":"1399526079","file3":"1399526075"},"map_files_photo_id_array":[{"photo_id":"1399526079","filename":"file5"},{"photo_id":"1399526074","filename":"file2"},{"photo_id":"1399526076","filename":"file4"},{"photo_id":"1399526073","filename":"file1"},{"photo_id":"1399526072","filename":"file0"},{"photo_id":"1399526075","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399526074":["hashtag1","hashtag2"]},{"1399526076":["hashtag1","hashtag2"]},{"1399526079":["hashtag1","hashtag2"]},{"1399526073":["hashtag1","hashtag2"]},{"1399526075":["hashtag1","hashtag2"]},{"1399526072":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399526074, 1399526076, 1399526079, 1399526073, 1399526075, 1399526072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.846561908721924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 16:41:02.906916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/52/image_15122025_15_53_05_10624.jpg', '/home/pi/Desktop/images/15122025/15/53/image_15122025_15_53_15_9805.jpg', '/home/pi/Desktop/images/15122025/15/53/image_15122025_15_53_24_9741.jpg', '/home/pi/Desktop/images/15122025/15/53/image_15122025_15_53_34_9822.jpg', '/home/pi/Desktop/images/15122025/15/53/image_15122025_15_53_45_10605.jpg', '/home/pi/Desktop/images/15122025/15/53/image_15122025_15_53_55_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/52/image_15122025_15_53_05_10624.jpg
/home/pi/Desktop/images/15122025/15/53/image_15122025_15_53_15_9805.jpg
/home/pi/Desktop/images/15122025/15/53/image_15122025_15_53_24_9741.jpg
/home/pi/Desktop/images/15122025/15/53/image_15122025_15_53_34_9822.jpg
/home/pi/Desktop/images/15122025/15/53/image_15122025_15_53_45_10605.jpg
/home/pi/Desktop/images/15122025/15/53/image_15122025_15_53_55_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":["1399526092","1399526089","1399526088","1399526087","1399526090","1399526084"],"photo_ids_order":["1399526084","1399526087","1399526088","1399526089","1399526090","1399526092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3104837fb91e6b59b690ef6081ef9432.jpg","text":"TemporaryFile(/tmp/multipartBody8457531474365988898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813323645,"filename":"image_15122025_15_53_55_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e6983b9465bcee253c111a40a3d904ed.jpg","text":"TemporaryFile(/tmp/multipartBody1964180785504104256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813323645,"filename":"image_15122025_15_53_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/15/ff34b8f61e9601627442a78b625cd1df.jpg","text":"TemporaryFile(/tmp/multipartBody4246325778560252823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813323645,"filename":"image_15122025_15_53_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/15/3dc0261ccbd3c806bac790b9911beda7.jpg","text":"TemporaryFile(/tmp/multipartBody3462408904805478003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813323645,"filename":"image_15122025_15_53_15_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b55901e383766e8d6833fb1cd076c793.jpg","text":"TemporaryFile(/tmp/multipartBody8068680283062409549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813323645,"filename":"image_15122025_15_53_45_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/164802af439f62fdcd34e5abb07f425f.jpg","text":"TemporaryFile(/tmp/multipartBody5975289382226166468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813323645,"filename":"image_15122025_15_53_05_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526088","file1":"1399526087","file0":"1399526084","file4":"1399526090","file5":"1399526092","file3":"1399526089"},"map_files_photo_id_array":[{"photo_id":"1399526092","filename":"file5"},{"photo_id":"1399526088","filename":"file2"},{"photo_id":"1399526090","filename":"file4"},{"photo_id":"1399526087","filename":"file1"},{"photo_id":"1399526084","filename":"file0"},{"photo_id":"1399526089","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399526092":["hashtag1","hashtag2"]},{"1399526089":["hashtag1","hashtag2"]},{"1399526088":["hashtag1","hashtag2"]},{"1399526087":["hashtag1","hashtag2"]},{"1399526090":["hashtag1","hashtag2"]},{"1399526084":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399526092, 1399526089, 1399526088, 1399526087, 1399526090, 1399526084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96848106384277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 16:41:42.357838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_59_1505.jpg', '/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_01_1731.jpg', '/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_03_1597.jpg', '/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_09_4430.jpg', '/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_10_1727.jpg', '/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_18_7265.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/27/image_05112025_15_27_59_1505.jpg
/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_01_1731.jpg
/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_03_1597.jpg
/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_09_4430.jpg
/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_10_1727.jpg
/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_18_7265.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399526102","1399526104","1399526097","1399526100","1399526103","1399526105"],"photo_ids_order":["1399526097","1399526100","1399526102","1399526103","1399526104","1399526105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/14ada7fba7e013e56946f889f8564313.jpg","text":"TemporaryFile(/tmp/multipartBody5234394108925563643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813363078,"filename":"image_05112025_15_28_03_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/15/2e733d743297a2d05923439d7c7cc246.jpg","text":"TemporaryFile(/tmp/multipartBody6554853148014477988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813363078,"filename":"image_05112025_15_28_10_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/15/2b4d1d1c0c8d6c729ddfa0317c3de498.jpg","text":"TemporaryFile(/tmp/multipartBody7779849165625217502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813363078,"filename":"image_05112025_15_27_59_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/15/c69f76bb13765590b4b3d4c37e097557.jpg","text":"TemporaryFile(/tmp/multipartBody4237298420478570741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813363078,"filename":"image_05112025_15_28_01_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/15/8251f6924418f69e0d7ae5a2776f80f9.jpg","text":"TemporaryFile(/tmp/multipartBody7682626203916956258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813363078,"filename":"image_05112025_15_28_09_4430.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a66b7a0c9aa24d8ffb3bac28a932ba1e.jpg","text":"TemporaryFile(/tmp/multipartBody2588984933521244502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813363078,"filename":"image_05112025_15_28_18_7265.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526102","file1":"1399526100","file0":"1399526097","file4":"1399526104","file5":"1399526105","file3":"1399526103"},"map_files_photo_id_array":[{"photo_id":"1399526105","filename":"file5"},{"photo_id":"1399526102","filename":"file2"},{"photo_id":"1399526104","filename":"file4"},{"photo_id":"1399526100","filename":"file1"},{"photo_id":"1399526097","filename":"file0"},{"photo_id":"1399526103","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399526102":["hashtag1","hashtag2"]},{"1399526104":["hashtag1","hashtag2"]},{"1399526097":["hashtag1","hashtag2"]},{"1399526100":["hashtag1","hashtag2"]},{"1399526103":["hashtag1","hashtag2"]},{"1399526105":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399526102, 1399526104, 1399526097, 1399526100, 1399526103, 1399526105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.744293212890625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 16:42:22.624414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/53/image_15122025_15_54_04_9940.jpg', '/home/pi/Desktop/images/15122025/15/54/image_15122025_15_54_14_9841.jpg', '/home/pi/Desktop/images/15122025/15/54/image_15122025_15_54_24_9758.jpg', '/home/pi/Desktop/images/15122025/15/54/image_15122025_15_54_35_10786.jpg', '/home/pi/Desktop/images/15122025/15/54/image_15122025_15_54_45_9748.jpg', '/home/pi/Desktop/images/15122025/15/54/image_15122025_15_54_54_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/53/image_15122025_15_54_04_9940.jpg
/home/pi/Desktop/images/15122025/15/54/image_15122025_15_54_14_9841.jpg
/home/pi/Desktop/images/15122025/15/54/image_15122025_15_54_24_9758.jpg
/home/pi/Desktop/images/15122025/15/54/image_15122025_15_54_35_10786.jpg
/home/pi/Desktop/images/15122025/15/54/image_15122025_15_54_45_9748.jpg
/home/pi/Desktop/images/15122025/15/54/image_15122025_15_54_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":["1399526114","1399526108","1399526110","1399526112","1399526118","1399526106"],"photo_ids_order":["1399526106","1399526108","1399526110","1399526112","1399526114","1399526118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/32b48c333c6794a4776b3cdfe0d819e9.jpg","text":"TemporaryFile(/tmp/multipartBody5524932266650614272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813403227,"filename":"image_15122025_15_54_45_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8860794edffe911629dd16fca0da7231.jpg","text":"TemporaryFile(/tmp/multipartBody6800920359492108308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813403227,"filename":"image_15122025_15_54_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/15/e75208cf2f6f79661ce100c18824f3c0.jpg","text":"TemporaryFile(/tmp/multipartBody312802836368286135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813403227,"filename":"image_15122025_15_54_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/15/10313732a4e41270f8e1bfc9aa35e52d.jpg","text":"TemporaryFile(/tmp/multipartBody6599317088252458084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813403227,"filename":"image_15122025_15_54_35_10786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ea914f74a791d6e1196e496d68b2a9dc.jpg","text":"TemporaryFile(/tmp/multipartBody375950277445425363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813403227,"filename":"image_15122025_15_54_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/15/5f40fd8a0a8d57b1dc0e96184e6dd425.jpg","text":"TemporaryFile(/tmp/multipartBody4842752438669703237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813403227,"filename":"image_15122025_15_54_04_9940.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526110","file1":"1399526108","file0":"1399526106","file4":"1399526114","file5":"1399526118","file3":"1399526112"},"map_files_photo_id_array":[{"photo_id":"1399526118","filename":"file5"},{"photo_id":"1399526110","filename":"file2"},{"photo_id":"1399526114","filename":"file4"},{"photo_id":"1399526108","filename":"file1"},{"photo_id":"1399526106","filename":"file0"},{"photo_id":"1399526112","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399526114":["hashtag1","hashtag2"]},{"1399526108":["hashtag1","hashtag2"]},{"1399526110":["hashtag1","hashtag2"]},{"1399526112":["hashtag1","hashtag2"]},{"1399526118":["hashtag1","hashtag2"]},{"1399526106":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399526114, 1399526108, 1399526110, 1399526112, 1399526118, 1399526106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8032546043396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 16:43:02.372880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/54/image_15122025_15_55_05_10659.jpg', '/home/pi/Desktop/images/15122025/15/55/image_15122025_15_55_15_9650.jpg', '/home/pi/Desktop/images/15122025/15/55/image_15122025_15_55_24_9656.jpg', '/home/pi/Desktop/images/15122025/15/55/image_15122025_15_55_34_9738.jpg', '/home/pi/Desktop/images/15122025/15/55/image_15122025_15_55_45_10722.jpg', '/home/pi/Desktop/images/15122025/15/55/image_15122025_15_55_55_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/54/image_15122025_15_55_05_10659.jpg
/home/pi/Desktop/images/15122025/15/55/image_15122025_15_55_15_9650.jpg
/home/pi/Desktop/images/15122025/15/55/image_15122025_15_55_24_9656.jpg
/home/pi/Desktop/images/15122025/15/55/image_15122025_15_55_34_9738.jpg
/home/pi/Desktop/images/15122025/15/55/image_15122025_15_55_45_10722.jpg
/home/pi/Desktop/images/15122025/15/55/image_15122025_15_55_55_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":["1399526125","1399526139","1399526127","1399526123","1399526147","1399526126"],"photo_ids_order":["1399526123","1399526125","1399526126","1399526127","1399526139","1399526147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/732ad256e4132785320b17267f0a1079.jpg","text":"TemporaryFile(/tmp/multipartBody5665009043214298344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813443083,"filename":"image_15122025_15_55_15_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d691110fbcdf5f6fd6d85739bcb8d3b1.jpg","text":"TemporaryFile(/tmp/multipartBody8979281942373886906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813443083,"filename":"image_15122025_15_55_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/15/024855670c83e178abc38a3f77f640dc.jpg","text":"TemporaryFile(/tmp/multipartBody4932684555135062295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813443083,"filename":"image_15122025_15_55_34_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ecc4949254d45e3ef83948353cb57144.jpg","text":"TemporaryFile(/tmp/multipartBody3739988455347542819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813443083,"filename":"image_15122025_15_55_05_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1451c1d4b3871240f53b92f8f74869ff.jpg","text":"TemporaryFile(/tmp/multipartBody5636878824204114969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813443083,"filename":"image_15122025_15_55_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/15/043d95f18a3c22bd293c5e22a3011398.jpg","text":"TemporaryFile(/tmp/multipartBody6189082622255678872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813443083,"filename":"image_15122025_15_55_24_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526126","file1":"1399526125","file0":"1399526123","file4":"1399526139","file5":"1399526147","file3":"1399526127"},"map_files_photo_id_array":[{"photo_id":"1399526147","filename":"file5"},{"photo_id":"1399526126","filename":"file2"},{"photo_id":"1399526139","filename":"file4"},{"photo_id":"1399526125","filename":"file1"},{"photo_id":"1399526123","filename":"file0"},{"photo_id":"1399526127","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399526125":["hashtag1","hashtag2"]},{"1399526139":["hashtag1","hashtag2"]},{"1399526127":["hashtag1","hashtag2"]},{"1399526123":["hashtag1","hashtag2"]},{"1399526147":["hashtag1","hashtag2"]},{"1399526126":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399526125, 1399526139, 1399526127, 1399526123, 1399526147, 1399526126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25934886932373 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 16:43:41.791580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_19_1637.jpg', '/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_21_1622.jpg', '/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_27_6247.jpg', '/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_29_1567.jpg', '/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_30_1748.jpg', '/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_32_1483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_19_1637.jpg
/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_21_1622.jpg
/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_27_6247.jpg
/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_29_1567.jpg
/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_30_1748.jpg
/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_32_1483.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6103453636169434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 16:44:02.551550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/55/image_15122025_15_56_04_9668.jpg', '/home/pi/Desktop/images/15122025/15/56/image_15122025_15_56_14_9867.jpg', '/home/pi/Desktop/images/15122025/15/56/image_15122025_15_56_25_10597.jpg', '/home/pi/Desktop/images/15122025/15/56/image_15122025_15_56_34_9781.jpg', '/home/pi/Desktop/images/15122025/15/56/image_15122025_15_56_44_9607.jpg', '/home/pi/Desktop/images/15122025/15/56/image_15122025_15_56_55_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/55/image_15122025_15_56_04_9668.jpg
/home/pi/Desktop/images/15122025/15/56/image_15122025_15_56_14_9867.jpg
/home/pi/Desktop/images/15122025/15/56/image_15122025_15_56_25_10597.jpg
/home/pi/Desktop/images/15122025/15/56/image_15122025_15_56_34_9781.jpg
/home/pi/Desktop/images/15122025/15/56/image_15122025_15_56_44_9607.jpg
/home/pi/Desktop/images/15122025/15/56/image_15122025_15_56_55_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":["1399526207","1399526209","1399526203","1399526206","1399526202","1399526204"],"photo_ids_order":["1399526202","1399526203","1399526204","1399526206","1399526207","1399526209"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4b618e4935f651d354c64a282be30f21.jpg","text":"TemporaryFile(/tmp/multipartBody3578294668094463032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813503172,"filename":"image_15122025_15_56_44_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cf5181c40a881affae68bf6004755f26.jpg","text":"TemporaryFile(/tmp/multipartBody6682858486180446577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813503172,"filename":"image_15122025_15_56_55_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/38ccd52d86b69982cd01d96dc034f74b.jpg","text":"TemporaryFile(/tmp/multipartBody6209959213070556103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813503172,"filename":"image_15122025_15_56_14_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/53d2246419f4c3f43d4a1efcc2a64599.jpg","text":"TemporaryFile(/tmp/multipartBody3675237062790232860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813503172,"filename":"image_15122025_15_56_34_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/63d1d8a5afa35ce02ca7a1a575ff8d7f.jpg","text":"TemporaryFile(/tmp/multipartBody855731518808902898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813503172,"filename":"image_15122025_15_56_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/15/02baec27fbeb0df1c24f84ae1ea275f3.jpg","text":"TemporaryFile(/tmp/multipartBody6450057596259831063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813503172,"filename":"image_15122025_15_56_25_10597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526204","file1":"1399526203","file0":"1399526202","file4":"1399526207","file5":"1399526209","file3":"1399526206"},"map_files_photo_id_array":[{"photo_id":"1399526209","filename":"file5"},{"photo_id":"1399526204","filename":"file2"},{"photo_id":"1399526207","filename":"file4"},{"photo_id":"1399526203","filename":"file1"},{"photo_id":"1399526202","filename":"file0"},{"photo_id":"1399526206","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399526207":["hashtag1","hashtag2"]},{"1399526209":["hashtag1","hashtag2"]},{"1399526203":["hashtag1","hashtag2"]},{"1399526206":["hashtag1","hashtag2"]},{"1399526202":["hashtag1","hashtag2"]},{"1399526204":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399526207, 1399526209, 1399526203, 1399526206, 1399526202, 1399526204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65169310569763 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 16:44:42.002622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_19_1637.jpg', '/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_21_1622.jpg', '/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_27_6247.jpg', '/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_29_1567.jpg', '/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_30_1748.jpg', '/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_32_1483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_19_1637.jpg
/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_21_1622.jpg
/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_27_6247.jpg
/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_29_1567.jpg
/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_30_1748.jpg
/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_32_1483.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399526221","1399526215","1399526218","1399526220","1399526217","1399526219"],"photo_ids_order":["1399526215","1399526217","1399526218","1399526219","1399526220","1399526221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/088b9a80c98355dbfd39011ebf265be4.jpg","text":"TemporaryFile(/tmp/multipartBody6279403043890047393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813542598,"filename":"image_05112025_15_28_32_1483.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d7cb2ef177f32acf4f52ed61b62632e8.jpg","text":"TemporaryFile(/tmp/multipartBody8490786277651010620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813542598,"filename":"image_05112025_15_28_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/15/466b2fc1e0eace4e0c0cdb1801b836e7.jpg","text":"TemporaryFile(/tmp/multipartBody4498401146345547275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813542598,"filename":"image_05112025_15_28_27_6247.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1aacd178444a746fd31d328962f12e77.jpg","text":"TemporaryFile(/tmp/multipartBody9109536354845113655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813542598,"filename":"image_05112025_15_28_30_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/15/bf48fe7d76159bfdcba1d26ef2c3949e.jpg","text":"TemporaryFile(/tmp/multipartBody8501839110770754336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813542598,"filename":"image_05112025_15_28_21_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/15/b9ea6556d69f08c91eee293c62e642d6.jpg","text":"TemporaryFile(/tmp/multipartBody6476477082322903211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813542598,"filename":"image_05112025_15_28_29_1567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526218","file1":"1399526217","file0":"1399526215","file4":"1399526220","file5":"1399526221","file3":"1399526219"},"map_files_photo_id_array":[{"photo_id":"1399526221","filename":"file5"},{"photo_id":"1399526218","filename":"file2"},{"photo_id":"1399526220","filename":"file4"},{"photo_id":"1399526217","filename":"file1"},{"photo_id":"1399526215","filename":"file0"},{"photo_id":"1399526219","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399526221":["hashtag1","hashtag2"]},{"1399526215":["hashtag1","hashtag2"]},{"1399526218":["hashtag1","hashtag2"]},{"1399526220":["hashtag1","hashtag2"]},{"1399526217":["hashtag1","hashtag2"]},{"1399526219":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399526221, 1399526215, 1399526218, 1399526220, 1399526217, 1399526219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00602746009827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 16:45:22.252818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/56/image_15122025_15_57_04_9655.jpg', '/home/pi/Desktop/images/15122025/15/57/image_15122025_15_57_15_10654.jpg', '/home/pi/Desktop/images/15122025/15/57/image_15122025_15_57_25_9643.jpg', '/home/pi/Desktop/images/15122025/15/57/image_15122025_15_57_34_9740.jpg', '/home/pi/Desktop/images/15122025/15/57/image_15122025_15_57_44_9742.jpg', '/home/pi/Desktop/images/15122025/15/57/image_15122025_15_57_55_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/56/image_15122025_15_57_04_9655.jpg
/home/pi/Desktop/images/15122025/15/57/image_15122025_15_57_15_10654.jpg
/home/pi/Desktop/images/15122025/15/57/image_15122025_15_57_25_9643.jpg
/home/pi/Desktop/images/15122025/15/57/image_15122025_15_57_34_9740.jpg
/home/pi/Desktop/images/15122025/15/57/image_15122025_15_57_44_9742.jpg
/home/pi/Desktop/images/15122025/15/57/image_15122025_15_57_55_10633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399526227","1399526229","1399526223","1399526234","1399526231","1399526225"],"photo_ids_order":["1399526223","1399526225","1399526227","1399526229","1399526231","1399526234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/05bd467bb4b7d730873844de321825a7.jpg","text":"TemporaryFile(/tmp/multipartBody961506494894233338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813582846,"filename":"image_15122025_15_57_25_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ce23bf17e9cf66a23e155f4d3cc94332.jpg","text":"TemporaryFile(/tmp/multipartBody3431594401554689914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813582846,"filename":"image_15122025_15_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/15/a7c0c4994fb5510ea5b6a86d375d59df.jpg","text":"TemporaryFile(/tmp/multipartBody7979374395644735752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813582846,"filename":"image_15122025_15_57_04_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/53474bbc1f5bed9c0b6ae92581bfa0a0.jpg","text":"TemporaryFile(/tmp/multipartBody2001897721783804162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813582846,"filename":"image_15122025_15_57_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/15/0e384aa8f2ba861a22611604508990e4.jpg","text":"TemporaryFile(/tmp/multipartBody509323121660309774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813582846,"filename":"image_15122025_15_57_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/15/0b46dd03e1f1f24e65b5fd3b55ba487b.jpg","text":"TemporaryFile(/tmp/multipartBody4379844956042500635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813582846,"filename":"image_15122025_15_57_15_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526227","file1":"1399526225","file0":"1399526223","file4":"1399526231","file5":"1399526234","file3":"1399526229"},"map_files_photo_id_array":[{"photo_id":"1399526234","filename":"file5"},{"photo_id":"1399526227","filename":"file2"},{"photo_id":"1399526231","filename":"file4"},{"photo_id":"1399526225","filename":"file1"},{"photo_id":"1399526223","filename":"file0"},{"photo_id":"1399526229","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399526227":["hashtag1","hashtag2"]},{"1399526229":["hashtag1","hashtag2"]},{"1399526223":["hashtag1","hashtag2"]},{"1399526234":["hashtag1","hashtag2"]},{"1399526231":["hashtag1","hashtag2"]},{"1399526225":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399526227, 1399526229, 1399526223, 1399526234, 1399526231, 1399526225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30123805999756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 16:46:02.838072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/57/image_15122025_15_58_04_9650.jpg', '/home/pi/Desktop/images/15122025/15/58/image_15122025_15_58_14_9692.jpg', '/home/pi/Desktop/images/15122025/15/58/image_15122025_15_58_25_10688.jpg', '/home/pi/Desktop/images/15122025/15/58/image_15122025_15_58_34_9652.jpg', '/home/pi/Desktop/images/15122025/15/58/image_15122025_15_58_44_9620.jpg', '/home/pi/Desktop/images/15122025/15/58/image_15122025_15_58_55_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/57/image_15122025_15_58_04_9650.jpg
/home/pi/Desktop/images/15122025/15/58/image_15122025_15_58_14_9692.jpg
/home/pi/Desktop/images/15122025/15/58/image_15122025_15_58_25_10688.jpg
/home/pi/Desktop/images/15122025/15/58/image_15122025_15_58_34_9652.jpg
/home/pi/Desktop/images/15122025/15/58/image_15122025_15_58_44_9620.jpg
/home/pi/Desktop/images/15122025/15/58/image_15122025_15_58_55_10605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399526242","1399526239","1399526244","1399526241","1399526240","1399526237"],"photo_ids_order":["1399526237","1399526239","1399526240","1399526241","1399526242","1399526244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ac73288ac50e41f15db7a5cff55bb324.jpg","text":"TemporaryFile(/tmp/multipartBody4456107678859131158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813623444,"filename":"image_15122025_15_58_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/15/c3a0dbcf50c2e5cb3f5d2da504cef1cf.jpg","text":"TemporaryFile(/tmp/multipartBody723073372816011506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813623444,"filename":"image_15122025_15_58_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/15/73bb72b3d0a5688f79069bc486ee86d9.jpg","text":"TemporaryFile(/tmp/multipartBody8549866403860198071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813623444,"filename":"image_15122025_15_58_55_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c287cb3940de0f74de6a06814b5832b1.jpg","text":"TemporaryFile(/tmp/multipartBody316153966953836082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813623444,"filename":"image_15122025_15_58_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/15/ec00faea0167fdc92fba07abff1d6af8.jpg","text":"TemporaryFile(/tmp/multipartBody1232017783650274596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813623444,"filename":"image_15122025_15_58_25_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6df8a891a501c82819289d46e142ac8f.jpg","text":"TemporaryFile(/tmp/multipartBody5782075771255630062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813623444,"filename":"image_15122025_15_58_04_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526240","file1":"1399526239","file0":"1399526237","file4":"1399526242","file5":"1399526244","file3":"1399526241"},"map_files_photo_id_array":[{"photo_id":"1399526244","filename":"file5"},{"photo_id":"1399526240","filename":"file2"},{"photo_id":"1399526242","filename":"file4"},{"photo_id":"1399526239","filename":"file1"},{"photo_id":"1399526237","filename":"file0"},{"photo_id":"1399526241","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399526242":["hashtag1","hashtag2"]},{"1399526239":["hashtag1","hashtag2"]},{"1399526244":["hashtag1","hashtag2"]},{"1399526241":["hashtag1","hashtag2"]},{"1399526240":["hashtag1","hashtag2"]},{"1399526237":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399526242, 1399526239, 1399526244, 1399526241, 1399526240, 1399526237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81973314285278 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 16:46:42.475351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_38_6052.jpg', '/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_50_11824.jpg', '/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_52_1806.jpg', '/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_53_1514.jpg', '/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_55_1732.jpg', '/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_57_1659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_38_6052.jpg
/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_50_11824.jpg
/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_52_1806.jpg
/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_53_1514.jpg
/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_55_1732.jpg
/home/pi/Desktop/images/05112025/15/28/image_05112025_15_28_57_1659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399526251","1399526254","1399526250","1399526253","1399526252","1399526255"],"photo_ids_order":["1399526250","1399526251","1399526252","1399526253","1399526254","1399526255"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/654481bfca0f413d0d56c4b38152398f.jpg","text":"TemporaryFile(/tmp/multipartBody1086340310444890851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813663238,"filename":"image_05112025_15_28_50_11824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d1f95beb6a24588f3f2fcf971d143cc3.jpg","text":"TemporaryFile(/tmp/multipartBody1382398740989773433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813663238,"filename":"image_05112025_15_28_55_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/15/026859a8bf2d7d74ccd021f19003ca91.jpg","text":"TemporaryFile(/tmp/multipartBody2238165327975625770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813663238,"filename":"image_05112025_15_28_38_6052.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7149720a82adf98b1d62d61839e6148e.jpg","text":"TemporaryFile(/tmp/multipartBody2825421426070417062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813663238,"filename":"image_05112025_15_28_53_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/15/989149f425c6bab9e8ff8e26f23ab093.jpg","text":"TemporaryFile(/tmp/multipartBody383768820371258236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813663238,"filename":"image_05112025_15_28_52_1806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/868d3b1c20d28e52a4717259aeea3bbd.jpg","text":"TemporaryFile(/tmp/multipartBody7333811986110028808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813663238,"filename":"image_05112025_15_28_57_1659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526252","file1":"1399526251","file0":"1399526250","file4":"1399526254","file5":"1399526255","file3":"1399526253"},"map_files_photo_id_array":[{"photo_id":"1399526255","filename":"file5"},{"photo_id":"1399526252","filename":"file2"},{"photo_id":"1399526254","filename":"file4"},{"photo_id":"1399526251","filename":"file1"},{"photo_id":"1399526250","filename":"file0"},{"photo_id":"1399526253","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399526251":["hashtag1","hashtag2"]},{"1399526254":["hashtag1","hashtag2"]},{"1399526250":["hashtag1","hashtag2"]},{"1399526253":["hashtag1","hashtag2"]},{"1399526252":["hashtag1","hashtag2"]},{"1399526255":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399526251, 1399526254, 1399526250, 1399526253, 1399526252, 1399526255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.086063385009766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 16:47:22.803552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/15/58/image_15122025_15_59_04_9574.jpg', '/home/pi/Desktop/images/15122025/15/59/image_15122025_15_59_15_10694.jpg', '/home/pi/Desktop/images/15122025/15/59/image_15122025_15_59_25_9694.jpg', '/home/pi/Desktop/images/15122025/15/59/image_15122025_15_59_34_9858.jpg', '/home/pi/Desktop/images/15122025/15/59/image_15122025_15_59_44_9577.jpg', '/home/pi/Desktop/images/15122025/15/59/image_15122025_15_59_54_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/15/58/image_15122025_15_59_04_9574.jpg
/home/pi/Desktop/images/15122025/15/59/image_15122025_15_59_15_10694.jpg
/home/pi/Desktop/images/15122025/15/59/image_15122025_15_59_25_9694.jpg
/home/pi/Desktop/images/15122025/15/59/image_15122025_15_59_34_9858.jpg
/home/pi/Desktop/images/15122025/15/59/image_15122025_15_59_44_9577.jpg
/home/pi/Desktop/images/15122025/15/59/image_15122025_15_59_54_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399526260","1399526257","1399526262","1399526267","1399526264","1399526258"],"photo_ids_order":["1399526257","1399526258","1399526260","1399526262","1399526264","1399526267"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e684e42c09fe9db65a62d0ca7ab644ea.jpg","text":"TemporaryFile(/tmp/multipartBody1254235370515695208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813703437,"filename":"image_15122025_15_59_25_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3a8cfd96f92738d72155d3914df9de85.jpg","text":"TemporaryFile(/tmp/multipartBody5120917926498921487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813703437,"filename":"image_15122025_15_59_04_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/356bd8b842231c5ec5f65571630d02e4.jpg","text":"TemporaryFile(/tmp/multipartBody2436617926001836741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813703437,"filename":"image_15122025_15_59_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/15/29e7b5550f5e68e026c94294519ea60e.jpg","text":"TemporaryFile(/tmp/multipartBody2077700673327706290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813703437,"filename":"image_15122025_15_59_54_10346.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/727fe2696cd0876597d64563ae931abf.jpg","text":"TemporaryFile(/tmp/multipartBody49850527109053112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813703437,"filename":"image_15122025_15_59_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/15/32bfcf0e0c1bbc0d378f1ed7e8cdbf39.jpg","text":"TemporaryFile(/tmp/multipartBody7981153431701763225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813703437,"filename":"image_15122025_15_59_15_10694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526260","file1":"1399526258","file0":"1399526257","file4":"1399526264","file5":"1399526267","file3":"1399526262"},"map_files_photo_id_array":[{"photo_id":"1399526267","filename":"file5"},{"photo_id":"1399526260","filename":"file2"},{"photo_id":"1399526264","filename":"file4"},{"photo_id":"1399526258","filename":"file1"},{"photo_id":"1399526257","filename":"file0"},{"photo_id":"1399526262","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399526260":["hashtag1","hashtag2"]},{"1399526257":["hashtag1","hashtag2"]},{"1399526262":["hashtag1","hashtag2"]},{"1399526267":["hashtag1","hashtag2"]},{"1399526264":["hashtag1","hashtag2"]},{"1399526258":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399526260, 1399526257, 1399526262, 1399526267, 1399526264, 1399526258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96518921852112 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 16:48:02.355730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/00/image_15122025_16_00_14_10053.jpg', '/home/pi/Desktop/images/15122025/16/00/image_15122025_16_00_25_10637.jpg', '/home/pi/Desktop/images/15122025/16/00/image_15122025_16_00_34_9689.jpg', '/home/pi/Desktop/images/15122025/16/00/image_15122025_16_00_44_9687.jpg', '/home/pi/Desktop/images/15122025/16/00/image_15122025_16_00_55_10581.jpg', '/home/pi/Desktop/images/15122025/16/00/image_15122025_16_01_04_9879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/00/image_15122025_16_00_14_10053.jpg
/home/pi/Desktop/images/15122025/16/00/image_15122025_16_00_25_10637.jpg
/home/pi/Desktop/images/15122025/16/00/image_15122025_16_00_34_9689.jpg
/home/pi/Desktop/images/15122025/16/00/image_15122025_16_00_44_9687.jpg
/home/pi/Desktop/images/15122025/16/00/image_15122025_16_00_55_10581.jpg
/home/pi/Desktop/images/15122025/16/00/image_15122025_16_01_04_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":["1399526272","1399526275","1399526277","1399526271","1399526279","1399526270"],"photo_ids_order":["1399526270","1399526271","1399526272","1399526275","1399526277","1399526279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9067f5a97b06362e6f0a6c4894138b8f.jpg","text":"TemporaryFile(/tmp/multipartBody1570829773263520559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813742970,"filename":"image_15122025_16_00_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/15/de1932eba9019429d14cbd08260c9422.jpg","text":"TemporaryFile(/tmp/multipartBody7835318307254841104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813742970,"filename":"image_15122025_16_00_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/15/68594c6916f75787e2d5681f204b1831.jpg","text":"TemporaryFile(/tmp/multipartBody8012111966456808195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813742970,"filename":"image_15122025_16_00_55_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/48432225d98d02cd011a1aa81047f655.jpg","text":"TemporaryFile(/tmp/multipartBody2339009161257902018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813742970,"filename":"image_15122025_16_00_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/15/65613ea4a92a5af68fdc924d1d8e4bf6.jpg","text":"TemporaryFile(/tmp/multipartBody4309872616845422173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813742970,"filename":"image_15122025_16_01_04_9879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7a61c35f58fa600ea2921d4768faee4c.jpg","text":"TemporaryFile(/tmp/multipartBody6811316395141361036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813742970,"filename":"image_15122025_16_00_14_10053.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526272","file1":"1399526271","file0":"1399526270","file4":"1399526277","file5":"1399526279","file3":"1399526275"},"map_files_photo_id_array":[{"photo_id":"1399526279","filename":"file5"},{"photo_id":"1399526272","filename":"file2"},{"photo_id":"1399526277","filename":"file4"},{"photo_id":"1399526271","filename":"file1"},{"photo_id":"1399526270","filename":"file0"},{"photo_id":"1399526275","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399526272":["hashtag1","hashtag2"]},{"1399526275":["hashtag1","hashtag2"]},{"1399526277":["hashtag1","hashtag2"]},{"1399526271":["hashtag1","hashtag2"]},{"1399526279":["hashtag1","hashtag2"]},{"1399526270":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399526272, 1399526275, 1399526277, 1399526271, 1399526279, 1399526270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5250883102417 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 16:48:41.916794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/29/image_05112025_15_29_02_5123.jpg', '/home/pi/Desktop/images/05112025/15/29/image_05112025_15_29_05_3028.jpg', '/home/pi/Desktop/images/05112025/15/29/image_05112025_15_29_08_1746.jpg', '/home/pi/Desktop/images/05112025/15/29/image_05112025_15_29_10_1694.jpg', '/home/pi/Desktop/images/05112025/15/29/image_05112025_15_29_12_1762.jpg', '/home/pi/Desktop/images/05112025/15/29/image_05112025_15_29_13_1721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/29/image_05112025_15_29_02_5123.jpg
/home/pi/Desktop/images/05112025/15/29/image_05112025_15_29_05_3028.jpg
/home/pi/Desktop/images/05112025/15/29/image_05112025_15_29_08_1746.jpg
/home/pi/Desktop/images/05112025/15/29/image_05112025_15_29_10_1694.jpg
/home/pi/Desktop/images/05112025/15/29/image_05112025_15_29_12_1762.jpg
/home/pi/Desktop/images/05112025/15/29/image_05112025_15_29_13_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":["1399526290","1399526287","1399526289","1399526291","1399526285","1399526288"],"photo_ids_order":["1399526285","1399526287","1399526288","1399526289","1399526290","1399526291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cc179dd5cbe5870460fe1770c3d97816.jpg","text":"TemporaryFile(/tmp/multipartBody5960363070495539926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813782641,"filename":"image_05112025_15_29_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/15/b2f7711ae0de109b6bcd99fa78302e8e.jpg","text":"TemporaryFile(/tmp/multipartBody2236872270139347905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813782641,"filename":"image_05112025_15_29_05_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/15/4c6af5d418a61c5a8a8fe9bd1d20fc77.jpg","text":"TemporaryFile(/tmp/multipartBody6005851693647389808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813782641,"filename":"image_05112025_15_29_10_1694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a531c644fd56e5aaf4e47f741e06f8d9.jpg","text":"TemporaryFile(/tmp/multipartBody6434760916513948432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813782641,"filename":"image_05112025_15_29_13_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/15/73920af601e7787b10b44936d50e8f2e.jpg","text":"TemporaryFile(/tmp/multipartBody4430275685183305401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813782641,"filename":"image_05112025_15_29_02_5123.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/012a777f39492b68d6f97eaf534a10ca.jpg","text":"TemporaryFile(/tmp/multipartBody1033773509732464796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813782641,"filename":"image_05112025_15_29_08_1746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526288","file1":"1399526287","file0":"1399526285","file4":"1399526290","file5":"1399526291","file3":"1399526289"},"map_files_photo_id_array":[{"photo_id":"1399526291","filename":"file5"},{"photo_id":"1399526288","filename":"file2"},{"photo_id":"1399526290","filename":"file4"},{"photo_id":"1399526287","filename":"file1"},{"photo_id":"1399526285","filename":"file0"},{"photo_id":"1399526289","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399526290":["hashtag1","hashtag2"]},{"1399526287":["hashtag1","hashtag2"]},{"1399526289":["hashtag1","hashtag2"]},{"1399526291":["hashtag1","hashtag2"]},{"1399526285":["hashtag1","hashtag2"]},{"1399526288":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399526290, 1399526287, 1399526289, 1399526291, 1399526285, 1399526288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32760143280029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 16:49:22.226621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/01/image_15122025_16_01_14_9563.jpg', '/home/pi/Desktop/images/15122025/16/01/image_15122025_16_01_25_10611.jpg', '/home/pi/Desktop/images/15122025/16/01/image_15122025_16_01_35_9840.jpg', '/home/pi/Desktop/images/15122025/16/01/image_15122025_16_01_44_9758.jpg', '/home/pi/Desktop/images/15122025/16/01/image_15122025_16_01_55_10684.jpg', '/home/pi/Desktop/images/15122025/16/01/image_15122025_16_02_05_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/01/image_15122025_16_01_14_9563.jpg
/home/pi/Desktop/images/15122025/16/01/image_15122025_16_01_25_10611.jpg
/home/pi/Desktop/images/15122025/16/01/image_15122025_16_01_35_9840.jpg
/home/pi/Desktop/images/15122025/16/01/image_15122025_16_01_44_9758.jpg
/home/pi/Desktop/images/15122025/16/01/image_15122025_16_01_55_10684.jpg
/home/pi/Desktop/images/15122025/16/01/image_15122025_16_02_05_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":["1399526296","1399526299","1399526308","1399526305","1399526301","1399526303"],"photo_ids_order":["1399526296","1399526299","1399526301","1399526303","1399526305","1399526308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dafb68adefeb2b83cf4a9968be993bbb.jpg","text":"TemporaryFile(/tmp/multipartBody4359715407911772585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813822837,"filename":"image_15122025_16_01_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/15/d1effd9d7834488db89d2595da29340e.jpg","text":"TemporaryFile(/tmp/multipartBody2028769401682941238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813822837,"filename":"image_15122025_16_01_25_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b815792bf9061c7a115b4baf8311d807.jpg","text":"TemporaryFile(/tmp/multipartBody1748400780717034592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813822837,"filename":"image_15122025_16_02_05_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/40e1828e47ba6d8db4b504bd6ba6fc37.jpg","text":"TemporaryFile(/tmp/multipartBody1561390047919001372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813822837,"filename":"image_15122025_16_01_55_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/73a2e0049b4ed1fdfe62453ec1ce08b7.jpg","text":"TemporaryFile(/tmp/multipartBody5955155865047691595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813822837,"filename":"image_15122025_16_01_35_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/17b45483f123abc65bb918017d66a2e5.jpg","text":"TemporaryFile(/tmp/multipartBody6800993715579064273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813822837,"filename":"image_15122025_16_01_44_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526301","file1":"1399526299","file0":"1399526296","file4":"1399526305","file5":"1399526308","file3":"1399526303"},"map_files_photo_id_array":[{"photo_id":"1399526308","filename":"file5"},{"photo_id":"1399526301","filename":"file2"},{"photo_id":"1399526305","filename":"file4"},{"photo_id":"1399526299","filename":"file1"},{"photo_id":"1399526296","filename":"file0"},{"photo_id":"1399526303","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399526296":["hashtag1","hashtag2"]},{"1399526299":["hashtag1","hashtag2"]},{"1399526308":["hashtag1","hashtag2"]},{"1399526305":["hashtag1","hashtag2"]},{"1399526301":["hashtag1","hashtag2"]},{"1399526303":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399526296, 1399526299, 1399526308, 1399526305, 1399526301, 1399526303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85829401016235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 16:50:02.867460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/02/image_15122025_16_02_14_9553.jpg', '/home/pi/Desktop/images/15122025/16/02/image_15122025_16_02_25_10632.jpg', '/home/pi/Desktop/images/15122025/16/02/image_15122025_16_02_34_9643.jpg', '/home/pi/Desktop/images/15122025/16/02/image_15122025_16_02_44_9855.jpg', '/home/pi/Desktop/images/15122025/16/02/image_15122025_16_02_55_10590.jpg', '/home/pi/Desktop/images/15122025/16/02/image_15122025_16_03_05_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/02/image_15122025_16_02_14_9553.jpg
/home/pi/Desktop/images/15122025/16/02/image_15122025_16_02_25_10632.jpg
/home/pi/Desktop/images/15122025/16/02/image_15122025_16_02_34_9643.jpg
/home/pi/Desktop/images/15122025/16/02/image_15122025_16_02_44_9855.jpg
/home/pi/Desktop/images/15122025/16/02/image_15122025_16_02_55_10590.jpg
/home/pi/Desktop/images/15122025/16/02/image_15122025_16_03_05_9766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399526312","1399526314","1399526316","1399526321","1399526315","1399526318"],"photo_ids_order":["1399526312","1399526314","1399526315","1399526316","1399526318","1399526321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/47c2deecf6850c155d516d3d2e01b3ff.jpg","text":"TemporaryFile(/tmp/multipartBody1747569947330996150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813863483,"filename":"image_15122025_16_02_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/15/187ec8a66d69c748da5f339a572d9577.jpg","text":"TemporaryFile(/tmp/multipartBody5957442479593154818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813863483,"filename":"image_15122025_16_02_25_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/715e4029c44b59b17f13279f2aba6842.jpg","text":"TemporaryFile(/tmp/multipartBody6400311823304434164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813863483,"filename":"image_15122025_16_02_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/15/beabe07b9e523a2a0f04fe037b2b7e15.jpg","text":"TemporaryFile(/tmp/multipartBody4331793343716162269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813863483,"filename":"image_15122025_16_03_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/15/afbb860e9bcde34f095ed0b207705d58.jpg","text":"TemporaryFile(/tmp/multipartBody6433031291157086781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813863483,"filename":"image_15122025_16_02_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/15/a2da0fe4ebccc9fd52f25c8cb50022b2.jpg","text":"TemporaryFile(/tmp/multipartBody3208377760249868096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813863483,"filename":"image_15122025_16_02_55_10590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526315","file1":"1399526314","file0":"1399526312","file4":"1399526318","file5":"1399526321","file3":"1399526316"},"map_files_photo_id_array":[{"photo_id":"1399526321","filename":"file5"},{"photo_id":"1399526315","filename":"file2"},{"photo_id":"1399526318","filename":"file4"},{"photo_id":"1399526314","filename":"file1"},{"photo_id":"1399526312","filename":"file0"},{"photo_id":"1399526316","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399526312":["hashtag1","hashtag2"]},{"1399526314":["hashtag1","hashtag2"]},{"1399526316":["hashtag1","hashtag2"]},{"1399526321":["hashtag1","hashtag2"]},{"1399526315":["hashtag1","hashtag2"]},{"1399526318":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399526312, 1399526314, 1399526316, 1399526321, 1399526315, 1399526318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93365669250488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 16:50:42.379457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/29/image_05112025_15_29_19_4307.jpg', '/home/pi/Desktop/images/05112025/15/29/image_05112025_15_29_21_1611.jpg', '/home/pi/Desktop/images/05112025/15/29/image_05112025_15_29_22_1531.jpg', '/home/pi/Desktop/images/05112025/15/29/image_05112025_15_29_28_3625.jpg', '/home/pi/Desktop/images/05112025/15/29/image_05112025_15_29_29_1632.jpg', '/home/pi/Desktop/images/05112025/15/29/image_05112025_15_29_39_10063.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/29/image_05112025_15_29_19_4307.jpg
/home/pi/Desktop/images/05112025/15/29/image_05112025_15_29_21_1611.jpg
/home/pi/Desktop/images/05112025/15/29/image_05112025_15_29_22_1531.jpg
/home/pi/Desktop/images/05112025/15/29/image_05112025_15_29_28_3625.jpg
/home/pi/Desktop/images/05112025/15/29/image_05112025_15_29_29_1632.jpg
/home/pi/Desktop/images/05112025/15/29/image_05112025_15_29_39_10063.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399526332","1399526326","1399526334","1399526328","1399526336","1399526330"],"photo_ids_order":["1399526326","1399526328","1399526330","1399526332","1399526334","1399526336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/db63690d9deea0a018f828d1c504221d.jpg","text":"TemporaryFile(/tmp/multipartBody8284858102078369001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813903100,"filename":"image_05112025_15_29_28_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/41b2cd2b7d4f78ccdd8ad34a18c82d0a.jpg","text":"TemporaryFile(/tmp/multipartBody516128075188710094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813903100,"filename":"image_05112025_15_29_19_4307.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b8ecaf00d21db6e8d31f22d403959530.jpg","text":"TemporaryFile(/tmp/multipartBody7842613213694735119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813903100,"filename":"image_05112025_15_29_29_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/15/d5aaac165d0ee22c20fc9334adedae13.jpg","text":"TemporaryFile(/tmp/multipartBody6422590826683435560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813903100,"filename":"image_05112025_15_29_21_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/15/bb8e2d4ede6a442e10d2814029cf63af.jpg","text":"TemporaryFile(/tmp/multipartBody2031411224327264220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813903100,"filename":"image_05112025_15_29_39_10063.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/84b8f52d1c24df44f270f682fe16fa08.jpg","text":"TemporaryFile(/tmp/multipartBody8562735264022662420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813903100,"filename":"image_05112025_15_29_22_1531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526330","file1":"1399526328","file0":"1399526326","file4":"1399526334","file5":"1399526336","file3":"1399526332"},"map_files_photo_id_array":[{"photo_id":"1399526336","filename":"file5"},{"photo_id":"1399526330","filename":"file2"},{"photo_id":"1399526334","filename":"file4"},{"photo_id":"1399526328","filename":"file1"},{"photo_id":"1399526326","filename":"file0"},{"photo_id":"1399526332","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399526332":["hashtag1","hashtag2"]},{"1399526326":["hashtag1","hashtag2"]},{"1399526334":["hashtag1","hashtag2"]},{"1399526328":["hashtag1","hashtag2"]},{"1399526336":["hashtag1","hashtag2"]},{"1399526330":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399526332, 1399526326, 1399526334, 1399526328, 1399526336, 1399526330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19207239151001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 16:51:22.635589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/03/image_15122025_16_03_14_9794.jpg', '/home/pi/Desktop/images/15122025/16/03/image_15122025_16_03_24_9578.jpg', '/home/pi/Desktop/images/15122025/16/03/image_15122025_16_03_35_10769.jpg', '/home/pi/Desktop/images/15122025/16/03/image_15122025_16_03_45_9766.jpg', '/home/pi/Desktop/images/15122025/16/03/image_15122025_16_03_54_9655.jpg', '/home/pi/Desktop/images/15122025/16/04/image_15122025_16_04_15_10698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/03/image_15122025_16_03_14_9794.jpg
/home/pi/Desktop/images/15122025/16/03/image_15122025_16_03_24_9578.jpg
/home/pi/Desktop/images/15122025/16/03/image_15122025_16_03_35_10769.jpg
/home/pi/Desktop/images/15122025/16/03/image_15122025_16_03_45_9766.jpg
/home/pi/Desktop/images/15122025/16/03/image_15122025_16_03_54_9655.jpg
/home/pi/Desktop/images/15122025/16/04/image_15122025_16_04_15_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":["1399526380","1399526377","1399526382","1399526384","1399526369","1399526360"],"photo_ids_order":["1399526360","1399526369","1399526377","1399526380","1399526382","1399526384"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/84cfaf24129129200ee6d6805bbd4935.jpg","text":"TemporaryFile(/tmp/multipartBody3601238227933590309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813943260,"filename":"image_15122025_16_03_45_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/da8650ad83f39e7715041d7a874e5f76.jpg","text":"TemporaryFile(/tmp/multipartBody6931427887183602900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813943260,"filename":"image_15122025_16_03_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/15/cabf4a7cce4a67250a3a49cdd3dbf116.jpg","text":"TemporaryFile(/tmp/multipartBody4435686311477123125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813943260,"filename":"image_15122025_16_03_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/15/5da3e43c9c110c1b358f398b8fd3227e.jpg","text":"TemporaryFile(/tmp/multipartBody6989559542317278570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813943260,"filename":"image_15122025_16_04_15_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b94fb45d8fea109fddaafe18c639f74c.jpg","text":"TemporaryFile(/tmp/multipartBody3345438609958371120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813943260,"filename":"image_15122025_16_03_24_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/644744331e2d7cf6ff9f5928d98b1c1b.jpg","text":"TemporaryFile(/tmp/multipartBody6221753688779153930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765813943260,"filename":"image_15122025_16_03_14_9794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526377","file1":"1399526369","file0":"1399526360","file4":"1399526382","file5":"1399526384","file3":"1399526380"},"map_files_photo_id_array":[{"photo_id":"1399526384","filename":"file5"},{"photo_id":"1399526377","filename":"file2"},{"photo_id":"1399526382","filename":"file4"},{"photo_id":"1399526369","filename":"file1"},{"photo_id":"1399526360","filename":"file0"},{"photo_id":"1399526380","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399526380":["hashtag1","hashtag2"]},{"1399526377":["hashtag1","hashtag2"]},{"1399526382":["hashtag1","hashtag2"]},{"1399526384":["hashtag1","hashtag2"]},{"1399526369":["hashtag1","hashtag2"]},{"1399526360":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399526380, 1399526377, 1399526382, 1399526384, 1399526369, 1399526360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.134278535842896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 16:52:11.900700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 16:52:21.982677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/04/image_15122025_16_04_25_9810.jpg', '/home/pi/Desktop/images/15122025/16/04/image_15122025_16_04_34_9731.jpg', '/home/pi/Desktop/images/15122025/16/04/image_15122025_16_04_45_10673.jpg', '/home/pi/Desktop/images/15122025/16/04/image_15122025_16_04_55_9799.jpg', '/home/pi/Desktop/images/15122025/16/06/image_15122025_16_06_14_10038.jpg', '/home/pi/Desktop/images/15122025/16/06/image_15122025_16_06_25_10582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/04/image_15122025_16_04_25_9810.jpg
/home/pi/Desktop/images/15122025/16/04/image_15122025_16_04_34_9731.jpg
/home/pi/Desktop/images/15122025/16/04/image_15122025_16_04_45_10673.jpg
/home/pi/Desktop/images/15122025/16/04/image_15122025_16_04_55_9799.jpg
/home/pi/Desktop/images/15122025/16/06/image_15122025_16_06_14_10038.jpg
/home/pi/Desktop/images/15122025/16/06/image_15122025_16_06_25_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":["1399526395","1399526413","1399526404","1399526397","1399526390","1399526393"],"photo_ids_order":["1399526390","1399526393","1399526395","1399526397","1399526404","1399526413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ac0d410518b85063dfb61dce2dc92c20.jpg","text":"TemporaryFile(/tmp/multipartBody5306324522217600744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814002626,"filename":"image_15122025_16_04_45_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/38837249f8c902e0e38d56b2db36e4aa.jpg","text":"TemporaryFile(/tmp/multipartBody6235005463664521707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814002626,"filename":"image_15122025_16_06_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/15/7a1cf19d52d5895952f7d9b2af052aee.jpg","text":"TemporaryFile(/tmp/multipartBody2649941561284330710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814002626,"filename":"image_15122025_16_06_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/15/6ed7fc34e9f62f3d39b3e5d7f7001235.jpg","text":"TemporaryFile(/tmp/multipartBody6886027217357813817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814002626,"filename":"image_15122025_16_04_55_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4d146244a219faac206d9e69180e05aa.jpg","text":"TemporaryFile(/tmp/multipartBody3019373904952338088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814002626,"filename":"image_15122025_16_04_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/15/300304b21ced132c3526fb9e68e3aa12.jpg","text":"TemporaryFile(/tmp/multipartBody6597729650311679198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814002626,"filename":"image_15122025_16_04_34_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526395","file1":"1399526393","file0":"1399526390","file4":"1399526404","file5":"1399526413","file3":"1399526397"},"map_files_photo_id_array":[{"photo_id":"1399526413","filename":"file5"},{"photo_id":"1399526395","filename":"file2"},{"photo_id":"1399526404","filename":"file4"},{"photo_id":"1399526393","filename":"file1"},{"photo_id":"1399526390","filename":"file0"},{"photo_id":"1399526397","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399526395":["hashtag1","hashtag2"]},{"1399526413":["hashtag1","hashtag2"]},{"1399526404":["hashtag1","hashtag2"]},{"1399526397":["hashtag1","hashtag2"]},{"1399526390":["hashtag1","hashtag2"]},{"1399526393":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399526395, 1399526413, 1399526404, 1399526397, 1399526390, 1399526393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21754050254822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 16:53:02.862060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/06/image_15122025_16_06_34_9585.jpg', '/home/pi/Desktop/images/15122025/16/06/image_15122025_16_06_45_10745.jpg', '/home/pi/Desktop/images/15122025/16/06/image_15122025_16_06_55_9682.jpg', '/home/pi/Desktop/images/15122025/16/06/image_15122025_16_07_04_9801.jpg', '/home/pi/Desktop/images/15122025/16/07/image_15122025_16_07_14_9728.jpg', '/home/pi/Desktop/images/15122025/16/07/image_15122025_16_07_25_10569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/06/image_15122025_16_06_34_9585.jpg
/home/pi/Desktop/images/15122025/16/06/image_15122025_16_06_45_10745.jpg
/home/pi/Desktop/images/15122025/16/06/image_15122025_16_06_55_9682.jpg
/home/pi/Desktop/images/15122025/16/06/image_15122025_16_07_04_9801.jpg
/home/pi/Desktop/images/15122025/16/07/image_15122025_16_07_14_9728.jpg
/home/pi/Desktop/images/15122025/16/07/image_15122025_16_07_25_10569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399526426","1399526419","1399526421","1399526432","1399526429","1399526423"],"photo_ids_order":["1399526419","1399526421","1399526423","1399526426","1399526429","1399526432"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/79efc866266fe38ec07f1e6d544b10e6.jpg","text":"TemporaryFile(/tmp/multipartBody132383177262227610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814043549,"filename":"image_15122025_16_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/15/74c3b20f29dc62a60da92cc472394d9b.jpg","text":"TemporaryFile(/tmp/multipartBody738677322880440384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814043549,"filename":"image_15122025_16_06_34_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a812732dc4ddbee08d353aa07f8cb563.jpg","text":"TemporaryFile(/tmp/multipartBody1945291184943879731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814043549,"filename":"image_15122025_16_06_45_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/15/92bcd8652569e4a9abe01e8607e8f808.jpg","text":"TemporaryFile(/tmp/multipartBody8019723785771890643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814043549,"filename":"image_15122025_16_07_25_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/15/ea266d6df39cbe33713844d7d0d6090d.jpg","text":"TemporaryFile(/tmp/multipartBody8332301449933930461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814043549,"filename":"image_15122025_16_07_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/15/9057564fc4d700bb17df13c4b87f898c.jpg","text":"TemporaryFile(/tmp/multipartBody3158066576389922927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814043549,"filename":"image_15122025_16_06_55_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526423","file1":"1399526421","file0":"1399526419","file4":"1399526429","file5":"1399526432","file3":"1399526426"},"map_files_photo_id_array":[{"photo_id":"1399526432","filename":"file5"},{"photo_id":"1399526423","filename":"file2"},{"photo_id":"1399526429","filename":"file4"},{"photo_id":"1399526421","filename":"file1"},{"photo_id":"1399526419","filename":"file0"},{"photo_id":"1399526426","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399526426":["hashtag1","hashtag2"]},{"1399526419":["hashtag1","hashtag2"]},{"1399526421":["hashtag1","hashtag2"]},{"1399526432":["hashtag1","hashtag2"]},{"1399526429":["hashtag1","hashtag2"]},{"1399526423":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399526426, 1399526419, 1399526421, 1399526432, 1399526429, 1399526423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.423906564712524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 16:54:03.237051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/07/image_15122025_16_07_34_9763.jpg', '/home/pi/Desktop/images/15122025/16/07/image_15122025_16_07_44_9705.jpg', '/home/pi/Desktop/images/15122025/16/07/image_15122025_16_07_55_10747.jpg', '/home/pi/Desktop/images/15122025/16/07/image_15122025_16_08_04_9631.jpg', '/home/pi/Desktop/images/15122025/16/08/image_15122025_16_08_14_9870.jpg', '/home/pi/Desktop/images/15122025/16/08/image_15122025_16_08_24_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/07/image_15122025_16_07_34_9763.jpg
/home/pi/Desktop/images/15122025/16/07/image_15122025_16_07_44_9705.jpg
/home/pi/Desktop/images/15122025/16/07/image_15122025_16_07_55_10747.jpg
/home/pi/Desktop/images/15122025/16/07/image_15122025_16_08_04_9631.jpg
/home/pi/Desktop/images/15122025/16/08/image_15122025_16_08_14_9870.jpg
/home/pi/Desktop/images/15122025/16/08/image_15122025_16_08_24_9622.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5035223960876465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 16:54:12.534703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 16:54:22.568277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/07/image_15122025_16_07_34_9763.jpg', '/home/pi/Desktop/images/15122025/16/07/image_15122025_16_07_44_9705.jpg', '/home/pi/Desktop/images/15122025/16/07/image_15122025_16_07_55_10747.jpg', '/home/pi/Desktop/images/15122025/16/07/image_15122025_16_08_04_9631.jpg', '/home/pi/Desktop/images/15122025/16/08/image_15122025_16_08_14_9870.jpg', '/home/pi/Desktop/images/15122025/16/08/image_15122025_16_08_24_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/07/image_15122025_16_07_34_9763.jpg
/home/pi/Desktop/images/15122025/16/07/image_15122025_16_07_44_9705.jpg
/home/pi/Desktop/images/15122025/16/07/image_15122025_16_07_55_10747.jpg
/home/pi/Desktop/images/15122025/16/07/image_15122025_16_08_04_9631.jpg
/home/pi/Desktop/images/15122025/16/08/image_15122025_16_08_14_9870.jpg
/home/pi/Desktop/images/15122025/16/08/image_15122025_16_08_24_9622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399526461","1399526452","1399526449","1399526463","1399526457","1399526459"],"photo_ids_order":["1399526449","1399526452","1399526457","1399526459","1399526461","1399526463"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/28340235b334244bcb06a7f4bd4d75f3.jpg","text":"TemporaryFile(/tmp/multipartBody669562772589350349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814123181,"filename":"image_15122025_16_08_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/15/783726e1d189d5cd05954ae08cc3178e.jpg","text":"TemporaryFile(/tmp/multipartBody6120769599671939288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814123181,"filename":"image_15122025_16_07_44_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/23a42027fc40064b556426caaa5bf097.jpg","text":"TemporaryFile(/tmp/multipartBody100419035099339877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814123181,"filename":"image_15122025_16_07_34_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0b3726377ed14115fd3cb9ad9910d674.jpg","text":"TemporaryFile(/tmp/multipartBody8217064344992854289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814123181,"filename":"image_15122025_16_08_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/15/a74a7f380ef270a2dc49bf4a70e9d664.jpg","text":"TemporaryFile(/tmp/multipartBody6389996279533732251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814123181,"filename":"image_15122025_16_07_55_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/15/0067b283e67d1ce0f2861040471f2faf.jpg","text":"TemporaryFile(/tmp/multipartBody6722853641081409108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814123181,"filename":"image_15122025_16_08_04_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526457","file1":"1399526452","file0":"1399526449","file4":"1399526461","file5":"1399526463","file3":"1399526459"},"map_files_photo_id_array":[{"photo_id":"1399526463","filename":"file5"},{"photo_id":"1399526457","filename":"file2"},{"photo_id":"1399526461","filename":"file4"},{"photo_id":"1399526452","filename":"file1"},{"photo_id":"1399526449","filename":"file0"},{"photo_id":"1399526459","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399526461":["hashtag1","hashtag2"]},{"1399526452":["hashtag1","hashtag2"]},{"1399526449":["hashtag1","hashtag2"]},{"1399526463":["hashtag1","hashtag2"]},{"1399526457":["hashtag1","hashtag2"]},{"1399526459":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399526461, 1399526452, 1399526449, 1399526463, 1399526457, 1399526459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.556878089904785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 16:55:03.480639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/08/image_15122025_16_08_35_10784.jpg', '/home/pi/Desktop/images/15122025/16/08/image_15122025_16_08_44_9739.jpg', '/home/pi/Desktop/images/15122025/16/08/image_15122025_16_08_54_9559.jpg', '/home/pi/Desktop/images/15122025/16/08/image_15122025_16_09_05_10577.jpg', '/home/pi/Desktop/images/15122025/16/09/image_15122025_16_09_14_9615.jpg', '/home/pi/Desktop/images/15122025/16/09/image_15122025_16_09_24_9804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/08/image_15122025_16_08_35_10784.jpg
/home/pi/Desktop/images/15122025/16/08/image_15122025_16_08_44_9739.jpg
/home/pi/Desktop/images/15122025/16/08/image_15122025_16_08_54_9559.jpg
/home/pi/Desktop/images/15122025/16/08/image_15122025_16_09_05_10577.jpg
/home/pi/Desktop/images/15122025/16/09/image_15122025_16_09_14_9615.jpg
/home/pi/Desktop/images/15122025/16/09/image_15122025_16_09_24_9804.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399526470","1399526473","1399526467","1399526472","1399526469","1399526468"],"photo_ids_order":["1399526467","1399526468","1399526469","1399526470","1399526472","1399526473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1b368263a2d32dc80a6d48360ea517fb.jpg","text":"TemporaryFile(/tmp/multipartBody1950505042344370936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814164090,"filename":"image_15122025_16_09_05_10577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c84891933facdd5965f0c6b94ad543f0.jpg","text":"TemporaryFile(/tmp/multipartBody8431759661773979750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814164090,"filename":"image_15122025_16_09_24_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/319aa398b1a5bbc182cb654f34428434.jpg","text":"TemporaryFile(/tmp/multipartBody4118464407628589958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814164090,"filename":"image_15122025_16_08_35_10784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/00e444c6ee95404becfbe2024de94e88.jpg","text":"TemporaryFile(/tmp/multipartBody5536646741375699504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814164090,"filename":"image_15122025_16_09_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/15/a0dc94914338ef002f0ba4f0259d189e.jpg","text":"TemporaryFile(/tmp/multipartBody2705898805113034271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814164090,"filename":"image_15122025_16_08_54_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/db885989a0ddd0dfde9d09396c0eb63d.jpg","text":"TemporaryFile(/tmp/multipartBody8715102758971398968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814164090,"filename":"image_15122025_16_08_44_9739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526469","file1":"1399526468","file0":"1399526467","file4":"1399526472","file5":"1399526473","file3":"1399526470"},"map_files_photo_id_array":[{"photo_id":"1399526473","filename":"file5"},{"photo_id":"1399526469","filename":"file2"},{"photo_id":"1399526472","filename":"file4"},{"photo_id":"1399526468","filename":"file1"},{"photo_id":"1399526467","filename":"file0"},{"photo_id":"1399526470","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399526470":["hashtag1","hashtag2"]},{"1399526473":["hashtag1","hashtag2"]},{"1399526467":["hashtag1","hashtag2"]},{"1399526472":["hashtag1","hashtag2"]},{"1399526469":["hashtag1","hashtag2"]},{"1399526468":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399526470, 1399526473, 1399526467, 1399526472, 1399526469, 1399526468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.664300203323364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 16:55:42.682801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/29/image_05112025_15_29_51_11833.jpg', '/home/pi/Desktop/images/05112025/15/29/image_05112025_15_29_53_1679.jpg', '/home/pi/Desktop/images/05112025/15/31/image_05112025_15_31_07_3015.jpg', '/home/pi/Desktop/images/05112025/15/31/image_05112025_15_31_10_3512.jpg', '/home/pi/Desktop/images/05112025/15/31/image_05112025_15_31_21_10929.jpg', '/home/pi/Desktop/images/05112025/15/31/image_05112025_15_31_23_1680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/29/image_05112025_15_29_51_11833.jpg
/home/pi/Desktop/images/05112025/15/29/image_05112025_15_29_53_1679.jpg
/home/pi/Desktop/images/05112025/15/31/image_05112025_15_31_07_3015.jpg
/home/pi/Desktop/images/05112025/15/31/image_05112025_15_31_10_3512.jpg
/home/pi/Desktop/images/05112025/15/31/image_05112025_15_31_21_10929.jpg
/home/pi/Desktop/images/05112025/15/31/image_05112025_15_31_23_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":["1399526482","1399526485","1399526479","1399526484","1399526483","1399526486"],"photo_ids_order":["1399526479","1399526482","1399526483","1399526484","1399526485","1399526486"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4ded37b7c3c876a89080be4b5d8ea2d1.jpg","text":"TemporaryFile(/tmp/multipartBody401062557382852740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814203422,"filename":"image_05112025_15_29_53_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/15/d3fc64abdb85a6e661aba0a11bcd5072.jpg","text":"TemporaryFile(/tmp/multipartBody957766792958768162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814203422,"filename":"image_05112025_15_31_21_10929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/45efed97153fb7a9e4702cc2a89fddff.jpg","text":"TemporaryFile(/tmp/multipartBody6495533555990923271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814203422,"filename":"image_05112025_15_29_51_11833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/47ddcdabd1600821c435ac0f85f1640e.jpg","text":"TemporaryFile(/tmp/multipartBody3699884782799168705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814203422,"filename":"image_05112025_15_31_10_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/15/4cbda421d159ef6f47ed0834ee6dfb14.jpg","text":"TemporaryFile(/tmp/multipartBody3912182194756181336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814203422,"filename":"image_05112025_15_31_07_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2677661fcbc1c6460f71857aa263a322.jpg","text":"TemporaryFile(/tmp/multipartBody8743603126414064381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814203422,"filename":"image_05112025_15_31_23_1680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526483","file1":"1399526482","file0":"1399526479","file4":"1399526485","file5":"1399526486","file3":"1399526484"},"map_files_photo_id_array":[{"photo_id":"1399526486","filename":"file5"},{"photo_id":"1399526483","filename":"file2"},{"photo_id":"1399526485","filename":"file4"},{"photo_id":"1399526482","filename":"file1"},{"photo_id":"1399526479","filename":"file0"},{"photo_id":"1399526484","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399526482":["hashtag1","hashtag2"]},{"1399526485":["hashtag1","hashtag2"]},{"1399526479":["hashtag1","hashtag2"]},{"1399526484":["hashtag1","hashtag2"]},{"1399526483":["hashtag1","hashtag2"]},{"1399526486":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399526482, 1399526485, 1399526479, 1399526484, 1399526483, 1399526486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.696115016937256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 16:56:21.973137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/09/image_15122025_16_09_35_10631.jpg', '/home/pi/Desktop/images/15122025/16/09/image_15122025_16_09_44_9750.jpg', '/home/pi/Desktop/images/15122025/16/09/image_15122025_16_09_54_9639.jpg', '/home/pi/Desktop/images/15122025/16/10/image_15122025_16_10_14_10051.jpg', '/home/pi/Desktop/images/15122025/16/10/image_15122025_16_10_25_10583.jpg', '/home/pi/Desktop/images/15122025/16/10/image_15122025_16_10_34_9576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/09/image_15122025_16_09_35_10631.jpg
/home/pi/Desktop/images/15122025/16/09/image_15122025_16_09_44_9750.jpg
/home/pi/Desktop/images/15122025/16/09/image_15122025_16_09_54_9639.jpg
/home/pi/Desktop/images/15122025/16/10/image_15122025_16_10_14_10051.jpg
/home/pi/Desktop/images/15122025/16/10/image_15122025_16_10_25_10583.jpg
/home/pi/Desktop/images/15122025/16/10/image_15122025_16_10_34_9576.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5263862609863281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 16:56:31.955166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 16:56:41.930621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/31/image_05112025_15_31_25_1761.jpg', '/home/pi/Desktop/images/05112025/15/31/image_05112025_15_31_26_1634.jpg', '/home/pi/Desktop/images/05112025/15/31/image_05112025_15_31_28_1530.jpg', '/home/pi/Desktop/images/05112025/15/31/image_05112025_15_31_29_1657.jpg', '/home/pi/Desktop/images/05112025/15/31/image_05112025_15_31_31_1555.jpg', '/home/pi/Desktop/images/05112025/15/31/image_05112025_15_31_35_3655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/31/image_05112025_15_31_25_1761.jpg
/home/pi/Desktop/images/05112025/15/31/image_05112025_15_31_26_1634.jpg
/home/pi/Desktop/images/05112025/15/31/image_05112025_15_31_28_1530.jpg
/home/pi/Desktop/images/05112025/15/31/image_05112025_15_31_29_1657.jpg
/home/pi/Desktop/images/05112025/15/31/image_05112025_15_31_31_1555.jpg
/home/pi/Desktop/images/05112025/15/31/image_05112025_15_31_35_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":["1399526510","1399526521","1399526509","1399526500","1399526511","1399526508"],"photo_ids_order":["1399526500","1399526508","1399526509","1399526510","1399526511","1399526521"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d637f63d23225c1fbba255bb7d57aa58.jpg","text":"TemporaryFile(/tmp/multipartBody8902615965393966918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814262641,"filename":"image_05112025_15_31_29_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/15/595145e739e09db24b90f3a57b033c2a.jpg","text":"TemporaryFile(/tmp/multipartBody8244992435116481049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814262641,"filename":"image_05112025_15_31_35_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/15/8a46feeff833e949ae09b087c766ecc7.jpg","text":"TemporaryFile(/tmp/multipartBody6747565353518281702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814262641,"filename":"image_05112025_15_31_28_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/15/89320aa370fb76d45772b20d14ca639e.jpg","text":"TemporaryFile(/tmp/multipartBody5963275024960402248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814262641,"filename":"image_05112025_15_31_25_1761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6d665ffa85b5d1aa426ef1dc82cbe21b.jpg","text":"TemporaryFile(/tmp/multipartBody6392139052713699337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814262641,"filename":"image_05112025_15_31_31_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/15/89c8057a6ecf8f3832c188b9e9b65ba1.jpg","text":"TemporaryFile(/tmp/multipartBody2208072064591998294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814262641,"filename":"image_05112025_15_31_26_1634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526509","file1":"1399526508","file0":"1399526500","file4":"1399526511","file5":"1399526521","file3":"1399526510"},"map_files_photo_id_array":[{"photo_id":"1399526521","filename":"file5"},{"photo_id":"1399526509","filename":"file2"},{"photo_id":"1399526511","filename":"file4"},{"photo_id":"1399526508","filename":"file1"},{"photo_id":"1399526500","filename":"file0"},{"photo_id":"1399526510","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399526510":["hashtag1","hashtag2"]},{"1399526521":["hashtag1","hashtag2"]},{"1399526509":["hashtag1","hashtag2"]},{"1399526500":["hashtag1","hashtag2"]},{"1399526511":["hashtag1","hashtag2"]},{"1399526508":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399526510, 1399526521, 1399526509, 1399526500, 1399526511, 1399526508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.185868978500366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 16:57:22.157929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/09/image_15122025_16_09_35_10631.jpg', '/home/pi/Desktop/images/15122025/16/09/image_15122025_16_09_44_9750.jpg', '/home/pi/Desktop/images/15122025/16/09/image_15122025_16_09_54_9639.jpg', '/home/pi/Desktop/images/15122025/16/10/image_15122025_16_10_14_10051.jpg', '/home/pi/Desktop/images/15122025/16/10/image_15122025_16_10_25_10583.jpg', '/home/pi/Desktop/images/15122025/16/10/image_15122025_16_10_34_9576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/09/image_15122025_16_09_35_10631.jpg
/home/pi/Desktop/images/15122025/16/09/image_15122025_16_09_44_9750.jpg
/home/pi/Desktop/images/15122025/16/09/image_15122025_16_09_54_9639.jpg
/home/pi/Desktop/images/15122025/16/10/image_15122025_16_10_14_10051.jpg
/home/pi/Desktop/images/15122025/16/10/image_15122025_16_10_25_10583.jpg
/home/pi/Desktop/images/15122025/16/10/image_15122025_16_10_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":["1399526542","1399526536","1399526535","1399526538","1399526546","1399526540"],"photo_ids_order":["1399526535","1399526536","1399526538","1399526540","1399526542","1399526546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/42037b1c3a6b1983e101a6ce46be8072.jpg","text":"TemporaryFile(/tmp/multipartBody3589739999907123582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814302750,"filename":"image_15122025_16_10_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/15/b82ae324f507775559837d0221329fb9.jpg","text":"TemporaryFile(/tmp/multipartBody8635794408533087741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814302750,"filename":"image_15122025_16_09_44_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3242b5f684b2920bada610ba2c79f379.jpg","text":"TemporaryFile(/tmp/multipartBody8707760789825641328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814302750,"filename":"image_15122025_16_09_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/15/27f39951dd55f781922fcfffee8f3690.jpg","text":"TemporaryFile(/tmp/multipartBody299270164344102084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814302750,"filename":"image_15122025_16_09_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ac0eb596067d4f974a97be5d57dbd332.jpg","text":"TemporaryFile(/tmp/multipartBody6875997722826993206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814302750,"filename":"image_15122025_16_10_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/15/132f21ceaac1e5998e1d8aa2f0fe1317.jpg","text":"TemporaryFile(/tmp/multipartBody3339037243414095998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814302750,"filename":"image_15122025_16_10_14_10051.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526538","file1":"1399526536","file0":"1399526535","file4":"1399526542","file5":"1399526546","file3":"1399526540"},"map_files_photo_id_array":[{"photo_id":"1399526546","filename":"file5"},{"photo_id":"1399526538","filename":"file2"},{"photo_id":"1399526542","filename":"file4"},{"photo_id":"1399526536","filename":"file1"},{"photo_id":"1399526535","filename":"file0"},{"photo_id":"1399526540","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399526542":["hashtag1","hashtag2"]},{"1399526536":["hashtag1","hashtag2"]},{"1399526535":["hashtag1","hashtag2"]},{"1399526538":["hashtag1","hashtag2"]},{"1399526546":["hashtag1","hashtag2"]},{"1399526540":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399526542, 1399526536, 1399526535, 1399526538, 1399526546, 1399526540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.163607358932495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 16:59:03.582873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/10/image_15122025_16_10_44_9835.jpg', '/home/pi/Desktop/images/15122025/16/10/image_15122025_16_10_55_10680.jpg', '/home/pi/Desktop/images/15122025/16/10/image_15122025_16_11_04_9607.jpg', '/home/pi/Desktop/images/15122025/16/11/image_15122025_16_11_15_10632.jpg', '/home/pi/Desktop/images/15122025/16/11/image_15122025_16_11_25_9567.jpg', '/home/pi/Desktop/images/15122025/16/11/image_15122025_16_11_34_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/10/image_15122025_16_10_44_9835.jpg
/home/pi/Desktop/images/15122025/16/10/image_15122025_16_10_55_10680.jpg
/home/pi/Desktop/images/15122025/16/10/image_15122025_16_11_04_9607.jpg
/home/pi/Desktop/images/15122025/16/11/image_15122025_16_11_15_10632.jpg
/home/pi/Desktop/images/15122025/16/11/image_15122025_16_11_25_9567.jpg
/home/pi/Desktop/images/15122025/16/11/image_15122025_16_11_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":["1399526572","1399526578","1399526565","1399526576","1399526579","1399526570"],"photo_ids_order":["1399526565","1399526570","1399526572","1399526576","1399526578","1399526579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6450d22aac16b1b04ab7cc4c44da81bf.jpg","text":"TemporaryFile(/tmp/multipartBody8113207379768607319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814404356,"filename":"image_15122025_16_11_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/15/2ffbc2eae7d08bc7dee801d0bf349e9f.jpg","text":"TemporaryFile(/tmp/multipartBody8496931993839361288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814404356,"filename":"image_15122025_16_11_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/15/141eeba988bda993e48c923cc84e09e7.jpg","text":"TemporaryFile(/tmp/multipartBody7224696867381544604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814404356,"filename":"image_15122025_16_10_44_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/44d1eb9431cb0e3ff63929918a7d1251.jpg","text":"TemporaryFile(/tmp/multipartBody7563029585291793507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814404356,"filename":"image_15122025_16_11_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/15/5356bd703ba6a65640263c52460d6af2.jpg","text":"TemporaryFile(/tmp/multipartBody5862064135222000702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814404356,"filename":"image_15122025_16_11_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/15/be5c708c3c41369071b9884916354df3.jpg","text":"TemporaryFile(/tmp/multipartBody7849909085062562957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814404356,"filename":"image_15122025_16_10_55_10680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526572","file1":"1399526570","file0":"1399526565","file4":"1399526578","file5":"1399526579","file3":"1399526576"},"map_files_photo_id_array":[{"photo_id":"1399526579","filename":"file5"},{"photo_id":"1399526572","filename":"file2"},{"photo_id":"1399526578","filename":"file4"},{"photo_id":"1399526570","filename":"file1"},{"photo_id":"1399526565","filename":"file0"},{"photo_id":"1399526576","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399526572":["hashtag1","hashtag2"]},{"1399526578":["hashtag1","hashtag2"]},{"1399526565":["hashtag1","hashtag2"]},{"1399526576":["hashtag1","hashtag2"]},{"1399526579":["hashtag1","hashtag2"]},{"1399526570":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399526572, 1399526578, 1399526565, 1399526576, 1399526579, 1399526570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.28070592880249 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 16:59:42.542680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/31/image_05112025_15_31_37_2654.jpg', '/home/pi/Desktop/images/05112025/15/31/image_05112025_15_31_40_2793.jpg', '/home/pi/Desktop/images/05112025/15/31/image_05112025_15_31_43_2720.jpg', '/home/pi/Desktop/images/05112025/15/31/image_05112025_15_31_49_2652.jpg', '/home/pi/Desktop/images/05112025/15/31/image_05112025_15_31_56_3813.jpg', '/home/pi/Desktop/images/05112025/15/31/image_05112025_15_31_58_2785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/31/image_05112025_15_31_37_2654.jpg
/home/pi/Desktop/images/05112025/15/31/image_05112025_15_31_40_2793.jpg
/home/pi/Desktop/images/05112025/15/31/image_05112025_15_31_43_2720.jpg
/home/pi/Desktop/images/05112025/15/31/image_05112025_15_31_49_2652.jpg
/home/pi/Desktop/images/05112025/15/31/image_05112025_15_31_56_3813.jpg
/home/pi/Desktop/images/05112025/15/31/image_05112025_15_31_58_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":["1399526593","1399526584","1399526595","1399526589","1399526597","1399526591"],"photo_ids_order":["1399526584","1399526589","1399526591","1399526593","1399526595","1399526597"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/32f81fa75f28a4451978361a2a1468ed.jpg","text":"TemporaryFile(/tmp/multipartBody4180944760733934253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814443287,"filename":"image_05112025_15_31_49_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e5e01eeaf62bd59f341d55788d4c7d9b.jpg","text":"TemporaryFile(/tmp/multipartBody7759180607536860838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814443287,"filename":"image_05112025_15_31_37_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/20421a4c8a083e4319aa0703cf4729b5.jpg","text":"TemporaryFile(/tmp/multipartBody609254227815887988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814443287,"filename":"image_05112025_15_31_56_3813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/82e7b895cc61f3d8143cefbea80a08cc.jpg","text":"TemporaryFile(/tmp/multipartBody9018908628509920817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814443287,"filename":"image_05112025_15_31_40_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/32328ad5b017f35f646ef5c827509f15.jpg","text":"TemporaryFile(/tmp/multipartBody3263643257523774671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814443287,"filename":"image_05112025_15_31_58_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5d54def9b892274fcc99ac45b031e178.jpg","text":"TemporaryFile(/tmp/multipartBody824708773067388054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814443287,"filename":"image_05112025_15_31_43_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526591","file1":"1399526589","file0":"1399526584","file4":"1399526595","file5":"1399526597","file3":"1399526593"},"map_files_photo_id_array":[{"photo_id":"1399526597","filename":"file5"},{"photo_id":"1399526591","filename":"file2"},{"photo_id":"1399526595","filename":"file4"},{"photo_id":"1399526589","filename":"file1"},{"photo_id":"1399526584","filename":"file0"},{"photo_id":"1399526593","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399526593":["hashtag1","hashtag2"]},{"1399526584":["hashtag1","hashtag2"]},{"1399526595":["hashtag1","hashtag2"]},{"1399526589":["hashtag1","hashtag2"]},{"1399526597":["hashtag1","hashtag2"]},{"1399526591":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399526593, 1399526584, 1399526595, 1399526589, 1399526597, 1399526591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48553228378296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 17:00:22.829043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/11/image_15122025_16_11_45_10649.jpg', '/home/pi/Desktop/images/15122025/16/11/image_15122025_16_11_55_9679.jpg', '/home/pi/Desktop/images/15122025/16/11/image_15122025_16_12_04_9668.jpg', '/home/pi/Desktop/images/15122025/16/12/image_15122025_16_12_15_10650.jpg', '/home/pi/Desktop/images/15122025/16/12/image_15122025_16_12_25_9741.jpg', '/home/pi/Desktop/images/15122025/16/12/image_15122025_16_12_34_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/11/image_15122025_16_11_45_10649.jpg
/home/pi/Desktop/images/15122025/16/11/image_15122025_16_11_55_9679.jpg
/home/pi/Desktop/images/15122025/16/11/image_15122025_16_12_04_9668.jpg
/home/pi/Desktop/images/15122025/16/12/image_15122025_16_12_15_10650.jpg
/home/pi/Desktop/images/15122025/16/12/image_15122025_16_12_25_9741.jpg
/home/pi/Desktop/images/15122025/16/12/image_15122025_16_12_34_9593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399526603","1399526608","1399526602","1399526610","1399526612","1399526615"],"photo_ids_order":["1399526602","1399526603","1399526608","1399526610","1399526612","1399526615"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e94e8864b186b1a472ab2d5d628d3a25.jpg","text":"TemporaryFile(/tmp/multipartBody4263575518094589324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814483462,"filename":"image_15122025_16_11_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/15/a4138caf773bc3de6fd8b45a65075fa0.jpg","text":"TemporaryFile(/tmp/multipartBody5218639548752137468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814483462,"filename":"image_15122025_16_12_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/15/8f68ee05f03c55e77f526f6b1bfe59a3.jpg","text":"TemporaryFile(/tmp/multipartBody3041105815587087977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814483462,"filename":"image_15122025_16_11_45_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/74fa1288b1b61ba9326632bfabc6ea31.jpg","text":"TemporaryFile(/tmp/multipartBody8169165685211730383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814483462,"filename":"image_15122025_16_12_15_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/da98496c8029297eaf02c3a67ddf2c71.jpg","text":"TemporaryFile(/tmp/multipartBody7516852359916528175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814483462,"filename":"image_15122025_16_12_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/15/e734d6dd11f325d6a29fa7475dd191ba.jpg","text":"TemporaryFile(/tmp/multipartBody3809674232345322103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814483462,"filename":"image_15122025_16_12_34_9593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526608","file1":"1399526603","file0":"1399526602","file4":"1399526612","file5":"1399526615","file3":"1399526610"},"map_files_photo_id_array":[{"photo_id":"1399526615","filename":"file5"},{"photo_id":"1399526608","filename":"file2"},{"photo_id":"1399526612","filename":"file4"},{"photo_id":"1399526603","filename":"file1"},{"photo_id":"1399526602","filename":"file0"},{"photo_id":"1399526610","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399526603":["hashtag1","hashtag2"]},{"1399526608":["hashtag1","hashtag2"]},{"1399526602":["hashtag1","hashtag2"]},{"1399526610":["hashtag1","hashtag2"]},{"1399526612":["hashtag1","hashtag2"]},{"1399526615":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399526603, 1399526608, 1399526602, 1399526610, 1399526612, 1399526615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34675693511963 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 17:01:02.704818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/12/image_15122025_16_12_45_10741.jpg', '/home/pi/Desktop/images/15122025/16/12/image_15122025_16_12_55_9627.jpg', '/home/pi/Desktop/images/15122025/16/12/image_15122025_16_13_04_9830.jpg', '/home/pi/Desktop/images/15122025/16/13/image_15122025_16_13_14_9867.jpg', '/home/pi/Desktop/images/15122025/16/13/image_15122025_16_13_25_10650.jpg', '/home/pi/Desktop/images/15122025/16/13/image_15122025_16_13_35_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/12/image_15122025_16_12_45_10741.jpg
/home/pi/Desktop/images/15122025/16/12/image_15122025_16_12_55_9627.jpg
/home/pi/Desktop/images/15122025/16/12/image_15122025_16_13_04_9830.jpg
/home/pi/Desktop/images/15122025/16/13/image_15122025_16_13_14_9867.jpg
/home/pi/Desktop/images/15122025/16/13/image_15122025_16_13_25_10650.jpg
/home/pi/Desktop/images/15122025/16/13/image_15122025_16_13_35_9660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399526635","1399526638","1399526626","1399526631","1399526633","1399526636"],"photo_ids_order":["1399526626","1399526631","1399526633","1399526635","1399526636","1399526638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5313650dd0f59fb54a273df0086941c1.jpg","text":"TemporaryFile(/tmp/multipartBody7446913360134672280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814523364,"filename":"image_15122025_16_13_14_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f51c36d76f7e930a2188024d9f0f9867.jpg","text":"TemporaryFile(/tmp/multipartBody7102953007639753783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814523364,"filename":"image_15122025_16_13_35_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/707cc155ab9c5ace3e8abcdbeb89b459.jpg","text":"TemporaryFile(/tmp/multipartBody1317586386191049144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814523364,"filename":"image_15122025_16_12_45_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c7e0ba6a767a7f7eb20d8087694c0e7e.jpg","text":"TemporaryFile(/tmp/multipartBody2037226105289279244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814523364,"filename":"image_15122025_16_12_55_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4ae78f174cb535408ea35ed1982a82b9.jpg","text":"TemporaryFile(/tmp/multipartBody7418562043112930421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814523364,"filename":"image_15122025_16_13_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/15/aa0de5d66fe2ae2e556f6a056dfb9d12.jpg","text":"TemporaryFile(/tmp/multipartBody4801876624598025201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814523364,"filename":"image_15122025_16_13_25_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526633","file1":"1399526631","file0":"1399526626","file4":"1399526636","file5":"1399526638","file3":"1399526635"},"map_files_photo_id_array":[{"photo_id":"1399526638","filename":"file5"},{"photo_id":"1399526633","filename":"file2"},{"photo_id":"1399526636","filename":"file4"},{"photo_id":"1399526631","filename":"file1"},{"photo_id":"1399526626","filename":"file0"},{"photo_id":"1399526635","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399526635":["hashtag1","hashtag2"]},{"1399526638":["hashtag1","hashtag2"]},{"1399526626":["hashtag1","hashtag2"]},{"1399526631":["hashtag1","hashtag2"]},{"1399526633":["hashtag1","hashtag2"]},{"1399526636":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399526635, 1399526638, 1399526626, 1399526631, 1399526633, 1399526636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16348671913147 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 17:01:41.957213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/32/image_05112025_15_32_01_2501.jpg', '/home/pi/Desktop/images/05112025/15/32/image_05112025_15_32_12_10813.jpg', '/home/pi/Desktop/images/05112025/15/32/image_05112025_15_32_18_1548.jpg', '/home/pi/Desktop/images/05112025/15/32/image_05112025_15_32_20_1783.jpg', '/home/pi/Desktop/images/05112025/15/32/image_05112025_15_32_22_1688.jpg', '/home/pi/Desktop/images/05112025/15/32/image_05112025_15_32_25_3695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/32/image_05112025_15_32_01_2501.jpg
/home/pi/Desktop/images/05112025/15/32/image_05112025_15_32_12_10813.jpg
/home/pi/Desktop/images/05112025/15/32/image_05112025_15_32_18_1548.jpg
/home/pi/Desktop/images/05112025/15/32/image_05112025_15_32_20_1783.jpg
/home/pi/Desktop/images/05112025/15/32/image_05112025_15_32_22_1688.jpg
/home/pi/Desktop/images/05112025/15/32/image_05112025_15_32_25_3695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399526650","1399526647","1399526646","1399526649","1399526643","1399526648"],"photo_ids_order":["1399526643","1399526646","1399526647","1399526648","1399526649","1399526650"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8cebfcdb5513af6a7be7d81d3b1d2e80.jpg","text":"TemporaryFile(/tmp/multipartBody85483621773265781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814562677,"filename":"image_05112025_15_32_25_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/15/5bd05c2d69963980859701d872884f9d.jpg","text":"TemporaryFile(/tmp/multipartBody4607073902318627716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814562677,"filename":"image_05112025_15_32_18_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/15/bb14281d650b4a58f0846d73cb70cfd7.jpg","text":"TemporaryFile(/tmp/multipartBody1163268433608667303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814562677,"filename":"image_05112025_15_32_12_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/15/0eccba888e32df651d2c57ae71f5b4d2.jpg","text":"TemporaryFile(/tmp/multipartBody6873818061015333128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814562677,"filename":"image_05112025_15_32_22_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/15/4702bbfac5be817369c85b38296eb7f9.jpg","text":"TemporaryFile(/tmp/multipartBody9031735999932440537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814562677,"filename":"image_05112025_15_32_01_2501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e465a1669ef5cd6f14fd4b4b33e260fb.jpg","text":"TemporaryFile(/tmp/multipartBody4829477061523011063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814562677,"filename":"image_05112025_15_32_20_1783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526647","file1":"1399526646","file0":"1399526643","file4":"1399526649","file5":"1399526650","file3":"1399526648"},"map_files_photo_id_array":[{"photo_id":"1399526650","filename":"file5"},{"photo_id":"1399526647","filename":"file2"},{"photo_id":"1399526649","filename":"file4"},{"photo_id":"1399526646","filename":"file1"},{"photo_id":"1399526643","filename":"file0"},{"photo_id":"1399526648","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399526650":["hashtag1","hashtag2"]},{"1399526647":["hashtag1","hashtag2"]},{"1399526646":["hashtag1","hashtag2"]},{"1399526649":["hashtag1","hashtag2"]},{"1399526643":["hashtag1","hashtag2"]},{"1399526648":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399526650, 1399526647, 1399526646, 1399526649, 1399526643, 1399526648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51324105262756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 17:02:22.244155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/13/image_15122025_16_13_44_9786.jpg', '/home/pi/Desktop/images/15122025/16/13/image_15122025_16_13_55_10682.jpg', '/home/pi/Desktop/images/15122025/16/13/image_15122025_16_14_05_9681.jpg', '/home/pi/Desktop/images/15122025/16/14/image_15122025_16_14_14_9712.jpg', '/home/pi/Desktop/images/15122025/16/14/image_15122025_16_14_25_10672.jpg', '/home/pi/Desktop/images/15122025/16/14/image_15122025_16_14_35_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/13/image_15122025_16_13_44_9786.jpg
/home/pi/Desktop/images/15122025/16/13/image_15122025_16_13_55_10682.jpg
/home/pi/Desktop/images/15122025/16/13/image_15122025_16_14_05_9681.jpg
/home/pi/Desktop/images/15122025/16/14/image_15122025_16_14_14_9712.jpg
/home/pi/Desktop/images/15122025/16/14/image_15122025_16_14_25_10672.jpg
/home/pi/Desktop/images/15122025/16/14/image_15122025_16_14_35_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":["1399526662","1399526665","1399526667","1399526661","1399526655","1399526658"],"photo_ids_order":["1399526655","1399526658","1399526661","1399526662","1399526665","1399526667"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7c7efa556c0ac2cacc58faa4fe3ea3a5.jpg","text":"TemporaryFile(/tmp/multipartBody1307047856519452917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814602871,"filename":"image_15122025_16_14_14_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/59e8ff27c14e3b2d14efb23eee5d5f6d.jpg","text":"TemporaryFile(/tmp/multipartBody407932315272830633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814602871,"filename":"image_15122025_16_14_25_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cf6b82facd292c6ad469019f8ff71b2d.jpg","text":"TemporaryFile(/tmp/multipartBody148085335718535489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814602871,"filename":"image_15122025_16_14_35_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/802898ca4325f6d761de8fd6fe5c5171.jpg","text":"TemporaryFile(/tmp/multipartBody6024954975321406633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814602871,"filename":"image_15122025_16_14_05_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5f3954ca7a620a2488a91ef415de26e7.jpg","text":"TemporaryFile(/tmp/multipartBody1823891314011227973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814602871,"filename":"image_15122025_16_13_44_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/64649dda0eb0f4e475f09e783961cc97.jpg","text":"TemporaryFile(/tmp/multipartBody6021770002401676874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814602871,"filename":"image_15122025_16_13_55_10682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526661","file1":"1399526658","file0":"1399526655","file4":"1399526665","file5":"1399526667","file3":"1399526662"},"map_files_photo_id_array":[{"photo_id":"1399526667","filename":"file5"},{"photo_id":"1399526661","filename":"file2"},{"photo_id":"1399526665","filename":"file4"},{"photo_id":"1399526658","filename":"file1"},{"photo_id":"1399526655","filename":"file0"},{"photo_id":"1399526662","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399526662":["hashtag1","hashtag2"]},{"1399526665":["hashtag1","hashtag2"]},{"1399526667":["hashtag1","hashtag2"]},{"1399526661":["hashtag1","hashtag2"]},{"1399526655":["hashtag1","hashtag2"]},{"1399526658":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399526662, 1399526665, 1399526667, 1399526661, 1399526655, 1399526658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.329456090927124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 17:03:03.202981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/14/image_15122025_16_14_45_9869.jpg', '/home/pi/Desktop/images/15122025/16/14/image_15122025_16_14_54_9672.jpg', '/home/pi/Desktop/images/15122025/16/15/image_15122025_16_15_14_10052.jpg', '/home/pi/Desktop/images/15122025/16/15/image_15122025_16_15_25_10737.jpg', '/home/pi/Desktop/images/15122025/16/15/image_15122025_16_15_35_9669.jpg', '/home/pi/Desktop/images/15122025/16/15/image_15122025_16_15_45_9825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/14/image_15122025_16_14_45_9869.jpg
/home/pi/Desktop/images/15122025/16/14/image_15122025_16_14_54_9672.jpg
/home/pi/Desktop/images/15122025/16/15/image_15122025_16_15_14_10052.jpg
/home/pi/Desktop/images/15122025/16/15/image_15122025_16_15_25_10737.jpg
/home/pi/Desktop/images/15122025/16/15/image_15122025_16_15_35_9669.jpg
/home/pi/Desktop/images/15122025/16/15/image_15122025_16_15_45_9825.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399526683","1399526677","1399526685","1399526679","1399526673","1399526675"],"photo_ids_order":["1399526673","1399526675","1399526677","1399526679","1399526683","1399526685"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a481457f775bd8a334e830111b77f28d.jpg","text":"TemporaryFile(/tmp/multipartBody3466562946659333026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814643855,"filename":"image_15122025_16_15_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/15/c8668f79ef3774b7123bbbfed13b7de3.jpg","text":"TemporaryFile(/tmp/multipartBody346365945408154900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814643855,"filename":"image_15122025_16_15_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/15/0e72830939e5f040293e17b921e922c6.jpg","text":"TemporaryFile(/tmp/multipartBody8832998225593430396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814643855,"filename":"image_15122025_16_15_45_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/121e3857d7cd9690ce85b4ce9500864e.jpg","text":"TemporaryFile(/tmp/multipartBody245949478992055978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814643855,"filename":"image_15122025_16_15_25_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ee9d2cd0bd935abdafcc5b4473a1d866.jpg","text":"TemporaryFile(/tmp/multipartBody758104312883169285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814643855,"filename":"image_15122025_16_14_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/15/25794ed690ddf8c8e509d173f7faef75.jpg","text":"TemporaryFile(/tmp/multipartBody903178532211626485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814643855,"filename":"image_15122025_16_14_54_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526677","file1":"1399526675","file0":"1399526673","file4":"1399526683","file5":"1399526685","file3":"1399526679"},"map_files_photo_id_array":[{"photo_id":"1399526685","filename":"file5"},{"photo_id":"1399526677","filename":"file2"},{"photo_id":"1399526683","filename":"file4"},{"photo_id":"1399526675","filename":"file1"},{"photo_id":"1399526673","filename":"file0"},{"photo_id":"1399526679","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399526683":["hashtag1","hashtag2"]},{"1399526677":["hashtag1","hashtag2"]},{"1399526685":["hashtag1","hashtag2"]},{"1399526679":["hashtag1","hashtag2"]},{"1399526673":["hashtag1","hashtag2"]},{"1399526675":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399526683, 1399526677, 1399526685, 1399526679, 1399526673, 1399526675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.79655194282532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 17:04:03.109123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/15/image_15122025_16_15_55_10703.jpg', '/home/pi/Desktop/images/15122025/16/15/image_15122025_16_16_05_9874.jpg', '/home/pi/Desktop/images/15122025/16/16/image_15122025_16_16_15_9562.jpg', '/home/pi/Desktop/images/15122025/16/16/image_15122025_16_16_24_9608.jpg', '/home/pi/Desktop/images/15122025/16/16/image_15122025_16_16_35_10739.jpg', '/home/pi/Desktop/images/15122025/16/16/image_15122025_16_16_45_9830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/15/image_15122025_16_15_55_10703.jpg
/home/pi/Desktop/images/15122025/16/15/image_15122025_16_16_05_9874.jpg
/home/pi/Desktop/images/15122025/16/16/image_15122025_16_16_15_9562.jpg
/home/pi/Desktop/images/15122025/16/16/image_15122025_16_16_24_9608.jpg
/home/pi/Desktop/images/15122025/16/16/image_15122025_16_16_35_10739.jpg
/home/pi/Desktop/images/15122025/16/16/image_15122025_16_16_45_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":["1399526695","1399526697","1399526691","1399526700","1399526693","1399526698"],"photo_ids_order":["1399526691","1399526693","1399526695","1399526697","1399526698","1399526700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/91ea4ef3471efbaeb6860e2e42d69e46.jpg","text":"TemporaryFile(/tmp/multipartBody8264220965904245223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814703774,"filename":"image_15122025_16_16_15_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b5f089e608cd4bc2a8a7b4186670e6fd.jpg","text":"TemporaryFile(/tmp/multipartBody1250954067246108737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814703774,"filename":"image_15122025_16_16_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/15/0e83b0ef9a4fb4c5c305f2fc05b541dd.jpg","text":"TemporaryFile(/tmp/multipartBody3680915394066030478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814703774,"filename":"image_15122025_16_15_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/15/578333fc3893276d3391420ad6775e77.jpg","text":"TemporaryFile(/tmp/multipartBody3339700688309687607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814703774,"filename":"image_15122025_16_16_45_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/15/135e37d0a7a5ca4e3be5e88e7e3e11bb.jpg","text":"TemporaryFile(/tmp/multipartBody5074440270843945734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814703774,"filename":"image_15122025_16_16_05_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/90a3f6ddb27764c40b88b1478eab4ff0.jpg","text":"TemporaryFile(/tmp/multipartBody8914111647922946387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814703774,"filename":"image_15122025_16_16_35_10739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526695","file1":"1399526693","file0":"1399526691","file4":"1399526698","file5":"1399526700","file3":"1399526697"},"map_files_photo_id_array":[{"photo_id":"1399526700","filename":"file5"},{"photo_id":"1399526695","filename":"file2"},{"photo_id":"1399526698","filename":"file4"},{"photo_id":"1399526693","filename":"file1"},{"photo_id":"1399526691","filename":"file0"},{"photo_id":"1399526697","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399526695":["hashtag1","hashtag2"]},{"1399526697":["hashtag1","hashtag2"]},{"1399526691":["hashtag1","hashtag2"]},{"1399526700":["hashtag1","hashtag2"]},{"1399526693":["hashtag1","hashtag2"]},{"1399526698":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399526695, 1399526697, 1399526691, 1399526700, 1399526693, 1399526698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96982145309448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 17:04:42.706559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/32/image_05112025_15_32_28_2629.jpg', '/home/pi/Desktop/images/05112025/15/32/image_05112025_15_32_34_3664.jpg', '/home/pi/Desktop/images/05112025/15/32/image_05112025_15_32_37_2663.jpg', '/home/pi/Desktop/images/05112025/15/32/image_05112025_15_32_40_3573.jpg', '/home/pi/Desktop/images/05112025/15/32/image_05112025_15_32_43_2651.jpg', '/home/pi/Desktop/images/05112025/15/32/image_05112025_15_32_46_2824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/32/image_05112025_15_32_28_2629.jpg
/home/pi/Desktop/images/05112025/15/32/image_05112025_15_32_34_3664.jpg
/home/pi/Desktop/images/05112025/15/32/image_05112025_15_32_37_2663.jpg
/home/pi/Desktop/images/05112025/15/32/image_05112025_15_32_40_3573.jpg
/home/pi/Desktop/images/05112025/15/32/image_05112025_15_32_43_2651.jpg
/home/pi/Desktop/images/05112025/15/32/image_05112025_15_32_46_2824.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399526717","1399526716","1399526719","1399526713","1399526715","1399526718"],"photo_ids_order":["1399526713","1399526715","1399526716","1399526717","1399526718","1399526719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4e3ab3d6e424cfec2e9a1403d3de8685.jpg","text":"TemporaryFile(/tmp/multipartBody8212329730302261675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814743423,"filename":"image_05112025_15_32_40_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/15/98ac28619f08bd38016b269c1e38ca2b.jpg","text":"TemporaryFile(/tmp/multipartBody5686118384637818287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814743423,"filename":"image_05112025_15_32_37_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/15/ac282d278144d4dc1328fae72a6ea697.jpg","text":"TemporaryFile(/tmp/multipartBody4843400225859789549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814743423,"filename":"image_05112025_15_32_46_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/15/7665ce132ac1c6cd5baeba8c20e741b6.jpg","text":"TemporaryFile(/tmp/multipartBody8349749733959300662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814743423,"filename":"image_05112025_15_32_28_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9cc395a845c44f6ccdb3b49866586aff.jpg","text":"TemporaryFile(/tmp/multipartBody4401094196599980009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814743423,"filename":"image_05112025_15_32_34_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7d00a0d6c511089ed8bbe2146c2b7f2e.jpg","text":"TemporaryFile(/tmp/multipartBody5136204517078042049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814743423,"filename":"image_05112025_15_32_43_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526716","file1":"1399526715","file0":"1399526713","file4":"1399526718","file5":"1399526719","file3":"1399526717"},"map_files_photo_id_array":[{"photo_id":"1399526719","filename":"file5"},{"photo_id":"1399526716","filename":"file2"},{"photo_id":"1399526718","filename":"file4"},{"photo_id":"1399526715","filename":"file1"},{"photo_id":"1399526713","filename":"file0"},{"photo_id":"1399526717","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399526717":["hashtag1","hashtag2"]},{"1399526716":["hashtag1","hashtag2"]},{"1399526719":["hashtag1","hashtag2"]},{"1399526713":["hashtag1","hashtag2"]},{"1399526715":["hashtag1","hashtag2"]},{"1399526718":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399526717, 1399526716, 1399526719, 1399526713, 1399526715, 1399526718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07551860809326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 17:05:21.967125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/16/image_15122025_16_16_55_9713.jpg', '/home/pi/Desktop/images/15122025/16/16/image_15122025_16_17_05_10629.jpg', '/home/pi/Desktop/images/15122025/16/17/image_15122025_16_17_15_9778.jpg', '/home/pi/Desktop/images/15122025/16/17/image_15122025_16_17_25_9662.jpg', '/home/pi/Desktop/images/15122025/16/17/image_15122025_16_17_34_9670.jpg', '/home/pi/Desktop/images/15122025/16/17/image_15122025_16_17_45_10832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/16/image_15122025_16_16_55_9713.jpg
/home/pi/Desktop/images/15122025/16/16/image_15122025_16_17_05_10629.jpg
/home/pi/Desktop/images/15122025/16/17/image_15122025_16_17_15_9778.jpg
/home/pi/Desktop/images/15122025/16/17/image_15122025_16_17_25_9662.jpg
/home/pi/Desktop/images/15122025/16/17/image_15122025_16_17_34_9670.jpg
/home/pi/Desktop/images/15122025/16/17/image_15122025_16_17_45_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":["1399526740","1399526743","1399526745","1399526754","1399526748","1399526750"],"photo_ids_order":["1399526740","1399526743","1399526745","1399526748","1399526750","1399526754"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9c5feaec1b3621fef9764ce9249a7e38.jpg","text":"TemporaryFile(/tmp/multipartBody6030622218411162953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814782540,"filename":"image_15122025_16_16_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/15/8da5de25b6d9c0c78909f0c105119482.jpg","text":"TemporaryFile(/tmp/multipartBody1306030176702735249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814782540,"filename":"image_15122025_16_17_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/15/fe5c681f2140cebb0c993ab574587672.jpg","text":"TemporaryFile(/tmp/multipartBody7485704991931836673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814782540,"filename":"image_15122025_16_17_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/15/a36884114934275243802a488ec11079.jpg","text":"TemporaryFile(/tmp/multipartBody6504888308627769396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814782540,"filename":"image_15122025_16_17_45_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/15/12d1d96df45fd1500c0a8c1c1242610f.jpg","text":"TemporaryFile(/tmp/multipartBody708205606196136408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814782540,"filename":"image_15122025_16_17_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/15/963b986e3f27ed6e322a8faa895c05f6.jpg","text":"TemporaryFile(/tmp/multipartBody825551600800740084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814782540,"filename":"image_15122025_16_17_34_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526745","file1":"1399526743","file0":"1399526740","file4":"1399526750","file5":"1399526754","file3":"1399526748"},"map_files_photo_id_array":[{"photo_id":"1399526754","filename":"file5"},{"photo_id":"1399526745","filename":"file2"},{"photo_id":"1399526750","filename":"file4"},{"photo_id":"1399526743","filename":"file1"},{"photo_id":"1399526740","filename":"file0"},{"photo_id":"1399526748","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399526740":["hashtag1","hashtag2"]},{"1399526743":["hashtag1","hashtag2"]},{"1399526745":["hashtag1","hashtag2"]},{"1399526754":["hashtag1","hashtag2"]},{"1399526748":["hashtag1","hashtag2"]},{"1399526750":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399526740, 1399526743, 1399526745, 1399526754, 1399526748, 1399526750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.169559478759766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 17:06:02.533029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/17/image_15122025_16_17_55_9668.jpg', '/home/pi/Desktop/images/15122025/16/17/image_15122025_16_18_05_9668.jpg', '/home/pi/Desktop/images/15122025/16/18/image_15122025_16_18_14_9830.jpg', '/home/pi/Desktop/images/15122025/16/18/image_15122025_16_18_25_10668.jpg', '/home/pi/Desktop/images/15122025/16/18/image_15122025_16_18_35_9736.jpg', '/home/pi/Desktop/images/15122025/16/18/image_15122025_16_18_44_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/17/image_15122025_16_17_55_9668.jpg
/home/pi/Desktop/images/15122025/16/17/image_15122025_16_18_05_9668.jpg
/home/pi/Desktop/images/15122025/16/18/image_15122025_16_18_14_9830.jpg
/home/pi/Desktop/images/15122025/16/18/image_15122025_16_18_25_10668.jpg
/home/pi/Desktop/images/15122025/16/18/image_15122025_16_18_35_9736.jpg
/home/pi/Desktop/images/15122025/16/18/image_15122025_16_18_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.5141453742980957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 17:06:12.101144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 17:06:22.176365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/17/image_15122025_16_17_55_9668.jpg', '/home/pi/Desktop/images/15122025/16/17/image_15122025_16_18_05_9668.jpg', '/home/pi/Desktop/images/15122025/16/18/image_15122025_16_18_14_9830.jpg', '/home/pi/Desktop/images/15122025/16/18/image_15122025_16_18_25_10668.jpg', '/home/pi/Desktop/images/15122025/16/18/image_15122025_16_18_35_9736.jpg', '/home/pi/Desktop/images/15122025/16/18/image_15122025_16_18_44_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/17/image_15122025_16_17_55_9668.jpg
/home/pi/Desktop/images/15122025/16/17/image_15122025_16_18_05_9668.jpg
/home/pi/Desktop/images/15122025/16/18/image_15122025_16_18_14_9830.jpg
/home/pi/Desktop/images/15122025/16/18/image_15122025_16_18_25_10668.jpg
/home/pi/Desktop/images/15122025/16/18/image_15122025_16_18_35_9736.jpg
/home/pi/Desktop/images/15122025/16/18/image_15122025_16_18_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":["1399526770","1399526773","1399526776","1399526764","1399526766","1399526789"],"photo_ids_order":["1399526764","1399526766","1399526770","1399526773","1399526776","1399526789"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a9de4472d5b95d1787978e904cdbd2b1.jpg","text":"TemporaryFile(/tmp/multipartBody5319558761662682904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814842831,"filename":"image_15122025_16_18_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/15/fbbabcfb966b318f1edcf138b92aa6e9.jpg","text":"TemporaryFile(/tmp/multipartBody93110486580250983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814842831,"filename":"image_15122025_16_18_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/15/da650b137debaf30643ec755c95fb05d.jpg","text":"TemporaryFile(/tmp/multipartBody2328958871236478399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814842831,"filename":"image_15122025_16_18_35_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d047f4ab61bbe2c2e8c8e075471f30d2.jpg","text":"TemporaryFile(/tmp/multipartBody963149266042110539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814842831,"filename":"image_15122025_16_17_55_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0e7b227287cf645c26dddc635c551210.jpg","text":"TemporaryFile(/tmp/multipartBody5355147131478598113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814842831,"filename":"image_15122025_16_18_05_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/81d67e632332aa4255b1ca6a9c6687b2.jpg","text":"TemporaryFile(/tmp/multipartBody2487806755306219269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814842831,"filename":"image_15122025_16_18_44_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526770","file1":"1399526766","file0":"1399526764","file4":"1399526776","file5":"1399526789","file3":"1399526773"},"map_files_photo_id_array":[{"photo_id":"1399526789","filename":"file5"},{"photo_id":"1399526770","filename":"file2"},{"photo_id":"1399526776","filename":"file4"},{"photo_id":"1399526766","filename":"file1"},{"photo_id":"1399526764","filename":"file0"},{"photo_id":"1399526773","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399526770":["hashtag1","hashtag2"]},{"1399526773":["hashtag1","hashtag2"]},{"1399526776":["hashtag1","hashtag2"]},{"1399526764":["hashtag1","hashtag2"]},{"1399526766":["hashtag1","hashtag2"]},{"1399526789":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399526770, 1399526773, 1399526776, 1399526764, 1399526766, 1399526789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60089826583862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 17:07:03.136499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/18/image_15122025_16_18_54_9964.jpg', '/home/pi/Desktop/images/15122025/16/18/image_15122025_16_19_05_10845.jpg', '/home/pi/Desktop/images/15122025/16/19/image_15122025_16_19_15_9608.jpg', '/home/pi/Desktop/images/15122025/16/19/image_15122025_16_19_25_9646.jpg', '/home/pi/Desktop/images/15122025/16/19/image_15122025_16_19_35_10735.jpg', '/home/pi/Desktop/images/15122025/16/19/image_15122025_16_19_45_9557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/18/image_15122025_16_18_54_9964.jpg
/home/pi/Desktop/images/15122025/16/18/image_15122025_16_19_05_10845.jpg
/home/pi/Desktop/images/15122025/16/19/image_15122025_16_19_15_9608.jpg
/home/pi/Desktop/images/15122025/16/19/image_15122025_16_19_25_9646.jpg
/home/pi/Desktop/images/15122025/16/19/image_15122025_16_19_35_10735.jpg
/home/pi/Desktop/images/15122025/16/19/image_15122025_16_19_45_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":["1399526801","1399526803","1399526796","1399526800","1399526799","1399526798"],"photo_ids_order":["1399526796","1399526798","1399526799","1399526800","1399526801","1399526803"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/33f0e837b3acc195028d027ed54481eb.jpg","text":"TemporaryFile(/tmp/multipartBody4069793239310536593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814883821,"filename":"image_15122025_16_19_35_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/47ab3e6d14452ada9c82b97ab98282cc.jpg","text":"TemporaryFile(/tmp/multipartBody7698299286988351051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814883821,"filename":"image_15122025_16_19_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/15/82aabcd78e6c43004d59ff78999e582c.jpg","text":"TemporaryFile(/tmp/multipartBody945870616047535591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814883821,"filename":"image_15122025_16_18_54_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/15/4ad3ace4cccf5f4859e0ef226abd60c8.jpg","text":"TemporaryFile(/tmp/multipartBody3944507346758646508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814883821,"filename":"image_15122025_16_19_25_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/aaa75ba972346fada4521da1f82fb88c.jpg","text":"TemporaryFile(/tmp/multipartBody1478857600488621636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814883821,"filename":"image_15122025_16_19_15_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c7c206bfbeccb7e9b99df748909f011f.jpg","text":"TemporaryFile(/tmp/multipartBody1329350590491305240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814883821,"filename":"image_15122025_16_19_05_10845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526799","file1":"1399526798","file0":"1399526796","file4":"1399526801","file5":"1399526803","file3":"1399526800"},"map_files_photo_id_array":[{"photo_id":"1399526803","filename":"file5"},{"photo_id":"1399526799","filename":"file2"},{"photo_id":"1399526801","filename":"file4"},{"photo_id":"1399526798","filename":"file1"},{"photo_id":"1399526796","filename":"file0"},{"photo_id":"1399526800","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399526801":["hashtag1","hashtag2"]},{"1399526803":["hashtag1","hashtag2"]},{"1399526796":["hashtag1","hashtag2"]},{"1399526800":["hashtag1","hashtag2"]},{"1399526799":["hashtag1","hashtag2"]},{"1399526798":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399526801, 1399526803, 1399526796, 1399526800, 1399526799, 1399526798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66595721244812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 17:07:42.421219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/32/image_05112025_15_32_49_3545.jpg', '/home/pi/Desktop/images/05112025/15/32/image_05112025_15_32_52_2500.jpg', '/home/pi/Desktop/images/05112025/15/32/image_05112025_15_32_55_2832.jpg', '/home/pi/Desktop/images/05112025/15/32/image_05112025_15_32_58_3630.jpg', '/home/pi/Desktop/images/05112025/15/33/image_05112025_15_33_01_2614.jpg', '/home/pi/Desktop/images/05112025/15/33/image_05112025_15_33_04_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/32/image_05112025_15_32_49_3545.jpg
/home/pi/Desktop/images/05112025/15/32/image_05112025_15_32_52_2500.jpg
/home/pi/Desktop/images/05112025/15/32/image_05112025_15_32_55_2832.jpg
/home/pi/Desktop/images/05112025/15/32/image_05112025_15_32_58_3630.jpg
/home/pi/Desktop/images/05112025/15/33/image_05112025_15_33_01_2614.jpg
/home/pi/Desktop/images/05112025/15/33/image_05112025_15_33_04_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":["1399526821","1399526830","1399526827","1399526809","1399526828","1399526807"],"photo_ids_order":["1399526807","1399526809","1399526821","1399526827","1399526828","1399526830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/51e933353ea9fd702ccea882ae164d79.jpg","text":"TemporaryFile(/tmp/multipartBody761989814605540229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814923137,"filename":"image_05112025_15_32_55_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f9d54507f8502c5fa4d684cc6e8c5703.jpg","text":"TemporaryFile(/tmp/multipartBody3884771500145966767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814923137,"filename":"image_05112025_15_33_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/15/9bdb7e50b08a29ec1a84aff8f569b48b.jpg","text":"TemporaryFile(/tmp/multipartBody3455977804779288500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814923137,"filename":"image_05112025_15_32_58_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/15/f815b5c7298b101cb495989104b233c8.jpg","text":"TemporaryFile(/tmp/multipartBody357893217456641644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814923137,"filename":"image_05112025_15_32_52_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/15/131d9fb385ae2066ce49cf0a7c7527f0.jpg","text":"TemporaryFile(/tmp/multipartBody3516698064723157238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814923137,"filename":"image_05112025_15_33_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/15/c2cce25952c27b57ff4cd9c8c253f91c.jpg","text":"TemporaryFile(/tmp/multipartBody1958103530887636442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814923137,"filename":"image_05112025_15_32_49_3545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526821","file1":"1399526809","file0":"1399526807","file4":"1399526828","file5":"1399526830","file3":"1399526827"},"map_files_photo_id_array":[{"photo_id":"1399526830","filename":"file5"},{"photo_id":"1399526821","filename":"file2"},{"photo_id":"1399526828","filename":"file4"},{"photo_id":"1399526809","filename":"file1"},{"photo_id":"1399526807","filename":"file0"},{"photo_id":"1399526827","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399526821":["hashtag1","hashtag2"]},{"1399526830":["hashtag1","hashtag2"]},{"1399526827":["hashtag1","hashtag2"]},{"1399526809":["hashtag1","hashtag2"]},{"1399526828":["hashtag1","hashtag2"]},{"1399526807":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399526821, 1399526830, 1399526827, 1399526809, 1399526828, 1399526807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78657603263855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 17:08:22.688961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/19/image_15122025_16_19_55_9730.jpg', '/home/pi/Desktop/images/15122025/16/20/image_15122025_16_20_15_10054.jpg', '/home/pi/Desktop/images/15122025/16/20/image_15122025_16_20_26_10758.jpg', '/home/pi/Desktop/images/15122025/16/20/image_15122025_16_20_35_9534.jpg', '/home/pi/Desktop/images/15122025/16/20/image_15122025_16_20_45_9680.jpg', '/home/pi/Desktop/images/15122025/16/20/image_15122025_16_20_55_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/19/image_15122025_16_19_55_9730.jpg
/home/pi/Desktop/images/15122025/16/20/image_15122025_16_20_15_10054.jpg
/home/pi/Desktop/images/15122025/16/20/image_15122025_16_20_26_10758.jpg
/home/pi/Desktop/images/15122025/16/20/image_15122025_16_20_35_9534.jpg
/home/pi/Desktop/images/15122025/16/20/image_15122025_16_20_45_9680.jpg
/home/pi/Desktop/images/15122025/16/20/image_15122025_16_20_55_10616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399526847","1399526832","1399526858","1399526837","1399526831","1399526834"],"photo_ids_order":["1399526831","1399526832","1399526834","1399526837","1399526847","1399526858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6207695afb4844f928c4c54dc8db488a.jpg","text":"TemporaryFile(/tmp/multipartBody3137362107660075590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814963320,"filename":"image_15122025_16_20_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/15/9e22c6e926a66e08290b5d69d41c0fc5.jpg","text":"TemporaryFile(/tmp/multipartBody1311460818275856002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814963320,"filename":"image_15122025_16_20_15_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/abd31c7b3e865624fa4edbea9c9666e6.jpg","text":"TemporaryFile(/tmp/multipartBody3523747062272983440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814963320,"filename":"image_15122025_16_20_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/15/235abe0ac6685c19c8021693dc7ac54c.jpg","text":"TemporaryFile(/tmp/multipartBody2492721927651849493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814963320,"filename":"image_15122025_16_20_35_9534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/be2ebf3f5bc5e229a61f16ab3c94abd1.jpg","text":"TemporaryFile(/tmp/multipartBody8524563363124709235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814963320,"filename":"image_15122025_16_19_55_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a3cf7b705d8e94416e2554f6beca35ac.jpg","text":"TemporaryFile(/tmp/multipartBody5497302420040249884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765814963320,"filename":"image_15122025_16_20_26_10758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526834","file1":"1399526832","file0":"1399526831","file4":"1399526847","file5":"1399526858","file3":"1399526837"},"map_files_photo_id_array":[{"photo_id":"1399526858","filename":"file5"},{"photo_id":"1399526834","filename":"file2"},{"photo_id":"1399526847","filename":"file4"},{"photo_id":"1399526832","filename":"file1"},{"photo_id":"1399526831","filename":"file0"},{"photo_id":"1399526837","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399526847":["hashtag1","hashtag2"]},{"1399526832":["hashtag1","hashtag2"]},{"1399526858":["hashtag1","hashtag2"]},{"1399526837":["hashtag1","hashtag2"]},{"1399526831":["hashtag1","hashtag2"]},{"1399526834":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399526847, 1399526832, 1399526858, 1399526837, 1399526831, 1399526834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00213050842285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 17:09:02.754254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/20/image_15122025_16_21_05_9671.jpg', '/home/pi/Desktop/images/15122025/16/21/image_15122025_16_21_15_9764.jpg', '/home/pi/Desktop/images/15122025/16/21/image_15122025_16_21_26_10754.jpg', '/home/pi/Desktop/images/15122025/16/21/image_15122025_16_21_35_9588.jpg', '/home/pi/Desktop/images/15122025/16/21/image_15122025_16_21_45_9683.jpg', '/home/pi/Desktop/images/15122025/16/21/image_15122025_16_21_56_10789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/20/image_15122025_16_21_05_9671.jpg
/home/pi/Desktop/images/15122025/16/21/image_15122025_16_21_15_9764.jpg
/home/pi/Desktop/images/15122025/16/21/image_15122025_16_21_26_10754.jpg
/home/pi/Desktop/images/15122025/16/21/image_15122025_16_21_35_9588.jpg
/home/pi/Desktop/images/15122025/16/21/image_15122025_16_21_45_9683.jpg
/home/pi/Desktop/images/15122025/16/21/image_15122025_16_21_56_10789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399526977","1399526974","1399526988","1399526973","1399526985","1399526975"],"photo_ids_order":["1399526973","1399526974","1399526975","1399526977","1399526985","1399526988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/13dd5c60d08f820ab05cec3234e3de4c.jpg","text":"TemporaryFile(/tmp/multipartBody4483533422995346698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815003478,"filename":"image_15122025_16_21_35_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c212c4e7d510df57ed52a8a4f3afdd80.jpg","text":"TemporaryFile(/tmp/multipartBody7366742370628449125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815003478,"filename":"image_15122025_16_21_15_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0e94a3865db20f6eb1a1f7fd27de4c03.jpg","text":"TemporaryFile(/tmp/multipartBody7103128131093214153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815003478,"filename":"image_15122025_16_21_56_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/15/a64aabe4125409140fb68d391f19b7f0.jpg","text":"TemporaryFile(/tmp/multipartBody3185543425365075604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815003478,"filename":"image_15122025_16_21_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/15/8656aa6c79e5c78b59ea15f59eb59db2.jpg","text":"TemporaryFile(/tmp/multipartBody2586606595913160471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815003478,"filename":"image_15122025_16_21_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/15/3fe44b416d76ef7defa21cef82f8bad1.jpg","text":"TemporaryFile(/tmp/multipartBody5285074030735233155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815003478,"filename":"image_15122025_16_21_26_10754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526975","file1":"1399526974","file0":"1399526973","file4":"1399526985","file5":"1399526988","file3":"1399526977"},"map_files_photo_id_array":[{"photo_id":"1399526988","filename":"file5"},{"photo_id":"1399526975","filename":"file2"},{"photo_id":"1399526985","filename":"file4"},{"photo_id":"1399526974","filename":"file1"},{"photo_id":"1399526973","filename":"file0"},{"photo_id":"1399526977","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399526977":["hashtag1","hashtag2"]},{"1399526974":["hashtag1","hashtag2"]},{"1399526988":["hashtag1","hashtag2"]},{"1399526973":["hashtag1","hashtag2"]},{"1399526985":["hashtag1","hashtag2"]},{"1399526975":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399526977, 1399526974, 1399526988, 1399526973, 1399526985, 1399526975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.084797859191895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 17:09:41.756748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/33/image_05112025_15_33_07_3623.jpg', '/home/pi/Desktop/images/05112025/15/33/image_05112025_15_33_10_2734.jpg', '/home/pi/Desktop/images/05112025/15/33/image_05112025_15_33_13_2518.jpg', '/home/pi/Desktop/images/05112025/15/33/image_05112025_15_33_16_3717.jpg', '/home/pi/Desktop/images/05112025/15/33/image_05112025_15_33_22_2753.jpg', '/home/pi/Desktop/images/05112025/15/33/image_05112025_15_33_28_2544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/33/image_05112025_15_33_07_3623.jpg
/home/pi/Desktop/images/05112025/15/33/image_05112025_15_33_10_2734.jpg
/home/pi/Desktop/images/05112025/15/33/image_05112025_15_33_13_2518.jpg
/home/pi/Desktop/images/05112025/15/33/image_05112025_15_33_16_3717.jpg
/home/pi/Desktop/images/05112025/15/33/image_05112025_15_33_22_2753.jpg
/home/pi/Desktop/images/05112025/15/33/image_05112025_15_33_28_2544.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399526998","1399526992","1399526997","1399527000","1399526999","1399526996"],"photo_ids_order":["1399526992","1399526996","1399526997","1399526998","1399526999","1399527000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5dd3bcdf4dfd1ce94956a42fb753194a.jpg","text":"TemporaryFile(/tmp/multipartBody1961708559845246642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815042580,"filename":"image_05112025_15_33_16_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f0f23720720eadd46adaa53889b1268a.jpg","text":"TemporaryFile(/tmp/multipartBody882667666837477866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815042580,"filename":"image_05112025_15_33_07_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/15/7afd3b5e3c7814e59b414548a416f781.jpg","text":"TemporaryFile(/tmp/multipartBody4147474001312708379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815042580,"filename":"image_05112025_15_33_13_2518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8711d92cb35b81fc8cb8dd9649b55720.jpg","text":"TemporaryFile(/tmp/multipartBody1644180336978618599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815042580,"filename":"image_05112025_15_33_28_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/15/1df47d3ccbad98529b40e60771d2fe4a.jpg","text":"TemporaryFile(/tmp/multipartBody1046637961253447795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815042580,"filename":"image_05112025_15_33_22_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/15/d824483e68a04d001954265b8cbe777e.jpg","text":"TemporaryFile(/tmp/multipartBody4232958519879212011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815042580,"filename":"image_05112025_15_33_10_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399526997","file1":"1399526996","file0":"1399526992","file4":"1399526999","file5":"1399527000","file3":"1399526998"},"map_files_photo_id_array":[{"photo_id":"1399527000","filename":"file5"},{"photo_id":"1399526997","filename":"file2"},{"photo_id":"1399526999","filename":"file4"},{"photo_id":"1399526996","filename":"file1"},{"photo_id":"1399526992","filename":"file0"},{"photo_id":"1399526998","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399526998":["hashtag1","hashtag2"]},{"1399526992":["hashtag1","hashtag2"]},{"1399526997":["hashtag1","hashtag2"]},{"1399527000":["hashtag1","hashtag2"]},{"1399526999":["hashtag1","hashtag2"]},{"1399526996":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399526998, 1399526992, 1399526997, 1399527000, 1399526999, 1399526996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3582398891449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 17:10:22.007388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/21/image_15122025_16_22_05_9644.jpg', '/home/pi/Desktop/images/15122025/16/22/image_15122025_16_22_15_9680.jpg', '/home/pi/Desktop/images/15122025/16/22/image_15122025_16_22_25_9804.jpg', '/home/pi/Desktop/images/15122025/16/22/image_15122025_16_22_35_10619.jpg', '/home/pi/Desktop/images/15122025/16/22/image_15122025_16_22_45_9635.jpg', '/home/pi/Desktop/images/15122025/16/22/image_15122025_16_22_55_9817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/21/image_15122025_16_22_05_9644.jpg
/home/pi/Desktop/images/15122025/16/22/image_15122025_16_22_15_9680.jpg
/home/pi/Desktop/images/15122025/16/22/image_15122025_16_22_25_9804.jpg
/home/pi/Desktop/images/15122025/16/22/image_15122025_16_22_35_10619.jpg
/home/pi/Desktop/images/15122025/16/22/image_15122025_16_22_45_9635.jpg
/home/pi/Desktop/images/15122025/16/22/image_15122025_16_22_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":["1399527001","1399527012","1399527009","1399527003","1399527005","1399527008"],"photo_ids_order":["1399527001","1399527003","1399527005","1399527008","1399527009","1399527012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f321218248dc07923bbf4c1e0a70eca7.jpg","text":"TemporaryFile(/tmp/multipartBody9080844494900110961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815082700,"filename":"image_15122025_16_22_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/15/dacd33e78cc4120c118eef5404d09e5f.jpg","text":"TemporaryFile(/tmp/multipartBody7048384677519158408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815082700,"filename":"image_15122025_16_22_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/15/16fa8c944aee2c70e0130d7034ca5b3c.jpg","text":"TemporaryFile(/tmp/multipartBody6961492488345354064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815082700,"filename":"image_15122025_16_22_45_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/61e10dbcdf9e516021528a159dc13943.jpg","text":"TemporaryFile(/tmp/multipartBody1738446728333272071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815082700,"filename":"image_15122025_16_22_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/15/3331a3cd8d96ae35e0721d18de7642a0.jpg","text":"TemporaryFile(/tmp/multipartBody7301984215877341175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815082700,"filename":"image_15122025_16_22_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/15/cc6d76b8503499294b5e5be8772e680c.jpg","text":"TemporaryFile(/tmp/multipartBody2311130170657399933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815082700,"filename":"image_15122025_16_22_35_10619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399527005","file1":"1399527003","file0":"1399527001","file4":"1399527009","file5":"1399527012","file3":"1399527008"},"map_files_photo_id_array":[{"photo_id":"1399527012","filename":"file5"},{"photo_id":"1399527005","filename":"file2"},{"photo_id":"1399527009","filename":"file4"},{"photo_id":"1399527003","filename":"file1"},{"photo_id":"1399527001","filename":"file0"},{"photo_id":"1399527008","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399527001":["hashtag1","hashtag2"]},{"1399527012":["hashtag1","hashtag2"]},{"1399527009":["hashtag1","hashtag2"]},{"1399527003":["hashtag1","hashtag2"]},{"1399527005":["hashtag1","hashtag2"]},{"1399527008":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399527001, 1399527012, 1399527009, 1399527003, 1399527005, 1399527008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13386297225952 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 17:11:02.990372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/22/image_15122025_16_23_06_10703.jpg', '/home/pi/Desktop/images/15122025/16/23/image_15122025_16_23_15_9642.jpg', '/home/pi/Desktop/images/15122025/16/23/image_15122025_16_23_25_9693.jpg', '/home/pi/Desktop/images/15122025/16/23/image_15122025_16_23_45_9756.jpg', '/home/pi/Desktop/images/15122025/16/23/image_15122025_16_23_55_9704.jpg', '/home/pi/Desktop/images/15122025/16/23/image_15122025_16_24_06_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/22/image_15122025_16_23_06_10703.jpg
/home/pi/Desktop/images/15122025/16/23/image_15122025_16_23_15_9642.jpg
/home/pi/Desktop/images/15122025/16/23/image_15122025_16_23_25_9693.jpg
/home/pi/Desktop/images/15122025/16/23/image_15122025_16_23_45_9756.jpg
/home/pi/Desktop/images/15122025/16/23/image_15122025_16_23_55_9704.jpg
/home/pi/Desktop/images/15122025/16/23/image_15122025_16_24_06_10618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399527034","1399527036","1399527033","1399527035","1399527038","1399527032"],"photo_ids_order":["1399527032","1399527033","1399527034","1399527035","1399527036","1399527038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/555503388290341947258e6dd2b15767.jpg","text":"TemporaryFile(/tmp/multipartBody1676251928851790809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815123610,"filename":"image_15122025_16_23_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/15/32ef12600e14c1fb89e32ff6af37bf7a.jpg","text":"TemporaryFile(/tmp/multipartBody5221118226402568055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815123610,"filename":"image_15122025_16_23_55_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3e3100a297278ae404029efacf34a990.jpg","text":"TemporaryFile(/tmp/multipartBody9120447758378877467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815123610,"filename":"image_15122025_16_23_15_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ed63e6bcc0c032c5adef9509b334ff6c.jpg","text":"TemporaryFile(/tmp/multipartBody8383440660451577822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815123610,"filename":"image_15122025_16_23_45_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2ea43820510d952901e9e3304637748d.jpg","text":"TemporaryFile(/tmp/multipartBody6115926574691812905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815123610,"filename":"image_15122025_16_24_06_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/15/97a35fcde10214a6becdda4caaef530a.jpg","text":"TemporaryFile(/tmp/multipartBody5648444091511872241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815123610,"filename":"image_15122025_16_23_06_10703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399527034","file1":"1399527033","file0":"1399527032","file4":"1399527036","file5":"1399527038","file3":"1399527035"},"map_files_photo_id_array":[{"photo_id":"1399527038","filename":"file5"},{"photo_id":"1399527034","filename":"file2"},{"photo_id":"1399527036","filename":"file4"},{"photo_id":"1399527033","filename":"file1"},{"photo_id":"1399527032","filename":"file0"},{"photo_id":"1399527035","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399527034":["hashtag1","hashtag2"]},{"1399527036":["hashtag1","hashtag2"]},{"1399527033":["hashtag1","hashtag2"]},{"1399527035":["hashtag1","hashtag2"]},{"1399527038":["hashtag1","hashtag2"]},{"1399527032":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399527034, 1399527036, 1399527033, 1399527035, 1399527038, 1399527032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.367626428604126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 17:11:42.397845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/33/image_05112025_15_33_31_3587.jpg', '/home/pi/Desktop/images/05112025/15/33/image_05112025_15_33_47_15668.jpg', '/home/pi/Desktop/images/05112025/15/33/image_05112025_15_33_50_1711.jpg', '/home/pi/Desktop/images/05112025/15/33/image_05112025_15_33_55_2661.jpg', '/home/pi/Desktop/images/05112025/15/33/image_05112025_15_33_56_1635.jpg', '/home/pi/Desktop/images/05112025/15/33/image_05112025_15_33_58_1725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/33/image_05112025_15_33_31_3587.jpg
/home/pi/Desktop/images/05112025/15/33/image_05112025_15_33_47_15668.jpg
/home/pi/Desktop/images/05112025/15/33/image_05112025_15_33_50_1711.jpg
/home/pi/Desktop/images/05112025/15/33/image_05112025_15_33_55_2661.jpg
/home/pi/Desktop/images/05112025/15/33/image_05112025_15_33_56_1635.jpg
/home/pi/Desktop/images/05112025/15/33/image_05112025_15_33_58_1725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399527046","1399527049","1399527043","1399527051","1399527048","1399527050"],"photo_ids_order":["1399527043","1399527046","1399527048","1399527049","1399527050","1399527051"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2eda49ee170065357adac5a0b53ec65d.jpg","text":"TemporaryFile(/tmp/multipartBody378435013411947852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815163113,"filename":"image_05112025_15_33_47_15668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c557c4a750f200ffe5e1b513074299c3.jpg","text":"TemporaryFile(/tmp/multipartBody542440314781300129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815163113,"filename":"image_05112025_15_33_55_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/21188428c9eebde98d559d47b6cce3cc.jpg","text":"TemporaryFile(/tmp/multipartBody870608866105790825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815163113,"filename":"image_05112025_15_33_31_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/31567f222998771e920eebd264622256.jpg","text":"TemporaryFile(/tmp/multipartBody6880027666803653126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815163113,"filename":"image_05112025_15_33_58_1725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1ec643b990b08ff6630b88b188887dee.jpg","text":"TemporaryFile(/tmp/multipartBody6459253466827775349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815163113,"filename":"image_05112025_15_33_50_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/15/f624060e7be03adbad17f4f620b4e40a.jpg","text":"TemporaryFile(/tmp/multipartBody7712672202654677845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815163113,"filename":"image_05112025_15_33_56_1635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399527048","file1":"1399527046","file0":"1399527043","file4":"1399527050","file5":"1399527051","file3":"1399527049"},"map_files_photo_id_array":[{"photo_id":"1399527051","filename":"file5"},{"photo_id":"1399527048","filename":"file2"},{"photo_id":"1399527050","filename":"file4"},{"photo_id":"1399527046","filename":"file1"},{"photo_id":"1399527043","filename":"file0"},{"photo_id":"1399527049","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399527046":["hashtag1","hashtag2"]},{"1399527049":["hashtag1","hashtag2"]},{"1399527043":["hashtag1","hashtag2"]},{"1399527051":["hashtag1","hashtag2"]},{"1399527048":["hashtag1","hashtag2"]},{"1399527050":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399527046, 1399527049, 1399527043, 1399527051, 1399527048, 1399527050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15269732475281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 17:12:22.615588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/24/image_15122025_16_24_15_9712.jpg', '/home/pi/Desktop/images/15122025/16/24/image_15122025_16_24_25_9607.jpg', '/home/pi/Desktop/images/15122025/16/24/image_15122025_16_24_35_10640.jpg', '/home/pi/Desktop/images/15122025/16/24/image_15122025_16_24_45_9621.jpg', '/home/pi/Desktop/images/15122025/16/24/image_15122025_16_24_56_10627.jpg', '/home/pi/Desktop/images/15122025/16/25/image_15122025_16_25_13_10054.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/24/image_15122025_16_24_15_9712.jpg
/home/pi/Desktop/images/15122025/16/24/image_15122025_16_24_25_9607.jpg
/home/pi/Desktop/images/15122025/16/24/image_15122025_16_24_35_10640.jpg
/home/pi/Desktop/images/15122025/16/24/image_15122025_16_24_45_9621.jpg
/home/pi/Desktop/images/15122025/16/24/image_15122025_16_24_56_10627.jpg
/home/pi/Desktop/images/15122025/16/25/image_15122025_16_25_13_10054.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399527099","1399527118","1399527087","1399527123","1399527083","1399527065"],"photo_ids_order":["1399527065","1399527083","1399527087","1399527099","1399527118","1399527123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ae4aaee24f51429aa2c8ec32eab5cd55.jpg","text":"TemporaryFile(/tmp/multipartBody2480887902340478656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815203234,"filename":"image_15122025_16_24_45_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1e09c93892c617562c6cb59f75d95d2c.jpg","text":"TemporaryFile(/tmp/multipartBody6158551547427276664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815203234,"filename":"image_15122025_16_24_56_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a55c9a520252aaf9f3d6503e7e758075.jpg","text":"TemporaryFile(/tmp/multipartBody2534618054968476871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815203234,"filename":"image_15122025_16_24_35_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/03ede9c3aa34f24783ebc483a51020b6.jpg","text":"TemporaryFile(/tmp/multipartBody27326422531515447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815203234,"filename":"image_15122025_16_25_13_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6816e0ff1b5e9ee666a3416819d52d48.jpg","text":"TemporaryFile(/tmp/multipartBody7488847778273271777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815203234,"filename":"image_15122025_16_24_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/15/a50d35d9eb5d88e56c7fbdb5037bfb88.jpg","text":"TemporaryFile(/tmp/multipartBody27266800746756424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815203234,"filename":"image_15122025_16_24_15_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399527087","file1":"1399527083","file0":"1399527065","file4":"1399527118","file5":"1399527123","file3":"1399527099"},"map_files_photo_id_array":[{"photo_id":"1399527123","filename":"file5"},{"photo_id":"1399527087","filename":"file2"},{"photo_id":"1399527118","filename":"file4"},{"photo_id":"1399527083","filename":"file1"},{"photo_id":"1399527065","filename":"file0"},{"photo_id":"1399527099","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399527099":["hashtag1","hashtag2"]},{"1399527118":["hashtag1","hashtag2"]},{"1399527087":["hashtag1","hashtag2"]},{"1399527123":["hashtag1","hashtag2"]},{"1399527083":["hashtag1","hashtag2"]},{"1399527065":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399527099, 1399527118, 1399527087, 1399527123, 1399527083, 1399527065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.731749296188354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 17:13:02.574754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/25/image_15122025_16_25_24_10632.jpg', '/home/pi/Desktop/images/15122025/16/25/image_15122025_16_25_34_9636.jpg', '/home/pi/Desktop/images/15122025/16/25/image_15122025_16_25_43_9733.jpg', '/home/pi/Desktop/images/15122025/16/25/image_15122025_16_25_54_10708.jpg', '/home/pi/Desktop/images/15122025/16/25/image_15122025_16_26_04_9629.jpg', '/home/pi/Desktop/images/15122025/16/26/image_15122025_16_26_13_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/25/image_15122025_16_25_24_10632.jpg
/home/pi/Desktop/images/15122025/16/25/image_15122025_16_25_34_9636.jpg
/home/pi/Desktop/images/15122025/16/25/image_15122025_16_25_43_9733.jpg
/home/pi/Desktop/images/15122025/16/25/image_15122025_16_25_54_10708.jpg
/home/pi/Desktop/images/15122025/16/25/image_15122025_16_26_04_9629.jpg
/home/pi/Desktop/images/15122025/16/26/image_15122025_16_26_13_9762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399527130","1399527127","1399527132","1399527126","1399527129","1399527128"],"photo_ids_order":["1399527126","1399527127","1399527128","1399527129","1399527130","1399527132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/02b1b98eae7ee4f6fc5a7397d87f4756.jpg","text":"TemporaryFile(/tmp/multipartBody8638857165845266471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815243222,"filename":"image_15122025_16_26_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/15/89d9eed6c838f2873d87e274bc2aab21.jpg","text":"TemporaryFile(/tmp/multipartBody6225240111146281437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815243222,"filename":"image_15122025_16_25_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/15/e8debc0b5fba4d71367f03ee67a940ef.jpg","text":"TemporaryFile(/tmp/multipartBody8487505663722470358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815243222,"filename":"image_15122025_16_26_13_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/15/5ba86fbf3c5427efdfe0f490f39de4ed.jpg","text":"TemporaryFile(/tmp/multipartBody6984338693943700344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815243222,"filename":"image_15122025_16_25_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/15/1970651a992c4e8dd1a461838ee8e4fd.jpg","text":"TemporaryFile(/tmp/multipartBody6417196874588622186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815243222,"filename":"image_15122025_16_25_54_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/15/b4cec3a1cccb970388035c2b6d22f797.jpg","text":"TemporaryFile(/tmp/multipartBody482190125023782532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815243222,"filename":"image_15122025_16_25_43_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399527128","file1":"1399527127","file0":"1399527126","file4":"1399527130","file5":"1399527132","file3":"1399527129"},"map_files_photo_id_array":[{"photo_id":"1399527132","filename":"file5"},{"photo_id":"1399527128","filename":"file2"},{"photo_id":"1399527130","filename":"file4"},{"photo_id":"1399527127","filename":"file1"},{"photo_id":"1399527126","filename":"file0"},{"photo_id":"1399527129","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399527130":["hashtag1","hashtag2"]},{"1399527127":["hashtag1","hashtag2"]},{"1399527132":["hashtag1","hashtag2"]},{"1399527126":["hashtag1","hashtag2"]},{"1399527129":["hashtag1","hashtag2"]},{"1399527128":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399527130, 1399527127, 1399527132, 1399527126, 1399527129, 1399527128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.15386652946472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 17:13:41.801610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/34/image_05112025_15_34_03_4472.jpg', '/home/pi/Desktop/images/05112025/15/34/image_05112025_15_34_04_1597.jpg', '/home/pi/Desktop/images/05112025/15/34/image_05112025_15_34_15_10319.jpg', '/home/pi/Desktop/images/05112025/15/34/image_05112025_15_34_16_1724.jpg', '/home/pi/Desktop/images/05112025/15/34/image_05112025_15_34_18_1681.jpg', '/home/pi/Desktop/images/05112025/15/34/image_05112025_15_34_20_2459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/34/image_05112025_15_34_03_4472.jpg
/home/pi/Desktop/images/05112025/15/34/image_05112025_15_34_04_1597.jpg
/home/pi/Desktop/images/05112025/15/34/image_05112025_15_34_15_10319.jpg
/home/pi/Desktop/images/05112025/15/34/image_05112025_15_34_16_1724.jpg
/home/pi/Desktop/images/05112025/15/34/image_05112025_15_34_18_1681.jpg
/home/pi/Desktop/images/05112025/15/34/image_05112025_15_34_20_2459.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399527271","1399527265","1399527276","1399527261","1399527278","1399527277"],"photo_ids_order":["1399527261","1399527265","1399527271","1399527276","1399527277","1399527278"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/323756c46367e64a9e3de2e0333bdcda.jpg","text":"TemporaryFile(/tmp/multipartBody4731344992568571874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815282524,"filename":"image_05112025_15_34_15_10319.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cbe61684303d1c4c1871179be9df9d05.jpg","text":"TemporaryFile(/tmp/multipartBody6512121456707442589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815282524,"filename":"image_05112025_15_34_04_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/15/fb74a593cd7eb4f2907251374a998d65.jpg","text":"TemporaryFile(/tmp/multipartBody672113062330175171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815282524,"filename":"image_05112025_15_34_16_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/15/ed77389a02cddab57a805ac1f97052b4.jpg","text":"TemporaryFile(/tmp/multipartBody3601805101803256866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815282524,"filename":"image_05112025_15_34_03_4472.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6088fe2a9822f2ba95906d1a635e0b1e.jpg","text":"TemporaryFile(/tmp/multipartBody4145082768380127151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815282524,"filename":"image_05112025_15_34_20_2459.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dee967a6083a11b49796cd94c81ac14a.jpg","text":"TemporaryFile(/tmp/multipartBody4387877536721522389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815282524,"filename":"image_05112025_15_34_18_1681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399527271","file1":"1399527265","file0":"1399527261","file4":"1399527277","file5":"1399527278","file3":"1399527276"},"map_files_photo_id_array":[{"photo_id":"1399527278","filename":"file5"},{"photo_id":"1399527271","filename":"file2"},{"photo_id":"1399527277","filename":"file4"},{"photo_id":"1399527265","filename":"file1"},{"photo_id":"1399527261","filename":"file0"},{"photo_id":"1399527276","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399527271":["hashtag1","hashtag2"]},{"1399527265":["hashtag1","hashtag2"]},{"1399527276":["hashtag1","hashtag2"]},{"1399527261":["hashtag1","hashtag2"]},{"1399527278":["hashtag1","hashtag2"]},{"1399527277":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399527271, 1399527265, 1399527276, 1399527261, 1399527278, 1399527277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67095422744751 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 17:14:22.113763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/26/image_15122025_16_26_24_10569.jpg', '/home/pi/Desktop/images/15122025/16/26/image_15122025_16_26_34_9547.jpg', '/home/pi/Desktop/images/15122025/16/26/image_15122025_16_26_43_9798.jpg', '/home/pi/Desktop/images/15122025/16/26/image_15122025_16_26_54_10711.jpg', '/home/pi/Desktop/images/15122025/16/26/image_15122025_16_27_04_9740.jpg', '/home/pi/Desktop/images/15122025/16/27/image_15122025_16_27_14_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/26/image_15122025_16_26_24_10569.jpg
/home/pi/Desktop/images/15122025/16/26/image_15122025_16_26_34_9547.jpg
/home/pi/Desktop/images/15122025/16/26/image_15122025_16_26_43_9798.jpg
/home/pi/Desktop/images/15122025/16/26/image_15122025_16_26_54_10711.jpg
/home/pi/Desktop/images/15122025/16/26/image_15122025_16_27_04_9740.jpg
/home/pi/Desktop/images/15122025/16/27/image_15122025_16_27_14_9755.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.547696590423584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 17:14:32.159018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 17:14:42.018934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/34/image_05112025_15_34_22_1648.jpg', '/home/pi/Desktop/images/05112025/15/34/image_05112025_15_34_24_1653.jpg', '/home/pi/Desktop/images/05112025/15/34/image_05112025_15_34_29_5097.jpg', '/home/pi/Desktop/images/05112025/15/34/image_05112025_15_34_32_2969.jpg', '/home/pi/Desktop/images/05112025/15/34/image_05112025_15_34_35_2853.jpg', '/home/pi/Desktop/images/05112025/15/34/image_05112025_15_34_36_1821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/34/image_05112025_15_34_22_1648.jpg
/home/pi/Desktop/images/05112025/15/34/image_05112025_15_34_24_1653.jpg
/home/pi/Desktop/images/05112025/15/34/image_05112025_15_34_29_5097.jpg
/home/pi/Desktop/images/05112025/15/34/image_05112025_15_34_32_2969.jpg
/home/pi/Desktop/images/05112025/15/34/image_05112025_15_34_35_2853.jpg
/home/pi/Desktop/images/05112025/15/34/image_05112025_15_34_36_1821.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399527634","1399527621","1399527623","1399527647","1399527605","1399527646"],"photo_ids_order":["1399527605","1399527621","1399527623","1399527634","1399527646","1399527647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/06c066253313b88b1dfbd91161b5168a.jpg","text":"TemporaryFile(/tmp/multipartBody2918496312915448391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815342790,"filename":"image_05112025_15_34_32_2969.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/398c9eee380ac7b951e79df6ff8f9184.jpg","text":"TemporaryFile(/tmp/multipartBody7379325589696013230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815342790,"filename":"image_05112025_15_34_24_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/15/bdcea51a7808e1c5f543cf5870c41f8b.jpg","text":"TemporaryFile(/tmp/multipartBody2862229287586839665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815342790,"filename":"image_05112025_15_34_29_5097.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3638b3af79ab7d02d332788a31ac3bea.jpg","text":"TemporaryFile(/tmp/multipartBody4569010229552676143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815342790,"filename":"image_05112025_15_34_36_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/15/d14bdc04cce79fe3fb350d45e93e86cb.jpg","text":"TemporaryFile(/tmp/multipartBody6887016294217432479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815342790,"filename":"image_05112025_15_34_22_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/15/a092e196def57703fb4a9bbcedef7300.jpg","text":"TemporaryFile(/tmp/multipartBody4670515266589170281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815342790,"filename":"image_05112025_15_34_35_2853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399527623","file1":"1399527621","file0":"1399527605","file4":"1399527646","file5":"1399527647","file3":"1399527634"},"map_files_photo_id_array":[{"photo_id":"1399527647","filename":"file5"},{"photo_id":"1399527623","filename":"file2"},{"photo_id":"1399527646","filename":"file4"},{"photo_id":"1399527621","filename":"file1"},{"photo_id":"1399527605","filename":"file0"},{"photo_id":"1399527634","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399527634":["hashtag1","hashtag2"]},{"1399527621":["hashtag1","hashtag2"]},{"1399527623":["hashtag1","hashtag2"]},{"1399527647":["hashtag1","hashtag2"]},{"1399527605":["hashtag1","hashtag2"]},{"1399527646":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399527634, 1399527621, 1399527623, 1399527647, 1399527605, 1399527646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.737244844436646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 17:15:22.282360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/26/image_15122025_16_26_24_10569.jpg', '/home/pi/Desktop/images/15122025/16/26/image_15122025_16_26_34_9547.jpg', '/home/pi/Desktop/images/15122025/16/26/image_15122025_16_26_43_9798.jpg', '/home/pi/Desktop/images/15122025/16/26/image_15122025_16_26_54_10711.jpg', '/home/pi/Desktop/images/15122025/16/26/image_15122025_16_27_04_9740.jpg', '/home/pi/Desktop/images/15122025/16/27/image_15122025_16_27_14_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/26/image_15122025_16_26_24_10569.jpg
/home/pi/Desktop/images/15122025/16/26/image_15122025_16_26_34_9547.jpg
/home/pi/Desktop/images/15122025/16/26/image_15122025_16_26_43_9798.jpg
/home/pi/Desktop/images/15122025/16/26/image_15122025_16_26_54_10711.jpg
/home/pi/Desktop/images/15122025/16/26/image_15122025_16_27_04_9740.jpg
/home/pi/Desktop/images/15122025/16/27/image_15122025_16_27_14_9755.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5398581027984619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 17:15:32.293677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 17:15:42.317159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/34/image_05112025_15_34_38_1610.jpg', '/home/pi/Desktop/images/05112025/15/34/image_05112025_15_34_44_5483.jpg', '/home/pi/Desktop/images/05112025/15/34/image_05112025_15_34_53_9931.jpg', '/home/pi/Desktop/images/05112025/15/34/image_05112025_15_34_55_1585.jpg', '/home/pi/Desktop/images/05112025/15/34/image_05112025_15_34_58_3448.jpg', '/home/pi/Desktop/images/05112025/15/34/image_05112025_15_35_00_1609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/34/image_05112025_15_34_38_1610.jpg
/home/pi/Desktop/images/05112025/15/34/image_05112025_15_34_44_5483.jpg
/home/pi/Desktop/images/05112025/15/34/image_05112025_15_34_53_9931.jpg
/home/pi/Desktop/images/05112025/15/34/image_05112025_15_34_55_1585.jpg
/home/pi/Desktop/images/05112025/15/34/image_05112025_15_34_58_3448.jpg
/home/pi/Desktop/images/05112025/15/34/image_05112025_15_35_00_1609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399527792","1399527791","1399527785","1399527749","1399527793","1399527790"],"photo_ids_order":["1399527749","1399527785","1399527790","1399527791","1399527792","1399527793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/10a5764b91e470c0fabcfc2c8e7ae82b.jpg","text":"TemporaryFile(/tmp/multipartBody1387763414752714754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815403032,"filename":"image_05112025_15_34_58_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/15/3e0413e6b6c58e3d741e36269ef448e6.jpg","text":"TemporaryFile(/tmp/multipartBody6110578949311367483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815403032,"filename":"image_05112025_15_34_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/15/5970f82677436045a3cf323eb110fc2e.jpg","text":"TemporaryFile(/tmp/multipartBody6260355647056126636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815403032,"filename":"image_05112025_15_34_44_5483.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6fbfb33589fb167f9c65cefd6862cf1a.jpg","text":"TemporaryFile(/tmp/multipartBody7129393245894082436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815403032,"filename":"image_05112025_15_34_38_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/15/7628523615a92781252553e2b8ae813e.jpg","text":"TemporaryFile(/tmp/multipartBody6297990366512040942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815403032,"filename":"image_05112025_15_35_00_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/15/2984c4100c1dfd67230ec934efc8d66c.jpg","text":"TemporaryFile(/tmp/multipartBody7034829562572599858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815403032,"filename":"image_05112025_15_34_53_9931.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399527790","file1":"1399527785","file0":"1399527749","file4":"1399527792","file5":"1399527793","file3":"1399527791"},"map_files_photo_id_array":[{"photo_id":"1399527793","filename":"file5"},{"photo_id":"1399527790","filename":"file2"},{"photo_id":"1399527792","filename":"file4"},{"photo_id":"1399527785","filename":"file1"},{"photo_id":"1399527749","filename":"file0"},{"photo_id":"1399527791","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399527792":["hashtag1","hashtag2"]},{"1399527791":["hashtag1","hashtag2"]},{"1399527785":["hashtag1","hashtag2"]},{"1399527749":["hashtag1","hashtag2"]},{"1399527793":["hashtag1","hashtag2"]},{"1399527790":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399527792, 1399527791, 1399527785, 1399527749, 1399527793, 1399527790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83964443206787 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 17:16:22.594722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/26/image_15122025_16_26_24_10569.jpg', '/home/pi/Desktop/images/15122025/16/26/image_15122025_16_26_34_9547.jpg', '/home/pi/Desktop/images/15122025/16/26/image_15122025_16_26_43_9798.jpg', '/home/pi/Desktop/images/15122025/16/26/image_15122025_16_26_54_10711.jpg', '/home/pi/Desktop/images/15122025/16/26/image_15122025_16_27_04_9740.jpg', '/home/pi/Desktop/images/15122025/16/27/image_15122025_16_27_14_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/26/image_15122025_16_26_24_10569.jpg
/home/pi/Desktop/images/15122025/16/26/image_15122025_16_26_34_9547.jpg
/home/pi/Desktop/images/15122025/16/26/image_15122025_16_26_43_9798.jpg
/home/pi/Desktop/images/15122025/16/26/image_15122025_16_26_54_10711.jpg
/home/pi/Desktop/images/15122025/16/26/image_15122025_16_27_04_9740.jpg
/home/pi/Desktop/images/15122025/16/27/image_15122025_16_27_14_9755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399527802","1399527795","1399527810","1399527797","1399527809","1399527800"],"photo_ids_order":["1399527795","1399527797","1399527800","1399527802","1399527809","1399527810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c18debeb4be2236c81bb2571532c08f4.jpg","text":"TemporaryFile(/tmp/multipartBody7013722300669817660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815443203,"filename":"image_15122025_16_26_54_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/15/47691ad9900d2378653eb96570e3d39a.jpg","text":"TemporaryFile(/tmp/multipartBody8630022655709190597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815443203,"filename":"image_15122025_16_26_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/15/712d7ebc857981962a4de0e7e87ea403.jpg","text":"TemporaryFile(/tmp/multipartBody1978991166414572061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815443203,"filename":"image_15122025_16_27_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/15/36445dcd8164fe4bc384d0a6625f2f40.jpg","text":"TemporaryFile(/tmp/multipartBody2531090208074621876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815443203,"filename":"image_15122025_16_26_34_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/07b2e7bf824b043500203c963a873b1e.jpg","text":"TemporaryFile(/tmp/multipartBody5343562469261952866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815443203,"filename":"image_15122025_16_27_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/15/8f1c940ce0b926a8c2e7cb8ecf5e5f93.jpg","text":"TemporaryFile(/tmp/multipartBody7430561317307758896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815443203,"filename":"image_15122025_16_26_43_9798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399527800","file1":"1399527797","file0":"1399527795","file4":"1399527809","file5":"1399527810","file3":"1399527802"},"map_files_photo_id_array":[{"photo_id":"1399527810","filename":"file5"},{"photo_id":"1399527800","filename":"file2"},{"photo_id":"1399527809","filename":"file4"},{"photo_id":"1399527797","filename":"file1"},{"photo_id":"1399527795","filename":"file0"},{"photo_id":"1399527802","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399527802":["hashtag1","hashtag2"]},{"1399527795":["hashtag1","hashtag2"]},{"1399527810":["hashtag1","hashtag2"]},{"1399527797":["hashtag1","hashtag2"]},{"1399527809":["hashtag1","hashtag2"]},{"1399527800":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399527802, 1399527795, 1399527810, 1399527797, 1399527809, 1399527800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.222187995910645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 17:17:03.532912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/27/image_15122025_16_27_24_10665.jpg', '/home/pi/Desktop/images/15122025/16/27/image_15122025_16_27_34_9699.jpg', '/home/pi/Desktop/images/15122025/16/27/image_15122025_16_27_44_9717.jpg', '/home/pi/Desktop/images/15122025/16/27/image_15122025_16_27_53_9830.jpg', '/home/pi/Desktop/images/15122025/16/27/image_15122025_16_28_04_10582.jpg', '/home/pi/Desktop/images/15122025/16/28/image_15122025_16_28_14_9825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/27/image_15122025_16_27_24_10665.jpg
/home/pi/Desktop/images/15122025/16/27/image_15122025_16_27_34_9699.jpg
/home/pi/Desktop/images/15122025/16/27/image_15122025_16_27_44_9717.jpg
/home/pi/Desktop/images/15122025/16/27/image_15122025_16_27_53_9830.jpg
/home/pi/Desktop/images/15122025/16/27/image_15122025_16_28_04_10582.jpg
/home/pi/Desktop/images/15122025/16/28/image_15122025_16_28_14_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":["1399527814","1399527811","1399527813","1399527816","1399527815","1399527818"],"photo_ids_order":["1399527811","1399527813","1399527814","1399527815","1399527816","1399527818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d16390da522e9ccb9d352ab7831be297.jpg","text":"TemporaryFile(/tmp/multipartBody2711889591475048277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815484174,"filename":"image_15122025_16_27_44_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ade2a6fccbc559928a53fb38ee0d4842.jpg","text":"TemporaryFile(/tmp/multipartBody4231305217317130513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815484174,"filename":"image_15122025_16_27_24_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f734aa0219f06d97b0fbff622f482895.jpg","text":"TemporaryFile(/tmp/multipartBody220793359203069021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815484174,"filename":"image_15122025_16_27_34_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3e50124c73b2326c19e38b9c3746e1ff.jpg","text":"TemporaryFile(/tmp/multipartBody8919343785947524947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815484174,"filename":"image_15122025_16_28_04_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/15/9b91000454970917840585555e3c22a9.jpg","text":"TemporaryFile(/tmp/multipartBody1177672871221738935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815484174,"filename":"image_15122025_16_27_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/15/cc1cb004c76c5530b1bd6bbd017b9a47.jpg","text":"TemporaryFile(/tmp/multipartBody7338179714398588103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815484174,"filename":"image_15122025_16_28_14_9825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399527814","file1":"1399527813","file0":"1399527811","file4":"1399527816","file5":"1399527818","file3":"1399527815"},"map_files_photo_id_array":[{"photo_id":"1399527818","filename":"file5"},{"photo_id":"1399527814","filename":"file2"},{"photo_id":"1399527816","filename":"file4"},{"photo_id":"1399527813","filename":"file1"},{"photo_id":"1399527811","filename":"file0"},{"photo_id":"1399527815","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399527814":["hashtag1","hashtag2"]},{"1399527811":["hashtag1","hashtag2"]},{"1399527813":["hashtag1","hashtag2"]},{"1399527816":["hashtag1","hashtag2"]},{"1399527815":["hashtag1","hashtag2"]},{"1399527818":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399527814, 1399527811, 1399527813, 1399527816, 1399527815, 1399527818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69629454612732 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 17:17:42.746924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_02_1667.jpg', '/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_03_1508.jpg', '/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_05_1739.jpg', '/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_12_7315.jpg', '/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_14_1625.jpg', '/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_16_1731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_02_1667.jpg
/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_03_1508.jpg
/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_05_1739.jpg
/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_12_7315.jpg
/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_14_1625.jpg
/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_16_1731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399527847","1399527916","1399527954","1399527989","1399527824","1399527883"],"photo_ids_order":["1399527824","1399527847","1399527883","1399527916","1399527954","1399527989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0f4525d3a384b35147cfd6f60f5f9a49.jpg","text":"TemporaryFile(/tmp/multipartBody8947726191477335348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815523474,"filename":"image_05112025_15_35_03_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/15/b60e7fd81b887ff3c092c1f675b79e86.jpg","text":"TemporaryFile(/tmp/multipartBody4819387800422129912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815523474,"filename":"image_05112025_15_35_12_7315.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e1f7c7542191c0c4b74b5117d74f4851.jpg","text":"TemporaryFile(/tmp/multipartBody7068455751553185668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815523474,"filename":"image_05112025_15_35_14_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/15/13e2b3c17d1c1ba40b958fd08005443c.jpg","text":"TemporaryFile(/tmp/multipartBody6062420159074124742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815523474,"filename":"image_05112025_15_35_16_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/15/044fbf798173258f7031a6760643cfb8.jpg","text":"TemporaryFile(/tmp/multipartBody6376333709939957274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815523474,"filename":"image_05112025_15_35_02_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/15/3bc374348800346e5cbf56306a9e1318.jpg","text":"TemporaryFile(/tmp/multipartBody9147805474560684943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815523474,"filename":"image_05112025_15_35_05_1739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399527883","file1":"1399527847","file0":"1399527824","file4":"1399527954","file5":"1399527989","file3":"1399527916"},"map_files_photo_id_array":[{"photo_id":"1399527989","filename":"file5"},{"photo_id":"1399527883","filename":"file2"},{"photo_id":"1399527954","filename":"file4"},{"photo_id":"1399527847","filename":"file1"},{"photo_id":"1399527824","filename":"file0"},{"photo_id":"1399527916","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399527847":["hashtag1","hashtag2"]},{"1399527916":["hashtag1","hashtag2"]},{"1399527954":["hashtag1","hashtag2"]},{"1399527989":["hashtag1","hashtag2"]},{"1399527824":["hashtag1","hashtag2"]},{"1399527883":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399527847, 1399527916, 1399527954, 1399527989, 1399527824, 1399527883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.073691844940186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 17:18:22.083309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/28/image_15122025_16_28_24_9721.jpg', '/home/pi/Desktop/images/15122025/16/28/image_15122025_16_28_34_10610.jpg', '/home/pi/Desktop/images/15122025/16/28/image_15122025_16_28_44_9702.jpg', '/home/pi/Desktop/images/15122025/16/28/image_15122025_16_28_54_9668.jpg', '/home/pi/Desktop/images/15122025/16/28/image_15122025_16_29_03_9874.jpg', '/home/pi/Desktop/images/15122025/16/29/image_15122025_16_29_14_10740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/28/image_15122025_16_28_24_9721.jpg
/home/pi/Desktop/images/15122025/16/28/image_15122025_16_28_34_10610.jpg
/home/pi/Desktop/images/15122025/16/28/image_15122025_16_28_44_9702.jpg
/home/pi/Desktop/images/15122025/16/28/image_15122025_16_28_54_9668.jpg
/home/pi/Desktop/images/15122025/16/28/image_15122025_16_29_03_9874.jpg
/home/pi/Desktop/images/15122025/16/29/image_15122025_16_29_14_10740.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4809134006500244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 17:18:32.074540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 17:18:42.063652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_17_1527.jpg', '/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_26_8917.jpg', '/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_28_1542.jpg', '/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_29_1728.jpg', '/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_31_1551.jpg', '/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_33_1645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_17_1527.jpg
/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_26_8917.jpg
/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_28_1542.jpg
/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_29_1728.jpg
/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_31_1551.jpg
/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_33_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":["1399528152","1399528113","1399528190","1399528112","1399528109","1399528118"],"photo_ids_order":["1399528109","1399528112","1399528113","1399528118","1399528152","1399528190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9844e0b9da9e92f5f88ad4c8c247d9bc.jpg","text":"TemporaryFile(/tmp/multipartBody1659632484057670353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815582752,"filename":"image_05112025_15_35_31_1551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/018ce027d25ccfc1594d5943e8572e6f.jpg","text":"TemporaryFile(/tmp/multipartBody4975822183492406896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815582752,"filename":"image_05112025_15_35_28_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/15/d5079df3ddf1cd42e47d2f8938be3611.jpg","text":"TemporaryFile(/tmp/multipartBody5886987480727948360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815582752,"filename":"image_05112025_15_35_33_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/15/f24205a062689e1d176ce229a11ef043.jpg","text":"TemporaryFile(/tmp/multipartBody737985362647225570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815582752,"filename":"image_05112025_15_35_26_8917.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2b368e9f772f946c235c48e1cd50f917.jpg","text":"TemporaryFile(/tmp/multipartBody7350227775427273658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815582752,"filename":"image_05112025_15_35_17_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/15/a26fa81c70385fb1a24eb9ba01e20582.jpg","text":"TemporaryFile(/tmp/multipartBody1478753736408418304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815582752,"filename":"image_05112025_15_35_29_1728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399528113","file1":"1399528112","file0":"1399528109","file4":"1399528152","file5":"1399528190","file3":"1399528118"},"map_files_photo_id_array":[{"photo_id":"1399528190","filename":"file5"},{"photo_id":"1399528113","filename":"file2"},{"photo_id":"1399528152","filename":"file4"},{"photo_id":"1399528112","filename":"file1"},{"photo_id":"1399528109","filename":"file0"},{"photo_id":"1399528118","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399528152":["hashtag1","hashtag2"]},{"1399528113":["hashtag1","hashtag2"]},{"1399528190":["hashtag1","hashtag2"]},{"1399528112":["hashtag1","hashtag2"]},{"1399528109":["hashtag1","hashtag2"]},{"1399528118":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399528152, 1399528113, 1399528190, 1399528112, 1399528109, 1399528118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83948826789856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 17:19:22.323771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/28/image_15122025_16_28_24_9721.jpg', '/home/pi/Desktop/images/15122025/16/28/image_15122025_16_28_34_10610.jpg', '/home/pi/Desktop/images/15122025/16/28/image_15122025_16_28_44_9702.jpg', '/home/pi/Desktop/images/15122025/16/28/image_15122025_16_28_54_9668.jpg', '/home/pi/Desktop/images/15122025/16/28/image_15122025_16_29_03_9874.jpg', '/home/pi/Desktop/images/15122025/16/29/image_15122025_16_29_14_10740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/28/image_15122025_16_28_24_9721.jpg
/home/pi/Desktop/images/15122025/16/28/image_15122025_16_28_34_10610.jpg
/home/pi/Desktop/images/15122025/16/28/image_15122025_16_28_44_9702.jpg
/home/pi/Desktop/images/15122025/16/28/image_15122025_16_28_54_9668.jpg
/home/pi/Desktop/images/15122025/16/28/image_15122025_16_29_03_9874.jpg
/home/pi/Desktop/images/15122025/16/29/image_15122025_16_29_14_10740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399528260","1399528206","1399528211","1399528214","1399528243","1399528216"],"photo_ids_order":["1399528206","1399528211","1399528214","1399528216","1399528243","1399528260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/77df344a5048725258da15185dcec355.jpg","text":"TemporaryFile(/tmp/multipartBody8683693763047246859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815622945,"filename":"image_15122025_16_29_14_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/81793b1fd363bb3f75cfd59a4df77867.jpg","text":"TemporaryFile(/tmp/multipartBody4522118187287417944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815622945,"filename":"image_15122025_16_28_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/15/629c40a9c0940a4afd2cb1c9f840810f.jpg","text":"TemporaryFile(/tmp/multipartBody3217483201522318827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815622945,"filename":"image_15122025_16_28_34_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/db4484d7dd94b11f707640b17def6aaf.jpg","text":"TemporaryFile(/tmp/multipartBody6214403587364384788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815622945,"filename":"image_15122025_16_28_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/15/f36e3c3aa1b295779d5ab2672c78f1ed.jpg","text":"TemporaryFile(/tmp/multipartBody8083220121808351206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815622945,"filename":"image_15122025_16_29_03_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/15/313407cab9f7cd7f43da185809fcd114.jpg","text":"TemporaryFile(/tmp/multipartBody7348519002937782211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815622945,"filename":"image_15122025_16_28_54_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399528214","file1":"1399528211","file0":"1399528206","file4":"1399528243","file5":"1399528260","file3":"1399528216"},"map_files_photo_id_array":[{"photo_id":"1399528260","filename":"file5"},{"photo_id":"1399528214","filename":"file2"},{"photo_id":"1399528243","filename":"file4"},{"photo_id":"1399528211","filename":"file1"},{"photo_id":"1399528206","filename":"file0"},{"photo_id":"1399528216","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399528260":["hashtag1","hashtag2"]},{"1399528206":["hashtag1","hashtag2"]},{"1399528211":["hashtag1","hashtag2"]},{"1399528214":["hashtag1","hashtag2"]},{"1399528243":["hashtag1","hashtag2"]},{"1399528216":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399528260, 1399528206, 1399528211, 1399528214, 1399528243, 1399528216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.626631021499634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 17:20:02.828465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/29/image_15122025_16_29_24_9718.jpg', '/home/pi/Desktop/images/15122025/16/29/image_15122025_16_29_34_9668.jpg', '/home/pi/Desktop/images/15122025/16/29/image_15122025_16_29_43_9697.jpg', '/home/pi/Desktop/images/15122025/16/29/image_15122025_16_29_54_10670.jpg', '/home/pi/Desktop/images/15122025/16/30/image_15122025_16_30_14_10053.jpg', '/home/pi/Desktop/images/15122025/16/30/image_15122025_16_30_24_10113.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/29/image_15122025_16_29_24_9718.jpg
/home/pi/Desktop/images/15122025/16/29/image_15122025_16_29_34_9668.jpg
/home/pi/Desktop/images/15122025/16/29/image_15122025_16_29_43_9697.jpg
/home/pi/Desktop/images/15122025/16/29/image_15122025_16_29_54_10670.jpg
/home/pi/Desktop/images/15122025/16/30/image_15122025_16_30_14_10053.jpg
/home/pi/Desktop/images/15122025/16/30/image_15122025_16_30_24_10113.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399528327","1399528326","1399528329","1399528325","1399528301","1399528293"],"photo_ids_order":["1399528293","1399528301","1399528325","1399528326","1399528327","1399528329"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a4265b968601af3c52d6d823a24b4c4e.jpg","text":"TemporaryFile(/tmp/multipartBody3648213701704666492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815663408,"filename":"image_15122025_16_30_14_10053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0e835d5e2bbffc9b69f64667149ab576.jpg","text":"TemporaryFile(/tmp/multipartBody9203118331318861568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815663408,"filename":"image_15122025_16_29_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/15/7a0118553b00299694f5e7f4122974f3.jpg","text":"TemporaryFile(/tmp/multipartBody2598971617219087643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815663408,"filename":"image_15122025_16_30_24_10113.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b508ecb36df6ebaabe70858ead860975.jpg","text":"TemporaryFile(/tmp/multipartBody7983919223476585407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815663408,"filename":"image_15122025_16_29_43_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/af07ec2f92f5102d3461d3d4a946ec36.jpg","text":"TemporaryFile(/tmp/multipartBody2471033707007108536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815663408,"filename":"image_15122025_16_29_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/15/7f7fb5d30bcce539f17e3148269ebc80.jpg","text":"TemporaryFile(/tmp/multipartBody5532461951978920679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815663408,"filename":"image_15122025_16_29_24_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399528325","file1":"1399528301","file0":"1399528293","file4":"1399528327","file5":"1399528329","file3":"1399528326"},"map_files_photo_id_array":[{"photo_id":"1399528329","filename":"file5"},{"photo_id":"1399528325","filename":"file2"},{"photo_id":"1399528327","filename":"file4"},{"photo_id":"1399528301","filename":"file1"},{"photo_id":"1399528293","filename":"file0"},{"photo_id":"1399528326","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399528327":["hashtag1","hashtag2"]},{"1399528326":["hashtag1","hashtag2"]},{"1399528329":["hashtag1","hashtag2"]},{"1399528325":["hashtag1","hashtag2"]},{"1399528301":["hashtag1","hashtag2"]},{"1399528293":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399528327, 1399528326, 1399528329, 1399528325, 1399528301, 1399528293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.709901571273804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 17:20:42.438415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_34_1578.jpg', '/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_36_1669.jpg', '/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_38_2477.jpg', '/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_40_1679.jpg', '/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_42_1611.jpg', '/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_46_3994.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_34_1578.jpg
/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_36_1669.jpg
/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_38_2477.jpg
/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_40_1679.jpg
/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_42_1611.jpg
/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_46_3994.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399528338","1399528341","1399528337","1399528334","1399528336","1399528339"],"photo_ids_order":["1399528334","1399528336","1399528337","1399528338","1399528339","1399528341"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ca168830648254da574c7887eeece00a.jpg","text":"TemporaryFile(/tmp/multipartBody9108813288524872716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815703129,"filename":"image_05112025_15_35_40_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/15/c496865303af36ba15ddd6801be95b13.jpg","text":"TemporaryFile(/tmp/multipartBody5783150527662688686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815703129,"filename":"image_05112025_15_35_46_3994.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0da68fcab59ca391874fe6f04181d84d.jpg","text":"TemporaryFile(/tmp/multipartBody4991121770660680155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815703129,"filename":"image_05112025_15_35_38_2477.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/de82896d996c502477fc2f47cea60972.jpg","text":"TemporaryFile(/tmp/multipartBody4286275586264081998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815703129,"filename":"image_05112025_15_35_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/15/970a83d003a3b18fc909b2aeabf9bad3.jpg","text":"TemporaryFile(/tmp/multipartBody6695108418995919462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815703129,"filename":"image_05112025_15_35_36_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/15/5521506e7d8e1f8f1249c2f258b129a0.jpg","text":"TemporaryFile(/tmp/multipartBody3711887103034332478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815703129,"filename":"image_05112025_15_35_42_1611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399528337","file1":"1399528336","file0":"1399528334","file4":"1399528339","file5":"1399528341","file3":"1399528338"},"map_files_photo_id_array":[{"photo_id":"1399528341","filename":"file5"},{"photo_id":"1399528337","filename":"file2"},{"photo_id":"1399528339","filename":"file4"},{"photo_id":"1399528336","filename":"file1"},{"photo_id":"1399528334","filename":"file0"},{"photo_id":"1399528338","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399528338":["hashtag1","hashtag2"]},{"1399528341":["hashtag1","hashtag2"]},{"1399528337":["hashtag1","hashtag2"]},{"1399528334":["hashtag1","hashtag2"]},{"1399528336":["hashtag1","hashtag2"]},{"1399528339":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399528338, 1399528341, 1399528337, 1399528334, 1399528336, 1399528339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.593260765075684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 17:21:22.715842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/30/image_15122025_16_30_35_10711.jpg', '/home/pi/Desktop/images/15122025/16/30/image_15122025_16_30_45_9580.jpg', '/home/pi/Desktop/images/15122025/16/30/image_15122025_16_30_55_10030.jpg', '/home/pi/Desktop/images/15122025/16/30/image_15122025_16_31_04_9550.jpg', '/home/pi/Desktop/images/15122025/16/31/image_15122025_16_31_15_10697.jpg', '/home/pi/Desktop/images/15122025/16/31/image_15122025_16_31_24_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/30/image_15122025_16_30_35_10711.jpg
/home/pi/Desktop/images/15122025/16/30/image_15122025_16_30_45_9580.jpg
/home/pi/Desktop/images/15122025/16/30/image_15122025_16_30_55_10030.jpg
/home/pi/Desktop/images/15122025/16/30/image_15122025_16_31_04_9550.jpg
/home/pi/Desktop/images/15122025/16/31/image_15122025_16_31_15_10697.jpg
/home/pi/Desktop/images/15122025/16/31/image_15122025_16_31_24_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":["1399528353","1399528355","1399528349","1399528358","1399528346","1399528351"],"photo_ids_order":["1399528346","1399528349","1399528351","1399528353","1399528355","1399528358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/24f6a6ec1e9ccb5ff40b8bd83ef92f18.jpg","text":"TemporaryFile(/tmp/multipartBody3491254767910711056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815743304,"filename":"image_15122025_16_31_04_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/15/771cdc1164ebc898b4942bf933a58ce2.jpg","text":"TemporaryFile(/tmp/multipartBody897719616139680028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815743304,"filename":"image_15122025_16_31_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/15/a95831326baf1c51d6089254388cbc8c.jpg","text":"TemporaryFile(/tmp/multipartBody4912754834387786060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815743304,"filename":"image_15122025_16_30_45_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ea225bf5428681352e668366c567efa0.jpg","text":"TemporaryFile(/tmp/multipartBody5813717208833164500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815743304,"filename":"image_15122025_16_31_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/15/5776899fdb77ab9652d679e5f81bde33.jpg","text":"TemporaryFile(/tmp/multipartBody7756974463015544682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815743304,"filename":"image_15122025_16_30_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/15/cec9d65d39f5032b853cf8f2bf1d49df.jpg","text":"TemporaryFile(/tmp/multipartBody1783039750897423315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815743304,"filename":"image_15122025_16_30_55_10030.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399528351","file1":"1399528349","file0":"1399528346","file4":"1399528355","file5":"1399528358","file3":"1399528353"},"map_files_photo_id_array":[{"photo_id":"1399528358","filename":"file5"},{"photo_id":"1399528351","filename":"file2"},{"photo_id":"1399528355","filename":"file4"},{"photo_id":"1399528349","filename":"file1"},{"photo_id":"1399528346","filename":"file0"},{"photo_id":"1399528353","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399528353":["hashtag1","hashtag2"]},{"1399528355":["hashtag1","hashtag2"]},{"1399528349":["hashtag1","hashtag2"]},{"1399528358":["hashtag1","hashtag2"]},{"1399528346":["hashtag1","hashtag2"]},{"1399528351":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399528353, 1399528355, 1399528349, 1399528358, 1399528346, 1399528351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68080139160156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 17:22:02.269010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/31/image_15122025_16_31_35_10667.jpg', '/home/pi/Desktop/images/15122025/16/31/image_15122025_16_31_45_9602.jpg', '/home/pi/Desktop/images/15122025/16/31/image_15122025_16_31_55_9789.jpg', '/home/pi/Desktop/images/15122025/16/31/image_15122025_16_32_04_9648.jpg', '/home/pi/Desktop/images/15122025/16/32/image_15122025_16_32_15_10718.jpg', '/home/pi/Desktop/images/15122025/16/32/image_15122025_16_32_24_9568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/31/image_15122025_16_31_35_10667.jpg
/home/pi/Desktop/images/15122025/16/31/image_15122025_16_31_45_9602.jpg
/home/pi/Desktop/images/15122025/16/31/image_15122025_16_31_55_9789.jpg
/home/pi/Desktop/images/15122025/16/31/image_15122025_16_32_04_9648.jpg
/home/pi/Desktop/images/15122025/16/32/image_15122025_16_32_15_10718.jpg
/home/pi/Desktop/images/15122025/16/32/image_15122025_16_32_24_9568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399528551","1399528440","1399528586","1399528478","1399528619","1399528514"],"photo_ids_order":["1399528440","1399528478","1399528514","1399528551","1399528586","1399528619"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5540a774d403b4d3bf194c76b816c075.jpg","text":"TemporaryFile(/tmp/multipartBody3432638739327370564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815782821,"filename":"image_15122025_16_32_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/15/74e34180db28a5114422aed5e9b62d1f.jpg","text":"TemporaryFile(/tmp/multipartBody7201840055254954391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815782821,"filename":"image_15122025_16_31_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/15/e5a994d63fb0c4edd7f5b87f9bc7b223.jpg","text":"TemporaryFile(/tmp/multipartBody466128239726366468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815782821,"filename":"image_15122025_16_32_15_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/11107bdcef72a888311e5aeed86836ac.jpg","text":"TemporaryFile(/tmp/multipartBody6759979264077175205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815782821,"filename":"image_15122025_16_31_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/15/630f41225b2de3ce1045148c20e499ef.jpg","text":"TemporaryFile(/tmp/multipartBody944486901761721111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815782821,"filename":"image_15122025_16_32_24_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4cf5cc452b2ebda40124ba458b26a799.jpg","text":"TemporaryFile(/tmp/multipartBody7209705726877982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815782821,"filename":"image_15122025_16_31_55_9789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399528514","file1":"1399528478","file0":"1399528440","file4":"1399528586","file5":"1399528619","file3":"1399528551"},"map_files_photo_id_array":[{"photo_id":"1399528619","filename":"file5"},{"photo_id":"1399528514","filename":"file2"},{"photo_id":"1399528586","filename":"file4"},{"photo_id":"1399528478","filename":"file1"},{"photo_id":"1399528440","filename":"file0"},{"photo_id":"1399528551","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399528551":["hashtag1","hashtag2"]},{"1399528440":["hashtag1","hashtag2"]},{"1399528586":["hashtag1","hashtag2"]},{"1399528478":["hashtag1","hashtag2"]},{"1399528619":["hashtag1","hashtag2"]},{"1399528514":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399528551, 1399528440, 1399528586, 1399528478, 1399528619, 1399528514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05553913116455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 17:22:41.900362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_47_1572.jpg', '/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_55_7472.jpg', '/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_56_1660.jpg', '/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_58_1611.jpg', '/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_59_1526.jpg', '/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_01_1608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_47_1572.jpg
/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_55_7472.jpg
/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_56_1660.jpg
/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_58_1611.jpg
/home/pi/Desktop/images/05112025/15/35/image_05112025_15_35_59_1526.jpg
/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_01_1608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399528635","1399528638","1399528632","1399528637","1399528639","1399528636"],"photo_ids_order":["1399528632","1399528635","1399528636","1399528637","1399528638","1399528639"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c7604dd9b35d80eb9b5eb83d8016544d.jpg","text":"TemporaryFile(/tmp/multipartBody6449434283076073817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815822602,"filename":"image_05112025_15_35_55_7472.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ac4e543ff1bd920466a6846fd43692ec.jpg","text":"TemporaryFile(/tmp/multipartBody6764759401725970762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815822602,"filename":"image_05112025_15_35_59_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/15/79c709861f20970d628f3c9d7114e862.jpg","text":"TemporaryFile(/tmp/multipartBody2763301234014986240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815822602,"filename":"image_05112025_15_35_47_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/15/2b9b9bec952c9e9dba09190525550c54.jpg","text":"TemporaryFile(/tmp/multipartBody5772533805869172162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815822602,"filename":"image_05112025_15_35_58_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/15/802b7c1eedb3eaf346cc7cef937acc35.jpg","text":"TemporaryFile(/tmp/multipartBody5100251679136233763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815822602,"filename":"image_05112025_15_36_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/15/73f4bc356ebb658b54ac9798e55c1245.jpg","text":"TemporaryFile(/tmp/multipartBody4874003161415463526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815822602,"filename":"image_05112025_15_35_56_1660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399528636","file1":"1399528635","file0":"1399528632","file4":"1399528638","file5":"1399528639","file3":"1399528637"},"map_files_photo_id_array":[{"photo_id":"1399528639","filename":"file5"},{"photo_id":"1399528636","filename":"file2"},{"photo_id":"1399528638","filename":"file4"},{"photo_id":"1399528635","filename":"file1"},{"photo_id":"1399528632","filename":"file0"},{"photo_id":"1399528637","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399528635":["hashtag1","hashtag2"]},{"1399528638":["hashtag1","hashtag2"]},{"1399528632":["hashtag1","hashtag2"]},{"1399528637":["hashtag1","hashtag2"]},{"1399528639":["hashtag1","hashtag2"]},{"1399528636":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399528635, 1399528638, 1399528632, 1399528637, 1399528639, 1399528636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.391998052597046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 17:23:22.226794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/32/image_15122025_16_32_35_10641.jpg', '/home/pi/Desktop/images/15122025/16/32/image_15122025_16_32_45_9852.jpg', '/home/pi/Desktop/images/15122025/16/32/image_15122025_16_32_55_9658.jpg', '/home/pi/Desktop/images/15122025/16/32/image_15122025_16_33_04_9734.jpg', '/home/pi/Desktop/images/15122025/16/33/image_15122025_16_33_15_10708.jpg', '/home/pi/Desktop/images/15122025/16/33/image_15122025_16_33_25_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/32/image_15122025_16_32_35_10641.jpg
/home/pi/Desktop/images/15122025/16/32/image_15122025_16_32_45_9852.jpg
/home/pi/Desktop/images/15122025/16/32/image_15122025_16_32_55_9658.jpg
/home/pi/Desktop/images/15122025/16/32/image_15122025_16_33_04_9734.jpg
/home/pi/Desktop/images/15122025/16/33/image_15122025_16_33_15_10708.jpg
/home/pi/Desktop/images/15122025/16/33/image_15122025_16_33_25_9731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399528650","1399528652","1399528657","1399528645","1399528654","1399528648"],"photo_ids_order":["1399528645","1399528648","1399528650","1399528652","1399528654","1399528657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f6970e3053e838053396162d6a48ef09.jpg","text":"TemporaryFile(/tmp/multipartBody7852555710595438868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815862797,"filename":"image_15122025_16_32_55_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/18e95759425d8615155770d9bc5138c5.jpg","text":"TemporaryFile(/tmp/multipartBody6316169563790624172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815862797,"filename":"image_15122025_16_33_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/15/e07bc08c28fc84aad727d6e7204a888f.jpg","text":"TemporaryFile(/tmp/multipartBody2223160499515684086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815862797,"filename":"image_15122025_16_33_25_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ce71e7045231a3b21855ce152268cc06.jpg","text":"TemporaryFile(/tmp/multipartBody1974931649014731758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815862797,"filename":"image_15122025_16_32_35_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/64e471c7789ae213328d6f71576486b9.jpg","text":"TemporaryFile(/tmp/multipartBody3360193665951186372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815862797,"filename":"image_15122025_16_33_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/15/2c0593a84f67d4ad91b51f692f566579.jpg","text":"TemporaryFile(/tmp/multipartBody1575639990737923071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815862797,"filename":"image_15122025_16_32_45_9852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399528650","file1":"1399528648","file0":"1399528645","file4":"1399528654","file5":"1399528657","file3":"1399528652"},"map_files_photo_id_array":[{"photo_id":"1399528657","filename":"file5"},{"photo_id":"1399528650","filename":"file2"},{"photo_id":"1399528654","filename":"file4"},{"photo_id":"1399528648","filename":"file1"},{"photo_id":"1399528645","filename":"file0"},{"photo_id":"1399528652","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399528650":["hashtag1","hashtag2"]},{"1399528652":["hashtag1","hashtag2"]},{"1399528657":["hashtag1","hashtag2"]},{"1399528645":["hashtag1","hashtag2"]},{"1399528654":["hashtag1","hashtag2"]},{"1399528648":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399528650, 1399528652, 1399528657, 1399528645, 1399528654, 1399528648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16365957260132 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 17:24:03.057070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/33/image_15122025_16_33_34_9620.jpg', '/home/pi/Desktop/images/15122025/16/33/image_15122025_16_33_45_10661.jpg', '/home/pi/Desktop/images/15122025/16/33/image_15122025_16_33_55_9747.jpg', '/home/pi/Desktop/images/15122025/16/33/image_15122025_16_34_04_9571.jpg', '/home/pi/Desktop/images/15122025/16/34/image_15122025_16_34_15_10702.jpg', '/home/pi/Desktop/images/15122025/16/34/image_15122025_16_34_25_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/33/image_15122025_16_33_34_9620.jpg
/home/pi/Desktop/images/15122025/16/33/image_15122025_16_33_45_10661.jpg
/home/pi/Desktop/images/15122025/16/33/image_15122025_16_33_55_9747.jpg
/home/pi/Desktop/images/15122025/16/33/image_15122025_16_34_04_9571.jpg
/home/pi/Desktop/images/15122025/16/34/image_15122025_16_34_15_10702.jpg
/home/pi/Desktop/images/15122025/16/34/image_15122025_16_34_25_9597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399528674","1399528662","1399528670","1399528661","1399528660","1399528666"],"photo_ids_order":["1399528660","1399528661","1399528662","1399528666","1399528670","1399528674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8c7d876ab1a4e3ab5437b57a748316ef.jpg","text":"TemporaryFile(/tmp/multipartBody4722505654659902909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815903655,"filename":"image_15122025_16_34_25_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e7f6cb55c65a48e252c2094f5d1641f4.jpg","text":"TemporaryFile(/tmp/multipartBody2873426749650013568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815903655,"filename":"image_15122025_16_33_55_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6bc0a870efc362e0e723241ce184fdc7.jpg","text":"TemporaryFile(/tmp/multipartBody6479026580837471156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815903655,"filename":"image_15122025_16_34_15_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fc71018b41b61211f0f969d305d3e603.jpg","text":"TemporaryFile(/tmp/multipartBody3431706084817101675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815903655,"filename":"image_15122025_16_33_45_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a67d7f908dca4dbdf2ceceb41bd5d288.jpg","text":"TemporaryFile(/tmp/multipartBody5071511188914474414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815903655,"filename":"image_15122025_16_33_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/15/d3936136606332810ec3d6ae34d169fd.jpg","text":"TemporaryFile(/tmp/multipartBody219765587665737321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815903655,"filename":"image_15122025_16_34_04_9571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399528662","file1":"1399528661","file0":"1399528660","file4":"1399528670","file5":"1399528674","file3":"1399528666"},"map_files_photo_id_array":[{"photo_id":"1399528674","filename":"file5"},{"photo_id":"1399528662","filename":"file2"},{"photo_id":"1399528670","filename":"file4"},{"photo_id":"1399528661","filename":"file1"},{"photo_id":"1399528660","filename":"file0"},{"photo_id":"1399528666","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399528674":["hashtag1","hashtag2"]},{"1399528662":["hashtag1","hashtag2"]},{"1399528670":["hashtag1","hashtag2"]},{"1399528661":["hashtag1","hashtag2"]},{"1399528660":["hashtag1","hashtag2"]},{"1399528666":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399528674, 1399528662, 1399528670, 1399528661, 1399528660, 1399528666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.197150230407715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 17:24:42.407694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_03_1622.jpg', '/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_04_1625.jpg', '/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_07_2599.jpg', '/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_10_2875.jpg', '/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_14_3968.jpg', '/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_16_1887.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_03_1622.jpg
/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_04_1625.jpg
/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_07_2599.jpg
/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_10_2875.jpg
/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_14_3968.jpg
/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_16_1887.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399528686","1399528680","1399528683","1399528685","1399528688","1399528684"],"photo_ids_order":["1399528680","1399528683","1399528684","1399528685","1399528686","1399528688"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/274027959fd21f37bb1bb1975008ac89.jpg","text":"TemporaryFile(/tmp/multipartBody4048108797681474244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815943193,"filename":"image_05112025_15_36_14_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/15/9dc3e6dbeefb5fe6de28b65aff673e07.jpg","text":"TemporaryFile(/tmp/multipartBody8146591904885898500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815943193,"filename":"image_05112025_15_36_03_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/15/251d2e4eb44f7025530599ad7b8cb662.jpg","text":"TemporaryFile(/tmp/multipartBody4732505738726636707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815943193,"filename":"image_05112025_15_36_04_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/15/21a520002716682789f4536b689c1f66.jpg","text":"TemporaryFile(/tmp/multipartBody5390278346871814809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815943193,"filename":"image_05112025_15_36_10_2875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/aedc35ae92810b775ef77a26c896e4c8.jpg","text":"TemporaryFile(/tmp/multipartBody5538012190486723200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815943193,"filename":"image_05112025_15_36_16_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/15/0f375975d0ae071aa4ed874b46302329.jpg","text":"TemporaryFile(/tmp/multipartBody4841795804009868015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815943193,"filename":"image_05112025_15_36_07_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399528684","file1":"1399528683","file0":"1399528680","file4":"1399528686","file5":"1399528688","file3":"1399528685"},"map_files_photo_id_array":[{"photo_id":"1399528688","filename":"file5"},{"photo_id":"1399528684","filename":"file2"},{"photo_id":"1399528686","filename":"file4"},{"photo_id":"1399528683","filename":"file1"},{"photo_id":"1399528680","filename":"file0"},{"photo_id":"1399528685","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399528686":["hashtag1","hashtag2"]},{"1399528680":["hashtag1","hashtag2"]},{"1399528683":["hashtag1","hashtag2"]},{"1399528685":["hashtag1","hashtag2"]},{"1399528688":["hashtag1","hashtag2"]},{"1399528684":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399528686, 1399528680, 1399528683, 1399528685, 1399528688, 1399528684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.735755920410156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 17:25:22.734010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/34/image_15122025_16_34_34_9513.jpg', '/home/pi/Desktop/images/15122025/16/34/image_15122025_16_34_45_10726.jpg', '/home/pi/Desktop/images/15122025/16/34/image_15122025_16_34_55_9687.jpg', '/home/pi/Desktop/images/15122025/16/35/image_15122025_16_35_14_10052.jpg', '/home/pi/Desktop/images/15122025/16/35/image_15122025_16_35_24_10654.jpg', '/home/pi/Desktop/images/15122025/16/35/image_15122025_16_35_34_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/34/image_15122025_16_34_34_9513.jpg
/home/pi/Desktop/images/15122025/16/34/image_15122025_16_34_45_10726.jpg
/home/pi/Desktop/images/15122025/16/34/image_15122025_16_34_55_9687.jpg
/home/pi/Desktop/images/15122025/16/35/image_15122025_16_35_14_10052.jpg
/home/pi/Desktop/images/15122025/16/35/image_15122025_16_35_24_10654.jpg
/home/pi/Desktop/images/15122025/16/35/image_15122025_16_35_34_9651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399528702","1399528695","1399528700","1399528693","1399528696","1399528698"],"photo_ids_order":["1399528693","1399528695","1399528696","1399528698","1399528700","1399528702"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d1dd3bb9b49b861cac725840e4c8ce1f.jpg","text":"TemporaryFile(/tmp/multipartBody2634254745519313126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815983344,"filename":"image_15122025_16_35_34_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f2edceb27bee6e59f1aa0a96fb2b047d.jpg","text":"TemporaryFile(/tmp/multipartBody1979788740925086695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815983344,"filename":"image_15122025_16_34_45_10726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e7dabeff1bbe04bea1e5d5985f61f257.jpg","text":"TemporaryFile(/tmp/multipartBody6626422545923073791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815983344,"filename":"image_15122025_16_35_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/15/c7ab2c9140c63ee6615a95b90f74a9fa.jpg","text":"TemporaryFile(/tmp/multipartBody1989852793265981437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815983344,"filename":"image_15122025_16_34_34_9513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7c819743585ec22662c597f102f77815.jpg","text":"TemporaryFile(/tmp/multipartBody6636341070442459573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815983344,"filename":"image_15122025_16_34_55_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c8aeabc40935004c6decf6b0350e2d41.jpg","text":"TemporaryFile(/tmp/multipartBody5052851858627578898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765815983344,"filename":"image_15122025_16_35_14_10052.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399528696","file1":"1399528695","file0":"1399528693","file4":"1399528700","file5":"1399528702","file3":"1399528698"},"map_files_photo_id_array":[{"photo_id":"1399528702","filename":"file5"},{"photo_id":"1399528696","filename":"file2"},{"photo_id":"1399528700","filename":"file4"},{"photo_id":"1399528695","filename":"file1"},{"photo_id":"1399528693","filename":"file0"},{"photo_id":"1399528698","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399528702":["hashtag1","hashtag2"]},{"1399528695":["hashtag1","hashtag2"]},{"1399528700":["hashtag1","hashtag2"]},{"1399528693":["hashtag1","hashtag2"]},{"1399528696":["hashtag1","hashtag2"]},{"1399528698":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399528702, 1399528695, 1399528700, 1399528693, 1399528696, 1399528698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55828785896301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 17:26:02.288291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/35/image_15122025_16_35_44_9667.jpg', '/home/pi/Desktop/images/15122025/16/35/image_15122025_16_35_54_10687.jpg', '/home/pi/Desktop/images/15122025/16/35/image_15122025_16_36_04_9594.jpg', '/home/pi/Desktop/images/15122025/16/36/image_15122025_16_36_15_10671.jpg', '/home/pi/Desktop/images/15122025/16/36/image_15122025_16_36_24_9597.jpg', '/home/pi/Desktop/images/15122025/16/36/image_15122025_16_36_34_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/35/image_15122025_16_35_44_9667.jpg
/home/pi/Desktop/images/15122025/16/35/image_15122025_16_35_54_10687.jpg
/home/pi/Desktop/images/15122025/16/35/image_15122025_16_36_04_9594.jpg
/home/pi/Desktop/images/15122025/16/36/image_15122025_16_36_15_10671.jpg
/home/pi/Desktop/images/15122025/16/36/image_15122025_16_36_24_9597.jpg
/home/pi/Desktop/images/15122025/16/36/image_15122025_16_36_34_9600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399528704","1399528709","1399528703","1399528712","1399528706","1399528711"],"photo_ids_order":["1399528703","1399528704","1399528706","1399528709","1399528711","1399528712"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1338a059c5c1be40d29ca1a3785d7a2b.jpg","text":"TemporaryFile(/tmp/multipartBody6780866886296887895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816022852,"filename":"image_15122025_16_35_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/15/f7f4030f3cd8c0b822ba249eec271c33.jpg","text":"TemporaryFile(/tmp/multipartBody7831095068404426570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816022852,"filename":"image_15122025_16_36_15_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9a91a349a8fa8cc8461dad6c94ed2e39.jpg","text":"TemporaryFile(/tmp/multipartBody5086616636741350903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816022852,"filename":"image_15122025_16_35_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/15/d07a14ae9ab1d759c5de77bb22f81a94.jpg","text":"TemporaryFile(/tmp/multipartBody43028804257311982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816022852,"filename":"image_15122025_16_36_34_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5fe91dd8afec30074f4ae9a17d3c0d35.jpg","text":"TemporaryFile(/tmp/multipartBody8665320502561406481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816022852,"filename":"image_15122025_16_36_04_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4ebc74d0d0601f7aea020360144e99c0.jpg","text":"TemporaryFile(/tmp/multipartBody6710562522610170659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816022852,"filename":"image_15122025_16_36_24_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399528706","file1":"1399528704","file0":"1399528703","file4":"1399528711","file5":"1399528712","file3":"1399528709"},"map_files_photo_id_array":[{"photo_id":"1399528712","filename":"file5"},{"photo_id":"1399528706","filename":"file2"},{"photo_id":"1399528711","filename":"file4"},{"photo_id":"1399528704","filename":"file1"},{"photo_id":"1399528703","filename":"file0"},{"photo_id":"1399528709","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399528704":["hashtag1","hashtag2"]},{"1399528709":["hashtag1","hashtag2"]},{"1399528703":["hashtag1","hashtag2"]},{"1399528712":["hashtag1","hashtag2"]},{"1399528706":["hashtag1","hashtag2"]},{"1399528711":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399528704, 1399528709, 1399528703, 1399528712, 1399528706, 1399528711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.477094411849976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 17:26:41.890044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_18_2546.jpg', '/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_22_3678.jpg', '/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_24_2589.jpg', '/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_28_3548.jpg', '/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_31_2617.jpg', '/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_34_2900.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_18_2546.jpg
/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_22_3678.jpg
/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_24_2589.jpg
/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_28_3548.jpg
/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_31_2617.jpg
/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_34_2900.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399528725","1399528719","1399528727","1399528736","1399528723","1399528729"],"photo_ids_order":["1399528719","1399528723","1399528725","1399528727","1399528729","1399528736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/edcbe4fe7471d6eb4fc8e9b66aa0c38b.jpg","text":"TemporaryFile(/tmp/multipartBody5754609549325433969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816062710,"filename":"image_05112025_15_36_24_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/15/d05decb1b12c0648afbd7b0a78604f88.jpg","text":"TemporaryFile(/tmp/multipartBody7704361837270522786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816062710,"filename":"image_05112025_15_36_18_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/15/92f0a9e2eb4faa0f73a7393c89708c5c.jpg","text":"TemporaryFile(/tmp/multipartBody1067294668338004566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816062710,"filename":"image_05112025_15_36_28_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/15/e6f18d108a87acf749df53b6add6bd48.jpg","text":"TemporaryFile(/tmp/multipartBody5331618689765261189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816062710,"filename":"image_05112025_15_36_34_2900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/919c43348d3a65f562f9a1c9766e0eb5.jpg","text":"TemporaryFile(/tmp/multipartBody4807537547686783930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816062710,"filename":"image_05112025_15_36_22_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/15/0d3d55e7c04ec4981613e04980172396.jpg","text":"TemporaryFile(/tmp/multipartBody7617686607727099065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816062710,"filename":"image_05112025_15_36_31_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399528725","file1":"1399528723","file0":"1399528719","file4":"1399528729","file5":"1399528736","file3":"1399528727"},"map_files_photo_id_array":[{"photo_id":"1399528736","filename":"file5"},{"photo_id":"1399528725","filename":"file2"},{"photo_id":"1399528729","filename":"file4"},{"photo_id":"1399528723","filename":"file1"},{"photo_id":"1399528719","filename":"file0"},{"photo_id":"1399528727","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399528725":["hashtag1","hashtag2"]},{"1399528719":["hashtag1","hashtag2"]},{"1399528727":["hashtag1","hashtag2"]},{"1399528736":["hashtag1","hashtag2"]},{"1399528723":["hashtag1","hashtag2"]},{"1399528729":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399528725, 1399528719, 1399528727, 1399528736, 1399528723, 1399528729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.157445669174194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 17:27:22.164133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/36/image_15122025_16_36_45_10761.jpg', '/home/pi/Desktop/images/15122025/16/36/image_15122025_16_36_54_9579.jpg', '/home/pi/Desktop/images/15122025/16/36/image_15122025_16_37_04_9725.jpg', '/home/pi/Desktop/images/15122025/16/37/image_15122025_16_37_15_10706.jpg', '/home/pi/Desktop/images/15122025/16/37/image_15122025_16_37_24_9091.jpg', '/home/pi/Desktop/images/15122025/16/37/image_15122025_16_37_35_10728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/36/image_15122025_16_36_45_10761.jpg
/home/pi/Desktop/images/15122025/16/36/image_15122025_16_36_54_9579.jpg
/home/pi/Desktop/images/15122025/16/36/image_15122025_16_37_04_9725.jpg
/home/pi/Desktop/images/15122025/16/37/image_15122025_16_37_15_10706.jpg
/home/pi/Desktop/images/15122025/16/37/image_15122025_16_37_24_9091.jpg
/home/pi/Desktop/images/15122025/16/37/image_15122025_16_37_35_10728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399528755","1399528757","1399528760","1399528750","1399528753","1399528747"],"photo_ids_order":["1399528747","1399528750","1399528753","1399528755","1399528757","1399528760"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a73a23a7fcce566411291b737eda2445.jpg","text":"TemporaryFile(/tmp/multipartBody5295542697735208697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816102725,"filename":"image_15122025_16_37_15_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/20182294d3a9517ee583a54a4fe16d20.jpg","text":"TemporaryFile(/tmp/multipartBody109017571987170329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816102725,"filename":"image_15122025_16_37_24_9091.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3f11640fbebb929a4150d6cab30481c8.jpg","text":"TemporaryFile(/tmp/multipartBody2403454719747007935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816102725,"filename":"image_15122025_16_37_35_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1eafd96f566b2f28359d1380bd106f7d.jpg","text":"TemporaryFile(/tmp/multipartBody4591618478555267659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816102725,"filename":"image_15122025_16_36_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/15/db56ae6e0082a16f2e0a5d55a2bade8b.jpg","text":"TemporaryFile(/tmp/multipartBody5608842222694772858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816102725,"filename":"image_15122025_16_37_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/15/f07eeefcbcab9736fc8d4358450106ff.jpg","text":"TemporaryFile(/tmp/multipartBody6589729202791166273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816102725,"filename":"image_15122025_16_36_45_10761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399528753","file1":"1399528750","file0":"1399528747","file4":"1399528757","file5":"1399528760","file3":"1399528755"},"map_files_photo_id_array":[{"photo_id":"1399528760","filename":"file5"},{"photo_id":"1399528753","filename":"file2"},{"photo_id":"1399528757","filename":"file4"},{"photo_id":"1399528750","filename":"file1"},{"photo_id":"1399528747","filename":"file0"},{"photo_id":"1399528755","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399528755":["hashtag1","hashtag2"]},{"1399528757":["hashtag1","hashtag2"]},{"1399528760":["hashtag1","hashtag2"]},{"1399528750":["hashtag1","hashtag2"]},{"1399528753":["hashtag1","hashtag2"]},{"1399528747":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399528755, 1399528757, 1399528760, 1399528750, 1399528753, 1399528747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9127881526947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 17:28:02.908216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/37/image_15122025_16_37_44_9561.jpg', '/home/pi/Desktop/images/15122025/16/37/image_15122025_16_37_55_10636.jpg', '/home/pi/Desktop/images/15122025/16/37/image_15122025_16_38_05_9812.jpg', '/home/pi/Desktop/images/15122025/16/38/image_15122025_16_38_14_9557.jpg', '/home/pi/Desktop/images/15122025/16/38/image_15122025_16_38_25_10661.jpg', '/home/pi/Desktop/images/15122025/16/38/image_15122025_16_38_34_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/37/image_15122025_16_37_44_9561.jpg
/home/pi/Desktop/images/15122025/16/37/image_15122025_16_37_55_10636.jpg
/home/pi/Desktop/images/15122025/16/37/image_15122025_16_38_05_9812.jpg
/home/pi/Desktop/images/15122025/16/38/image_15122025_16_38_14_9557.jpg
/home/pi/Desktop/images/15122025/16/38/image_15122025_16_38_25_10661.jpg
/home/pi/Desktop/images/15122025/16/38/image_15122025_16_38_34_9562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399528773","1399528767","1399528764","1399528763","1399528769","1399528771"],"photo_ids_order":["1399528763","1399528764","1399528767","1399528769","1399528771","1399528773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0a037beca095401174087936a53991b5.jpg","text":"TemporaryFile(/tmp/multipartBody889182730774984811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816143450,"filename":"image_15122025_16_38_34_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7ba5a5b56efb0a9fa04a0e29f7c5fffc.jpg","text":"TemporaryFile(/tmp/multipartBody7057104545102513301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816143450,"filename":"image_15122025_16_38_05_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/79dd161dbe0a0066b0cd37bb81925b30.jpg","text":"TemporaryFile(/tmp/multipartBody4859520703868068309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816143450,"filename":"image_15122025_16_37_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/15/e27759739eba5799710bc55ee3a5ae22.jpg","text":"TemporaryFile(/tmp/multipartBody4156456085103726421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816143450,"filename":"image_15122025_16_37_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/15/5423d3cae9d950c5c3d5a8ec4239b36b.jpg","text":"TemporaryFile(/tmp/multipartBody1235221511046088829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816143450,"filename":"image_15122025_16_38_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/15/cff51d7dc2547a9127b3bb8551559fff.jpg","text":"TemporaryFile(/tmp/multipartBody4630611747231368150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816143450,"filename":"image_15122025_16_38_25_10661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399528767","file1":"1399528764","file0":"1399528763","file4":"1399528771","file5":"1399528773","file3":"1399528769"},"map_files_photo_id_array":[{"photo_id":"1399528773","filename":"file5"},{"photo_id":"1399528767","filename":"file2"},{"photo_id":"1399528771","filename":"file4"},{"photo_id":"1399528764","filename":"file1"},{"photo_id":"1399528763","filename":"file0"},{"photo_id":"1399528769","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399528773":["hashtag1","hashtag2"]},{"1399528767":["hashtag1","hashtag2"]},{"1399528764":["hashtag1","hashtag2"]},{"1399528763":["hashtag1","hashtag2"]},{"1399528769":["hashtag1","hashtag2"]},{"1399528771":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399528773, 1399528767, 1399528764, 1399528763, 1399528769, 1399528771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67448973655701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 17:28:42.415848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_37_3040.jpg', '/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_39_2617.jpg', '/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_43_3780.jpg', '/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_46_2584.jpg', '/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_48_2754.jpg', '/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_52_3760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_37_3040.jpg
/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_39_2617.jpg
/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_43_3780.jpg
/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_46_2584.jpg
/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_48_2754.jpg
/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_52_3760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399528785","1399528788","1399528782","1399528784","1399528786","1399528783"],"photo_ids_order":["1399528782","1399528783","1399528784","1399528785","1399528786","1399528788"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5f8753b9581e42c131e6a98fbef040ac.jpg","text":"TemporaryFile(/tmp/multipartBody4399439823892429018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816183174,"filename":"image_05112025_15_36_46_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3994f7679c51271d45c66813cf7a4ab9.jpg","text":"TemporaryFile(/tmp/multipartBody6494618498028421309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816183174,"filename":"image_05112025_15_36_52_3760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d6c673f7462f2688ed53bb8957ce4627.jpg","text":"TemporaryFile(/tmp/multipartBody5061645785318989167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816183174,"filename":"image_05112025_15_36_37_3040.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a9821b08cf1c6ccf30c1c18b5629639c.jpg","text":"TemporaryFile(/tmp/multipartBody30743643630398844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816183174,"filename":"image_05112025_15_36_43_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/15/97011fe9abedb23470f2cee0c368f2f8.jpg","text":"TemporaryFile(/tmp/multipartBody7193257303004934479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816183174,"filename":"image_05112025_15_36_48_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/15/93e053bd22e1f13b24e42d5ffb0a8c90.jpg","text":"TemporaryFile(/tmp/multipartBody6759024932817849117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816183174,"filename":"image_05112025_15_36_39_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399528784","file1":"1399528783","file0":"1399528782","file4":"1399528786","file5":"1399528788","file3":"1399528785"},"map_files_photo_id_array":[{"photo_id":"1399528788","filename":"file5"},{"photo_id":"1399528784","filename":"file2"},{"photo_id":"1399528786","filename":"file4"},{"photo_id":"1399528783","filename":"file1"},{"photo_id":"1399528782","filename":"file0"},{"photo_id":"1399528785","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399528785":["hashtag1","hashtag2"]},{"1399528788":["hashtag1","hashtag2"]},{"1399528782":["hashtag1","hashtag2"]},{"1399528784":["hashtag1","hashtag2"]},{"1399528786":["hashtag1","hashtag2"]},{"1399528783":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399528785, 1399528788, 1399528782, 1399528784, 1399528786, 1399528783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33742308616638 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 17:29:22.695030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/38/image_15122025_16_38_44_9615.jpg', '/home/pi/Desktop/images/15122025/16/38/image_15122025_16_38_55_10593.jpg', '/home/pi/Desktop/images/15122025/16/38/image_15122025_16_39_04_9590.jpg', '/home/pi/Desktop/images/15122025/16/39/image_15122025_16_39_14_9708.jpg', '/home/pi/Desktop/images/15122025/16/39/image_15122025_16_39_24_10599.jpg', '/home/pi/Desktop/images/15122025/16/39/image_15122025_16_39_34_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/38/image_15122025_16_38_44_9615.jpg
/home/pi/Desktop/images/15122025/16/38/image_15122025_16_38_55_10593.jpg
/home/pi/Desktop/images/15122025/16/38/image_15122025_16_39_04_9590.jpg
/home/pi/Desktop/images/15122025/16/39/image_15122025_16_39_14_9708.jpg
/home/pi/Desktop/images/15122025/16/39/image_15122025_16_39_24_10599.jpg
/home/pi/Desktop/images/15122025/16/39/image_15122025_16_39_34_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":["1399528794","1399528796","1399528800","1399528790","1399528798","1399528804"],"photo_ids_order":["1399528790","1399528794","1399528796","1399528798","1399528800","1399528804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d9719528dcb706a5fb0927826110407c.jpg","text":"TemporaryFile(/tmp/multipartBody6077571345812030031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816223218,"filename":"image_15122025_16_38_55_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ab949e78a7f46b2088ea088e1d9e4d64.jpg","text":"TemporaryFile(/tmp/multipartBody7781840623899380916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816223218,"filename":"image_15122025_16_39_04_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/775081f0fced8b276f25062259b72c52.jpg","text":"TemporaryFile(/tmp/multipartBody2281284639940694655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816223218,"filename":"image_15122025_16_39_24_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/55d5e8edb965e842c6b20ff8cdc98e08.jpg","text":"TemporaryFile(/tmp/multipartBody7668503064111303023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816223218,"filename":"image_15122025_16_38_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/15/d52d7b23957af599edfab4084a4850e9.jpg","text":"TemporaryFile(/tmp/multipartBody6634279300933594930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816223218,"filename":"image_15122025_16_39_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/15/df1aef5d7adaf6b0004b7236728c7ab1.jpg","text":"TemporaryFile(/tmp/multipartBody8466447130161822691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816223218,"filename":"image_15122025_16_39_34_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399528796","file1":"1399528794","file0":"1399528790","file4":"1399528800","file5":"1399528804","file3":"1399528798"},"map_files_photo_id_array":[{"photo_id":"1399528804","filename":"file5"},{"photo_id":"1399528796","filename":"file2"},{"photo_id":"1399528800","filename":"file4"},{"photo_id":"1399528794","filename":"file1"},{"photo_id":"1399528790","filename":"file0"},{"photo_id":"1399528798","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399528794":["hashtag1","hashtag2"]},{"1399528796":["hashtag1","hashtag2"]},{"1399528800":["hashtag1","hashtag2"]},{"1399528790":["hashtag1","hashtag2"]},{"1399528798":["hashtag1","hashtag2"]},{"1399528804":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399528794, 1399528796, 1399528800, 1399528790, 1399528798, 1399528804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.054025411605835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 17:30:02.821076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/39/image_15122025_16_39_44_9570.jpg', '/home/pi/Desktop/images/15122025/16/39/image_15122025_16_39_54_10697.jpg', '/home/pi/Desktop/images/15122025/16/41/image_15122025_16_41_14_10036.jpg', '/home/pi/Desktop/images/15122025/16/41/image_15122025_16_41_24_10588.jpg', '/home/pi/Desktop/images/15122025/16/41/image_15122025_16_41_34_9728.jpg', '/home/pi/Desktop/images/15122025/16/41/image_15122025_16_41_45_10602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/39/image_15122025_16_39_44_9570.jpg
/home/pi/Desktop/images/15122025/16/39/image_15122025_16_39_54_10697.jpg
/home/pi/Desktop/images/15122025/16/41/image_15122025_16_41_14_10036.jpg
/home/pi/Desktop/images/15122025/16/41/image_15122025_16_41_24_10588.jpg
/home/pi/Desktop/images/15122025/16/41/image_15122025_16_41_34_9728.jpg
/home/pi/Desktop/images/15122025/16/41/image_15122025_16_41_45_10602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399528816","1399528821","1399528812","1399528822","1399528819","1399528807"],"photo_ids_order":["1399528807","1399528812","1399528816","1399528819","1399528821","1399528822"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/50251802d7eca2ba4dccad1bc523142b.jpg","text":"TemporaryFile(/tmp/multipartBody6717993993749842773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816289992,"filename":"image_15122025_16_41_14_10036.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/02263cbe23bb813a05cc77f6ab5a01ba.jpg","text":"TemporaryFile(/tmp/multipartBody1606927965910567666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816289992,"filename":"image_15122025_16_41_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/15/90662cad2209d3d6d5120ae992bff2be.jpg","text":"TemporaryFile(/tmp/multipartBody5380936601678344211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816289992,"filename":"image_15122025_16_39_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/15/34b036ef0cbab505a950838ee95ee539.jpg","text":"TemporaryFile(/tmp/multipartBody9039702670666426006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816289992,"filename":"image_15122025_16_41_45_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/17e458054ec597b17b4bf536e5572e68.jpg","text":"TemporaryFile(/tmp/multipartBody6109977778241574659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816289992,"filename":"image_15122025_16_41_24_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/09b66a67d33e94e0e19af7858049c5d3.jpg","text":"TemporaryFile(/tmp/multipartBody152718235413582088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816289992,"filename":"image_15122025_16_39_44_9570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399528816","file1":"1399528812","file0":"1399528807","file4":"1399528821","file5":"1399528822","file3":"1399528819"},"map_files_photo_id_array":[{"photo_id":"1399528822","filename":"file5"},{"photo_id":"1399528816","filename":"file2"},{"photo_id":"1399528821","filename":"file4"},{"photo_id":"1399528812","filename":"file1"},{"photo_id":"1399528807","filename":"file0"},{"photo_id":"1399528819","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399528816":["hashtag1","hashtag2"]},{"1399528821":["hashtag1","hashtag2"]},{"1399528812":["hashtag1","hashtag2"]},{"1399528822":["hashtag1","hashtag2"]},{"1399528819":["hashtag1","hashtag2"]},{"1399528807":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399528816, 1399528821, 1399528812, 1399528822, 1399528819, 1399528807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.36580109596252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 17:31:12.512762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 17:31:22.492164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/41/image_15122025_16_41_54_9614.jpg', '/home/pi/Desktop/images/15122025/16/41/image_15122025_16_42_04_9687.jpg', '/home/pi/Desktop/images/15122025/16/42/image_15122025_16_42_14_10611.jpg', '/home/pi/Desktop/images/15122025/16/42/image_15122025_16_42_24_9613.jpg', '/home/pi/Desktop/images/15122025/16/42/image_15122025_16_42_34_9676.jpg', '/home/pi/Desktop/images/15122025/16/42/image_15122025_16_42_45_10832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/41/image_15122025_16_41_54_9614.jpg
/home/pi/Desktop/images/15122025/16/41/image_15122025_16_42_04_9687.jpg
/home/pi/Desktop/images/15122025/16/42/image_15122025_16_42_14_10611.jpg
/home/pi/Desktop/images/15122025/16/42/image_15122025_16_42_24_9613.jpg
/home/pi/Desktop/images/15122025/16/42/image_15122025_16_42_34_9676.jpg
/home/pi/Desktop/images/15122025/16/42/image_15122025_16_42_45_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":["1399528833","1399528842","1399528839","1399528835","1399528837","1399528831"],"photo_ids_order":["1399528831","1399528833","1399528835","1399528837","1399528839","1399528842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/011a1e7ec8d24d4f8982dde486b453ec.jpg","text":"TemporaryFile(/tmp/multipartBody1143506638062724539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816343026,"filename":"image_15122025_16_42_04_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8ad4102f8a227ecd915cc4793053eb2b.jpg","text":"TemporaryFile(/tmp/multipartBody7633605968036736936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816343026,"filename":"image_15122025_16_42_45_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/15/362d54f0d4080d843bc25bab73a6ac22.jpg","text":"TemporaryFile(/tmp/multipartBody9004144478961670243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816343026,"filename":"image_15122025_16_42_34_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/60b31705dedaaa7df7deb29ac18ab8b2.jpg","text":"TemporaryFile(/tmp/multipartBody2120477066393396249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816343026,"filename":"image_15122025_16_42_14_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/15/857de11cfc913982f557b2874b4f932d.jpg","text":"TemporaryFile(/tmp/multipartBody2902002773866061253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816343026,"filename":"image_15122025_16_42_24_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/90508653a6905e86b137611b35bc4753.jpg","text":"TemporaryFile(/tmp/multipartBody7471837137380399386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816343026,"filename":"image_15122025_16_41_54_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399528835","file1":"1399528833","file0":"1399528831","file4":"1399528839","file5":"1399528842","file3":"1399528837"},"map_files_photo_id_array":[{"photo_id":"1399528842","filename":"file5"},{"photo_id":"1399528835","filename":"file2"},{"photo_id":"1399528839","filename":"file4"},{"photo_id":"1399528833","filename":"file1"},{"photo_id":"1399528831","filename":"file0"},{"photo_id":"1399528837","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399528833":["hashtag1","hashtag2"]},{"1399528842":["hashtag1","hashtag2"]},{"1399528839":["hashtag1","hashtag2"]},{"1399528835":["hashtag1","hashtag2"]},{"1399528837":["hashtag1","hashtag2"]},{"1399528831":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399528833, 1399528842, 1399528839, 1399528835, 1399528837, 1399528831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7641978263855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 17:32:03.220426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/42/image_15122025_16_42_54_9825.jpg', '/home/pi/Desktop/images/15122025/16/42/image_15122025_16_43_04_9593.jpg', '/home/pi/Desktop/images/15122025/16/43/image_15122025_16_43_14_9814.jpg', '/home/pi/Desktop/images/15122025/16/43/image_15122025_16_43_24_10618.jpg', '/home/pi/Desktop/images/15122025/16/43/image_15122025_16_43_34_9602.jpg', '/home/pi/Desktop/images/15122025/16/43/image_15122025_16_43_44_9553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/42/image_15122025_16_42_54_9825.jpg
/home/pi/Desktop/images/15122025/16/42/image_15122025_16_43_04_9593.jpg
/home/pi/Desktop/images/15122025/16/43/image_15122025_16_43_14_9814.jpg
/home/pi/Desktop/images/15122025/16/43/image_15122025_16_43_24_10618.jpg
/home/pi/Desktop/images/15122025/16/43/image_15122025_16_43_34_9602.jpg
/home/pi/Desktop/images/15122025/16/43/image_15122025_16_43_44_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":["1399528845","1399528848","1399528850","1399528844","1399528847","1399528846"],"photo_ids_order":["1399528844","1399528845","1399528846","1399528847","1399528848","1399528850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9ba1f108de337ed74dbff82f690bce00.jpg","text":"TemporaryFile(/tmp/multipartBody4457237187771448958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816384110,"filename":"image_15122025_16_43_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/15/5bc385673f3c44abb3f0f07a5aa5ddec.jpg","text":"TemporaryFile(/tmp/multipartBody2867392235126000053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816384110,"filename":"image_15122025_16_43_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/15/43247e1febf05977353ad3750f9b2b7d.jpg","text":"TemporaryFile(/tmp/multipartBody9191194915921802799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816384110,"filename":"image_15122025_16_43_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/15/2447e119f1e3b6f9ae47122c5c06d933.jpg","text":"TemporaryFile(/tmp/multipartBody722812641374364511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816384110,"filename":"image_15122025_16_42_54_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/15/1183c9946df7a3a29d1896a4aad5a318.jpg","text":"TemporaryFile(/tmp/multipartBody7775266353729501501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816384110,"filename":"image_15122025_16_43_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/15/cff3ac1b5cad78a923ee7e4e34672404.jpg","text":"TemporaryFile(/tmp/multipartBody4976235237741421025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816384110,"filename":"image_15122025_16_43_14_9814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399528846","file1":"1399528845","file0":"1399528844","file4":"1399528848","file5":"1399528850","file3":"1399528847"},"map_files_photo_id_array":[{"photo_id":"1399528850","filename":"file5"},{"photo_id":"1399528846","filename":"file2"},{"photo_id":"1399528848","filename":"file4"},{"photo_id":"1399528845","filename":"file1"},{"photo_id":"1399528844","filename":"file0"},{"photo_id":"1399528847","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399528845":["hashtag1","hashtag2"]},{"1399528848":["hashtag1","hashtag2"]},{"1399528850":["hashtag1","hashtag2"]},{"1399528844":["hashtag1","hashtag2"]},{"1399528847":["hashtag1","hashtag2"]},{"1399528846":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399528845, 1399528848, 1399528850, 1399528844, 1399528847, 1399528846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.334195137023926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 17:32:42.753920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_57_5370.jpg', '/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_59_1789.jpg', '/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_01_1544.jpg', '/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_03_2613.jpg', '/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_06_2718.jpg', '/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_10_3674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_57_5370.jpg
/home/pi/Desktop/images/05112025/15/36/image_05112025_15_36_59_1789.jpg
/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_01_1544.jpg
/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_03_2613.jpg
/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_06_2718.jpg
/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_10_3674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399528872","1399528869","1399528860","1399528871","1399528868","1399528870"],"photo_ids_order":["1399528860","1399528868","1399528869","1399528870","1399528871","1399528872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7ebbb9f61ebcbe2050c41dda0c6f81fb.jpg","text":"TemporaryFile(/tmp/multipartBody8346004337545092407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816423448,"filename":"image_05112025_15_37_10_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/15/95ff1ec473608adfc3a19cd18dc5031a.jpg","text":"TemporaryFile(/tmp/multipartBody4603706746938828568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816423448,"filename":"image_05112025_15_37_01_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/15/b96dd49948d506476fdfd830aad5acbf.jpg","text":"TemporaryFile(/tmp/multipartBody6170498820312599383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816423448,"filename":"image_05112025_15_36_57_5370.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/aa98c6f56af44e0e57130109d082d273.jpg","text":"TemporaryFile(/tmp/multipartBody3803969715867604641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816423448,"filename":"image_05112025_15_37_06_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ec47265a06f0236d37eb2db3028893a1.jpg","text":"TemporaryFile(/tmp/multipartBody8208801300829427350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816423448,"filename":"image_05112025_15_36_59_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/15/3566be6444a418d9e76a69cfa382c042.jpg","text":"TemporaryFile(/tmp/multipartBody8462109817088107622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816423448,"filename":"image_05112025_15_37_03_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399528869","file1":"1399528868","file0":"1399528860","file4":"1399528871","file5":"1399528872","file3":"1399528870"},"map_files_photo_id_array":[{"photo_id":"1399528872","filename":"file5"},{"photo_id":"1399528869","filename":"file2"},{"photo_id":"1399528871","filename":"file4"},{"photo_id":"1399528868","filename":"file1"},{"photo_id":"1399528860","filename":"file0"},{"photo_id":"1399528870","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399528872":["hashtag1","hashtag2"]},{"1399528869":["hashtag1","hashtag2"]},{"1399528860":["hashtag1","hashtag2"]},{"1399528871":["hashtag1","hashtag2"]},{"1399528868":["hashtag1","hashtag2"]},{"1399528870":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399528872, 1399528869, 1399528860, 1399528871, 1399528868, 1399528870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94345188140869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 17:33:22.091826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/43/image_15122025_16_43_54_10606.jpg', '/home/pi/Desktop/images/15122025/16/43/image_15122025_16_44_04_9829.jpg', '/home/pi/Desktop/images/15122025/16/44/image_15122025_16_44_15_10550.jpg', '/home/pi/Desktop/images/15122025/16/44/image_15122025_16_44_24_9658.jpg', '/home/pi/Desktop/images/15122025/16/44/image_15122025_16_44_34_9696.jpg', '/home/pi/Desktop/images/15122025/16/44/image_15122025_16_44_45_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/43/image_15122025_16_43_54_10606.jpg
/home/pi/Desktop/images/15122025/16/43/image_15122025_16_44_04_9829.jpg
/home/pi/Desktop/images/15122025/16/44/image_15122025_16_44_15_10550.jpg
/home/pi/Desktop/images/15122025/16/44/image_15122025_16_44_24_9658.jpg
/home/pi/Desktop/images/15122025/16/44/image_15122025_16_44_34_9696.jpg
/home/pi/Desktop/images/15122025/16/44/image_15122025_16_44_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":["1399528878","1399528885","1399528873","1399528876","1399528879","1399528881"],"photo_ids_order":["1399528873","1399528876","1399528878","1399528879","1399528881","1399528885"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c2e2d7ec1dfaeb2f616e0e492ead03a4.jpg","text":"TemporaryFile(/tmp/multipartBody7699088490742351421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816462629,"filename":"image_15122025_16_44_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/15/7b4090f022e10484a9cf8dc01e1a7ce1.jpg","text":"TemporaryFile(/tmp/multipartBody3307287324073330246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816462629,"filename":"image_15122025_16_44_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/15/c43fb06245028259a867fdba9105efed.jpg","text":"TemporaryFile(/tmp/multipartBody9039435974811616062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816462629,"filename":"image_15122025_16_43_54_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/450ffd42afe716893b1f1af42f40af89.jpg","text":"TemporaryFile(/tmp/multipartBody4353740100729550578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816462629,"filename":"image_15122025_16_44_04_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/11294ed2049199317c0689029e8fd470.jpg","text":"TemporaryFile(/tmp/multipartBody6254560910449877073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816462629,"filename":"image_15122025_16_44_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/15/2c50e0be7869bcc46aa4f20918cdb343.jpg","text":"TemporaryFile(/tmp/multipartBody3885858066426458271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816462629,"filename":"image_15122025_16_44_34_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399528878","file1":"1399528876","file0":"1399528873","file4":"1399528881","file5":"1399528885","file3":"1399528879"},"map_files_photo_id_array":[{"photo_id":"1399528885","filename":"file5"},{"photo_id":"1399528878","filename":"file2"},{"photo_id":"1399528881","filename":"file4"},{"photo_id":"1399528876","filename":"file1"},{"photo_id":"1399528873","filename":"file0"},{"photo_id":"1399528879","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399528878":["hashtag1","hashtag2"]},{"1399528885":["hashtag1","hashtag2"]},{"1399528873":["hashtag1","hashtag2"]},{"1399528876":["hashtag1","hashtag2"]},{"1399528879":["hashtag1","hashtag2"]},{"1399528881":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399528878, 1399528885, 1399528873, 1399528876, 1399528879, 1399528881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95689082145691 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 17:34:02.949297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/44/image_15122025_16_44_54_9682.jpg', '/home/pi/Desktop/images/15122025/16/46/image_15122025_16_46_14_10037.jpg', '/home/pi/Desktop/images/15122025/16/46/image_15122025_16_46_24_10634.jpg', '/home/pi/Desktop/images/15122025/16/46/image_15122025_16_46_34_9643.jpg', '/home/pi/Desktop/images/15122025/16/46/image_15122025_16_46_44_9690.jpg', '/home/pi/Desktop/images/15122025/16/46/image_15122025_16_46_54_10691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/44/image_15122025_16_44_54_9682.jpg
/home/pi/Desktop/images/15122025/16/46/image_15122025_16_46_14_10037.jpg
/home/pi/Desktop/images/15122025/16/46/image_15122025_16_46_24_10634.jpg
/home/pi/Desktop/images/15122025/16/46/image_15122025_16_46_34_9643.jpg
/home/pi/Desktop/images/15122025/16/46/image_15122025_16_46_44_9690.jpg
/home/pi/Desktop/images/15122025/16/46/image_15122025_16_46_54_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":["1399528890","1399528887","1399528892","1399528889","1399528891","1399528888"],"photo_ids_order":["1399528887","1399528888","1399528889","1399528890","1399528891","1399528892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1e751ae47c040a5d90d476b2abeb0367.jpg","text":"TemporaryFile(/tmp/multipartBody840937531476901793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816503525,"filename":"image_15122025_16_46_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/15/a304310f5dfc5081609a7bcd14022088.jpg","text":"TemporaryFile(/tmp/multipartBody6679994695257426418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816503525,"filename":"image_15122025_16_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/15/48da26c43590f8abc5a7c1e1b07cd170.jpg","text":"TemporaryFile(/tmp/multipartBody3406860119028625037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816503525,"filename":"image_15122025_16_46_54_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d8b8233881bc39360bfce756b405091c.jpg","text":"TemporaryFile(/tmp/multipartBody8888054550378075517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816503525,"filename":"image_15122025_16_46_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/15/5f3fd7a64df041078e12334527305409.jpg","text":"TemporaryFile(/tmp/multipartBody1722031221870342333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816503525,"filename":"image_15122025_16_46_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/15/701dc9b75d74c5e35b59b68c7eb7312a.jpg","text":"TemporaryFile(/tmp/multipartBody3789878409072717992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816503525,"filename":"image_15122025_16_46_14_10037.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399528889","file1":"1399528888","file0":"1399528887","file4":"1399528891","file5":"1399528892","file3":"1399528890"},"map_files_photo_id_array":[{"photo_id":"1399528892","filename":"file5"},{"photo_id":"1399528889","filename":"file2"},{"photo_id":"1399528891","filename":"file4"},{"photo_id":"1399528888","filename":"file1"},{"photo_id":"1399528887","filename":"file0"},{"photo_id":"1399528890","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399528890":["hashtag1","hashtag2"]},{"1399528887":["hashtag1","hashtag2"]},{"1399528892":["hashtag1","hashtag2"]},{"1399528889":["hashtag1","hashtag2"]},{"1399528891":["hashtag1","hashtag2"]},{"1399528888":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399528890, 1399528887, 1399528892, 1399528889, 1399528891, 1399528888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75905632972717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 17:34:42.250684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_12_2738.jpg', '/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_15_2768.jpg', '/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_19_3520.jpg', '/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_21_2665.jpg', '/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_24_2712.jpg', '/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_28_3574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_12_2738.jpg
/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_15_2768.jpg
/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_19_3520.jpg
/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_21_2665.jpg
/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_24_2712.jpg
/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_28_3574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399528908","1399528902","1399528910","1399528904","1399528912","1399528906"],"photo_ids_order":["1399528902","1399528904","1399528906","1399528908","1399528910","1399528912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2583bb396aedc889f8ee8091ee63f81c.jpg","text":"TemporaryFile(/tmp/multipartBody5081981228076788330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816543006,"filename":"image_05112025_15_37_21_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b9b14aa0a596cf732719515c43b306e0.jpg","text":"TemporaryFile(/tmp/multipartBody5306550795480793384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816543006,"filename":"image_05112025_15_37_12_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/15/1a369d335999716516be069234c1663e.jpg","text":"TemporaryFile(/tmp/multipartBody1817201890503104554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816543006,"filename":"image_05112025_15_37_24_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/15/40eab981cb606f5e95854f62f80c25a5.jpg","text":"TemporaryFile(/tmp/multipartBody8740963574177585889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816543006,"filename":"image_05112025_15_37_15_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/258831a9d6c006fa27e16fdd9f057cfc.jpg","text":"TemporaryFile(/tmp/multipartBody3961552440092952870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816543006,"filename":"image_05112025_15_37_28_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/15/ae83f373993c20d091bae4de90627829.jpg","text":"TemporaryFile(/tmp/multipartBody3771095612682415804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816543006,"filename":"image_05112025_15_37_19_3520.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399528906","file1":"1399528904","file0":"1399528902","file4":"1399528910","file5":"1399528912","file3":"1399528908"},"map_files_photo_id_array":[{"photo_id":"1399528912","filename":"file5"},{"photo_id":"1399528906","filename":"file2"},{"photo_id":"1399528910","filename":"file4"},{"photo_id":"1399528904","filename":"file1"},{"photo_id":"1399528902","filename":"file0"},{"photo_id":"1399528908","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399528908":["hashtag1","hashtag2"]},{"1399528902":["hashtag1","hashtag2"]},{"1399528910":["hashtag1","hashtag2"]},{"1399528904":["hashtag1","hashtag2"]},{"1399528912":["hashtag1","hashtag2"]},{"1399528906":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399528908, 1399528902, 1399528910, 1399528904, 1399528912, 1399528906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3942654132843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 17:35:22.541616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/46/image_15122025_16_47_04_9574.jpg', '/home/pi/Desktop/images/15122025/16/47/image_15122025_16_47_15_10559.jpg', '/home/pi/Desktop/images/15122025/16/47/image_15122025_16_47_24_9639.jpg', '/home/pi/Desktop/images/15122025/16/47/image_15122025_16_47_34_9615.jpg', '/home/pi/Desktop/images/15122025/16/47/image_15122025_16_47_45_10652.jpg', '/home/pi/Desktop/images/15122025/16/47/image_15122025_16_47_54_9841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/46/image_15122025_16_47_04_9574.jpg
/home/pi/Desktop/images/15122025/16/47/image_15122025_16_47_15_10559.jpg
/home/pi/Desktop/images/15122025/16/47/image_15122025_16_47_24_9639.jpg
/home/pi/Desktop/images/15122025/16/47/image_15122025_16_47_34_9615.jpg
/home/pi/Desktop/images/15122025/16/47/image_15122025_16_47_45_10652.jpg
/home/pi/Desktop/images/15122025/16/47/image_15122025_16_47_54_9841.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.42562127113342285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 17:35:32.560405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 17:35:42.462232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_30_2737.jpg', '/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_33_2650.jpg', '/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_37_3681.jpg', '/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_40_2719.jpg', '/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_42_2525.jpg', '/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_46_3526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_30_2737.jpg
/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_33_2650.jpg
/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_37_3681.jpg
/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_40_2719.jpg
/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_42_2525.jpg
/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_46_3526.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399528932","1399528929","1399528931","1399528925","1399528928","1399528930"],"photo_ids_order":["1399528925","1399528928","1399528929","1399528930","1399528931","1399528932"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d26a5878b7b1f34c3bbee2f96523c483.jpg","text":"TemporaryFile(/tmp/multipartBody207384410864524535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816603196,"filename":"image_05112025_15_37_46_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/39316c6a76832e822a401cd4512043b5.jpg","text":"TemporaryFile(/tmp/multipartBody3608650604593804181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816603196,"filename":"image_05112025_15_37_37_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/15/df31fa024133adc6857a5d5756c3492b.jpg","text":"TemporaryFile(/tmp/multipartBody7269254946379574536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816603196,"filename":"image_05112025_15_37_42_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/15/28a47dac4e46d8811ad0b420bfa16c51.jpg","text":"TemporaryFile(/tmp/multipartBody6802595694710082262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816603196,"filename":"image_05112025_15_37_30_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/15/92497b06c41be240f11b601e92e3a603.jpg","text":"TemporaryFile(/tmp/multipartBody8727027365451570826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816603196,"filename":"image_05112025_15_37_33_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/15/764dff0b2f3262761b53c4ed38e41aae.jpg","text":"TemporaryFile(/tmp/multipartBody7520476347082363140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816603196,"filename":"image_05112025_15_37_40_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399528929","file1":"1399528928","file0":"1399528925","file4":"1399528931","file5":"1399528932","file3":"1399528930"},"map_files_photo_id_array":[{"photo_id":"1399528932","filename":"file5"},{"photo_id":"1399528929","filename":"file2"},{"photo_id":"1399528931","filename":"file4"},{"photo_id":"1399528928","filename":"file1"},{"photo_id":"1399528925","filename":"file0"},{"photo_id":"1399528930","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399528932":["hashtag1","hashtag2"]},{"1399528929":["hashtag1","hashtag2"]},{"1399528931":["hashtag1","hashtag2"]},{"1399528925":["hashtag1","hashtag2"]},{"1399528928":["hashtag1","hashtag2"]},{"1399528930":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399528932, 1399528929, 1399528931, 1399528925, 1399528928, 1399528930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52927088737488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 17:36:22.742272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/46/image_15122025_16_47_04_9574.jpg', '/home/pi/Desktop/images/15122025/16/47/image_15122025_16_47_15_10559.jpg', '/home/pi/Desktop/images/15122025/16/47/image_15122025_16_47_24_9639.jpg', '/home/pi/Desktop/images/15122025/16/47/image_15122025_16_47_34_9615.jpg', '/home/pi/Desktop/images/15122025/16/47/image_15122025_16_47_45_10652.jpg', '/home/pi/Desktop/images/15122025/16/47/image_15122025_16_47_54_9841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/46/image_15122025_16_47_04_9574.jpg
/home/pi/Desktop/images/15122025/16/47/image_15122025_16_47_15_10559.jpg
/home/pi/Desktop/images/15122025/16/47/image_15122025_16_47_24_9639.jpg
/home/pi/Desktop/images/15122025/16/47/image_15122025_16_47_34_9615.jpg
/home/pi/Desktop/images/15122025/16/47/image_15122025_16_47_45_10652.jpg
/home/pi/Desktop/images/15122025/16/47/image_15122025_16_47_54_9841.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399528944","1399528935","1399528938","1399528940","1399528934","1399528942"],"photo_ids_order":["1399528934","1399528935","1399528938","1399528940","1399528942","1399528944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d45182243cc2cd9c247c9a54b6635cb6.jpg","text":"TemporaryFile(/tmp/multipartBody5211528445063194652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816643282,"filename":"image_15122025_16_47_54_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5113ecbf7f299f8b83319f36bba6da7b.jpg","text":"TemporaryFile(/tmp/multipartBody322516440202770797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816643282,"filename":"image_15122025_16_47_15_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/15/749a257c4a4244c936d4aefafd144d10.jpg","text":"TemporaryFile(/tmp/multipartBody6646577564462155996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816643282,"filename":"image_15122025_16_47_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/15/0660295be4364ade4184abcb8120facc.jpg","text":"TemporaryFile(/tmp/multipartBody2714592081588166083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816643282,"filename":"image_15122025_16_47_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/15/7eff1b859ad01fff81fabc21bdb3fe3a.jpg","text":"TemporaryFile(/tmp/multipartBody5853577931592732680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816643282,"filename":"image_15122025_16_47_04_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/05af1d3dfb19ab103e7788d73a80b9c9.jpg","text":"TemporaryFile(/tmp/multipartBody7578266982118547829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816643282,"filename":"image_15122025_16_47_45_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399528938","file1":"1399528935","file0":"1399528934","file4":"1399528942","file5":"1399528944","file3":"1399528940"},"map_files_photo_id_array":[{"photo_id":"1399528944","filename":"file5"},{"photo_id":"1399528938","filename":"file2"},{"photo_id":"1399528942","filename":"file4"},{"photo_id":"1399528935","filename":"file1"},{"photo_id":"1399528934","filename":"file0"},{"photo_id":"1399528940","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399528944":["hashtag1","hashtag2"]},{"1399528935":["hashtag1","hashtag2"]},{"1399528938":["hashtag1","hashtag2"]},{"1399528940":["hashtag1","hashtag2"]},{"1399528934":["hashtag1","hashtag2"]},{"1399528942":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399528944, 1399528935, 1399528938, 1399528940, 1399528934, 1399528942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.921234130859375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 17:37:02.593416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/47/image_15122025_16_48_04_9786.jpg', '/home/pi/Desktop/images/15122025/16/48/image_15122025_16_48_15_10592.jpg', '/home/pi/Desktop/images/15122025/16/48/image_15122025_16_48_24_9670.jpg', '/home/pi/Desktop/images/15122025/16/48/image_15122025_16_48_34_9618.jpg', '/home/pi/Desktop/images/15122025/16/48/image_15122025_16_48_45_10584.jpg', '/home/pi/Desktop/images/15122025/16/48/image_15122025_16_48_54_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/47/image_15122025_16_48_04_9786.jpg
/home/pi/Desktop/images/15122025/16/48/image_15122025_16_48_15_10592.jpg
/home/pi/Desktop/images/15122025/16/48/image_15122025_16_48_24_9670.jpg
/home/pi/Desktop/images/15122025/16/48/image_15122025_16_48_34_9618.jpg
/home/pi/Desktop/images/15122025/16/48/image_15122025_16_48_45_10584.jpg
/home/pi/Desktop/images/15122025/16/48/image_15122025_16_48_54_9803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399528950","1399528947","1399528952","1399528949","1399528948","1399528945"],"photo_ids_order":["1399528945","1399528947","1399528948","1399528949","1399528950","1399528952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9ac23186d6e7de4eb9f14999aa5786a1.jpg","text":"TemporaryFile(/tmp/multipartBody5418836205236208111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816683171,"filename":"image_15122025_16_48_45_10584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e8b0f0facc83db62fb23eac3a0128029.jpg","text":"TemporaryFile(/tmp/multipartBody8022078451517184039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816683171,"filename":"image_15122025_16_48_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/15/796b1b402c210bdbb0637e9a27ffd401.jpg","text":"TemporaryFile(/tmp/multipartBody5707004771810285517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816683171,"filename":"image_15122025_16_48_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/15/4d1d4e6ba9b43146af2700ca51f0f9ca.jpg","text":"TemporaryFile(/tmp/multipartBody1270191679641629345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816683171,"filename":"image_15122025_16_48_34_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/71e5705bb1a11141700944c977351798.jpg","text":"TemporaryFile(/tmp/multipartBody914898546728864904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816683171,"filename":"image_15122025_16_48_24_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2e4a229b0e867bb43a9d8d8d558b2888.jpg","text":"TemporaryFile(/tmp/multipartBody7157480971625387645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816683171,"filename":"image_15122025_16_48_04_9786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399528948","file1":"1399528947","file0":"1399528945","file4":"1399528950","file5":"1399528952","file3":"1399528949"},"map_files_photo_id_array":[{"photo_id":"1399528952","filename":"file5"},{"photo_id":"1399528948","filename":"file2"},{"photo_id":"1399528950","filename":"file4"},{"photo_id":"1399528947","filename":"file1"},{"photo_id":"1399528945","filename":"file0"},{"photo_id":"1399528949","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399528950":["hashtag1","hashtag2"]},{"1399528947":["hashtag1","hashtag2"]},{"1399528952":["hashtag1","hashtag2"]},{"1399528949":["hashtag1","hashtag2"]},{"1399528948":["hashtag1","hashtag2"]},{"1399528945":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399528950, 1399528947, 1399528952, 1399528949, 1399528948, 1399528945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80296468734741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 17:37:42.023055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_48_2713.jpg', '/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_51_2750.jpg', '/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_55_3603.jpg', '/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_57_2700.jpg', '/home/pi/Desktop/images/05112025/15/37/image_05112025_15_38_00_2812.jpg', '/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_04_3787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_48_2713.jpg
/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_51_2750.jpg
/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_55_3603.jpg
/home/pi/Desktop/images/05112025/15/37/image_05112025_15_37_57_2700.jpg
/home/pi/Desktop/images/05112025/15/37/image_05112025_15_38_00_2812.jpg
/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_04_3787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399528962","1399528965","1399528961","1399528964","1399528958","1399528963"],"photo_ids_order":["1399528958","1399528961","1399528962","1399528963","1399528964","1399528965"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bbe3c5b57dbd384bc89d0f4833365d56.jpg","text":"TemporaryFile(/tmp/multipartBody5761591462528351443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816722742,"filename":"image_05112025_15_37_55_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/15/6e817eb0abf25b9d00d9463794ac16c2.jpg","text":"TemporaryFile(/tmp/multipartBody1752647698887395969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816722742,"filename":"image_05112025_15_38_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/15/d5c3143eb29f3390f0e00c804d69f123.jpg","text":"TemporaryFile(/tmp/multipartBody7577309995285377097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816722742,"filename":"image_05112025_15_37_51_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/09a1c32df9d1e6b80d0cf0e30ff6f701.jpg","text":"TemporaryFile(/tmp/multipartBody3094141174393598558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816722742,"filename":"image_05112025_15_38_00_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/15/a10bc746fa52390894d50cf4de4a67c3.jpg","text":"TemporaryFile(/tmp/multipartBody1077949091078692068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816722742,"filename":"image_05112025_15_37_48_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/15/b1117f446da19f24f4689ccfcae7dcaf.jpg","text":"TemporaryFile(/tmp/multipartBody3963924526573809266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816722742,"filename":"image_05112025_15_37_57_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399528962","file1":"1399528961","file0":"1399528958","file4":"1399528964","file5":"1399528965","file3":"1399528963"},"map_files_photo_id_array":[{"photo_id":"1399528965","filename":"file5"},{"photo_id":"1399528962","filename":"file2"},{"photo_id":"1399528964","filename":"file4"},{"photo_id":"1399528961","filename":"file1"},{"photo_id":"1399528958","filename":"file0"},{"photo_id":"1399528963","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399528962":["hashtag1","hashtag2"]},{"1399528965":["hashtag1","hashtag2"]},{"1399528961":["hashtag1","hashtag2"]},{"1399528964":["hashtag1","hashtag2"]},{"1399528958":["hashtag1","hashtag2"]},{"1399528963":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399528962, 1399528965, 1399528961, 1399528964, 1399528958, 1399528963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.138798236846924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 17:38:22.330847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/48/image_15122025_16_49_04_9636.jpg', '/home/pi/Desktop/images/15122025/16/49/image_15122025_16_49_24_9641.jpg', '/home/pi/Desktop/images/15122025/16/49/image_15122025_16_49_34_9525.jpg', '/home/pi/Desktop/images/15122025/16/49/image_15122025_16_49_45_10602.jpg', '/home/pi/Desktop/images/15122025/16/49/image_15122025_16_49_54_9617.jpg', '/home/pi/Desktop/images/15122025/16/50/image_15122025_16_50_14_10056.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/48/image_15122025_16_49_04_9636.jpg
/home/pi/Desktop/images/15122025/16/49/image_15122025_16_49_24_9641.jpg
/home/pi/Desktop/images/15122025/16/49/image_15122025_16_49_34_9525.jpg
/home/pi/Desktop/images/15122025/16/49/image_15122025_16_49_45_10602.jpg
/home/pi/Desktop/images/15122025/16/49/image_15122025_16_49_54_9617.jpg
/home/pi/Desktop/images/15122025/16/50/image_15122025_16_50_14_10056.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3935396671295166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 17:38:32.367115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 17:38:42.223480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_07_2712.jpg', '/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_09_2587.jpg', '/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_13_3636.jpg', '/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_15_2544.jpg', '/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_18_2641.jpg', '/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_22_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_07_2712.jpg
/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_09_2587.jpg
/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_13_3636.jpg
/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_15_2544.jpg
/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_18_2641.jpg
/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_22_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":["1399528983","1399528977","1399528982","1399528979","1399528981","1399528980"],"photo_ids_order":["1399528977","1399528979","1399528980","1399528981","1399528982","1399528983"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/643e9320923098b3b2308ba697e9b2a3.jpg","text":"TemporaryFile(/tmp/multipartBody7064637582377243970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816782939,"filename":"image_05112025_15_38_22_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/15/cb4d751fa245bab86a2754d8878a8f8b.jpg","text":"TemporaryFile(/tmp/multipartBody8186543621933308968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816782939,"filename":"image_05112025_15_38_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/15/dd2e9e99dc2e37d6097404fd2faaa6e3.jpg","text":"TemporaryFile(/tmp/multipartBody8459296663509193759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816782939,"filename":"image_05112025_15_38_18_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/15/37018c38e3afb5e9e2170937d9fb2677.jpg","text":"TemporaryFile(/tmp/multipartBody524620381227608649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816782939,"filename":"image_05112025_15_38_09_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9f6360172375f913b872df760c18716d.jpg","text":"TemporaryFile(/tmp/multipartBody4714969753890876105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816782939,"filename":"image_05112025_15_38_15_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/15/ebd3eb7ce7368414b68fcc7bb9430428.jpg","text":"TemporaryFile(/tmp/multipartBody2440748612121226529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816782939,"filename":"image_05112025_15_38_13_3636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399528980","file1":"1399528979","file0":"1399528977","file4":"1399528982","file5":"1399528983","file3":"1399528981"},"map_files_photo_id_array":[{"photo_id":"1399528983","filename":"file5"},{"photo_id":"1399528980","filename":"file2"},{"photo_id":"1399528982","filename":"file4"},{"photo_id":"1399528979","filename":"file1"},{"photo_id":"1399528977","filename":"file0"},{"photo_id":"1399528981","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399528983":["hashtag1","hashtag2"]},{"1399528977":["hashtag1","hashtag2"]},{"1399528982":["hashtag1","hashtag2"]},{"1399528979":["hashtag1","hashtag2"]},{"1399528981":["hashtag1","hashtag2"]},{"1399528980":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399528983, 1399528977, 1399528982, 1399528979, 1399528981, 1399528980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37263607978821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 17:39:22.481436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/48/image_15122025_16_49_04_9636.jpg', '/home/pi/Desktop/images/15122025/16/49/image_15122025_16_49_24_9641.jpg', '/home/pi/Desktop/images/15122025/16/49/image_15122025_16_49_34_9525.jpg', '/home/pi/Desktop/images/15122025/16/49/image_15122025_16_49_45_10602.jpg', '/home/pi/Desktop/images/15122025/16/49/image_15122025_16_49_54_9617.jpg', '/home/pi/Desktop/images/15122025/16/50/image_15122025_16_50_14_10056.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/48/image_15122025_16_49_04_9636.jpg
/home/pi/Desktop/images/15122025/16/49/image_15122025_16_49_24_9641.jpg
/home/pi/Desktop/images/15122025/16/49/image_15122025_16_49_34_9525.jpg
/home/pi/Desktop/images/15122025/16/49/image_15122025_16_49_45_10602.jpg
/home/pi/Desktop/images/15122025/16/49/image_15122025_16_49_54_9617.jpg
/home/pi/Desktop/images/15122025/16/50/image_15122025_16_50_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":["1399528991","1399528985","1399528984","1399528987","1399528995","1399528989"],"photo_ids_order":["1399528984","1399528985","1399528987","1399528989","1399528991","1399528995"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e7522d6bfd878770478f16d33815d4c5.jpg","text":"TemporaryFile(/tmp/multipartBody4504006496493357820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816823018,"filename":"image_15122025_16_49_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/15/5426ed2a593aed46341cc88be0a5434f.jpg","text":"TemporaryFile(/tmp/multipartBody1223631174797053863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816823018,"filename":"image_15122025_16_49_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/15/3f7d61a2b4cfb4ff8a0bc2eacb27126d.jpg","text":"TemporaryFile(/tmp/multipartBody3305776107207572331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816823018,"filename":"image_15122025_16_49_04_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e26e4c1eb6c547e587a15c4e3fe8c80d.jpg","text":"TemporaryFile(/tmp/multipartBody3031032633381308385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816823018,"filename":"image_15122025_16_49_34_9525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2cd0dad14afb2db43498426fa019444f.jpg","text":"TemporaryFile(/tmp/multipartBody9124063810641762237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816823018,"filename":"image_15122025_16_50_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bafe1e7463394b95687bd63dc3eeb9ab.jpg","text":"TemporaryFile(/tmp/multipartBody1349908193840227478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816823018,"filename":"image_15122025_16_49_45_10602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399528987","file1":"1399528985","file0":"1399528984","file4":"1399528991","file5":"1399528995","file3":"1399528989"},"map_files_photo_id_array":[{"photo_id":"1399528995","filename":"file5"},{"photo_id":"1399528987","filename":"file2"},{"photo_id":"1399528991","filename":"file4"},{"photo_id":"1399528985","filename":"file1"},{"photo_id":"1399528984","filename":"file0"},{"photo_id":"1399528989","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399528991":["hashtag1","hashtag2"]},{"1399528985":["hashtag1","hashtag2"]},{"1399528984":["hashtag1","hashtag2"]},{"1399528987":["hashtag1","hashtag2"]},{"1399528995":["hashtag1","hashtag2"]},{"1399528989":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399528991, 1399528985, 1399528984, 1399528987, 1399528995, 1399528989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90320062637329 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 17:40:03.179548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/50/image_15122025_16_50_25_10794.jpg', '/home/pi/Desktop/images/15122025/16/50/image_15122025_16_50_35_9665.jpg', '/home/pi/Desktop/images/15122025/16/50/image_15122025_16_50_44_9582.jpg', '/home/pi/Desktop/images/15122025/16/50/image_15122025_16_50_55_10602.jpg', '/home/pi/Desktop/images/15122025/16/50/image_15122025_16_51_04_9746.jpg', '/home/pi/Desktop/images/15122025/16/51/image_15122025_16_51_14_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/50/image_15122025_16_50_25_10794.jpg
/home/pi/Desktop/images/15122025/16/50/image_15122025_16_50_35_9665.jpg
/home/pi/Desktop/images/15122025/16/50/image_15122025_16_50_44_9582.jpg
/home/pi/Desktop/images/15122025/16/50/image_15122025_16_50_55_10602.jpg
/home/pi/Desktop/images/15122025/16/50/image_15122025_16_51_04_9746.jpg
/home/pi/Desktop/images/15122025/16/51/image_15122025_16_51_14_9606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399529010","1399529004","1399529006","1399529002","1399529005","1399529008"],"photo_ids_order":["1399529002","1399529004","1399529005","1399529006","1399529008","1399529010"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6f6d824a3bcc3e9104e76142a344d11c.jpg","text":"TemporaryFile(/tmp/multipartBody2716952143168250073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816865861,"filename":"image_15122025_16_51_14_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0f84a7a6d1775d18a3dfe4b8bcde9f78.jpg","text":"TemporaryFile(/tmp/multipartBody3267501127172270174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816865861,"filename":"image_15122025_16_50_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/15/7d00e604bcad6ce5a6bde8db7c407ba9.jpg","text":"TemporaryFile(/tmp/multipartBody6858929602841148034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816865861,"filename":"image_15122025_16_50_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/15/d12b5a4144fa7ec673680463a46fc1a2.jpg","text":"TemporaryFile(/tmp/multipartBody2062798781932455285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816865861,"filename":"image_15122025_16_50_25_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/15/4235e19ab7f59cf261c654aed72ef55e.jpg","text":"TemporaryFile(/tmp/multipartBody7229307497025678154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816865861,"filename":"image_15122025_16_50_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/15/660784bd4aa5d1557000fa29cfaf29b3.jpg","text":"TemporaryFile(/tmp/multipartBody9162071784118611601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816865861,"filename":"image_15122025_16_51_04_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399529005","file1":"1399529004","file0":"1399529002","file4":"1399529008","file5":"1399529010","file3":"1399529006"},"map_files_photo_id_array":[{"photo_id":"1399529010","filename":"file5"},{"photo_id":"1399529005","filename":"file2"},{"photo_id":"1399529008","filename":"file4"},{"photo_id":"1399529004","filename":"file1"},{"photo_id":"1399529002","filename":"file0"},{"photo_id":"1399529006","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399529010":["hashtag1","hashtag2"]},{"1399529004":["hashtag1","hashtag2"]},{"1399529006":["hashtag1","hashtag2"]},{"1399529002":["hashtag1","hashtag2"]},{"1399529005":["hashtag1","hashtag2"]},{"1399529008":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399529010, 1399529004, 1399529006, 1399529002, 1399529005, 1399529008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.3324670791626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 17:40:42.779336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_24_2553.jpg', '/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_27_2766.jpg', '/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_31_3657.jpg', '/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_33_2754.jpg', '/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_36_2509.jpg', '/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_40_3689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_24_2553.jpg
/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_27_2766.jpg
/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_31_3657.jpg
/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_33_2754.jpg
/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_36_2509.jpg
/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_40_3689.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6012909412384033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 17:41:02.729500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/51/image_15122025_16_51_25_10625.jpg', '/home/pi/Desktop/images/15122025/16/51/image_15122025_16_51_34_9618.jpg', '/home/pi/Desktop/images/15122025/16/51/image_15122025_16_51_45_10661.jpg', '/home/pi/Desktop/images/15122025/16/51/image_15122025_16_51_55_9652.jpg', '/home/pi/Desktop/images/15122025/16/52/image_15122025_16_52_15_10684.jpg', '/home/pi/Desktop/images/15122025/16/52/image_15122025_16_52_25_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/51/image_15122025_16_51_25_10625.jpg
/home/pi/Desktop/images/15122025/16/51/image_15122025_16_51_34_9618.jpg
/home/pi/Desktop/images/15122025/16/51/image_15122025_16_51_45_10661.jpg
/home/pi/Desktop/images/15122025/16/51/image_15122025_16_51_55_9652.jpg
/home/pi/Desktop/images/15122025/16/52/image_15122025_16_52_15_10684.jpg
/home/pi/Desktop/images/15122025/16/52/image_15122025_16_52_25_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":["1399529025","1399529022","1399529024","1399529027","1399529021","1399529023"],"photo_ids_order":["1399529021","1399529022","1399529023","1399529024","1399529025","1399529027"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1ac0cdec5f5b3a633db73cc5afc34061.jpg","text":"TemporaryFile(/tmp/multipartBody2011895424279997550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816923261,"filename":"image_15122025_16_52_15_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b6541544a4bbefc60d6519a5fd9b86b1.jpg","text":"TemporaryFile(/tmp/multipartBody7452134875850168499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816923261,"filename":"image_15122025_16_51_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/15/d9830a4ebb2b22c33ad1b9e06864cabe.jpg","text":"TemporaryFile(/tmp/multipartBody798443449988854059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816923261,"filename":"image_15122025_16_51_55_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6406ca85ed8587ef40112b20e650cc31.jpg","text":"TemporaryFile(/tmp/multipartBody4497742862292518862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816923261,"filename":"image_15122025_16_52_25_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5a22925739f0703d14317be0333ffa77.jpg","text":"TemporaryFile(/tmp/multipartBody6716079461850107117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816923261,"filename":"image_15122025_16_51_25_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/96135094209ed1e7cfdf15935c7a326c.jpg","text":"TemporaryFile(/tmp/multipartBody1110879802020507469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816923261,"filename":"image_15122025_16_51_45_10661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399529023","file1":"1399529022","file0":"1399529021","file4":"1399529025","file5":"1399529027","file3":"1399529024"},"map_files_photo_id_array":[{"photo_id":"1399529027","filename":"file5"},{"photo_id":"1399529023","filename":"file2"},{"photo_id":"1399529025","filename":"file4"},{"photo_id":"1399529022","filename":"file1"},{"photo_id":"1399529021","filename":"file0"},{"photo_id":"1399529024","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399529025":["hashtag1","hashtag2"]},{"1399529022":["hashtag1","hashtag2"]},{"1399529024":["hashtag1","hashtag2"]},{"1399529027":["hashtag1","hashtag2"]},{"1399529021":["hashtag1","hashtag2"]},{"1399529023":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399529025, 1399529022, 1399529024, 1399529027, 1399529021, 1399529023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.597723960876465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 17:41:42.049551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_24_2553.jpg', '/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_27_2766.jpg', '/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_31_3657.jpg', '/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_33_2754.jpg', '/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_36_2509.jpg', '/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_40_3689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_24_2553.jpg
/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_27_2766.jpg
/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_31_3657.jpg
/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_33_2754.jpg
/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_36_2509.jpg
/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_40_3689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399529031","1399529040","1399529039","1399529041","1399529035","1399529038"],"photo_ids_order":["1399529031","1399529035","1399529038","1399529039","1399529040","1399529041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/93fec0945b84c4bd15655a325faa0eac.jpg","text":"TemporaryFile(/tmp/multipartBody539531308049070729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816962635,"filename":"image_05112025_15_38_24_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/15/b5a978f660893385b1fa6a7acd2b12d8.jpg","text":"TemporaryFile(/tmp/multipartBody8376270930720085860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816962635,"filename":"image_05112025_15_38_36_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/15/04f6a5785d2c559e9f613ce821d66dcf.jpg","text":"TemporaryFile(/tmp/multipartBody8057084921041934925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816962635,"filename":"image_05112025_15_38_33_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/15/9a1bd9f95f811085a925f92cfcc921f2.jpg","text":"TemporaryFile(/tmp/multipartBody5639052164431801775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816962635,"filename":"image_05112025_15_38_40_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/15/f166e511c30b2d83da73ac427d7e8e32.jpg","text":"TemporaryFile(/tmp/multipartBody5195820096336139001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816962635,"filename":"image_05112025_15_38_27_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/15/50601901d12d7b16736fb814105593f8.jpg","text":"TemporaryFile(/tmp/multipartBody5244066602723523268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765816962635,"filename":"image_05112025_15_38_31_3657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399529038","file1":"1399529035","file0":"1399529031","file4":"1399529040","file5":"1399529041","file3":"1399529039"},"map_files_photo_id_array":[{"photo_id":"1399529041","filename":"file5"},{"photo_id":"1399529038","filename":"file2"},{"photo_id":"1399529040","filename":"file4"},{"photo_id":"1399529035","filename":"file1"},{"photo_id":"1399529031","filename":"file0"},{"photo_id":"1399529039","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399529031":["hashtag1","hashtag2"]},{"1399529040":["hashtag1","hashtag2"]},{"1399529039":["hashtag1","hashtag2"]},{"1399529041":["hashtag1","hashtag2"]},{"1399529035":["hashtag1","hashtag2"]},{"1399529038":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399529031, 1399529040, 1399529039, 1399529041, 1399529035, 1399529038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77427840232849 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 17:42:22.301814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/52/image_15122025_16_52_45_10599.jpg', '/home/pi/Desktop/images/15122025/16/52/image_15122025_16_52_54_9699.jpg', '/home/pi/Desktop/images/15122025/16/53/image_15122025_16_53_15_10576.jpg', '/home/pi/Desktop/images/15122025/16/53/image_15122025_16_53_24_9635.jpg', '/home/pi/Desktop/images/15122025/16/53/image_15122025_16_53_44_9595.jpg', '/home/pi/Desktop/images/15122025/16/53/image_15122025_16_53_54_9582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/52/image_15122025_16_52_45_10599.jpg
/home/pi/Desktop/images/15122025/16/52/image_15122025_16_52_54_9699.jpg
/home/pi/Desktop/images/15122025/16/53/image_15122025_16_53_15_10576.jpg
/home/pi/Desktop/images/15122025/16/53/image_15122025_16_53_24_9635.jpg
/home/pi/Desktop/images/15122025/16/53/image_15122025_16_53_44_9595.jpg
/home/pi/Desktop/images/15122025/16/53/image_15122025_16_53_54_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":["1399529049","1399529054","1399529042","1399529045","1399529047","1399529043"],"photo_ids_order":["1399529042","1399529043","1399529045","1399529047","1399529049","1399529054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5783dffdea12d9598d80a22db95415bb.jpg","text":"TemporaryFile(/tmp/multipartBody4986641865577513326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817002939,"filename":"image_15122025_16_53_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/15/89169e8d809d3c7acbf4b2619d5671f6.jpg","text":"TemporaryFile(/tmp/multipartBody3746427099933642366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817002939,"filename":"image_15122025_16_53_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/15/70e1dbcf28d8220b177d00f5763b4121.jpg","text":"TemporaryFile(/tmp/multipartBody8786229291194508773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817002939,"filename":"image_15122025_16_52_45_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1388e1ed94dd48ba60d134dc936ce75a.jpg","text":"TemporaryFile(/tmp/multipartBody1076849430784283809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817002939,"filename":"image_15122025_16_53_15_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/119d464cdac64e1bcf1ca4ba3b53ed17.jpg","text":"TemporaryFile(/tmp/multipartBody7051173640001633380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817002939,"filename":"image_15122025_16_53_24_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/84e093708c0bd0f0d37c10748f0c364a.jpg","text":"TemporaryFile(/tmp/multipartBody7718559198775217155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817002939,"filename":"image_15122025_16_52_54_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399529045","file1":"1399529043","file0":"1399529042","file4":"1399529049","file5":"1399529054","file3":"1399529047"},"map_files_photo_id_array":[{"photo_id":"1399529054","filename":"file5"},{"photo_id":"1399529045","filename":"file2"},{"photo_id":"1399529049","filename":"file4"},{"photo_id":"1399529043","filename":"file1"},{"photo_id":"1399529042","filename":"file0"},{"photo_id":"1399529047","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399529049":["hashtag1","hashtag2"]},{"1399529054":["hashtag1","hashtag2"]},{"1399529042":["hashtag1","hashtag2"]},{"1399529045":["hashtag1","hashtag2"]},{"1399529047":["hashtag1","hashtag2"]},{"1399529043":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399529049, 1399529054, 1399529042, 1399529045, 1399529047, 1399529043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2173969745636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 17:43:03.170784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/53/image_15122025_16_54_05_10604.jpg', '/home/pi/Desktop/images/15122025/16/54/image_15122025_16_54_14_9750.jpg', '/home/pi/Desktop/images/15122025/16/54/image_15122025_16_54_24_9660.jpg', '/home/pi/Desktop/images/15122025/16/54/image_15122025_16_54_35_10756.jpg', '/home/pi/Desktop/images/15122025/16/54/image_15122025_16_54_44_9577.jpg', '/home/pi/Desktop/images/15122025/16/54/image_15122025_16_54_54_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/53/image_15122025_16_54_05_10604.jpg
/home/pi/Desktop/images/15122025/16/54/image_15122025_16_54_14_9750.jpg
/home/pi/Desktop/images/15122025/16/54/image_15122025_16_54_24_9660.jpg
/home/pi/Desktop/images/15122025/16/54/image_15122025_16_54_35_10756.jpg
/home/pi/Desktop/images/15122025/16/54/image_15122025_16_54_44_9577.jpg
/home/pi/Desktop/images/15122025/16/54/image_15122025_16_54_54_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399529063","1399529066","1399529059","1399529062","1399529061","1399529064"],"photo_ids_order":["1399529059","1399529061","1399529062","1399529063","1399529064","1399529066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b4ffcaf8926422ef7986ebe269b1db05.jpg","text":"TemporaryFile(/tmp/multipartBody6200861229534064363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817043710,"filename":"image_15122025_16_54_35_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/25c2347bf81adef74ca73f30e44306b0.jpg","text":"TemporaryFile(/tmp/multipartBody5578410366346617004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817043710,"filename":"image_15122025_16_54_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/15/d12af950682e6f0abfb2b2670e5743ed.jpg","text":"TemporaryFile(/tmp/multipartBody4598550382374029686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817043710,"filename":"image_15122025_16_54_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/15/91bb96b1ec0c0e4ad4b4afc53ed2f0d9.jpg","text":"TemporaryFile(/tmp/multipartBody2445478620753156209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817043710,"filename":"image_15122025_16_54_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/15/c404a8fd1523b3631354c5b3f9144c56.jpg","text":"TemporaryFile(/tmp/multipartBody6822834913609867161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817043710,"filename":"image_15122025_16_54_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/15/551afe6b8383271ff72e2c29d616b0b0.jpg","text":"TemporaryFile(/tmp/multipartBody1278510558852141326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817043710,"filename":"image_15122025_16_54_44_9577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399529062","file1":"1399529061","file0":"1399529059","file4":"1399529064","file5":"1399529066","file3":"1399529063"},"map_files_photo_id_array":[{"photo_id":"1399529066","filename":"file5"},{"photo_id":"1399529062","filename":"file2"},{"photo_id":"1399529064","filename":"file4"},{"photo_id":"1399529061","filename":"file1"},{"photo_id":"1399529059","filename":"file0"},{"photo_id":"1399529063","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399529063":["hashtag1","hashtag2"]},{"1399529066":["hashtag1","hashtag2"]},{"1399529059":["hashtag1","hashtag2"]},{"1399529062":["hashtag1","hashtag2"]},{"1399529061":["hashtag1","hashtag2"]},{"1399529064":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399529063, 1399529066, 1399529059, 1399529062, 1399529061, 1399529064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03873038291931 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 17:43:42.554902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_42_2690.jpg', '/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_45_2738.jpg', '/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_49_3705.jpg', '/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_51_2659.jpg', '/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_54_2577.jpg', '/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_58_3734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_42_2690.jpg
/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_45_2738.jpg
/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_49_3705.jpg
/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_51_2659.jpg
/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_54_2577.jpg
/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_58_3734.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6025450229644775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 17:44:03.404923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/55/image_15122025_16_55_14_10052.jpg', '/home/pi/Desktop/images/15122025/16/55/image_15122025_16_55_44_9800.jpg', '/home/pi/Desktop/images/15122025/16/55/image_15122025_16_55_55_10737.jpg', '/home/pi/Desktop/images/15122025/16/56/image_15122025_16_56_14_9603.jpg', '/home/pi/Desktop/images/15122025/16/56/image_15122025_16_56_25_10665.jpg', '/home/pi/Desktop/images/15122025/16/56/image_15122025_16_56_35_9592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/55/image_15122025_16_55_14_10052.jpg
/home/pi/Desktop/images/15122025/16/55/image_15122025_16_55_44_9800.jpg
/home/pi/Desktop/images/15122025/16/55/image_15122025_16_55_55_10737.jpg
/home/pi/Desktop/images/15122025/16/56/image_15122025_16_56_14_9603.jpg
/home/pi/Desktop/images/15122025/16/56/image_15122025_16_56_25_10665.jpg
/home/pi/Desktop/images/15122025/16/56/image_15122025_16_56_35_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":["1399529081","1399529084","1399529083","1399529086","1399529082","1399529079"],"photo_ids_order":["1399529079","1399529081","1399529082","1399529083","1399529084","1399529086"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/097c800e943e0cafcb25efe8c6940b21.jpg","text":"TemporaryFile(/tmp/multipartBody8525885183111908949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817103979,"filename":"image_15122025_16_55_44_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6eadce1e698dd2427a2077f7efb6c912.jpg","text":"TemporaryFile(/tmp/multipartBody5524321601713920311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817103979,"filename":"image_15122025_16_56_25_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9ea8d4f50a24e8b8d5d65fd5004277f5.jpg","text":"TemporaryFile(/tmp/multipartBody742420754546586875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817103979,"filename":"image_15122025_16_56_14_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bd8b15c358b8ab7ca22bd78e5fb53c83.jpg","text":"TemporaryFile(/tmp/multipartBody2291448447530544392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817103979,"filename":"image_15122025_16_56_35_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/677cb51e614984d3785d5c628ab7d6b9.jpg","text":"TemporaryFile(/tmp/multipartBody3683992705707225587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817103979,"filename":"image_15122025_16_55_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/15/7e8fdd25e90b521085c527ca6bdda8f8.jpg","text":"TemporaryFile(/tmp/multipartBody7364365495426394135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817103979,"filename":"image_15122025_16_55_14_10052.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399529082","file1":"1399529081","file0":"1399529079","file4":"1399529084","file5":"1399529086","file3":"1399529083"},"map_files_photo_id_array":[{"photo_id":"1399529086","filename":"file5"},{"photo_id":"1399529082","filename":"file2"},{"photo_id":"1399529084","filename":"file4"},{"photo_id":"1399529081","filename":"file1"},{"photo_id":"1399529079","filename":"file0"},{"photo_id":"1399529083","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399529081":["hashtag1","hashtag2"]},{"1399529084":["hashtag1","hashtag2"]},{"1399529083":["hashtag1","hashtag2"]},{"1399529086":["hashtag1","hashtag2"]},{"1399529082":["hashtag1","hashtag2"]},{"1399529079":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399529081, 1399529084, 1399529083, 1399529086, 1399529082, 1399529079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.581815242767334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 17:44:42.843847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_42_2690.jpg', '/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_45_2738.jpg', '/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_49_3705.jpg', '/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_51_2659.jpg', '/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_54_2577.jpg', '/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_58_3734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_42_2690.jpg
/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_45_2738.jpg
/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_49_3705.jpg
/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_51_2659.jpg
/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_54_2577.jpg
/home/pi/Desktop/images/05112025/15/38/image_05112025_15_38_58_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":["1399529099","1399529096","1399529098","1399529101","1399529094","1399529097"],"photo_ids_order":["1399529094","1399529096","1399529097","1399529098","1399529099","1399529101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/687d7bddd730964f9fe7d86b1a2055ec.jpg","text":"TemporaryFile(/tmp/multipartBody9093386695317601759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817143433,"filename":"image_05112025_15_38_54_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/35e1820734b5ac9c759aaf58e72f2bfa.jpg","text":"TemporaryFile(/tmp/multipartBody3533836559937007281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817143433,"filename":"image_05112025_15_38_45_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/15/d86bbd8a4a555752deba92d493c1eddd.jpg","text":"TemporaryFile(/tmp/multipartBody2538075961030713966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817143433,"filename":"image_05112025_15_38_51_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/15/55205c68e9ef8a89662d89be1f193d25.jpg","text":"TemporaryFile(/tmp/multipartBody4134002408696034549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817143433,"filename":"image_05112025_15_38_58_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/15/6e6c001f0ce19a08d63843b073094a5c.jpg","text":"TemporaryFile(/tmp/multipartBody4880760007903025697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817143433,"filename":"image_05112025_15_38_42_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/15/f1b18f1b09ddfe91bd6dae5f4ecce207.jpg","text":"TemporaryFile(/tmp/multipartBody222089509076562278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817143433,"filename":"image_05112025_15_38_49_3705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399529097","file1":"1399529096","file0":"1399529094","file4":"1399529099","file5":"1399529101","file3":"1399529098"},"map_files_photo_id_array":[{"photo_id":"1399529101","filename":"file5"},{"photo_id":"1399529097","filename":"file2"},{"photo_id":"1399529099","filename":"file4"},{"photo_id":"1399529096","filename":"file1"},{"photo_id":"1399529094","filename":"file0"},{"photo_id":"1399529098","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399529099":["hashtag1","hashtag2"]},{"1399529096":["hashtag1","hashtag2"]},{"1399529098":["hashtag1","hashtag2"]},{"1399529101":["hashtag1","hashtag2"]},{"1399529094":["hashtag1","hashtag2"]},{"1399529097":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399529099, 1399529096, 1399529098, 1399529101, 1399529094, 1399529097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46700882911682 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 17:45:22.163828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/56/image_15122025_16_56_44_9665.jpg', '/home/pi/Desktop/images/15122025/16/56/image_15122025_16_57_04_9537.jpg', '/home/pi/Desktop/images/15122025/16/57/image_15122025_16_57_15_10671.jpg', '/home/pi/Desktop/images/15122025/16/57/image_15122025_16_57_25_9627.jpg', '/home/pi/Desktop/images/15122025/16/57/image_15122025_16_57_34_9563.jpg', '/home/pi/Desktop/images/15122025/16/57/image_15122025_16_57_45_10678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/56/image_15122025_16_56_44_9665.jpg
/home/pi/Desktop/images/15122025/16/56/image_15122025_16_57_04_9537.jpg
/home/pi/Desktop/images/15122025/16/57/image_15122025_16_57_15_10671.jpg
/home/pi/Desktop/images/15122025/16/57/image_15122025_16_57_25_9627.jpg
/home/pi/Desktop/images/15122025/16/57/image_15122025_16_57_34_9563.jpg
/home/pi/Desktop/images/15122025/16/57/image_15122025_16_57_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":["1399529106","1399529111","1399529114","1399529108","1399529102","1399529104"],"photo_ids_order":["1399529102","1399529104","1399529106","1399529108","1399529111","1399529114"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/58fd43ff333c621e30ea52aa1fc94a4b.jpg","text":"TemporaryFile(/tmp/multipartBody3045244634851620096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817182703,"filename":"image_15122025_16_57_15_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5ed0a0d5e99b0b8e0a7fd4b1b408209c.jpg","text":"TemporaryFile(/tmp/multipartBody2548326335818631479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817182703,"filename":"image_15122025_16_57_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/15/3407bc73e69568ebd4dcfae687aa7900.jpg","text":"TemporaryFile(/tmp/multipartBody5232960313057095595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817182703,"filename":"image_15122025_16_57_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/15/d4afde7824e1c8d5f605df4b06756d9b.jpg","text":"TemporaryFile(/tmp/multipartBody546008578516022313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817182703,"filename":"image_15122025_16_57_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/15/3274ad55130c665355277490b2bae266.jpg","text":"TemporaryFile(/tmp/multipartBody2559842004591506907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817182703,"filename":"image_15122025_16_56_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/15/2ed0ce0638ff324e2e79aadd71ff2d7d.jpg","text":"TemporaryFile(/tmp/multipartBody523951653439238101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817182703,"filename":"image_15122025_16_57_04_9537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399529106","file1":"1399529104","file0":"1399529102","file4":"1399529111","file5":"1399529114","file3":"1399529108"},"map_files_photo_id_array":[{"photo_id":"1399529114","filename":"file5"},{"photo_id":"1399529106","filename":"file2"},{"photo_id":"1399529111","filename":"file4"},{"photo_id":"1399529104","filename":"file1"},{"photo_id":"1399529102","filename":"file0"},{"photo_id":"1399529108","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399529106":["hashtag1","hashtag2"]},{"1399529111":["hashtag1","hashtag2"]},{"1399529114":["hashtag1","hashtag2"]},{"1399529108":["hashtag1","hashtag2"]},{"1399529102":["hashtag1","hashtag2"]},{"1399529104":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399529106, 1399529111, 1399529114, 1399529108, 1399529102, 1399529104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40074419975281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 17:46:02.228835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/57/image_15122025_16_57_55_9615.jpg', '/home/pi/Desktop/images/15122025/16/57/image_15122025_16_58_04_9725.jpg', '/home/pi/Desktop/images/15122025/16/58/image_15122025_16_58_15_10681.jpg', '/home/pi/Desktop/images/15122025/16/58/image_15122025_16_58_25_9631.jpg', '/home/pi/Desktop/images/15122025/16/58/image_15122025_16_58_35_10555.jpg', '/home/pi/Desktop/images/15122025/16/58/image_15122025_16_58_45_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/57/image_15122025_16_57_55_9615.jpg
/home/pi/Desktop/images/15122025/16/57/image_15122025_16_58_04_9725.jpg
/home/pi/Desktop/images/15122025/16/58/image_15122025_16_58_15_10681.jpg
/home/pi/Desktop/images/15122025/16/58/image_15122025_16_58_25_9631.jpg
/home/pi/Desktop/images/15122025/16/58/image_15122025_16_58_35_10555.jpg
/home/pi/Desktop/images/15122025/16/58/image_15122025_16_58_45_9708.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.43175554275512695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 17:46:11.803282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 17:46:21.879001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/57/image_15122025_16_57_55_9615.jpg', '/home/pi/Desktop/images/15122025/16/57/image_15122025_16_58_04_9725.jpg', '/home/pi/Desktop/images/15122025/16/58/image_15122025_16_58_15_10681.jpg', '/home/pi/Desktop/images/15122025/16/58/image_15122025_16_58_25_9631.jpg', '/home/pi/Desktop/images/15122025/16/58/image_15122025_16_58_35_10555.jpg', '/home/pi/Desktop/images/15122025/16/58/image_15122025_16_58_45_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/57/image_15122025_16_57_55_9615.jpg
/home/pi/Desktop/images/15122025/16/57/image_15122025_16_58_04_9725.jpg
/home/pi/Desktop/images/15122025/16/58/image_15122025_16_58_15_10681.jpg
/home/pi/Desktop/images/15122025/16/58/image_15122025_16_58_25_9631.jpg
/home/pi/Desktop/images/15122025/16/58/image_15122025_16_58_35_10555.jpg
/home/pi/Desktop/images/15122025/16/58/image_15122025_16_58_45_9708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399529124","1399529132","1399529126","1399529120","1399529128","1399529122"],"photo_ids_order":["1399529120","1399529122","1399529124","1399529126","1399529128","1399529132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/230e428972678a71589dc1d1debdfe4c.jpg","text":"TemporaryFile(/tmp/multipartBody1784441552009203972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817242404,"filename":"image_15122025_16_58_15_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7f9f53101daa21620d643aa7421b6492.jpg","text":"TemporaryFile(/tmp/multipartBody1798934596448486866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817242404,"filename":"image_15122025_16_58_45_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3609f3d20fc2192b91e402c26291d2f0.jpg","text":"TemporaryFile(/tmp/multipartBody3889873386727479442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817242404,"filename":"image_15122025_16_58_25_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/53092dd7dfcecb1f81f5bc44b62c229f.jpg","text":"TemporaryFile(/tmp/multipartBody7587199295506145057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817242404,"filename":"image_15122025_16_57_55_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/700558fb0eca7e3b60e52db91ab93b98.jpg","text":"TemporaryFile(/tmp/multipartBody4994777895674466171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817242404,"filename":"image_15122025_16_58_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/15/92031df2f72220a6b5071da1a59380b7.jpg","text":"TemporaryFile(/tmp/multipartBody7585206739403954991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817242404,"filename":"image_15122025_16_58_04_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399529124","file1":"1399529122","file0":"1399529120","file4":"1399529128","file5":"1399529132","file3":"1399529126"},"map_files_photo_id_array":[{"photo_id":"1399529132","filename":"file5"},{"photo_id":"1399529124","filename":"file2"},{"photo_id":"1399529128","filename":"file4"},{"photo_id":"1399529122","filename":"file1"},{"photo_id":"1399529120","filename":"file0"},{"photo_id":"1399529126","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399529124":["hashtag1","hashtag2"]},{"1399529132":["hashtag1","hashtag2"]},{"1399529126":["hashtag1","hashtag2"]},{"1399529120":["hashtag1","hashtag2"]},{"1399529128":["hashtag1","hashtag2"]},{"1399529122":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399529124, 1399529132, 1399529126, 1399529120, 1399529128, 1399529122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87932324409485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 17:47:02.791692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/16/58/image_15122025_16_58_55_9811.jpg', '/home/pi/Desktop/images/15122025/16/59/image_15122025_16_59_15_10562.jpg', '/home/pi/Desktop/images/15122025/16/59/image_15122025_16_59_24_9617.jpg', '/home/pi/Desktop/images/15122025/16/59/image_15122025_16_59_35_10591.jpg', '/home/pi/Desktop/images/15122025/16/59/image_15122025_16_59_45_9710.jpg', '/home/pi/Desktop/images/15122025/16/59/image_15122025_16_59_55_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/16/58/image_15122025_16_58_55_9811.jpg
/home/pi/Desktop/images/15122025/16/59/image_15122025_16_59_15_10562.jpg
/home/pi/Desktop/images/15122025/16/59/image_15122025_16_59_24_9617.jpg
/home/pi/Desktop/images/15122025/16/59/image_15122025_16_59_35_10591.jpg
/home/pi/Desktop/images/15122025/16/59/image_15122025_16_59_45_9710.jpg
/home/pi/Desktop/images/15122025/16/59/image_15122025_16_59_55_9775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399529145","1399529141","1399529144","1399529147","1399529143","1399529142"],"photo_ids_order":["1399529141","1399529142","1399529143","1399529144","1399529145","1399529147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/631c40cfe7a8181ab20607f4ea19bbe2.jpg","text":"TemporaryFile(/tmp/multipartBody805035844302140155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817283334,"filename":"image_15122025_16_59_45_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6e7287bfd7e1c9831f3c5ff595f69172.jpg","text":"TemporaryFile(/tmp/multipartBody6219434347081151516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817283334,"filename":"image_15122025_16_58_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/15/aa8f19bba2166499b9bdc72399908f4c.jpg","text":"TemporaryFile(/tmp/multipartBody4161175051490338792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817283334,"filename":"image_15122025_16_59_35_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/44d7a6cc1fffd2adc6414fc4bd1e34ed.jpg","text":"TemporaryFile(/tmp/multipartBody8774099830950540892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817283334,"filename":"image_15122025_16_59_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/15/4692a99f92e13f7645747c2a1b87e6e8.jpg","text":"TemporaryFile(/tmp/multipartBody6516942250168173952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817283334,"filename":"image_15122025_16_59_24_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/29d50bf20704b0a64bb54b0c97690aa0.jpg","text":"TemporaryFile(/tmp/multipartBody2670493384350885388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817283334,"filename":"image_15122025_16_59_15_10562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399529143","file1":"1399529142","file0":"1399529141","file4":"1399529145","file5":"1399529147","file3":"1399529144"},"map_files_photo_id_array":[{"photo_id":"1399529147","filename":"file5"},{"photo_id":"1399529143","filename":"file2"},{"photo_id":"1399529145","filename":"file4"},{"photo_id":"1399529142","filename":"file1"},{"photo_id":"1399529141","filename":"file0"},{"photo_id":"1399529144","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399529145":["hashtag1","hashtag2"]},{"1399529141":["hashtag1","hashtag2"]},{"1399529144":["hashtag1","hashtag2"]},{"1399529147":["hashtag1","hashtag2"]},{"1399529143":["hashtag1","hashtag2"]},{"1399529142":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399529145, 1399529141, 1399529144, 1399529147, 1399529143, 1399529142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.543211460113525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 17:47:42.043409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_01_3191.jpg', '/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_04_2670.jpg', '/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_06_2649.jpg', '/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_10_3570.jpg', '/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_12_2627.jpg', '/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_15_2844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_01_3191.jpg
/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_04_2670.jpg
/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_06_2649.jpg
/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_10_3570.jpg
/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_12_2627.jpg
/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_15_2844.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399529151","1399529156","1399529159","1399529158","1399529161","1399529160"],"photo_ids_order":["1399529151","1399529156","1399529158","1399529159","1399529160","1399529161"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4a6e877f5ce5b0e333d9509f5a8725c7.jpg","text":"TemporaryFile(/tmp/multipartBody4745843727471060436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817322741,"filename":"image_05112025_15_39_01_3191.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/52050ba41845210db6cfddb4fec5fd3a.jpg","text":"TemporaryFile(/tmp/multipartBody7060465503650644575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817322741,"filename":"image_05112025_15_39_04_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/15/730d2b2b606319917d27a1d9ff1f5c24.jpg","text":"TemporaryFile(/tmp/multipartBody3920997884469499638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817322741,"filename":"image_05112025_15_39_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/15/fdb55ffe0f824a50f3e86aaa9661520b.jpg","text":"TemporaryFile(/tmp/multipartBody3228737915976632340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817322741,"filename":"image_05112025_15_39_06_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/15/e3ecab1df1cf83932bb0985a65e649c1.jpg","text":"TemporaryFile(/tmp/multipartBody2268132507471840606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817322741,"filename":"image_05112025_15_39_15_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/15/0b844d5a687617821b3132235d88b470.jpg","text":"TemporaryFile(/tmp/multipartBody6871462674034910372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817322741,"filename":"image_05112025_15_39_12_2627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399529158","file1":"1399529156","file0":"1399529151","file4":"1399529160","file5":"1399529161","file3":"1399529159"},"map_files_photo_id_array":[{"photo_id":"1399529161","filename":"file5"},{"photo_id":"1399529158","filename":"file2"},{"photo_id":"1399529160","filename":"file4"},{"photo_id":"1399529156","filename":"file1"},{"photo_id":"1399529151","filename":"file0"},{"photo_id":"1399529159","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399529151":["hashtag1","hashtag2"]},{"1399529156":["hashtag1","hashtag2"]},{"1399529159":["hashtag1","hashtag2"]},{"1399529158":["hashtag1","hashtag2"]},{"1399529161":["hashtag1","hashtag2"]},{"1399529160":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399529151, 1399529156, 1399529159, 1399529158, 1399529161, 1399529160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22972846031189 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 17:48:22.296261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/00/image_15122025_17_00_45_9605.jpg', '/home/pi/Desktop/images/15122025/17/00/image_15122025_17_00_56_10815.jpg', '/home/pi/Desktop/images/15122025/17/00/image_15122025_17_01_05_9645.jpg', '/home/pi/Desktop/images/15122025/17/01/image_15122025_17_01_15_9639.jpg', '/home/pi/Desktop/images/15122025/17/01/image_15122025_17_01_25_9737.jpg', '/home/pi/Desktop/images/15122025/17/01/image_15122025_17_01_35_10690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/00/image_15122025_17_00_45_9605.jpg
/home/pi/Desktop/images/15122025/17/00/image_15122025_17_00_56_10815.jpg
/home/pi/Desktop/images/15122025/17/00/image_15122025_17_01_05_9645.jpg
/home/pi/Desktop/images/15122025/17/01/image_15122025_17_01_15_9639.jpg
/home/pi/Desktop/images/15122025/17/01/image_15122025_17_01_25_9737.jpg
/home/pi/Desktop/images/15122025/17/01/image_15122025_17_01_35_10690.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4169654846191406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 17:48:32.404957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 17:48:42.244669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_18_2759.jpg', '/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_22_3615.jpg', '/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_24_2587.jpg', '/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_27_2646.jpg', '/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_31_3642.jpg', '/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_33_2758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_18_2759.jpg
/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_22_3615.jpg
/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_24_2587.jpg
/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_27_2646.jpg
/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_31_3642.jpg
/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_33_2758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399529172","1399529177","1399529176","1399529179","1399529175","1399529178"],"photo_ids_order":["1399529172","1399529175","1399529176","1399529177","1399529178","1399529179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3d24e8bdc84c331bd344e50f253fe913.jpg","text":"TemporaryFile(/tmp/multipartBody8435651927906091394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817382973,"filename":"image_05112025_15_39_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/15/644c0893a656aadd49e6230bb9871ca8.jpg","text":"TemporaryFile(/tmp/multipartBody8100960647899930449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817382973,"filename":"image_05112025_15_39_27_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/15/4c17e7996754499872f5b0caeca5caa2.jpg","text":"TemporaryFile(/tmp/multipartBody4843679419545254430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817382973,"filename":"image_05112025_15_39_24_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/15/090a6d6ac99ba95e8c51ab14daf435c4.jpg","text":"TemporaryFile(/tmp/multipartBody8540571202553834233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817382973,"filename":"image_05112025_15_39_33_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f7c62f590abff61cce52f7adef20825d.jpg","text":"TemporaryFile(/tmp/multipartBody9063603529212075598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817382973,"filename":"image_05112025_15_39_22_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/15/a866c410b601032e613bcb09a288277c.jpg","text":"TemporaryFile(/tmp/multipartBody6251635694467472363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817382973,"filename":"image_05112025_15_39_31_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399529176","file1":"1399529175","file0":"1399529172","file4":"1399529178","file5":"1399529179","file3":"1399529177"},"map_files_photo_id_array":[{"photo_id":"1399529179","filename":"file5"},{"photo_id":"1399529176","filename":"file2"},{"photo_id":"1399529178","filename":"file4"},{"photo_id":"1399529175","filename":"file1"},{"photo_id":"1399529172","filename":"file0"},{"photo_id":"1399529177","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399529172":["hashtag1","hashtag2"]},{"1399529177":["hashtag1","hashtag2"]},{"1399529176":["hashtag1","hashtag2"]},{"1399529179":["hashtag1","hashtag2"]},{"1399529175":["hashtag1","hashtag2"]},{"1399529178":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399529172, 1399529177, 1399529176, 1399529179, 1399529175, 1399529178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59643483161926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 17:49:22.506202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/00/image_15122025_17_00_45_9605.jpg', '/home/pi/Desktop/images/15122025/17/00/image_15122025_17_00_56_10815.jpg', '/home/pi/Desktop/images/15122025/17/00/image_15122025_17_01_05_9645.jpg', '/home/pi/Desktop/images/15122025/17/01/image_15122025_17_01_15_9639.jpg', '/home/pi/Desktop/images/15122025/17/01/image_15122025_17_01_25_9737.jpg', '/home/pi/Desktop/images/15122025/17/01/image_15122025_17_01_35_10690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/00/image_15122025_17_00_45_9605.jpg
/home/pi/Desktop/images/15122025/17/00/image_15122025_17_00_56_10815.jpg
/home/pi/Desktop/images/15122025/17/00/image_15122025_17_01_05_9645.jpg
/home/pi/Desktop/images/15122025/17/01/image_15122025_17_01_15_9639.jpg
/home/pi/Desktop/images/15122025/17/01/image_15122025_17_01_25_9737.jpg
/home/pi/Desktop/images/15122025/17/01/image_15122025_17_01_35_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":["1399529189","1399529183","1399529191","1399529193","1399529196","1399529181"],"photo_ids_order":["1399529181","1399529183","1399529189","1399529191","1399529193","1399529196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e4b84a7c8791f91413c3c8a51ec255b6.jpg","text":"TemporaryFile(/tmp/multipartBody5685038443044077304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817423034,"filename":"image_15122025_17_01_05_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/81d1b98bf53c8525012fc5397e5e9253.jpg","text":"TemporaryFile(/tmp/multipartBody3980504209364597524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817423034,"filename":"image_15122025_17_00_56_10815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6b0240e161bad1438b2647a00ed4ae9f.jpg","text":"TemporaryFile(/tmp/multipartBody861524972989179623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817423034,"filename":"image_15122025_17_01_15_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/56738c02eb1f40524ec9cd62e9ed0763.jpg","text":"TemporaryFile(/tmp/multipartBody4231410477510352521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817423034,"filename":"image_15122025_17_01_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/15/f274cee54c586393232c7dc053754ecb.jpg","text":"TemporaryFile(/tmp/multipartBody3537069028436889092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817423034,"filename":"image_15122025_17_01_35_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/17a05b4ab3da1fe945d464769f430600.jpg","text":"TemporaryFile(/tmp/multipartBody1027649313793806073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817423034,"filename":"image_15122025_17_00_45_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399529189","file1":"1399529183","file0":"1399529181","file4":"1399529193","file5":"1399529196","file3":"1399529191"},"map_files_photo_id_array":[{"photo_id":"1399529196","filename":"file5"},{"photo_id":"1399529189","filename":"file2"},{"photo_id":"1399529193","filename":"file4"},{"photo_id":"1399529183","filename":"file1"},{"photo_id":"1399529181","filename":"file0"},{"photo_id":"1399529191","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399529189":["hashtag1","hashtag2"]},{"1399529183":["hashtag1","hashtag2"]},{"1399529191":["hashtag1","hashtag2"]},{"1399529193":["hashtag1","hashtag2"]},{"1399529196":["hashtag1","hashtag2"]},{"1399529181":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399529189, 1399529183, 1399529191, 1399529193, 1399529196, 1399529181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.55797719955444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 17:50:11.830155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 17:50:21.899481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/01/image_15122025_17_01_45_9561.jpg', '/home/pi/Desktop/images/15122025/17/01/image_15122025_17_01_56_10671.jpg', '/home/pi/Desktop/images/15122025/17/01/image_15122025_17_02_05_9846.jpg', '/home/pi/Desktop/images/15122025/17/02/image_15122025_17_02_15_9797.jpg', '/home/pi/Desktop/images/15122025/17/02/image_15122025_17_02_25_9748.jpg', '/home/pi/Desktop/images/15122025/17/02/image_15122025_17_02_36_10515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/01/image_15122025_17_01_45_9561.jpg
/home/pi/Desktop/images/15122025/17/01/image_15122025_17_01_56_10671.jpg
/home/pi/Desktop/images/15122025/17/01/image_15122025_17_02_05_9846.jpg
/home/pi/Desktop/images/15122025/17/02/image_15122025_17_02_15_9797.jpg
/home/pi/Desktop/images/15122025/17/02/image_15122025_17_02_25_9748.jpg
/home/pi/Desktop/images/15122025/17/02/image_15122025_17_02_36_10515.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399529211","1399529205","1399529208","1399529201","1399529203","1399529199"],"photo_ids_order":["1399529199","1399529201","1399529203","1399529205","1399529208","1399529211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9727564e1c60d2cf0190f7cad4984875.jpg","text":"TemporaryFile(/tmp/multipartBody3595897434978789235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817482418,"filename":"image_15122025_17_02_36_10515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/21821939c369c7f744483169640e392d.jpg","text":"TemporaryFile(/tmp/multipartBody1436205043622514354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817482418,"filename":"image_15122025_17_02_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/15/dab1d5ea11bc38ca71e2e3bda2d322d5.jpg","text":"TemporaryFile(/tmp/multipartBody4425765982985915249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817482418,"filename":"image_15122025_17_02_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/15/2b8323d1b8344d33611d0e8b5d398002.jpg","text":"TemporaryFile(/tmp/multipartBody3890586745859938983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817482418,"filename":"image_15122025_17_01_56_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/27f3c94ca969f6e3bd7f45c9cfc0df72.jpg","text":"TemporaryFile(/tmp/multipartBody959684097562028878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817482418,"filename":"image_15122025_17_02_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/15/49b8a7c5eb0f8f35528eafd200b92ae2.jpg","text":"TemporaryFile(/tmp/multipartBody7391991591999697170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817482418,"filename":"image_15122025_17_01_45_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399529203","file1":"1399529201","file0":"1399529199","file4":"1399529208","file5":"1399529211","file3":"1399529205"},"map_files_photo_id_array":[{"photo_id":"1399529211","filename":"file5"},{"photo_id":"1399529203","filename":"file2"},{"photo_id":"1399529208","filename":"file4"},{"photo_id":"1399529201","filename":"file1"},{"photo_id":"1399529199","filename":"file0"},{"photo_id":"1399529205","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399529211":["hashtag1","hashtag2"]},{"1399529205":["hashtag1","hashtag2"]},{"1399529208":["hashtag1","hashtag2"]},{"1399529201":["hashtag1","hashtag2"]},{"1399529203":["hashtag1","hashtag2"]},{"1399529199":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399529211, 1399529205, 1399529208, 1399529201, 1399529203, 1399529199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80569410324097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 17:51:02.660310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/02/image_15122025_17_02_55_9644.jpg', '/home/pi/Desktop/images/15122025/17/02/image_15122025_17_03_05_10511.jpg', '/home/pi/Desktop/images/15122025/17/03/image_15122025_17_03_35_9700.jpg', '/home/pi/Desktop/images/15122025/17/03/image_15122025_17_03_45_9533.jpg', '/home/pi/Desktop/images/15122025/17/03/image_15122025_17_03_56_10681.jpg', '/home/pi/Desktop/images/15122025/17/04/image_15122025_17_04_26_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/02/image_15122025_17_02_55_9644.jpg
/home/pi/Desktop/images/15122025/17/02/image_15122025_17_03_05_10511.jpg
/home/pi/Desktop/images/15122025/17/03/image_15122025_17_03_35_9700.jpg
/home/pi/Desktop/images/15122025/17/03/image_15122025_17_03_45_9533.jpg
/home/pi/Desktop/images/15122025/17/03/image_15122025_17_03_56_10681.jpg
/home/pi/Desktop/images/15122025/17/04/image_15122025_17_04_26_10626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399529229","1399529214","1399529217","1399529216","1399529213","1399529215"],"photo_ids_order":["1399529213","1399529214","1399529215","1399529216","1399529217","1399529229"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2652d36d8c3921a7943b038d5935419e.jpg","text":"TemporaryFile(/tmp/multipartBody8880788743168511779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817523233,"filename":"image_15122025_17_04_26_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/15/9ee63fe9a935a4ece09d8b6f572df3a6.jpg","text":"TemporaryFile(/tmp/multipartBody7365646484539915201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817523233,"filename":"image_15122025_17_03_05_10511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a87c1ecfb4d6e73b8a932adf8aac9382.jpg","text":"TemporaryFile(/tmp/multipartBody5053288011417654963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817523233,"filename":"image_15122025_17_03_56_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/15/9dbf4ed0234d9dbf88971f54eb644017.jpg","text":"TemporaryFile(/tmp/multipartBody8607525435455565285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817523233,"filename":"image_15122025_17_03_45_9533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9f0bc86145afee6acfcf7dd64670dfb5.jpg","text":"TemporaryFile(/tmp/multipartBody4409633939428978261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817523233,"filename":"image_15122025_17_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/15/236dea82da11303fb7469d6d96a0598e.jpg","text":"TemporaryFile(/tmp/multipartBody2192473356446789931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817523233,"filename":"image_15122025_17_03_35_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399529215","file1":"1399529214","file0":"1399529213","file4":"1399529217","file5":"1399529229","file3":"1399529216"},"map_files_photo_id_array":[{"photo_id":"1399529229","filename":"file5"},{"photo_id":"1399529215","filename":"file2"},{"photo_id":"1399529217","filename":"file4"},{"photo_id":"1399529214","filename":"file1"},{"photo_id":"1399529213","filename":"file0"},{"photo_id":"1399529216","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399529229":["hashtag1","hashtag2"]},{"1399529214":["hashtag1","hashtag2"]},{"1399529217":["hashtag1","hashtag2"]},{"1399529216":["hashtag1","hashtag2"]},{"1399529213":["hashtag1","hashtag2"]},{"1399529215":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399529229, 1399529214, 1399529217, 1399529216, 1399529213, 1399529215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67902731895447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 17:51:42.113854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_36_2553.jpg', '/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_40_3675.jpg', '/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_42_2588.jpg', '/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_46_3531.jpg', '/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_48_2517.jpg', '/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_51_2753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_36_2553.jpg
/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_40_3675.jpg
/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_42_2588.jpg
/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_46_3531.jpg
/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_48_2517.jpg
/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_51_2753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399529238","1399529261","1399529234","1399529324","1399529239","1399529298"],"photo_ids_order":["1399529234","1399529238","1399529239","1399529261","1399529298","1399529324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bb539500742cacc9784c4817400e48a6.jpg","text":"TemporaryFile(/tmp/multipartBody4120008711413654823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817562845,"filename":"image_05112025_15_39_40_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/15/9e2ef5ff7f5aa9d939e4344002268b35.jpg","text":"TemporaryFile(/tmp/multipartBody2531290218670042149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817562845,"filename":"image_05112025_15_39_46_3531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b03ab36cd7f387a8c1cfe34700658cd7.jpg","text":"TemporaryFile(/tmp/multipartBody400479327400324824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817562845,"filename":"image_05112025_15_39_36_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/15/6a4ff880204a24cc0d3eae7c749f0ff2.jpg","text":"TemporaryFile(/tmp/multipartBody2784705344928108045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817562845,"filename":"image_05112025_15_39_51_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/15/87b95744717e47a12764707022b991f5.jpg","text":"TemporaryFile(/tmp/multipartBody7866728314254024005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817562845,"filename":"image_05112025_15_39_42_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0b42c869ee319488942dcf14610fccdc.jpg","text":"TemporaryFile(/tmp/multipartBody1486061121132454795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817562845,"filename":"image_05112025_15_39_48_2517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399529239","file1":"1399529238","file0":"1399529234","file4":"1399529298","file5":"1399529324","file3":"1399529261"},"map_files_photo_id_array":[{"photo_id":"1399529324","filename":"file5"},{"photo_id":"1399529239","filename":"file2"},{"photo_id":"1399529298","filename":"file4"},{"photo_id":"1399529238","filename":"file1"},{"photo_id":"1399529234","filename":"file0"},{"photo_id":"1399529261","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399529238":["hashtag1","hashtag2"]},{"1399529261":["hashtag1","hashtag2"]},{"1399529234":["hashtag1","hashtag2"]},{"1399529324":["hashtag1","hashtag2"]},{"1399529239":["hashtag1","hashtag2"]},{"1399529298":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399529238, 1399529261, 1399529234, 1399529324, 1399529239, 1399529298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.710517168045044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 17:52:22.401705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/04/image_15122025_17_04_45_9577.jpg', '/home/pi/Desktop/images/15122025/17/04/image_15122025_17_04_55_10570.jpg', '/home/pi/Desktop/images/15122025/17/06/image_15122025_17_06_13_10039.jpg', '/home/pi/Desktop/images/15122025/17/06/image_15122025_17_06_24_10706.jpg', '/home/pi/Desktop/images/15122025/17/06/image_15122025_17_06_34_9668.jpg', '/home/pi/Desktop/images/15122025/17/06/image_15122025_17_06_44_10587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/04/image_15122025_17_04_45_9577.jpg
/home/pi/Desktop/images/15122025/17/04/image_15122025_17_04_55_10570.jpg
/home/pi/Desktop/images/15122025/17/06/image_15122025_17_06_13_10039.jpg
/home/pi/Desktop/images/15122025/17/06/image_15122025_17_06_24_10706.jpg
/home/pi/Desktop/images/15122025/17/06/image_15122025_17_06_34_9668.jpg
/home/pi/Desktop/images/15122025/17/06/image_15122025_17_06_44_10587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399529337","1399529325","1399529328","1399529330","1399529332","1399529326"],"photo_ids_order":["1399529325","1399529326","1399529328","1399529330","1399529332","1399529337"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/40948407b8bd1b65a20ff5139d630aa9.jpg","text":"TemporaryFile(/tmp/multipartBody420802922052633424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817602965,"filename":"image_15122025_17_06_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/15/9cce550b194df9a77342f35625128c2a.jpg","text":"TemporaryFile(/tmp/multipartBody6478289973566628678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817602965,"filename":"image_15122025_17_04_45_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e6ea181691aeb412ab1d30bae928470c.jpg","text":"TemporaryFile(/tmp/multipartBody3037184880904736659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817602965,"filename":"image_15122025_17_06_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/15/c5236181313839f2070e1914fb0059ad.jpg","text":"TemporaryFile(/tmp/multipartBody6775504735807815869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817602965,"filename":"image_15122025_17_06_24_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/15/2f87e6df6cbe29691fa2210f7ad42eb5.jpg","text":"TemporaryFile(/tmp/multipartBody3661525886416044988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817602965,"filename":"image_15122025_17_06_34_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fd0c3d31c91ee23084622d6b52778ab2.jpg","text":"TemporaryFile(/tmp/multipartBody8129744305921889826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817602965,"filename":"image_15122025_17_04_55_10570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399529328","file1":"1399529326","file0":"1399529325","file4":"1399529332","file5":"1399529337","file3":"1399529330"},"map_files_photo_id_array":[{"photo_id":"1399529337","filename":"file5"},{"photo_id":"1399529328","filename":"file2"},{"photo_id":"1399529332","filename":"file4"},{"photo_id":"1399529326","filename":"file1"},{"photo_id":"1399529325","filename":"file0"},{"photo_id":"1399529330","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399529337":["hashtag1","hashtag2"]},{"1399529325":["hashtag1","hashtag2"]},{"1399529328":["hashtag1","hashtag2"]},{"1399529330":["hashtag1","hashtag2"]},{"1399529332":["hashtag1","hashtag2"]},{"1399529326":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399529337, 1399529325, 1399529328, 1399529330, 1399529332, 1399529326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.484261989593506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 17:53:03.352131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/06/image_15122025_17_06_54_9659.jpg', '/home/pi/Desktop/images/15122025/17/06/image_15122025_17_07_04_9712.jpg', '/home/pi/Desktop/images/15122025/17/07/image_15122025_17_07_14_9683.jpg', '/home/pi/Desktop/images/15122025/17/07/image_15122025_17_07_24_10686.jpg', '/home/pi/Desktop/images/15122025/17/07/image_15122025_17_07_34_9799.jpg', '/home/pi/Desktop/images/15122025/17/07/image_15122025_17_07_44_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/06/image_15122025_17_06_54_9659.jpg
/home/pi/Desktop/images/15122025/17/06/image_15122025_17_07_04_9712.jpg
/home/pi/Desktop/images/15122025/17/07/image_15122025_17_07_14_9683.jpg
/home/pi/Desktop/images/15122025/17/07/image_15122025_17_07_24_10686.jpg
/home/pi/Desktop/images/15122025/17/07/image_15122025_17_07_34_9799.jpg
/home/pi/Desktop/images/15122025/17/07/image_15122025_17_07_44_9731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399529346","1399529345","1399529342","1399529344","1399529347","1399529349"],"photo_ids_order":["1399529342","1399529344","1399529345","1399529346","1399529347","1399529349"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fb7c88a50f649f56d4fc1de4053ca1f1.jpg","text":"TemporaryFile(/tmp/multipartBody3280208594406588360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817643957,"filename":"image_15122025_17_07_24_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/daf7af033b00f612934542472e9c1752.jpg","text":"TemporaryFile(/tmp/multipartBody2954321619045682553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817643957,"filename":"image_15122025_17_07_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/15/b900157af691419301279364f5b6c7b5.jpg","text":"TemporaryFile(/tmp/multipartBody7209890970652818034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817643957,"filename":"image_15122025_17_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/15/e237bb25aa9390ff7961e66f2ba19e88.jpg","text":"TemporaryFile(/tmp/multipartBody2752964710041606074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817643957,"filename":"image_15122025_17_07_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/15/e9489dc589e4d7e630900a1ba8687cf7.jpg","text":"TemporaryFile(/tmp/multipartBody3782792070944427468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817643957,"filename":"image_15122025_17_07_34_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3789b5d1083fb756d6525cca2660d284.jpg","text":"TemporaryFile(/tmp/multipartBody4708968299969256229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817643957,"filename":"image_15122025_17_07_44_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399529345","file1":"1399529344","file0":"1399529342","file4":"1399529347","file5":"1399529349","file3":"1399529346"},"map_files_photo_id_array":[{"photo_id":"1399529349","filename":"file5"},{"photo_id":"1399529345","filename":"file2"},{"photo_id":"1399529347","filename":"file4"},{"photo_id":"1399529344","filename":"file1"},{"photo_id":"1399529342","filename":"file0"},{"photo_id":"1399529346","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399529346":["hashtag1","hashtag2"]},{"1399529345":["hashtag1","hashtag2"]},{"1399529342":["hashtag1","hashtag2"]},{"1399529344":["hashtag1","hashtag2"]},{"1399529347":["hashtag1","hashtag2"]},{"1399529349":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399529346, 1399529345, 1399529342, 1399529344, 1399529347, 1399529349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3693790435791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 17:53:42.674909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_56_4772.jpg', '/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_57_1529.jpg', '/home/pi/Desktop/images/05112025/15/39/image_05112025_15_40_00_2636.jpg', '/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_04_3644.jpg', '/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_07_3016.jpg', '/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_09_2818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_56_4772.jpg
/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_57_1529.jpg
/home/pi/Desktop/images/05112025/15/39/image_05112025_15_40_00_2636.jpg
/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_04_3644.jpg
/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_07_3016.jpg
/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_09_2818.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5931997299194336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 17:54:02.391943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/07/image_15122025_17_08_04_10567.jpg', '/home/pi/Desktop/images/15122025/17/08/image_15122025_17_08_14_9858.jpg', '/home/pi/Desktop/images/15122025/17/08/image_15122025_17_08_24_9670.jpg', '/home/pi/Desktop/images/15122025/17/08/image_15122025_17_08_34_10599.jpg', '/home/pi/Desktop/images/15122025/17/08/image_15122025_17_08_44_9567.jpg', '/home/pi/Desktop/images/15122025/17/08/image_15122025_17_08_54_10610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/07/image_15122025_17_08_04_10567.jpg
/home/pi/Desktop/images/15122025/17/08/image_15122025_17_08_14_9858.jpg
/home/pi/Desktop/images/15122025/17/08/image_15122025_17_08_24_9670.jpg
/home/pi/Desktop/images/15122025/17/08/image_15122025_17_08_34_10599.jpg
/home/pi/Desktop/images/15122025/17/08/image_15122025_17_08_44_9567.jpg
/home/pi/Desktop/images/15122025/17/08/image_15122025_17_08_54_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":["1399529364","1399529363","1399529362","1399529365","1399529367","1399529361"],"photo_ids_order":["1399529361","1399529362","1399529363","1399529364","1399529365","1399529367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ae5d9f885421909a3d6227481b439578.jpg","text":"TemporaryFile(/tmp/multipartBody6868168000032522964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817702985,"filename":"image_15122025_17_08_34_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/15/b650d4b2a02b9c97770f011b68afd96d.jpg","text":"TemporaryFile(/tmp/multipartBody6243547651028209777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817702985,"filename":"image_15122025_17_08_24_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/789f4cd90aa513bd5f2cfec78bac1a3f.jpg","text":"TemporaryFile(/tmp/multipartBody1010572429982071204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817702985,"filename":"image_15122025_17_08_14_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/15/9ea0a540535a54d6fdfada0b06f9ce2e.jpg","text":"TemporaryFile(/tmp/multipartBody1142233114949437958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817702985,"filename":"image_15122025_17_08_44_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0bcfda4da148f7ed48f7b1b51e4c5143.jpg","text":"TemporaryFile(/tmp/multipartBody770942790251677509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817702985,"filename":"image_15122025_17_08_54_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ed1c632278be6abb42ff9f25956f664e.jpg","text":"TemporaryFile(/tmp/multipartBody3169516306353644813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817702985,"filename":"image_15122025_17_08_04_10567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399529363","file1":"1399529362","file0":"1399529361","file4":"1399529365","file5":"1399529367","file3":"1399529364"},"map_files_photo_id_array":[{"photo_id":"1399529367","filename":"file5"},{"photo_id":"1399529363","filename":"file2"},{"photo_id":"1399529365","filename":"file4"},{"photo_id":"1399529362","filename":"file1"},{"photo_id":"1399529361","filename":"file0"},{"photo_id":"1399529364","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399529364":["hashtag1","hashtag2"]},{"1399529363":["hashtag1","hashtag2"]},{"1399529362":["hashtag1","hashtag2"]},{"1399529365":["hashtag1","hashtag2"]},{"1399529367":["hashtag1","hashtag2"]},{"1399529361":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399529364, 1399529363, 1399529362, 1399529365, 1399529367, 1399529361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.862708568573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 17:54:41.821243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_56_4772.jpg', '/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_57_1529.jpg', '/home/pi/Desktop/images/05112025/15/39/image_05112025_15_40_00_2636.jpg', '/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_04_3644.jpg', '/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_07_3016.jpg', '/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_09_2818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_56_4772.jpg
/home/pi/Desktop/images/05112025/15/39/image_05112025_15_39_57_1529.jpg
/home/pi/Desktop/images/05112025/15/39/image_05112025_15_40_00_2636.jpg
/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_04_3644.jpg
/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_07_3016.jpg
/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_09_2818.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399529378","1399529372","1399529375","1399529374","1399529377","1399529376"],"photo_ids_order":["1399529372","1399529374","1399529375","1399529376","1399529377","1399529378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f54b4e351e4b938da56fbab42d83de97.jpg","text":"TemporaryFile(/tmp/multipartBody3970401966127897662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817742437,"filename":"image_05112025_15_40_09_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5e40f940063205bfcfc09b8157f39b74.jpg","text":"TemporaryFile(/tmp/multipartBody1891397346456796915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817742437,"filename":"image_05112025_15_39_56_4772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c5c877a0a93a2e5d7289f163d4a48fb5.jpg","text":"TemporaryFile(/tmp/multipartBody1983391470096792132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817742437,"filename":"image_05112025_15_40_00_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/15/6bdbf96d1d3c9a7be03e2bf7c56d40d2.jpg","text":"TemporaryFile(/tmp/multipartBody4286302925415989837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817742437,"filename":"image_05112025_15_39_57_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/15/f65b88c168b81f5adc8a358cc661376e.jpg","text":"TemporaryFile(/tmp/multipartBody3716016074363434485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817742437,"filename":"image_05112025_15_40_07_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8c92305db152d9fa909f536ea37feff1.jpg","text":"TemporaryFile(/tmp/multipartBody1264368494852019298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817742437,"filename":"image_05112025_15_40_04_3644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399529375","file1":"1399529374","file0":"1399529372","file4":"1399529377","file5":"1399529378","file3":"1399529376"},"map_files_photo_id_array":[{"photo_id":"1399529378","filename":"file5"},{"photo_id":"1399529375","filename":"file2"},{"photo_id":"1399529377","filename":"file4"},{"photo_id":"1399529374","filename":"file1"},{"photo_id":"1399529372","filename":"file0"},{"photo_id":"1399529376","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399529378":["hashtag1","hashtag2"]},{"1399529372":["hashtag1","hashtag2"]},{"1399529375":["hashtag1","hashtag2"]},{"1399529374":["hashtag1","hashtag2"]},{"1399529377":["hashtag1","hashtag2"]},{"1399529376":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399529378, 1399529372, 1399529375, 1399529374, 1399529377, 1399529376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15323734283447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 17:55:22.115155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/08/image_15122025_17_09_04_9770.jpg', '/home/pi/Desktop/images/15122025/17/09/image_15122025_17_09_14_9677.jpg', '/home/pi/Desktop/images/15122025/17/09/image_15122025_17_09_24_10622.jpg', '/home/pi/Desktop/images/15122025/17/09/image_15122025_17_09_34_9594.jpg', '/home/pi/Desktop/images/15122025/17/09/image_15122025_17_09_54_9696.jpg', '/home/pi/Desktop/images/15122025/17/10/image_15122025_17_10_14_10053.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/08/image_15122025_17_09_04_9770.jpg
/home/pi/Desktop/images/15122025/17/09/image_15122025_17_09_14_9677.jpg
/home/pi/Desktop/images/15122025/17/09/image_15122025_17_09_24_10622.jpg
/home/pi/Desktop/images/15122025/17/09/image_15122025_17_09_34_9594.jpg
/home/pi/Desktop/images/15122025/17/09/image_15122025_17_09_54_9696.jpg
/home/pi/Desktop/images/15122025/17/10/image_15122025_17_10_14_10053.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399529379","1399529381","1399529390","1399529384","1399529385","1399529388"],"photo_ids_order":["1399529379","1399529381","1399529384","1399529385","1399529388","1399529390"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9bcb535907b2143a3089604559df02ae.jpg","text":"TemporaryFile(/tmp/multipartBody2424136975835231123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817782659,"filename":"image_15122025_17_09_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/15/1a27e0963b38e5e8fcedb710608435a6.jpg","text":"TemporaryFile(/tmp/multipartBody290553337779965837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817782659,"filename":"image_15122025_17_09_14_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/87b1db95d603aa06c81c5c7eaaad18f6.jpg","text":"TemporaryFile(/tmp/multipartBody2803698152094117524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817782659,"filename":"image_15122025_17_10_14_10053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a5b66d3ce632fdc7d12bf85c1f12eb90.jpg","text":"TemporaryFile(/tmp/multipartBody7307818636340786211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817782659,"filename":"image_15122025_17_09_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/15/882f28d8575024064de417ff179ae394.jpg","text":"TemporaryFile(/tmp/multipartBody5916842282975645292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817782659,"filename":"image_15122025_17_09_34_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/35b3cde099c3df8f98ff40167901578e.jpg","text":"TemporaryFile(/tmp/multipartBody1132420773443335305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817782659,"filename":"image_15122025_17_09_54_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399529384","file1":"1399529381","file0":"1399529379","file4":"1399529388","file5":"1399529390","file3":"1399529385"},"map_files_photo_id_array":[{"photo_id":"1399529390","filename":"file5"},{"photo_id":"1399529384","filename":"file2"},{"photo_id":"1399529388","filename":"file4"},{"photo_id":"1399529381","filename":"file1"},{"photo_id":"1399529379","filename":"file0"},{"photo_id":"1399529385","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399529379":["hashtag1","hashtag2"]},{"1399529381":["hashtag1","hashtag2"]},{"1399529390":["hashtag1","hashtag2"]},{"1399529384":["hashtag1","hashtag2"]},{"1399529385":["hashtag1","hashtag2"]},{"1399529388":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399529379, 1399529381, 1399529390, 1399529384, 1399529385, 1399529388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84529638290405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 17:56:02.914277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/10/image_15122025_17_10_44_9619.jpg', '/home/pi/Desktop/images/15122025/17/10/image_15122025_17_10_55_10684.jpg', '/home/pi/Desktop/images/15122025/17/11/image_15122025_17_11_24_9681.jpg', '/home/pi/Desktop/images/15122025/17/11/image_15122025_17_11_35_10593.jpg', '/home/pi/Desktop/images/15122025/17/11/image_15122025_17_11_44_9579.jpg', '/home/pi/Desktop/images/15122025/17/12/image_15122025_17_12_14_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/10/image_15122025_17_10_44_9619.jpg
/home/pi/Desktop/images/15122025/17/10/image_15122025_17_10_55_10684.jpg
/home/pi/Desktop/images/15122025/17/11/image_15122025_17_11_24_9681.jpg
/home/pi/Desktop/images/15122025/17/11/image_15122025_17_11_35_10593.jpg
/home/pi/Desktop/images/15122025/17/11/image_15122025_17_11_44_9579.jpg
/home/pi/Desktop/images/15122025/17/12/image_15122025_17_12_14_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399529396","1399529393","1399529392","1399529395","1399529398","1399529394"],"photo_ids_order":["1399529392","1399529393","1399529394","1399529395","1399529396","1399529398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a81d120e56e4e446d27aa9284c84bcfa.jpg","text":"TemporaryFile(/tmp/multipartBody3229788061129147584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817823496,"filename":"image_15122025_17_11_44_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1f338335542a5273385b0b10e4b7bf1e.jpg","text":"TemporaryFile(/tmp/multipartBody5043790113927306927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817823496,"filename":"image_15122025_17_10_55_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b14b96d72b8f323f82f145dde26aeda0.jpg","text":"TemporaryFile(/tmp/multipartBody1456799301602114271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817823496,"filename":"image_15122025_17_10_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/15/a39a7668230deb4c41482107edefe627.jpg","text":"TemporaryFile(/tmp/multipartBody2704431902206425990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817823496,"filename":"image_15122025_17_11_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/15/be7348de73fb5125492f1e6a7cd914da.jpg","text":"TemporaryFile(/tmp/multipartBody25625662625302471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817823496,"filename":"image_15122025_17_12_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/15/abb09127de4c4570170e37628f2e10bf.jpg","text":"TemporaryFile(/tmp/multipartBody1186425842708302263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817823496,"filename":"image_15122025_17_11_24_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399529394","file1":"1399529393","file0":"1399529392","file4":"1399529396","file5":"1399529398","file3":"1399529395"},"map_files_photo_id_array":[{"photo_id":"1399529398","filename":"file5"},{"photo_id":"1399529394","filename":"file2"},{"photo_id":"1399529396","filename":"file4"},{"photo_id":"1399529393","filename":"file1"},{"photo_id":"1399529392","filename":"file0"},{"photo_id":"1399529395","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399529396":["hashtag1","hashtag2"]},{"1399529393":["hashtag1","hashtag2"]},{"1399529392":["hashtag1","hashtag2"]},{"1399529395":["hashtag1","hashtag2"]},{"1399529398":["hashtag1","hashtag2"]},{"1399529394":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399529396, 1399529393, 1399529392, 1399529395, 1399529398, 1399529394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94900822639465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 17:56:42.478229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_13_3255.jpg', '/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_15_2722.jpg', '/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_18_2723.jpg', '/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_22_3648.jpg', '/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_24_2607.jpg', '/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_27_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_13_3255.jpg
/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_15_2722.jpg
/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_18_2723.jpg
/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_22_3648.jpg
/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_24_2607.jpg
/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_27_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":["1399529412","1399529415","1399529414","1399529411","1399529413","1399529404"],"photo_ids_order":["1399529404","1399529411","1399529412","1399529413","1399529414","1399529415"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f60ea4a76f0af17ee3e09b647f3e51cb.jpg","text":"TemporaryFile(/tmp/multipartBody5262086349378739891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817863190,"filename":"image_05112025_15_40_18_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/15/70982698581d75ed2b2b06172ac89a78.jpg","text":"TemporaryFile(/tmp/multipartBody3711985629344329116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817863190,"filename":"image_05112025_15_40_27_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/15/53ae5d4cee496c1f64d84d3cd7a3b337.jpg","text":"TemporaryFile(/tmp/multipartBody8081038397092233932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817863190,"filename":"image_05112025_15_40_24_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/15/a1fdabb1f55a56ad0e4527945914464c.jpg","text":"TemporaryFile(/tmp/multipartBody7860616195422144175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817863190,"filename":"image_05112025_15_40_15_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d6139f6def9c51be42a44e7dbe973166.jpg","text":"TemporaryFile(/tmp/multipartBody6769298340020931402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817863190,"filename":"image_05112025_15_40_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/15/fa6375706ce005c6951fc6ae0417ea74.jpg","text":"TemporaryFile(/tmp/multipartBody2726531217869087278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817863190,"filename":"image_05112025_15_40_13_3255.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399529412","file1":"1399529411","file0":"1399529404","file4":"1399529414","file5":"1399529415","file3":"1399529413"},"map_files_photo_id_array":[{"photo_id":"1399529415","filename":"file5"},{"photo_id":"1399529412","filename":"file2"},{"photo_id":"1399529414","filename":"file4"},{"photo_id":"1399529411","filename":"file1"},{"photo_id":"1399529404","filename":"file0"},{"photo_id":"1399529413","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399529412":["hashtag1","hashtag2"]},{"1399529415":["hashtag1","hashtag2"]},{"1399529414":["hashtag1","hashtag2"]},{"1399529411":["hashtag1","hashtag2"]},{"1399529413":["hashtag1","hashtag2"]},{"1399529404":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399529412, 1399529415, 1399529414, 1399529411, 1399529413, 1399529404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66230344772339 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 17:57:22.723866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/12/image_15122025_17_12_25_10833.jpg', '/home/pi/Desktop/images/15122025/17/12/image_15122025_17_12_35_9734.jpg', '/home/pi/Desktop/images/15122025/17/12/image_15122025_17_12_44_9550.jpg', '/home/pi/Desktop/images/15122025/17/12/image_15122025_17_13_05_9605.jpg', '/home/pi/Desktop/images/15122025/17/13/image_15122025_17_13_14_9611.jpg', '/home/pi/Desktop/images/15122025/17/13/image_15122025_17_13_25_10740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/12/image_15122025_17_12_25_10833.jpg
/home/pi/Desktop/images/15122025/17/12/image_15122025_17_12_35_9734.jpg
/home/pi/Desktop/images/15122025/17/12/image_15122025_17_12_44_9550.jpg
/home/pi/Desktop/images/15122025/17/12/image_15122025_17_13_05_9605.jpg
/home/pi/Desktop/images/15122025/17/13/image_15122025_17_13_14_9611.jpg
/home/pi/Desktop/images/15122025/17/13/image_15122025_17_13_25_10740.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.473508358001709 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 17:57:32.711447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 17:57:42.727557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_31_3598.jpg', '/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_46_15564.jpg', '/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_49_3241.jpg', '/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_51_1599.jpg', '/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_53_1789.jpg', '/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_54_1642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_31_3598.jpg
/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_46_15564.jpg
/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_49_3241.jpg
/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_51_1599.jpg
/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_53_1789.jpg
/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_54_1642.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399529628","1399529544","1399529619","1399529581","1399529467","1399529509"],"photo_ids_order":["1399529467","1399529509","1399529544","1399529581","1399529619","1399529628"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5d58cc4216a2bec3cf73ab9bedf46590.jpg","text":"TemporaryFile(/tmp/multipartBody1232092472982058954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817923465,"filename":"image_05112025_15_40_54_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/15/eda80b77af13f7a54561053cbbb39f7a.jpg","text":"TemporaryFile(/tmp/multipartBody1783753057655337614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817923465,"filename":"image_05112025_15_40_49_3241.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ca9699ed16368271652cb79d403327f3.jpg","text":"TemporaryFile(/tmp/multipartBody4660888760317750517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817923465,"filename":"image_05112025_15_40_53_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/15/2350b590e7a27314fc24cbfb98057a6d.jpg","text":"TemporaryFile(/tmp/multipartBody6996382986122435915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817923465,"filename":"image_05112025_15_40_51_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/15/63196767029d7458160460a6407d4d03.jpg","text":"TemporaryFile(/tmp/multipartBody8576456325955569830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817923465,"filename":"image_05112025_15_40_31_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/15/fc31b143cdb599c40013f3ab949b9eb9.jpg","text":"TemporaryFile(/tmp/multipartBody4940669536427054051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765817923465,"filename":"image_05112025_15_40_46_15564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399529544","file1":"1399529509","file0":"1399529467","file4":"1399529619","file5":"1399529628","file3":"1399529581"},"map_files_photo_id_array":[{"photo_id":"1399529628","filename":"file5"},{"photo_id":"1399529544","filename":"file2"},{"photo_id":"1399529619","filename":"file4"},{"photo_id":"1399529509","filename":"file1"},{"photo_id":"1399529467","filename":"file0"},{"photo_id":"1399529581","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399529628":["hashtag1","hashtag2"]},{"1399529544":["hashtag1","hashtag2"]},{"1399529619":["hashtag1","hashtag2"]},{"1399529581":["hashtag1","hashtag2"]},{"1399529467":["hashtag1","hashtag2"]},{"1399529509":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399529628, 1399529544, 1399529619, 1399529581, 1399529467, 1399529509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.680089235305786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 17:59:03.106627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/12/image_15122025_17_12_25_10833.jpg', '/home/pi/Desktop/images/15122025/17/12/image_15122025_17_12_35_9734.jpg', '/home/pi/Desktop/images/15122025/17/12/image_15122025_17_12_44_9550.jpg', '/home/pi/Desktop/images/15122025/17/12/image_15122025_17_13_05_9605.jpg', '/home/pi/Desktop/images/15122025/17/13/image_15122025_17_13_14_9611.jpg', '/home/pi/Desktop/images/15122025/17/13/image_15122025_17_13_25_10740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/12/image_15122025_17_12_25_10833.jpg
/home/pi/Desktop/images/15122025/17/12/image_15122025_17_12_35_9734.jpg
/home/pi/Desktop/images/15122025/17/12/image_15122025_17_12_44_9550.jpg
/home/pi/Desktop/images/15122025/17/12/image_15122025_17_13_05_9605.jpg
/home/pi/Desktop/images/15122025/17/13/image_15122025_17_13_14_9611.jpg
/home/pi/Desktop/images/15122025/17/13/image_15122025_17_13_25_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":["1399529703","1399529693","1399529706","1399529699","1399529697","1399529701"],"photo_ids_order":["1399529693","1399529697","1399529699","1399529701","1399529703","1399529706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/973646b15d41511dcfd03d9fbac9b023.jpg","text":"TemporaryFile(/tmp/multipartBody7604591586216031066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818003763,"filename":"image_15122025_17_13_14_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f4bb848882650330a1fc4449634fb37c.jpg","text":"TemporaryFile(/tmp/multipartBody3244429930020277172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818003763,"filename":"image_15122025_17_12_25_10833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/088922087db19485ce587e297a3a3a04.jpg","text":"TemporaryFile(/tmp/multipartBody7336218041052625689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818003763,"filename":"image_15122025_17_13_25_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fa416857168573cb289833db72bf94c9.jpg","text":"TemporaryFile(/tmp/multipartBody7527315919475504259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818003763,"filename":"image_15122025_17_12_44_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/15/20e37a843b66d3fc9f98d10437c24c03.jpg","text":"TemporaryFile(/tmp/multipartBody1273317446204244556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818003763,"filename":"image_15122025_17_12_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/15/78213c34c1fb5b1dd95fca21ff0e4f43.jpg","text":"TemporaryFile(/tmp/multipartBody6194759259857101913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818003763,"filename":"image_15122025_17_13_05_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399529699","file1":"1399529697","file0":"1399529693","file4":"1399529703","file5":"1399529706","file3":"1399529701"},"map_files_photo_id_array":[{"photo_id":"1399529706","filename":"file5"},{"photo_id":"1399529699","filename":"file2"},{"photo_id":"1399529703","filename":"file4"},{"photo_id":"1399529697","filename":"file1"},{"photo_id":"1399529693","filename":"file0"},{"photo_id":"1399529701","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399529703":["hashtag1","hashtag2"]},{"1399529693":["hashtag1","hashtag2"]},{"1399529706":["hashtag1","hashtag2"]},{"1399529699":["hashtag1","hashtag2"]},{"1399529697":["hashtag1","hashtag2"]},{"1399529701":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399529703, 1399529693, 1399529706, 1399529699, 1399529697, 1399529701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09600782394409 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 17:59:42.214834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_56_1801.jpg', '/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_58_1595.jpg', '/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_59_1729.jpg', '/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_01_1544.jpg', '/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_03_1819.jpg', '/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_04_1625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_56_1801.jpg
/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_58_1595.jpg
/home/pi/Desktop/images/05112025/15/40/image_05112025_15_40_59_1729.jpg
/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_01_1544.jpg
/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_03_1819.jpg
/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_04_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":["1399529910","1399529987","1399530027","1399529948","1399529872","1399529821"],"photo_ids_order":["1399529821","1399529872","1399529910","1399529948","1399529987","1399530027"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6e0094c2c7e3864b7ab65c8fdc1a6dde.jpg","text":"TemporaryFile(/tmp/multipartBody5208272319233406774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818042913,"filename":"image_05112025_15_40_59_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/15/9e8b3b7bdfa3fda3bd7fa5907e6c2c76.jpg","text":"TemporaryFile(/tmp/multipartBody6726834643254016442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818042913,"filename":"image_05112025_15_41_03_1819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/468b2718842e1e402822b2bda2d65eda.jpg","text":"TemporaryFile(/tmp/multipartBody3176084540746742355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818042913,"filename":"image_05112025_15_41_04_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/15/8295601b15e7b394042e8d0de64e0d76.jpg","text":"TemporaryFile(/tmp/multipartBody5153040194783997939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818042913,"filename":"image_05112025_15_41_01_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/15/abe5eab504e6d2c298129fb33ab10f2f.jpg","text":"TemporaryFile(/tmp/multipartBody4302783393926032766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818042913,"filename":"image_05112025_15_40_58_1595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ca890a890b276b28c57cdfffd1ad07d1.jpg","text":"TemporaryFile(/tmp/multipartBody5750873180877996055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818042913,"filename":"image_05112025_15_40_56_1801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399529910","file1":"1399529872","file0":"1399529821","file4":"1399529987","file5":"1399530027","file3":"1399529948"},"map_files_photo_id_array":[{"photo_id":"1399530027","filename":"file5"},{"photo_id":"1399529910","filename":"file2"},{"photo_id":"1399529987","filename":"file4"},{"photo_id":"1399529872","filename":"file1"},{"photo_id":"1399529821","filename":"file0"},{"photo_id":"1399529948","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399529910":["hashtag1","hashtag2"]},{"1399529987":["hashtag1","hashtag2"]},{"1399530027":["hashtag1","hashtag2"]},{"1399529948":["hashtag1","hashtag2"]},{"1399529872":["hashtag1","hashtag2"]},{"1399529821":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399529910, 1399529987, 1399530027, 1399529948, 1399529872, 1399529821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80278491973877 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 18:00:22.544767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/13/image_15122025_17_13_35_9666.jpg', '/home/pi/Desktop/images/15122025/17/13/image_15122025_17_13_44_9720.jpg', '/home/pi/Desktop/images/15122025/17/13/image_15122025_17_13_55_10691.jpg', '/home/pi/Desktop/images/15122025/17/14/image_15122025_17_14_14_9687.jpg', '/home/pi/Desktop/images/15122025/17/14/image_15122025_17_14_24_9615.jpg', '/home/pi/Desktop/images/15122025/17/14/image_15122025_17_14_35_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/13/image_15122025_17_13_35_9666.jpg
/home/pi/Desktop/images/15122025/17/13/image_15122025_17_13_44_9720.jpg
/home/pi/Desktop/images/15122025/17/13/image_15122025_17_13_55_10691.jpg
/home/pi/Desktop/images/15122025/17/14/image_15122025_17_14_14_9687.jpg
/home/pi/Desktop/images/15122025/17/14/image_15122025_17_14_24_9615.jpg
/home/pi/Desktop/images/15122025/17/14/image_15122025_17_14_35_10619.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5686566829681396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 18:00:32.549731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 18:00:42.540441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_06_1835.jpg', '/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_09_2636.jpg', '/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_13_3600.jpg', '/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_16_3010.jpg', '/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_18_2629.jpg', '/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_21_2753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_06_1835.jpg
/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_09_2636.jpg
/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_13_3600.jpg
/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_16_3010.jpg
/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_18_2629.jpg
/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_21_2753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399530249","1399530225","1399530248","1399530250","1399530238","1399530198"],"photo_ids_order":["1399530198","1399530225","1399530238","1399530248","1399530249","1399530250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b69c2a50c70d70bdfbab857a3fcc79f5.jpg","text":"TemporaryFile(/tmp/multipartBody564940898862036796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818103336,"filename":"image_05112025_15_41_18_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fc11304b51f08353f6a32f545c6a730c.jpg","text":"TemporaryFile(/tmp/multipartBody308027916668970399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818103336,"filename":"image_05112025_15_41_09_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/15/d762671a9c5b4114c8703b6350f5d177.jpg","text":"TemporaryFile(/tmp/multipartBody9177488399239201361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818103336,"filename":"image_05112025_15_41_16_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/15/f45cf5f53bef91ef76036b9d6ae7f0dd.jpg","text":"TemporaryFile(/tmp/multipartBody585030316768921693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818103336,"filename":"image_05112025_15_41_21_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/15/a777de8ee34a79a82d55c67836e4c8eb.jpg","text":"TemporaryFile(/tmp/multipartBody6508976535995498818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818103336,"filename":"image_05112025_15_41_13_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/15/03ec55b272356b5ac22623162342f0a5.jpg","text":"TemporaryFile(/tmp/multipartBody2509499141582716631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818103336,"filename":"image_05112025_15_41_06_1835.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399530238","file1":"1399530225","file0":"1399530198","file4":"1399530249","file5":"1399530250","file3":"1399530248"},"map_files_photo_id_array":[{"photo_id":"1399530250","filename":"file5"},{"photo_id":"1399530238","filename":"file2"},{"photo_id":"1399530249","filename":"file4"},{"photo_id":"1399530225","filename":"file1"},{"photo_id":"1399530198","filename":"file0"},{"photo_id":"1399530248","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399530249":["hashtag1","hashtag2"]},{"1399530225":["hashtag1","hashtag2"]},{"1399530248":["hashtag1","hashtag2"]},{"1399530250":["hashtag1","hashtag2"]},{"1399530238":["hashtag1","hashtag2"]},{"1399530198":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399530249, 1399530225, 1399530248, 1399530250, 1399530238, 1399530198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52754783630371 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 18:01:22.855688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/13/image_15122025_17_13_35_9666.jpg', '/home/pi/Desktop/images/15122025/17/13/image_15122025_17_13_44_9720.jpg', '/home/pi/Desktop/images/15122025/17/13/image_15122025_17_13_55_10691.jpg', '/home/pi/Desktop/images/15122025/17/14/image_15122025_17_14_14_9687.jpg', '/home/pi/Desktop/images/15122025/17/14/image_15122025_17_14_24_9615.jpg', '/home/pi/Desktop/images/15122025/17/14/image_15122025_17_14_35_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/13/image_15122025_17_13_35_9666.jpg
/home/pi/Desktop/images/15122025/17/13/image_15122025_17_13_44_9720.jpg
/home/pi/Desktop/images/15122025/17/13/image_15122025_17_13_55_10691.jpg
/home/pi/Desktop/images/15122025/17/14/image_15122025_17_14_14_9687.jpg
/home/pi/Desktop/images/15122025/17/14/image_15122025_17_14_24_9615.jpg
/home/pi/Desktop/images/15122025/17/14/image_15122025_17_14_35_10619.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4912841320037842 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 18:01:32.807571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 18:01:42.989179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_24_2785.jpg', '/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_27_3733.jpg', '/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_38_10584.jpg', '/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_40_1557.jpg', '/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_44_4843.jpg', '/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_46_1492.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_24_2785.jpg
/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_27_3733.jpg
/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_38_10584.jpg
/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_40_1557.jpg
/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_44_4843.jpg
/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_46_1492.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399530267","1399530264","1399530266","1399530268","1399530262","1399530265"],"photo_ids_order":["1399530262","1399530264","1399530265","1399530266","1399530267","1399530268"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a241e140ba653cb80a21384ed3935794.jpg","text":"TemporaryFile(/tmp/multipartBody4307763159037739576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818163791,"filename":"image_05112025_15_41_44_4843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/629910dfe8daa35b53cc23778f447275.jpg","text":"TemporaryFile(/tmp/multipartBody4071634257672656753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818163791,"filename":"image_05112025_15_41_27_3733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5220897226d08345d9cac6ffd3cb9475.jpg","text":"TemporaryFile(/tmp/multipartBody5145982042167245720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818163791,"filename":"image_05112025_15_41_40_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/15/05cfdb8da8662dba9a93be5172720c31.jpg","text":"TemporaryFile(/tmp/multipartBody2812824075758706388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818163791,"filename":"image_05112025_15_41_46_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/15/2941038f4d8727cfdbeb618d68a68f1e.jpg","text":"TemporaryFile(/tmp/multipartBody4053041550962665082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818163791,"filename":"image_05112025_15_41_24_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/15/0434d79bc6064eb6edbd677a860a81dd.jpg","text":"TemporaryFile(/tmp/multipartBody3576081656209267160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818163791,"filename":"image_05112025_15_41_38_10584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399530265","file1":"1399530264","file0":"1399530262","file4":"1399530267","file5":"1399530268","file3":"1399530266"},"map_files_photo_id_array":[{"photo_id":"1399530268","filename":"file5"},{"photo_id":"1399530265","filename":"file2"},{"photo_id":"1399530267","filename":"file4"},{"photo_id":"1399530264","filename":"file1"},{"photo_id":"1399530262","filename":"file0"},{"photo_id":"1399530266","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399530267":["hashtag1","hashtag2"]},{"1399530264":["hashtag1","hashtag2"]},{"1399530266":["hashtag1","hashtag2"]},{"1399530268":["hashtag1","hashtag2"]},{"1399530262":["hashtag1","hashtag2"]},{"1399530265":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399530267, 1399530264, 1399530266, 1399530268, 1399530262, 1399530265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97941064834595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 18:02:22.188722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/13/image_15122025_17_13_35_9666.jpg', '/home/pi/Desktop/images/15122025/17/13/image_15122025_17_13_44_9720.jpg', '/home/pi/Desktop/images/15122025/17/13/image_15122025_17_13_55_10691.jpg', '/home/pi/Desktop/images/15122025/17/14/image_15122025_17_14_14_9687.jpg', '/home/pi/Desktop/images/15122025/17/14/image_15122025_17_14_24_9615.jpg', '/home/pi/Desktop/images/15122025/17/14/image_15122025_17_14_35_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/13/image_15122025_17_13_35_9666.jpg
/home/pi/Desktop/images/15122025/17/13/image_15122025_17_13_44_9720.jpg
/home/pi/Desktop/images/15122025/17/13/image_15122025_17_13_55_10691.jpg
/home/pi/Desktop/images/15122025/17/14/image_15122025_17_14_14_9687.jpg
/home/pi/Desktop/images/15122025/17/14/image_15122025_17_14_24_9615.jpg
/home/pi/Desktop/images/15122025/17/14/image_15122025_17_14_35_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":["1399530270","1399530273","1399530309","1399530272","1399530347","1399530275"],"photo_ids_order":["1399530270","1399530272","1399530273","1399530275","1399530309","1399530347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/aa4f6ce453ac6d5dfe41c07b1467d230.jpg","text":"TemporaryFile(/tmp/multipartBody6291767886291850631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818202836,"filename":"image_15122025_17_13_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/15/f4ab58252618ae1eba88e1452576024b.jpg","text":"TemporaryFile(/tmp/multipartBody4893713358548233836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818202836,"filename":"image_15122025_17_13_55_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2e80f3dc99748cf1b55c80b5a454a296.jpg","text":"TemporaryFile(/tmp/multipartBody5700620554229881931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818202836,"filename":"image_15122025_17_14_24_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8ad0a309b153ecd6551b9e5308c75f68.jpg","text":"TemporaryFile(/tmp/multipartBody3680713941149538729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818202836,"filename":"image_15122025_17_13_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/15/0ab6c67be019eb1262c24984918cf813.jpg","text":"TemporaryFile(/tmp/multipartBody523365330480558179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818202836,"filename":"image_15122025_17_14_35_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/15/5094e47a45f3ade1659f652c3b0dd68c.jpg","text":"TemporaryFile(/tmp/multipartBody3442303596001326471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818202836,"filename":"image_15122025_17_14_14_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399530273","file1":"1399530272","file0":"1399530270","file4":"1399530309","file5":"1399530347","file3":"1399530275"},"map_files_photo_id_array":[{"photo_id":"1399530347","filename":"file5"},{"photo_id":"1399530273","filename":"file2"},{"photo_id":"1399530309","filename":"file4"},{"photo_id":"1399530272","filename":"file1"},{"photo_id":"1399530270","filename":"file0"},{"photo_id":"1399530275","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399530270":["hashtag1","hashtag2"]},{"1399530273":["hashtag1","hashtag2"]},{"1399530309":["hashtag1","hashtag2"]},{"1399530272":["hashtag1","hashtag2"]},{"1399530347":["hashtag1","hashtag2"]},{"1399530275":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399530270, 1399530273, 1399530309, 1399530272, 1399530347, 1399530275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00465941429138 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 18:03:02.821990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/14/image_15122025_17_14_44_9776.jpg', '/home/pi/Desktop/images/15122025/17/14/image_15122025_17_14_54_9673.jpg', '/home/pi/Desktop/images/15122025/17/15/image_15122025_17_15_14_10057.jpg', '/home/pi/Desktop/images/15122025/17/15/image_15122025_17_15_24_9997.jpg', '/home/pi/Desktop/images/15122025/17/15/image_15122025_17_15_34_10898.jpg', '/home/pi/Desktop/images/15122025/17/15/image_15122025_17_15_44_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/14/image_15122025_17_14_44_9776.jpg
/home/pi/Desktop/images/15122025/17/14/image_15122025_17_14_54_9673.jpg
/home/pi/Desktop/images/15122025/17/15/image_15122025_17_15_14_10057.jpg
/home/pi/Desktop/images/15122025/17/15/image_15122025_17_15_24_9997.jpg
/home/pi/Desktop/images/15122025/17/15/image_15122025_17_15_34_10898.jpg
/home/pi/Desktop/images/15122025/17/15/image_15122025_17_15_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":["1399530729","1399530587","1399530950","1399530800","1399530868","1399530661"],"photo_ids_order":["1399530587","1399530661","1399530729","1399530800","1399530868","1399530950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2917fc9fb57778123a997afeaa369374.jpg","text":"TemporaryFile(/tmp/multipartBody5350278543822151427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818243529,"filename":"image_15122025_17_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/15/9538d8ec730d1275d957acad0a02fe61.jpg","text":"TemporaryFile(/tmp/multipartBody2504232336080667367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818243529,"filename":"image_15122025_17_14_44_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1a13b45ec77a706f9ab79f9d30a4e259.jpg","text":"TemporaryFile(/tmp/multipartBody8436424892576553736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818243529,"filename":"image_15122025_17_15_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/15/962828a32eb2c4336b79182d22bb6533.jpg","text":"TemporaryFile(/tmp/multipartBody5587640131788703151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818243529,"filename":"image_15122025_17_15_24_9997.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/94814eeb0fe9492188072655157107eb.jpg","text":"TemporaryFile(/tmp/multipartBody7033628988677071366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818243529,"filename":"image_15122025_17_15_34_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/15/9c11ad0b3e7cf642ff00943f29ae03a6.jpg","text":"TemporaryFile(/tmp/multipartBody8218287501893264282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818243529,"filename":"image_15122025_17_14_54_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399530729","file1":"1399530661","file0":"1399530587","file4":"1399530868","file5":"1399530950","file3":"1399530800"},"map_files_photo_id_array":[{"photo_id":"1399530950","filename":"file5"},{"photo_id":"1399530729","filename":"file2"},{"photo_id":"1399530868","filename":"file4"},{"photo_id":"1399530661","filename":"file1"},{"photo_id":"1399530587","filename":"file0"},{"photo_id":"1399530800","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399530729":["hashtag1","hashtag2"]},{"1399530587":["hashtag1","hashtag2"]},{"1399530950":["hashtag1","hashtag2"]},{"1399530800":["hashtag1","hashtag2"]},{"1399530868":["hashtag1","hashtag2"]},{"1399530661":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399530729, 1399530587, 1399530950, 1399530800, 1399530868, 1399530661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.826664447784424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 18:03:42.364447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_48_1645.jpg', '/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_49_1640.jpg', '/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_52_3150.jpg', '/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_54_1646.jpg', '/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_56_1670.jpg', '/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_57_1586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_48_1645.jpg
/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_49_1640.jpg
/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_52_3150.jpg
/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_54_1646.jpg
/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_56_1670.jpg
/home/pi/Desktop/images/05112025/15/41/image_05112025_15_41_57_1586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399531236","1399531382","1399531307","1399531369","1399531197","1399531164"],"photo_ids_order":["1399531164","1399531197","1399531236","1399531307","1399531369","1399531382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6d117008b5bead87bce8bcae4ea4d6ff.jpg","text":"TemporaryFile(/tmp/multipartBody347655251762913215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818283069,"filename":"image_05112025_15_41_52_3150.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/724da7afc8961ccf93828333e342496e.jpg","text":"TemporaryFile(/tmp/multipartBody5551525213968905728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818283069,"filename":"image_05112025_15_41_57_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/15/5e448ef5ca8a3f206cab71d70d80f283.jpg","text":"TemporaryFile(/tmp/multipartBody4029879609481838915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818283069,"filename":"image_05112025_15_41_54_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/48221fc0003c0093043103d539e7c766.jpg","text":"TemporaryFile(/tmp/multipartBody5546941283079989622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818283069,"filename":"image_05112025_15_41_56_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/15/c4750a3700de5be007f6a6ab2bfe308e.jpg","text":"TemporaryFile(/tmp/multipartBody1256570458195322876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818283069,"filename":"image_05112025_15_41_49_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/15/a86366d625c01f47f893de0864e62e88.jpg","text":"TemporaryFile(/tmp/multipartBody4106888560591599290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818283069,"filename":"image_05112025_15_41_48_1645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399531236","file1":"1399531197","file0":"1399531164","file4":"1399531369","file5":"1399531382","file3":"1399531307"},"map_files_photo_id_array":[{"photo_id":"1399531382","filename":"file5"},{"photo_id":"1399531236","filename":"file2"},{"photo_id":"1399531369","filename":"file4"},{"photo_id":"1399531197","filename":"file1"},{"photo_id":"1399531164","filename":"file0"},{"photo_id":"1399531307","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399531236":["hashtag1","hashtag2"]},{"1399531382":["hashtag1","hashtag2"]},{"1399531307":["hashtag1","hashtag2"]},{"1399531369":["hashtag1","hashtag2"]},{"1399531197":["hashtag1","hashtag2"]},{"1399531164":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399531236, 1399531382, 1399531307, 1399531369, 1399531197, 1399531164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74939966201782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 18:04:22.636850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/15/image_15122025_17_15_54_9662.jpg', '/home/pi/Desktop/images/15122025/17/15/image_15122025_17_16_04_10613.jpg', '/home/pi/Desktop/images/15122025/17/16/image_15122025_17_16_14_9787.jpg', '/home/pi/Desktop/images/15122025/17/16/image_15122025_17_16_24_9715.jpg', '/home/pi/Desktop/images/15122025/17/16/image_15122025_17_16_34_9654.jpg', '/home/pi/Desktop/images/15122025/17/16/image_15122025_17_16_44_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/15/image_15122025_17_15_54_9662.jpg
/home/pi/Desktop/images/15122025/17/15/image_15122025_17_16_04_10613.jpg
/home/pi/Desktop/images/15122025/17/16/image_15122025_17_16_14_9787.jpg
/home/pi/Desktop/images/15122025/17/16/image_15122025_17_16_24_9715.jpg
/home/pi/Desktop/images/15122025/17/16/image_15122025_17_16_34_9654.jpg
/home/pi/Desktop/images/15122025/17/16/image_15122025_17_16_44_10625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399531728","1399531667","1399531715","1399531627","1399531510","1399531584"],"photo_ids_order":["1399531510","1399531584","1399531627","1399531667","1399531715","1399531728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/40ae649ef557c98ecaf85251b7688e5a.jpg","text":"TemporaryFile(/tmp/multipartBody3781498669467039926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818323195,"filename":"image_15122025_17_16_44_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/15/dba5ea5f6d2067cec27b016c25a1b134.jpg","text":"TemporaryFile(/tmp/multipartBody4249939249114797435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818323195,"filename":"image_15122025_17_16_24_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fc4405f4807c03507aa89e1d2e03faeb.jpg","text":"TemporaryFile(/tmp/multipartBody6161560911115197048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818323195,"filename":"image_15122025_17_16_34_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/762035efaa4da8ece5d735320fe32761.jpg","text":"TemporaryFile(/tmp/multipartBody6977563846871592162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818323195,"filename":"image_15122025_17_16_14_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4c7da69ddc4e4ce75b7979f194762c07.jpg","text":"TemporaryFile(/tmp/multipartBody4653784887961764763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818323195,"filename":"image_15122025_17_15_54_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/880a229acc94cf07225a262163574c45.jpg","text":"TemporaryFile(/tmp/multipartBody8655139060575087378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818323195,"filename":"image_15122025_17_16_04_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399531627","file1":"1399531584","file0":"1399531510","file4":"1399531715","file5":"1399531728","file3":"1399531667"},"map_files_photo_id_array":[{"photo_id":"1399531728","filename":"file5"},{"photo_id":"1399531627","filename":"file2"},{"photo_id":"1399531715","filename":"file4"},{"photo_id":"1399531584","filename":"file1"},{"photo_id":"1399531510","filename":"file0"},{"photo_id":"1399531667","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399531728":["hashtag1","hashtag2"]},{"1399531667":["hashtag1","hashtag2"]},{"1399531715":["hashtag1","hashtag2"]},{"1399531627":["hashtag1","hashtag2"]},{"1399531510":["hashtag1","hashtag2"]},{"1399531584":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399531728, 1399531667, 1399531715, 1399531627, 1399531510, 1399531584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.789807081222534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 18:05:02.617844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/16/image_15122025_17_16_54_9846.jpg', '/home/pi/Desktop/images/15122025/17/16/image_15122025_17_17_04_9603.jpg', '/home/pi/Desktop/images/15122025/17/17/image_15122025_17_17_14_10720.jpg', '/home/pi/Desktop/images/15122025/17/17/image_15122025_17_17_24_9781.jpg', '/home/pi/Desktop/images/15122025/17/17/image_15122025_17_17_34_9821.jpg', '/home/pi/Desktop/images/15122025/17/17/image_15122025_17_17_44_9787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/16/image_15122025_17_16_54_9846.jpg
/home/pi/Desktop/images/15122025/17/16/image_15122025_17_17_04_9603.jpg
/home/pi/Desktop/images/15122025/17/17/image_15122025_17_17_14_10720.jpg
/home/pi/Desktop/images/15122025/17/17/image_15122025_17_17_24_9781.jpg
/home/pi/Desktop/images/15122025/17/17/image_15122025_17_17_34_9821.jpg
/home/pi/Desktop/images/15122025/17/17/image_15122025_17_17_44_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":["1399531824","1399531806","1399531855","1399531822","1399531825","1399531893"],"photo_ids_order":["1399531806","1399531822","1399531824","1399531825","1399531855","1399531893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c65f5597c98d2cf1323b6ee43831f1b1.jpg","text":"TemporaryFile(/tmp/multipartBody4171302281182268871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818363315,"filename":"image_15122025_17_17_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/15/e85b7c62374d0d989f3334eab0168c73.jpg","text":"TemporaryFile(/tmp/multipartBody3790399701915728304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818363315,"filename":"image_15122025_17_16_54_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5e1b3b48b6ba9eeef93b1d85312be4e7.jpg","text":"TemporaryFile(/tmp/multipartBody9162366359958388576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818363315,"filename":"image_15122025_17_17_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/15/1e649f19d17f3bee03603ca949d010bb.jpg","text":"TemporaryFile(/tmp/multipartBody4826667857916599774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818363315,"filename":"image_15122025_17_17_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/15/01e5b20d0f95e57d664e51db400bf299.jpg","text":"TemporaryFile(/tmp/multipartBody6892846655084209670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818363315,"filename":"image_15122025_17_17_24_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/129fd8213c63e8c62c3ba061ed3c99c3.jpg","text":"TemporaryFile(/tmp/multipartBody2628531808151989723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818363315,"filename":"image_15122025_17_17_44_9787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399531824","file1":"1399531822","file0":"1399531806","file4":"1399531855","file5":"1399531893","file3":"1399531825"},"map_files_photo_id_array":[{"photo_id":"1399531893","filename":"file5"},{"photo_id":"1399531824","filename":"file2"},{"photo_id":"1399531855","filename":"file4"},{"photo_id":"1399531822","filename":"file1"},{"photo_id":"1399531806","filename":"file0"},{"photo_id":"1399531825","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399531824":["hashtag1","hashtag2"]},{"1399531806":["hashtag1","hashtag2"]},{"1399531855":["hashtag1","hashtag2"]},{"1399531822":["hashtag1","hashtag2"]},{"1399531825":["hashtag1","hashtag2"]},{"1399531893":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399531824, 1399531806, 1399531855, 1399531822, 1399531825, 1399531893)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.66283130645752 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 18:06:03.666502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/17/image_15122025_17_17_55_10712.jpg', '/home/pi/Desktop/images/15122025/17/17/image_15122025_17_18_04_9721.jpg', '/home/pi/Desktop/images/15122025/17/18/image_15122025_17_18_14_9847.jpg', '/home/pi/Desktop/images/15122025/17/18/image_15122025_17_18_24_9618.jpg', '/home/pi/Desktop/images/15122025/17/18/image_15122025_17_18_34_10558.jpg', '/home/pi/Desktop/images/15122025/17/18/image_15122025_17_18_44_9811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/17/image_15122025_17_17_55_10712.jpg
/home/pi/Desktop/images/15122025/17/17/image_15122025_17_18_04_9721.jpg
/home/pi/Desktop/images/15122025/17/18/image_15122025_17_18_14_9847.jpg
/home/pi/Desktop/images/15122025/17/18/image_15122025_17_18_24_9618.jpg
/home/pi/Desktop/images/15122025/17/18/image_15122025_17_18_34_10558.jpg
/home/pi/Desktop/images/15122025/17/18/image_15122025_17_18_44_9811.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6354737281799316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 18:06:12.035092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 18:06:22.090412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/17/image_15122025_17_17_55_10712.jpg', '/home/pi/Desktop/images/15122025/17/17/image_15122025_17_18_04_9721.jpg', '/home/pi/Desktop/images/15122025/17/18/image_15122025_17_18_14_9847.jpg', '/home/pi/Desktop/images/15122025/17/18/image_15122025_17_18_24_9618.jpg', '/home/pi/Desktop/images/15122025/17/18/image_15122025_17_18_34_10558.jpg', '/home/pi/Desktop/images/15122025/17/18/image_15122025_17_18_44_9811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/17/image_15122025_17_17_55_10712.jpg
/home/pi/Desktop/images/15122025/17/17/image_15122025_17_18_04_9721.jpg
/home/pi/Desktop/images/15122025/17/18/image_15122025_17_18_14_9847.jpg
/home/pi/Desktop/images/15122025/17/18/image_15122025_17_18_24_9618.jpg
/home/pi/Desktop/images/15122025/17/18/image_15122025_17_18_34_10558.jpg
/home/pi/Desktop/images/15122025/17/18/image_15122025_17_18_44_9811.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399532452","1399532368","1399532440","1399532404","1399532454","1399532457"],"photo_ids_order":["1399532368","1399532404","1399532440","1399532452","1399532454","1399532457"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/948ebb5f73ee6934095a25744cfd67d2.jpg","text":"TemporaryFile(/tmp/multipartBody1515633230735816155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818442720,"filename":"image_15122025_17_18_24_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1639101b687a99b09639542c355d8c68.jpg","text":"TemporaryFile(/tmp/multipartBody2664140440776486965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818442720,"filename":"image_15122025_17_17_55_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/efc44b3779fa051f578d247dd0336ed5.jpg","text":"TemporaryFile(/tmp/multipartBody570967471045668075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818442720,"filename":"image_15122025_17_18_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/15/780dbcf549635147e4704d5deaff4a9e.jpg","text":"TemporaryFile(/tmp/multipartBody4455990466024404597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818442720,"filename":"image_15122025_17_18_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/15/685df86ce60b51435b0745ba9272a12d.jpg","text":"TemporaryFile(/tmp/multipartBody6299609705936451306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818442720,"filename":"image_15122025_17_18_34_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/15/b966099c8d4e4433e99fc97871d0e1ea.jpg","text":"TemporaryFile(/tmp/multipartBody661815317990437245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818442720,"filename":"image_15122025_17_18_44_9811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399532440","file1":"1399532404","file0":"1399532368","file4":"1399532454","file5":"1399532457","file3":"1399532452"},"map_files_photo_id_array":[{"photo_id":"1399532457","filename":"file5"},{"photo_id":"1399532440","filename":"file2"},{"photo_id":"1399532454","filename":"file4"},{"photo_id":"1399532404","filename":"file1"},{"photo_id":"1399532368","filename":"file0"},{"photo_id":"1399532452","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399532452":["hashtag1","hashtag2"]},{"1399532368":["hashtag1","hashtag2"]},{"1399532440":["hashtag1","hashtag2"]},{"1399532404":["hashtag1","hashtag2"]},{"1399532454":["hashtag1","hashtag2"]},{"1399532457":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399532452, 1399532368, 1399532440, 1399532404, 1399532454, 1399532457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45998549461365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 18:07:02.971600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/18/image_15122025_17_18_54_9736.jpg', '/home/pi/Desktop/images/15122025/17/18/image_15122025_17_19_04_10661.jpg', '/home/pi/Desktop/images/15122025/17/19/image_15122025_17_19_14_9580.jpg', '/home/pi/Desktop/images/15122025/17/19/image_15122025_17_19_24_9731.jpg', '/home/pi/Desktop/images/15122025/17/19/image_15122025_17_19_34_10613.jpg', '/home/pi/Desktop/images/15122025/17/19/image_15122025_17_19_44_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/18/image_15122025_17_18_54_9736.jpg
/home/pi/Desktop/images/15122025/17/18/image_15122025_17_19_04_10661.jpg
/home/pi/Desktop/images/15122025/17/19/image_15122025_17_19_14_9580.jpg
/home/pi/Desktop/images/15122025/17/19/image_15122025_17_19_24_9731.jpg
/home/pi/Desktop/images/15122025/17/19/image_15122025_17_19_34_10613.jpg
/home/pi/Desktop/images/15122025/17/19/image_15122025_17_19_44_9730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399532531","1399532534","1399532618","1399532605","1399532571","1399532589"],"photo_ids_order":["1399532531","1399532534","1399532571","1399532589","1399532605","1399532618"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/75db7615e8b887b4670ef4d8bdaaff67.jpg","text":"TemporaryFile(/tmp/multipartBody2202637586949716659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818483616,"filename":"image_15122025_17_18_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/15/7337d2fa168267e15eb5feb1147f9af2.jpg","text":"TemporaryFile(/tmp/multipartBody7487601980024364140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818483616,"filename":"image_15122025_17_19_04_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/15/9848f6988f41962fde373917b3ef8c56.jpg","text":"TemporaryFile(/tmp/multipartBody1492548719083930760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818483616,"filename":"image_15122025_17_19_44_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b404b73891899c77f101927c2a3bd0e1.jpg","text":"TemporaryFile(/tmp/multipartBody648641065582098169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818483616,"filename":"image_15122025_17_19_34_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/457785a67ab2fc6738de679ecb62fce3.jpg","text":"TemporaryFile(/tmp/multipartBody7190820274916998569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818483616,"filename":"image_15122025_17_19_14_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/15/2b1a6e8ef351f2bdb74f10f8a523d557.jpg","text":"TemporaryFile(/tmp/multipartBody8185501221559339837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818483616,"filename":"image_15122025_17_19_24_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399532571","file1":"1399532534","file0":"1399532531","file4":"1399532605","file5":"1399532618","file3":"1399532589"},"map_files_photo_id_array":[{"photo_id":"1399532618","filename":"file5"},{"photo_id":"1399532571","filename":"file2"},{"photo_id":"1399532605","filename":"file4"},{"photo_id":"1399532534","filename":"file1"},{"photo_id":"1399532531","filename":"file0"},{"photo_id":"1399532589","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399532531":["hashtag1","hashtag2"]},{"1399532534":["hashtag1","hashtag2"]},{"1399532618":["hashtag1","hashtag2"]},{"1399532605":["hashtag1","hashtag2"]},{"1399532571":["hashtag1","hashtag2"]},{"1399532589":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399532531, 1399532534, 1399532618, 1399532605, 1399532571, 1399532589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41195607185364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 18:07:42.218976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/41/image_05112025_15_42_00_2601.jpg', '/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_04_3666.jpg', '/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_06_2565.jpg', '/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_09_2828.jpg', '/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_12_2647.jpg', '/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_15_3715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/41/image_05112025_15_42_00_2601.jpg
/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_04_3666.jpg
/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_06_2565.jpg
/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_09_2828.jpg
/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_12_2647.jpg
/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_15_3715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399532630","1399532635","1399532638","1399532632","1399532628","1399532631"],"photo_ids_order":["1399532628","1399532630","1399532631","1399532632","1399532635","1399532638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d7c376b69eafc77f8a18bb70cd09ba31.jpg","text":"TemporaryFile(/tmp/multipartBody5902493868729861160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818522922,"filename":"image_05112025_15_42_04_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/15/4322986dc5bd3075736bcee8e898cfb1.jpg","text":"TemporaryFile(/tmp/multipartBody6179741530543769194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818522922,"filename":"image_05112025_15_42_12_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/15/1c7d8905f1f5d7dba0f0a5f577acadc6.jpg","text":"TemporaryFile(/tmp/multipartBody4371175568781083833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818522922,"filename":"image_05112025_15_42_15_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/15/0382e042c227347a2159da5bda129be2.jpg","text":"TemporaryFile(/tmp/multipartBody1736667403497940423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818522922,"filename":"image_05112025_15_42_09_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/15/71fb9a79dd176c47dcd0a5b454667bbb.jpg","text":"TemporaryFile(/tmp/multipartBody3459168584087045123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818522922,"filename":"image_05112025_15_42_00_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/15/aaa66e592758e17ba79108afdced57db.jpg","text":"TemporaryFile(/tmp/multipartBody1481516413208743475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818522922,"filename":"image_05112025_15_42_06_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399532631","file1":"1399532630","file0":"1399532628","file4":"1399532635","file5":"1399532638","file3":"1399532632"},"map_files_photo_id_array":[{"photo_id":"1399532638","filename":"file5"},{"photo_id":"1399532631","filename":"file2"},{"photo_id":"1399532635","filename":"file4"},{"photo_id":"1399532630","filename":"file1"},{"photo_id":"1399532628","filename":"file0"},{"photo_id":"1399532632","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399532630":["hashtag1","hashtag2"]},{"1399532635":["hashtag1","hashtag2"]},{"1399532638":["hashtag1","hashtag2"]},{"1399532632":["hashtag1","hashtag2"]},{"1399532628":["hashtag1","hashtag2"]},{"1399532631":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399532630, 1399532635, 1399532638, 1399532632, 1399532628, 1399532631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71182560920715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 18:08:22.440001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/19/image_15122025_17_19_54_9756.jpg', '/home/pi/Desktop/images/15122025/17/20/image_15122025_17_20_14_10055.jpg', '/home/pi/Desktop/images/15122025/17/20/image_15122025_17_20_25_10683.jpg', '/home/pi/Desktop/images/15122025/17/20/image_15122025_17_20_44_9754.jpg', '/home/pi/Desktop/images/15122025/17/20/image_15122025_17_20_54_9863.jpg', '/home/pi/Desktop/images/15122025/17/20/image_15122025_17_21_05_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/19/image_15122025_17_19_54_9756.jpg
/home/pi/Desktop/images/15122025/17/20/image_15122025_17_20_14_10055.jpg
/home/pi/Desktop/images/15122025/17/20/image_15122025_17_20_25_10683.jpg
/home/pi/Desktop/images/15122025/17/20/image_15122025_17_20_44_9754.jpg
/home/pi/Desktop/images/15122025/17/20/image_15122025_17_20_54_9863.jpg
/home/pi/Desktop/images/15122025/17/20/image_15122025_17_21_05_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":["1399532805","1399532690","1399532711","1399532767","1399532695","1399532693"],"photo_ids_order":["1399532690","1399532693","1399532695","1399532711","1399532767","1399532805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8a540fadd4030541ece003a7d54b9d74.jpg","text":"TemporaryFile(/tmp/multipartBody5405247623606088490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818563084,"filename":"image_15122025_17_21_05_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/35964a61ba11b550db9a5b8cb2293660.jpg","text":"TemporaryFile(/tmp/multipartBody8624926380258712918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818563084,"filename":"image_15122025_17_19_54_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/516e2da4c3af0038d7be9a5ae05eefb5.jpg","text":"TemporaryFile(/tmp/multipartBody4192423639666679581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818563084,"filename":"image_15122025_17_20_44_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/481461fe32c532bea348456fcf7e23f4.jpg","text":"TemporaryFile(/tmp/multipartBody2884827796827952728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818563084,"filename":"image_15122025_17_20_54_9863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/53140820b1beb72cbb3687c3173b995b.jpg","text":"TemporaryFile(/tmp/multipartBody1861856926840289077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818563084,"filename":"image_15122025_17_20_25_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f60b36904b9d5b8ce2eab6b1b05d1041.jpg","text":"TemporaryFile(/tmp/multipartBody1739120667991450521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818563084,"filename":"image_15122025_17_20_14_10055.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399532695","file1":"1399532693","file0":"1399532690","file4":"1399532767","file5":"1399532805","file3":"1399532711"},"map_files_photo_id_array":[{"photo_id":"1399532805","filename":"file5"},{"photo_id":"1399532695","filename":"file2"},{"photo_id":"1399532767","filename":"file4"},{"photo_id":"1399532693","filename":"file1"},{"photo_id":"1399532690","filename":"file0"},{"photo_id":"1399532711","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399532805":["hashtag1","hashtag2"]},{"1399532690":["hashtag1","hashtag2"]},{"1399532711":["hashtag1","hashtag2"]},{"1399532767":["hashtag1","hashtag2"]},{"1399532695":["hashtag1","hashtag2"]},{"1399532693":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399532805, 1399532690, 1399532711, 1399532767, 1399532695, 1399532693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89356875419617 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 18:09:03.621797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/21/image_15122025_17_21_15_9754.jpg', '/home/pi/Desktop/images/15122025/17/21/image_15122025_17_21_24_9653.jpg', '/home/pi/Desktop/images/15122025/17/21/image_15122025_17_21_34_9944.jpg', '/home/pi/Desktop/images/15122025/17/21/image_15122025_17_21_45_10644.jpg', '/home/pi/Desktop/images/15122025/17/21/image_15122025_17_21_55_9748.jpg', '/home/pi/Desktop/images/15122025/17/21/image_15122025_17_22_04_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/21/image_15122025_17_21_15_9754.jpg
/home/pi/Desktop/images/15122025/17/21/image_15122025_17_21_24_9653.jpg
/home/pi/Desktop/images/15122025/17/21/image_15122025_17_21_34_9944.jpg
/home/pi/Desktop/images/15122025/17/21/image_15122025_17_21_45_10644.jpg
/home/pi/Desktop/images/15122025/17/21/image_15122025_17_21_55_9748.jpg
/home/pi/Desktop/images/15122025/17/21/image_15122025_17_22_04_9619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399533062","1399532987","1399532945","1399533135","1399533024","1399533098"],"photo_ids_order":["1399532945","1399532987","1399533024","1399533062","1399533098","1399533135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3d8b42728b623c2d366e9b2879dcbca5.jpg","text":"TemporaryFile(/tmp/multipartBody1110359748945033985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818604496,"filename":"image_15122025_17_21_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/15/8316c52459ffa43b1fcd897ca4af11bd.jpg","text":"TemporaryFile(/tmp/multipartBody6516795956004409057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818604496,"filename":"image_15122025_17_21_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/15/1975e48bc4fd5c817d217326e31c2056.jpg","text":"TemporaryFile(/tmp/multipartBody1244870814306328804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818604496,"filename":"image_15122025_17_21_15_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9dca095bc0cbf08f6f4d0b0158219a47.jpg","text":"TemporaryFile(/tmp/multipartBody3039309263283516097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818604496,"filename":"image_15122025_17_22_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/15/eea4b00cdfe4623c1ce5eb724ba7ee58.jpg","text":"TemporaryFile(/tmp/multipartBody6295254170793971640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818604496,"filename":"image_15122025_17_21_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/15/249687d16357990dd3c457090ade2f05.jpg","text":"TemporaryFile(/tmp/multipartBody7511965640760296269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818604496,"filename":"image_15122025_17_21_55_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399533024","file1":"1399532987","file0":"1399532945","file4":"1399533098","file5":"1399533135","file3":"1399533062"},"map_files_photo_id_array":[{"photo_id":"1399533135","filename":"file5"},{"photo_id":"1399533024","filename":"file2"},{"photo_id":"1399533098","filename":"file4"},{"photo_id":"1399532987","filename":"file1"},{"photo_id":"1399532945","filename":"file0"},{"photo_id":"1399533062","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399533062":["hashtag1","hashtag2"]},{"1399532987":["hashtag1","hashtag2"]},{"1399532945":["hashtag1","hashtag2"]},{"1399533135":["hashtag1","hashtag2"]},{"1399533024":["hashtag1","hashtag2"]},{"1399533098":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399533062, 1399532987, 1399532945, 1399533135, 1399533024, 1399533098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.650397539138794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 18:09:42.721936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_18_2692.jpg', '/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_22_3549.jpg', '/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_24_2575.jpg', '/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_32_8174.jpg', '/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_34_1603.jpg', '/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_42_7642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_18_2692.jpg
/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_22_3549.jpg
/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_24_2575.jpg
/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_32_8174.jpg
/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_34_1603.jpg
/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_42_7642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399533367","1399533436","1399533253","1399533214","1399533390","1399533312"],"photo_ids_order":["1399533214","1399533253","1399533312","1399533367","1399533390","1399533436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/63b83974ab437a1e5be2268ede9f77fb.jpg","text":"TemporaryFile(/tmp/multipartBody9151278785493349264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818643422,"filename":"image_05112025_15_42_32_8174.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c136b3f7bbd98d2e308df61ce2707ff3.jpg","text":"TemporaryFile(/tmp/multipartBody8966329097460583448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818643422,"filename":"image_05112025_15_42_42_7642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ea098e2df1ace37e992615ac18eed556.jpg","text":"TemporaryFile(/tmp/multipartBody1154862741657542079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818643422,"filename":"image_05112025_15_42_22_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/15/7dd45c22022aa445462984f3876da6f2.jpg","text":"TemporaryFile(/tmp/multipartBody1534930940797552311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818643422,"filename":"image_05112025_15_42_18_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/15/068220970b34fafa7949f11027f77d63.jpg","text":"TemporaryFile(/tmp/multipartBody5409935504449417393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818643422,"filename":"image_05112025_15_42_34_1603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2c5e85e6bb60bed17f9f1c4ef77be7b8.jpg","text":"TemporaryFile(/tmp/multipartBody691198492902030535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818643422,"filename":"image_05112025_15_42_24_2575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399533312","file1":"1399533253","file0":"1399533214","file4":"1399533390","file5":"1399533436","file3":"1399533367"},"map_files_photo_id_array":[{"photo_id":"1399533436","filename":"file5"},{"photo_id":"1399533312","filename":"file2"},{"photo_id":"1399533390","filename":"file4"},{"photo_id":"1399533253","filename":"file1"},{"photo_id":"1399533214","filename":"file0"},{"photo_id":"1399533367","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399533367":["hashtag1","hashtag2"]},{"1399533436":["hashtag1","hashtag2"]},{"1399533253":["hashtag1","hashtag2"]},{"1399533214":["hashtag1","hashtag2"]},{"1399533390":["hashtag1","hashtag2"]},{"1399533312":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399533367, 1399533436, 1399533253, 1399533214, 1399533390, 1399533312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72438931465149 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 18:10:22.020494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/22/image_15122025_17_22_15_10811.jpg', '/home/pi/Desktop/images/15122025/17/22/image_15122025_17_22_24_9438.jpg', '/home/pi/Desktop/images/15122025/17/22/image_15122025_17_22_34_9731.jpg', '/home/pi/Desktop/images/15122025/17/22/image_15122025_17_22_45_10716.jpg', '/home/pi/Desktop/images/15122025/17/22/image_15122025_17_22_55_9670.jpg', '/home/pi/Desktop/images/15122025/17/22/image_15122025_17_23_04_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/22/image_15122025_17_22_15_10811.jpg
/home/pi/Desktop/images/15122025/17/22/image_15122025_17_22_24_9438.jpg
/home/pi/Desktop/images/15122025/17/22/image_15122025_17_22_34_9731.jpg
/home/pi/Desktop/images/15122025/17/22/image_15122025_17_22_45_10716.jpg
/home/pi/Desktop/images/15122025/17/22/image_15122025_17_22_55_9670.jpg
/home/pi/Desktop/images/15122025/17/22/image_15122025_17_23_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":["1399533626","1399533608","1399533552","1399533546","1399533549","1399533581"],"photo_ids_order":["1399533546","1399533549","1399533552","1399533581","1399533608","1399533626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8ae20edb0efcb816ef1f6d36460df0e5.jpg","text":"TemporaryFile(/tmp/multipartBody3168332735644502672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818682684,"filename":"image_15122025_17_23_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/15/39a77519203670488061ca0325b96747.jpg","text":"TemporaryFile(/tmp/multipartBody2008816692952585558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818682684,"filename":"image_15122025_17_22_55_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/171f6fe8fe4622a408f6447f90fe6ed1.jpg","text":"TemporaryFile(/tmp/multipartBody700774787002527620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818682684,"filename":"image_15122025_17_22_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/15/4de82dc4df9d57e2f15b502d37937f7a.jpg","text":"TemporaryFile(/tmp/multipartBody7469597806679303704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818682684,"filename":"image_15122025_17_22_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/15/fa3eff562cb7975507d03f1b5b16dfca.jpg","text":"TemporaryFile(/tmp/multipartBody8514561312573024237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818682684,"filename":"image_15122025_17_22_24_9438.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/adb17849d95acdaeae0afa6284997109.jpg","text":"TemporaryFile(/tmp/multipartBody8756375939298287845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818682684,"filename":"image_15122025_17_22_45_10716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399533552","file1":"1399533549","file0":"1399533546","file4":"1399533608","file5":"1399533626","file3":"1399533581"},"map_files_photo_id_array":[{"photo_id":"1399533626","filename":"file5"},{"photo_id":"1399533552","filename":"file2"},{"photo_id":"1399533608","filename":"file4"},{"photo_id":"1399533549","filename":"file1"},{"photo_id":"1399533546","filename":"file0"},{"photo_id":"1399533581","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399533626":["hashtag1","hashtag2"]},{"1399533608":["hashtag1","hashtag2"]},{"1399533552":["hashtag1","hashtag2"]},{"1399533546":["hashtag1","hashtag2"]},{"1399533549":["hashtag1","hashtag2"]},{"1399533581":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399533626, 1399533608, 1399533552, 1399533546, 1399533549, 1399533581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03141760826111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 18:11:02.763536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/23/image_15122025_17_23_15_10637.jpg', '/home/pi/Desktop/images/15122025/17/23/image_15122025_17_23_25_9747.jpg', '/home/pi/Desktop/images/15122025/17/23/image_15122025_17_23_34_9783.jpg', '/home/pi/Desktop/images/15122025/17/23/image_15122025_17_23_45_10720.jpg', '/home/pi/Desktop/images/15122025/17/23/image_15122025_17_23_55_9858.jpg', '/home/pi/Desktop/images/15122025/17/23/image_15122025_17_24_05_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/23/image_15122025_17_23_15_10637.jpg
/home/pi/Desktop/images/15122025/17/23/image_15122025_17_23_25_9747.jpg
/home/pi/Desktop/images/15122025/17/23/image_15122025_17_23_34_9783.jpg
/home/pi/Desktop/images/15122025/17/23/image_15122025_17_23_45_10720.jpg
/home/pi/Desktop/images/15122025/17/23/image_15122025_17_23_55_9858.jpg
/home/pi/Desktop/images/15122025/17/23/image_15122025_17_24_05_9703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399533650","1399533652","1399533655","1399533660","1399533657","1399533648"],"photo_ids_order":["1399533648","1399533650","1399533652","1399533655","1399533657","1399533660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7bee65d769523525ecf3662aad33171b.jpg","text":"TemporaryFile(/tmp/multipartBody6796514575981051111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818723500,"filename":"image_15122025_17_23_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/15/3f83ec2c4ca66c519f804d15e92139fa.jpg","text":"TemporaryFile(/tmp/multipartBody8878802879993720911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818723500,"filename":"image_15122025_17_23_34_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/15/46485214c49dea3af56f734a20bc9755.jpg","text":"TemporaryFile(/tmp/multipartBody3816639815737920394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818723500,"filename":"image_15122025_17_23_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/15/544683e63b83310b75535e1339a0c44b.jpg","text":"TemporaryFile(/tmp/multipartBody1596164151768655814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818723500,"filename":"image_15122025_17_24_05_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4ecd434f92fbe2fb1e6ca8a40dec4fe9.jpg","text":"TemporaryFile(/tmp/multipartBody5798252106076329843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818723500,"filename":"image_15122025_17_23_55_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4c091e40f037e11f21bee2295daf6296.jpg","text":"TemporaryFile(/tmp/multipartBody5600506717406740361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818723500,"filename":"image_15122025_17_23_15_10637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399533652","file1":"1399533650","file0":"1399533648","file4":"1399533657","file5":"1399533660","file3":"1399533655"},"map_files_photo_id_array":[{"photo_id":"1399533660","filename":"file5"},{"photo_id":"1399533652","filename":"file2"},{"photo_id":"1399533657","filename":"file4"},{"photo_id":"1399533650","filename":"file1"},{"photo_id":"1399533648","filename":"file0"},{"photo_id":"1399533655","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399533650":["hashtag1","hashtag2"]},{"1399533652":["hashtag1","hashtag2"]},{"1399533655":["hashtag1","hashtag2"]},{"1399533660":["hashtag1","hashtag2"]},{"1399533657":["hashtag1","hashtag2"]},{"1399533648":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399533650, 1399533652, 1399533655, 1399533660, 1399533657, 1399533648)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.88896942138672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 18:12:02.707520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/24/image_15122025_17_24_14_9578.jpg', '/home/pi/Desktop/images/15122025/17/24/image_15122025_17_24_25_10818.jpg', '/home/pi/Desktop/images/15122025/17/24/image_15122025_17_24_35_9737.jpg', '/home/pi/Desktop/images/15122025/17/24/image_15122025_17_24_45_9775.jpg', '/home/pi/Desktop/images/15122025/17/24/image_15122025_17_24_55_9898.jpg', '/home/pi/Desktop/images/15122025/17/25/image_15122025_17_25_14_10059.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/24/image_15122025_17_24_14_9578.jpg
/home/pi/Desktop/images/15122025/17/24/image_15122025_17_24_25_10818.jpg
/home/pi/Desktop/images/15122025/17/24/image_15122025_17_24_35_9737.jpg
/home/pi/Desktop/images/15122025/17/24/image_15122025_17_24_45_9775.jpg
/home/pi/Desktop/images/15122025/17/24/image_15122025_17_24_55_9898.jpg
/home/pi/Desktop/images/15122025/17/25/image_15122025_17_25_14_10059.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399533691","1399533685","1399533693","1399533687","1399533683","1399533689"],"photo_ids_order":["1399533683","1399533685","1399533687","1399533689","1399533691","1399533693"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1fa4ce549015c6c826ad658a541c40dc.jpg","text":"TemporaryFile(/tmp/multipartBody9175960662652347106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818783419,"filename":"image_15122025_17_24_55_9898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f542851689aeec4edc3310820e2935a1.jpg","text":"TemporaryFile(/tmp/multipartBody3053020414543974597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818783419,"filename":"image_15122025_17_24_25_10818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2e3edc6dd43bc83d0179217595e6dfe5.jpg","text":"TemporaryFile(/tmp/multipartBody3139237552218644527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818783419,"filename":"image_15122025_17_25_14_10059.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f4cb9b5c73c310473ee7c52486690384.jpg","text":"TemporaryFile(/tmp/multipartBody8542905495655691899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818783419,"filename":"image_15122025_17_24_35_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4ad898b438d263b97b03466bb9cd5a64.jpg","text":"TemporaryFile(/tmp/multipartBody8561459074792834350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818783419,"filename":"image_15122025_17_24_14_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/15/1243c1f6aa5b3fb2ccc0ee5bd6a11b66.jpg","text":"TemporaryFile(/tmp/multipartBody2541510489206402591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818783419,"filename":"image_15122025_17_24_45_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399533687","file1":"1399533685","file0":"1399533683","file4":"1399533691","file5":"1399533693","file3":"1399533689"},"map_files_photo_id_array":[{"photo_id":"1399533693","filename":"file5"},{"photo_id":"1399533687","filename":"file2"},{"photo_id":"1399533691","filename":"file4"},{"photo_id":"1399533685","filename":"file1"},{"photo_id":"1399533683","filename":"file0"},{"photo_id":"1399533689","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399533691":["hashtag1","hashtag2"]},{"1399533685":["hashtag1","hashtag2"]},{"1399533693":["hashtag1","hashtag2"]},{"1399533687":["hashtag1","hashtag2"]},{"1399533683":["hashtag1","hashtag2"]},{"1399533689":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399533691, 1399533685, 1399533693, 1399533687, 1399533683, 1399533689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98589897155762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 18:12:42.369666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_43_1734.jpg', '/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_45_1539.jpg', '/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_46_1588.jpg', '/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_49_2949.jpg', '/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_51_1743.jpg', '/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_53_1572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_43_1734.jpg
/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_45_1539.jpg
/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_46_1588.jpg
/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_49_2949.jpg
/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_51_1743.jpg
/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_53_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":["1399533704","1399533806","1399533707","1399533727","1399533762","1399533785"],"photo_ids_order":["1399533704","1399533707","1399533727","1399533762","1399533785","1399533806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/29e5a6ce85ff0dd874fc849c749e3a4b.jpg","text":"TemporaryFile(/tmp/multipartBody110578946243988369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818823095,"filename":"image_05112025_15_42_43_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/15/eb2a739a32040030a473a3cb8ffe136c.jpg","text":"TemporaryFile(/tmp/multipartBody8348406434536954803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818823095,"filename":"image_05112025_15_42_53_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/15/f355f570cbc84b198138a206fc19ec55.jpg","text":"TemporaryFile(/tmp/multipartBody4570906286158700302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818823095,"filename":"image_05112025_15_42_45_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/15/e438edd2d169ec67377a40a9397d872b.jpg","text":"TemporaryFile(/tmp/multipartBody7447987435725168080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818823095,"filename":"image_05112025_15_42_46_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/15/78fa75616d45c1157947ce34ee3d283b.jpg","text":"TemporaryFile(/tmp/multipartBody8776233594268886816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818823095,"filename":"image_05112025_15_42_49_2949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5b586bdf05245e78e3c1c32ed0a4634a.jpg","text":"TemporaryFile(/tmp/multipartBody2671202719537065531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818823095,"filename":"image_05112025_15_42_51_1743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399533727","file1":"1399533707","file0":"1399533704","file4":"1399533785","file5":"1399533806","file3":"1399533762"},"map_files_photo_id_array":[{"photo_id":"1399533806","filename":"file5"},{"photo_id":"1399533727","filename":"file2"},{"photo_id":"1399533785","filename":"file4"},{"photo_id":"1399533707","filename":"file1"},{"photo_id":"1399533704","filename":"file0"},{"photo_id":"1399533762","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399533704":["hashtag1","hashtag2"]},{"1399533806":["hashtag1","hashtag2"]},{"1399533707":["hashtag1","hashtag2"]},{"1399533727":["hashtag1","hashtag2"]},{"1399533762":["hashtag1","hashtag2"]},{"1399533785":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399533704, 1399533806, 1399533707, 1399533727, 1399533762, 1399533785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.059988498687744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 18:13:22.629092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/25/image_15122025_17_25_25_10647.jpg', '/home/pi/Desktop/images/15122025/17/25/image_15122025_17_25_35_9784.jpg', '/home/pi/Desktop/images/15122025/17/25/image_15122025_17_25_45_9955.jpg', '/home/pi/Desktop/images/15122025/17/25/image_15122025_17_25_55_10408.jpg', '/home/pi/Desktop/images/15122025/17/26/image_15122025_17_26_14_9745.jpg', '/home/pi/Desktop/images/15122025/17/26/image_15122025_17_26_25_10685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/25/image_15122025_17_25_25_10647.jpg
/home/pi/Desktop/images/15122025/17/25/image_15122025_17_25_35_9784.jpg
/home/pi/Desktop/images/15122025/17/25/image_15122025_17_25_45_9955.jpg
/home/pi/Desktop/images/15122025/17/25/image_15122025_17_25_55_10408.jpg
/home/pi/Desktop/images/15122025/17/26/image_15122025_17_26_14_9745.jpg
/home/pi/Desktop/images/15122025/17/26/image_15122025_17_26_25_10685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399533815","1399533818","1399533820","1399533822","1399533825","1399533816"],"photo_ids_order":["1399533815","1399533816","1399533818","1399533820","1399533822","1399533825"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/706717f7449dad99f88d4b408fcff11c.jpg","text":"TemporaryFile(/tmp/multipartBody8954066114025528593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818863346,"filename":"image_15122025_17_25_25_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ac5e6311020ef26981397eed1f696ce2.jpg","text":"TemporaryFile(/tmp/multipartBody7638832660504061625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818863346,"filename":"image_15122025_17_25_45_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/15/87ce0f16c57c3a2f002dbf02881649ae.jpg","text":"TemporaryFile(/tmp/multipartBody543644221307475495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818863346,"filename":"image_15122025_17_25_55_10408.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f6e34b9b9347c01f606bf7ad621f0953.jpg","text":"TemporaryFile(/tmp/multipartBody4268000024489138009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818863346,"filename":"image_15122025_17_26_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/15/ede8bdaa10ec102d359c4e5234c9547c.jpg","text":"TemporaryFile(/tmp/multipartBody5993778947455925787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818863346,"filename":"image_15122025_17_26_25_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3c26bbc96f5aa3b73d34246d6b15e8f8.jpg","text":"TemporaryFile(/tmp/multipartBody2633282236343080601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818863346,"filename":"image_15122025_17_25_35_9784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399533818","file1":"1399533816","file0":"1399533815","file4":"1399533822","file5":"1399533825","file3":"1399533820"},"map_files_photo_id_array":[{"photo_id":"1399533825","filename":"file5"},{"photo_id":"1399533818","filename":"file2"},{"photo_id":"1399533822","filename":"file4"},{"photo_id":"1399533816","filename":"file1"},{"photo_id":"1399533815","filename":"file0"},{"photo_id":"1399533820","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399533815":["hashtag1","hashtag2"]},{"1399533818":["hashtag1","hashtag2"]},{"1399533820":["hashtag1","hashtag2"]},{"1399533822":["hashtag1","hashtag2"]},{"1399533825":["hashtag1","hashtag2"]},{"1399533816":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399533815, 1399533818, 1399533820, 1399533822, 1399533825, 1399533816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.16051459312439 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-15 18:14:14.383139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 18:14:24.482957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/26/image_15122025_17_26_35_9690.jpg', '/home/pi/Desktop/images/15122025/17/26/image_15122025_17_26_45_9825.jpg', '/home/pi/Desktop/images/15122025/17/26/image_15122025_17_26_54_9878.jpg', '/home/pi/Desktop/images/15122025/17/26/image_15122025_17_27_04_9722.jpg', '/home/pi/Desktop/images/15122025/17/27/image_15122025_17_27_15_10748.jpg', '/home/pi/Desktop/images/15122025/17/27/image_15122025_17_27_25_10046.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/26/image_15122025_17_26_35_9690.jpg
/home/pi/Desktop/images/15122025/17/26/image_15122025_17_26_45_9825.jpg
/home/pi/Desktop/images/15122025/17/26/image_15122025_17_26_54_9878.jpg
/home/pi/Desktop/images/15122025/17/26/image_15122025_17_27_04_9722.jpg
/home/pi/Desktop/images/15122025/17/27/image_15122025_17_27_15_10748.jpg
/home/pi/Desktop/images/15122025/17/27/image_15122025_17_27_25_10046.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6351184844970703 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 18:14:34.414316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 18:14:46.073623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_54_1573.jpg', '/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_57_2585.jpg', '/home/pi/Desktop/images/05112025/15/42/image_05112025_15_43_00_2795.jpg', '/home/pi/Desktop/images/05112025/15/43/image_05112025_15_43_03_3672.jpg', '/home/pi/Desktop/images/05112025/15/43/image_05112025_15_43_06_2746.jpg', '/home/pi/Desktop/images/05112025/15/43/image_05112025_15_43_09_3401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_54_1573.jpg
/home/pi/Desktop/images/05112025/15/42/image_05112025_15_42_57_2585.jpg
/home/pi/Desktop/images/05112025/15/42/image_05112025_15_43_00_2795.jpg
/home/pi/Desktop/images/05112025/15/43/image_05112025_15_43_03_3672.jpg
/home/pi/Desktop/images/05112025/15/43/image_05112025_15_43_06_2746.jpg
/home/pi/Desktop/images/05112025/15/43/image_05112025_15_43_09_3401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399533857","1399533856","1399533871","1399533870","1399533863","1399533854"],"photo_ids_order":["1399533854","1399533856","1399533857","1399533863","1399533870","1399533871"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8cddd030ae1ff61829f1bb0fbf2e0c7e.jpg","text":"TemporaryFile(/tmp/multipartBody5520055628771324110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818947158,"filename":"image_05112025_15_43_00_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4857475ce33260e4c4d36e4a5d171b79.jpg","text":"TemporaryFile(/tmp/multipartBody2805460787752470177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818947158,"filename":"image_05112025_15_42_57_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/15/7e3c98306f4d233850fdd4828bc1eaec.jpg","text":"TemporaryFile(/tmp/multipartBody5437007779660237977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818947158,"filename":"image_05112025_15_43_09_3401.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/41a0b64139866933f4fcee2a8f1fa6ba.jpg","text":"TemporaryFile(/tmp/multipartBody1187300804788399832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818947158,"filename":"image_05112025_15_43_06_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/15/1cf9011ce8126eca8d7c87302ec39421.jpg","text":"TemporaryFile(/tmp/multipartBody885388504648323435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818947158,"filename":"image_05112025_15_43_03_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/15/42bf349d40d58f43cae87cdb50401226.jpg","text":"TemporaryFile(/tmp/multipartBody2373772462741093233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765818947158,"filename":"image_05112025_15_42_54_1573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399533857","file1":"1399533856","file0":"1399533854","file4":"1399533870","file5":"1399533871","file3":"1399533863"},"map_files_photo_id_array":[{"photo_id":"1399533871","filename":"file5"},{"photo_id":"1399533857","filename":"file2"},{"photo_id":"1399533870","filename":"file4"},{"photo_id":"1399533856","filename":"file1"},{"photo_id":"1399533854","filename":"file0"},{"photo_id":"1399533863","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399533857":["hashtag1","hashtag2"]},{"1399533856":["hashtag1","hashtag2"]},{"1399533871":["hashtag1","hashtag2"]},{"1399533870":["hashtag1","hashtag2"]},{"1399533863":["hashtag1","hashtag2"]},{"1399533854":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399533857, 1399533856, 1399533871, 1399533870, 1399533863, 1399533854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.28790092468262 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 18:15:32.374124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 18:15:42.361884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/43/image_05112025_15_43_12_2849.jpg', '/home/pi/Desktop/images/05112025/15/43/image_05112025_15_43_15_2798.jpg', '/home/pi/Desktop/images/05112025/15/43/image_05112025_15_43_17_2391.jpg', '/home/pi/Desktop/images/05112025/15/43/image_05112025_15_43_21_3583.jpg', '/home/pi/Desktop/images/05112025/15/43/image_05112025_15_43_24_2792.jpg', '/home/pi/Desktop/images/05112025/15/43/image_05112025_15_43_26_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/43/image_05112025_15_43_12_2849.jpg
/home/pi/Desktop/images/05112025/15/43/image_05112025_15_43_15_2798.jpg
/home/pi/Desktop/images/05112025/15/43/image_05112025_15_43_17_2391.jpg
/home/pi/Desktop/images/05112025/15/43/image_05112025_15_43_21_3583.jpg
/home/pi/Desktop/images/05112025/15/43/image_05112025_15_43_24_2792.jpg
/home/pi/Desktop/images/05112025/15/43/image_05112025_15_43_26_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":["1399533902","1399533880","1399533877","1399533879","1399533896","1399533890"],"photo_ids_order":["1399533877","1399533879","1399533880","1399533890","1399533896","1399533902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ff2a14ce91ce04ce455eaa0965f93284.jpg","text":"TemporaryFile(/tmp/multipartBody4329205882776314104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819003092,"filename":"image_05112025_15_43_26_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/15/c650ae47d045f4975cebeae26530fcf7.jpg","text":"TemporaryFile(/tmp/multipartBody8842397418588984701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819003092,"filename":"image_05112025_15_43_17_2391.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/03668009c4157a555a370e6d09d985b1.jpg","text":"TemporaryFile(/tmp/multipartBody429581817077714850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819003092,"filename":"image_05112025_15_43_12_2849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/aefd6cf8277cf83f42fa329dcb2da8de.jpg","text":"TemporaryFile(/tmp/multipartBody8671441008006092706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819003092,"filename":"image_05112025_15_43_15_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/15/2779e95937f8a19d0e396b7ec87b090b.jpg","text":"TemporaryFile(/tmp/multipartBody6503426164220320041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819003092,"filename":"image_05112025_15_43_24_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/15/d0f9a31612eb66b89a45449539a3adfe.jpg","text":"TemporaryFile(/tmp/multipartBody1791449980497661908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819003092,"filename":"image_05112025_15_43_21_3583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399533880","file1":"1399533879","file0":"1399533877","file4":"1399533896","file5":"1399533902","file3":"1399533890"},"map_files_photo_id_array":[{"photo_id":"1399533902","filename":"file5"},{"photo_id":"1399533880","filename":"file2"},{"photo_id":"1399533896","filename":"file4"},{"photo_id":"1399533879","filename":"file1"},{"photo_id":"1399533877","filename":"file0"},{"photo_id":"1399533890","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399533902":["hashtag1","hashtag2"]},{"1399533880":["hashtag1","hashtag2"]},{"1399533877":["hashtag1","hashtag2"]},{"1399533879":["hashtag1","hashtag2"]},{"1399533896":["hashtag1","hashtag2"]},{"1399533890":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399533902, 1399533880, 1399533877, 1399533879, 1399533896, 1399533890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79633927345276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 18:16:22.574343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/26/image_15122025_17_26_35_9690.jpg', '/home/pi/Desktop/images/15122025/17/26/image_15122025_17_26_45_9825.jpg', '/home/pi/Desktop/images/15122025/17/26/image_15122025_17_26_54_9878.jpg', '/home/pi/Desktop/images/15122025/17/26/image_15122025_17_27_04_9722.jpg', '/home/pi/Desktop/images/15122025/17/27/image_15122025_17_27_15_10748.jpg', '/home/pi/Desktop/images/15122025/17/27/image_15122025_17_27_25_10046.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/26/image_15122025_17_26_35_9690.jpg
/home/pi/Desktop/images/15122025/17/26/image_15122025_17_26_45_9825.jpg
/home/pi/Desktop/images/15122025/17/26/image_15122025_17_26_54_9878.jpg
/home/pi/Desktop/images/15122025/17/26/image_15122025_17_27_04_9722.jpg
/home/pi/Desktop/images/15122025/17/27/image_15122025_17_27_15_10748.jpg
/home/pi/Desktop/images/15122025/17/27/image_15122025_17_27_25_10046.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399533908","1399533905","1399533910","1399533913","1399533907","1399533921"],"photo_ids_order":["1399533905","1399533907","1399533908","1399533910","1399533913","1399533921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dd44ef5a2d04cceb15b698c3eee15462.jpg","text":"TemporaryFile(/tmp/multipartBody3539673104819811150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819043228,"filename":"image_15122025_17_26_54_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/15/74138c38e037e13f44bd98bee0991d2f.jpg","text":"TemporaryFile(/tmp/multipartBody647747795942506397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819043228,"filename":"image_15122025_17_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/15/be744a14fd53a856a75ee5d4004ef851.jpg","text":"TemporaryFile(/tmp/multipartBody2850866420057795640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819043228,"filename":"image_15122025_17_27_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/15/b91ecf70b845a83b08bcd195be4fe84c.jpg","text":"TemporaryFile(/tmp/multipartBody5317216758179985247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819043228,"filename":"image_15122025_17_27_15_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d7524f678ed462b86872c732eb6b6308.jpg","text":"TemporaryFile(/tmp/multipartBody3440135205931835571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819043228,"filename":"image_15122025_17_26_45_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dac26bf486d9a3fa08770b3a6ea13c78.jpg","text":"TemporaryFile(/tmp/multipartBody8022858514031847074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819043228,"filename":"image_15122025_17_27_25_10046.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399533908","file1":"1399533907","file0":"1399533905","file4":"1399533913","file5":"1399533921","file3":"1399533910"},"map_files_photo_id_array":[{"photo_id":"1399533921","filename":"file5"},{"photo_id":"1399533908","filename":"file2"},{"photo_id":"1399533913","filename":"file4"},{"photo_id":"1399533907","filename":"file1"},{"photo_id":"1399533905","filename":"file0"},{"photo_id":"1399533910","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399533908":["hashtag1","hashtag2"]},{"1399533905":["hashtag1","hashtag2"]},{"1399533910":["hashtag1","hashtag2"]},{"1399533913":["hashtag1","hashtag2"]},{"1399533907":["hashtag1","hashtag2"]},{"1399533921":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399533908, 1399533905, 1399533910, 1399533913, 1399533907, 1399533921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85306739807129 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 18:17:03.227572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/27/image_15122025_17_27_44_9699.jpg', '/home/pi/Desktop/images/15122025/17/27/image_15122025_17_27_54_9635.jpg', '/home/pi/Desktop/images/15122025/17/27/image_15122025_17_28_05_10601.jpg', '/home/pi/Desktop/images/15122025/17/28/image_15122025_17_28_14_9704.jpg', '/home/pi/Desktop/images/15122025/17/28/image_15122025_17_28_25_10650.jpg', '/home/pi/Desktop/images/15122025/17/28/image_15122025_17_28_35_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/27/image_15122025_17_27_44_9699.jpg
/home/pi/Desktop/images/15122025/17/27/image_15122025_17_27_54_9635.jpg
/home/pi/Desktop/images/15122025/17/27/image_15122025_17_28_05_10601.jpg
/home/pi/Desktop/images/15122025/17/28/image_15122025_17_28_14_9704.jpg
/home/pi/Desktop/images/15122025/17/28/image_15122025_17_28_25_10650.jpg
/home/pi/Desktop/images/15122025/17/28/image_15122025_17_28_35_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":["1399534093","1399534138","1399534017","1399533981","1399533945","1399534058"],"photo_ids_order":["1399533945","1399533981","1399534017","1399534058","1399534093","1399534138"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6019b1dee643412ad7a1370e8a6ac750.jpg","text":"TemporaryFile(/tmp/multipartBody4531891194535319734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819083975,"filename":"image_15122025_17_28_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/15/2e96355ff34aa66e706f8f12868d9bf3.jpg","text":"TemporaryFile(/tmp/multipartBody7468111435005707275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819083975,"filename":"image_15122025_17_28_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/15/da945cf4b1971fe070a26aa86c256292.jpg","text":"TemporaryFile(/tmp/multipartBody8531076648737768861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819083975,"filename":"image_15122025_17_28_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/15/bffde641def4044270aad929fe4d7c19.jpg","text":"TemporaryFile(/tmp/multipartBody7547982500721261725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819083975,"filename":"image_15122025_17_27_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/15/2f6533d36f622235a6602be0c7c5d6d8.jpg","text":"TemporaryFile(/tmp/multipartBody3619396146888416945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819083975,"filename":"image_15122025_17_27_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/15/d11337f055c409475e5f3dee2f1a1527.jpg","text":"TemporaryFile(/tmp/multipartBody647386633005573108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819083975,"filename":"image_15122025_17_28_14_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399534017","file1":"1399533981","file0":"1399533945","file4":"1399534093","file5":"1399534138","file3":"1399534058"},"map_files_photo_id_array":[{"photo_id":"1399534138","filename":"file5"},{"photo_id":"1399534017","filename":"file2"},{"photo_id":"1399534093","filename":"file4"},{"photo_id":"1399533981","filename":"file1"},{"photo_id":"1399533945","filename":"file0"},{"photo_id":"1399534058","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399534093":["hashtag1","hashtag2"]},{"1399534138":["hashtag1","hashtag2"]},{"1399534017":["hashtag1","hashtag2"]},{"1399533981":["hashtag1","hashtag2"]},{"1399533945":["hashtag1","hashtag2"]},{"1399534058":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399534093, 1399534138, 1399534017, 1399533981, 1399533945, 1399534058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.69229340553284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 18:17:42.606187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/43/image_05112025_15_43_30_3679.jpg', '/home/pi/Desktop/images/05112025/15/43/image_05112025_15_43_51_20695.jpg', '/home/pi/Desktop/images/05112025/15/43/image_05112025_15_43_52_1607.jpg', '/home/pi/Desktop/images/05112025/15/43/image_05112025_15_43_54_1567.jpg', '/home/pi/Desktop/images/05112025/15/43/image_05112025_15_43_56_1723.jpg', '/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_09_12940.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/43/image_05112025_15_43_30_3679.jpg
/home/pi/Desktop/images/05112025/15/43/image_05112025_15_43_51_20695.jpg
/home/pi/Desktop/images/05112025/15/43/image_05112025_15_43_52_1607.jpg
/home/pi/Desktop/images/05112025/15/43/image_05112025_15_43_54_1567.jpg
/home/pi/Desktop/images/05112025/15/43/image_05112025_15_43_56_1723.jpg
/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_09_12940.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399534234","1399534162","1399534197","1399534158","1399534161","1399534143"],"photo_ids_order":["1399534143","1399534158","1399534161","1399534162","1399534197","1399534234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e48fb45455e31f5fd85a9aa0f7a670ee.jpg","text":"TemporaryFile(/tmp/multipartBody7343663574349602181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819123308,"filename":"image_05112025_15_44_09_12940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c500de76040b65d264c1d40de40b70a9.jpg","text":"TemporaryFile(/tmp/multipartBody7569966776683057795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819123308,"filename":"image_05112025_15_43_54_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/15/a4c7a886b5471d910f8c3f5dced796b8.jpg","text":"TemporaryFile(/tmp/multipartBody1573372247801799431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819123308,"filename":"image_05112025_15_43_56_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/15/2d1b0fd16d6490e3edd97667073698ba.jpg","text":"TemporaryFile(/tmp/multipartBody1928850048811827086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819123308,"filename":"image_05112025_15_43_51_20695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f8166be8cb5578b981135bcabd447740.jpg","text":"TemporaryFile(/tmp/multipartBody962347187235443401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819123308,"filename":"image_05112025_15_43_52_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/15/fbb60a5b05f3ebb4c738c7fcc8b341d0.jpg","text":"TemporaryFile(/tmp/multipartBody2150928224913045753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819123308,"filename":"image_05112025_15_43_30_3679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399534161","file1":"1399534158","file0":"1399534143","file4":"1399534197","file5":"1399534234","file3":"1399534162"},"map_files_photo_id_array":[{"photo_id":"1399534234","filename":"file5"},{"photo_id":"1399534161","filename":"file2"},{"photo_id":"1399534197","filename":"file4"},{"photo_id":"1399534158","filename":"file1"},{"photo_id":"1399534143","filename":"file0"},{"photo_id":"1399534162","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399534234":["hashtag1","hashtag2"]},{"1399534162":["hashtag1","hashtag2"]},{"1399534197":["hashtag1","hashtag2"]},{"1399534158":["hashtag1","hashtag2"]},{"1399534161":["hashtag1","hashtag2"]},{"1399534143":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399534234, 1399534162, 1399534197, 1399534158, 1399534161, 1399534143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48137187957764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 18:18:24.101634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/28/image_15122025_17_28_45_9869.jpg', '/home/pi/Desktop/images/15122025/17/28/image_15122025_17_28_55_9830.jpg', '/home/pi/Desktop/images/15122025/17/28/image_15122025_17_29_04_9745.jpg', '/home/pi/Desktop/images/15122025/17/29/image_15122025_17_29_15_10630.jpg', '/home/pi/Desktop/images/15122025/17/29/image_15122025_17_29_25_9751.jpg', '/home/pi/Desktop/images/15122025/17/29/image_15122025_17_29_34_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/28/image_15122025_17_28_45_9869.jpg
/home/pi/Desktop/images/15122025/17/28/image_15122025_17_28_55_9830.jpg
/home/pi/Desktop/images/15122025/17/28/image_15122025_17_29_04_9745.jpg
/home/pi/Desktop/images/15122025/17/29/image_15122025_17_29_15_10630.jpg
/home/pi/Desktop/images/15122025/17/29/image_15122025_17_29_25_9751.jpg
/home/pi/Desktop/images/15122025/17/29/image_15122025_17_29_34_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":["1399534573","1399534584","1399534438","1399534494","1399534391","1399534588"],"photo_ids_order":["1399534391","1399534438","1399534494","1399534573","1399534584","1399534588"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c14bfd7c8e9b1014cb9c0988354014c5.jpg","text":"TemporaryFile(/tmp/multipartBody5869789392283864241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819164777,"filename":"image_15122025_17_29_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/15/2f3c0d01da29d2c64e15c01e77c762e7.jpg","text":"TemporaryFile(/tmp/multipartBody2684918232598848168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819164777,"filename":"image_15122025_17_29_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/15/56eaa633f3881d47131599f5079780fd.jpg","text":"TemporaryFile(/tmp/multipartBody2506090881538324378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819164777,"filename":"image_15122025_17_28_55_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/15/b06d4699ba4660de085fb5557aa3ba6a.jpg","text":"TemporaryFile(/tmp/multipartBody5802526556141623412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819164777,"filename":"image_15122025_17_29_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/15/1ddf1b53f2a6b348dbb55ce3f7317537.jpg","text":"TemporaryFile(/tmp/multipartBody2524956240417224244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819164777,"filename":"image_15122025_17_28_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/15/422335ebd8f223934b52a2d41234f5ad.jpg","text":"TemporaryFile(/tmp/multipartBody4743820732162965817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819164777,"filename":"image_15122025_17_29_34_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399534494","file1":"1399534438","file0":"1399534391","file4":"1399534584","file5":"1399534588","file3":"1399534573"},"map_files_photo_id_array":[{"photo_id":"1399534588","filename":"file5"},{"photo_id":"1399534494","filename":"file2"},{"photo_id":"1399534584","filename":"file4"},{"photo_id":"1399534438","filename":"file1"},{"photo_id":"1399534391","filename":"file0"},{"photo_id":"1399534573","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399534573":["hashtag1","hashtag2"]},{"1399534584":["hashtag1","hashtag2"]},{"1399534438":["hashtag1","hashtag2"]},{"1399534494":["hashtag1","hashtag2"]},{"1399534391":["hashtag1","hashtag2"]},{"1399534588":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399534573, 1399534584, 1399534438, 1399534494, 1399534391, 1399534588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39524269104004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 18:19:03.317678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/30/image_15122025_17_30_14_10052.jpg', '/home/pi/Desktop/images/15122025/17/30/image_15122025_17_30_25_10799.jpg', '/home/pi/Desktop/images/15122025/17/30/image_15122025_17_30_35_9728.jpg', '/home/pi/Desktop/images/15122025/17/30/image_15122025_17_30_46_11466.jpg', '/home/pi/Desktop/images/15122025/17/30/image_15122025_17_30_55_8628.jpg', '/home/pi/Desktop/images/15122025/17/30/image_15122025_17_31_05_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/30/image_15122025_17_30_14_10052.jpg
/home/pi/Desktop/images/15122025/17/30/image_15122025_17_30_25_10799.jpg
/home/pi/Desktop/images/15122025/17/30/image_15122025_17_30_35_9728.jpg
/home/pi/Desktop/images/15122025/17/30/image_15122025_17_30_46_11466.jpg
/home/pi/Desktop/images/15122025/17/30/image_15122025_17_30_55_8628.jpg
/home/pi/Desktop/images/15122025/17/30/image_15122025_17_31_05_9622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399534789","1399534590","1399534710","1399534670","1399534748","1399534628"],"photo_ids_order":["1399534590","1399534628","1399534670","1399534710","1399534748","1399534789"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/20bc39b0f801d71d347c4b59653f1054.jpg","text":"TemporaryFile(/tmp/multipartBody4334506472670969113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819204118,"filename":"image_15122025_17_31_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/15/05f27ce2a51578f5cba422f4b7859dee.jpg","text":"TemporaryFile(/tmp/multipartBody1272173744854154892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819204118,"filename":"image_15122025_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/15/f0288157da5e7386566c1508aef31d62.jpg","text":"TemporaryFile(/tmp/multipartBody459048465834153010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819204118,"filename":"image_15122025_17_30_46_11466.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/201cd47723fcb83131736e44f3984dc2.jpg","text":"TemporaryFile(/tmp/multipartBody594370543563801797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819204118,"filename":"image_15122025_17_30_35_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5255d861f3a02c4a7af68353f268bc17.jpg","text":"TemporaryFile(/tmp/multipartBody3725093403307896251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819204118,"filename":"image_15122025_17_30_55_8628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/94be4087c667be3d9e0caa0a57b7e719.jpg","text":"TemporaryFile(/tmp/multipartBody1069397445585190816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819204118,"filename":"image_15122025_17_30_25_10799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399534670","file1":"1399534628","file0":"1399534590","file4":"1399534748","file5":"1399534789","file3":"1399534710"},"map_files_photo_id_array":[{"photo_id":"1399534789","filename":"file5"},{"photo_id":"1399534670","filename":"file2"},{"photo_id":"1399534748","filename":"file4"},{"photo_id":"1399534628","filename":"file1"},{"photo_id":"1399534590","filename":"file0"},{"photo_id":"1399534710","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399534789":["hashtag1","hashtag2"]},{"1399534590":["hashtag1","hashtag2"]},{"1399534710":["hashtag1","hashtag2"]},{"1399534670":["hashtag1","hashtag2"]},{"1399534748":["hashtag1","hashtag2"]},{"1399534628":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399534789, 1399534590, 1399534710, 1399534670, 1399534748, 1399534628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37853026390076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 18:19:42.271625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_10_1652.jpg', '/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_12_1542.jpg', '/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_14_1674.jpg', '/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_15_1634.jpg', '/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_17_1594.jpg', '/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_18_1618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_10_1652.jpg
/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_12_1542.jpg
/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_14_1674.jpg
/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_15_1634.jpg
/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_17_1594.jpg
/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_18_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":["1399535113","1399534918","1399534953","1399534991","1399535063","1399535027"],"photo_ids_order":["1399534918","1399534953","1399534991","1399535027","1399535063","1399535113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f2c5862dc701a3419b92135a17727830.jpg","text":"TemporaryFile(/tmp/multipartBody7571644178958117296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819243001,"filename":"image_05112025_15_44_18_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/15/ffd7e47aa01882763923756441556e02.jpg","text":"TemporaryFile(/tmp/multipartBody6536618554865161896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819243001,"filename":"image_05112025_15_44_10_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/15/d923a1382c11569403e19b2849a40192.jpg","text":"TemporaryFile(/tmp/multipartBody6887221749532026356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819243001,"filename":"image_05112025_15_44_12_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/15/91b935d81c06766a6aa1875e1b2c0bc1.jpg","text":"TemporaryFile(/tmp/multipartBody4459962114122550778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819243001,"filename":"image_05112025_15_44_14_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/15/cde4ff2c67035e50c4b05ad846940d3b.jpg","text":"TemporaryFile(/tmp/multipartBody134711613427227762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819243001,"filename":"image_05112025_15_44_17_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/15/40f3025ac506d17e83470baabc41c3c9.jpg","text":"TemporaryFile(/tmp/multipartBody2331059312115111447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819243001,"filename":"image_05112025_15_44_15_1634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399534991","file1":"1399534953","file0":"1399534918","file4":"1399535063","file5":"1399535113","file3":"1399535027"},"map_files_photo_id_array":[{"photo_id":"1399535113","filename":"file5"},{"photo_id":"1399534991","filename":"file2"},{"photo_id":"1399535063","filename":"file4"},{"photo_id":"1399534953","filename":"file1"},{"photo_id":"1399534918","filename":"file0"},{"photo_id":"1399535027","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399535113":["hashtag1","hashtag2"]},{"1399534918":["hashtag1","hashtag2"]},{"1399534953":["hashtag1","hashtag2"]},{"1399534991":["hashtag1","hashtag2"]},{"1399535063":["hashtag1","hashtag2"]},{"1399535027":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399535113, 1399534918, 1399534953, 1399534991, 1399535063, 1399535027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.503974199295044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 18:20:25.756028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/31/image_15122025_17_31_15_10682.jpg', '/home/pi/Desktop/images/15122025/17/31/image_15122025_17_31_25_9715.jpg', '/home/pi/Desktop/images/15122025/17/31/image_15122025_17_31_35_9948.jpg', '/home/pi/Desktop/images/15122025/17/31/image_15122025_17_31_45_9653.jpg', '/home/pi/Desktop/images/15122025/17/31/image_15122025_17_31_55_10668.jpg', '/home/pi/Desktop/images/15122025/17/32/image_15122025_17_32_05_9518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/31/image_15122025_17_31_15_10682.jpg
/home/pi/Desktop/images/15122025/17/31/image_15122025_17_31_25_9715.jpg
/home/pi/Desktop/images/15122025/17/31/image_15122025_17_31_35_9948.jpg
/home/pi/Desktop/images/15122025/17/31/image_15122025_17_31_45_9653.jpg
/home/pi/Desktop/images/15122025/17/31/image_15122025_17_31_55_10668.jpg
/home/pi/Desktop/images/15122025/17/32/image_15122025_17_32_05_9518.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5768086910247803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 18:20:35.782228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 18:20:45.802614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_20_1771.jpg', '/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_22_1487.jpg', '/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_23_1803.jpg', '/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_25_1540.jpg', '/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_27_1670.jpg', '/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_28_1801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_20_1771.jpg
/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_22_1487.jpg
/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_23_1803.jpg
/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_25_1540.jpg
/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_27_1670.jpg
/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_28_1801.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399535830","1399535832","1399535834","1399535831","1399535801","1399535848"],"photo_ids_order":["1399535801","1399535830","1399535831","1399535832","1399535834","1399535848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/de731ab1e677717882c99054c74f03bd.jpg","text":"TemporaryFile(/tmp/multipartBody3196889838943970302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819306593,"filename":"image_05112025_15_44_22_1487.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6fb297b15157a6bf945de34e9fe6de63.jpg","text":"TemporaryFile(/tmp/multipartBody8047385055978165936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819306593,"filename":"image_05112025_15_44_25_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/15/c3d6d11cc0ab0060897dec3151be74ac.jpg","text":"TemporaryFile(/tmp/multipartBody8444766672811525196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819306593,"filename":"image_05112025_15_44_27_1670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f9a54b6dc9f5af32b3e24a7293b6eb1d.jpg","text":"TemporaryFile(/tmp/multipartBody1394829857962606221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819306593,"filename":"image_05112025_15_44_23_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/15/e5adf2277f92c57ea7264f283ec187f9.jpg","text":"TemporaryFile(/tmp/multipartBody6505101491793047851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819306593,"filename":"image_05112025_15_44_20_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/15/ca723aa5c34a6534b66ed900c50888f9.jpg","text":"TemporaryFile(/tmp/multipartBody6419055463399127688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819306593,"filename":"image_05112025_15_44_28_1801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399535831","file1":"1399535830","file0":"1399535801","file4":"1399535834","file5":"1399535848","file3":"1399535832"},"map_files_photo_id_array":[{"photo_id":"1399535848","filename":"file5"},{"photo_id":"1399535831","filename":"file2"},{"photo_id":"1399535834","filename":"file4"},{"photo_id":"1399535830","filename":"file1"},{"photo_id":"1399535801","filename":"file0"},{"photo_id":"1399535832","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399535830":["hashtag1","hashtag2"]},{"1399535832":["hashtag1","hashtag2"]},{"1399535834":["hashtag1","hashtag2"]},{"1399535831":["hashtag1","hashtag2"]},{"1399535801":["hashtag1","hashtag2"]},{"1399535848":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399535830, 1399535832, 1399535834, 1399535831, 1399535801, 1399535848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.996434688568115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 18:21:32.022049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 18:21:42.049314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_38_9029.jpg', '/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_39_1569.jpg', '/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_41_1526.jpg', '/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_42_1552.jpg', '/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_44_1751.jpg', '/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_45_1500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_38_9029.jpg
/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_39_1569.jpg
/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_41_1526.jpg
/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_42_1552.jpg
/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_44_1751.jpg
/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_45_1500.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399536167","1399536212","1399536203","1399536160","1399536157","1399536121"],"photo_ids_order":["1399536121","1399536157","1399536160","1399536167","1399536203","1399536212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f89e3f81220c246818977b8551b5ef39.jpg","text":"TemporaryFile(/tmp/multipartBody6977734957425744681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819362770,"filename":"image_05112025_15_44_42_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/15/057489ee81bdf80d18e8c22166d9764d.jpg","text":"TemporaryFile(/tmp/multipartBody6564514904045198795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819362770,"filename":"image_05112025_15_44_45_1500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ccf53f2ee1ae0e27a15997c0a11c2777.jpg","text":"TemporaryFile(/tmp/multipartBody5620171796378939395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819362770,"filename":"image_05112025_15_44_44_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/15/a83183f1ce3a5103ac5ba2e9e7f75b8f.jpg","text":"TemporaryFile(/tmp/multipartBody7081421206916841850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819362770,"filename":"image_05112025_15_44_41_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/15/ea66ffd9ca974929ae767d11950d1d6a.jpg","text":"TemporaryFile(/tmp/multipartBody4146060528720609766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819362770,"filename":"image_05112025_15_44_39_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/15/e7c3b74d69508cf66987cfdd2584a6d2.jpg","text":"TemporaryFile(/tmp/multipartBody7934164893125143552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819362770,"filename":"image_05112025_15_44_38_9029.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399536160","file1":"1399536157","file0":"1399536121","file4":"1399536203","file5":"1399536212","file3":"1399536167"},"map_files_photo_id_array":[{"photo_id":"1399536212","filename":"file5"},{"photo_id":"1399536160","filename":"file2"},{"photo_id":"1399536203","filename":"file4"},{"photo_id":"1399536157","filename":"file1"},{"photo_id":"1399536121","filename":"file0"},{"photo_id":"1399536167","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399536167":["hashtag1","hashtag2"]},{"1399536212":["hashtag1","hashtag2"]},{"1399536203":["hashtag1","hashtag2"]},{"1399536160":["hashtag1","hashtag2"]},{"1399536157":["hashtag1","hashtag2"]},{"1399536121":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399536167, 1399536212, 1399536203, 1399536160, 1399536157, 1399536121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98609161376953 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 18:22:22.253725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/31/image_15122025_17_31_15_10682.jpg', '/home/pi/Desktop/images/15122025/17/31/image_15122025_17_31_25_9715.jpg', '/home/pi/Desktop/images/15122025/17/31/image_15122025_17_31_35_9948.jpg', '/home/pi/Desktop/images/15122025/17/31/image_15122025_17_31_45_9653.jpg', '/home/pi/Desktop/images/15122025/17/31/image_15122025_17_31_55_10668.jpg', '/home/pi/Desktop/images/15122025/17/32/image_15122025_17_32_05_9518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/31/image_15122025_17_31_15_10682.jpg
/home/pi/Desktop/images/15122025/17/31/image_15122025_17_31_25_9715.jpg
/home/pi/Desktop/images/15122025/17/31/image_15122025_17_31_35_9948.jpg
/home/pi/Desktop/images/15122025/17/31/image_15122025_17_31_45_9653.jpg
/home/pi/Desktop/images/15122025/17/31/image_15122025_17_31_55_10668.jpg
/home/pi/Desktop/images/15122025/17/32/image_15122025_17_32_05_9518.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399536231","1399536225","1399536239","1399536221","1399536218","1399536223"],"photo_ids_order":["1399536218","1399536221","1399536223","1399536225","1399536231","1399536239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9776b272b81bb36138ba641dd2f21a91.jpg","text":"TemporaryFile(/tmp/multipartBody954645091138413763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819402899,"filename":"image_15122025_17_31_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/15/7edde1f020c957087b6c954e2fd4fc51.jpg","text":"TemporaryFile(/tmp/multipartBody4007405076435463630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819402899,"filename":"image_15122025_17_31_45_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/55c3cafa01035decc895867bce3c40a5.jpg","text":"TemporaryFile(/tmp/multipartBody7636672432245928273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819402899,"filename":"image_15122025_17_32_05_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/15/37b772d0978cb5e6ce85fba26bffb1cd.jpg","text":"TemporaryFile(/tmp/multipartBody6572091499875460798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819402899,"filename":"image_15122025_17_31_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/15/08c8d34e03cd7182948fe9b68826bdad.jpg","text":"TemporaryFile(/tmp/multipartBody5465555731914295554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819402899,"filename":"image_15122025_17_31_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/15/834233f8ad94b19628573eb893757d69.jpg","text":"TemporaryFile(/tmp/multipartBody7396180869262659576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819402899,"filename":"image_15122025_17_31_35_9948.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399536223","file1":"1399536221","file0":"1399536218","file4":"1399536231","file5":"1399536239","file3":"1399536225"},"map_files_photo_id_array":[{"photo_id":"1399536239","filename":"file5"},{"photo_id":"1399536223","filename":"file2"},{"photo_id":"1399536231","filename":"file4"},{"photo_id":"1399536221","filename":"file1"},{"photo_id":"1399536218","filename":"file0"},{"photo_id":"1399536225","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399536231":["hashtag1","hashtag2"]},{"1399536225":["hashtag1","hashtag2"]},{"1399536239":["hashtag1","hashtag2"]},{"1399536221":["hashtag1","hashtag2"]},{"1399536218":["hashtag1","hashtag2"]},{"1399536223":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399536231, 1399536225, 1399536239, 1399536221, 1399536218, 1399536223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.544416427612305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 18:23:03.168956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/32/image_15122025_17_32_25_10709.jpg', '/home/pi/Desktop/images/15122025/17/32/image_15122025_17_32_35_9677.jpg', '/home/pi/Desktop/images/15122025/17/32/image_15122025_17_32_45_9923.jpg', '/home/pi/Desktop/images/15122025/17/32/image_15122025_17_32_54_9683.jpg', '/home/pi/Desktop/images/15122025/17/32/image_15122025_17_33_05_10588.jpg', '/home/pi/Desktop/images/15122025/17/33/image_15122025_17_33_15_9990.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/32/image_15122025_17_32_25_10709.jpg
/home/pi/Desktop/images/15122025/17/32/image_15122025_17_32_35_9677.jpg
/home/pi/Desktop/images/15122025/17/32/image_15122025_17_32_45_9923.jpg
/home/pi/Desktop/images/15122025/17/32/image_15122025_17_32_54_9683.jpg
/home/pi/Desktop/images/15122025/17/32/image_15122025_17_33_05_10588.jpg
/home/pi/Desktop/images/15122025/17/33/image_15122025_17_33_15_9990.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399536246","1399536240","1399536243","1399536242","1399536241","1399536244"],"photo_ids_order":["1399536240","1399536241","1399536242","1399536243","1399536244","1399536246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fdbb38a313c6bd158139ac9314816e6f.jpg","text":"TemporaryFile(/tmp/multipartBody6762781027149598089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819443893,"filename":"image_15122025_17_33_15_9990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3dd16802212994e8aeb8540cd489c9c3.jpg","text":"TemporaryFile(/tmp/multipartBody7531564397703469155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819443893,"filename":"image_15122025_17_32_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/15/c3f883d04d70f999814536dacfe0606a.jpg","text":"TemporaryFile(/tmp/multipartBody2278828119171181189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819443893,"filename":"image_15122025_17_32_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/15/10e543b53d00470386fe82623895b9aa.jpg","text":"TemporaryFile(/tmp/multipartBody5995700833047997314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819443893,"filename":"image_15122025_17_32_45_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/15/8e3dd87810abfd3a080b7a1e7572a972.jpg","text":"TemporaryFile(/tmp/multipartBody37150722419374488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819443893,"filename":"image_15122025_17_32_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/15/4201a5cd68d17e7c93b618b0532f4ad6.jpg","text":"TemporaryFile(/tmp/multipartBody4638937744936998783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819443893,"filename":"image_15122025_17_33_05_10588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399536242","file1":"1399536241","file0":"1399536240","file4":"1399536244","file5":"1399536246","file3":"1399536243"},"map_files_photo_id_array":[{"photo_id":"1399536246","filename":"file5"},{"photo_id":"1399536242","filename":"file2"},{"photo_id":"1399536244","filename":"file4"},{"photo_id":"1399536241","filename":"file1"},{"photo_id":"1399536240","filename":"file0"},{"photo_id":"1399536243","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399536246":["hashtag1","hashtag2"]},{"1399536240":["hashtag1","hashtag2"]},{"1399536243":["hashtag1","hashtag2"]},{"1399536242":["hashtag1","hashtag2"]},{"1399536241":["hashtag1","hashtag2"]},{"1399536244":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399536246, 1399536240, 1399536243, 1399536242, 1399536241, 1399536244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.44254660606384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 18:23:42.468077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_47_1678.jpg', '/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_49_1637.jpg', '/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_50_1728.jpg', '/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_52_1623.jpg', '/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_58_5638.jpg', '/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_07_8819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_47_1678.jpg
/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_49_1637.jpg
/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_50_1728.jpg
/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_52_1623.jpg
/home/pi/Desktop/images/05112025/15/44/image_05112025_15_44_58_5638.jpg
/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_07_8819.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399536558","1399536450","1399536485","1399536374","1399536520","1399536415"],"photo_ids_order":["1399536374","1399536415","1399536450","1399536485","1399536520","1399536558"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/55a57d00fac6968ebeaf5ebd43f79809.jpg","text":"TemporaryFile(/tmp/multipartBody5520235280131664937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819483171,"filename":"image_05112025_15_45_07_8819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/be8e8978a66e61e5b5aa3d7c4941b4b1.jpg","text":"TemporaryFile(/tmp/multipartBody1197880760871117610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819483171,"filename":"image_05112025_15_44_50_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/15/5a1743f7f25756b1b0f6b849d967dae0.jpg","text":"TemporaryFile(/tmp/multipartBody2555326091538184401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819483171,"filename":"image_05112025_15_44_52_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/15/92720b8c4853dfaf60ded74f330d1394.jpg","text":"TemporaryFile(/tmp/multipartBody6033064216174692132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819483171,"filename":"image_05112025_15_44_47_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/15/1146631ee08f0ff04c4d3ddd6bef1eb7.jpg","text":"TemporaryFile(/tmp/multipartBody4762229662641959397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819483171,"filename":"image_05112025_15_44_58_5638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a5c98aef30935fe963dbfd61c26fb49b.jpg","text":"TemporaryFile(/tmp/multipartBody5609856613290754223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819483171,"filename":"image_05112025_15_44_49_1637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399536450","file1":"1399536415","file0":"1399536374","file4":"1399536520","file5":"1399536558","file3":"1399536485"},"map_files_photo_id_array":[{"photo_id":"1399536558","filename":"file5"},{"photo_id":"1399536450","filename":"file2"},{"photo_id":"1399536520","filename":"file4"},{"photo_id":"1399536415","filename":"file1"},{"photo_id":"1399536374","filename":"file0"},{"photo_id":"1399536485","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399536558":["hashtag1","hashtag2"]},{"1399536450":["hashtag1","hashtag2"]},{"1399536485":["hashtag1","hashtag2"]},{"1399536374":["hashtag1","hashtag2"]},{"1399536520":["hashtag1","hashtag2"]},{"1399536415":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399536558, 1399536450, 1399536485, 1399536374, 1399536520, 1399536415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35058856010437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 18:24:22.819906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/33/image_15122025_17_33_25_9696.jpg', '/home/pi/Desktop/images/15122025/17/33/image_15122025_17_33_34_9778.jpg', '/home/pi/Desktop/images/15122025/17/33/image_15122025_17_33_45_10715.jpg', '/home/pi/Desktop/images/15122025/17/33/image_15122025_17_33_55_9813.jpg', '/home/pi/Desktop/images/15122025/17/33/image_15122025_17_34_05_9856.jpg', '/home/pi/Desktop/images/15122025/17/34/image_15122025_17_34_15_9798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/33/image_15122025_17_33_25_9696.jpg
/home/pi/Desktop/images/15122025/17/33/image_15122025_17_33_34_9778.jpg
/home/pi/Desktop/images/15122025/17/33/image_15122025_17_33_45_10715.jpg
/home/pi/Desktop/images/15122025/17/33/image_15122025_17_33_55_9813.jpg
/home/pi/Desktop/images/15122025/17/33/image_15122025_17_34_05_9856.jpg
/home/pi/Desktop/images/15122025/17/34/image_15122025_17_34_15_9798.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399536681","1399536683","1399536686","1399536734","1399536697","1399536679"],"photo_ids_order":["1399536679","1399536681","1399536683","1399536686","1399536697","1399536734"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/aff86ea9c579cf58475c481caa0b5ea1.jpg","text":"TemporaryFile(/tmp/multipartBody4004088509164611183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819523533,"filename":"image_15122025_17_33_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/15/6d3d392c746fb0d275a656d617bd7a2d.jpg","text":"TemporaryFile(/tmp/multipartBody3078827923968753583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819523533,"filename":"image_15122025_17_33_45_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a7f9d7992412dbbfd8e66bb88011de77.jpg","text":"TemporaryFile(/tmp/multipartBody6041185349355873199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819523533,"filename":"image_15122025_17_33_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/15/a5bd73000445350c012cb4e81246539e.jpg","text":"TemporaryFile(/tmp/multipartBody7625928587613628741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819523533,"filename":"image_15122025_17_34_15_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/19001eac1e01b5f1ff96a08dac58b1c3.jpg","text":"TemporaryFile(/tmp/multipartBody294582812207366383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819523533,"filename":"image_15122025_17_34_05_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6cdeb42be82071c4263771177e601a99.jpg","text":"TemporaryFile(/tmp/multipartBody2284740349073713464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819523533,"filename":"image_15122025_17_33_25_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399536683","file1":"1399536681","file0":"1399536679","file4":"1399536697","file5":"1399536734","file3":"1399536686"},"map_files_photo_id_array":[{"photo_id":"1399536734","filename":"file5"},{"photo_id":"1399536683","filename":"file2"},{"photo_id":"1399536697","filename":"file4"},{"photo_id":"1399536681","filename":"file1"},{"photo_id":"1399536679","filename":"file0"},{"photo_id":"1399536686","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399536681":["hashtag1","hashtag2"]},{"1399536683":["hashtag1","hashtag2"]},{"1399536686":["hashtag1","hashtag2"]},{"1399536734":["hashtag1","hashtag2"]},{"1399536697":["hashtag1","hashtag2"]},{"1399536679":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399536681, 1399536683, 1399536686, 1399536734, 1399536697, 1399536679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.5526909828186 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-15 18:25:11.958575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 18:25:21.945387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/34/image_15122025_17_34_25_10637.jpg', '/home/pi/Desktop/images/15122025/17/34/image_15122025_17_34_35_9653.jpg', '/home/pi/Desktop/images/15122025/17/34/image_15122025_17_34_45_9762.jpg', '/home/pi/Desktop/images/15122025/17/34/image_15122025_17_34_54_9797.jpg', '/home/pi/Desktop/images/15122025/17/35/image_15122025_17_35_14_10056.jpg', '/home/pi/Desktop/images/15122025/17/35/image_15122025_17_35_25_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/34/image_15122025_17_34_25_10637.jpg
/home/pi/Desktop/images/15122025/17/34/image_15122025_17_34_35_9653.jpg
/home/pi/Desktop/images/15122025/17/34/image_15122025_17_34_45_9762.jpg
/home/pi/Desktop/images/15122025/17/34/image_15122025_17_34_54_9797.jpg
/home/pi/Desktop/images/15122025/17/35/image_15122025_17_35_14_10056.jpg
/home/pi/Desktop/images/15122025/17/35/image_15122025_17_35_25_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":["1399536876","1399536881","1399536884","1399536886","1399536874","1399536879"],"photo_ids_order":["1399536874","1399536876","1399536879","1399536881","1399536884","1399536886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f5bf1e42482dd1b2f310d2b3fe0f089a.jpg","text":"TemporaryFile(/tmp/multipartBody4667864897820558994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819582624,"filename":"image_15122025_17_34_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/15/07ffbc8577ecf35cc0a07629dc222f0b.jpg","text":"TemporaryFile(/tmp/multipartBody2523592148900330242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819582624,"filename":"image_15122025_17_34_54_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/21905f91c90ad56e771ae7b5838478c2.jpg","text":"TemporaryFile(/tmp/multipartBody545143826326478001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819582624,"filename":"image_15122025_17_35_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/81e035236790bc68f3f89d784b24495c.jpg","text":"TemporaryFile(/tmp/multipartBody6087987590614617313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819582624,"filename":"image_15122025_17_35_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/15/dc2edc03052ea04a145a5fd154bf9697.jpg","text":"TemporaryFile(/tmp/multipartBody6814351013238625427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819582624,"filename":"image_15122025_17_34_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/15/8d43016468f0a96f9ba6c8bec51b7a10.jpg","text":"TemporaryFile(/tmp/multipartBody1380796154170766011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819582624,"filename":"image_15122025_17_34_45_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399536879","file1":"1399536876","file0":"1399536874","file4":"1399536884","file5":"1399536886","file3":"1399536881"},"map_files_photo_id_array":[{"photo_id":"1399536886","filename":"file5"},{"photo_id":"1399536879","filename":"file2"},{"photo_id":"1399536884","filename":"file4"},{"photo_id":"1399536876","filename":"file1"},{"photo_id":"1399536874","filename":"file0"},{"photo_id":"1399536881","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399536876":["hashtag1","hashtag2"]},{"1399536881":["hashtag1","hashtag2"]},{"1399536884":["hashtag1","hashtag2"]},{"1399536886":["hashtag1","hashtag2"]},{"1399536874":["hashtag1","hashtag2"]},{"1399536879":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399536876, 1399536881, 1399536884, 1399536886, 1399536874, 1399536879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.66966390609741 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-15 18:26:12.089244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 18:26:22.296437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/35/image_15122025_17_35_34_9669.jpg', '/home/pi/Desktop/images/15122025/17/35/image_15122025_17_35_55_10691.jpg', '/home/pi/Desktop/images/15122025/17/35/image_15122025_17_36_04_9662.jpg', '/home/pi/Desktop/images/15122025/17/36/image_15122025_17_36_14_9873.jpg', '/home/pi/Desktop/images/15122025/17/36/image_15122025_17_36_25_10657.jpg', '/home/pi/Desktop/images/15122025/17/36/image_15122025_17_36_35_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/35/image_15122025_17_35_34_9669.jpg
/home/pi/Desktop/images/15122025/17/35/image_15122025_17_35_55_10691.jpg
/home/pi/Desktop/images/15122025/17/35/image_15122025_17_36_04_9662.jpg
/home/pi/Desktop/images/15122025/17/36/image_15122025_17_36_14_9873.jpg
/home/pi/Desktop/images/15122025/17/36/image_15122025_17_36_25_10657.jpg
/home/pi/Desktop/images/15122025/17/36/image_15122025_17_36_35_9654.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5697219371795654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 18:26:32.186678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 18:26:42.129971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_08_1532.jpg', '/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_10_1769.jpg', '/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_12_1739.jpg', '/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_15_3190.jpg', '/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_17_1738.jpg', '/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_18_1642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_08_1532.jpg
/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_10_1769.jpg
/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_12_1739.jpg
/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_15_3190.jpg
/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_17_1738.jpg
/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_18_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":["1399536912","1399536906","1399536914","1399536908","1399536913","1399536907"],"photo_ids_order":["1399536906","1399536907","1399536908","1399536912","1399536913","1399536914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/083e94fee9d8f150bb18fdf43fc73091.jpg","text":"TemporaryFile(/tmp/multipartBody8161626068933694770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819662832,"filename":"image_05112025_15_45_15_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/15/28ab14021ba6ba57238e0683e28e4c32.jpg","text":"TemporaryFile(/tmp/multipartBody7657644990220596434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819662832,"filename":"image_05112025_15_45_08_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/15/1856f811eb550a68b08db01ae53b35a2.jpg","text":"TemporaryFile(/tmp/multipartBody2444885816302288617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819662832,"filename":"image_05112025_15_45_18_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/15/7e3fd8f8188029441d3e3a6d93f65ab1.jpg","text":"TemporaryFile(/tmp/multipartBody5949190917729239766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819662832,"filename":"image_05112025_15_45_12_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/15/f75596ea0aa3cad1a54d8bd98a039a63.jpg","text":"TemporaryFile(/tmp/multipartBody1696701545244455562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819662832,"filename":"image_05112025_15_45_17_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/15/d7bb988e35c961a1222446b2d1aa5fc9.jpg","text":"TemporaryFile(/tmp/multipartBody2417838962552471991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819662832,"filename":"image_05112025_15_45_10_1769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399536908","file1":"1399536907","file0":"1399536906","file4":"1399536913","file5":"1399536914","file3":"1399536912"},"map_files_photo_id_array":[{"photo_id":"1399536914","filename":"file5"},{"photo_id":"1399536908","filename":"file2"},{"photo_id":"1399536913","filename":"file4"},{"photo_id":"1399536907","filename":"file1"},{"photo_id":"1399536906","filename":"file0"},{"photo_id":"1399536912","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399536912":["hashtag1","hashtag2"]},{"1399536906":["hashtag1","hashtag2"]},{"1399536914":["hashtag1","hashtag2"]},{"1399536908":["hashtag1","hashtag2"]},{"1399536913":["hashtag1","hashtag2"]},{"1399536907":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399536912, 1399536906, 1399536914, 1399536908, 1399536913, 1399536907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67738580703735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 18:27:22.561095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/35/image_15122025_17_35_34_9669.jpg', '/home/pi/Desktop/images/15122025/17/35/image_15122025_17_35_55_10691.jpg', '/home/pi/Desktop/images/15122025/17/35/image_15122025_17_36_04_9662.jpg', '/home/pi/Desktop/images/15122025/17/36/image_15122025_17_36_14_9873.jpg', '/home/pi/Desktop/images/15122025/17/36/image_15122025_17_36_25_10657.jpg', '/home/pi/Desktop/images/15122025/17/36/image_15122025_17_36_35_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/35/image_15122025_17_35_34_9669.jpg
/home/pi/Desktop/images/15122025/17/35/image_15122025_17_35_55_10691.jpg
/home/pi/Desktop/images/15122025/17/35/image_15122025_17_36_04_9662.jpg
/home/pi/Desktop/images/15122025/17/36/image_15122025_17_36_14_9873.jpg
/home/pi/Desktop/images/15122025/17/36/image_15122025_17_36_25_10657.jpg
/home/pi/Desktop/images/15122025/17/36/image_15122025_17_36_35_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":["1399536930","1399536924","1399536926","1399536920","1399536922","1399536928"],"photo_ids_order":["1399536920","1399536922","1399536924","1399536926","1399536928","1399536930"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b9f946d826e99207a65a73d77cf6b6d5.jpg","text":"TemporaryFile(/tmp/multipartBody9648296346317439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819703237,"filename":"image_15122025_17_36_35_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/15/05d05f3b13980d1aaffad6b22f3c9296.jpg","text":"TemporaryFile(/tmp/multipartBody8695784310054470826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819703237,"filename":"image_15122025_17_36_04_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ccee96b5dc2879ae97295598a706fd7e.jpg","text":"TemporaryFile(/tmp/multipartBody3651842569094105815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819703237,"filename":"image_15122025_17_36_14_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/15/4b5eb3418347945fca1360a3f86d08dd.jpg","text":"TemporaryFile(/tmp/multipartBody1603610307209783509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819703237,"filename":"image_15122025_17_35_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/15/8e6d987a03291ea8a8c7f50f8a934fd9.jpg","text":"TemporaryFile(/tmp/multipartBody8035564746042924459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819703237,"filename":"image_15122025_17_35_55_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/88c0f7530d658ebce6d875e644dbbd00.jpg","text":"TemporaryFile(/tmp/multipartBody4778300280443716769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819703237,"filename":"image_15122025_17_36_25_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399536924","file1":"1399536922","file0":"1399536920","file4":"1399536928","file5":"1399536930","file3":"1399536926"},"map_files_photo_id_array":[{"photo_id":"1399536930","filename":"file5"},{"photo_id":"1399536924","filename":"file2"},{"photo_id":"1399536928","filename":"file4"},{"photo_id":"1399536922","filename":"file1"},{"photo_id":"1399536920","filename":"file0"},{"photo_id":"1399536926","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399536930":["hashtag1","hashtag2"]},{"1399536924":["hashtag1","hashtag2"]},{"1399536926":["hashtag1","hashtag2"]},{"1399536920":["hashtag1","hashtag2"]},{"1399536922":["hashtag1","hashtag2"]},{"1399536928":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399536930, 1399536924, 1399536926, 1399536920, 1399536922, 1399536928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.947513818740845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 18:28:03.031678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/36/image_15122025_17_36_44_9738.jpg', '/home/pi/Desktop/images/15122025/17/36/image_15122025_17_36_54_9940.jpg', '/home/pi/Desktop/images/15122025/17/36/image_15122025_17_37_04_9905.jpg', '/home/pi/Desktop/images/15122025/17/37/image_15122025_17_37_14_9867.jpg', '/home/pi/Desktop/images/15122025/17/37/image_15122025_17_37_25_10873.jpg', '/home/pi/Desktop/images/15122025/17/37/image_15122025_17_37_34_9592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/36/image_15122025_17_36_44_9738.jpg
/home/pi/Desktop/images/15122025/17/36/image_15122025_17_36_54_9940.jpg
/home/pi/Desktop/images/15122025/17/36/image_15122025_17_37_04_9905.jpg
/home/pi/Desktop/images/15122025/17/37/image_15122025_17_37_14_9867.jpg
/home/pi/Desktop/images/15122025/17/37/image_15122025_17_37_25_10873.jpg
/home/pi/Desktop/images/15122025/17/37/image_15122025_17_37_34_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":["1399536936","1399536938","1399536932","1399536940","1399536943","1399536934"],"photo_ids_order":["1399536932","1399536934","1399536936","1399536938","1399536940","1399536943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/79a3eb21147b720011e3c1a141630dfb.jpg","text":"TemporaryFile(/tmp/multipartBody3409593430495547211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819743690,"filename":"image_15122025_17_37_04_9905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ec111b19ef3dcb7f44e91a487b4069ed.jpg","text":"TemporaryFile(/tmp/multipartBody4142566839237391538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819743690,"filename":"image_15122025_17_37_14_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f6cd96982a58847603b067614fea6ed1.jpg","text":"TemporaryFile(/tmp/multipartBody2435459569464912860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819743690,"filename":"image_15122025_17_36_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/15/0def93170a0d28dd481637cc087eacdd.jpg","text":"TemporaryFile(/tmp/multipartBody6973385459074228797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819743690,"filename":"image_15122025_17_37_25_10873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/24dd3d6aef39ffae92b1c805aa4930db.jpg","text":"TemporaryFile(/tmp/multipartBody934016331019637324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819743690,"filename":"image_15122025_17_37_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/15/b0055bdf1793701fca663b5f5999a188.jpg","text":"TemporaryFile(/tmp/multipartBody4847883301327437876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819743690,"filename":"image_15122025_17_36_54_9940.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399536936","file1":"1399536934","file0":"1399536932","file4":"1399536940","file5":"1399536943","file3":"1399536938"},"map_files_photo_id_array":[{"photo_id":"1399536943","filename":"file5"},{"photo_id":"1399536936","filename":"file2"},{"photo_id":"1399536940","filename":"file4"},{"photo_id":"1399536934","filename":"file1"},{"photo_id":"1399536932","filename":"file0"},{"photo_id":"1399536938","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399536936":["hashtag1","hashtag2"]},{"1399536938":["hashtag1","hashtag2"]},{"1399536932":["hashtag1","hashtag2"]},{"1399536940":["hashtag1","hashtag2"]},{"1399536943":["hashtag1","hashtag2"]},{"1399536934":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399536936, 1399536938, 1399536932, 1399536940, 1399536943, 1399536934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15854573249817 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 18:28:42.669937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_20_1541.jpg', '/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_21_1667.jpg', '/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_24_2605.jpg', '/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_27_2654.jpg', '/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_31_4071.jpg', '/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_32_1536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_20_1541.jpg
/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_21_1667.jpg
/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_24_2605.jpg
/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_27_2654.jpg
/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_31_4071.jpg
/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_32_1536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399536960","1399536963","1399536957","1399536959","1399536961","1399536955"],"photo_ids_order":["1399536955","1399536957","1399536959","1399536960","1399536961","1399536963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fc3838999634199ffd894cc6c2cf0e27.jpg","text":"TemporaryFile(/tmp/multipartBody4607550158673102231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819783376,"filename":"image_05112025_15_45_27_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ec7315a7bb85f9ad3ffda8e7e5219fd9.jpg","text":"TemporaryFile(/tmp/multipartBody5552136008728391524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819783376,"filename":"image_05112025_15_45_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/15/cb738c155d6f409bba8dd374c61ead1b.jpg","text":"TemporaryFile(/tmp/multipartBody2467161031829047512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819783376,"filename":"image_05112025_15_45_21_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/15/8601eacf0b319d60772e7861aa38559a.jpg","text":"TemporaryFile(/tmp/multipartBody6052690673999411439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819783376,"filename":"image_05112025_15_45_24_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6120a636a26cf0f771734c82fd19bb9e.jpg","text":"TemporaryFile(/tmp/multipartBody1123182350641462798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819783376,"filename":"image_05112025_15_45_31_4071.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f647dbeaf0d7e4918f9543d8fe5bb60e.jpg","text":"TemporaryFile(/tmp/multipartBody2371687750943799636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819783376,"filename":"image_05112025_15_45_20_1541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399536959","file1":"1399536957","file0":"1399536955","file4":"1399536961","file5":"1399536963","file3":"1399536960"},"map_files_photo_id_array":[{"photo_id":"1399536963","filename":"file5"},{"photo_id":"1399536959","filename":"file2"},{"photo_id":"1399536961","filename":"file4"},{"photo_id":"1399536957","filename":"file1"},{"photo_id":"1399536955","filename":"file0"},{"photo_id":"1399536960","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399536960":["hashtag1","hashtag2"]},{"1399536963":["hashtag1","hashtag2"]},{"1399536957":["hashtag1","hashtag2"]},{"1399536959":["hashtag1","hashtag2"]},{"1399536961":["hashtag1","hashtag2"]},{"1399536955":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399536960, 1399536963, 1399536957, 1399536959, 1399536961, 1399536955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16768479347229 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 18:29:21.874637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/37/image_15122025_17_37_44_9700.jpg', '/home/pi/Desktop/images/15122025/17/37/image_15122025_17_37_55_10724.jpg', '/home/pi/Desktop/images/15122025/17/37/image_15122025_17_38_05_9763.jpg', '/home/pi/Desktop/images/15122025/17/38/image_15122025_17_38_14_9854.jpg', '/home/pi/Desktop/images/15122025/17/38/image_15122025_17_38_24_9688.jpg', '/home/pi/Desktop/images/15122025/17/38/image_15122025_17_38_35_10611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/37/image_15122025_17_37_44_9700.jpg
/home/pi/Desktop/images/15122025/17/37/image_15122025_17_37_55_10724.jpg
/home/pi/Desktop/images/15122025/17/37/image_15122025_17_38_05_9763.jpg
/home/pi/Desktop/images/15122025/17/38/image_15122025_17_38_14_9854.jpg
/home/pi/Desktop/images/15122025/17/38/image_15122025_17_38_24_9688.jpg
/home/pi/Desktop/images/15122025/17/38/image_15122025_17_38_35_10611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399536969","1399536974","1399536971","1399536976","1399536979","1399536978"],"photo_ids_order":["1399536969","1399536971","1399536974","1399536976","1399536978","1399536979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/47704e175c59ecabe33fac3b4e1bb454.jpg","text":"TemporaryFile(/tmp/multipartBody1288628438490390617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819822507,"filename":"image_15122025_17_37_44_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/72557caa6eece584f61da4eaa4408665.jpg","text":"TemporaryFile(/tmp/multipartBody5632549825026116040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819822507,"filename":"image_15122025_17_38_05_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ef89607d478b71e5691efbc1fa14d6c7.jpg","text":"TemporaryFile(/tmp/multipartBody1274555145669568123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819822507,"filename":"image_15122025_17_37_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/15/aa9ff08288cfe95c033c563bfb4d6302.jpg","text":"TemporaryFile(/tmp/multipartBody4996418542749759751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819822507,"filename":"image_15122025_17_38_14_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/527eae09d9265b0ae98e68d0492bf016.jpg","text":"TemporaryFile(/tmp/multipartBody2098789955657118945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819822507,"filename":"image_15122025_17_38_35_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5347ff5ba9d0b692cc4dc754df7e4b05.jpg","text":"TemporaryFile(/tmp/multipartBody6332554275358363337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819822507,"filename":"image_15122025_17_38_24_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399536974","file1":"1399536971","file0":"1399536969","file4":"1399536978","file5":"1399536979","file3":"1399536976"},"map_files_photo_id_array":[{"photo_id":"1399536979","filename":"file5"},{"photo_id":"1399536974","filename":"file2"},{"photo_id":"1399536978","filename":"file4"},{"photo_id":"1399536971","filename":"file1"},{"photo_id":"1399536969","filename":"file0"},{"photo_id":"1399536976","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399536969":["hashtag1","hashtag2"]},{"1399536974":["hashtag1","hashtag2"]},{"1399536971":["hashtag1","hashtag2"]},{"1399536976":["hashtag1","hashtag2"]},{"1399536979":["hashtag1","hashtag2"]},{"1399536978":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399536969, 1399536974, 1399536971, 1399536976, 1399536979, 1399536978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.131531953811646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 18:30:02.655690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/38/image_15122025_17_38_45_9753.jpg', '/home/pi/Desktop/images/15122025/17/38/image_15122025_17_38_54_9636.jpg', '/home/pi/Desktop/images/15122025/17/39/image_15122025_17_39_06_11557.jpg', '/home/pi/Desktop/images/15122025/17/39/image_15122025_17_39_14_8635.jpg', '/home/pi/Desktop/images/15122025/17/39/image_15122025_17_39_24_9646.jpg', '/home/pi/Desktop/images/15122025/17/39/image_15122025_17_39_34_10121.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/38/image_15122025_17_38_45_9753.jpg
/home/pi/Desktop/images/15122025/17/38/image_15122025_17_38_54_9636.jpg
/home/pi/Desktop/images/15122025/17/39/image_15122025_17_39_06_11557.jpg
/home/pi/Desktop/images/15122025/17/39/image_15122025_17_39_14_8635.jpg
/home/pi/Desktop/images/15122025/17/39/image_15122025_17_39_24_9646.jpg
/home/pi/Desktop/images/15122025/17/39/image_15122025_17_39_34_10121.jpg
 val : 1 : upload photos 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":["1399537002","1399536986","1399537004","1399536994","1399536988","1399536990"],"photo_ids_order":["1399536986","1399536988","1399536990","1399536994","1399537002","1399537004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4f1b6a3a5c1b3532b29c4a9bc40e0755.jpg","text":"TemporaryFile(/tmp/multipartBody864531847509810411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819888592,"filename":"image_15122025_17_39_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/15/219580fe7a7e3190ed44195c5918fd7e.jpg","text":"TemporaryFile(/tmp/multipartBody6387705673458067343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819888592,"filename":"image_15122025_17_38_45_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ff964963a836701824c2c184dbfa265a.jpg","text":"TemporaryFile(/tmp/multipartBody3732133353462177238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819888592,"filename":"image_15122025_17_39_34_10121.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c62353a7f67411fc05fe5fffaf6606d9.jpg","text":"TemporaryFile(/tmp/multipartBody8444392830113199773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819888592,"filename":"image_15122025_17_39_14_8635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4fbd92857e9988effe9ebb0c938dc555.jpg","text":"TemporaryFile(/tmp/multipartBody4483283592094407063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819888592,"filename":"image_15122025_17_38_54_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/41feee79f7220ffdc4a2266ae40cdd3c.jpg","text":"TemporaryFile(/tmp/multipartBody1561739715958312775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819888592,"filename":"image_15122025_17_39_06_11557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399536990","file1":"1399536988","file0":"1399536986","file4":"1399537002","file5":"1399537004","file3":"1399536994"},"map_files_photo_id_array":[{"photo_id":"1399537004","filename":"file5"},{"photo_id":"1399536990","filename":"file2"},{"photo_id":"1399537002","filename":"file4"},{"photo_id":"1399536988","filename":"file1"},{"photo_id":"1399536986","filename":"file0"},{"photo_id":"1399536994","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399537002":["hashtag1","hashtag2"]},{"1399536986":["hashtag1","hashtag2"]},{"1399537004":["hashtag1","hashtag2"]},{"1399536994":["hashtag1","hashtag2"]},{"1399536988":["hashtag1","hashtag2"]},{"1399536990":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399537002, 1399536986, 1399537004, 1399536994, 1399536988, 1399536990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.87626385688782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 18:31:12.469754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 18:31:22.482406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/39/image_15122025_17_39_45_10592.jpg', '/home/pi/Desktop/images/15122025/17/39/image_15122025_17_39_54_9753.jpg', '/home/pi/Desktop/images/15122025/17/41/image_15122025_17_41_14_10055.jpg', '/home/pi/Desktop/images/15122025/17/41/image_15122025_17_41_25_10884.jpg', '/home/pi/Desktop/images/15122025/17/41/image_15122025_17_41_35_9746.jpg', '/home/pi/Desktop/images/15122025/17/41/image_15122025_17_41_44_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/39/image_15122025_17_39_45_10592.jpg
/home/pi/Desktop/images/15122025/17/39/image_15122025_17_39_54_9753.jpg
/home/pi/Desktop/images/15122025/17/41/image_15122025_17_41_14_10055.jpg
/home/pi/Desktop/images/15122025/17/41/image_15122025_17_41_25_10884.jpg
/home/pi/Desktop/images/15122025/17/41/image_15122025_17_41_35_9746.jpg
/home/pi/Desktop/images/15122025/17/41/image_15122025_17_41_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":["1399537020","1399537014","1399537023","1399537011","1399537016","1399537018"],"photo_ids_order":["1399537011","1399537014","1399537016","1399537018","1399537020","1399537023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0c0460d9f5f32b8bc2d7933ec99cdb8f.jpg","text":"TemporaryFile(/tmp/multipartBody4150454694021358536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819943115,"filename":"image_15122025_17_41_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/15/7acafed2ec21c06956f87075dc38f2f6.jpg","text":"TemporaryFile(/tmp/multipartBody6546259034500050057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819943115,"filename":"image_15122025_17_39_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/15/e50ca832520707d306f4a5fa18f3fd10.jpg","text":"TemporaryFile(/tmp/multipartBody5542119312347066265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819943115,"filename":"image_15122025_17_41_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/15/3e3302464925f4fb6e5fbcbb31099bc4.jpg","text":"TemporaryFile(/tmp/multipartBody7867064956522044917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819943115,"filename":"image_15122025_17_39_45_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bd6e05a5927a16b998d54221decc181f.jpg","text":"TemporaryFile(/tmp/multipartBody7918936497868138673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819943115,"filename":"image_15122025_17_41_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/15/24e7cfb62141e016e36cd37002778a13.jpg","text":"TemporaryFile(/tmp/multipartBody7822598187359378313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819943115,"filename":"image_15122025_17_41_25_10884.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399537016","file1":"1399537014","file0":"1399537011","file4":"1399537020","file5":"1399537023","file3":"1399537018"},"map_files_photo_id_array":[{"photo_id":"1399537023","filename":"file5"},{"photo_id":"1399537016","filename":"file2"},{"photo_id":"1399537020","filename":"file4"},{"photo_id":"1399537014","filename":"file1"},{"photo_id":"1399537011","filename":"file0"},{"photo_id":"1399537018","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399537020":["hashtag1","hashtag2"]},{"1399537014":["hashtag1","hashtag2"]},{"1399537023":["hashtag1","hashtag2"]},{"1399537011":["hashtag1","hashtag2"]},{"1399537016":["hashtag1","hashtag2"]},{"1399537018":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399537020, 1399537014, 1399537023, 1399537011, 1399537016, 1399537018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.853455543518066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 18:32:03.098176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/41/image_15122025_17_41_54_9753.jpg', '/home/pi/Desktop/images/15122025/17/41/image_15122025_17_42_05_10689.jpg', '/home/pi/Desktop/images/15122025/17/42/image_15122025_17_42_24_9739.jpg', '/home/pi/Desktop/images/15122025/17/42/image_15122025_17_42_34_9626.jpg', '/home/pi/Desktop/images/15122025/17/42/image_15122025_17_42_45_10913.jpg', '/home/pi/Desktop/images/15122025/17/42/image_15122025_17_43_04_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/41/image_15122025_17_41_54_9753.jpg
/home/pi/Desktop/images/15122025/17/41/image_15122025_17_42_05_10689.jpg
/home/pi/Desktop/images/15122025/17/42/image_15122025_17_42_24_9739.jpg
/home/pi/Desktop/images/15122025/17/42/image_15122025_17_42_34_9626.jpg
/home/pi/Desktop/images/15122025/17/42/image_15122025_17_42_45_10913.jpg
/home/pi/Desktop/images/15122025/17/42/image_15122025_17_43_04_9718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399537035","1399537026","1399537028","1399537030","1399537024","1399537032"],"photo_ids_order":["1399537024","1399537026","1399537028","1399537030","1399537032","1399537035"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/26d95fe0f91a4979663c7c1aa645ff3e.jpg","text":"TemporaryFile(/tmp/multipartBody7438650409059642791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819983771,"filename":"image_15122025_17_43_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/15/a13dce4cfa4d0c3eea1cf5bf5430a7c6.jpg","text":"TemporaryFile(/tmp/multipartBody7007265767561586407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819983771,"filename":"image_15122025_17_42_05_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/66ec824b2a98920f83482b8dff4cebaf.jpg","text":"TemporaryFile(/tmp/multipartBody7957343143644991112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819983771,"filename":"image_15122025_17_42_24_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9b0549b44e6c16f80b3942a93ae52b97.jpg","text":"TemporaryFile(/tmp/multipartBody1196528199932686103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819983771,"filename":"image_15122025_17_42_34_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dfc805d15bb0b9a74d9967e4070c2875.jpg","text":"TemporaryFile(/tmp/multipartBody8203372555092833312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819983771,"filename":"image_15122025_17_41_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/15/5dcc76ac7d725c48bcadd86694385e63.jpg","text":"TemporaryFile(/tmp/multipartBody2552854103096590890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765819983771,"filename":"image_15122025_17_42_45_10913.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399537028","file1":"1399537026","file0":"1399537024","file4":"1399537032","file5":"1399537035","file3":"1399537030"},"map_files_photo_id_array":[{"photo_id":"1399537035","filename":"file5"},{"photo_id":"1399537028","filename":"file2"},{"photo_id":"1399537032","filename":"file4"},{"photo_id":"1399537026","filename":"file1"},{"photo_id":"1399537024","filename":"file0"},{"photo_id":"1399537030","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399537035":["hashtag1","hashtag2"]},{"1399537026":["hashtag1","hashtag2"]},{"1399537028":["hashtag1","hashtag2"]},{"1399537030":["hashtag1","hashtag2"]},{"1399537024":["hashtag1","hashtag2"]},{"1399537032":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399537035, 1399537026, 1399537028, 1399537030, 1399537024, 1399537032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43570399284363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 18:32:42.721618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_36_3636.jpg', '/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_39_2792.jpg', '/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_41_2598.jpg', '/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_45_3579.jpg', '/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_48_2774.jpg', '/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_50_2725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_36_3636.jpg
/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_39_2792.jpg
/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_41_2598.jpg
/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_45_3579.jpg
/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_48_2774.jpg
/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_50_2725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399537073","1399537055","1399537070","1399537072","1399537069","1399537074"],"photo_ids_order":["1399537055","1399537069","1399537070","1399537072","1399537073","1399537074"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e710ca47101907637db634e64f1487fd.jpg","text":"TemporaryFile(/tmp/multipartBody1602241730532291410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820023452,"filename":"image_05112025_15_45_48_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/20e6992fb8e8ab7ce61c2afba122dc86.jpg","text":"TemporaryFile(/tmp/multipartBody3058011019058999679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820023452,"filename":"image_05112025_15_45_36_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c607b5341f693cb6902491607996796b.jpg","text":"TemporaryFile(/tmp/multipartBody8401278115394722091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820023452,"filename":"image_05112025_15_45_41_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/15/dc8abe86fde952bac0498bed13d42f91.jpg","text":"TemporaryFile(/tmp/multipartBody6297167077118013120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820023452,"filename":"image_05112025_15_45_45_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/aceb32748af797fe24d7bbb07f1c996c.jpg","text":"TemporaryFile(/tmp/multipartBody2924323809182255284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820023452,"filename":"image_05112025_15_45_39_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/15/f750d90a506c66052a11de92d9a92a90.jpg","text":"TemporaryFile(/tmp/multipartBody3108983637934704308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820023452,"filename":"image_05112025_15_45_50_2725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399537070","file1":"1399537069","file0":"1399537055","file4":"1399537073","file5":"1399537074","file3":"1399537072"},"map_files_photo_id_array":[{"photo_id":"1399537074","filename":"file5"},{"photo_id":"1399537070","filename":"file2"},{"photo_id":"1399537073","filename":"file4"},{"photo_id":"1399537069","filename":"file1"},{"photo_id":"1399537055","filename":"file0"},{"photo_id":"1399537072","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399537073":["hashtag1","hashtag2"]},{"1399537055":["hashtag1","hashtag2"]},{"1399537070":["hashtag1","hashtag2"]},{"1399537072":["hashtag1","hashtag2"]},{"1399537069":["hashtag1","hashtag2"]},{"1399537074":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399537073, 1399537055, 1399537070, 1399537072, 1399537069, 1399537074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85253381729126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 18:33:21.940278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/43/image_15122025_17_43_14_9819.jpg', '/home/pi/Desktop/images/15122025/17/43/image_15122025_17_43_25_10644.jpg', '/home/pi/Desktop/images/15122025/17/43/image_15122025_17_43_35_9689.jpg', '/home/pi/Desktop/images/15122025/17/43/image_15122025_17_43_44_9680.jpg', '/home/pi/Desktop/images/15122025/17/43/image_15122025_17_43_54_9732.jpg', '/home/pi/Desktop/images/15122025/17/43/image_15122025_17_44_05_10713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/43/image_15122025_17_43_14_9819.jpg
/home/pi/Desktop/images/15122025/17/43/image_15122025_17_43_25_10644.jpg
/home/pi/Desktop/images/15122025/17/43/image_15122025_17_43_35_9689.jpg
/home/pi/Desktop/images/15122025/17/43/image_15122025_17_43_44_9680.jpg
/home/pi/Desktop/images/15122025/17/43/image_15122025_17_43_54_9732.jpg
/home/pi/Desktop/images/15122025/17/43/image_15122025_17_44_05_10713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399537079","1399537139","1399537208","1399537087","1399537224","1399537173"],"photo_ids_order":["1399537079","1399537087","1399537139","1399537173","1399537208","1399537224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0a0b64acc3b9e8f05af28d6abaf55d67.jpg","text":"TemporaryFile(/tmp/multipartBody4049235542532562003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820062525,"filename":"image_15122025_17_43_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/15/6e7c99a6ffa1f48736662bc80048ab52.jpg","text":"TemporaryFile(/tmp/multipartBody9081206693455915944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820062525,"filename":"image_15122025_17_43_35_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0741aa98e56f10d9429ed468e772921b.jpg","text":"TemporaryFile(/tmp/multipartBody4514218489639811108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820062525,"filename":"image_15122025_17_43_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/15/066d771e949a9e35855a0b3306c5f40d.jpg","text":"TemporaryFile(/tmp/multipartBody882953209931783552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820062525,"filename":"image_15122025_17_43_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/15/507e777a1c50efed6cc199f6fc49513e.jpg","text":"TemporaryFile(/tmp/multipartBody5830158450290991773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820062525,"filename":"image_15122025_17_44_05_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/01ee42fe04a0f4bb1f011c4d74bbbc44.jpg","text":"TemporaryFile(/tmp/multipartBody305292341694523187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820062525,"filename":"image_15122025_17_43_44_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399537139","file1":"1399537087","file0":"1399537079","file4":"1399537208","file5":"1399537224","file3":"1399537173"},"map_files_photo_id_array":[{"photo_id":"1399537224","filename":"file5"},{"photo_id":"1399537139","filename":"file2"},{"photo_id":"1399537208","filename":"file4"},{"photo_id":"1399537087","filename":"file1"},{"photo_id":"1399537079","filename":"file0"},{"photo_id":"1399537173","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399537079":["hashtag1","hashtag2"]},{"1399537139":["hashtag1","hashtag2"]},{"1399537208":["hashtag1","hashtag2"]},{"1399537087":["hashtag1","hashtag2"]},{"1399537224":["hashtag1","hashtag2"]},{"1399537173":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399537079, 1399537139, 1399537208, 1399537087, 1399537224, 1399537173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.80739068984985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 18:34:02.890628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/44/image_15122025_17_44_14_9753.jpg', '/home/pi/Desktop/images/15122025/17/44/image_15122025_17_44_45_9604.jpg', '/home/pi/Desktop/images/15122025/17/45/image_15122025_17_45_15_10057.jpg', '/home/pi/Desktop/images/15122025/17/45/image_15122025_17_45_25_10677.jpg', '/home/pi/Desktop/images/15122025/17/45/image_15122025_17_45_35_9798.jpg', '/home/pi/Desktop/images/15122025/17/45/image_15122025_17_45_45_9863.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/44/image_15122025_17_44_14_9753.jpg
/home/pi/Desktop/images/15122025/17/44/image_15122025_17_44_45_9604.jpg
/home/pi/Desktop/images/15122025/17/45/image_15122025_17_45_15_10057.jpg
/home/pi/Desktop/images/15122025/17/45/image_15122025_17_45_25_10677.jpg
/home/pi/Desktop/images/15122025/17/45/image_15122025_17_45_35_9798.jpg
/home/pi/Desktop/images/15122025/17/45/image_15122025_17_45_45_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.6185758113861084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 18:34:12.123699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 18:34:22.130820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/44/image_15122025_17_44_14_9753.jpg', '/home/pi/Desktop/images/15122025/17/44/image_15122025_17_44_45_9604.jpg', '/home/pi/Desktop/images/15122025/17/45/image_15122025_17_45_15_10057.jpg', '/home/pi/Desktop/images/15122025/17/45/image_15122025_17_45_25_10677.jpg', '/home/pi/Desktop/images/15122025/17/45/image_15122025_17_45_35_9798.jpg', '/home/pi/Desktop/images/15122025/17/45/image_15122025_17_45_45_9863.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/44/image_15122025_17_44_14_9753.jpg
/home/pi/Desktop/images/15122025/17/44/image_15122025_17_44_45_9604.jpg
/home/pi/Desktop/images/15122025/17/45/image_15122025_17_45_15_10057.jpg
/home/pi/Desktop/images/15122025/17/45/image_15122025_17_45_25_10677.jpg
/home/pi/Desktop/images/15122025/17/45/image_15122025_17_45_35_9798.jpg
/home/pi/Desktop/images/15122025/17/45/image_15122025_17_45_45_9863.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399537295","1399537364","1399537297","1399537354","1399537324","1399537299"],"photo_ids_order":["1399537295","1399537297","1399537299","1399537324","1399537354","1399537364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d7d8483a67556061baa51fbb6c882fcf.jpg","text":"TemporaryFile(/tmp/multipartBody6141918275021951238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820122759,"filename":"image_15122025_17_44_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/15/3632c0ecb1100ecc3d6e88744f4908fa.jpg","text":"TemporaryFile(/tmp/multipartBody2633054497657804853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820122759,"filename":"image_15122025_17_45_45_9863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/898d0d986dcb169a040af86f5f755581.jpg","text":"TemporaryFile(/tmp/multipartBody726974476186352558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820122759,"filename":"image_15122025_17_44_45_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0738bec8e9ed8272604863b31792bce9.jpg","text":"TemporaryFile(/tmp/multipartBody7114606849150919396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820122759,"filename":"image_15122025_17_45_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/15/427deb5bcdea3444570de416d3552823.jpg","text":"TemporaryFile(/tmp/multipartBody8126112724219282338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820122759,"filename":"image_15122025_17_45_25_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/15/64d3b72b96bb3b0e94b578375e46ae84.jpg","text":"TemporaryFile(/tmp/multipartBody8968861625453971028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820122759,"filename":"image_15122025_17_45_15_10057.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399537299","file1":"1399537297","file0":"1399537295","file4":"1399537354","file5":"1399537364","file3":"1399537324"},"map_files_photo_id_array":[{"photo_id":"1399537364","filename":"file5"},{"photo_id":"1399537299","filename":"file2"},{"photo_id":"1399537354","filename":"file4"},{"photo_id":"1399537297","filename":"file1"},{"photo_id":"1399537295","filename":"file0"},{"photo_id":"1399537324","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399537295":["hashtag1","hashtag2"]},{"1399537364":["hashtag1","hashtag2"]},{"1399537297":["hashtag1","hashtag2"]},{"1399537354":["hashtag1","hashtag2"]},{"1399537324":["hashtag1","hashtag2"]},{"1399537299":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399537295, 1399537364, 1399537297, 1399537354, 1399537324, 1399537299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14457964897156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 18:35:03.062574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/45/image_15122025_17_45_54_9629.jpg', '/home/pi/Desktop/images/15122025/17/45/image_15122025_17_46_05_10827.jpg', '/home/pi/Desktop/images/15122025/17/46/image_15122025_17_46_15_9777.jpg', '/home/pi/Desktop/images/15122025/17/46/image_15122025_17_46_25_10153.jpg', '/home/pi/Desktop/images/15122025/17/46/image_15122025_17_46_35_9741.jpg', '/home/pi/Desktop/images/15122025/17/46/image_15122025_17_46_45_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/45/image_15122025_17_45_54_9629.jpg
/home/pi/Desktop/images/15122025/17/45/image_15122025_17_46_05_10827.jpg
/home/pi/Desktop/images/15122025/17/46/image_15122025_17_46_15_9777.jpg
/home/pi/Desktop/images/15122025/17/46/image_15122025_17_46_25_10153.jpg
/home/pi/Desktop/images/15122025/17/46/image_15122025_17_46_35_9741.jpg
/home/pi/Desktop/images/15122025/17/46/image_15122025_17_46_45_9665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399537376","1399537381","1399537378","1399537372","1399537369","1399537374"],"photo_ids_order":["1399537369","1399537372","1399537374","1399537376","1399537378","1399537381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/315195809dca64834c3b4f0e66755680.jpg","text":"TemporaryFile(/tmp/multipartBody1309238660875309060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820163715,"filename":"image_15122025_17_46_25_10153.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3ca54ce170ee81f8c4fb9cd16db24875.jpg","text":"TemporaryFile(/tmp/multipartBody4500620678651861519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820163715,"filename":"image_15122025_17_46_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/15/2591a702a1c0ac86ecd0ca3393c97b5d.jpg","text":"TemporaryFile(/tmp/multipartBody5366471217463160702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820163715,"filename":"image_15122025_17_46_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/15/a2d4553a80ca3c2325e52eabf928079b.jpg","text":"TemporaryFile(/tmp/multipartBody5412861656787383530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820163715,"filename":"image_15122025_17_46_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/15/af95cd4cfcc6fab4bd914f2598f46f79.jpg","text":"TemporaryFile(/tmp/multipartBody9069729055121827371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820163715,"filename":"image_15122025_17_45_54_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a7d4e1295590d294bd9779d6b5261dab.jpg","text":"TemporaryFile(/tmp/multipartBody2477958382842060359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820163715,"filename":"image_15122025_17_46_15_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399537374","file1":"1399537372","file0":"1399537369","file4":"1399537378","file5":"1399537381","file3":"1399537376"},"map_files_photo_id_array":[{"photo_id":"1399537381","filename":"file5"},{"photo_id":"1399537374","filename":"file2"},{"photo_id":"1399537378","filename":"file4"},{"photo_id":"1399537372","filename":"file1"},{"photo_id":"1399537369","filename":"file0"},{"photo_id":"1399537376","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399537376":["hashtag1","hashtag2"]},{"1399537381":["hashtag1","hashtag2"]},{"1399537378":["hashtag1","hashtag2"]},{"1399537372":["hashtag1","hashtag2"]},{"1399537369":["hashtag1","hashtag2"]},{"1399537374":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399537376, 1399537381, 1399537378, 1399537372, 1399537369, 1399537374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33740949630737 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 18:35:42.414955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_54_3722.jpg', '/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_57_2664.jpg', '/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_59_2637.jpg', '/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_08_8924.jpg', '/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_10_1683.jpg', '/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_14_4488.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_54_3722.jpg
/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_57_2664.jpg
/home/pi/Desktop/images/05112025/15/45/image_05112025_15_45_59_2637.jpg
/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_08_8924.jpg
/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_10_1683.jpg
/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_14_4488.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399537394","1399537393","1399537396","1399537392","1399537395","1399537389"],"photo_ids_order":["1399537389","1399537392","1399537393","1399537394","1399537395","1399537396"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5b93e09be23fed94e5b5eb74bd30cbec.jpg","text":"TemporaryFile(/tmp/multipartBody5598356468932628201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820203118,"filename":"image_05112025_15_46_08_8924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5380ffdb9693f09cced26157d7d2bcd3.jpg","text":"TemporaryFile(/tmp/multipartBody5169400182504480710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820203118,"filename":"image_05112025_15_45_59_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/15/20d38a34ef2d023a98d129950f2567c8.jpg","text":"TemporaryFile(/tmp/multipartBody8395187275825439283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820203118,"filename":"image_05112025_15_46_14_4488.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/28918f5e0b7248c9cf437aa104920570.jpg","text":"TemporaryFile(/tmp/multipartBody1245262387741196592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820203118,"filename":"image_05112025_15_45_57_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/15/9a8dbee4e1da8c32fea3ba4f88151394.jpg","text":"TemporaryFile(/tmp/multipartBody2621762982865358805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820203118,"filename":"image_05112025_15_46_10_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/15/3e017426831032e60e98b1f1cbbf4b69.jpg","text":"TemporaryFile(/tmp/multipartBody8085007397296870770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820203118,"filename":"image_05112025_15_45_54_3722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399537393","file1":"1399537392","file0":"1399537389","file4":"1399537395","file5":"1399537396","file3":"1399537394"},"map_files_photo_id_array":[{"photo_id":"1399537396","filename":"file5"},{"photo_id":"1399537393","filename":"file2"},{"photo_id":"1399537395","filename":"file4"},{"photo_id":"1399537392","filename":"file1"},{"photo_id":"1399537389","filename":"file0"},{"photo_id":"1399537394","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399537394":["hashtag1","hashtag2"]},{"1399537393":["hashtag1","hashtag2"]},{"1399537396":["hashtag1","hashtag2"]},{"1399537392":["hashtag1","hashtag2"]},{"1399537395":["hashtag1","hashtag2"]},{"1399537389":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399537394, 1399537393, 1399537396, 1399537392, 1399537395, 1399537389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.704079389572144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 18:36:22.651516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/46/image_15122025_17_47_05_9729.jpg', '/home/pi/Desktop/images/15122025/17/47/image_15122025_17_47_25_10585.jpg', '/home/pi/Desktop/images/15122025/17/47/image_15122025_17_47_45_9565.jpg', '/home/pi/Desktop/images/15122025/17/47/image_15122025_17_47_55_10668.jpg', '/home/pi/Desktop/images/15122025/17/48/image_15122025_17_48_15_9632.jpg', '/home/pi/Desktop/images/15122025/17/48/image_15122025_17_48_25_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/46/image_15122025_17_47_05_9729.jpg
/home/pi/Desktop/images/15122025/17/47/image_15122025_17_47_25_10585.jpg
/home/pi/Desktop/images/15122025/17/47/image_15122025_17_47_45_9565.jpg
/home/pi/Desktop/images/15122025/17/47/image_15122025_17_47_55_10668.jpg
/home/pi/Desktop/images/15122025/17/48/image_15122025_17_48_15_9632.jpg
/home/pi/Desktop/images/15122025/17/48/image_15122025_17_48_25_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":["1399537445","1399537439","1399537424","1399537412","1399537441","1399537429"],"photo_ids_order":["1399537412","1399537424","1399537429","1399537439","1399537441","1399537445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c8dfa8b7f65f6a6fe0bea0f784d53790.jpg","text":"TemporaryFile(/tmp/multipartBody3786585562629386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820243296,"filename":"image_15122025_17_48_25_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/25b07822cbb2c82c226c85f7fb33d681.jpg","text":"TemporaryFile(/tmp/multipartBody3806962306188767449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820243296,"filename":"image_15122025_17_47_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/15/19b40d390338a0ebef942dbabf517b5d.jpg","text":"TemporaryFile(/tmp/multipartBody8754375761791558977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820243296,"filename":"image_15122025_17_47_25_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/15/536b4578ee0433e97599ee1ffb111d38.jpg","text":"TemporaryFile(/tmp/multipartBody3900805441961386661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820243296,"filename":"image_15122025_17_47_05_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/15/e41ca1371525042943b73311aed48c11.jpg","text":"TemporaryFile(/tmp/multipartBody3121012010767710293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820243296,"filename":"image_15122025_17_48_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/15/9c5437338de81fc5a96bf44c79374282.jpg","text":"TemporaryFile(/tmp/multipartBody8561053275045838826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820243296,"filename":"image_15122025_17_47_45_9565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399537429","file1":"1399537424","file0":"1399537412","file4":"1399537441","file5":"1399537445","file3":"1399537439"},"map_files_photo_id_array":[{"photo_id":"1399537445","filename":"file5"},{"photo_id":"1399537429","filename":"file2"},{"photo_id":"1399537441","filename":"file4"},{"photo_id":"1399537424","filename":"file1"},{"photo_id":"1399537412","filename":"file0"},{"photo_id":"1399537439","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399537445":["hashtag1","hashtag2"]},{"1399537439":["hashtag1","hashtag2"]},{"1399537424":["hashtag1","hashtag2"]},{"1399537412":["hashtag1","hashtag2"]},{"1399537441":["hashtag1","hashtag2"]},{"1399537429":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399537445, 1399537439, 1399537424, 1399537412, 1399537441, 1399537429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.024189472198486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 18:37:02.606836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/48/image_15122025_17_48_55_9775.jpg', '/home/pi/Desktop/images/15122025/17/48/image_15122025_17_49_05_10703.jpg', '/home/pi/Desktop/images/15122025/17/49/image_15122025_17_49_15_9697.jpg', '/home/pi/Desktop/images/15122025/17/49/image_15122025_17_49_25_9744.jpg', '/home/pi/Desktop/images/15122025/17/49/image_15122025_17_49_45_9714.jpg', '/home/pi/Desktop/images/15122025/17/50/image_15122025_17_50_44_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/48/image_15122025_17_48_55_9775.jpg
/home/pi/Desktop/images/15122025/17/48/image_15122025_17_49_05_10703.jpg
/home/pi/Desktop/images/15122025/17/49/image_15122025_17_49_15_9697.jpg
/home/pi/Desktop/images/15122025/17/49/image_15122025_17_49_25_9744.jpg
/home/pi/Desktop/images/15122025/17/49/image_15122025_17_49_45_9714.jpg
/home/pi/Desktop/images/15122025/17/50/image_15122025_17_50_44_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":["1399537472","1399537474","1399537465","1399537473","1399537476","1399537479"],"photo_ids_order":["1399537465","1399537472","1399537473","1399537474","1399537476","1399537479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b9abe0fa95872c6ea0b51521409ee27a.jpg","text":"TemporaryFile(/tmp/multipartBody8925397456395414521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820283302,"filename":"image_15122025_17_49_05_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c3924ef729021e12d8999af4da671f51.jpg","text":"TemporaryFile(/tmp/multipartBody897457429594419065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820283302,"filename":"image_15122025_17_49_25_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4fa61cdf0eb2fc96d4be5867675a2191.jpg","text":"TemporaryFile(/tmp/multipartBody5906833166160943057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820283302,"filename":"image_15122025_17_48_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/15/cb3f8024776ac474ae24981803f24e9d.jpg","text":"TemporaryFile(/tmp/multipartBody192823331636587101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820283302,"filename":"image_15122025_17_49_15_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/eb85e194ff2cc9d5d95f88617fe43f36.jpg","text":"TemporaryFile(/tmp/multipartBody3282580042811259115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820283302,"filename":"image_15122025_17_49_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/15/da2cfc84b604f46738cff24603a4d84e.jpg","text":"TemporaryFile(/tmp/multipartBody3065316902478103848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820283302,"filename":"image_15122025_17_50_44_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399537473","file1":"1399537472","file0":"1399537465","file4":"1399537476","file5":"1399537479","file3":"1399537474"},"map_files_photo_id_array":[{"photo_id":"1399537479","filename":"file5"},{"photo_id":"1399537473","filename":"file2"},{"photo_id":"1399537476","filename":"file4"},{"photo_id":"1399537472","filename":"file1"},{"photo_id":"1399537465","filename":"file0"},{"photo_id":"1399537474","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399537472":["hashtag1","hashtag2"]},{"1399537474":["hashtag1","hashtag2"]},{"1399537465":["hashtag1","hashtag2"]},{"1399537473":["hashtag1","hashtag2"]},{"1399537476":["hashtag1","hashtag2"]},{"1399537479":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399537472, 1399537474, 1399537465, 1399537473, 1399537476, 1399537479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75438570976257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 18:37:41.755975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_16_1570.jpg', '/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_18_1594.jpg', '/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_19_1784.jpg', '/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_25_5799.jpg', '/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_27_1619.jpg', '/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_28_1497.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_16_1570.jpg
/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_18_1594.jpg
/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_19_1784.jpg
/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_25_5799.jpg
/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_27_1619.jpg
/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_28_1497.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399537490","1399537493","1399537487","1399537492","1399537491","1399537494"],"photo_ids_order":["1399537487","1399537490","1399537491","1399537492","1399537493","1399537494"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7a8e23a050572b0c781514a3a5d988f8.jpg","text":"TemporaryFile(/tmp/multipartBody8271941693948684088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820322455,"filename":"image_05112025_15_46_18_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/15/864da285f082ae66ef1b927f6b82d00c.jpg","text":"TemporaryFile(/tmp/multipartBody1115203883529525145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820322455,"filename":"image_05112025_15_46_27_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/15/9e54eb99e8141d39b8d55fc97b876d58.jpg","text":"TemporaryFile(/tmp/multipartBody8756788427926238334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820322455,"filename":"image_05112025_15_46_16_1570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d0998c102281a07f43879098d425568d.jpg","text":"TemporaryFile(/tmp/multipartBody8896827316504138423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820322455,"filename":"image_05112025_15_46_25_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/15/7df7f9f518665199cb99c9cbeb8f5c61.jpg","text":"TemporaryFile(/tmp/multipartBody5915121942284559250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820322455,"filename":"image_05112025_15_46_19_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/15/475614d36f08a658d879a1bf21718783.jpg","text":"TemporaryFile(/tmp/multipartBody2762286995457565109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820322455,"filename":"image_05112025_15_46_28_1497.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399537491","file1":"1399537490","file0":"1399537487","file4":"1399537493","file5":"1399537494","file3":"1399537492"},"map_files_photo_id_array":[{"photo_id":"1399537494","filename":"file5"},{"photo_id":"1399537491","filename":"file2"},{"photo_id":"1399537493","filename":"file4"},{"photo_id":"1399537490","filename":"file1"},{"photo_id":"1399537487","filename":"file0"},{"photo_id":"1399537492","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399537490":["hashtag1","hashtag2"]},{"1399537493":["hashtag1","hashtag2"]},{"1399537487":["hashtag1","hashtag2"]},{"1399537492":["hashtag1","hashtag2"]},{"1399537491":["hashtag1","hashtag2"]},{"1399537494":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399537490, 1399537493, 1399537487, 1399537492, 1399537491, 1399537494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66059327125549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 18:38:22.052138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/50/image_15122025_17_51_05_9747.jpg', '/home/pi/Desktop/images/15122025/17/51/image_15122025_17_51_15_9721.jpg', '/home/pi/Desktop/images/15122025/17/51/image_15122025_17_51_24_9751.jpg', '/home/pi/Desktop/images/15122025/17/51/image_15122025_17_51_45_9700.jpg', '/home/pi/Desktop/images/15122025/17/51/image_15122025_17_51_54_9722.jpg', '/home/pi/Desktop/images/15122025/17/52/image_15122025_17_52_25_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/50/image_15122025_17_51_05_9747.jpg
/home/pi/Desktop/images/15122025/17/51/image_15122025_17_51_15_9721.jpg
/home/pi/Desktop/images/15122025/17/51/image_15122025_17_51_24_9751.jpg
/home/pi/Desktop/images/15122025/17/51/image_15122025_17_51_45_9700.jpg
/home/pi/Desktop/images/15122025/17/51/image_15122025_17_51_54_9722.jpg
/home/pi/Desktop/images/15122025/17/52/image_15122025_17_52_25_10625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399537530","1399537500","1399537508","1399537502","1399537505","1399537507"],"photo_ids_order":["1399537500","1399537502","1399537505","1399537507","1399537508","1399537530"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/54afb05abfa92c2ced5cbd2e6e3eb554.jpg","text":"TemporaryFile(/tmp/multipartBody6949302818885632994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820362734,"filename":"image_15122025_17_52_25_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ce7af77a76cb44f3744e3dcd5e00de25.jpg","text":"TemporaryFile(/tmp/multipartBody4039521677816664941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820362734,"filename":"image_15122025_17_51_05_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/15267cfdaf9d0d08dce5c3694dfdacfa.jpg","text":"TemporaryFile(/tmp/multipartBody8135431864993240405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820362734,"filename":"image_15122025_17_51_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/15/d7cc1b4ae9e8d46e497bbdb33508e432.jpg","text":"TemporaryFile(/tmp/multipartBody8959746831567236310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820362734,"filename":"image_15122025_17_51_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/15/1f86c5e112e2940840194648b18df6e4.jpg","text":"TemporaryFile(/tmp/multipartBody8015241706397177402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820362734,"filename":"image_15122025_17_51_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/15/83f5f674c184d24cb2393a7e2ef4e607.jpg","text":"TemporaryFile(/tmp/multipartBody3230622571082491630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820362734,"filename":"image_15122025_17_51_45_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399537505","file1":"1399537502","file0":"1399537500","file4":"1399537508","file5":"1399537530","file3":"1399537507"},"map_files_photo_id_array":[{"photo_id":"1399537530","filename":"file5"},{"photo_id":"1399537505","filename":"file2"},{"photo_id":"1399537508","filename":"file4"},{"photo_id":"1399537502","filename":"file1"},{"photo_id":"1399537500","filename":"file0"},{"photo_id":"1399537507","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399537530":["hashtag1","hashtag2"]},{"1399537500":["hashtag1","hashtag2"]},{"1399537508":["hashtag1","hashtag2"]},{"1399537502":["hashtag1","hashtag2"]},{"1399537505":["hashtag1","hashtag2"]},{"1399537507":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399537530, 1399537500, 1399537508, 1399537502, 1399537505, 1399537507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.266658782958984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 18:39:03.014074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/52/image_15122025_17_52_35_9706.jpg', '/home/pi/Desktop/images/15122025/17/52/image_15122025_17_52_45_9603.jpg', '/home/pi/Desktop/images/15122025/17/53/image_15122025_17_53_24_9795.jpg', '/home/pi/Desktop/images/15122025/17/53/image_15122025_17_54_05_9651.jpg', '/home/pi/Desktop/images/15122025/17/54/image_15122025_17_54_25_10625.jpg', '/home/pi/Desktop/images/15122025/17/54/image_15122025_17_54_35_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/52/image_15122025_17_52_35_9706.jpg
/home/pi/Desktop/images/15122025/17/52/image_15122025_17_52_45_9603.jpg
/home/pi/Desktop/images/15122025/17/53/image_15122025_17_53_24_9795.jpg
/home/pi/Desktop/images/15122025/17/53/image_15122025_17_54_05_9651.jpg
/home/pi/Desktop/images/15122025/17/54/image_15122025_17_54_25_10625.jpg
/home/pi/Desktop/images/15122025/17/54/image_15122025_17_54_35_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399537809","1399537719","1399537806","1399537795","1399537756","1399537683"],"photo_ids_order":["1399537683","1399537719","1399537756","1399537795","1399537806","1399537809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/298719cd9ecbe38e98435c558d622963.jpg","text":"TemporaryFile(/tmp/multipartBody6441968346689425895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820403735,"filename":"image_15122025_17_54_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/15/ab824bd36d4055543265bf9655501e0a.jpg","text":"TemporaryFile(/tmp/multipartBody9128648821322190027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820403735,"filename":"image_15122025_17_52_45_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/15/e7ddb56104ada8a4eb9eaacdfe4b53da.jpg","text":"TemporaryFile(/tmp/multipartBody5146573265039968052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820403735,"filename":"image_15122025_17_54_25_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/756a7963d46b954a0e64e9a0243599cf.jpg","text":"TemporaryFile(/tmp/multipartBody8611780903022204832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820403735,"filename":"image_15122025_17_54_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/15/a42bd7bd34911a01a10b4305fc43bb84.jpg","text":"TemporaryFile(/tmp/multipartBody3398220074984533735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820403735,"filename":"image_15122025_17_53_24_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6b33de06b9053af24933d7f9c9b64795.jpg","text":"TemporaryFile(/tmp/multipartBody7781806947682731723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820403735,"filename":"image_15122025_17_52_35_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399537756","file1":"1399537719","file0":"1399537683","file4":"1399537806","file5":"1399537809","file3":"1399537795"},"map_files_photo_id_array":[{"photo_id":"1399537809","filename":"file5"},{"photo_id":"1399537756","filename":"file2"},{"photo_id":"1399537806","filename":"file4"},{"photo_id":"1399537719","filename":"file1"},{"photo_id":"1399537683","filename":"file0"},{"photo_id":"1399537795","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399537809":["hashtag1","hashtag2"]},{"1399537719":["hashtag1","hashtag2"]},{"1399537806":["hashtag1","hashtag2"]},{"1399537795":["hashtag1","hashtag2"]},{"1399537756":["hashtag1","hashtag2"]},{"1399537683":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399537809, 1399537719, 1399537806, 1399537795, 1399537756, 1399537683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91717791557312 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 18:39:42.226771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_30_1653.jpg', '/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_33_2635.jpg', '/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_36_3381.jpg', '/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_39_2695.jpg', '/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_41_2505.jpg', '/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_45_3638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_30_1653.jpg
/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_33_2635.jpg
/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_36_3381.jpg
/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_39_2695.jpg
/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_41_2505.jpg
/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_45_3638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399537818","1399537820","1399537814","1399537817","1399537816","1399537819"],"photo_ids_order":["1399537814","1399537816","1399537817","1399537818","1399537819","1399537820"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/74bc0b21b70fa6e41e07b54c185d5ceb.jpg","text":"TemporaryFile(/tmp/multipartBody6846502319977015944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820442954,"filename":"image_05112025_15_46_39_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/15/fd61c0f190b340bdc7937d07c800e9a1.jpg","text":"TemporaryFile(/tmp/multipartBody2139941081987198864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820442954,"filename":"image_05112025_15_46_45_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/15/f9e7886ae7ff0774b9b237ab2c0379e6.jpg","text":"TemporaryFile(/tmp/multipartBody4316680154193038224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820442954,"filename":"image_05112025_15_46_30_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/15/07cd2c5f2439cdc411bbb7875bc3b9c5.jpg","text":"TemporaryFile(/tmp/multipartBody844131775861753354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820442954,"filename":"image_05112025_15_46_36_3381.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c529a695bab5ec4b1b4411b63071ac29.jpg","text":"TemporaryFile(/tmp/multipartBody4439065867752935557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820442954,"filename":"image_05112025_15_46_33_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/15/e9c6a29aa52a94728863cda5ea4bf5e5.jpg","text":"TemporaryFile(/tmp/multipartBody3832973900212704305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820442954,"filename":"image_05112025_15_46_41_2505.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399537817","file1":"1399537816","file0":"1399537814","file4":"1399537819","file5":"1399537820","file3":"1399537818"},"map_files_photo_id_array":[{"photo_id":"1399537820","filename":"file5"},{"photo_id":"1399537817","filename":"file2"},{"photo_id":"1399537819","filename":"file4"},{"photo_id":"1399537816","filename":"file1"},{"photo_id":"1399537814","filename":"file0"},{"photo_id":"1399537818","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399537818":["hashtag1","hashtag2"]},{"1399537820":["hashtag1","hashtag2"]},{"1399537814":["hashtag1","hashtag2"]},{"1399537817":["hashtag1","hashtag2"]},{"1399537816":["hashtag1","hashtag2"]},{"1399537819":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399537818, 1399537820, 1399537814, 1399537817, 1399537816, 1399537819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.149078369140625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 18:40:22.522337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/56/image_15122025_17_56_14_10034.jpg', '/home/pi/Desktop/images/15122025/17/56/image_15122025_17_56_24_10620.jpg', '/home/pi/Desktop/images/15122025/17/56/image_15122025_17_56_34_9703.jpg', '/home/pi/Desktop/images/15122025/17/56/image_15122025_17_56_44_9851.jpg', '/home/pi/Desktop/images/15122025/17/57/image_15122025_17_57_14_9866.jpg', '/home/pi/Desktop/images/15122025/17/57/image_15122025_17_57_34_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/56/image_15122025_17_56_14_10034.jpg
/home/pi/Desktop/images/15122025/17/56/image_15122025_17_56_24_10620.jpg
/home/pi/Desktop/images/15122025/17/56/image_15122025_17_56_34_9703.jpg
/home/pi/Desktop/images/15122025/17/56/image_15122025_17_56_44_9851.jpg
/home/pi/Desktop/images/15122025/17/57/image_15122025_17_57_14_9866.jpg
/home/pi/Desktop/images/15122025/17/57/image_15122025_17_57_34_9705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399537821","1399537823","1399537835","1399537829","1399537831","1399537825"],"photo_ids_order":["1399537821","1399537823","1399537825","1399537829","1399537831","1399537835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f042a3ca755684b8f3a4e84e8b1d7e8d.jpg","text":"TemporaryFile(/tmp/multipartBody7783334594589855312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820483155,"filename":"image_15122025_17_56_14_10034.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b7a76f82094c5940565e3147822d9a78.jpg","text":"TemporaryFile(/tmp/multipartBody2669719165743937138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820483155,"filename":"image_15122025_17_56_24_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/15/b73f6dc1392fc3e52f32dc6cae9733f6.jpg","text":"TemporaryFile(/tmp/multipartBody8026856259184191652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820483155,"filename":"image_15122025_17_57_34_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/12e693b1a380cee915cca5ab6dabd947.jpg","text":"TemporaryFile(/tmp/multipartBody545996244175006938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820483155,"filename":"image_15122025_17_56_44_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/15/d1dd80cafb8d61e0b65474294822f824.jpg","text":"TemporaryFile(/tmp/multipartBody8452740669778753245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820483155,"filename":"image_15122025_17_57_14_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9280a95bab1ca26b534149178aec14c4.jpg","text":"TemporaryFile(/tmp/multipartBody7907546750550347432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820483155,"filename":"image_15122025_17_56_34_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399537825","file1":"1399537823","file0":"1399537821","file4":"1399537831","file5":"1399537835","file3":"1399537829"},"map_files_photo_id_array":[{"photo_id":"1399537835","filename":"file5"},{"photo_id":"1399537825","filename":"file2"},{"photo_id":"1399537831","filename":"file4"},{"photo_id":"1399537823","filename":"file1"},{"photo_id":"1399537821","filename":"file0"},{"photo_id":"1399537829","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399537821":["hashtag1","hashtag2"]},{"1399537823":["hashtag1","hashtag2"]},{"1399537835":["hashtag1","hashtag2"]},{"1399537829":["hashtag1","hashtag2"]},{"1399537831":["hashtag1","hashtag2"]},{"1399537825":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399537821, 1399537823, 1399537835, 1399537829, 1399537831, 1399537825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09906244277954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 18:41:02.509121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/17/57/image_15122025_17_57_44_10775.jpg', '/home/pi/Desktop/images/15122025/17/57/image_15122025_17_58_04_9559.jpg', '/home/pi/Desktop/images/15122025/17/58/image_15122025_17_59_04_9761.jpg', '/home/pi/Desktop/images/15122025/17/59/image_15122025_17_59_14_9798.jpg', '/home/pi/Desktop/images/15122025/17/59/image_15122025_17_59_54_9818.jpg', '/home/pi/Desktop/images/15122025/18/00/image_15122025_18_00_25_10754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/17/57/image_15122025_17_57_44_10775.jpg
/home/pi/Desktop/images/15122025/17/57/image_15122025_17_58_04_9559.jpg
/home/pi/Desktop/images/15122025/17/58/image_15122025_17_59_04_9761.jpg
/home/pi/Desktop/images/15122025/17/59/image_15122025_17_59_14_9798.jpg
/home/pi/Desktop/images/15122025/17/59/image_15122025_17_59_54_9818.jpg
/home/pi/Desktop/images/15122025/18/00/image_15122025_18_00_25_10754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399537856","1399537859","1399537861","1399537858","1399537863","1399537857"],"photo_ids_order":["1399537856","1399537857","1399537858","1399537859","1399537861","1399537863"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b0184f1b71c14e731fee2636969f012c.jpg","text":"TemporaryFile(/tmp/multipartBody1781790850668625102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820525683,"filename":"image_15122025_17_57_44_10775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/befa29b29ebfaf5576417adee1efa76a.jpg","text":"TemporaryFile(/tmp/multipartBody7413081673075580306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820525683,"filename":"image_15122025_17_59_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/15/782b8cc27bd3d5ca3b087362dd35dbda.jpg","text":"TemporaryFile(/tmp/multipartBody7936826698202741986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820525683,"filename":"image_15122025_17_59_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/15/f6759989869f247eaebbe9611f96fc9f.jpg","text":"TemporaryFile(/tmp/multipartBody1029211828575272160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820525683,"filename":"image_15122025_17_59_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/15/3944d54938ac6a82b18819b5d8659514.jpg","text":"TemporaryFile(/tmp/multipartBody133535364789737678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820525683,"filename":"image_15122025_18_00_25_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7f0c4dda07238421069c1727735bcd43.jpg","text":"TemporaryFile(/tmp/multipartBody7893070723019114668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820525683,"filename":"image_15122025_17_58_04_9559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399537858","file1":"1399537857","file0":"1399537856","file4":"1399537861","file5":"1399537863","file3":"1399537859"},"map_files_photo_id_array":[{"photo_id":"1399537863","filename":"file5"},{"photo_id":"1399537858","filename":"file2"},{"photo_id":"1399537861","filename":"file4"},{"photo_id":"1399537857","filename":"file1"},{"photo_id":"1399537856","filename":"file0"},{"photo_id":"1399537859","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399537856":["hashtag1","hashtag2"]},{"1399537859":["hashtag1","hashtag2"]},{"1399537861":["hashtag1","hashtag2"]},{"1399537858":["hashtag1","hashtag2"]},{"1399537863":["hashtag1","hashtag2"]},{"1399537857":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399537856, 1399537859, 1399537861, 1399537858, 1399537863, 1399537857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.91327524185181 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 18:42:04.800397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 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-15 18:42:12.087619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 18:42:21.975103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/00/image_15122025_18_01_05_9753.jpg', '/home/pi/Desktop/images/15122025/18/01/image_15122025_18_01_14_9685.jpg', '/home/pi/Desktop/images/15122025/18/01/image_15122025_18_01_25_10620.jpg', '/home/pi/Desktop/images/15122025/18/01/image_15122025_18_01_35_9725.jpg', '/home/pi/Desktop/images/15122025/18/01/image_15122025_18_01_45_9760.jpg', '/home/pi/Desktop/images/15122025/18/01/image_15122025_18_01_54_9792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/00/image_15122025_18_01_05_9753.jpg
/home/pi/Desktop/images/15122025/18/01/image_15122025_18_01_14_9685.jpg
/home/pi/Desktop/images/15122025/18/01/image_15122025_18_01_25_10620.jpg
/home/pi/Desktop/images/15122025/18/01/image_15122025_18_01_35_9725.jpg
/home/pi/Desktop/images/15122025/18/01/image_15122025_18_01_45_9760.jpg
/home/pi/Desktop/images/15122025/18/01/image_15122025_18_01_54_9792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399537874","1399537888","1399537876","1399537881","1399537878","1399537872"],"photo_ids_order":["1399537872","1399537874","1399537876","1399537878","1399537881","1399537888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/432a8bb04de3d13f6e5ae520ef4471f4.jpg","text":"TemporaryFile(/tmp/multipartBody542915830405753060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820602570,"filename":"image_15122025_18_01_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/15/197da8ed86026a5fb8e193b39f35b2df.jpg","text":"TemporaryFile(/tmp/multipartBody8578884798360673616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820602570,"filename":"image_15122025_18_01_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/15/a1f16ad1b23d4ee9b3c0cd387438934d.jpg","text":"TemporaryFile(/tmp/multipartBody3311403330063748140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820602570,"filename":"image_15122025_18_01_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/15/34abf729f2a5c46c7afdb49d5fe77f77.jpg","text":"TemporaryFile(/tmp/multipartBody7796887839969175105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820602570,"filename":"image_15122025_18_01_45_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/59b51dcd3b69937468627ed1fb4a53de.jpg","text":"TemporaryFile(/tmp/multipartBody7414393831524224910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820602570,"filename":"image_15122025_18_01_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/15/90b35d7d907717967d0aebb818c0b0f4.jpg","text":"TemporaryFile(/tmp/multipartBody6582015588312006764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820602570,"filename":"image_15122025_18_01_05_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399537876","file1":"1399537874","file0":"1399537872","file4":"1399537881","file5":"1399537888","file3":"1399537878"},"map_files_photo_id_array":[{"photo_id":"1399537888","filename":"file5"},{"photo_id":"1399537876","filename":"file2"},{"photo_id":"1399537881","filename":"file4"},{"photo_id":"1399537874","filename":"file1"},{"photo_id":"1399537872","filename":"file0"},{"photo_id":"1399537878","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399537874":["hashtag1","hashtag2"]},{"1399537888":["hashtag1","hashtag2"]},{"1399537876":["hashtag1","hashtag2"]},{"1399537881":["hashtag1","hashtag2"]},{"1399537878":["hashtag1","hashtag2"]},{"1399537872":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399537874, 1399537888, 1399537876, 1399537881, 1399537878, 1399537872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84031105041504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 18:43:02.954013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/01/image_15122025_18_02_05_10817.jpg', '/home/pi/Desktop/images/15122025/18/02/image_15122025_18_02_15_9771.jpg', '/home/pi/Desktop/images/15122025/18/02/image_15122025_18_02_25_9793.jpg', '/home/pi/Desktop/images/15122025/18/02/image_15122025_18_02_34_9755.jpg', '/home/pi/Desktop/images/15122025/18/02/image_15122025_18_02_45_10650.jpg', '/home/pi/Desktop/images/15122025/18/02/image_15122025_18_02_55_9936.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/01/image_15122025_18_02_05_10817.jpg
/home/pi/Desktop/images/15122025/18/02/image_15122025_18_02_15_9771.jpg
/home/pi/Desktop/images/15122025/18/02/image_15122025_18_02_25_9793.jpg
/home/pi/Desktop/images/15122025/18/02/image_15122025_18_02_34_9755.jpg
/home/pi/Desktop/images/15122025/18/02/image_15122025_18_02_45_10650.jpg
/home/pi/Desktop/images/15122025/18/02/image_15122025_18_02_55_9936.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399537908","1399537905","1399537907","1399537909","1399537903","1399537911"],"photo_ids_order":["1399537903","1399537905","1399537907","1399537908","1399537909","1399537911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9757eb6f8442c05db6c803a0bb7c7534.jpg","text":"TemporaryFile(/tmp/multipartBody7526672113459302254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820643601,"filename":"image_15122025_18_02_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/15/2ccf27e80c979d71a236be5615a2ead8.jpg","text":"TemporaryFile(/tmp/multipartBody6063622225568720887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820643601,"filename":"image_15122025_18_02_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/15/7b4d815a4a16a47393c8587302e29e8c.jpg","text":"TemporaryFile(/tmp/multipartBody6547985703178695041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820643601,"filename":"image_15122025_18_02_25_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/15/2864e2da6f67e6b1cf43408e7f7477a9.jpg","text":"TemporaryFile(/tmp/multipartBody1039958529236162664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820643601,"filename":"image_15122025_18_02_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/15/36d099c8dac96041c2ba4de140d8f770.jpg","text":"TemporaryFile(/tmp/multipartBody4693841981221268064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820643601,"filename":"image_15122025_18_02_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/15/68a80a94082f9b291264a7a0d564cbd6.jpg","text":"TemporaryFile(/tmp/multipartBody18241099873561820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820643601,"filename":"image_15122025_18_02_55_9936.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399537907","file1":"1399537905","file0":"1399537903","file4":"1399537909","file5":"1399537911","file3":"1399537908"},"map_files_photo_id_array":[{"photo_id":"1399537911","filename":"file5"},{"photo_id":"1399537907","filename":"file2"},{"photo_id":"1399537909","filename":"file4"},{"photo_id":"1399537905","filename":"file1"},{"photo_id":"1399537903","filename":"file0"},{"photo_id":"1399537908","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399537908":["hashtag1","hashtag2"]},{"1399537905":["hashtag1","hashtag2"]},{"1399537907":["hashtag1","hashtag2"]},{"1399537909":["hashtag1","hashtag2"]},{"1399537903":["hashtag1","hashtag2"]},{"1399537911":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399537908, 1399537905, 1399537907, 1399537909, 1399537903, 1399537911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.334983110427856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 18:43:42.302279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_50_4846.jpg', '/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_53_3257.jpg', '/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_55_1565.jpg', '/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_56_1699.jpg', '/home/pi/Desktop/images/05112025/15/46/image_05112025_15_47_00_3610.jpg', '/home/pi/Desktop/images/05112025/15/47/image_05112025_15_47_20_20369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_50_4846.jpg
/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_53_3257.jpg
/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_55_1565.jpg
/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_56_1699.jpg
/home/pi/Desktop/images/05112025/15/46/image_05112025_15_47_00_3610.jpg
/home/pi/Desktop/images/05112025/15/47/image_05112025_15_47_20_20369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399537920","1399537923","1399537922","1399537916","1399537921","1399537918"],"photo_ids_order":["1399537916","1399537918","1399537920","1399537921","1399537922","1399537923"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2baa84a6e84436dbf07c8d5fb5690d05.jpg","text":"TemporaryFile(/tmp/multipartBody996734559547030357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820683001,"filename":"image_05112025_15_46_55_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/15/bfa85ca7729add2981133512dc4c33dc.jpg","text":"TemporaryFile(/tmp/multipartBody3407195566523783902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820683001,"filename":"image_05112025_15_47_20_20369.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c60053033e8f9ee5121aab1cd3771a21.jpg","text":"TemporaryFile(/tmp/multipartBody5801100140114738051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820683001,"filename":"image_05112025_15_47_00_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/682b5f18d95c170330ed3ec149c1bbc8.jpg","text":"TemporaryFile(/tmp/multipartBody513311245239068684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820683001,"filename":"image_05112025_15_46_50_4846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c076898ad48b77d80c64078a898142c0.jpg","text":"TemporaryFile(/tmp/multipartBody1498779222045307835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820683001,"filename":"image_05112025_15_46_56_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/15/516336edde29502f504c4f793d3800be.jpg","text":"TemporaryFile(/tmp/multipartBody2516249891302018051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820683001,"filename":"image_05112025_15_46_53_3257.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399537920","file1":"1399537918","file0":"1399537916","file4":"1399537922","file5":"1399537923","file3":"1399537921"},"map_files_photo_id_array":[{"photo_id":"1399537923","filename":"file5"},{"photo_id":"1399537920","filename":"file2"},{"photo_id":"1399537922","filename":"file4"},{"photo_id":"1399537918","filename":"file1"},{"photo_id":"1399537916","filename":"file0"},{"photo_id":"1399537921","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399537920":["hashtag1","hashtag2"]},{"1399537923":["hashtag1","hashtag2"]},{"1399537922":["hashtag1","hashtag2"]},{"1399537916":["hashtag1","hashtag2"]},{"1399537921":["hashtag1","hashtag2"]},{"1399537918":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399537920, 1399537923, 1399537922, 1399537916, 1399537921, 1399537918)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1399537920 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/05112025/15/46/image_05112025_15_46_55_1565.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 58.51631307601929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 18:44:42.572655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/47/image_05112025_15_47_41_20327.jpg', '/home/pi/Desktop/images/05112025/15/47/image_05112025_15_47_44_3322.jpg', '/home/pi/Desktop/images/05112025/15/47/image_05112025_15_47_45_1524.jpg', '/home/pi/Desktop/images/05112025/15/47/image_05112025_15_47_47_1739.jpg', '/home/pi/Desktop/images/05112025/15/47/image_05112025_15_47_49_1676.jpg', '/home/pi/Desktop/images/05112025/15/47/image_05112025_15_47_51_1725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/47/image_05112025_15_47_41_20327.jpg
/home/pi/Desktop/images/05112025/15/47/image_05112025_15_47_44_3322.jpg
/home/pi/Desktop/images/05112025/15/47/image_05112025_15_47_45_1524.jpg
/home/pi/Desktop/images/05112025/15/47/image_05112025_15_47_47_1739.jpg
/home/pi/Desktop/images/05112025/15/47/image_05112025_15_47_49_1676.jpg
/home/pi/Desktop/images/05112025/15/47/image_05112025_15_47_51_1725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399537952","1399537963","1399537951","1399537942","1399537962","1399537956"],"photo_ids_order":["1399537942","1399537951","1399537952","1399537956","1399537962","1399537963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cd4ec501e091bdd7be3c1217ff912afb.jpg","text":"TemporaryFile(/tmp/multipartBody6838655060857930513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820743352,"filename":"image_05112025_15_47_45_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/15/c8656a428bbb15e0f8916b6886b4bd70.jpg","text":"TemporaryFile(/tmp/multipartBody9159378945675586624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820743352,"filename":"image_05112025_15_47_51_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/15/6f8704f26a7484a837da1fa30dc57805.jpg","text":"TemporaryFile(/tmp/multipartBody1848811023099826337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820743352,"filename":"image_05112025_15_47_44_3322.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/af533df75922f241a5d37903852fe67a.jpg","text":"TemporaryFile(/tmp/multipartBody1320883743719554980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820743352,"filename":"image_05112025_15_47_41_20327.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6b4225e6c74700c7759bc6a5a89c275d.jpg","text":"TemporaryFile(/tmp/multipartBody190400940186579894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820743352,"filename":"image_05112025_15_47_49_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/138d762c2680fc709a7c6c2739020bb8.jpg","text":"TemporaryFile(/tmp/multipartBody4817289602018837347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820743352,"filename":"image_05112025_15_47_47_1739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399537952","file1":"1399537951","file0":"1399537942","file4":"1399537962","file5":"1399537963","file3":"1399537956"},"map_files_photo_id_array":[{"photo_id":"1399537963","filename":"file5"},{"photo_id":"1399537952","filename":"file2"},{"photo_id":"1399537962","filename":"file4"},{"photo_id":"1399537951","filename":"file1"},{"photo_id":"1399537942","filename":"file0"},{"photo_id":"1399537956","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399537952":["hashtag1","hashtag2"]},{"1399537963":["hashtag1","hashtag2"]},{"1399537951":["hashtag1","hashtag2"]},{"1399537942":["hashtag1","hashtag2"]},{"1399537962":["hashtag1","hashtag2"]},{"1399537956":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399537952, 1399537963, 1399537951, 1399537942, 1399537962, 1399537956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26034069061279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 18:45:22.733508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/02/image_15122025_18_03_05_9687.jpg', '/home/pi/Desktop/images/15122025/18/03/image_15122025_18_03_14_9619.jpg', '/home/pi/Desktop/images/15122025/18/03/image_15122025_18_03_24_9868.jpg', '/home/pi/Desktop/images/15122025/18/03/image_15122025_18_03_35_10665.jpg', '/home/pi/Desktop/images/15122025/18/03/image_15122025_18_03_45_9800.jpg', '/home/pi/Desktop/images/15122025/18/03/image_15122025_18_03_54_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/02/image_15122025_18_03_05_9687.jpg
/home/pi/Desktop/images/15122025/18/03/image_15122025_18_03_14_9619.jpg
/home/pi/Desktop/images/15122025/18/03/image_15122025_18_03_24_9868.jpg
/home/pi/Desktop/images/15122025/18/03/image_15122025_18_03_35_10665.jpg
/home/pi/Desktop/images/15122025/18/03/image_15122025_18_03_45_9800.jpg
/home/pi/Desktop/images/15122025/18/03/image_15122025_18_03_54_9685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399537979","1399537982","1399537976","1399537978","1399537974","1399537971"],"photo_ids_order":["1399537971","1399537974","1399537976","1399537978","1399537979","1399537982"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/88f4a16c2a642fc60a03a98eaaa4a07a.jpg","text":"TemporaryFile(/tmp/multipartBody9072320132232501935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820783419,"filename":"image_15122025_18_03_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/15/371a8bb17d8d5cf5917c006f821208b0.jpg","text":"TemporaryFile(/tmp/multipartBody8642212780637670440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820783419,"filename":"image_15122025_18_03_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/15/b5c266b716fd496cf9b81729f226c18c.jpg","text":"TemporaryFile(/tmp/multipartBody6090369848967953637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820783419,"filename":"image_15122025_18_03_24_9868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f7acd0e11cecb33c444eeb445be9b7be.jpg","text":"TemporaryFile(/tmp/multipartBody3733787061179087206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820783419,"filename":"image_15122025_18_03_35_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5b9aa352dbc7b02abb65f3f86c33af71.jpg","text":"TemporaryFile(/tmp/multipartBody3808224599219663923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820783419,"filename":"image_15122025_18_03_14_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3ac6b30f3c2afbff5bd2dafeac3a3b41.jpg","text":"TemporaryFile(/tmp/multipartBody8646774303049410709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820783419,"filename":"image_15122025_18_03_05_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399537976","file1":"1399537974","file0":"1399537971","file4":"1399537979","file5":"1399537982","file3":"1399537978"},"map_files_photo_id_array":[{"photo_id":"1399537982","filename":"file5"},{"photo_id":"1399537976","filename":"file2"},{"photo_id":"1399537979","filename":"file4"},{"photo_id":"1399537974","filename":"file1"},{"photo_id":"1399537971","filename":"file0"},{"photo_id":"1399537978","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399537979":["hashtag1","hashtag2"]},{"1399537982":["hashtag1","hashtag2"]},{"1399537976":["hashtag1","hashtag2"]},{"1399537978":["hashtag1","hashtag2"]},{"1399537974":["hashtag1","hashtag2"]},{"1399537971":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399537979, 1399537982, 1399537976, 1399537978, 1399537974, 1399537971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8383150100708 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 18:46:02.252055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/03/image_15122025_18_04_05_10689.jpg', '/home/pi/Desktop/images/15122025/18/04/image_15122025_18_04_15_9692.jpg', '/home/pi/Desktop/images/15122025/18/04/image_15122025_18_04_25_9916.jpg', '/home/pi/Desktop/images/15122025/18/04/image_15122025_18_04_34_9635.jpg', '/home/pi/Desktop/images/15122025/18/04/image_15122025_18_04_45_10758.jpg', '/home/pi/Desktop/images/15122025/18/04/image_15122025_18_04_55_9891.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/03/image_15122025_18_04_05_10689.jpg
/home/pi/Desktop/images/15122025/18/04/image_15122025_18_04_15_9692.jpg
/home/pi/Desktop/images/15122025/18/04/image_15122025_18_04_25_9916.jpg
/home/pi/Desktop/images/15122025/18/04/image_15122025_18_04_34_9635.jpg
/home/pi/Desktop/images/15122025/18/04/image_15122025_18_04_45_10758.jpg
/home/pi/Desktop/images/15122025/18/04/image_15122025_18_04_55_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":["1399537985","1399537988","1399537984","1399537987","1399537992","1399537986"],"photo_ids_order":["1399537984","1399537985","1399537986","1399537987","1399537988","1399537992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d60802ad46a39403c2f4f77af1a59cfd.jpg","text":"TemporaryFile(/tmp/multipartBody1590497516390490691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820822919,"filename":"image_15122025_18_04_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/15/710d31f65e12c7b1be397a1145140416.jpg","text":"TemporaryFile(/tmp/multipartBody8310437960489501413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820822919,"filename":"image_15122025_18_04_45_10758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8f568d7a23cc9e6e6723f63911939c17.jpg","text":"TemporaryFile(/tmp/multipartBody4435110611813321542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820822919,"filename":"image_15122025_18_04_05_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/acca3035257c1585e006e2d5c278f54e.jpg","text":"TemporaryFile(/tmp/multipartBody5036710121905757734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820822919,"filename":"image_15122025_18_04_34_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d427870a88a7ef05b8a148226fcd1af6.jpg","text":"TemporaryFile(/tmp/multipartBody8161932142397950755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820822919,"filename":"image_15122025_18_04_55_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/15/c38b0adf271040608fecc6941210068f.jpg","text":"TemporaryFile(/tmp/multipartBody3893322924498137314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820822919,"filename":"image_15122025_18_04_25_9916.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399537986","file1":"1399537985","file0":"1399537984","file4":"1399537988","file5":"1399537992","file3":"1399537987"},"map_files_photo_id_array":[{"photo_id":"1399537992","filename":"file5"},{"photo_id":"1399537986","filename":"file2"},{"photo_id":"1399537988","filename":"file4"},{"photo_id":"1399537985","filename":"file1"},{"photo_id":"1399537984","filename":"file0"},{"photo_id":"1399537987","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399537985":["hashtag1","hashtag2"]},{"1399537988":["hashtag1","hashtag2"]},{"1399537984":["hashtag1","hashtag2"]},{"1399537987":["hashtag1","hashtag2"]},{"1399537992":["hashtag1","hashtag2"]},{"1399537986":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399537985, 1399537988, 1399537984, 1399537987, 1399537992, 1399537986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39636182785034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 18:46:41.867478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/47/image_05112025_15_47_52_1613.jpg', '/home/pi/Desktop/images/05112025/15/47/image_05112025_15_47_54_1558.jpg', '/home/pi/Desktop/images/05112025/15/47/image_05112025_15_47_55_1582.jpg', '/home/pi/Desktop/images/05112025/15/47/image_05112025_15_47_57_1608.jpg', '/home/pi/Desktop/images/05112025/15/47/image_05112025_15_47_58_1609.jpg', '/home/pi/Desktop/images/05112025/15/47/image_05112025_15_48_00_1776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/47/image_05112025_15_47_52_1613.jpg
/home/pi/Desktop/images/05112025/15/47/image_05112025_15_47_54_1558.jpg
/home/pi/Desktop/images/05112025/15/47/image_05112025_15_47_55_1582.jpg
/home/pi/Desktop/images/05112025/15/47/image_05112025_15_47_57_1608.jpg
/home/pi/Desktop/images/05112025/15/47/image_05112025_15_47_58_1609.jpg
/home/pi/Desktop/images/05112025/15/47/image_05112025_15_48_00_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":["1399538018","1399538012","1399538015","1399538020","1399538008","1399538016"],"photo_ids_order":["1399538008","1399538012","1399538015","1399538016","1399538018","1399538020"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0221167722009d8a18af46c1d5498b07.jpg","text":"TemporaryFile(/tmp/multipartBody5847465596799885965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820862570,"filename":"image_05112025_15_47_58_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/15/295a60d3a07927dfe5695bcbc17982f4.jpg","text":"TemporaryFile(/tmp/multipartBody5643689894283369611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820862570,"filename":"image_05112025_15_47_54_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/15/e071fe0aa5e1ac09e348e847a2005081.jpg","text":"TemporaryFile(/tmp/multipartBody416667110270913439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820862570,"filename":"image_05112025_15_47_55_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/15/4d7fd4ec3e3fad3e830fff3f97eeb8c5.jpg","text":"TemporaryFile(/tmp/multipartBody8144566280914218456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820862570,"filename":"image_05112025_15_48_00_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/15/6ed0677ce42c153a6620a263dc2624e0.jpg","text":"TemporaryFile(/tmp/multipartBody3943054553397131076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820862570,"filename":"image_05112025_15_47_52_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/15/a420f59cbefe2622216c61859bbd66ca.jpg","text":"TemporaryFile(/tmp/multipartBody3117282544936419238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820862570,"filename":"image_05112025_15_47_57_1608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399538015","file1":"1399538012","file0":"1399538008","file4":"1399538018","file5":"1399538020","file3":"1399538016"},"map_files_photo_id_array":[{"photo_id":"1399538020","filename":"file5"},{"photo_id":"1399538015","filename":"file2"},{"photo_id":"1399538018","filename":"file4"},{"photo_id":"1399538012","filename":"file1"},{"photo_id":"1399538008","filename":"file0"},{"photo_id":"1399538016","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399538018":["hashtag1","hashtag2"]},{"1399538012":["hashtag1","hashtag2"]},{"1399538015":["hashtag1","hashtag2"]},{"1399538020":["hashtag1","hashtag2"]},{"1399538008":["hashtag1","hashtag2"]},{"1399538016":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399538018, 1399538012, 1399538015, 1399538020, 1399538008, 1399538016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44038677215576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 18:47:23.057516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/04/image_15122025_18_05_05_9707.jpg', '/home/pi/Desktop/images/15122025/18/05/image_15122025_18_05_14_9757.jpg', '/home/pi/Desktop/images/15122025/18/05/image_15122025_18_05_24_9895.jpg', '/home/pi/Desktop/images/15122025/18/05/image_15122025_18_05_35_10674.jpg', '/home/pi/Desktop/images/15122025/18/05/image_15122025_18_05_54_9734.jpg', '/home/pi/Desktop/images/15122025/18/05/image_15122025_18_06_05_10699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/04/image_15122025_18_05_05_9707.jpg
/home/pi/Desktop/images/15122025/18/05/image_15122025_18_05_14_9757.jpg
/home/pi/Desktop/images/15122025/18/05/image_15122025_18_05_24_9895.jpg
/home/pi/Desktop/images/15122025/18/05/image_15122025_18_05_35_10674.jpg
/home/pi/Desktop/images/15122025/18/05/image_15122025_18_05_54_9734.jpg
/home/pi/Desktop/images/15122025/18/05/image_15122025_18_06_05_10699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399538030","1399538024","1399538027","1399538032","1399538043","1399538034"],"photo_ids_order":["1399538024","1399538027","1399538030","1399538032","1399538034","1399538043"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1660f7404feb56e5d4df464e391fd663.jpg","text":"TemporaryFile(/tmp/multipartBody4913967632161824260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820903734,"filename":"image_15122025_18_05_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/15/c779c85432d072b216e9c40b84414bc5.jpg","text":"TemporaryFile(/tmp/multipartBody3277982223500148281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820903734,"filename":"image_15122025_18_05_05_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/17fa88f6e98b1483432423df03e25fc2.jpg","text":"TemporaryFile(/tmp/multipartBody5711797016373157295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820903734,"filename":"image_15122025_18_05_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/15/8df7b2095c40f0d2bc7dec5b0ebe87bb.jpg","text":"TemporaryFile(/tmp/multipartBody107267156757924693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820903734,"filename":"image_15122025_18_05_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/15/6582f6f232c56d05c633e5188caba85d.jpg","text":"TemporaryFile(/tmp/multipartBody9089568293269078496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820903734,"filename":"image_15122025_18_06_05_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2a51feade96417960d95adeb66e38e4d.jpg","text":"TemporaryFile(/tmp/multipartBody1601075960139341862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820903734,"filename":"image_15122025_18_05_54_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399538030","file1":"1399538027","file0":"1399538024","file4":"1399538034","file5":"1399538043","file3":"1399538032"},"map_files_photo_id_array":[{"photo_id":"1399538043","filename":"file5"},{"photo_id":"1399538030","filename":"file2"},{"photo_id":"1399538034","filename":"file4"},{"photo_id":"1399538027","filename":"file1"},{"photo_id":"1399538024","filename":"file0"},{"photo_id":"1399538032","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399538030":["hashtag1","hashtag2"]},{"1399538024":["hashtag1","hashtag2"]},{"1399538027":["hashtag1","hashtag2"]},{"1399538032":["hashtag1","hashtag2"]},{"1399538043":["hashtag1","hashtag2"]},{"1399538034":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399538030, 1399538024, 1399538027, 1399538032, 1399538043, 1399538034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42615365982056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 18:48:02.622637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/06/image_15122025_18_06_15_9800.jpg', '/home/pi/Desktop/images/15122025/18/06/image_15122025_18_06_25_9868.jpg', '/home/pi/Desktop/images/15122025/18/06/image_15122025_18_06_35_9671.jpg', '/home/pi/Desktop/images/15122025/18/06/image_15122025_18_06_44_9904.jpg', '/home/pi/Desktop/images/15122025/18/06/image_15122025_18_06_55_10780.jpg', '/home/pi/Desktop/images/15122025/18/06/image_15122025_18_07_05_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/06/image_15122025_18_06_15_9800.jpg
/home/pi/Desktop/images/15122025/18/06/image_15122025_18_06_25_9868.jpg
/home/pi/Desktop/images/15122025/18/06/image_15122025_18_06_35_9671.jpg
/home/pi/Desktop/images/15122025/18/06/image_15122025_18_06_44_9904.jpg
/home/pi/Desktop/images/15122025/18/06/image_15122025_18_06_55_10780.jpg
/home/pi/Desktop/images/15122025/18/06/image_15122025_18_07_05_9760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399538048","1399538051","1399538050","1399538044","1399538053","1399538046"],"photo_ids_order":["1399538044","1399538046","1399538048","1399538050","1399538051","1399538053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/603451b514934f6b7a4da4178f353a02.jpg","text":"TemporaryFile(/tmp/multipartBody4350030410297245375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820943377,"filename":"image_15122025_18_06_35_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d037e29ac89313902e6912d2fbeae0d1.jpg","text":"TemporaryFile(/tmp/multipartBody4536768309960486467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820943377,"filename":"image_15122025_18_06_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/15/fc3d50825204a4d7fc3c0310aefd907c.jpg","text":"TemporaryFile(/tmp/multipartBody3728039401072410228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820943377,"filename":"image_15122025_18_06_44_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/15/232c0f62cc3a8ecce7da4d0bd016978d.jpg","text":"TemporaryFile(/tmp/multipartBody2453616827541822718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820943377,"filename":"image_15122025_18_06_15_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1cd19b768292d8f418aafb1e9b170f25.jpg","text":"TemporaryFile(/tmp/multipartBody6723942512099929818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820943377,"filename":"image_15122025_18_07_05_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9a4f2d16f187f0c2e5edad647316bb24.jpg","text":"TemporaryFile(/tmp/multipartBody5223918443430407845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765820943377,"filename":"image_15122025_18_06_25_9868.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399538048","file1":"1399538046","file0":"1399538044","file4":"1399538051","file5":"1399538053","file3":"1399538050"},"map_files_photo_id_array":[{"photo_id":"1399538053","filename":"file5"},{"photo_id":"1399538048","filename":"file2"},{"photo_id":"1399538051","filename":"file4"},{"photo_id":"1399538046","filename":"file1"},{"photo_id":"1399538044","filename":"file0"},{"photo_id":"1399538050","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399538048":["hashtag1","hashtag2"]},{"1399538051":["hashtag1","hashtag2"]},{"1399538050":["hashtag1","hashtag2"]},{"1399538044":["hashtag1","hashtag2"]},{"1399538053":["hashtag1","hashtag2"]},{"1399538046":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399538048, 1399538051, 1399538050, 1399538044, 1399538053, 1399538046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00966763496399 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 18:48:42.309189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_02_1828.jpg', '/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_04_1504.jpg', '/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_05_1572.jpg', '/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_07_1586.jpg', '/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_08_1644.jpg', '/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_10_1586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_02_1828.jpg
/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_04_1504.jpg
/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_05_1572.jpg
/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_07_1586.jpg
/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_08_1644.jpg
/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_10_1586.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6016426086425781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 18:49:03.566573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/07/image_15122025_18_07_15_9647.jpg', '/home/pi/Desktop/images/15122025/18/07/image_15122025_18_07_54_9653.jpg', '/home/pi/Desktop/images/15122025/18/08/image_15122025_18_08_15_10786.jpg', '/home/pi/Desktop/images/15122025/18/08/image_15122025_18_08_25_9839.jpg', '/home/pi/Desktop/images/15122025/18/08/image_15122025_18_08_35_9852.jpg', '/home/pi/Desktop/images/15122025/18/08/image_15122025_18_08_45_9789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/07/image_15122025_18_07_15_9647.jpg
/home/pi/Desktop/images/15122025/18/07/image_15122025_18_07_54_9653.jpg
/home/pi/Desktop/images/15122025/18/08/image_15122025_18_08_15_10786.jpg
/home/pi/Desktop/images/15122025/18/08/image_15122025_18_08_25_9839.jpg
/home/pi/Desktop/images/15122025/18/08/image_15122025_18_08_35_9852.jpg
/home/pi/Desktop/images/15122025/18/08/image_15122025_18_08_45_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":["1399538207","1399538182","1399538161","1399538172","1399538205","1399538195"],"photo_ids_order":["1399538161","1399538172","1399538182","1399538195","1399538205","1399538207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/40c80935450881ecab87e56985a5a4cd.jpg","text":"TemporaryFile(/tmp/multipartBody6592562122607708287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821004386,"filename":"image_15122025_18_08_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/15/2f5851bcdabf13ff17de05fc9539ff92.jpg","text":"TemporaryFile(/tmp/multipartBody1972288990599111396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821004386,"filename":"image_15122025_18_08_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/15/8c1c4c42783da8df18169182ed222e79.jpg","text":"TemporaryFile(/tmp/multipartBody3224490357247710728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821004386,"filename":"image_15122025_18_07_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/15/20300eec590df46b6ebc294b455a77f2.jpg","text":"TemporaryFile(/tmp/multipartBody6004532076449485052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821004386,"filename":"image_15122025_18_07_54_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9acefb000e2cd5a133e975f8110a12fb.jpg","text":"TemporaryFile(/tmp/multipartBody1498690112195667030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821004386,"filename":"image_15122025_18_08_35_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0a95dd0056db35425cb35e02e54c5742.jpg","text":"TemporaryFile(/tmp/multipartBody4131595824826813090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821004386,"filename":"image_15122025_18_08_25_9839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399538182","file1":"1399538172","file0":"1399538161","file4":"1399538205","file5":"1399538207","file3":"1399538195"},"map_files_photo_id_array":[{"photo_id":"1399538207","filename":"file5"},{"photo_id":"1399538182","filename":"file2"},{"photo_id":"1399538205","filename":"file4"},{"photo_id":"1399538172","filename":"file1"},{"photo_id":"1399538161","filename":"file0"},{"photo_id":"1399538195","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399538207":["hashtag1","hashtag2"]},{"1399538182":["hashtag1","hashtag2"]},{"1399538161":["hashtag1","hashtag2"]},{"1399538172":["hashtag1","hashtag2"]},{"1399538205":["hashtag1","hashtag2"]},{"1399538195":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399538207, 1399538182, 1399538161, 1399538172, 1399538205, 1399538195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50716042518616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 18:49:42.489991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_02_1828.jpg', '/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_04_1504.jpg', '/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_05_1572.jpg', '/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_07_1586.jpg', '/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_08_1644.jpg', '/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_10_1586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_02_1828.jpg
/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_04_1504.jpg
/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_05_1572.jpg
/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_07_1586.jpg
/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_08_1644.jpg
/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_10_1586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399538213","1399538216","1399538215","1399538218","1399538211","1399538214"],"photo_ids_order":["1399538211","1399538213","1399538214","1399538215","1399538216","1399538218"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5bdecf1a0079a7ea08ebda22c5677c0a.jpg","text":"TemporaryFile(/tmp/multipartBody7578304704623078680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821043075,"filename":"image_05112025_15_48_04_1504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/69974fff53bb93b0e6be1d6aad4e966e.jpg","text":"TemporaryFile(/tmp/multipartBody6056311559404451918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821043075,"filename":"image_05112025_15_48_08_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/15/0449e3fb1b2f57617ef463f09df98b79.jpg","text":"TemporaryFile(/tmp/multipartBody4961653375139279441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821043075,"filename":"image_05112025_15_48_07_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/15/37267cc424b0aa9620de54ea54d35471.jpg","text":"TemporaryFile(/tmp/multipartBody8655185154920830792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821043075,"filename":"image_05112025_15_48_10_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/15/7a08c0c5d56d7684792a321fb5f1efce.jpg","text":"TemporaryFile(/tmp/multipartBody7391582202859392474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821043075,"filename":"image_05112025_15_48_02_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/15/024ab2a77ec60dc577e21a30d52ea7b5.jpg","text":"TemporaryFile(/tmp/multipartBody70008739705480551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821043075,"filename":"image_05112025_15_48_05_1572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399538214","file1":"1399538213","file0":"1399538211","file4":"1399538216","file5":"1399538218","file3":"1399538215"},"map_files_photo_id_array":[{"photo_id":"1399538218","filename":"file5"},{"photo_id":"1399538214","filename":"file2"},{"photo_id":"1399538216","filename":"file4"},{"photo_id":"1399538213","filename":"file1"},{"photo_id":"1399538211","filename":"file0"},{"photo_id":"1399538215","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399538213":["hashtag1","hashtag2"]},{"1399538216":["hashtag1","hashtag2"]},{"1399538215":["hashtag1","hashtag2"]},{"1399538218":["hashtag1","hashtag2"]},{"1399538211":["hashtag1","hashtag2"]},{"1399538214":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399538213, 1399538216, 1399538215, 1399538218, 1399538211, 1399538214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.329946756362915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 18:50:22.717851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/08/image_15122025_18_09_04_9856.jpg', '/home/pi/Desktop/images/15122025/18/09/image_15122025_18_09_15_10741.jpg', '/home/pi/Desktop/images/15122025/18/09/image_15122025_18_09_25_9751.jpg', '/home/pi/Desktop/images/15122025/18/09/image_15122025_18_09_44_9756.jpg', '/home/pi/Desktop/images/15122025/18/09/image_15122025_18_09_55_10941.jpg', '/home/pi/Desktop/images/15122025/18/09/image_15122025_18_10_05_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/08/image_15122025_18_09_04_9856.jpg
/home/pi/Desktop/images/15122025/18/09/image_15122025_18_09_15_10741.jpg
/home/pi/Desktop/images/15122025/18/09/image_15122025_18_09_25_9751.jpg
/home/pi/Desktop/images/15122025/18/09/image_15122025_18_09_44_9756.jpg
/home/pi/Desktop/images/15122025/18/09/image_15122025_18_09_55_10941.jpg
/home/pi/Desktop/images/15122025/18/09/image_15122025_18_10_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":["1399538242","1399538230","1399538224","1399538227","1399538236","1399538229"],"photo_ids_order":["1399538224","1399538227","1399538229","1399538230","1399538236","1399538242"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ba875bf2428db499ab64d79d5429b97a.jpg","text":"TemporaryFile(/tmp/multipartBody8249839778419716283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821083441,"filename":"image_15122025_18_10_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/15/e2a21d55d48299aa7b598dcf5c9bdebf.jpg","text":"TemporaryFile(/tmp/multipartBody8952204797880852756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821083441,"filename":"image_15122025_18_09_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/15/61231c4794c907c28158aff119345c2a.jpg","text":"TemporaryFile(/tmp/multipartBody8994540579863916232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821083441,"filename":"image_15122025_18_09_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/15/3d013714f20c9e87bd21f245d7417d93.jpg","text":"TemporaryFile(/tmp/multipartBody6213765190901989652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821083441,"filename":"image_15122025_18_09_15_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/15/e8ae533ae28b72e4b01fff6fb9a41cd2.jpg","text":"TemporaryFile(/tmp/multipartBody9086169772803363642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821083441,"filename":"image_15122025_18_09_55_10941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7dcdffac911681dc7456e5a488d04adb.jpg","text":"TemporaryFile(/tmp/multipartBody892314876457598762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821083441,"filename":"image_15122025_18_09_25_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399538229","file1":"1399538227","file0":"1399538224","file4":"1399538236","file5":"1399538242","file3":"1399538230"},"map_files_photo_id_array":[{"photo_id":"1399538242","filename":"file5"},{"photo_id":"1399538229","filename":"file2"},{"photo_id":"1399538236","filename":"file4"},{"photo_id":"1399538227","filename":"file1"},{"photo_id":"1399538224","filename":"file0"},{"photo_id":"1399538230","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399538242":["hashtag1","hashtag2"]},{"1399538230":["hashtag1","hashtag2"]},{"1399538224":["hashtag1","hashtag2"]},{"1399538227":["hashtag1","hashtag2"]},{"1399538236":["hashtag1","hashtag2"]},{"1399538229":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399538242, 1399538230, 1399538224, 1399538227, 1399538236, 1399538229)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.16555047035217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 18:51:13.683165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 18:51:36.127125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 18:51:41.852743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_14_3753.jpg', '/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_15_1573.jpg', '/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_17_1711.jpg', '/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_20_1821.jpg', '/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_41_20272.jpg', '/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_42_1767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_14_3753.jpg
/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_15_1573.jpg
/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_17_1711.jpg
/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_20_1821.jpg
/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_41_20272.jpg
/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_42_1767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399538330","1399538255","1399538263","1399538257","1399538335","1399538297"],"photo_ids_order":["1399538255","1399538257","1399538263","1399538297","1399538330","1399538335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1f4bae33c70b0d24c072a0756a066647.jpg","text":"TemporaryFile(/tmp/multipartBody5617890053041968383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821162551,"filename":"image_05112025_15_48_41_20272.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9579224cf5d0bc910e7dbb27ff0b7a04.jpg","text":"TemporaryFile(/tmp/multipartBody2335994899916105438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821162551,"filename":"image_05112025_15_48_14_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/15/258650257481500d2dceccb69a8296ea.jpg","text":"TemporaryFile(/tmp/multipartBody4036263722631550505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821162551,"filename":"image_05112025_15_48_17_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/15/7b5c6037d7e10c3b9aa23417a64ce83f.jpg","text":"TemporaryFile(/tmp/multipartBody3153103790171041582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821162551,"filename":"image_05112025_15_48_15_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/15/5c33d75df011c14c194f62878d6479a4.jpg","text":"TemporaryFile(/tmp/multipartBody4667436651775380172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821162551,"filename":"image_05112025_15_48_42_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/15/29d787365c33550f0ac7c8dd910cacf0.jpg","text":"TemporaryFile(/tmp/multipartBody2586344712552622220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821162551,"filename":"image_05112025_15_48_20_1821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399538263","file1":"1399538257","file0":"1399538255","file4":"1399538330","file5":"1399538335","file3":"1399538297"},"map_files_photo_id_array":[{"photo_id":"1399538335","filename":"file5"},{"photo_id":"1399538263","filename":"file2"},{"photo_id":"1399538330","filename":"file4"},{"photo_id":"1399538257","filename":"file1"},{"photo_id":"1399538255","filename":"file0"},{"photo_id":"1399538297","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399538330":["hashtag1","hashtag2"]},{"1399538255":["hashtag1","hashtag2"]},{"1399538263":["hashtag1","hashtag2"]},{"1399538257":["hashtag1","hashtag2"]},{"1399538335":["hashtag1","hashtag2"]},{"1399538297":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399538330, 1399538255, 1399538263, 1399538257, 1399538335, 1399538297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06191110610962 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 18:52:22.083467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/10/image_15122025_18_10_15_9721.jpg', '/home/pi/Desktop/images/15122025/18/10/image_15122025_18_10_24_9796.jpg', '/home/pi/Desktop/images/15122025/18/10/image_15122025_18_10_35_10762.jpg', '/home/pi/Desktop/images/15122025/18/10/image_15122025_18_10_45_9730.jpg', '/home/pi/Desktop/images/15122025/18/10/image_15122025_18_10_55_9736.jpg', '/home/pi/Desktop/images/15122025/18/10/image_15122025_18_11_04_9797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/10/image_15122025_18_10_15_9721.jpg
/home/pi/Desktop/images/15122025/18/10/image_15122025_18_10_24_9796.jpg
/home/pi/Desktop/images/15122025/18/10/image_15122025_18_10_35_10762.jpg
/home/pi/Desktop/images/15122025/18/10/image_15122025_18_10_45_9730.jpg
/home/pi/Desktop/images/15122025/18/10/image_15122025_18_10_55_9736.jpg
/home/pi/Desktop/images/15122025/18/10/image_15122025_18_11_04_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":["1399538380","1399538383","1399538391","1399538385","1399538394","1399538388"],"photo_ids_order":["1399538380","1399538383","1399538385","1399538388","1399538391","1399538394"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/df7b42c4f37c916cf9b1bf1d825cd289.jpg","text":"TemporaryFile(/tmp/multipartBody4906807640990670254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821202759,"filename":"image_15122025_18_10_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/15/5623653befc2175bd3c4390dda401339.jpg","text":"TemporaryFile(/tmp/multipartBody4860616253082522555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821202759,"filename":"image_15122025_18_10_24_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5bb74925cdbfcd0630c92ba3b2663de0.jpg","text":"TemporaryFile(/tmp/multipartBody4705854498179746480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821202759,"filename":"image_15122025_18_10_55_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dae53d87c18761922601a5e01a16d7c8.jpg","text":"TemporaryFile(/tmp/multipartBody8187654668755445111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821202759,"filename":"image_15122025_18_10_35_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/754bb36e4bad6622e17db35505f0009b.jpg","text":"TemporaryFile(/tmp/multipartBody985454680315424250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821202759,"filename":"image_15122025_18_11_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/15/8e7cf0f5b7b84f383f14f06c8c45c6ec.jpg","text":"TemporaryFile(/tmp/multipartBody7869519081080848631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821202759,"filename":"image_15122025_18_10_45_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399538385","file1":"1399538383","file0":"1399538380","file4":"1399538391","file5":"1399538394","file3":"1399538388"},"map_files_photo_id_array":[{"photo_id":"1399538394","filename":"file5"},{"photo_id":"1399538385","filename":"file2"},{"photo_id":"1399538391","filename":"file4"},{"photo_id":"1399538383","filename":"file1"},{"photo_id":"1399538380","filename":"file0"},{"photo_id":"1399538388","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399538380":["hashtag1","hashtag2"]},{"1399538383":["hashtag1","hashtag2"]},{"1399538391":["hashtag1","hashtag2"]},{"1399538385":["hashtag1","hashtag2"]},{"1399538394":["hashtag1","hashtag2"]},{"1399538388":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399538380, 1399538383, 1399538391, 1399538385, 1399538394, 1399538388)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.920098543167114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 18:53:12.424224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 18:53:22.274783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/11/image_15122025_18_11_15_10663.jpg', '/home/pi/Desktop/images/15122025/18/11/image_15122025_18_11_25_9599.jpg', '/home/pi/Desktop/images/15122025/18/11/image_15122025_18_11_45_10575.jpg', '/home/pi/Desktop/images/15122025/18/11/image_15122025_18_11_55_9707.jpg', '/home/pi/Desktop/images/15122025/18/12/image_15122025_18_12_25_10700.jpg', '/home/pi/Desktop/images/15122025/18/12/image_15122025_18_12_35_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/11/image_15122025_18_11_15_10663.jpg
/home/pi/Desktop/images/15122025/18/11/image_15122025_18_11_25_9599.jpg
/home/pi/Desktop/images/15122025/18/11/image_15122025_18_11_45_10575.jpg
/home/pi/Desktop/images/15122025/18/11/image_15122025_18_11_55_9707.jpg
/home/pi/Desktop/images/15122025/18/12/image_15122025_18_12_25_10700.jpg
/home/pi/Desktop/images/15122025/18/12/image_15122025_18_12_35_9635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399538420","1399538414","1399538410","1399538404","1399538407","1399538412"],"photo_ids_order":["1399538404","1399538407","1399538410","1399538412","1399538414","1399538420"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/53f00b20792820bd4e795fc7dc59a928.jpg","text":"TemporaryFile(/tmp/multipartBody8100332852999169045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821262965,"filename":"image_15122025_18_12_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/15/f76fce07c7a0cac4118369f892dfc517.jpg","text":"TemporaryFile(/tmp/multipartBody7785285482751045469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821262965,"filename":"image_15122025_18_12_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/15/df29f1c32dae870e8425c31e100f8dec.jpg","text":"TemporaryFile(/tmp/multipartBody6185981110149536475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821262965,"filename":"image_15122025_18_11_45_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/15/60123f039df3b0bdcacdb4e44c743479.jpg","text":"TemporaryFile(/tmp/multipartBody6636665611576054123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821262965,"filename":"image_15122025_18_11_15_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/aa10ed470ce3481b2c18e83558e158c8.jpg","text":"TemporaryFile(/tmp/multipartBody7626644151725301331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821262965,"filename":"image_15122025_18_11_25_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9994d14102a3d7c9ec3946b33dd842b0.jpg","text":"TemporaryFile(/tmp/multipartBody4979433098822213645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821262965,"filename":"image_15122025_18_11_55_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399538410","file1":"1399538407","file0":"1399538404","file4":"1399538414","file5":"1399538420","file3":"1399538412"},"map_files_photo_id_array":[{"photo_id":"1399538420","filename":"file5"},{"photo_id":"1399538410","filename":"file2"},{"photo_id":"1399538414","filename":"file4"},{"photo_id":"1399538407","filename":"file1"},{"photo_id":"1399538404","filename":"file0"},{"photo_id":"1399538412","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399538420":["hashtag1","hashtag2"]},{"1399538414":["hashtag1","hashtag2"]},{"1399538410":["hashtag1","hashtag2"]},{"1399538404":["hashtag1","hashtag2"]},{"1399538407":["hashtag1","hashtag2"]},{"1399538412":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399538420, 1399538414, 1399538410, 1399538404, 1399538407, 1399538412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.819494009017944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 18:54:03.074553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 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-15 18:54:12.539788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 18:54:22.435326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/12/image_15122025_18_13_05_9628.jpg', '/home/pi/Desktop/images/15122025/18/13/image_15122025_18_13_14_9799.jpg', '/home/pi/Desktop/images/15122025/18/13/image_15122025_18_13_35_10757.jpg', '/home/pi/Desktop/images/15122025/18/13/image_15122025_18_13_45_9746.jpg', '/home/pi/Desktop/images/15122025/18/13/image_15122025_18_13_55_9682.jpg', '/home/pi/Desktop/images/15122025/18/13/image_15122025_18_14_04_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/12/image_15122025_18_13_05_9628.jpg
/home/pi/Desktop/images/15122025/18/13/image_15122025_18_13_14_9799.jpg
/home/pi/Desktop/images/15122025/18/13/image_15122025_18_13_35_10757.jpg
/home/pi/Desktop/images/15122025/18/13/image_15122025_18_13_45_9746.jpg
/home/pi/Desktop/images/15122025/18/13/image_15122025_18_13_55_9682.jpg
/home/pi/Desktop/images/15122025/18/13/image_15122025_18_14_04_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.5376341342926025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 18:54:32.515215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 18:54:42.558168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_44_1643.jpg', '/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_46_1507.jpg', '/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_47_1617.jpg', '/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_49_1603.jpg', '/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_52_3167.jpg', '/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_54_1711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_44_1643.jpg
/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_46_1507.jpg
/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_47_1617.jpg
/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_49_1603.jpg
/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_52_3167.jpg
/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_54_1711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399538444","1399538440","1399538443","1399538446","1399538478","1399538445"],"photo_ids_order":["1399538440","1399538443","1399538444","1399538445","1399538446","1399538478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/60392be161f212cd4d2ba79ef18edf64.jpg","text":"TemporaryFile(/tmp/multipartBody281352641905996030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821343287,"filename":"image_05112025_15_48_47_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/15/96a123aec37f24bde19bf07dee0cdef0.jpg","text":"TemporaryFile(/tmp/multipartBody8861406804555915159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821343287,"filename":"image_05112025_15_48_44_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/15/a42e204851678bed8ce94bfb5927a566.jpg","text":"TemporaryFile(/tmp/multipartBody363538729101762800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821343287,"filename":"image_05112025_15_48_46_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/15/926190f034e670a25712fb6c10a3ec37.jpg","text":"TemporaryFile(/tmp/multipartBody4921459159472744600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821343287,"filename":"image_05112025_15_48_52_3167.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1acfcf3c3beb4fe4385c51124ba6a0f0.jpg","text":"TemporaryFile(/tmp/multipartBody3711207038142455365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821343287,"filename":"image_05112025_15_48_54_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/15/64f34a41351513c366248f0e5c0ebd5c.jpg","text":"TemporaryFile(/tmp/multipartBody347413835176102180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821343287,"filename":"image_05112025_15_48_49_1603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399538444","file1":"1399538443","file0":"1399538440","file4":"1399538446","file5":"1399538478","file3":"1399538445"},"map_files_photo_id_array":[{"photo_id":"1399538478","filename":"file5"},{"photo_id":"1399538444","filename":"file2"},{"photo_id":"1399538446","filename":"file4"},{"photo_id":"1399538443","filename":"file1"},{"photo_id":"1399538440","filename":"file0"},{"photo_id":"1399538445","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399538444":["hashtag1","hashtag2"]},{"1399538440":["hashtag1","hashtag2"]},{"1399538443":["hashtag1","hashtag2"]},{"1399538446":["hashtag1","hashtag2"]},{"1399538478":["hashtag1","hashtag2"]},{"1399538445":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399538444, 1399538440, 1399538443, 1399538446, 1399538478, 1399538445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95088243484497 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 18:55:25.215452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/12/image_15122025_18_13_05_9628.jpg', '/home/pi/Desktop/images/15122025/18/13/image_15122025_18_13_14_9799.jpg', '/home/pi/Desktop/images/15122025/18/13/image_15122025_18_13_35_10757.jpg', '/home/pi/Desktop/images/15122025/18/13/image_15122025_18_13_45_9746.jpg', '/home/pi/Desktop/images/15122025/18/13/image_15122025_18_13_55_9682.jpg', '/home/pi/Desktop/images/15122025/18/13/image_15122025_18_14_04_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/12/image_15122025_18_13_05_9628.jpg
/home/pi/Desktop/images/15122025/18/13/image_15122025_18_13_14_9799.jpg
/home/pi/Desktop/images/15122025/18/13/image_15122025_18_13_35_10757.jpg
/home/pi/Desktop/images/15122025/18/13/image_15122025_18_13_45_9746.jpg
/home/pi/Desktop/images/15122025/18/13/image_15122025_18_13_55_9682.jpg
/home/pi/Desktop/images/15122025/18/13/image_15122025_18_14_04_9713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399538597","1399538624","1399538575","1399538592","1399538622","1399538619"],"photo_ids_order":["1399538575","1399538592","1399538597","1399538619","1399538622","1399538624"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3023542a989eb1579a78230640df30ec.jpg","text":"TemporaryFile(/tmp/multipartBody8801320626251184620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821385867,"filename":"image_15122025_18_13_35_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b7036cb8f204d72f37f6b6f22db17074.jpg","text":"TemporaryFile(/tmp/multipartBody7024386833578033119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821385867,"filename":"image_15122025_18_14_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/15/d4fe6c2b4b10f00bdfad43164fc35a2c.jpg","text":"TemporaryFile(/tmp/multipartBody7607808979437247418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821385867,"filename":"image_15122025_18_13_05_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a7f374a1294a138b6599f407b8c23aa6.jpg","text":"TemporaryFile(/tmp/multipartBody3495437575918566169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821385867,"filename":"image_15122025_18_13_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/15/4694819016dcd8aabd9b7cb5d3180640.jpg","text":"TemporaryFile(/tmp/multipartBody7674105453315853037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821385867,"filename":"image_15122025_18_13_55_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1d1b5a9fc5a56cb6eac66be59d4dd44e.jpg","text":"TemporaryFile(/tmp/multipartBody1701149100711383737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821385867,"filename":"image_15122025_18_13_45_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399538597","file1":"1399538592","file0":"1399538575","file4":"1399538622","file5":"1399538624","file3":"1399538619"},"map_files_photo_id_array":[{"photo_id":"1399538624","filename":"file5"},{"photo_id":"1399538597","filename":"file2"},{"photo_id":"1399538622","filename":"file4"},{"photo_id":"1399538592","filename":"file1"},{"photo_id":"1399538575","filename":"file0"},{"photo_id":"1399538619","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399538597":["hashtag1","hashtag2"]},{"1399538624":["hashtag1","hashtag2"]},{"1399538575":["hashtag1","hashtag2"]},{"1399538592":["hashtag1","hashtag2"]},{"1399538622":["hashtag1","hashtag2"]},{"1399538619":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399538597, 1399538624, 1399538575, 1399538592, 1399538622, 1399538619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90412092208862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 18:56:12.395371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 18:56:22.390656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/14/image_15122025_18_14_34_9744.jpg', '/home/pi/Desktop/images/15122025/18/14/image_15122025_18_14_45_10642.jpg', '/home/pi/Desktop/images/15122025/18/15/image_15122025_18_15_24_9886.jpg', '/home/pi/Desktop/images/15122025/18/15/image_15122025_18_16_05_10691.jpg', '/home/pi/Desktop/images/15122025/18/16/image_15122025_18_16_15_9604.jpg', '/home/pi/Desktop/images/15122025/18/16/image_15122025_18_16_35_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/14/image_15122025_18_14_34_9744.jpg
/home/pi/Desktop/images/15122025/18/14/image_15122025_18_14_45_10642.jpg
/home/pi/Desktop/images/15122025/18/15/image_15122025_18_15_24_9886.jpg
/home/pi/Desktop/images/15122025/18/15/image_15122025_18_16_05_10691.jpg
/home/pi/Desktop/images/15122025/18/16/image_15122025_18_16_15_9604.jpg
/home/pi/Desktop/images/15122025/18/16/image_15122025_18_16_35_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":["1399538663","1399538791","1399538748","1399538706","1399538814","1399538783"],"photo_ids_order":["1399538663","1399538706","1399538748","1399538783","1399538791","1399538814"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fdf9d1caef20c61e2401d3d2efa864aa.jpg","text":"TemporaryFile(/tmp/multipartBody6758781903603700830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821443116,"filename":"image_15122025_18_14_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/15/0bc9ba6a25e957c9f61a89fb80d83e5f.jpg","text":"TemporaryFile(/tmp/multipartBody3059209723426347399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821443116,"filename":"image_15122025_18_16_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/15/520af91ce791dbcb3525741793ac479b.jpg","text":"TemporaryFile(/tmp/multipartBody2224086792499942740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821443116,"filename":"image_15122025_18_15_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/15/9fc1773a8ab797ba6fb3c3da6294e832.jpg","text":"TemporaryFile(/tmp/multipartBody5073601697000020891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821443116,"filename":"image_15122025_18_14_45_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/87a780d24259d8bde99014016188e15e.jpg","text":"TemporaryFile(/tmp/multipartBody8573755282253360091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821443116,"filename":"image_15122025_18_16_35_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/70c2b33f42b4e04111f3e3e3e5313879.jpg","text":"TemporaryFile(/tmp/multipartBody8258554328179662472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821443116,"filename":"image_15122025_18_16_05_10691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399538748","file1":"1399538706","file0":"1399538663","file4":"1399538791","file5":"1399538814","file3":"1399538783"},"map_files_photo_id_array":[{"photo_id":"1399538814","filename":"file5"},{"photo_id":"1399538748","filename":"file2"},{"photo_id":"1399538791","filename":"file4"},{"photo_id":"1399538706","filename":"file1"},{"photo_id":"1399538663","filename":"file0"},{"photo_id":"1399538783","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399538663":["hashtag1","hashtag2"]},{"1399538791":["hashtag1","hashtag2"]},{"1399538748":["hashtag1","hashtag2"]},{"1399538706":["hashtag1","hashtag2"]},{"1399538814":["hashtag1","hashtag2"]},{"1399538783":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399538663, 1399538791, 1399538748, 1399538706, 1399538814, 1399538783)","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.03866171836853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 18:57:22.571046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/16/image_15122025_18_16_54_9774.jpg', '/home/pi/Desktop/images/15122025/18/16/image_15122025_18_17_05_10729.jpg', '/home/pi/Desktop/images/15122025/18/17/image_15122025_18_17_15_10022.jpg', '/home/pi/Desktop/images/15122025/18/17/image_15122025_18_17_25_9857.jpg', '/home/pi/Desktop/images/15122025/18/18/image_15122025_18_18_54_9834.jpg', '/home/pi/Desktop/images/15122025/18/18/image_15122025_18_19_05_10589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/16/image_15122025_18_16_54_9774.jpg
/home/pi/Desktop/images/15122025/18/16/image_15122025_18_17_05_10729.jpg
/home/pi/Desktop/images/15122025/18/17/image_15122025_18_17_15_10022.jpg
/home/pi/Desktop/images/15122025/18/17/image_15122025_18_17_25_9857.jpg
/home/pi/Desktop/images/15122025/18/18/image_15122025_18_18_54_9834.jpg
/home/pi/Desktop/images/15122025/18/18/image_15122025_18_19_05_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":["1399538846","1399538843","1399538839","1399538841","1399538844","1399538847"],"photo_ids_order":["1399538839","1399538841","1399538843","1399538844","1399538846","1399538847"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/893f998c0ca2e534cd6d3e55ee45985f.jpg","text":"TemporaryFile(/tmp/multipartBody5105527413847144229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821503216,"filename":"image_15122025_18_18_54_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b876bccff0de62bbd6c291d752d7632f.jpg","text":"TemporaryFile(/tmp/multipartBody1292198512471483268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821503216,"filename":"image_15122025_18_17_15_10022.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/409fd9a77bc7299326e34596d1b0aa0d.jpg","text":"TemporaryFile(/tmp/multipartBody2251605183947186288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821503216,"filename":"image_15122025_18_16_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/15/d8ceb2489c7ce604aab64f808833468b.jpg","text":"TemporaryFile(/tmp/multipartBody8550616935448856629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821503216,"filename":"image_15122025_18_17_05_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/88bdf0d20574afc4356577f0f3293d70.jpg","text":"TemporaryFile(/tmp/multipartBody8374055536519333674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821503216,"filename":"image_15122025_18_17_25_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/15/ad49a3531440fe22e04b494dc7ac9a4a.jpg","text":"TemporaryFile(/tmp/multipartBody7233003107234352722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821503216,"filename":"image_15122025_18_19_05_10589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399538843","file1":"1399538841","file0":"1399538839","file4":"1399538846","file5":"1399538847","file3":"1399538844"},"map_files_photo_id_array":[{"photo_id":"1399538847","filename":"file5"},{"photo_id":"1399538843","filename":"file2"},{"photo_id":"1399538846","filename":"file4"},{"photo_id":"1399538841","filename":"file1"},{"photo_id":"1399538839","filename":"file0"},{"photo_id":"1399538844","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399538846":["hashtag1","hashtag2"]},{"1399538843":["hashtag1","hashtag2"]},{"1399538839":["hashtag1","hashtag2"]},{"1399538841":["hashtag1","hashtag2"]},{"1399538844":["hashtag1","hashtag2"]},{"1399538847":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399538846, 1399538843, 1399538839, 1399538841, 1399538844, 1399538847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.090984582901 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 18:59:02.890735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/19/image_15122025_18_19_15_10146.jpg', '/home/pi/Desktop/images/15122025/18/21/image_15122025_18_21_45_10574.jpg', '/home/pi/Desktop/images/15122025/18/22/image_15122025_18_22_34_9763.jpg', '/home/pi/Desktop/images/15122025/18/22/image_15122025_18_22_55_9786.jpg', '/home/pi/Desktop/images/15122025/18/23/image_15122025_18_23_24_9928.jpg', '/home/pi/Desktop/images/15122025/18/23/image_15122025_18_23_35_10781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/19/image_15122025_18_19_15_10146.jpg
/home/pi/Desktop/images/15122025/18/21/image_15122025_18_21_45_10574.jpg
/home/pi/Desktop/images/15122025/18/22/image_15122025_18_22_34_9763.jpg
/home/pi/Desktop/images/15122025/18/22/image_15122025_18_22_55_9786.jpg
/home/pi/Desktop/images/15122025/18/23/image_15122025_18_23_24_9928.jpg
/home/pi/Desktop/images/15122025/18/23/image_15122025_18_23_35_10781.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399538861","1399538855","1399538857","1399538860","1399538862","1399538853"],"photo_ids_order":["1399538853","1399538855","1399538857","1399538860","1399538861","1399538862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/de8a6da14a5b98021d80626e8d03ba34.jpg","text":"TemporaryFile(/tmp/multipartBody4863818951205879089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821603657,"filename":"image_15122025_18_23_24_9928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3b888ee534b7098f750783400672d675.jpg","text":"TemporaryFile(/tmp/multipartBody3862586987315321287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821603657,"filename":"image_15122025_18_21_45_10574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/faf9a1d8b6e3feff90d7a95e538b3352.jpg","text":"TemporaryFile(/tmp/multipartBody7925779279037361800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821603657,"filename":"image_15122025_18_22_34_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/72552c553ade6c24cae541962d15aa51.jpg","text":"TemporaryFile(/tmp/multipartBody8430782747085466321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821603657,"filename":"image_15122025_18_22_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/15/6b1c4cc6ab8ebcc18f9bcab91c45e682.jpg","text":"TemporaryFile(/tmp/multipartBody1457607008268084533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821603657,"filename":"image_15122025_18_23_35_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/15/8d62b27d3601e1db57568366ff6b9524.jpg","text":"TemporaryFile(/tmp/multipartBody8977717668893332970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821603657,"filename":"image_15122025_18_19_15_10146.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399538857","file1":"1399538855","file0":"1399538853","file4":"1399538861","file5":"1399538862","file3":"1399538860"},"map_files_photo_id_array":[{"photo_id":"1399538862","filename":"file5"},{"photo_id":"1399538857","filename":"file2"},{"photo_id":"1399538861","filename":"file4"},{"photo_id":"1399538855","filename":"file1"},{"photo_id":"1399538853","filename":"file0"},{"photo_id":"1399538860","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399538861":["hashtag1","hashtag2"]},{"1399538855":["hashtag1","hashtag2"]},{"1399538857":["hashtag1","hashtag2"]},{"1399538860":["hashtag1","hashtag2"]},{"1399538862":["hashtag1","hashtag2"]},{"1399538853":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399538861, 1399538855, 1399538857, 1399538860, 1399538862, 1399538853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.465455055236816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 18:59:41.914378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_55_1685.jpg', '/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_57_1700.jpg', '/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_59_1525.jpg', '/home/pi/Desktop/images/05112025/15/48/image_05112025_15_49_00_1725.jpg', '/home/pi/Desktop/images/05112025/15/49/image_05112025_15_49_02_1585.jpg', '/home/pi/Desktop/images/05112025/15/49/image_05112025_15_49_04_1643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_55_1685.jpg
/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_57_1700.jpg
/home/pi/Desktop/images/05112025/15/48/image_05112025_15_48_59_1525.jpg
/home/pi/Desktop/images/05112025/15/48/image_05112025_15_49_00_1725.jpg
/home/pi/Desktop/images/05112025/15/49/image_05112025_15_49_02_1585.jpg
/home/pi/Desktop/images/05112025/15/49/image_05112025_15_49_04_1643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399539106","1399539034","1399538911","1399538991","1399538952","1399539068"],"photo_ids_order":["1399538911","1399538952","1399538991","1399539034","1399539068","1399539106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3f3722475696c51bb800f22ac976e192.jpg","text":"TemporaryFile(/tmp/multipartBody3221844765074235596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821642642,"filename":"image_05112025_15_49_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/15/c660f8f34141b9164ee609ebd26d0c23.jpg","text":"TemporaryFile(/tmp/multipartBody6505454297479500767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821642642,"filename":"image_05112025_15_49_00_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/15/5f0cb598d530d2d2745f116e05316956.jpg","text":"TemporaryFile(/tmp/multipartBody5446400689297460463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821642642,"filename":"image_05112025_15_48_55_1685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5d5c05c3b9c4c83c2cd3ed7ca9f93ee4.jpg","text":"TemporaryFile(/tmp/multipartBody8656885857243150174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821642642,"filename":"image_05112025_15_48_59_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/15/0f50e941b878757c12773fc8e3998579.jpg","text":"TemporaryFile(/tmp/multipartBody5924247724652225937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821642642,"filename":"image_05112025_15_48_57_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/15/7a569f3322c2fe2eb3dee588473e4c26.jpg","text":"TemporaryFile(/tmp/multipartBody6892055929791085414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821642642,"filename":"image_05112025_15_49_02_1585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399538991","file1":"1399538952","file0":"1399538911","file4":"1399539068","file5":"1399539106","file3":"1399539034"},"map_files_photo_id_array":[{"photo_id":"1399539106","filename":"file5"},{"photo_id":"1399538991","filename":"file2"},{"photo_id":"1399539068","filename":"file4"},{"photo_id":"1399538952","filename":"file1"},{"photo_id":"1399538911","filename":"file0"},{"photo_id":"1399539034","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399539106":["hashtag1","hashtag2"]},{"1399539034":["hashtag1","hashtag2"]},{"1399538911":["hashtag1","hashtag2"]},{"1399538991":["hashtag1","hashtag2"]},{"1399538952":["hashtag1","hashtag2"]},{"1399539068":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399539106, 1399539034, 1399538911, 1399538991, 1399538952, 1399539068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13598704338074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 19:00:22.184370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/23/image_15122025_18_23_44_9273.jpg', '/home/pi/Desktop/images/15122025/18/24/image_15122025_18_24_25_10739.jpg', '/home/pi/Desktop/images/15122025/18/24/image_15122025_18_24_35_9765.jpg', '/home/pi/Desktop/images/15122025/18/24/image_15122025_18_24_54_9906.jpg', '/home/pi/Desktop/images/15122025/18/25/image_15122025_18_25_15_9725.jpg', '/home/pi/Desktop/images/15122025/18/25/image_15122025_18_25_24_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/23/image_15122025_18_23_44_9273.jpg
/home/pi/Desktop/images/15122025/18/24/image_15122025_18_24_25_10739.jpg
/home/pi/Desktop/images/15122025/18/24/image_15122025_18_24_35_9765.jpg
/home/pi/Desktop/images/15122025/18/24/image_15122025_18_24_54_9906.jpg
/home/pi/Desktop/images/15122025/18/25/image_15122025_18_25_15_9725.jpg
/home/pi/Desktop/images/15122025/18/25/image_15122025_18_25_24_9708.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5828275680541992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 19:00:32.157930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 19:00:42.081883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/49/image_05112025_15_49_05_1769.jpg', '/home/pi/Desktop/images/05112025/15/49/image_05112025_15_49_07_1620.jpg', '/home/pi/Desktop/images/05112025/15/49/image_05112025_15_49_09_1681.jpg', '/home/pi/Desktop/images/05112025/15/49/image_05112025_15_49_12_1736.jpg', '/home/pi/Desktop/images/05112025/15/49/image_05112025_15_49_20_8323.jpg', '/home/pi/Desktop/images/05112025/15/49/image_05112025_15_49_35_14841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/49/image_05112025_15_49_05_1769.jpg
/home/pi/Desktop/images/05112025/15/49/image_05112025_15_49_07_1620.jpg
/home/pi/Desktop/images/05112025/15/49/image_05112025_15_49_09_1681.jpg
/home/pi/Desktop/images/05112025/15/49/image_05112025_15_49_12_1736.jpg
/home/pi/Desktop/images/05112025/15/49/image_05112025_15_49_20_8323.jpg
/home/pi/Desktop/images/05112025/15/49/image_05112025_15_49_35_14841.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399539544","1399539822","1399539705","1399539779","1399539740","1399539629"],"photo_ids_order":["1399539544","1399539629","1399539705","1399539740","1399539779","1399539822"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b8dcd01a4b822507bf2d3dd3c39cc52b.jpg","text":"TemporaryFile(/tmp/multipartBody5636053443177533679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821702801,"filename":"image_05112025_15_49_05_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/15/bafe1895e6e97981b3054917cef2ff42.jpg","text":"TemporaryFile(/tmp/multipartBody2542338345215512010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821702801,"filename":"image_05112025_15_49_35_14841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f65e26731da6d78a9d4da9ed11344e2b.jpg","text":"TemporaryFile(/tmp/multipartBody7392236105113261429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821702801,"filename":"image_05112025_15_49_09_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/15/afbe3651e14ac34f82a738b2c0940701.jpg","text":"TemporaryFile(/tmp/multipartBody711531667150045964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821702801,"filename":"image_05112025_15_49_20_8323.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e01efc7b458b60fe16ba8d4d81118513.jpg","text":"TemporaryFile(/tmp/multipartBody393058642937189726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821702801,"filename":"image_05112025_15_49_12_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/15/a381e989755da9ba026830a1183b49af.jpg","text":"TemporaryFile(/tmp/multipartBody1832315835975534996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821702801,"filename":"image_05112025_15_49_07_1620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399539705","file1":"1399539629","file0":"1399539544","file4":"1399539779","file5":"1399539822","file3":"1399539740"},"map_files_photo_id_array":[{"photo_id":"1399539822","filename":"file5"},{"photo_id":"1399539705","filename":"file2"},{"photo_id":"1399539779","filename":"file4"},{"photo_id":"1399539629","filename":"file1"},{"photo_id":"1399539544","filename":"file0"},{"photo_id":"1399539740","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399539544":["hashtag1","hashtag2"]},{"1399539822":["hashtag1","hashtag2"]},{"1399539705":["hashtag1","hashtag2"]},{"1399539779":["hashtag1","hashtag2"]},{"1399539740":["hashtag1","hashtag2"]},{"1399539629":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399539544, 1399539822, 1399539705, 1399539779, 1399539740, 1399539629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86808466911316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 19:01:22.352041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/23/image_15122025_18_23_44_9273.jpg', '/home/pi/Desktop/images/15122025/18/24/image_15122025_18_24_25_10739.jpg', '/home/pi/Desktop/images/15122025/18/24/image_15122025_18_24_35_9765.jpg', '/home/pi/Desktop/images/15122025/18/24/image_15122025_18_24_54_9906.jpg', '/home/pi/Desktop/images/15122025/18/25/image_15122025_18_25_15_9725.jpg', '/home/pi/Desktop/images/15122025/18/25/image_15122025_18_25_24_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/23/image_15122025_18_23_44_9273.jpg
/home/pi/Desktop/images/15122025/18/24/image_15122025_18_24_25_10739.jpg
/home/pi/Desktop/images/15122025/18/24/image_15122025_18_24_35_9765.jpg
/home/pi/Desktop/images/15122025/18/24/image_15122025_18_24_54_9906.jpg
/home/pi/Desktop/images/15122025/18/25/image_15122025_18_25_15_9725.jpg
/home/pi/Desktop/images/15122025/18/25/image_15122025_18_25_24_9708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399540061","1399540382","1399540457","1399540310","1399540219","1399540132"],"photo_ids_order":["1399540061","1399540132","1399540219","1399540310","1399540382","1399540457"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a597b31a55cc3d7353359327f6ebe9e2.jpg","text":"TemporaryFile(/tmp/multipartBody1261268675940607628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821743004,"filename":"image_15122025_18_23_44_9273.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5ebd67cd79a6e2cee70de9cbeb02e2ff.jpg","text":"TemporaryFile(/tmp/multipartBody4331491979085453958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821743004,"filename":"image_15122025_18_25_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/15/4d07a4b585a9b4294482265623eb6bd8.jpg","text":"TemporaryFile(/tmp/multipartBody3455230398823749450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821743004,"filename":"image_15122025_18_25_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/15/3fc8a3bf0e80f9b31ecad955e3a0a343.jpg","text":"TemporaryFile(/tmp/multipartBody755321019710831512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821743004,"filename":"image_15122025_18_24_54_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/15/eae0292faba8bac5593e49f41a4d8127.jpg","text":"TemporaryFile(/tmp/multipartBody5160563920406080058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821743004,"filename":"image_15122025_18_24_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/15/1e78bd165be8ca31162581f6b95a6099.jpg","text":"TemporaryFile(/tmp/multipartBody2722102164545931601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821743004,"filename":"image_15122025_18_24_25_10739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399540219","file1":"1399540132","file0":"1399540061","file4":"1399540382","file5":"1399540457","file3":"1399540310"},"map_files_photo_id_array":[{"photo_id":"1399540457","filename":"file5"},{"photo_id":"1399540219","filename":"file2"},{"photo_id":"1399540382","filename":"file4"},{"photo_id":"1399540132","filename":"file1"},{"photo_id":"1399540061","filename":"file0"},{"photo_id":"1399540310","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399540061":["hashtag1","hashtag2"]},{"1399540382":["hashtag1","hashtag2"]},{"1399540457":["hashtag1","hashtag2"]},{"1399540310":["hashtag1","hashtag2"]},{"1399540219":["hashtag1","hashtag2"]},{"1399540132":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399540061, 1399540382, 1399540457, 1399540310, 1399540219, 1399540132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.626054525375366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 19:02:03.109093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/25/image_15122025_18_25_54_9807.jpg', '/home/pi/Desktop/images/15122025/18/26/image_15122025_18_26_15_9760.jpg', '/home/pi/Desktop/images/15122025/18/26/image_15122025_18_26_34_9727.jpg', '/home/pi/Desktop/images/15122025/18/26/image_15122025_18_26_45_10826.jpg', '/home/pi/Desktop/images/15122025/18/26/image_15122025_18_26_55_9708.jpg', '/home/pi/Desktop/images/15122025/18/27/image_15122025_18_27_25_9833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/25/image_15122025_18_25_54_9807.jpg
/home/pi/Desktop/images/15122025/18/26/image_15122025_18_26_15_9760.jpg
/home/pi/Desktop/images/15122025/18/26/image_15122025_18_26_34_9727.jpg
/home/pi/Desktop/images/15122025/18/26/image_15122025_18_26_45_10826.jpg
/home/pi/Desktop/images/15122025/18/26/image_15122025_18_26_55_9708.jpg
/home/pi/Desktop/images/15122025/18/27/image_15122025_18_27_25_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":["1399540571","1399540672","1399540675","1399540644","1399540533","1399540515"],"photo_ids_order":["1399540515","1399540533","1399540571","1399540644","1399540672","1399540675"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b05f41eabae3e36c16e6dc92929aa1fd.jpg","text":"TemporaryFile(/tmp/multipartBody5303207628333943886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821783775,"filename":"image_15122025_18_26_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/15/82957ee7d96adda34620bd5cc33817c4.jpg","text":"TemporaryFile(/tmp/multipartBody1426435603108360932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821783775,"filename":"image_15122025_18_26_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/15/ae7a45d466c5f24d041da3920464a19f.jpg","text":"TemporaryFile(/tmp/multipartBody475358111509576971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821783775,"filename":"image_15122025_18_27_25_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3a8d7adbb03a13e3e4d4a515bff3f692.jpg","text":"TemporaryFile(/tmp/multipartBody1304189986949128268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821783775,"filename":"image_15122025_18_26_45_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/15/87d0830e8b89defb5a3da37cce7cf429.jpg","text":"TemporaryFile(/tmp/multipartBody3178683758101676852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821783775,"filename":"image_15122025_18_26_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/15/c234afa9e28940d539beb6cfe5899a2f.jpg","text":"TemporaryFile(/tmp/multipartBody150779213371285453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821783775,"filename":"image_15122025_18_25_54_9807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399540571","file1":"1399540533","file0":"1399540515","file4":"1399540672","file5":"1399540675","file3":"1399540644"},"map_files_photo_id_array":[{"photo_id":"1399540675","filename":"file5"},{"photo_id":"1399540571","filename":"file2"},{"photo_id":"1399540672","filename":"file4"},{"photo_id":"1399540533","filename":"file1"},{"photo_id":"1399540515","filename":"file0"},{"photo_id":"1399540644","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399540571":["hashtag1","hashtag2"]},{"1399540672":["hashtag1","hashtag2"]},{"1399540675":["hashtag1","hashtag2"]},{"1399540644":["hashtag1","hashtag2"]},{"1399540533":["hashtag1","hashtag2"]},{"1399540515":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399540571, 1399540672, 1399540675, 1399540644, 1399540533, 1399540515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49679756164551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 19:02:42.678172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/49/image_05112025_15_49_37_1575.jpg', '/home/pi/Desktop/images/05112025/15/49/image_05112025_15_49_53_16051.jpg', '/home/pi/Desktop/images/05112025/15/49/image_05112025_15_49_55_1758.jpg', '/home/pi/Desktop/images/05112025/15/49/image_05112025_15_49_56_1693.jpg', '/home/pi/Desktop/images/05112025/15/49/image_05112025_15_49_58_1536.jpg', '/home/pi/Desktop/images/05112025/15/49/image_05112025_15_50_00_1658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/49/image_05112025_15_49_37_1575.jpg
/home/pi/Desktop/images/05112025/15/49/image_05112025_15_49_53_16051.jpg
/home/pi/Desktop/images/05112025/15/49/image_05112025_15_49_55_1758.jpg
/home/pi/Desktop/images/05112025/15/49/image_05112025_15_49_56_1693.jpg
/home/pi/Desktop/images/05112025/15/49/image_05112025_15_49_58_1536.jpg
/home/pi/Desktop/images/05112025/15/49/image_05112025_15_50_00_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":["1399540739","1399540748","1399540777","1399540776","1399540773","1399540775"],"photo_ids_order":["1399540739","1399540748","1399540773","1399540775","1399540776","1399540777"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/30ddeb282f51b0167b53c8da8912efd1.jpg","text":"TemporaryFile(/tmp/multipartBody3627605395226552834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821823374,"filename":"image_05112025_15_49_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/15/c28a7f8c150cf54f2d347024c061bea0.jpg","text":"TemporaryFile(/tmp/multipartBody751317013343750999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821823374,"filename":"image_05112025_15_49_53_16051.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/043fee7aeb2e79693f3d209f187d6d24.jpg","text":"TemporaryFile(/tmp/multipartBody6050429296906783592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821823374,"filename":"image_05112025_15_50_00_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/15/78f5d5605c337489e91438672b8f9623.jpg","text":"TemporaryFile(/tmp/multipartBody374377917033433998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821823374,"filename":"image_05112025_15_49_58_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/15/896dd702792d1523ee56bddeb1293d2b.jpg","text":"TemporaryFile(/tmp/multipartBody2023875615711973724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821823374,"filename":"image_05112025_15_49_55_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/15/f3ba96fe9e4019e42536753cef1b0567.jpg","text":"TemporaryFile(/tmp/multipartBody5327371908377384345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821823374,"filename":"image_05112025_15_49_56_1693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399540773","file1":"1399540748","file0":"1399540739","file4":"1399540776","file5":"1399540777","file3":"1399540775"},"map_files_photo_id_array":[{"photo_id":"1399540777","filename":"file5"},{"photo_id":"1399540773","filename":"file2"},{"photo_id":"1399540776","filename":"file4"},{"photo_id":"1399540748","filename":"file1"},{"photo_id":"1399540739","filename":"file0"},{"photo_id":"1399540775","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399540739":["hashtag1","hashtag2"]},{"1399540748":["hashtag1","hashtag2"]},{"1399540777":["hashtag1","hashtag2"]},{"1399540776":["hashtag1","hashtag2"]},{"1399540773":["hashtag1","hashtag2"]},{"1399540775":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399540739, 1399540748, 1399540777, 1399540776, 1399540773, 1399540775)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.8645498752594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 19:03:31.912700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 19:03:41.896032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 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-15 19:04:02.756022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 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-15 19:04:12.113263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 19:04:22.113908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/27/image_15122025_18_27_35_9995.jpg', '/home/pi/Desktop/images/15122025/18/27/image_15122025_18_27_45_9706.jpg', '/home/pi/Desktop/images/15122025/18/27/image_15122025_18_27_54_9735.jpg', '/home/pi/Desktop/images/15122025/18/27/image_15122025_18_28_05_10653.jpg', '/home/pi/Desktop/images/15122025/18/28/image_15122025_18_28_15_9681.jpg', '/home/pi/Desktop/images/15122025/18/28/image_15122025_18_28_25_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/27/image_15122025_18_27_35_9995.jpg
/home/pi/Desktop/images/15122025/18/27/image_15122025_18_27_45_9706.jpg
/home/pi/Desktop/images/15122025/18/27/image_15122025_18_27_54_9735.jpg
/home/pi/Desktop/images/15122025/18/27/image_15122025_18_28_05_10653.jpg
/home/pi/Desktop/images/15122025/18/28/image_15122025_18_28_15_9681.jpg
/home/pi/Desktop/images/15122025/18/28/image_15122025_18_28_25_9791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399540976","1399540990","1399540945","1399540921","1399540912","1399540947"],"photo_ids_order":["1399540912","1399540921","1399540945","1399540947","1399540976","1399540990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/69bf566998ae8901c7ed8c6ff368df53.jpg","text":"TemporaryFile(/tmp/multipartBody6799417387242379882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821922713,"filename":"image_15122025_18_28_15_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2f46ccd003dc6d5f0d704c21a04d4aa7.jpg","text":"TemporaryFile(/tmp/multipartBody8051514475131618848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821922713,"filename":"image_15122025_18_28_25_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/676192861f938b4c9aab92ba959a09b3.jpg","text":"TemporaryFile(/tmp/multipartBody1350128542961833910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821922713,"filename":"image_15122025_18_27_54_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f7f21b21ff7bc9444ad77ad101c79bb4.jpg","text":"TemporaryFile(/tmp/multipartBody7894692034766214387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821922713,"filename":"image_15122025_18_27_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/15/e42813a2101e65d25aa675b0d7ebedff.jpg","text":"TemporaryFile(/tmp/multipartBody1641011023203458536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821922713,"filename":"image_15122025_18_27_35_9995.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/30e46b35b0f38b2ac05d0dd71003b113.jpg","text":"TemporaryFile(/tmp/multipartBody454780650618228386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821922713,"filename":"image_15122025_18_28_05_10653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399540945","file1":"1399540921","file0":"1399540912","file4":"1399540976","file5":"1399540990","file3":"1399540947"},"map_files_photo_id_array":[{"photo_id":"1399540990","filename":"file5"},{"photo_id":"1399540945","filename":"file2"},{"photo_id":"1399540976","filename":"file4"},{"photo_id":"1399540921","filename":"file1"},{"photo_id":"1399540912","filename":"file0"},{"photo_id":"1399540947","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399540976":["hashtag1","hashtag2"]},{"1399540990":["hashtag1","hashtag2"]},{"1399540945":["hashtag1","hashtag2"]},{"1399540921":["hashtag1","hashtag2"]},{"1399540912":["hashtag1","hashtag2"]},{"1399540947":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399540976, 1399540990, 1399540945, 1399540921, 1399540912, 1399540947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94769525527954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 19:05:03.050926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/28/image_15122025_18_28_35_10628.jpg', '/home/pi/Desktop/images/15122025/18/28/image_15122025_18_28_45_9706.jpg', '/home/pi/Desktop/images/15122025/18/28/image_15122025_18_28_55_9818.jpg', '/home/pi/Desktop/images/15122025/18/28/image_15122025_18_29_05_10000.jpg', '/home/pi/Desktop/images/15122025/18/29/image_15122025_18_29_14_9705.jpg', '/home/pi/Desktop/images/15122025/18/29/image_15122025_18_29_25_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/28/image_15122025_18_28_35_10628.jpg
/home/pi/Desktop/images/15122025/18/28/image_15122025_18_28_45_9706.jpg
/home/pi/Desktop/images/15122025/18/28/image_15122025_18_28_55_9818.jpg
/home/pi/Desktop/images/15122025/18/28/image_15122025_18_29_05_10000.jpg
/home/pi/Desktop/images/15122025/18/29/image_15122025_18_29_14_9705.jpg
/home/pi/Desktop/images/15122025/18/29/image_15122025_18_29_25_10637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399541030","1399541032","1399541023","1399541026","1399541028","1399541021"],"photo_ids_order":["1399541021","1399541023","1399541026","1399541028","1399541030","1399541032"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6c71c56480a2c25841f184ad0896c69a.jpg","text":"TemporaryFile(/tmp/multipartBody7006709848131340372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821967535,"filename":"image_15122025_18_29_14_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bd8005fbee1c5cb9b6686fd8fc00e822.jpg","text":"TemporaryFile(/tmp/multipartBody1920281978867165162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821967535,"filename":"image_15122025_18_29_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/15/5b9ae40afa5b5b7d446424a0f55af2f6.jpg","text":"TemporaryFile(/tmp/multipartBody8451076573948198894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821967535,"filename":"image_15122025_18_28_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/15/637033c9dcc0c9d215353ac3f8b08320.jpg","text":"TemporaryFile(/tmp/multipartBody3899865336326768679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821967535,"filename":"image_15122025_18_28_55_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/10aea61d14ae64dd55cfc992817d25b5.jpg","text":"TemporaryFile(/tmp/multipartBody4059133979246976399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821967535,"filename":"image_15122025_18_29_05_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/15/049b82f889f1261de977e4be4fccb3d9.jpg","text":"TemporaryFile(/tmp/multipartBody600056602366431293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765821967535,"filename":"image_15122025_18_28_35_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399541026","file1":"1399541023","file0":"1399541021","file4":"1399541030","file5":"1399541032","file3":"1399541028"},"map_files_photo_id_array":[{"photo_id":"1399541032","filename":"file5"},{"photo_id":"1399541026","filename":"file2"},{"photo_id":"1399541030","filename":"file4"},{"photo_id":"1399541023","filename":"file1"},{"photo_id":"1399541021","filename":"file0"},{"photo_id":"1399541028","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399541030":["hashtag1","hashtag2"]},{"1399541032":["hashtag1","hashtag2"]},{"1399541023":["hashtag1","hashtag2"]},{"1399541026":["hashtag1","hashtag2"]},{"1399541028":["hashtag1","hashtag2"]},{"1399541021":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399541030, 1399541032, 1399541023, 1399541026, 1399541028, 1399541021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.24691939353943 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 19:06:03.143558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/29/image_15122025_18_29_35_9713.jpg', '/home/pi/Desktop/images/15122025/18/29/image_15122025_18_29_44_9687.jpg', '/home/pi/Desktop/images/15122025/18/29/image_15122025_18_29_54_9798.jpg', '/home/pi/Desktop/images/15122025/18/30/image_15122025_18_30_14_10055.jpg', '/home/pi/Desktop/images/15122025/18/30/image_15122025_18_30_25_10681.jpg', '/home/pi/Desktop/images/15122025/18/30/image_15122025_18_30_34_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/29/image_15122025_18_29_35_9713.jpg
/home/pi/Desktop/images/15122025/18/29/image_15122025_18_29_44_9687.jpg
/home/pi/Desktop/images/15122025/18/29/image_15122025_18_29_54_9798.jpg
/home/pi/Desktop/images/15122025/18/30/image_15122025_18_30_14_10055.jpg
/home/pi/Desktop/images/15122025/18/30/image_15122025_18_30_25_10681.jpg
/home/pi/Desktop/images/15122025/18/30/image_15122025_18_30_34_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.5224289894104004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 19:06:12.643082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 19:06:22.672668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/29/image_15122025_18_29_35_9713.jpg', '/home/pi/Desktop/images/15122025/18/29/image_15122025_18_29_44_9687.jpg', '/home/pi/Desktop/images/15122025/18/29/image_15122025_18_29_54_9798.jpg', '/home/pi/Desktop/images/15122025/18/30/image_15122025_18_30_14_10055.jpg', '/home/pi/Desktop/images/15122025/18/30/image_15122025_18_30_25_10681.jpg', '/home/pi/Desktop/images/15122025/18/30/image_15122025_18_30_34_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/29/image_15122025_18_29_35_9713.jpg
/home/pi/Desktop/images/15122025/18/29/image_15122025_18_29_44_9687.jpg
/home/pi/Desktop/images/15122025/18/29/image_15122025_18_29_54_9798.jpg
/home/pi/Desktop/images/15122025/18/30/image_15122025_18_30_14_10055.jpg
/home/pi/Desktop/images/15122025/18/30/image_15122025_18_30_25_10681.jpg
/home/pi/Desktop/images/15122025/18/30/image_15122025_18_30_34_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":["1399541065","1399541050","1399541068","1399541053","1399541047","1399541062"],"photo_ids_order":["1399541047","1399541050","1399541053","1399541062","1399541065","1399541068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b81aa85ee3f53ab357ce93ce88d0309d.jpg","text":"TemporaryFile(/tmp/multipartBody9186843889429241767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822043264,"filename":"image_15122025_18_30_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/15/7fb539bbba6a0cab82b525ce5fe8c56f.jpg","text":"TemporaryFile(/tmp/multipartBody188068187326599572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822043264,"filename":"image_15122025_18_29_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/15/7502473e98fe50bc86b656df349f5c25.jpg","text":"TemporaryFile(/tmp/multipartBody5093432276965512116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822043264,"filename":"image_15122025_18_30_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/15/e7e62813d1d7e69ddeaf6a09743cfd00.jpg","text":"TemporaryFile(/tmp/multipartBody3202442204883679530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822043264,"filename":"image_15122025_18_29_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/15/e8f44d8a341658d4a0070f7d805a77ad.jpg","text":"TemporaryFile(/tmp/multipartBody3177921972497554324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822043264,"filename":"image_15122025_18_29_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/15/3797f8c20625ed5a6670dbea13d7867b.jpg","text":"TemporaryFile(/tmp/multipartBody5573362732200593083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822043264,"filename":"image_15122025_18_30_14_10055.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399541053","file1":"1399541050","file0":"1399541047","file4":"1399541065","file5":"1399541068","file3":"1399541062"},"map_files_photo_id_array":[{"photo_id":"1399541068","filename":"file5"},{"photo_id":"1399541053","filename":"file2"},{"photo_id":"1399541065","filename":"file4"},{"photo_id":"1399541050","filename":"file1"},{"photo_id":"1399541047","filename":"file0"},{"photo_id":"1399541062","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399541065":["hashtag1","hashtag2"]},{"1399541050":["hashtag1","hashtag2"]},{"1399541068":["hashtag1","hashtag2"]},{"1399541053":["hashtag1","hashtag2"]},{"1399541047":["hashtag1","hashtag2"]},{"1399541062":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399541065, 1399541050, 1399541068, 1399541053, 1399541047, 1399541062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.509604930877686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 19:07:02.543028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/30/image_15122025_18_30_44_9687.jpg', '/home/pi/Desktop/images/15122025/18/30/image_15122025_18_30_55_10736.jpg', '/home/pi/Desktop/images/15122025/18/30/image_15122025_18_31_04_9723.jpg', '/home/pi/Desktop/images/15122025/18/31/image_15122025_18_31_14_9690.jpg', '/home/pi/Desktop/images/15122025/18/31/image_15122025_18_31_25_10672.jpg', '/home/pi/Desktop/images/15122025/18/31/image_15122025_18_31_34_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/30/image_15122025_18_30_44_9687.jpg
/home/pi/Desktop/images/15122025/18/30/image_15122025_18_30_55_10736.jpg
/home/pi/Desktop/images/15122025/18/30/image_15122025_18_31_04_9723.jpg
/home/pi/Desktop/images/15122025/18/31/image_15122025_18_31_14_9690.jpg
/home/pi/Desktop/images/15122025/18/31/image_15122025_18_31_25_10672.jpg
/home/pi/Desktop/images/15122025/18/31/image_15122025_18_31_34_9732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399541176","1399541071","1399541218","1399541079","1399541139","1399541103"],"photo_ids_order":["1399541071","1399541079","1399541103","1399541139","1399541176","1399541218"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/169fb62b5eeb0455381c889cf45c50c6.jpg","text":"TemporaryFile(/tmp/multipartBody5092835385881848121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822083176,"filename":"image_15122025_18_31_25_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fa5ad97c5e573c06baaff585247572ea.jpg","text":"TemporaryFile(/tmp/multipartBody6391425569097937418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822083176,"filename":"image_15122025_18_30_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/15/7eedf9c794cda06d630a1103840068d6.jpg","text":"TemporaryFile(/tmp/multipartBody3022606652383330217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822083176,"filename":"image_15122025_18_31_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/15/975f1a6df66b3b6ab575b70350dd04da.jpg","text":"TemporaryFile(/tmp/multipartBody4133705217309559081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822083176,"filename":"image_15122025_18_30_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/15/4f5604f8f2a55c9606686e8a8da04e79.jpg","text":"TemporaryFile(/tmp/multipartBody5554610512963103155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822083176,"filename":"image_15122025_18_31_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/15/b5098f2c8c6cbcba3e2c6b92f828df69.jpg","text":"TemporaryFile(/tmp/multipartBody3061407527322759332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822083176,"filename":"image_15122025_18_31_04_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399541103","file1":"1399541079","file0":"1399541071","file4":"1399541176","file5":"1399541218","file3":"1399541139"},"map_files_photo_id_array":[{"photo_id":"1399541218","filename":"file5"},{"photo_id":"1399541103","filename":"file2"},{"photo_id":"1399541176","filename":"file4"},{"photo_id":"1399541079","filename":"file1"},{"photo_id":"1399541071","filename":"file0"},{"photo_id":"1399541139","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399541176":["hashtag1","hashtag2"]},{"1399541071":["hashtag1","hashtag2"]},{"1399541218":["hashtag1","hashtag2"]},{"1399541079":["hashtag1","hashtag2"]},{"1399541139":["hashtag1","hashtag2"]},{"1399541103":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399541176, 1399541071, 1399541218, 1399541079, 1399541139, 1399541103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.103991746902466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 19:07:41.771093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/50/image_05112025_15_50_01_1679.jpg', '/home/pi/Desktop/images/05112025/15/50/image_05112025_15_50_03_1722.jpg', '/home/pi/Desktop/images/05112025/15/50/image_05112025_15_50_05_1701.jpg', '/home/pi/Desktop/images/05112025/15/50/image_05112025_15_50_06_1589.jpg', '/home/pi/Desktop/images/05112025/15/50/image_05112025_15_50_08_1549.jpg', '/home/pi/Desktop/images/05112025/15/50/image_05112025_15_50_10_1746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/50/image_05112025_15_50_01_1679.jpg
/home/pi/Desktop/images/05112025/15/50/image_05112025_15_50_03_1722.jpg
/home/pi/Desktop/images/05112025/15/50/image_05112025_15_50_05_1701.jpg
/home/pi/Desktop/images/05112025/15/50/image_05112025_15_50_06_1589.jpg
/home/pi/Desktop/images/05112025/15/50/image_05112025_15_50_08_1549.jpg
/home/pi/Desktop/images/05112025/15/50/image_05112025_15_50_10_1746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399541296","1399541263","1399541266","1399541298","1399541295","1399541297"],"photo_ids_order":["1399541263","1399541266","1399541295","1399541296","1399541297","1399541298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/04b5fa4fcb9dd51bafffea1be9173f60.jpg","text":"TemporaryFile(/tmp/multipartBody4481743328692794692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822122470,"filename":"image_05112025_15_50_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/15/4ce8210c9c737cec543a642183c10c4b.jpg","text":"TemporaryFile(/tmp/multipartBody6275761579866033786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822122470,"filename":"image_05112025_15_50_01_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/15/e8ec083faa325255d0902fd0505a6434.jpg","text":"TemporaryFile(/tmp/multipartBody7340766558032404321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822122470,"filename":"image_05112025_15_50_03_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/15/6f0d21b87a115c17ada5b1f2873b970b.jpg","text":"TemporaryFile(/tmp/multipartBody1427361380621604619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822122470,"filename":"image_05112025_15_50_10_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/15/74adccf7f2763afd629d6257ffddb71e.jpg","text":"TemporaryFile(/tmp/multipartBody9013955333832654830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822122470,"filename":"image_05112025_15_50_05_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/15/dda121c1174b63d8290f01b1590e8464.jpg","text":"TemporaryFile(/tmp/multipartBody2319143715301166790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822122470,"filename":"image_05112025_15_50_08_1549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399541295","file1":"1399541266","file0":"1399541263","file4":"1399541297","file5":"1399541298","file3":"1399541296"},"map_files_photo_id_array":[{"photo_id":"1399541298","filename":"file5"},{"photo_id":"1399541295","filename":"file2"},{"photo_id":"1399541297","filename":"file4"},{"photo_id":"1399541266","filename":"file1"},{"photo_id":"1399541263","filename":"file0"},{"photo_id":"1399541296","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399541296":["hashtag1","hashtag2"]},{"1399541263":["hashtag1","hashtag2"]},{"1399541266":["hashtag1","hashtag2"]},{"1399541298":["hashtag1","hashtag2"]},{"1399541295":["hashtag1","hashtag2"]},{"1399541297":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399541296, 1399541263, 1399541266, 1399541298, 1399541295, 1399541297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74627494812012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 19:08:22.049336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/31/image_15122025_18_31_44_9745.jpg', '/home/pi/Desktop/images/15122025/18/31/image_15122025_18_31_54_9652.jpg', '/home/pi/Desktop/images/15122025/18/31/image_15122025_18_32_05_10805.jpg', '/home/pi/Desktop/images/15122025/18/32/image_15122025_18_32_14_9598.jpg', '/home/pi/Desktop/images/15122025/18/32/image_15122025_18_32_24_9755.jpg', '/home/pi/Desktop/images/15122025/18/32/image_15122025_18_32_35_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/31/image_15122025_18_31_44_9745.jpg
/home/pi/Desktop/images/15122025/18/31/image_15122025_18_31_54_9652.jpg
/home/pi/Desktop/images/15122025/18/31/image_15122025_18_32_05_10805.jpg
/home/pi/Desktop/images/15122025/18/32/image_15122025_18_32_14_9598.jpg
/home/pi/Desktop/images/15122025/18/32/image_15122025_18_32_24_9755.jpg
/home/pi/Desktop/images/15122025/18/32/image_15122025_18_32_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":["1399541309","1399541305","1399541317","1399541322","1399541319","1399541313"],"photo_ids_order":["1399541305","1399541309","1399541313","1399541317","1399541319","1399541322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/900dbc49a4164019e59c5012b8a4ef7d.jpg","text":"TemporaryFile(/tmp/multipartBody465332342837999719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822162684,"filename":"image_15122025_18_31_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/15/f49b8d8bed2f1b47c0ba7953d8c3ab2b.jpg","text":"TemporaryFile(/tmp/multipartBody5488618066514476315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822162684,"filename":"image_15122025_18_31_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/15/092b94ecab8edcaf6558b571a3fa1566.jpg","text":"TemporaryFile(/tmp/multipartBody601274911265144679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822162684,"filename":"image_15122025_18_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/15/ce71f677256b976bba75f969f739ac55.jpg","text":"TemporaryFile(/tmp/multipartBody2955841910266206127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822162684,"filename":"image_15122025_18_32_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/15/1f16068b7567b21d31260fbcf5e413f8.jpg","text":"TemporaryFile(/tmp/multipartBody7587676983311737919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822162684,"filename":"image_15122025_18_32_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/15/ce05aafe5cced646c917c20f67033224.jpg","text":"TemporaryFile(/tmp/multipartBody1646653885377093651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822162684,"filename":"image_15122025_18_32_05_10805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399541313","file1":"1399541309","file0":"1399541305","file4":"1399541319","file5":"1399541322","file3":"1399541317"},"map_files_photo_id_array":[{"photo_id":"1399541322","filename":"file5"},{"photo_id":"1399541313","filename":"file2"},{"photo_id":"1399541319","filename":"file4"},{"photo_id":"1399541309","filename":"file1"},{"photo_id":"1399541305","filename":"file0"},{"photo_id":"1399541317","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399541309":["hashtag1","hashtag2"]},{"1399541305":["hashtag1","hashtag2"]},{"1399541317":["hashtag1","hashtag2"]},{"1399541322":["hashtag1","hashtag2"]},{"1399541319":["hashtag1","hashtag2"]},{"1399541313":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399541309, 1399541305, 1399541317, 1399541322, 1399541319, 1399541313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83749175071716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 19:09:03.266717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/32/image_15122025_18_32_45_9893.jpg', '/home/pi/Desktop/images/15122025/18/32/image_15122025_18_32_54_9691.jpg', '/home/pi/Desktop/images/15122025/18/32/image_15122025_18_33_04_9784.jpg', '/home/pi/Desktop/images/15122025/18/33/image_15122025_18_33_24_9619.jpg', '/home/pi/Desktop/images/15122025/18/33/image_15122025_18_33_34_9932.jpg', '/home/pi/Desktop/images/15122025/18/33/image_15122025_18_33_44_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/32/image_15122025_18_32_45_9893.jpg
/home/pi/Desktop/images/15122025/18/32/image_15122025_18_32_54_9691.jpg
/home/pi/Desktop/images/15122025/18/32/image_15122025_18_33_04_9784.jpg
/home/pi/Desktop/images/15122025/18/33/image_15122025_18_33_24_9619.jpg
/home/pi/Desktop/images/15122025/18/33/image_15122025_18_33_34_9932.jpg
/home/pi/Desktop/images/15122025/18/33/image_15122025_18_33_44_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":["1399541342","1399541336","1399541344","1399541347","1399541340","1399541348"],"photo_ids_order":["1399541336","1399541340","1399541342","1399541344","1399541347","1399541348"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c66b10f9d4749418aacc9f156c000501.jpg","text":"TemporaryFile(/tmp/multipartBody2756396113156397743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822204062,"filename":"image_15122025_18_33_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/15/31f551c0c77424608aad070987662090.jpg","text":"TemporaryFile(/tmp/multipartBody8996312115507922475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822204062,"filename":"image_15122025_18_32_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/15/b51085712523fa661db975f4bc4e3afb.jpg","text":"TemporaryFile(/tmp/multipartBody4863095840475806978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822204062,"filename":"image_15122025_18_33_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/15/054d2b6661caa48a2ee2eb252ee02a17.jpg","text":"TemporaryFile(/tmp/multipartBody477049973245581979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822204062,"filename":"image_15122025_18_33_34_9932.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6e45c3b28d87481b4af0abd6c73f8f87.jpg","text":"TemporaryFile(/tmp/multipartBody827804247651969449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822204062,"filename":"image_15122025_18_32_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/15/0f1c13ebe7a532cb33b71a19bb339605.jpg","text":"TemporaryFile(/tmp/multipartBody6002172948420042685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822204062,"filename":"image_15122025_18_33_44_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399541342","file1":"1399541340","file0":"1399541336","file4":"1399541347","file5":"1399541348","file3":"1399541344"},"map_files_photo_id_array":[{"photo_id":"1399541348","filename":"file5"},{"photo_id":"1399541342","filename":"file2"},{"photo_id":"1399541347","filename":"file4"},{"photo_id":"1399541340","filename":"file1"},{"photo_id":"1399541336","filename":"file0"},{"photo_id":"1399541344","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399541342":["hashtag1","hashtag2"]},{"1399541336":["hashtag1","hashtag2"]},{"1399541344":["hashtag1","hashtag2"]},{"1399541347":["hashtag1","hashtag2"]},{"1399541340":["hashtag1","hashtag2"]},{"1399541348":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399541342, 1399541336, 1399541344, 1399541347, 1399541340, 1399541348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79901599884033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 19:09:42.279776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/50/image_05112025_15_50_22_11998.jpg', '/home/pi/Desktop/images/05112025/15/50/image_05112025_15_50_23_1706.jpg', '/home/pi/Desktop/images/05112025/15/50/image_05112025_15_50_33_9346.jpg', '/home/pi/Desktop/images/05112025/15/51/image_05112025_15_51_02_29025.jpg', '/home/pi/Desktop/images/05112025/15/51/image_05112025_15_51_05_3034.jpg', '/home/pi/Desktop/images/05112025/15/51/image_05112025_15_51_06_1702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/50/image_05112025_15_50_22_11998.jpg
/home/pi/Desktop/images/05112025/15/50/image_05112025_15_50_23_1706.jpg
/home/pi/Desktop/images/05112025/15/50/image_05112025_15_50_33_9346.jpg
/home/pi/Desktop/images/05112025/15/51/image_05112025_15_51_02_29025.jpg
/home/pi/Desktop/images/05112025/15/51/image_05112025_15_51_05_3034.jpg
/home/pi/Desktop/images/05112025/15/51/image_05112025_15_51_06_1702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399541356","1399541359","1399541353","1399541355","1399541358","1399541357"],"photo_ids_order":["1399541353","1399541355","1399541356","1399541357","1399541358","1399541359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7bc18de3952c0647ca5c7c3f98f8af8b.jpg","text":"TemporaryFile(/tmp/multipartBody5871787952195596345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822243023,"filename":"image_05112025_15_50_33_9346.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/02814020d2b873061c5f772933e86669.jpg","text":"TemporaryFile(/tmp/multipartBody214602548323063566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822243023,"filename":"image_05112025_15_51_06_1702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/78f9c5c0f3449314972ab487de5b1fa3.jpg","text":"TemporaryFile(/tmp/multipartBody7966093645553661989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822243023,"filename":"image_05112025_15_50_22_11998.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7a4bd143541c4c51badf813984aa9aa3.jpg","text":"TemporaryFile(/tmp/multipartBody2672075353655907157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822243023,"filename":"image_05112025_15_50_23_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/15/f1f8881c59c9c3eecd86c511ec9a5e14.jpg","text":"TemporaryFile(/tmp/multipartBody1080528453512640166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822243023,"filename":"image_05112025_15_51_05_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/15/f21ba89d9cc774eb4ddd45b343b201e7.jpg","text":"TemporaryFile(/tmp/multipartBody7272847721131039743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822243023,"filename":"image_05112025_15_51_02_29025.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399541356","file1":"1399541355","file0":"1399541353","file4":"1399541358","file5":"1399541359","file3":"1399541357"},"map_files_photo_id_array":[{"photo_id":"1399541359","filename":"file5"},{"photo_id":"1399541356","filename":"file2"},{"photo_id":"1399541358","filename":"file4"},{"photo_id":"1399541355","filename":"file1"},{"photo_id":"1399541353","filename":"file0"},{"photo_id":"1399541357","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399541356":["hashtag1","hashtag2"]},{"1399541359":["hashtag1","hashtag2"]},{"1399541353":["hashtag1","hashtag2"]},{"1399541355":["hashtag1","hashtag2"]},{"1399541358":["hashtag1","hashtag2"]},{"1399541357":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399541356, 1399541359, 1399541353, 1399541355, 1399541358, 1399541357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0316379070282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 19:10:22.570352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/33/image_15122025_18_33_55_10733.jpg', '/home/pi/Desktop/images/15122025/18/33/image_15122025_18_34_05_9947.jpg', '/home/pi/Desktop/images/15122025/18/34/image_15122025_18_34_14_9571.jpg', '/home/pi/Desktop/images/15122025/18/34/image_15122025_18_34_25_10583.jpg', '/home/pi/Desktop/images/15122025/18/34/image_15122025_18_34_35_9983.jpg', '/home/pi/Desktop/images/15122025/18/34/image_15122025_18_34_44_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/33/image_15122025_18_33_55_10733.jpg
/home/pi/Desktop/images/15122025/18/33/image_15122025_18_34_05_9947.jpg
/home/pi/Desktop/images/15122025/18/34/image_15122025_18_34_14_9571.jpg
/home/pi/Desktop/images/15122025/18/34/image_15122025_18_34_25_10583.jpg
/home/pi/Desktop/images/15122025/18/34/image_15122025_18_34_35_9983.jpg
/home/pi/Desktop/images/15122025/18/34/image_15122025_18_34_44_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":["1399541386","1399541371","1399541365","1399541373","1399541382","1399541369"],"photo_ids_order":["1399541365","1399541369","1399541371","1399541373","1399541382","1399541386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cd5e1c405969f3fdeedb2ebdbae26444.jpg","text":"TemporaryFile(/tmp/multipartBody8626291333462493739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822283213,"filename":"image_15122025_18_34_44_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b0971945aab9703b277befde02a12cbd.jpg","text":"TemporaryFile(/tmp/multipartBody9022392096216586564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822283213,"filename":"image_15122025_18_34_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/15/94d5e7810e0ecc9d73663bd457785c58.jpg","text":"TemporaryFile(/tmp/multipartBody5522013469353162561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822283213,"filename":"image_15122025_18_33_55_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/daf25a64d0dced9da54797aaa3854b52.jpg","text":"TemporaryFile(/tmp/multipartBody845197663539981636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822283213,"filename":"image_15122025_18_34_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/15/b41cbe03fb3c018a80a8a1d9244d1ce3.jpg","text":"TemporaryFile(/tmp/multipartBody1098296664745836419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822283213,"filename":"image_15122025_18_34_35_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/15/1d6374564e85c6e9d92ab5b97a399cee.jpg","text":"TemporaryFile(/tmp/multipartBody8173126375720591295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822283213,"filename":"image_15122025_18_34_05_9947.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399541371","file1":"1399541369","file0":"1399541365","file4":"1399541382","file5":"1399541386","file3":"1399541373"},"map_files_photo_id_array":[{"photo_id":"1399541386","filename":"file5"},{"photo_id":"1399541371","filename":"file2"},{"photo_id":"1399541382","filename":"file4"},{"photo_id":"1399541369","filename":"file1"},{"photo_id":"1399541365","filename":"file0"},{"photo_id":"1399541373","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399541386":["hashtag1","hashtag2"]},{"1399541371":["hashtag1","hashtag2"]},{"1399541365":["hashtag1","hashtag2"]},{"1399541373":["hashtag1","hashtag2"]},{"1399541382":["hashtag1","hashtag2"]},{"1399541369":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399541386, 1399541371, 1399541365, 1399541373, 1399541382, 1399541369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42969608306885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 19:11:03.397279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/34/image_15122025_18_34_54_9741.jpg', '/home/pi/Desktop/images/15122025/18/34/image_15122025_18_35_04_9711.jpg', '/home/pi/Desktop/images/15122025/18/35/image_15122025_18_35_15_10685.jpg', '/home/pi/Desktop/images/15122025/18/35/image_15122025_18_35_24_9775.jpg', '/home/pi/Desktop/images/15122025/18/35/image_15122025_18_35_34_9646.jpg', '/home/pi/Desktop/images/15122025/18/35/image_15122025_18_35_45_10607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/34/image_15122025_18_34_54_9741.jpg
/home/pi/Desktop/images/15122025/18/34/image_15122025_18_35_04_9711.jpg
/home/pi/Desktop/images/15122025/18/35/image_15122025_18_35_15_10685.jpg
/home/pi/Desktop/images/15122025/18/35/image_15122025_18_35_24_9775.jpg
/home/pi/Desktop/images/15122025/18/35/image_15122025_18_35_34_9646.jpg
/home/pi/Desktop/images/15122025/18/35/image_15122025_18_35_45_10607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399541408","1399541402","1399541392","1399541410","1399541404","1399541406"],"photo_ids_order":["1399541392","1399541402","1399541404","1399541406","1399541408","1399541410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ccef80223ec70d7ef24dd31313af7443.jpg","text":"TemporaryFile(/tmp/multipartBody5294749979659822317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822324044,"filename":"image_15122025_18_35_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/15/0a40e3c66a3eae136e4c8c52990abdfd.jpg","text":"TemporaryFile(/tmp/multipartBody3576033985491540936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822324044,"filename":"image_15122025_18_35_04_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bcfa16a01f50a8e1001fa3951d0653a3.jpg","text":"TemporaryFile(/tmp/multipartBody2002899436830250406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822324044,"filename":"image_15122025_18_34_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/15/48d877672b021cf5c264d235eab348e7.jpg","text":"TemporaryFile(/tmp/multipartBody2100193397610088227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822324044,"filename":"image_15122025_18_35_45_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5004c6c5337817bd56299481d830e3e5.jpg","text":"TemporaryFile(/tmp/multipartBody3237520858094431024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822324044,"filename":"image_15122025_18_35_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/15/11d4279eebe445fefd3e82796d98ddb8.jpg","text":"TemporaryFile(/tmp/multipartBody5419482833300112724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822324044,"filename":"image_15122025_18_35_24_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399541404","file1":"1399541402","file0":"1399541392","file4":"1399541408","file5":"1399541410","file3":"1399541406"},"map_files_photo_id_array":[{"photo_id":"1399541410","filename":"file5"},{"photo_id":"1399541404","filename":"file2"},{"photo_id":"1399541408","filename":"file4"},{"photo_id":"1399541402","filename":"file1"},{"photo_id":"1399541392","filename":"file0"},{"photo_id":"1399541406","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399541408":["hashtag1","hashtag2"]},{"1399541402":["hashtag1","hashtag2"]},{"1399541392":["hashtag1","hashtag2"]},{"1399541410":["hashtag1","hashtag2"]},{"1399541404":["hashtag1","hashtag2"]},{"1399541406":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399541408, 1399541402, 1399541392, 1399541410, 1399541404, 1399541406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.471250772476196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 19:11:42.664841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/51/image_05112025_15_51_08_1622.jpg', '/home/pi/Desktop/images/05112025/15/51/image_05112025_15_51_28_19969.jpg', '/home/pi/Desktop/images/05112025/15/51/image_05112025_15_51_30_1761.jpg', '/home/pi/Desktop/images/05112025/15/51/image_05112025_15_51_31_1502.jpg', '/home/pi/Desktop/images/05112025/15/51/image_05112025_15_51_33_1717.jpg', '/home/pi/Desktop/images/05112025/15/51/image_05112025_15_51_38_5600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/51/image_05112025_15_51_08_1622.jpg
/home/pi/Desktop/images/05112025/15/51/image_05112025_15_51_28_19969.jpg
/home/pi/Desktop/images/05112025/15/51/image_05112025_15_51_30_1761.jpg
/home/pi/Desktop/images/05112025/15/51/image_05112025_15_51_31_1502.jpg
/home/pi/Desktop/images/05112025/15/51/image_05112025_15_51_33_1717.jpg
/home/pi/Desktop/images/05112025/15/51/image_05112025_15_51_38_5600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399541423","1399541419","1399541427","1399541421","1399541415","1399541424"],"photo_ids_order":["1399541415","1399541419","1399541421","1399541423","1399541424","1399541427"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/16ae7a5ee0f8caa2145026b21ef4b58c.jpg","text":"TemporaryFile(/tmp/multipartBody1741017667528685126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822363375,"filename":"image_05112025_15_51_31_1502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7aace60297b7eb37e9cc1759260e6e4b.jpg","text":"TemporaryFile(/tmp/multipartBody5165752331882102088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822363375,"filename":"image_05112025_15_51_28_19969.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/90dd93585ce5e732c10cd7bdcea20d0e.jpg","text":"TemporaryFile(/tmp/multipartBody2460763817421837964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822363375,"filename":"image_05112025_15_51_38_5600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b07fa1cd0046d03e34eb396fee3287c6.jpg","text":"TemporaryFile(/tmp/multipartBody8941502700996400044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822363375,"filename":"image_05112025_15_51_30_1761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b0f14f3644323e30bd01042b507493bb.jpg","text":"TemporaryFile(/tmp/multipartBody672725629116081857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822363375,"filename":"image_05112025_15_51_08_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/15/526f579e9e2cce080eceb5e4fee49a2c.jpg","text":"TemporaryFile(/tmp/multipartBody8216685631411101761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822363375,"filename":"image_05112025_15_51_33_1717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399541421","file1":"1399541419","file0":"1399541415","file4":"1399541424","file5":"1399541427","file3":"1399541423"},"map_files_photo_id_array":[{"photo_id":"1399541427","filename":"file5"},{"photo_id":"1399541421","filename":"file2"},{"photo_id":"1399541424","filename":"file4"},{"photo_id":"1399541419","filename":"file1"},{"photo_id":"1399541415","filename":"file0"},{"photo_id":"1399541423","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399541423":["hashtag1","hashtag2"]},{"1399541419":["hashtag1","hashtag2"]},{"1399541427":["hashtag1","hashtag2"]},{"1399541421":["hashtag1","hashtag2"]},{"1399541415":["hashtag1","hashtag2"]},{"1399541424":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399541423, 1399541419, 1399541427, 1399541421, 1399541415, 1399541424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.30187439918518 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 19:12:21.964428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/35/image_15122025_18_35_54_9635.jpg', '/home/pi/Desktop/images/15122025/18/35/image_15122025_18_36_04_9655.jpg', '/home/pi/Desktop/images/15122025/18/36/image_15122025_18_36_24_9675.jpg', '/home/pi/Desktop/images/15122025/18/36/image_15122025_18_36_34_9725.jpg', '/home/pi/Desktop/images/15122025/18/36/image_15122025_18_36_54_9610.jpg', '/home/pi/Desktop/images/15122025/18/36/image_15122025_18_37_04_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/35/image_15122025_18_35_54_9635.jpg
/home/pi/Desktop/images/15122025/18/35/image_15122025_18_36_04_9655.jpg
/home/pi/Desktop/images/15122025/18/36/image_15122025_18_36_24_9675.jpg
/home/pi/Desktop/images/15122025/18/36/image_15122025_18_36_34_9725.jpg
/home/pi/Desktop/images/15122025/18/36/image_15122025_18_36_54_9610.jpg
/home/pi/Desktop/images/15122025/18/36/image_15122025_18_37_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":["1399541437","1399541434","1399541448","1399541442","1399541444","1399541432"],"photo_ids_order":["1399541432","1399541434","1399541437","1399541442","1399541444","1399541448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fc30939bd4e932aaad7d590fed9adbd4.jpg","text":"TemporaryFile(/tmp/multipartBody2742746619948697068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822402591,"filename":"image_15122025_18_36_24_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6ebe5db9423719873d80298892546052.jpg","text":"TemporaryFile(/tmp/multipartBody2829286083995300367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822402591,"filename":"image_15122025_18_36_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/15/c9a6a839251df954240b1bce823965b4.jpg","text":"TemporaryFile(/tmp/multipartBody1409702383198966539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822402591,"filename":"image_15122025_18_37_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/15/069919b2a65f24225214ab5e5746e0c5.jpg","text":"TemporaryFile(/tmp/multipartBody8382294794936963100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822402591,"filename":"image_15122025_18_36_34_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/02c88d8794ca9647d9309c0465dd24a9.jpg","text":"TemporaryFile(/tmp/multipartBody3924443374247822451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822402591,"filename":"image_15122025_18_36_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/15/b1fc0c3f8e273d99e86041293a184f95.jpg","text":"TemporaryFile(/tmp/multipartBody4384935490067263439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822402591,"filename":"image_15122025_18_35_54_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399541437","file1":"1399541434","file0":"1399541432","file4":"1399541444","file5":"1399541448","file3":"1399541442"},"map_files_photo_id_array":[{"photo_id":"1399541448","filename":"file5"},{"photo_id":"1399541437","filename":"file2"},{"photo_id":"1399541444","filename":"file4"},{"photo_id":"1399541434","filename":"file1"},{"photo_id":"1399541432","filename":"file0"},{"photo_id":"1399541442","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399541437":["hashtag1","hashtag2"]},{"1399541434":["hashtag1","hashtag2"]},{"1399541448":["hashtag1","hashtag2"]},{"1399541442":["hashtag1","hashtag2"]},{"1399541444":["hashtag1","hashtag2"]},{"1399541432":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399541437, 1399541434, 1399541448, 1399541442, 1399541444, 1399541432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.6277220249176 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-15 19:13:12.080241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 19:13:22.100341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/37/image_15122025_18_37_15_10604.jpg', '/home/pi/Desktop/images/15122025/18/37/image_15122025_18_37_24_9600.jpg', '/home/pi/Desktop/images/15122025/18/37/image_15122025_18_37_34_9704.jpg', '/home/pi/Desktop/images/15122025/18/37/image_15122025_18_37_45_10601.jpg', '/home/pi/Desktop/images/15122025/18/37/image_15122025_18_37_55_9949.jpg', '/home/pi/Desktop/images/15122025/18/37/image_15122025_18_38_04_9808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/37/image_15122025_18_37_15_10604.jpg
/home/pi/Desktop/images/15122025/18/37/image_15122025_18_37_24_9600.jpg
/home/pi/Desktop/images/15122025/18/37/image_15122025_18_37_34_9704.jpg
/home/pi/Desktop/images/15122025/18/37/image_15122025_18_37_45_10601.jpg
/home/pi/Desktop/images/15122025/18/37/image_15122025_18_37_55_9949.jpg
/home/pi/Desktop/images/15122025/18/37/image_15122025_18_38_04_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":["1399541467","1399541470","1399541464","1399541463","1399541466","1399541465"],"photo_ids_order":["1399541463","1399541464","1399541465","1399541466","1399541467","1399541470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7fc44c5b54cecd558dce14160c49d888.jpg","text":"TemporaryFile(/tmp/multipartBody8177759303954911769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822462726,"filename":"image_15122025_18_37_55_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/15/642780e185be9b11ab222678b12e033f.jpg","text":"TemporaryFile(/tmp/multipartBody5709358388411673126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822462726,"filename":"image_15122025_18_38_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/15/73903cd95ddd79ac45435e3a07813c10.jpg","text":"TemporaryFile(/tmp/multipartBody4718944347433929005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822462726,"filename":"image_15122025_18_37_24_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/788c55537023bfef5fc4d19dc573960c.jpg","text":"TemporaryFile(/tmp/multipartBody8613265713585979114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822462726,"filename":"image_15122025_18_37_15_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0986215540b5eeb473b7ff067cb98d37.jpg","text":"TemporaryFile(/tmp/multipartBody5787154077012417942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822462726,"filename":"image_15122025_18_37_45_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/64e3a140525197b7b46324932e03baa7.jpg","text":"TemporaryFile(/tmp/multipartBody1763191925351111860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822462726,"filename":"image_15122025_18_37_34_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399541465","file1":"1399541464","file0":"1399541463","file4":"1399541467","file5":"1399541470","file3":"1399541466"},"map_files_photo_id_array":[{"photo_id":"1399541470","filename":"file5"},{"photo_id":"1399541465","filename":"file2"},{"photo_id":"1399541467","filename":"file4"},{"photo_id":"1399541464","filename":"file1"},{"photo_id":"1399541463","filename":"file0"},{"photo_id":"1399541466","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399541467":["hashtag1","hashtag2"]},{"1399541470":["hashtag1","hashtag2"]},{"1399541464":["hashtag1","hashtag2"]},{"1399541463":["hashtag1","hashtag2"]},{"1399541466":["hashtag1","hashtag2"]},{"1399541465":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399541467, 1399541470, 1399541464, 1399541463, 1399541466, 1399541465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.497852087020874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 19:14:03.110043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/38/image_15122025_18_38_14_9680.jpg', '/home/pi/Desktop/images/15122025/18/38/image_15122025_18_38_24_10440.jpg', '/home/pi/Desktop/images/15122025/18/38/image_15122025_18_38_34_9703.jpg', '/home/pi/Desktop/images/15122025/18/38/image_15122025_18_38_44_9742.jpg', '/home/pi/Desktop/images/15122025/18/38/image_15122025_18_38_55_10663.jpg', '/home/pi/Desktop/images/15122025/18/38/image_15122025_18_39_04_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/38/image_15122025_18_38_14_9680.jpg
/home/pi/Desktop/images/15122025/18/38/image_15122025_18_38_24_10440.jpg
/home/pi/Desktop/images/15122025/18/38/image_15122025_18_38_34_9703.jpg
/home/pi/Desktop/images/15122025/18/38/image_15122025_18_38_44_9742.jpg
/home/pi/Desktop/images/15122025/18/38/image_15122025_18_38_55_10663.jpg
/home/pi/Desktop/images/15122025/18/38/image_15122025_18_39_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":["1399541491","1399541497","1399541500","1399541502","1399541505","1399541480"],"photo_ids_order":["1399541480","1399541491","1399541497","1399541500","1399541502","1399541505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d9a7bca551c6388e976439b35f12f878.jpg","text":"TemporaryFile(/tmp/multipartBody58941521342169039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822503763,"filename":"image_15122025_18_38_24_10440.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5bcb43f9acb4d42ad947c713f2431ccf.jpg","text":"TemporaryFile(/tmp/multipartBody6467345807056077758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822503763,"filename":"image_15122025_18_38_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/15/a728990ad4767caea00c4c0c6e1b26e1.jpg","text":"TemporaryFile(/tmp/multipartBody3206351573896584323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822503763,"filename":"image_15122025_18_38_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/15/9be917ffde5a423cfdb75adf7022a3d0.jpg","text":"TemporaryFile(/tmp/multipartBody6242858318037948661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822503763,"filename":"image_15122025_18_38_55_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f38062b411b9055fc5a27e8aa6a6eb15.jpg","text":"TemporaryFile(/tmp/multipartBody9168231209772540026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822503763,"filename":"image_15122025_18_39_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/15/874853ca7e2c69bbc3f8a8bda153df13.jpg","text":"TemporaryFile(/tmp/multipartBody979980761786640305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822503763,"filename":"image_15122025_18_38_14_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399541497","file1":"1399541491","file0":"1399541480","file4":"1399541502","file5":"1399541505","file3":"1399541500"},"map_files_photo_id_array":[{"photo_id":"1399541505","filename":"file5"},{"photo_id":"1399541497","filename":"file2"},{"photo_id":"1399541502","filename":"file4"},{"photo_id":"1399541491","filename":"file1"},{"photo_id":"1399541480","filename":"file0"},{"photo_id":"1399541500","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399541491":["hashtag1","hashtag2"]},{"1399541497":["hashtag1","hashtag2"]},{"1399541500":["hashtag1","hashtag2"]},{"1399541502":["hashtag1","hashtag2"]},{"1399541505":["hashtag1","hashtag2"]},{"1399541480":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399541491, 1399541497, 1399541500, 1399541502, 1399541505, 1399541480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2148916721344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 19:14:42.384278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/51/image_05112025_15_51_53_14616.jpg', '/home/pi/Desktop/images/05112025/15/51/image_05112025_15_51_55_1697.jpg', '/home/pi/Desktop/images/05112025/15/51/image_05112025_15_51_59_4069.jpg', '/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_01_1665.jpg', '/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_02_1721.jpg', '/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_04_1832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/51/image_05112025_15_51_53_14616.jpg
/home/pi/Desktop/images/05112025/15/51/image_05112025_15_51_55_1697.jpg
/home/pi/Desktop/images/05112025/15/51/image_05112025_15_51_59_4069.jpg
/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_01_1665.jpg
/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_02_1721.jpg
/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_04_1832.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399541513","1399541521","1399541518","1399541515","1399541517","1399541519"],"photo_ids_order":["1399541513","1399541515","1399541517","1399541518","1399541519","1399541521"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/33424bf415d03024f37d89645ff00fc3.jpg","text":"TemporaryFile(/tmp/multipartBody1661907709481847873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822543093,"filename":"image_05112025_15_51_53_14616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3ac7a2e056ac1a2e9b16608a94b27e1c.jpg","text":"TemporaryFile(/tmp/multipartBody8548980924393084575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822543093,"filename":"image_05112025_15_52_04_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/15/7feff73a8583a08a450271f7f8884560.jpg","text":"TemporaryFile(/tmp/multipartBody2719779466405185917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822543093,"filename":"image_05112025_15_52_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/15/ba93dfb46ffebca3683b9cb767e407bd.jpg","text":"TemporaryFile(/tmp/multipartBody1894498770302483343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822543093,"filename":"image_05112025_15_51_55_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/15/65bde04351e9509b63617138820cf359.jpg","text":"TemporaryFile(/tmp/multipartBody5914565123904918249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822543093,"filename":"image_05112025_15_51_59_4069.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8c0e9539784ce6e18d9f61ec4f0d25ff.jpg","text":"TemporaryFile(/tmp/multipartBody3271440973212279433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822543093,"filename":"image_05112025_15_52_02_1721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399541517","file1":"1399541515","file0":"1399541513","file4":"1399541519","file5":"1399541521","file3":"1399541518"},"map_files_photo_id_array":[{"photo_id":"1399541521","filename":"file5"},{"photo_id":"1399541517","filename":"file2"},{"photo_id":"1399541519","filename":"file4"},{"photo_id":"1399541515","filename":"file1"},{"photo_id":"1399541513","filename":"file0"},{"photo_id":"1399541518","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399541513":["hashtag1","hashtag2"]},{"1399541521":["hashtag1","hashtag2"]},{"1399541518":["hashtag1","hashtag2"]},{"1399541515":["hashtag1","hashtag2"]},{"1399541517":["hashtag1","hashtag2"]},{"1399541519":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399541513, 1399541521, 1399541518, 1399541515, 1399541517, 1399541519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78935885429382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 19:15:22.631044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/39/image_15122025_18_39_14_9657.jpg', '/home/pi/Desktop/images/15122025/18/39/image_15122025_18_39_34_9641.jpg', '/home/pi/Desktop/images/15122025/18/39/image_15122025_18_39_44_9737.jpg', '/home/pi/Desktop/images/15122025/18/39/image_15122025_18_39_55_10662.jpg', '/home/pi/Desktop/images/15122025/18/39/image_15122025_18_40_04_9703.jpg', '/home/pi/Desktop/images/15122025/18/40/image_15122025_18_40_14_9556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/39/image_15122025_18_39_14_9657.jpg
/home/pi/Desktop/images/15122025/18/39/image_15122025_18_39_34_9641.jpg
/home/pi/Desktop/images/15122025/18/39/image_15122025_18_39_44_9737.jpg
/home/pi/Desktop/images/15122025/18/39/image_15122025_18_39_55_10662.jpg
/home/pi/Desktop/images/15122025/18/39/image_15122025_18_40_04_9703.jpg
/home/pi/Desktop/images/15122025/18/40/image_15122025_18_40_14_9556.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399541540","1399541534","1399541528","1399541536","1399541537","1399541531"],"photo_ids_order":["1399541528","1399541531","1399541534","1399541536","1399541537","1399541540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d90da8ea869e6a9b9ddf51c41255145f.jpg","text":"TemporaryFile(/tmp/multipartBody2163578933353464987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822583244,"filename":"image_15122025_18_40_14_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cbc5330d724367faa16fde3c291cd380.jpg","text":"TemporaryFile(/tmp/multipartBody725219131836793750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822583244,"filename":"image_15122025_18_39_44_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c3f0a891cc34bd6fcaa6c5f0d0f95204.jpg","text":"TemporaryFile(/tmp/multipartBody1753651361617607555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822583244,"filename":"image_15122025_18_39_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/15/1f474a645b4df3fbc16691bb8c631f61.jpg","text":"TemporaryFile(/tmp/multipartBody365532304063090297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822583244,"filename":"image_15122025_18_39_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/15/093c692013688f8c57c70f73eb665bfb.jpg","text":"TemporaryFile(/tmp/multipartBody2418935750055654124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822583244,"filename":"image_15122025_18_40_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/15/deecca022fa9dd8913c0424ebacce16e.jpg","text":"TemporaryFile(/tmp/multipartBody5967456159267720216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822583244,"filename":"image_15122025_18_39_34_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399541534","file1":"1399541531","file0":"1399541528","file4":"1399541537","file5":"1399541540","file3":"1399541536"},"map_files_photo_id_array":[{"photo_id":"1399541540","filename":"file5"},{"photo_id":"1399541534","filename":"file2"},{"photo_id":"1399541537","filename":"file4"},{"photo_id":"1399541531","filename":"file1"},{"photo_id":"1399541528","filename":"file0"},{"photo_id":"1399541536","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399541540":["hashtag1","hashtag2"]},{"1399541534":["hashtag1","hashtag2"]},{"1399541528":["hashtag1","hashtag2"]},{"1399541536":["hashtag1","hashtag2"]},{"1399541537":["hashtag1","hashtag2"]},{"1399541531":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399541540, 1399541534, 1399541528, 1399541536, 1399541537, 1399541531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01534056663513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 19:16:02.493062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/40/image_15122025_18_40_25_10741.jpg', '/home/pi/Desktop/images/15122025/18/40/image_15122025_18_40_35_9774.jpg', '/home/pi/Desktop/images/15122025/18/40/image_15122025_18_40_44_9768.jpg', '/home/pi/Desktop/images/15122025/18/40/image_15122025_18_40_54_9737.jpg', '/home/pi/Desktop/images/15122025/18/40/image_15122025_18_41_05_10591.jpg', '/home/pi/Desktop/images/15122025/18/41/image_15122025_18_41_14_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/40/image_15122025_18_40_25_10741.jpg
/home/pi/Desktop/images/15122025/18/40/image_15122025_18_40_35_9774.jpg
/home/pi/Desktop/images/15122025/18/40/image_15122025_18_40_44_9768.jpg
/home/pi/Desktop/images/15122025/18/40/image_15122025_18_40_54_9737.jpg
/home/pi/Desktop/images/15122025/18/40/image_15122025_18_41_05_10591.jpg
/home/pi/Desktop/images/15122025/18/41/image_15122025_18_41_14_9720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399541542","1399541545","1399541550","1399541553","1399541547","1399541543"],"photo_ids_order":["1399541542","1399541543","1399541545","1399541547","1399541550","1399541553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b51250556a08a095c3f8c68605ff8429.jpg","text":"TemporaryFile(/tmp/multipartBody1474368246061528979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822625853,"filename":"image_15122025_18_40_25_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/75e6381ef74cd3555b17d96b1121c041.jpg","text":"TemporaryFile(/tmp/multipartBody7203693893110852395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822625853,"filename":"image_15122025_18_40_44_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d003a8c1968aefe9b92c6ef11b12dacb.jpg","text":"TemporaryFile(/tmp/multipartBody4693122262001057318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822625853,"filename":"image_15122025_18_41_05_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/deaf33701496473c17b08e34d8573660.jpg","text":"TemporaryFile(/tmp/multipartBody1223796655724394077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822625853,"filename":"image_15122025_18_41_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/15/daa495e0073278654af35e013d5aa7cd.jpg","text":"TemporaryFile(/tmp/multipartBody4829445748220788697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822625853,"filename":"image_15122025_18_40_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/15/7ef526db921629a70079565c84f314a9.jpg","text":"TemporaryFile(/tmp/multipartBody6196256284334702534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822625853,"filename":"image_15122025_18_40_35_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399541545","file1":"1399541543","file0":"1399541542","file4":"1399541550","file5":"1399541553","file3":"1399541547"},"map_files_photo_id_array":[{"photo_id":"1399541553","filename":"file5"},{"photo_id":"1399541545","filename":"file2"},{"photo_id":"1399541550","filename":"file4"},{"photo_id":"1399541543","filename":"file1"},{"photo_id":"1399541542","filename":"file0"},{"photo_id":"1399541547","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399541542":["hashtag1","hashtag2"]},{"1399541545":["hashtag1","hashtag2"]},{"1399541550":["hashtag1","hashtag2"]},{"1399541553":["hashtag1","hashtag2"]},{"1399541547":["hashtag1","hashtag2"]},{"1399541543":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399541542, 1399541545, 1399541550, 1399541553, 1399541547, 1399541543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19570279121399 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 19:16:41.972413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_06_1565.jpg', '/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_07_1635.jpg', '/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_12_4542.jpg', '/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_29_17055.jpg', '/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_30_1597.jpg', '/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_32_1627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_06_1565.jpg
/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_07_1635.jpg
/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_12_4542.jpg
/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_29_17055.jpg
/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_30_1597.jpg
/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_32_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":["1399541572","1399541566","1399541569","1399541563","1399541577","1399541571"],"photo_ids_order":["1399541563","1399541566","1399541569","1399541571","1399541572","1399541577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/30ea36c88db84847a7d2fbcc30ce233c.jpg","text":"TemporaryFile(/tmp/multipartBody4908290153083501536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822662679,"filename":"image_05112025_15_52_30_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/15/64976e86404aa5a24850a0a72ccb0970.jpg","text":"TemporaryFile(/tmp/multipartBody2265441508423190311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822662679,"filename":"image_05112025_15_52_07_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/15/4842be87f4a84e55e16e28cc5994e04d.jpg","text":"TemporaryFile(/tmp/multipartBody3226168910087837978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822662679,"filename":"image_05112025_15_52_12_4542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/527c2d5d8ba35e73e10736e1c684149c.jpg","text":"TemporaryFile(/tmp/multipartBody8518432302962513583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822662679,"filename":"image_05112025_15_52_06_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/15/d72dcffad3c3bc1e7500d4452d75237c.jpg","text":"TemporaryFile(/tmp/multipartBody924091866212043100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822662679,"filename":"image_05112025_15_52_32_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/15/038fd0a7e33f20e629a6aa6ef03b2a3d.jpg","text":"TemporaryFile(/tmp/multipartBody5491888368738390297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822662679,"filename":"image_05112025_15_52_29_17055.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399541569","file1":"1399541566","file0":"1399541563","file4":"1399541572","file5":"1399541577","file3":"1399541571"},"map_files_photo_id_array":[{"photo_id":"1399541577","filename":"file5"},{"photo_id":"1399541569","filename":"file2"},{"photo_id":"1399541572","filename":"file4"},{"photo_id":"1399541566","filename":"file1"},{"photo_id":"1399541563","filename":"file0"},{"photo_id":"1399541571","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399541572":["hashtag1","hashtag2"]},{"1399541566":["hashtag1","hashtag2"]},{"1399541569":["hashtag1","hashtag2"]},{"1399541563":["hashtag1","hashtag2"]},{"1399541577":["hashtag1","hashtag2"]},{"1399541571":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399541572, 1399541566, 1399541569, 1399541563, 1399541577, 1399541571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.00336241722107 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 19:17:22.203193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/41/image_15122025_18_41_25_10270.jpg', '/home/pi/Desktop/images/15122025/18/41/image_15122025_18_41_34_9654.jpg', '/home/pi/Desktop/images/15122025/18/41/image_15122025_18_41_44_9638.jpg', '/home/pi/Desktop/images/15122025/18/41/image_15122025_18_41_54_10570.jpg', '/home/pi/Desktop/images/15122025/18/41/image_15122025_18_42_04_9755.jpg', '/home/pi/Desktop/images/15122025/18/42/image_15122025_18_42_14_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/41/image_15122025_18_41_25_10270.jpg
/home/pi/Desktop/images/15122025/18/41/image_15122025_18_41_34_9654.jpg
/home/pi/Desktop/images/15122025/18/41/image_15122025_18_41_44_9638.jpg
/home/pi/Desktop/images/15122025/18/41/image_15122025_18_41_54_10570.jpg
/home/pi/Desktop/images/15122025/18/41/image_15122025_18_42_04_9755.jpg
/home/pi/Desktop/images/15122025/18/42/image_15122025_18_42_14_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":["1399541590","1399541584","1399541581","1399541589","1399541586","1399541594"],"photo_ids_order":["1399541581","1399541584","1399541586","1399541589","1399541590","1399541594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bf685bc710e610e1b1327b85a71cab1a.jpg","text":"TemporaryFile(/tmp/multipartBody5534398708020419941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822702825,"filename":"image_15122025_18_42_04_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ada8dfa00ffb2ab50a51379c8ff4d253.jpg","text":"TemporaryFile(/tmp/multipartBody4639360266161527860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822702825,"filename":"image_15122025_18_41_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/15/35aab26876f92ab63620858a5ab202c4.jpg","text":"TemporaryFile(/tmp/multipartBody2135435910389825361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822702825,"filename":"image_15122025_18_41_25_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/15/289baa4046e81f30f0b5d2cff8a5d494.jpg","text":"TemporaryFile(/tmp/multipartBody8867912750705615567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822702825,"filename":"image_15122025_18_41_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/15/170bd75446d2c6e2143aa08a60bb6286.jpg","text":"TemporaryFile(/tmp/multipartBody3328167789561164894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822702825,"filename":"image_15122025_18_41_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/15/e6bc0a9ca5a4fb098f18f8124bb32cf1.jpg","text":"TemporaryFile(/tmp/multipartBody3688575329078810240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822702825,"filename":"image_15122025_18_42_14_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399541586","file1":"1399541584","file0":"1399541581","file4":"1399541590","file5":"1399541594","file3":"1399541589"},"map_files_photo_id_array":[{"photo_id":"1399541594","filename":"file5"},{"photo_id":"1399541586","filename":"file2"},{"photo_id":"1399541590","filename":"file4"},{"photo_id":"1399541584","filename":"file1"},{"photo_id":"1399541581","filename":"file0"},{"photo_id":"1399541589","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399541590":["hashtag1","hashtag2"]},{"1399541584":["hashtag1","hashtag2"]},{"1399541581":["hashtag1","hashtag2"]},{"1399541589":["hashtag1","hashtag2"]},{"1399541586":["hashtag1","hashtag2"]},{"1399541594":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399541590, 1399541584, 1399541581, 1399541589, 1399541586, 1399541594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19014835357666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 19:18:02.617945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/42/image_15122025_18_42_25_10761.jpg', '/home/pi/Desktop/images/15122025/18/42/image_15122025_18_42_34_9584.jpg', '/home/pi/Desktop/images/15122025/18/42/image_15122025_18_42_44_9751.jpg', '/home/pi/Desktop/images/15122025/18/42/image_15122025_18_42_55_10623.jpg', '/home/pi/Desktop/images/15122025/18/42/image_15122025_18_43_04_9736.jpg', '/home/pi/Desktop/images/15122025/18/43/image_15122025_18_43_14_10068.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/42/image_15122025_18_42_25_10761.jpg
/home/pi/Desktop/images/15122025/18/42/image_15122025_18_42_34_9584.jpg
/home/pi/Desktop/images/15122025/18/42/image_15122025_18_42_44_9751.jpg
/home/pi/Desktop/images/15122025/18/42/image_15122025_18_42_55_10623.jpg
/home/pi/Desktop/images/15122025/18/42/image_15122025_18_43_04_9736.jpg
/home/pi/Desktop/images/15122025/18/43/image_15122025_18_43_14_10068.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5265872478485107 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 19:18:12.032495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 19:18:22.105085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/42/image_15122025_18_42_25_10761.jpg', '/home/pi/Desktop/images/15122025/18/42/image_15122025_18_42_34_9584.jpg', '/home/pi/Desktop/images/15122025/18/42/image_15122025_18_42_44_9751.jpg', '/home/pi/Desktop/images/15122025/18/42/image_15122025_18_42_55_10623.jpg', '/home/pi/Desktop/images/15122025/18/42/image_15122025_18_43_04_9736.jpg', '/home/pi/Desktop/images/15122025/18/43/image_15122025_18_43_14_10068.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/42/image_15122025_18_42_25_10761.jpg
/home/pi/Desktop/images/15122025/18/42/image_15122025_18_42_34_9584.jpg
/home/pi/Desktop/images/15122025/18/42/image_15122025_18_42_44_9751.jpg
/home/pi/Desktop/images/15122025/18/42/image_15122025_18_42_55_10623.jpg
/home/pi/Desktop/images/15122025/18/42/image_15122025_18_43_04_9736.jpg
/home/pi/Desktop/images/15122025/18/43/image_15122025_18_43_14_10068.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399541620","1399541623","1399541614","1399541616","1399541610","1399541618"],"photo_ids_order":["1399541610","1399541614","1399541616","1399541618","1399541620","1399541623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1c5754cfeeec3e6acfc0f05c390bf332.jpg","text":"TemporaryFile(/tmp/multipartBody6287114651046642096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822762720,"filename":"image_15122025_18_43_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/15/7fa8733d16679f4991cdce129305e4c8.jpg","text":"TemporaryFile(/tmp/multipartBody5966410814317847610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822762720,"filename":"image_15122025_18_43_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/15/8d22722713ded2ca80e396ffb1e32c62.jpg","text":"TemporaryFile(/tmp/multipartBody6206301209180962522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822762720,"filename":"image_15122025_18_42_34_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e2c1a5ba814fd94e43d9693c63477db5.jpg","text":"TemporaryFile(/tmp/multipartBody4287155647058592583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822762720,"filename":"image_15122025_18_42_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/15/51e75a215fa69ff6af672f7d0baab2c9.jpg","text":"TemporaryFile(/tmp/multipartBody7724765606964945808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822762720,"filename":"image_15122025_18_42_25_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/82b882ea168f941b734b212dac19cd39.jpg","text":"TemporaryFile(/tmp/multipartBody5020939414090230339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822762720,"filename":"image_15122025_18_42_55_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399541616","file1":"1399541614","file0":"1399541610","file4":"1399541620","file5":"1399541623","file3":"1399541618"},"map_files_photo_id_array":[{"photo_id":"1399541623","filename":"file5"},{"photo_id":"1399541616","filename":"file2"},{"photo_id":"1399541620","filename":"file4"},{"photo_id":"1399541614","filename":"file1"},{"photo_id":"1399541610","filename":"file0"},{"photo_id":"1399541618","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399541620":["hashtag1","hashtag2"]},{"1399541623":["hashtag1","hashtag2"]},{"1399541614":["hashtag1","hashtag2"]},{"1399541616":["hashtag1","hashtag2"]},{"1399541610":["hashtag1","hashtag2"]},{"1399541618":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399541620, 1399541623, 1399541614, 1399541616, 1399541610, 1399541618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.362799644470215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 19:19:03.390677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/43/image_15122025_18_43_24_9830.jpg', '/home/pi/Desktop/images/15122025/18/43/image_15122025_18_43_34_9616.jpg', '/home/pi/Desktop/images/15122025/18/43/image_15122025_18_43_45_10749.jpg', '/home/pi/Desktop/images/15122025/18/43/image_15122025_18_43_54_9648.jpg', '/home/pi/Desktop/images/15122025/18/43/image_15122025_18_44_04_9785.jpg', '/home/pi/Desktop/images/15122025/18/44/image_15122025_18_44_15_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/43/image_15122025_18_43_24_9830.jpg
/home/pi/Desktop/images/15122025/18/43/image_15122025_18_43_34_9616.jpg
/home/pi/Desktop/images/15122025/18/43/image_15122025_18_43_45_10749.jpg
/home/pi/Desktop/images/15122025/18/43/image_15122025_18_43_54_9648.jpg
/home/pi/Desktop/images/15122025/18/43/image_15122025_18_44_04_9785.jpg
/home/pi/Desktop/images/15122025/18/44/image_15122025_18_44_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":["1399541627","1399541629","1399541631","1399541625","1399541634","1399541636"],"photo_ids_order":["1399541625","1399541627","1399541629","1399541631","1399541634","1399541636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3858223ba3394f235638016b5bd3f434.jpg","text":"TemporaryFile(/tmp/multipartBody655018107871385386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822804170,"filename":"image_15122025_18_43_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/15/e95b414d10705d263f72f2d549ad1a8b.jpg","text":"TemporaryFile(/tmp/multipartBody8160363235990727744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822804170,"filename":"image_15122025_18_43_45_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f889ef537b2cc640fafb579fd8447abe.jpg","text":"TemporaryFile(/tmp/multipartBody4026722980131728841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822804170,"filename":"image_15122025_18_43_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/15/141b0432981815402fa64a08e89ec087.jpg","text":"TemporaryFile(/tmp/multipartBody3031619429664014254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822804170,"filename":"image_15122025_18_43_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/15/57fb738cd17ebdf243d999eda7b671a8.jpg","text":"TemporaryFile(/tmp/multipartBody2829266015741966103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822804170,"filename":"image_15122025_18_44_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/15/efd02cef71d7425f471b4edccac27041.jpg","text":"TemporaryFile(/tmp/multipartBody8627086800667132328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822804170,"filename":"image_15122025_18_44_15_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399541629","file1":"1399541627","file0":"1399541625","file4":"1399541634","file5":"1399541636","file3":"1399541631"},"map_files_photo_id_array":[{"photo_id":"1399541636","filename":"file5"},{"photo_id":"1399541629","filename":"file2"},{"photo_id":"1399541634","filename":"file4"},{"photo_id":"1399541627","filename":"file1"},{"photo_id":"1399541625","filename":"file0"},{"photo_id":"1399541631","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399541627":["hashtag1","hashtag2"]},{"1399541629":["hashtag1","hashtag2"]},{"1399541631":["hashtag1","hashtag2"]},{"1399541625":["hashtag1","hashtag2"]},{"1399541634":["hashtag1","hashtag2"]},{"1399541636":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399541627, 1399541629, 1399541631, 1399541625, 1399541634, 1399541636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13902831077576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 19:19:42.296095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_34_1776.jpg', '/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_36_1949.jpg', '/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_37_1601.jpg', '/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_39_1644.jpg', '/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_41_1604.jpg', '/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_42_1789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_34_1776.jpg
/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_36_1949.jpg
/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_37_1601.jpg
/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_39_1644.jpg
/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_41_1604.jpg
/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_42_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":["1399541647","1399541644","1399541643","1399541646","1399541640","1399541645"],"photo_ids_order":["1399541640","1399541643","1399541644","1399541645","1399541646","1399541647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9471345b85a67d68a3f7d95f5f7ee336.jpg","text":"TemporaryFile(/tmp/multipartBody7350834427025770814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822843002,"filename":"image_05112025_15_52_42_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/15/ae9c8ec0654e50d145619efbd031b8d2.jpg","text":"TemporaryFile(/tmp/multipartBody942350411502605353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822843002,"filename":"image_05112025_15_52_37_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/15/7de2a2b6004a50bd3e2fef4dcc9332ef.jpg","text":"TemporaryFile(/tmp/multipartBody7973749101061050200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822843002,"filename":"image_05112025_15_52_36_1949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bb475e6ec32b69f025a1d57b5550412f.jpg","text":"TemporaryFile(/tmp/multipartBody8018016767550165039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822843002,"filename":"image_05112025_15_52_41_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/15/cf990fefd4ab54b4ab97b0d3a4ae4dbf.jpg","text":"TemporaryFile(/tmp/multipartBody1185677999941435886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822843002,"filename":"image_05112025_15_52_34_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/15/0ee4852f56cb9eda4946c6621bcfeb98.jpg","text":"TemporaryFile(/tmp/multipartBody3792444248897979485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822843002,"filename":"image_05112025_15_52_39_1644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399541644","file1":"1399541643","file0":"1399541640","file4":"1399541646","file5":"1399541647","file3":"1399541645"},"map_files_photo_id_array":[{"photo_id":"1399541647","filename":"file5"},{"photo_id":"1399541644","filename":"file2"},{"photo_id":"1399541646","filename":"file4"},{"photo_id":"1399541643","filename":"file1"},{"photo_id":"1399541640","filename":"file0"},{"photo_id":"1399541645","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399541647":["hashtag1","hashtag2"]},{"1399541644":["hashtag1","hashtag2"]},{"1399541643":["hashtag1","hashtag2"]},{"1399541646":["hashtag1","hashtag2"]},{"1399541640":["hashtag1","hashtag2"]},{"1399541645":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399541647, 1399541644, 1399541643, 1399541646, 1399541640, 1399541645)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.33360505104065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 19:20:32.533636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 19:20:42.540834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_44_1756.jpg', '/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_46_1590.jpg', '/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_48_1856.jpg', '/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_49_1638.jpg', '/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_51_1613.jpg', '/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_53_1743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_44_1756.jpg
/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_46_1590.jpg
/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_48_1856.jpg
/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_49_1638.jpg
/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_51_1613.jpg
/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_53_1743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399541674","1399541676","1399541673","1399541667","1399541672","1399541675"],"photo_ids_order":["1399541667","1399541672","1399541673","1399541674","1399541675","1399541676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/aa5aab37ef038171ad64b4e21daf37ff.jpg","text":"TemporaryFile(/tmp/multipartBody7671352774207889465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822903248,"filename":"image_05112025_15_52_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/15/392d2b93d899cce04b39eb3cb828db1c.jpg","text":"TemporaryFile(/tmp/multipartBody2143601879938178877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822903248,"filename":"image_05112025_15_52_53_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/15/411b03d9cef2d405adcdd29a675d83d2.jpg","text":"TemporaryFile(/tmp/multipartBody9105690491622270665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822903248,"filename":"image_05112025_15_52_48_1856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c51f503f764e3f1a70a588aebd2b4fcc.jpg","text":"TemporaryFile(/tmp/multipartBody2805526359897113544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822903248,"filename":"image_05112025_15_52_44_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/15/f0b8cd85061bf7416cd75b075e79f186.jpg","text":"TemporaryFile(/tmp/multipartBody3535937314276429489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822903248,"filename":"image_05112025_15_52_46_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5d081ad2ba022ae2875661591a0b3687.jpg","text":"TemporaryFile(/tmp/multipartBody1226517529373210930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822903248,"filename":"image_05112025_15_52_51_1613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399541673","file1":"1399541672","file0":"1399541667","file4":"1399541675","file5":"1399541676","file3":"1399541674"},"map_files_photo_id_array":[{"photo_id":"1399541676","filename":"file5"},{"photo_id":"1399541673","filename":"file2"},{"photo_id":"1399541675","filename":"file4"},{"photo_id":"1399541672","filename":"file1"},{"photo_id":"1399541667","filename":"file0"},{"photo_id":"1399541674","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399541674":["hashtag1","hashtag2"]},{"1399541676":["hashtag1","hashtag2"]},{"1399541673":["hashtag1","hashtag2"]},{"1399541667":["hashtag1","hashtag2"]},{"1399541672":["hashtag1","hashtag2"]},{"1399541675":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399541674, 1399541676, 1399541673, 1399541667, 1399541672, 1399541675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.944589614868164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 19:21:22.906706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/44/image_15122025_18_44_24_9714.jpg', '/home/pi/Desktop/images/15122025/18/44/image_15122025_18_44_34_9770.jpg', '/home/pi/Desktop/images/15122025/18/44/image_15122025_18_44_44_9664.jpg', '/home/pi/Desktop/images/15122025/18/44/image_15122025_18_44_54_10632.jpg', '/home/pi/Desktop/images/15122025/18/44/image_15122025_18_45_04_9571.jpg', '/home/pi/Desktop/images/15122025/18/45/image_15122025_18_45_15_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/44/image_15122025_18_44_24_9714.jpg
/home/pi/Desktop/images/15122025/18/44/image_15122025_18_44_34_9770.jpg
/home/pi/Desktop/images/15122025/18/44/image_15122025_18_44_44_9664.jpg
/home/pi/Desktop/images/15122025/18/44/image_15122025_18_44_54_10632.jpg
/home/pi/Desktop/images/15122025/18/44/image_15122025_18_45_04_9571.jpg
/home/pi/Desktop/images/15122025/18/45/image_15122025_18_45_15_10655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399541686","1399541689","1399541688","1399541682","1399541690","1399541684"],"photo_ids_order":["1399541682","1399541684","1399541686","1399541688","1399541689","1399541690"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0a926730a896f83acbcc47e12101d668.jpg","text":"TemporaryFile(/tmp/multipartBody400383158566786688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822943520,"filename":"image_15122025_18_44_44_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9279a5b29d97ba532447ed936a947b61.jpg","text":"TemporaryFile(/tmp/multipartBody6051186482341813540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822943520,"filename":"image_15122025_18_45_04_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/15/420735e460b446a7300fac3760717d1f.jpg","text":"TemporaryFile(/tmp/multipartBody1386882963122751278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822943520,"filename":"image_15122025_18_44_54_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/234746d81ed3942afbf2b5712c677266.jpg","text":"TemporaryFile(/tmp/multipartBody6121463592516094241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822943520,"filename":"image_15122025_18_44_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/15/c0a189274f837528976788988ba8bb86.jpg","text":"TemporaryFile(/tmp/multipartBody2329390266134548216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822943520,"filename":"image_15122025_18_45_15_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e14f85f4213a7427382190de919f17c6.jpg","text":"TemporaryFile(/tmp/multipartBody964658038377277928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822943520,"filename":"image_15122025_18_44_34_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399541686","file1":"1399541684","file0":"1399541682","file4":"1399541689","file5":"1399541690","file3":"1399541688"},"map_files_photo_id_array":[{"photo_id":"1399541690","filename":"file5"},{"photo_id":"1399541686","filename":"file2"},{"photo_id":"1399541689","filename":"file4"},{"photo_id":"1399541684","filename":"file1"},{"photo_id":"1399541682","filename":"file0"},{"photo_id":"1399541688","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399541686":["hashtag1","hashtag2"]},{"1399541689":["hashtag1","hashtag2"]},{"1399541688":["hashtag1","hashtag2"]},{"1399541682":["hashtag1","hashtag2"]},{"1399541690":["hashtag1","hashtag2"]},{"1399541684":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399541686, 1399541689, 1399541688, 1399541682, 1399541690, 1399541684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.695085287094116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 19:22:02.408998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/45/image_15122025_18_45_24_9687.jpg', '/home/pi/Desktop/images/15122025/18/45/image_15122025_18_45_34_9579.jpg', '/home/pi/Desktop/images/15122025/18/45/image_15122025_18_45_44_10137.jpg', '/home/pi/Desktop/images/15122025/18/45/image_15122025_18_45_54_9856.jpg', '/home/pi/Desktop/images/15122025/18/46/image_15122025_18_46_14_9626.jpg', '/home/pi/Desktop/images/15122025/18/46/image_15122025_18_46_24_9578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/45/image_15122025_18_45_24_9687.jpg
/home/pi/Desktop/images/15122025/18/45/image_15122025_18_45_34_9579.jpg
/home/pi/Desktop/images/15122025/18/45/image_15122025_18_45_44_10137.jpg
/home/pi/Desktop/images/15122025/18/45/image_15122025_18_45_54_9856.jpg
/home/pi/Desktop/images/15122025/18/46/image_15122025_18_46_14_9626.jpg
/home/pi/Desktop/images/15122025/18/46/image_15122025_18_46_24_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":["1399541705","1399541702","1399541697","1399541700","1399541699","1399541703"],"photo_ids_order":["1399541697","1399541699","1399541700","1399541702","1399541703","1399541705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b40c5f52193a0549d43c0367c5b8c1f6.jpg","text":"TemporaryFile(/tmp/multipartBody752299896169669467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822983038,"filename":"image_15122025_18_46_24_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/357f6c0700a8cfad353c9479c653ff11.jpg","text":"TemporaryFile(/tmp/multipartBody8602235512133071017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822983038,"filename":"image_15122025_18_45_54_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9880d5b7d97fa040dbb4669e76fbd10b.jpg","text":"TemporaryFile(/tmp/multipartBody6227147212002019987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822983038,"filename":"image_15122025_18_45_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/15/f58e23250ffa78a966cc1442d9fc55a0.jpg","text":"TemporaryFile(/tmp/multipartBody8775493348424535992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822983038,"filename":"image_15122025_18_45_44_10137.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/496ec1046b054b7e8cb063869fe73396.jpg","text":"TemporaryFile(/tmp/multipartBody2180423013547876308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822983038,"filename":"image_15122025_18_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/15/a54ec54aae9a09ed4414d0deec305649.jpg","text":"TemporaryFile(/tmp/multipartBody8127410844551957161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765822983038,"filename":"image_15122025_18_46_14_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399541700","file1":"1399541699","file0":"1399541697","file4":"1399541703","file5":"1399541705","file3":"1399541702"},"map_files_photo_id_array":[{"photo_id":"1399541705","filename":"file5"},{"photo_id":"1399541700","filename":"file2"},{"photo_id":"1399541703","filename":"file4"},{"photo_id":"1399541699","filename":"file1"},{"photo_id":"1399541697","filename":"file0"},{"photo_id":"1399541702","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399541705":["hashtag1","hashtag2"]},{"1399541702":["hashtag1","hashtag2"]},{"1399541697":["hashtag1","hashtag2"]},{"1399541700":["hashtag1","hashtag2"]},{"1399541699":["hashtag1","hashtag2"]},{"1399541703":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399541705, 1399541702, 1399541697, 1399541700, 1399541699, 1399541703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53203105926514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 19:22:41.953973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_54_1706.jpg', '/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_56_1685.jpg', '/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_58_1562.jpg', '/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_59_1766.jpg', '/home/pi/Desktop/images/05112025/15/53/image_05112025_15_53_01_1551.jpg', '/home/pi/Desktop/images/05112025/15/53/image_05112025_15_53_03_1628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_54_1706.jpg
/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_56_1685.jpg
/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_58_1562.jpg
/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_59_1766.jpg
/home/pi/Desktop/images/05112025/15/53/image_05112025_15_53_01_1551.jpg
/home/pi/Desktop/images/05112025/15/53/image_05112025_15_53_03_1628.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6038265228271484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 19:23:02.913028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/46/image_15122025_18_46_44_9371.jpg', '/home/pi/Desktop/images/15122025/18/46/image_15122025_18_46_54_10024.jpg', '/home/pi/Desktop/images/15122025/18/46/image_15122025_18_47_04_10555.jpg', '/home/pi/Desktop/images/15122025/18/47/image_15122025_18_47_14_9756.jpg', '/home/pi/Desktop/images/15122025/18/47/image_15122025_18_47_24_9638.jpg', '/home/pi/Desktop/images/15122025/18/47/image_15122025_18_47_35_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/46/image_15122025_18_46_44_9371.jpg
/home/pi/Desktop/images/15122025/18/46/image_15122025_18_46_54_10024.jpg
/home/pi/Desktop/images/15122025/18/46/image_15122025_18_47_04_10555.jpg
/home/pi/Desktop/images/15122025/18/47/image_15122025_18_47_14_9756.jpg
/home/pi/Desktop/images/15122025/18/47/image_15122025_18_47_24_9638.jpg
/home/pi/Desktop/images/15122025/18/47/image_15122025_18_47_35_10654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399541729","1399541731","1399541728","1399541730","1399541733","1399541727"],"photo_ids_order":["1399541727","1399541728","1399541729","1399541730","1399541731","1399541733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bd5871ad4d21b35f2d54fae21edf0437.jpg","text":"TemporaryFile(/tmp/multipartBody7194078199823323666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823043545,"filename":"image_15122025_18_47_04_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/15/7845b55104f4b62ebd052fe98706b33a.jpg","text":"TemporaryFile(/tmp/multipartBody5249398608730053709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823043545,"filename":"image_15122025_18_47_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/15/a8b2eeb51af6e3c15b7d4cc760b92ca7.jpg","text":"TemporaryFile(/tmp/multipartBody5821500483620579739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823043545,"filename":"image_15122025_18_46_54_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/15/3e4f40964099559063e3f477933e9700.jpg","text":"TemporaryFile(/tmp/multipartBody2720415858818477686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823043545,"filename":"image_15122025_18_47_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/15/47544d656f75eeca149c6490ea3018a2.jpg","text":"TemporaryFile(/tmp/multipartBody3884990798473179058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823043545,"filename":"image_15122025_18_47_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/15/d8a77cba0edb057dfcc49f488b3ab3db.jpg","text":"TemporaryFile(/tmp/multipartBody3094296201744975957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823043545,"filename":"image_15122025_18_46_44_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399541729","file1":"1399541728","file0":"1399541727","file4":"1399541731","file5":"1399541733","file3":"1399541730"},"map_files_photo_id_array":[{"photo_id":"1399541733","filename":"file5"},{"photo_id":"1399541729","filename":"file2"},{"photo_id":"1399541731","filename":"file4"},{"photo_id":"1399541728","filename":"file1"},{"photo_id":"1399541727","filename":"file0"},{"photo_id":"1399541730","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399541729":["hashtag1","hashtag2"]},{"1399541731":["hashtag1","hashtag2"]},{"1399541728":["hashtag1","hashtag2"]},{"1399541730":["hashtag1","hashtag2"]},{"1399541733":["hashtag1","hashtag2"]},{"1399541727":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399541729, 1399541731, 1399541728, 1399541730, 1399541733, 1399541727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.076836824417114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 19:23:42.190936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_54_1706.jpg', '/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_56_1685.jpg', '/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_58_1562.jpg', '/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_59_1766.jpg', '/home/pi/Desktop/images/05112025/15/53/image_05112025_15_53_01_1551.jpg', '/home/pi/Desktop/images/05112025/15/53/image_05112025_15_53_03_1628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_54_1706.jpg
/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_56_1685.jpg
/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_58_1562.jpg
/home/pi/Desktop/images/05112025/15/52/image_05112025_15_52_59_1766.jpg
/home/pi/Desktop/images/05112025/15/53/image_05112025_15_53_01_1551.jpg
/home/pi/Desktop/images/05112025/15/53/image_05112025_15_53_03_1628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399541740","1399541743","1399541742","1399541745","1399541741","1399541738"],"photo_ids_order":["1399541738","1399541740","1399541741","1399541742","1399541743","1399541745"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/afb680f45e602c6202d2c8d6130c65ec.jpg","text":"TemporaryFile(/tmp/multipartBody6337287383373994535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823082781,"filename":"image_05112025_15_52_56_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/15/032bcfe67a407f72c3dbdf577384eea0.jpg","text":"TemporaryFile(/tmp/multipartBody9107468221544805173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823082781,"filename":"image_05112025_15_53_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/15/88feb220872a7723b0f07eb5cd70fcce.jpg","text":"TemporaryFile(/tmp/multipartBody8115766265705197088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823082781,"filename":"image_05112025_15_52_59_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/15/c8235ccc233c9884437100f619713059.jpg","text":"TemporaryFile(/tmp/multipartBody3471222631523197591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823082781,"filename":"image_05112025_15_53_03_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/15/e85fc15cadfd02eb864f4cca8a1ac4bf.jpg","text":"TemporaryFile(/tmp/multipartBody6160604128491669339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823082781,"filename":"image_05112025_15_52_58_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/15/286472d753ec0dd631e04373fc8e8944.jpg","text":"TemporaryFile(/tmp/multipartBody1851112056084939134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823082781,"filename":"image_05112025_15_52_54_1706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399541741","file1":"1399541740","file0":"1399541738","file4":"1399541743","file5":"1399541745","file3":"1399541742"},"map_files_photo_id_array":[{"photo_id":"1399541745","filename":"file5"},{"photo_id":"1399541741","filename":"file2"},{"photo_id":"1399541743","filename":"file4"},{"photo_id":"1399541740","filename":"file1"},{"photo_id":"1399541738","filename":"file0"},{"photo_id":"1399541742","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399541740":["hashtag1","hashtag2"]},{"1399541743":["hashtag1","hashtag2"]},{"1399541742":["hashtag1","hashtag2"]},{"1399541745":["hashtag1","hashtag2"]},{"1399541741":["hashtag1","hashtag2"]},{"1399541738":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399541740, 1399541743, 1399541742, 1399541745, 1399541741, 1399541738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58886790275574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 19:24:22.464603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/47/image_15122025_18_47_44_9855.jpg', '/home/pi/Desktop/images/15122025/18/47/image_15122025_18_47_54_9751.jpg', '/home/pi/Desktop/images/15122025/18/47/image_15122025_18_48_05_10646.jpg', '/home/pi/Desktop/images/15122025/18/48/image_15122025_18_48_15_9740.jpg', '/home/pi/Desktop/images/15122025/18/48/image_15122025_18_48_24_9731.jpg', '/home/pi/Desktop/images/15122025/18/48/image_15122025_18_48_34_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/47/image_15122025_18_47_44_9855.jpg
/home/pi/Desktop/images/15122025/18/47/image_15122025_18_47_54_9751.jpg
/home/pi/Desktop/images/15122025/18/47/image_15122025_18_48_05_10646.jpg
/home/pi/Desktop/images/15122025/18/48/image_15122025_18_48_15_9740.jpg
/home/pi/Desktop/images/15122025/18/48/image_15122025_18_48_24_9731.jpg
/home/pi/Desktop/images/15122025/18/48/image_15122025_18_48_34_9754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399541761","1399541763","1399541751","1399541748","1399541753","1399541759"],"photo_ids_order":["1399541748","1399541751","1399541753","1399541759","1399541761","1399541763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ea46bbbb8167960fbacc6f39f6390e05.jpg","text":"TemporaryFile(/tmp/multipartBody8470429765589118312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823123083,"filename":"image_15122025_18_48_24_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b56344306b9af1325afd000078be1c91.jpg","text":"TemporaryFile(/tmp/multipartBody5868947012812122653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823123083,"filename":"image_15122025_18_48_34_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ab774f2f6f72cedea52fb2e83ee93e08.jpg","text":"TemporaryFile(/tmp/multipartBody228206195675542466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823123083,"filename":"image_15122025_18_47_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/15/1efc7a1d0f4d28938a9a75b806f89ecf.jpg","text":"TemporaryFile(/tmp/multipartBody6042170507058769681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823123083,"filename":"image_15122025_18_47_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/15/09aded69332e901f16413b726330bd5f.jpg","text":"TemporaryFile(/tmp/multipartBody8339921622188277261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823123083,"filename":"image_15122025_18_48_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/15/667c66dfcf4c17977f845153502709b8.jpg","text":"TemporaryFile(/tmp/multipartBody7905602119728899340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823123083,"filename":"image_15122025_18_48_15_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399541753","file1":"1399541751","file0":"1399541748","file4":"1399541761","file5":"1399541763","file3":"1399541759"},"map_files_photo_id_array":[{"photo_id":"1399541763","filename":"file5"},{"photo_id":"1399541753","filename":"file2"},{"photo_id":"1399541761","filename":"file4"},{"photo_id":"1399541751","filename":"file1"},{"photo_id":"1399541748","filename":"file0"},{"photo_id":"1399541759","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399541761":["hashtag1","hashtag2"]},{"1399541763":["hashtag1","hashtag2"]},{"1399541751":["hashtag1","hashtag2"]},{"1399541748":["hashtag1","hashtag2"]},{"1399541753":["hashtag1","hashtag2"]},{"1399541759":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399541761, 1399541763, 1399541751, 1399541748, 1399541753, 1399541759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.013530015945435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 19:25:03.219977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/48/image_15122025_18_48_45_10675.jpg', '/home/pi/Desktop/images/15122025/18/48/image_15122025_18_48_54_9624.jpg', '/home/pi/Desktop/images/15122025/18/48/image_15122025_18_49_04_9637.jpg', '/home/pi/Desktop/images/15122025/18/49/image_15122025_18_49_15_10617.jpg', '/home/pi/Desktop/images/15122025/18/49/image_15122025_18_49_24_9656.jpg', '/home/pi/Desktop/images/15122025/18/49/image_15122025_18_49_34_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/48/image_15122025_18_48_45_10675.jpg
/home/pi/Desktop/images/15122025/18/48/image_15122025_18_48_54_9624.jpg
/home/pi/Desktop/images/15122025/18/48/image_15122025_18_49_04_9637.jpg
/home/pi/Desktop/images/15122025/18/49/image_15122025_18_49_15_10617.jpg
/home/pi/Desktop/images/15122025/18/49/image_15122025_18_49_24_9656.jpg
/home/pi/Desktop/images/15122025/18/49/image_15122025_18_49_34_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1399541782","1399541776","1399541770","1399541778","1399541772","1399541774"],"photo_ids_order":["1399541770","1399541772","1399541774","1399541776","1399541778","1399541782"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e4c9127321ab4c6a16be39f4692d513c.jpg","text":"TemporaryFile(/tmp/multipartBody5011813076836989334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823163870,"filename":"image_15122025_18_49_34_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c9cd071924af7182b76b05de126f60ad.jpg","text":"TemporaryFile(/tmp/multipartBody5785335208166414416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823163870,"filename":"image_15122025_18_49_15_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3b55accc63b863d4176392ff55d9bcc6.jpg","text":"TemporaryFile(/tmp/multipartBody8829016846303726453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823163870,"filename":"image_15122025_18_48_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/15/d29cc0a172c2eedf2f9ef82492087207.jpg","text":"TemporaryFile(/tmp/multipartBody6526899209323979830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823163870,"filename":"image_15122025_18_49_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/15/9b07c8b919cb264b037890d87d6cd2f2.jpg","text":"TemporaryFile(/tmp/multipartBody29927694034555230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823163870,"filename":"image_15122025_18_48_54_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/15/0a6d1fb05a8b6397a71b58a51513fc92.jpg","text":"TemporaryFile(/tmp/multipartBody4546126120986384004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823163870,"filename":"image_15122025_18_49_04_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399541774","file1":"1399541772","file0":"1399541770","file4":"1399541778","file5":"1399541782","file3":"1399541776"},"map_files_photo_id_array":[{"photo_id":"1399541782","filename":"file5"},{"photo_id":"1399541774","filename":"file2"},{"photo_id":"1399541778","filename":"file4"},{"photo_id":"1399541772","filename":"file1"},{"photo_id":"1399541770","filename":"file0"},{"photo_id":"1399541776","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399541782":["hashtag1","hashtag2"]},{"1399541776":["hashtag1","hashtag2"]},{"1399541770":["hashtag1","hashtag2"]},{"1399541778":["hashtag1","hashtag2"]},{"1399541772":["hashtag1","hashtag2"]},{"1399541774":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399541782, 1399541776, 1399541770, 1399541778, 1399541772, 1399541774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.38322114944458 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 19:26:02.767547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/49/image_15122025_18_49_54_9624.jpg', '/home/pi/Desktop/images/15122025/18/49/image_15122025_18_50_05_10723.jpg', '/home/pi/Desktop/images/15122025/18/50/image_15122025_18_50_14_9677.jpg', '/home/pi/Desktop/images/15122025/18/50/image_15122025_18_50_24_9694.jpg', '/home/pi/Desktop/images/15122025/18/50/image_15122025_18_50_34_9638.jpg', '/home/pi/Desktop/images/15122025/18/50/image_15122025_18_50_45_10834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/49/image_15122025_18_49_54_9624.jpg
/home/pi/Desktop/images/15122025/18/49/image_15122025_18_50_05_10723.jpg
/home/pi/Desktop/images/15122025/18/50/image_15122025_18_50_14_9677.jpg
/home/pi/Desktop/images/15122025/18/50/image_15122025_18_50_24_9694.jpg
/home/pi/Desktop/images/15122025/18/50/image_15122025_18_50_34_9638.jpg
/home/pi/Desktop/images/15122025/18/50/image_15122025_18_50_45_10834.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399541797","1399541801","1399541796","1399541805","1399541798","1399541795"],"photo_ids_order":["1399541795","1399541796","1399541797","1399541798","1399541801","1399541805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3718331a0e497584b954a7433746eb0a.jpg","text":"TemporaryFile(/tmp/multipartBody7142055965160321405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823223449,"filename":"image_15122025_18_50_14_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/623ab1e5ea5fcbff277a0af972fef531.jpg","text":"TemporaryFile(/tmp/multipartBody3884907745880780143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823223449,"filename":"image_15122025_18_50_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c11329f1e6b72bd5411947815eb57afc.jpg","text":"TemporaryFile(/tmp/multipartBody1541812078224444846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823223449,"filename":"image_15122025_18_50_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/15/13aad63861da75e7b97f97970af2294d.jpg","text":"TemporaryFile(/tmp/multipartBody4652061923432611861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823223449,"filename":"image_15122025_18_50_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/15/b3a5acab123eb9c113e1d43eba7616a4.jpg","text":"TemporaryFile(/tmp/multipartBody8867818663201826752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823223449,"filename":"image_15122025_18_50_24_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3126d20726501ce9a9407eb9ecc9c2e4.jpg","text":"TemporaryFile(/tmp/multipartBody4290145172244421007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823223449,"filename":"image_15122025_18_49_54_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399541797","file1":"1399541796","file0":"1399541795","file4":"1399541801","file5":"1399541805","file3":"1399541798"},"map_files_photo_id_array":[{"photo_id":"1399541805","filename":"file5"},{"photo_id":"1399541797","filename":"file2"},{"photo_id":"1399541801","filename":"file4"},{"photo_id":"1399541796","filename":"file1"},{"photo_id":"1399541795","filename":"file0"},{"photo_id":"1399541798","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399541797":["hashtag1","hashtag2"]},{"1399541801":["hashtag1","hashtag2"]},{"1399541796":["hashtag1","hashtag2"]},{"1399541805":["hashtag1","hashtag2"]},{"1399541798":["hashtag1","hashtag2"]},{"1399541795":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399541797, 1399541801, 1399541796, 1399541805, 1399541798, 1399541795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.133270263671875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 19:26:42.205847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/53/image_05112025_15_53_11_7963.jpg', '/home/pi/Desktop/images/05112025/15/53/image_05112025_15_53_19_8778.jpg', '/home/pi/Desktop/images/05112025/15/53/image_05112025_15_53_46_26891.jpg', '/home/pi/Desktop/images/05112025/15/53/image_05112025_15_53_49_2920.jpg', '/home/pi/Desktop/images/05112025/15/53/image_05112025_15_53_51_1828.jpg', '/home/pi/Desktop/images/05112025/15/53/image_05112025_15_53_52_1505.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/53/image_05112025_15_53_11_7963.jpg
/home/pi/Desktop/images/05112025/15/53/image_05112025_15_53_19_8778.jpg
/home/pi/Desktop/images/05112025/15/53/image_05112025_15_53_46_26891.jpg
/home/pi/Desktop/images/05112025/15/53/image_05112025_15_53_49_2920.jpg
/home/pi/Desktop/images/05112025/15/53/image_05112025_15_53_51_1828.jpg
/home/pi/Desktop/images/05112025/15/53/image_05112025_15_53_52_1505.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399541839","1399541830","1399541836","1399541835","1399541840","1399541828"],"photo_ids_order":["1399541828","1399541830","1399541835","1399541836","1399541839","1399541840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/be5b96be2c2cd485a210deb675e6da94.jpg","text":"TemporaryFile(/tmp/multipartBody8917908587908767704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823263018,"filename":"image_05112025_15_53_51_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/15/a623082bfd8642bbf55e924ef60e877c.jpg","text":"TemporaryFile(/tmp/multipartBody4944643897311709395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823263018,"filename":"image_05112025_15_53_19_8778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b48ba25b0a0f24f3415de1895c5da686.jpg","text":"TemporaryFile(/tmp/multipartBody2117505316396371944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823263018,"filename":"image_05112025_15_53_49_2920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d02a07bc059a13ff658c1c62e464ca1a.jpg","text":"TemporaryFile(/tmp/multipartBody2062076124951876918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823263018,"filename":"image_05112025_15_53_46_26891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f9dc849663d01b47bf150b2e37491e1c.jpg","text":"TemporaryFile(/tmp/multipartBody8761016112532611909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823263018,"filename":"image_05112025_15_53_52_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/15/497ba14fc4b1614b83ffa45c482fae58.jpg","text":"TemporaryFile(/tmp/multipartBody6100552185802371746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823263018,"filename":"image_05112025_15_53_11_7963.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399541835","file1":"1399541830","file0":"1399541828","file4":"1399541839","file5":"1399541840","file3":"1399541836"},"map_files_photo_id_array":[{"photo_id":"1399541840","filename":"file5"},{"photo_id":"1399541835","filename":"file2"},{"photo_id":"1399541839","filename":"file4"},{"photo_id":"1399541830","filename":"file1"},{"photo_id":"1399541828","filename":"file0"},{"photo_id":"1399541836","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399541839":["hashtag1","hashtag2"]},{"1399541830":["hashtag1","hashtag2"]},{"1399541836":["hashtag1","hashtag2"]},{"1399541835":["hashtag1","hashtag2"]},{"1399541840":["hashtag1","hashtag2"]},{"1399541828":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399541839, 1399541830, 1399541836, 1399541835, 1399541840, 1399541828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14713954925537 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 19:27:22.524695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/50/image_15122025_18_50_54_9603.jpg', '/home/pi/Desktop/images/15122025/18/50/image_15122025_18_51_04_9633.jpg', '/home/pi/Desktop/images/15122025/18/51/image_15122025_18_51_15_10619.jpg', '/home/pi/Desktop/images/15122025/18/51/image_15122025_18_51_35_10548.jpg', '/home/pi/Desktop/images/15122025/18/51/image_15122025_18_51_45_9680.jpg', '/home/pi/Desktop/images/15122025/18/51/image_15122025_18_52_05_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/50/image_15122025_18_50_54_9603.jpg
/home/pi/Desktop/images/15122025/18/50/image_15122025_18_51_04_9633.jpg
/home/pi/Desktop/images/15122025/18/51/image_15122025_18_51_15_10619.jpg
/home/pi/Desktop/images/15122025/18/51/image_15122025_18_51_35_10548.jpg
/home/pi/Desktop/images/15122025/18/51/image_15122025_18_51_45_9680.jpg
/home/pi/Desktop/images/15122025/18/51/image_15122025_18_52_05_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.5108261108398438 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 19:27:33.447472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 19:27:42.442594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/53/image_05112025_15_53_57_4721.jpg', '/home/pi/Desktop/images/05112025/15/53/image_05112025_15_53_59_1610.jpg', '/home/pi/Desktop/images/05112025/15/53/image_05112025_15_54_00_1513.jpg', '/home/pi/Desktop/images/05112025/15/54/image_05112025_15_54_02_1596.jpg', '/home/pi/Desktop/images/05112025/15/54/image_05112025_15_54_04_1872.jpg', '/home/pi/Desktop/images/05112025/15/54/image_05112025_15_54_05_1632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/53/image_05112025_15_53_57_4721.jpg
/home/pi/Desktop/images/05112025/15/53/image_05112025_15_53_59_1610.jpg
/home/pi/Desktop/images/05112025/15/53/image_05112025_15_54_00_1513.jpg
/home/pi/Desktop/images/05112025/15/54/image_05112025_15_54_02_1596.jpg
/home/pi/Desktop/images/05112025/15/54/image_05112025_15_54_04_1872.jpg
/home/pi/Desktop/images/05112025/15/54/image_05112025_15_54_05_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":["1399541857","1399541860","1399541859","1399541861","1399541855","1399541858"],"photo_ids_order":["1399541855","1399541857","1399541858","1399541859","1399541860","1399541861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5373a980fd558b78e219bba55cfdbb8c.jpg","text":"TemporaryFile(/tmp/multipartBody7922093175108905389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823323244,"filename":"image_05112025_15_53_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/15/c0611371c142f48e16cacbec39bfe151.jpg","text":"TemporaryFile(/tmp/multipartBody6758043420191276292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823323244,"filename":"image_05112025_15_54_04_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/15/6ef5e0a86dd45dd2f7328c132eba9046.jpg","text":"TemporaryFile(/tmp/multipartBody8029324059051613806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823323244,"filename":"image_05112025_15_54_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/15/ffacb6a058a9747d1866efe7cf04a224.jpg","text":"TemporaryFile(/tmp/multipartBody192075954774891530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823323244,"filename":"image_05112025_15_54_05_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/15/5401e4b2a0c980ad6266012984fe3fbd.jpg","text":"TemporaryFile(/tmp/multipartBody5784109749492473435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823323244,"filename":"image_05112025_15_53_57_4721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ef5b64aaabe7aaa6e607e719a69f43b4.jpg","text":"TemporaryFile(/tmp/multipartBody2956904019808920719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823323244,"filename":"image_05112025_15_54_00_1513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399541858","file1":"1399541857","file0":"1399541855","file4":"1399541860","file5":"1399541861","file3":"1399541859"},"map_files_photo_id_array":[{"photo_id":"1399541861","filename":"file5"},{"photo_id":"1399541858","filename":"file2"},{"photo_id":"1399541860","filename":"file4"},{"photo_id":"1399541857","filename":"file1"},{"photo_id":"1399541855","filename":"file0"},{"photo_id":"1399541859","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399541857":["hashtag1","hashtag2"]},{"1399541860":["hashtag1","hashtag2"]},{"1399541859":["hashtag1","hashtag2"]},{"1399541861":["hashtag1","hashtag2"]},{"1399541855":["hashtag1","hashtag2"]},{"1399541858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399541857, 1399541860, 1399541859, 1399541861, 1399541855, 1399541858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.842756509780884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 19:28:22.816433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/50/image_15122025_18_50_54_9603.jpg', '/home/pi/Desktop/images/15122025/18/50/image_15122025_18_51_04_9633.jpg', '/home/pi/Desktop/images/15122025/18/51/image_15122025_18_51_15_10619.jpg', '/home/pi/Desktop/images/15122025/18/51/image_15122025_18_51_35_10548.jpg', '/home/pi/Desktop/images/15122025/18/51/image_15122025_18_51_45_9680.jpg', '/home/pi/Desktop/images/15122025/18/51/image_15122025_18_52_05_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/50/image_15122025_18_50_54_9603.jpg
/home/pi/Desktop/images/15122025/18/50/image_15122025_18_51_04_9633.jpg
/home/pi/Desktop/images/15122025/18/51/image_15122025_18_51_15_10619.jpg
/home/pi/Desktop/images/15122025/18/51/image_15122025_18_51_35_10548.jpg
/home/pi/Desktop/images/15122025/18/51/image_15122025_18_51_45_9680.jpg
/home/pi/Desktop/images/15122025/18/51/image_15122025_18_52_05_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":["1399541883","1399541879","1399541870","1399541864","1399541867","1399541876"],"photo_ids_order":["1399541864","1399541867","1399541870","1399541876","1399541879","1399541883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e587914d4c7c68f1b1f395402568c412.jpg","text":"TemporaryFile(/tmp/multipartBody6895565275385888596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823363452,"filename":"image_15122025_18_52_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/15/72abd29bcdd22192a8f3e71fd70c12bc.jpg","text":"TemporaryFile(/tmp/multipartBody5098164491747198349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823363452,"filename":"image_15122025_18_51_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/15/215a3ce42ff0c572aa8680b8f7f2b551.jpg","text":"TemporaryFile(/tmp/multipartBody208002547017670694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823363452,"filename":"image_15122025_18_51_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/15/9c0afa61bdf139977427198149b06b87.jpg","text":"TemporaryFile(/tmp/multipartBody8603812948167561352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823363452,"filename":"image_15122025_18_50_54_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/16c860eee0bae91ff6db6be383a652af.jpg","text":"TemporaryFile(/tmp/multipartBody5757725086857684633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823363452,"filename":"image_15122025_18_51_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/15/7b168f852c9b0136f35a8c9e704ae4f3.jpg","text":"TemporaryFile(/tmp/multipartBody6247341181918768183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823363452,"filename":"image_15122025_18_51_35_10548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399541870","file1":"1399541867","file0":"1399541864","file4":"1399541879","file5":"1399541883","file3":"1399541876"},"map_files_photo_id_array":[{"photo_id":"1399541883","filename":"file5"},{"photo_id":"1399541870","filename":"file2"},{"photo_id":"1399541879","filename":"file4"},{"photo_id":"1399541867","filename":"file1"},{"photo_id":"1399541864","filename":"file0"},{"photo_id":"1399541876","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399541883":["hashtag1","hashtag2"]},{"1399541879":["hashtag1","hashtag2"]},{"1399541870":["hashtag1","hashtag2"]},{"1399541864":["hashtag1","hashtag2"]},{"1399541867":["hashtag1","hashtag2"]},{"1399541876":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399541883, 1399541879, 1399541870, 1399541864, 1399541867, 1399541876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.158568143844604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 19:29:02.709290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/52/image_15122025_18_52_34_8765.jpg', '/home/pi/Desktop/images/15122025/18/52/image_15122025_18_52_44_10127.jpg', '/home/pi/Desktop/images/15122025/18/52/image_15122025_18_52_55_10671.jpg', '/home/pi/Desktop/images/15122025/18/52/image_15122025_18_53_05_9835.jpg', '/home/pi/Desktop/images/15122025/18/53/image_15122025_18_53_14_9677.jpg', '/home/pi/Desktop/images/15122025/18/53/image_15122025_18_53_24_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/52/image_15122025_18_52_34_8765.jpg
/home/pi/Desktop/images/15122025/18/52/image_15122025_18_52_44_10127.jpg
/home/pi/Desktop/images/15122025/18/52/image_15122025_18_52_55_10671.jpg
/home/pi/Desktop/images/15122025/18/52/image_15122025_18_53_05_9835.jpg
/home/pi/Desktop/images/15122025/18/53/image_15122025_18_53_14_9677.jpg
/home/pi/Desktop/images/15122025/18/53/image_15122025_18_53_24_9721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399541918","1399541887","1399541905","1399541889","1399541888","1399541927"],"photo_ids_order":["1399541887","1399541888","1399541889","1399541905","1399541918","1399541927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ddf3eaa880b4657e72890631a43518da.jpg","text":"TemporaryFile(/tmp/multipartBody8874025811869194052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823403451,"filename":"image_15122025_18_53_14_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/994d4dc5f048ff1f4407032c98c8525b.jpg","text":"TemporaryFile(/tmp/multipartBody7271213787850478536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823403451,"filename":"image_15122025_18_52_34_8765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/03150b6105fdf2c00c14bd5489cade1a.jpg","text":"TemporaryFile(/tmp/multipartBody4652708791932801654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823403451,"filename":"image_15122025_18_53_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/15/ba99abaa884a3a69f1f14178c850fab0.jpg","text":"TemporaryFile(/tmp/multipartBody2108890219837462986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823403451,"filename":"image_15122025_18_52_55_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c319cb2b6955a4406a936ce071547193.jpg","text":"TemporaryFile(/tmp/multipartBody1007379484596071245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823403451,"filename":"image_15122025_18_52_44_10127.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f6c251f15360bd0cb422eb65d3057a86.jpg","text":"TemporaryFile(/tmp/multipartBody2345819274951022541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823403451,"filename":"image_15122025_18_53_24_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399541889","file1":"1399541888","file0":"1399541887","file4":"1399541918","file5":"1399541927","file3":"1399541905"},"map_files_photo_id_array":[{"photo_id":"1399541927","filename":"file5"},{"photo_id":"1399541889","filename":"file2"},{"photo_id":"1399541918","filename":"file4"},{"photo_id":"1399541888","filename":"file1"},{"photo_id":"1399541887","filename":"file0"},{"photo_id":"1399541905","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399541918":["hashtag1","hashtag2"]},{"1399541887":["hashtag1","hashtag2"]},{"1399541905":["hashtag1","hashtag2"]},{"1399541889":["hashtag1","hashtag2"]},{"1399541888":["hashtag1","hashtag2"]},{"1399541927":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399541918, 1399541887, 1399541905, 1399541889, 1399541888, 1399541927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.342933654785156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 19:29:41.772854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/54/image_05112025_15_54_07_1574.jpg', '/home/pi/Desktop/images/05112025/15/54/image_05112025_15_54_09_2045.jpg', '/home/pi/Desktop/images/05112025/15/54/image_05112025_15_54_12_3176.jpg', '/home/pi/Desktop/images/05112025/15/54/image_05112025_15_54_14_1572.jpg', '/home/pi/Desktop/images/05112025/15/54/image_05112025_15_54_15_1613.jpg', '/home/pi/Desktop/images/05112025/15/54/image_05112025_15_54_25_9830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/54/image_05112025_15_54_07_1574.jpg
/home/pi/Desktop/images/05112025/15/54/image_05112025_15_54_09_2045.jpg
/home/pi/Desktop/images/05112025/15/54/image_05112025_15_54_12_3176.jpg
/home/pi/Desktop/images/05112025/15/54/image_05112025_15_54_14_1572.jpg
/home/pi/Desktop/images/05112025/15/54/image_05112025_15_54_15_1613.jpg
/home/pi/Desktop/images/05112025/15/54/image_05112025_15_54_25_9830.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399541939","1399541941","1399541935","1399541940","1399541937","1399541945"],"photo_ids_order":["1399541935","1399541937","1399541939","1399541940","1399541941","1399541945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4eb89261d22fb48ef407420cf5ae59f2.jpg","text":"TemporaryFile(/tmp/multipartBody5326640184595420241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823442509,"filename":"image_05112025_15_54_12_3176.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/601850c6f8af62a3f105d6d6b0164527.jpg","text":"TemporaryFile(/tmp/multipartBody2361129514756649166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823442509,"filename":"image_05112025_15_54_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/15/44905e4e97ecc7a8770d8d659bdad6a4.jpg","text":"TemporaryFile(/tmp/multipartBody7711826457865966131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823442509,"filename":"image_05112025_15_54_07_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/15/2b9384ad98b4ce77e87ad27a196541e5.jpg","text":"TemporaryFile(/tmp/multipartBody7540811669624793184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823442509,"filename":"image_05112025_15_54_14_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/15/60fd9b90526c748f28a500bf60bc3273.jpg","text":"TemporaryFile(/tmp/multipartBody1612589699146894181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823442509,"filename":"image_05112025_15_54_09_2045.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1e90405ec13d3d99ef13b912e97ca9b2.jpg","text":"TemporaryFile(/tmp/multipartBody7597867264494440440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823442509,"filename":"image_05112025_15_54_25_9830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399541939","file1":"1399541937","file0":"1399541935","file4":"1399541941","file5":"1399541945","file3":"1399541940"},"map_files_photo_id_array":[{"photo_id":"1399541945","filename":"file5"},{"photo_id":"1399541939","filename":"file2"},{"photo_id":"1399541941","filename":"file4"},{"photo_id":"1399541937","filename":"file1"},{"photo_id":"1399541935","filename":"file0"},{"photo_id":"1399541940","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399541939":["hashtag1","hashtag2"]},{"1399541941":["hashtag1","hashtag2"]},{"1399541935":["hashtag1","hashtag2"]},{"1399541940":["hashtag1","hashtag2"]},{"1399541937":["hashtag1","hashtag2"]},{"1399541945":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399541939, 1399541941, 1399541935, 1399541940, 1399541937, 1399541945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.87876296043396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 19:31:04.618481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/53/image_15122025_18_53_35_10656.jpg', '/home/pi/Desktop/images/15122025/18/53/image_15122025_18_53_44_9403.jpg', '/home/pi/Desktop/images/15122025/18/53/image_15122025_18_53_54_9966.jpg', '/home/pi/Desktop/images/15122025/18/53/image_15122025_18_54_05_10568.jpg', '/home/pi/Desktop/images/15122025/18/54/image_15122025_18_54_14_9727.jpg', '/home/pi/Desktop/images/15122025/18/54/image_15122025_18_54_34_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/53/image_15122025_18_53_35_10656.jpg
/home/pi/Desktop/images/15122025/18/53/image_15122025_18_53_44_9403.jpg
/home/pi/Desktop/images/15122025/18/53/image_15122025_18_53_54_9966.jpg
/home/pi/Desktop/images/15122025/18/53/image_15122025_18_54_05_10568.jpg
/home/pi/Desktop/images/15122025/18/54/image_15122025_18_54_14_9727.jpg
/home/pi/Desktop/images/15122025/18/54/image_15122025_18_54_34_9749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399541971","1399541973","1399541982","1399541978","1399541975","1399541969"],"photo_ids_order":["1399541969","1399541971","1399541973","1399541975","1399541978","1399541982"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5e26921783b9556b93bb36af12b2af0c.jpg","text":"TemporaryFile(/tmp/multipartBody8725928696650158869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823525470,"filename":"image_15122025_18_53_44_9403.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c54e0d1280e9956d88b9e8c6cc4c83ca.jpg","text":"TemporaryFile(/tmp/multipartBody5832512668995464767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823525470,"filename":"image_15122025_18_53_54_9966.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6a8a91b2e37c4952f1f8c5b128871ca3.jpg","text":"TemporaryFile(/tmp/multipartBody1800920982315050655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823525470,"filename":"image_15122025_18_54_34_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fe19bf4be204c7e53ebe1e55d7fd27fa.jpg","text":"TemporaryFile(/tmp/multipartBody4595614285817108986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823525470,"filename":"image_15122025_18_54_14_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7fdce6a4f8a9445632afd39fcc4db64e.jpg","text":"TemporaryFile(/tmp/multipartBody2210957064483030952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823525470,"filename":"image_15122025_18_54_05_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/15/f23f5b86f378c318fe9ae61765ce03ae.jpg","text":"TemporaryFile(/tmp/multipartBody9187773810601848930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823525470,"filename":"image_15122025_18_53_35_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399541973","file1":"1399541971","file0":"1399541969","file4":"1399541978","file5":"1399541982","file3":"1399541975"},"map_files_photo_id_array":[{"photo_id":"1399541982","filename":"file5"},{"photo_id":"1399541973","filename":"file2"},{"photo_id":"1399541978","filename":"file4"},{"photo_id":"1399541971","filename":"file1"},{"photo_id":"1399541969","filename":"file0"},{"photo_id":"1399541975","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399541971":["hashtag1","hashtag2"]},{"1399541973":["hashtag1","hashtag2"]},{"1399541982":["hashtag1","hashtag2"]},{"1399541978":["hashtag1","hashtag2"]},{"1399541975":["hashtag1","hashtag2"]},{"1399541969":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399541971, 1399541973, 1399541982, 1399541978, 1399541975, 1399541969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16838216781616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 19:32:02.987967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/54/image_15122025_18_54_44_9977.jpg', '/home/pi/Desktop/images/15122025/18/54/image_15122025_18_54_55_10642.jpg', '/home/pi/Desktop/images/15122025/18/54/image_15122025_18_55_04_9767.jpg', '/home/pi/Desktop/images/15122025/18/55/image_15122025_18_55_24_9917.jpg', '/home/pi/Desktop/images/15122025/18/55/image_15122025_18_55_45_9951.jpg', '/home/pi/Desktop/images/15122025/18/55/image_15122025_18_55_54_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/54/image_15122025_18_54_44_9977.jpg
/home/pi/Desktop/images/15122025/18/54/image_15122025_18_54_55_10642.jpg
/home/pi/Desktop/images/15122025/18/54/image_15122025_18_55_04_9767.jpg
/home/pi/Desktop/images/15122025/18/55/image_15122025_18_55_24_9917.jpg
/home/pi/Desktop/images/15122025/18/55/image_15122025_18_55_45_9951.jpg
/home/pi/Desktop/images/15122025/18/55/image_15122025_18_55_54_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399541998","1399542007","1399542004","1399542000","1399541996","1399542002"],"photo_ids_order":["1399541996","1399541998","1399542000","1399542002","1399542004","1399542007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/046a426cb8d5f40822ab0e89317a2165.jpg","text":"TemporaryFile(/tmp/multipartBody1868640369951323134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823583638,"filename":"image_15122025_18_54_55_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c5c778febd2dbaf433559e7557d9f1bc.jpg","text":"TemporaryFile(/tmp/multipartBody5236973341245593350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823583638,"filename":"image_15122025_18_55_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/15/1f7768420885587de04932aed6a928a4.jpg","text":"TemporaryFile(/tmp/multipartBody2430539710276255824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823583638,"filename":"image_15122025_18_55_45_9951.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dc18ca8f720d050672b2b0a047aa5110.jpg","text":"TemporaryFile(/tmp/multipartBody2562355602450740393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823583638,"filename":"image_15122025_18_55_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/15/1a69d7113f29e602e02aca3d7e06b370.jpg","text":"TemporaryFile(/tmp/multipartBody2290633007340595616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823583638,"filename":"image_15122025_18_54_44_9977.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cb1e308e6617a238b58785dabec340b4.jpg","text":"TemporaryFile(/tmp/multipartBody1782997875886384770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823583638,"filename":"image_15122025_18_55_24_9917.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399542000","file1":"1399541998","file0":"1399541996","file4":"1399542004","file5":"1399542007","file3":"1399542002"},"map_files_photo_id_array":[{"photo_id":"1399542007","filename":"file5"},{"photo_id":"1399542000","filename":"file2"},{"photo_id":"1399542004","filename":"file4"},{"photo_id":"1399541998","filename":"file1"},{"photo_id":"1399541996","filename":"file0"},{"photo_id":"1399542002","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399541998":["hashtag1","hashtag2"]},{"1399542007":["hashtag1","hashtag2"]},{"1399542004":["hashtag1","hashtag2"]},{"1399542000":["hashtag1","hashtag2"]},{"1399541996":["hashtag1","hashtag2"]},{"1399542002":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399541998, 1399542007, 1399542004, 1399542000, 1399541996, 1399542002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98047184944153 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 19:32:42.502247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/54/image_05112025_15_54_27_1567.jpg', '/home/pi/Desktop/images/05112025/15/54/image_05112025_15_54_32_5352.jpg', '/home/pi/Desktop/images/05112025/15/54/image_05112025_15_54_49_16408.jpg', '/home/pi/Desktop/images/05112025/15/55/image_05112025_15_55_12_23365.jpg', '/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_07_3019.jpg', '/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_10_2976.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/54/image_05112025_15_54_27_1567.jpg
/home/pi/Desktop/images/05112025/15/54/image_05112025_15_54_32_5352.jpg
/home/pi/Desktop/images/05112025/15/54/image_05112025_15_54_49_16408.jpg
/home/pi/Desktop/images/05112025/15/55/image_05112025_15_55_12_23365.jpg
/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_07_3019.jpg
/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_10_2976.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6097650527954102 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 19:33:03.433314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/55/image_15122025_18_56_04_9611.jpg', '/home/pi/Desktop/images/15122025/18/56/image_15122025_18_56_14_10208.jpg', '/home/pi/Desktop/images/15122025/18/56/image_15122025_18_56_35_10776.jpg', '/home/pi/Desktop/images/15122025/18/56/image_15122025_18_56_44_9398.jpg', '/home/pi/Desktop/images/15122025/18/56/image_15122025_18_56_55_10640.jpg', '/home/pi/Desktop/images/15122025/18/57/image_15122025_18_57_34_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/55/image_15122025_18_56_04_9611.jpg
/home/pi/Desktop/images/15122025/18/56/image_15122025_18_56_14_10208.jpg
/home/pi/Desktop/images/15122025/18/56/image_15122025_18_56_35_10776.jpg
/home/pi/Desktop/images/15122025/18/56/image_15122025_18_56_44_9398.jpg
/home/pi/Desktop/images/15122025/18/56/image_15122025_18_56_55_10640.jpg
/home/pi/Desktop/images/15122025/18/57/image_15122025_18_57_34_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":["1399542037","1399542034","1399542028","1399542030","1399542032","1399542026"],"photo_ids_order":["1399542026","1399542028","1399542030","1399542032","1399542034","1399542037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f30614e1733c1875951752d11f6066b6.jpg","text":"TemporaryFile(/tmp/multipartBody1199080732711402165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823644090,"filename":"image_15122025_18_57_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/15/be0b4e34402bb4e1b49126f2d2418276.jpg","text":"TemporaryFile(/tmp/multipartBody4575279169651154635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823644090,"filename":"image_15122025_18_56_55_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2e539fd36309e6bcaa2f351d59b94d58.jpg","text":"TemporaryFile(/tmp/multipartBody8451307983661473013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823644090,"filename":"image_15122025_18_56_14_10208.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/07d64e4e2a114a1ae29d057046f2219b.jpg","text":"TemporaryFile(/tmp/multipartBody3860510944709901402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823644090,"filename":"image_15122025_18_56_35_10776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6c23ecc4e0d69381dc0f18650f6f5473.jpg","text":"TemporaryFile(/tmp/multipartBody957291056304690070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823644090,"filename":"image_15122025_18_56_44_9398.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9cb631ef5e68355e3f32448ee1794cf7.jpg","text":"TemporaryFile(/tmp/multipartBody1916662955213203819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823644090,"filename":"image_15122025_18_56_04_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399542030","file1":"1399542028","file0":"1399542026","file4":"1399542034","file5":"1399542037","file3":"1399542032"},"map_files_photo_id_array":[{"photo_id":"1399542037","filename":"file5"},{"photo_id":"1399542030","filename":"file2"},{"photo_id":"1399542034","filename":"file4"},{"photo_id":"1399542028","filename":"file1"},{"photo_id":"1399542026","filename":"file0"},{"photo_id":"1399542032","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399542037":["hashtag1","hashtag2"]},{"1399542034":["hashtag1","hashtag2"]},{"1399542028":["hashtag1","hashtag2"]},{"1399542030":["hashtag1","hashtag2"]},{"1399542032":["hashtag1","hashtag2"]},{"1399542026":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399542037, 1399542034, 1399542028, 1399542030, 1399542032, 1399542026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.318979263305664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 19:33:42.794340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/54/image_05112025_15_54_27_1567.jpg', '/home/pi/Desktop/images/05112025/15/54/image_05112025_15_54_32_5352.jpg', '/home/pi/Desktop/images/05112025/15/54/image_05112025_15_54_49_16408.jpg', '/home/pi/Desktop/images/05112025/15/55/image_05112025_15_55_12_23365.jpg', '/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_07_3019.jpg', '/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_10_2976.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/54/image_05112025_15_54_27_1567.jpg
/home/pi/Desktop/images/05112025/15/54/image_05112025_15_54_32_5352.jpg
/home/pi/Desktop/images/05112025/15/54/image_05112025_15_54_49_16408.jpg
/home/pi/Desktop/images/05112025/15/55/image_05112025_15_55_12_23365.jpg
/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_07_3019.jpg
/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_10_2976.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399542046","1399542049","1399542042","1399542045","1399542044","1399542047"],"photo_ids_order":["1399542042","1399542044","1399542045","1399542046","1399542047","1399542049"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7b653f8f656b921aacc1d3597694daed.jpg","text":"TemporaryFile(/tmp/multipartBody4277973751204617248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823683384,"filename":"image_05112025_15_55_12_23365.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fe9a854f3ecb8ef58f2fa95812563b8c.jpg","text":"TemporaryFile(/tmp/multipartBody5848692457925738074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823683384,"filename":"image_05112025_15_56_10_2976.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/45d73829713872d1178891cc589b3682.jpg","text":"TemporaryFile(/tmp/multipartBody4657841666389422006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823683384,"filename":"image_05112025_15_54_27_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/15/b7431047da60962fc1fc47f9776f77e6.jpg","text":"TemporaryFile(/tmp/multipartBody3059419376266475727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823683384,"filename":"image_05112025_15_54_49_16408.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c34334e1a0c2db59c0dddd0d4ec99e79.jpg","text":"TemporaryFile(/tmp/multipartBody708479853680101697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823683384,"filename":"image_05112025_15_54_32_5352.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3893585c88063f32a6bce0c15be3e2eb.jpg","text":"TemporaryFile(/tmp/multipartBody9026537616307634065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823683384,"filename":"image_05112025_15_56_07_3019.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399542045","file1":"1399542044","file0":"1399542042","file4":"1399542047","file5":"1399542049","file3":"1399542046"},"map_files_photo_id_array":[{"photo_id":"1399542049","filename":"file5"},{"photo_id":"1399542045","filename":"file2"},{"photo_id":"1399542047","filename":"file4"},{"photo_id":"1399542044","filename":"file1"},{"photo_id":"1399542042","filename":"file0"},{"photo_id":"1399542046","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399542046":["hashtag1","hashtag2"]},{"1399542049":["hashtag1","hashtag2"]},{"1399542042":["hashtag1","hashtag2"]},{"1399542045":["hashtag1","hashtag2"]},{"1399542044":["hashtag1","hashtag2"]},{"1399542047":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399542046, 1399542049, 1399542042, 1399542045, 1399542044, 1399542047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55414009094238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 19:34:22.057057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/57/image_15122025_18_57_44_9690.jpg', '/home/pi/Desktop/images/15122025/18/57/image_15122025_18_58_05_10610.jpg', '/home/pi/Desktop/images/15122025/18/58/image_15122025_18_58_14_9836.jpg', '/home/pi/Desktop/images/15122025/18/58/image_15122025_18_58_24_9647.jpg', '/home/pi/Desktop/images/15122025/18/58/image_15122025_18_58_54_9667.jpg', '/home/pi/Desktop/images/15122025/18/58/image_15122025_18_59_05_10741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/57/image_15122025_18_57_44_9690.jpg
/home/pi/Desktop/images/15122025/18/57/image_15122025_18_58_05_10610.jpg
/home/pi/Desktop/images/15122025/18/58/image_15122025_18_58_14_9836.jpg
/home/pi/Desktop/images/15122025/18/58/image_15122025_18_58_24_9647.jpg
/home/pi/Desktop/images/15122025/18/58/image_15122025_18_58_54_9667.jpg
/home/pi/Desktop/images/15122025/18/58/image_15122025_18_59_05_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":["1399542066","1399542069","1399542060","1399542054","1399542057","1399542062"],"photo_ids_order":["1399542054","1399542057","1399542060","1399542062","1399542066","1399542069"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6df3d686e0123f02eda1b1cfd3291b70.jpg","text":"TemporaryFile(/tmp/multipartBody1757587080370233572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823722689,"filename":"image_15122025_18_58_54_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f3145d42fc34c470fb03e4ef660de658.jpg","text":"TemporaryFile(/tmp/multipartBody670676998841513723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823722689,"filename":"image_15122025_18_59_05_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/10e2625f1fc5b3941d741b30ca461710.jpg","text":"TemporaryFile(/tmp/multipartBody2072031993960111253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823722689,"filename":"image_15122025_18_58_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/15/ea99994a78bb29eb6d454cb997d8bb7d.jpg","text":"TemporaryFile(/tmp/multipartBody8262347412587729715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823722689,"filename":"image_15122025_18_57_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/15/6c8c9b863eabaab5f81d908371b07e93.jpg","text":"TemporaryFile(/tmp/multipartBody3280097762149186813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823722689,"filename":"image_15122025_18_58_05_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d47d9e813a86cde999f73c2606a9f1e1.jpg","text":"TemporaryFile(/tmp/multipartBody3684384524945258177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823722689,"filename":"image_15122025_18_58_24_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399542060","file1":"1399542057","file0":"1399542054","file4":"1399542066","file5":"1399542069","file3":"1399542062"},"map_files_photo_id_array":[{"photo_id":"1399542069","filename":"file5"},{"photo_id":"1399542060","filename":"file2"},{"photo_id":"1399542066","filename":"file4"},{"photo_id":"1399542057","filename":"file1"},{"photo_id":"1399542054","filename":"file0"},{"photo_id":"1399542062","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399542066":["hashtag1","hashtag2"]},{"1399542069":["hashtag1","hashtag2"]},{"1399542060":["hashtag1","hashtag2"]},{"1399542054":["hashtag1","hashtag2"]},{"1399542057":["hashtag1","hashtag2"]},{"1399542062":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399542066, 1399542069, 1399542060, 1399542054, 1399542057, 1399542062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.618611574172974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 19:35:02.844241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/18/59/image_15122025_18_59_14_9654.jpg', '/home/pi/Desktop/images/15122025/18/59/image_15122025_18_59_24_9686.jpg', '/home/pi/Desktop/images/15122025/18/59/image_15122025_18_59_35_10804.jpg', '/home/pi/Desktop/images/15122025/19/00/image_15122025_19_00_14_10054.jpg', '/home/pi/Desktop/images/15122025/19/00/image_15122025_19_00_25_10790.jpg', '/home/pi/Desktop/images/15122025/19/00/image_15122025_19_00_35_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/18/59/image_15122025_18_59_14_9654.jpg
/home/pi/Desktop/images/15122025/18/59/image_15122025_18_59_24_9686.jpg
/home/pi/Desktop/images/15122025/18/59/image_15122025_18_59_35_10804.jpg
/home/pi/Desktop/images/15122025/19/00/image_15122025_19_00_14_10054.jpg
/home/pi/Desktop/images/15122025/19/00/image_15122025_19_00_25_10790.jpg
/home/pi/Desktop/images/15122025/19/00/image_15122025_19_00_35_9629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399542076","1399542084","1399542078","1399542072","1399542081","1399542074"],"photo_ids_order":["1399542072","1399542074","1399542076","1399542078","1399542081","1399542084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a52c01125d5d79978b53ed9ec3057fb1.jpg","text":"TemporaryFile(/tmp/multipartBody6705761009549276951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823763510,"filename":"image_15122025_18_59_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/15/72543eb939c104eabafa7d1b79058c9d.jpg","text":"TemporaryFile(/tmp/multipartBody8458710762693346590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823763510,"filename":"image_15122025_19_00_35_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c4c095abbdb711df672031aefff62ab7.jpg","text":"TemporaryFile(/tmp/multipartBody8370728035034551026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823763510,"filename":"image_15122025_19_00_14_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a0a452eac4410e52ed827d21d543980a.jpg","text":"TemporaryFile(/tmp/multipartBody350455400665229918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823763510,"filename":"image_15122025_18_59_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/15/64bd220ddb27e24c6be75ce6980e6663.jpg","text":"TemporaryFile(/tmp/multipartBody7997015262090744891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823763510,"filename":"image_15122025_19_00_25_10790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b420b1ee7c1dbdc8039921b6aed7f993.jpg","text":"TemporaryFile(/tmp/multipartBody6025051708783047480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823763510,"filename":"image_15122025_18_59_24_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399542076","file1":"1399542074","file0":"1399542072","file4":"1399542081","file5":"1399542084","file3":"1399542078"},"map_files_photo_id_array":[{"photo_id":"1399542084","filename":"file5"},{"photo_id":"1399542076","filename":"file2"},{"photo_id":"1399542081","filename":"file4"},{"photo_id":"1399542074","filename":"file1"},{"photo_id":"1399542072","filename":"file0"},{"photo_id":"1399542078","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399542076":["hashtag1","hashtag2"]},{"1399542084":["hashtag1","hashtag2"]},{"1399542078":["hashtag1","hashtag2"]},{"1399542072":["hashtag1","hashtag2"]},{"1399542081":["hashtag1","hashtag2"]},{"1399542074":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399542076, 1399542084, 1399542078, 1399542072, 1399542081, 1399542074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.405452489852905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 19:35:42.157324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_14_3747.jpg', '/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_16_2609.jpg', '/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_19_3127.jpg', '/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_26_6361.jpg', '/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_27_1673.jpg', '/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_29_1568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_14_3747.jpg
/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_16_2609.jpg
/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_19_3127.jpg
/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_26_6361.jpg
/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_27_1673.jpg
/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_29_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":["1399542106","1399542095","1399542089","1399542092","1399542091","1399542104"],"photo_ids_order":["1399542089","1399542091","1399542092","1399542095","1399542104","1399542106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2737dc2baae78ef263b068d8001dc0cc.jpg","text":"TemporaryFile(/tmp/multipartBody115278095202985948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823802865,"filename":"image_05112025_15_56_29_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/15/471edea36624d27e7b6cf0cff877643e.jpg","text":"TemporaryFile(/tmp/multipartBody887619929106734922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823802865,"filename":"image_05112025_15_56_26_6361.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6f8d2e8ec517302e11d0fdd9485da272.jpg","text":"TemporaryFile(/tmp/multipartBody5107015992997908001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823802865,"filename":"image_05112025_15_56_14_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/74d8c89c83976e3f74f9e58bc943f505.jpg","text":"TemporaryFile(/tmp/multipartBody4486310998740761176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823802865,"filename":"image_05112025_15_56_19_3127.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/11a512a17ae3c1a6820de24ac4ea1700.jpg","text":"TemporaryFile(/tmp/multipartBody4316580418602726009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823802865,"filename":"image_05112025_15_56_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/15/ee8c09c69e4b785dabb8e5ee416e8c7a.jpg","text":"TemporaryFile(/tmp/multipartBody216285206798728563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823802865,"filename":"image_05112025_15_56_27_1673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399542092","file1":"1399542091","file0":"1399542089","file4":"1399542104","file5":"1399542106","file3":"1399542095"},"map_files_photo_id_array":[{"photo_id":"1399542106","filename":"file5"},{"photo_id":"1399542092","filename":"file2"},{"photo_id":"1399542104","filename":"file4"},{"photo_id":"1399542091","filename":"file1"},{"photo_id":"1399542089","filename":"file0"},{"photo_id":"1399542095","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399542106":["hashtag1","hashtag2"]},{"1399542095":["hashtag1","hashtag2"]},{"1399542089":["hashtag1","hashtag2"]},{"1399542092":["hashtag1","hashtag2"]},{"1399542091":["hashtag1","hashtag2"]},{"1399542104":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399542106, 1399542095, 1399542089, 1399542092, 1399542091, 1399542104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48981475830078 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 19:36:22.555457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/19/00/image_15122025_19_00_55_10779.jpg', '/home/pi/Desktop/images/15122025/19/01/image_15122025_19_01_24_9644.jpg', '/home/pi/Desktop/images/15122025/19/01/image_15122025_19_01_35_10709.jpg', '/home/pi/Desktop/images/15122025/19/02/image_15122025_19_02_25_9702.jpg', '/home/pi/Desktop/images/15122025/19/02/image_15122025_19_02_34_9649.jpg', '/home/pi/Desktop/images/15122025/19/03/image_15122025_19_03_15_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/19/00/image_15122025_19_00_55_10779.jpg
/home/pi/Desktop/images/15122025/19/01/image_15122025_19_01_24_9644.jpg
/home/pi/Desktop/images/15122025/19/01/image_15122025_19_01_35_10709.jpg
/home/pi/Desktop/images/15122025/19/02/image_15122025_19_02_25_9702.jpg
/home/pi/Desktop/images/15122025/19/02/image_15122025_19_02_34_9649.jpg
/home/pi/Desktop/images/15122025/19/03/image_15122025_19_03_15_10627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399542142","1399542136","1399542139","1399542117","1399542132","1399542128"],"photo_ids_order":["1399542117","1399542128","1399542132","1399542136","1399542139","1399542142"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3aeafd7f479ed856e3a24ccaf2040ac8.jpg","text":"TemporaryFile(/tmp/multipartBody2922778613339697509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823843245,"filename":"image_15122025_19_03_15_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d1243460de3bcc692683934910c1c00b.jpg","text":"TemporaryFile(/tmp/multipartBody4062172369897996128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823843245,"filename":"image_15122025_19_02_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/15/4a3142057441b5e1f9fd492af251ad2a.jpg","text":"TemporaryFile(/tmp/multipartBody1907920670422304698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823843245,"filename":"image_15122025_19_02_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/15/06faed6f6591814e02df1fd05ab95407.jpg","text":"TemporaryFile(/tmp/multipartBody7067447458320631509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823843245,"filename":"image_15122025_19_00_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/15/d048d34eb215fdb54f7afab058dc00e4.jpg","text":"TemporaryFile(/tmp/multipartBody1509930985068352832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823843245,"filename":"image_15122025_19_01_35_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/97ad9812d9af242204bd15a94710763d.jpg","text":"TemporaryFile(/tmp/multipartBody3048052649556413148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823843245,"filename":"image_15122025_19_01_24_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399542132","file1":"1399542128","file0":"1399542117","file4":"1399542139","file5":"1399542142","file3":"1399542136"},"map_files_photo_id_array":[{"photo_id":"1399542142","filename":"file5"},{"photo_id":"1399542132","filename":"file2"},{"photo_id":"1399542139","filename":"file4"},{"photo_id":"1399542128","filename":"file1"},{"photo_id":"1399542117","filename":"file0"},{"photo_id":"1399542136","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399542142":["hashtag1","hashtag2"]},{"1399542136":["hashtag1","hashtag2"]},{"1399542139":["hashtag1","hashtag2"]},{"1399542117":["hashtag1","hashtag2"]},{"1399542132":["hashtag1","hashtag2"]},{"1399542128":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399542142, 1399542136, 1399542139, 1399542117, 1399542132, 1399542128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48534679412842 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 19:37:03.399447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/19/03/image_15122025_19_03_45_10689.jpg', '/home/pi/Desktop/images/15122025/19/03/image_15122025_19_03_55_9623.jpg', '/home/pi/Desktop/images/15122025/19/03/image_15122025_19_04_04_9709.jpg', '/home/pi/Desktop/images/15122025/19/04/image_15122025_19_04_15_10732.jpg', '/home/pi/Desktop/images/15122025/19/04/image_15122025_19_04_25_9894.jpg', '/home/pi/Desktop/images/15122025/19/04/image_15122025_19_04_44_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/19/03/image_15122025_19_03_45_10689.jpg
/home/pi/Desktop/images/15122025/19/03/image_15122025_19_03_55_9623.jpg
/home/pi/Desktop/images/15122025/19/03/image_15122025_19_04_04_9709.jpg
/home/pi/Desktop/images/15122025/19/04/image_15122025_19_04_15_10732.jpg
/home/pi/Desktop/images/15122025/19/04/image_15122025_19_04_25_9894.jpg
/home/pi/Desktop/images/15122025/19/04/image_15122025_19_04_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":["1399542232","1399542231","1399542234","1399542219","1399542230","1399542173"],"photo_ids_order":["1399542173","1399542219","1399542230","1399542231","1399542232","1399542234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/70eaa79644f61bc0b548e9877cb5fe2e.jpg","text":"TemporaryFile(/tmp/multipartBody3334757843342965226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823884068,"filename":"image_15122025_19_04_25_9894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a8dddf52ee4a5a48238adc2f4550ec20.jpg","text":"TemporaryFile(/tmp/multipartBody5575417481101997478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823884068,"filename":"image_15122025_19_04_15_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9a1873aca198bfd49dc264ad83e959b6.jpg","text":"TemporaryFile(/tmp/multipartBody6930961258992966183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823884068,"filename":"image_15122025_19_04_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/15/b99785b266583ca37909cc866385be98.jpg","text":"TemporaryFile(/tmp/multipartBody4070916790633094600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823884068,"filename":"image_15122025_19_03_55_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f942b6e572422548ec9340671ceb2f40.jpg","text":"TemporaryFile(/tmp/multipartBody5742387329331156044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823884068,"filename":"image_15122025_19_04_04_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fad288f07c4010d27f386897aad37212.jpg","text":"TemporaryFile(/tmp/multipartBody8968082964768234724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823884068,"filename":"image_15122025_19_03_45_10689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399542230","file1":"1399542219","file0":"1399542173","file4":"1399542232","file5":"1399542234","file3":"1399542231"},"map_files_photo_id_array":[{"photo_id":"1399542234","filename":"file5"},{"photo_id":"1399542230","filename":"file2"},{"photo_id":"1399542232","filename":"file4"},{"photo_id":"1399542219","filename":"file1"},{"photo_id":"1399542173","filename":"file0"},{"photo_id":"1399542231","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399542232":["hashtag1","hashtag2"]},{"1399542231":["hashtag1","hashtag2"]},{"1399542234":["hashtag1","hashtag2"]},{"1399542219":["hashtag1","hashtag2"]},{"1399542230":["hashtag1","hashtag2"]},{"1399542173":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399542232, 1399542231, 1399542234, 1399542219, 1399542230, 1399542173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.65908432006836 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-15 19:38:02.491177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/19/04/image_15122025_19_05_04_9275.jpg', '/home/pi/Desktop/images/15122025/19/05/image_15122025_19_05_25_9751.jpg', '/home/pi/Desktop/images/15122025/19/05/image_15122025_19_05_34_9566.jpg', '/home/pi/Desktop/images/15122025/19/05/image_15122025_19_05_45_10576.jpg', '/home/pi/Desktop/images/15122025/19/06/image_15122025_19_06_15_10701.jpg', '/home/pi/Desktop/images/15122025/19/06/image_15122025_19_06_25_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/19/04/image_15122025_19_05_04_9275.jpg
/home/pi/Desktop/images/15122025/19/05/image_15122025_19_05_25_9751.jpg
/home/pi/Desktop/images/15122025/19/05/image_15122025_19_05_34_9566.jpg
/home/pi/Desktop/images/15122025/19/05/image_15122025_19_05_45_10576.jpg
/home/pi/Desktop/images/15122025/19/06/image_15122025_19_06_15_10701.jpg
/home/pi/Desktop/images/15122025/19/06/image_15122025_19_06_25_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":["1399542253","1399542279","1399542258","1399542252","1399542255","1399542271"],"photo_ids_order":["1399542252","1399542253","1399542255","1399542258","1399542271","1399542279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c0e4cc085e7b0aaec0ea2b8285e51a9e.jpg","text":"TemporaryFile(/tmp/multipartBody5191716168454946106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823943100,"filename":"image_15122025_19_05_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/15/cdcfa3b94a7bffb20117818a68330a4c.jpg","text":"TemporaryFile(/tmp/multipartBody7894805602290980455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823943100,"filename":"image_15122025_19_06_25_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dc2bff9c041e0d044271ed1b4c191945.jpg","text":"TemporaryFile(/tmp/multipartBody1680493586825599139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823943100,"filename":"image_15122025_19_05_45_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b6f27e99827518beeed411ad42e38440.jpg","text":"TemporaryFile(/tmp/multipartBody7053877206947560947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823943100,"filename":"image_15122025_19_05_04_9275.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0b335f514f8ad3f817bdcbf4bfd6fec0.jpg","text":"TemporaryFile(/tmp/multipartBody1365247294998684385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823943100,"filename":"image_15122025_19_05_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/15/ecd0fc3fba595613f57a15e82e7d1c20.jpg","text":"TemporaryFile(/tmp/multipartBody67546193988760385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823943100,"filename":"image_15122025_19_06_15_10701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399542255","file1":"1399542253","file0":"1399542252","file4":"1399542271","file5":"1399542279","file3":"1399542258"},"map_files_photo_id_array":[{"photo_id":"1399542279","filename":"file5"},{"photo_id":"1399542255","filename":"file2"},{"photo_id":"1399542271","filename":"file4"},{"photo_id":"1399542253","filename":"file1"},{"photo_id":"1399542252","filename":"file0"},{"photo_id":"1399542258","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399542253":["hashtag1","hashtag2"]},{"1399542279":["hashtag1","hashtag2"]},{"1399542258":["hashtag1","hashtag2"]},{"1399542252":["hashtag1","hashtag2"]},{"1399542255":["hashtag1","hashtag2"]},{"1399542271":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399542253, 1399542279, 1399542258, 1399542252, 1399542255, 1399542271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34120798110962 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 19:38:41.938663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_32_2749.jpg', '/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_34_2687.jpg', '/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_37_2535.jpg', '/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_41_4393.jpg', '/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_43_1676.jpg', '/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_47_3751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_32_2749.jpg
/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_34_2687.jpg
/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_37_2535.jpg
/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_41_4393.jpg
/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_43_1676.jpg
/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_47_3751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399542294","1399542297","1399542300","1399542299","1399542298","1399542302"],"photo_ids_order":["1399542294","1399542297","1399542298","1399542299","1399542300","1399542302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/76cb1ffb1a22ec6b0a5688171b0dad4f.jpg","text":"TemporaryFile(/tmp/multipartBody2559441473126310345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823982647,"filename":"image_05112025_15_56_32_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/15/d5a447f78f7d57ed92d59869c918df39.jpg","text":"TemporaryFile(/tmp/multipartBody713875469069510944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823982647,"filename":"image_05112025_15_56_34_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b03133b6c9c400c6257cf23b71c83718.jpg","text":"TemporaryFile(/tmp/multipartBody4625891047954985448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823982647,"filename":"image_05112025_15_56_43_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a09a913013c8319de7cc304dbee3601a.jpg","text":"TemporaryFile(/tmp/multipartBody6904089726199324654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823982647,"filename":"image_05112025_15_56_41_4393.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8b1e555ec2d7cb1823c63c4f9b7a3516.jpg","text":"TemporaryFile(/tmp/multipartBody1706179094214289093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823982647,"filename":"image_05112025_15_56_37_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/15/8e83033972b2a4a33fc7a2f915366d1b.jpg","text":"TemporaryFile(/tmp/multipartBody6352595688280785540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765823982647,"filename":"image_05112025_15_56_47_3751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399542298","file1":"1399542297","file0":"1399542294","file4":"1399542300","file5":"1399542302","file3":"1399542299"},"map_files_photo_id_array":[{"photo_id":"1399542302","filename":"file5"},{"photo_id":"1399542298","filename":"file2"},{"photo_id":"1399542300","filename":"file4"},{"photo_id":"1399542297","filename":"file1"},{"photo_id":"1399542294","filename":"file0"},{"photo_id":"1399542299","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399542294":["hashtag1","hashtag2"]},{"1399542297":["hashtag1","hashtag2"]},{"1399542300":["hashtag1","hashtag2"]},{"1399542299":["hashtag1","hashtag2"]},{"1399542298":["hashtag1","hashtag2"]},{"1399542302":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399542294, 1399542297, 1399542300, 1399542299, 1399542298, 1399542302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66569995880127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 19:39:22.316329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/19/06/image_15122025_19_06_34_9678.jpg', '/home/pi/Desktop/images/15122025/19/06/image_15122025_19_06_45_10688.jpg', '/home/pi/Desktop/images/15122025/19/06/image_15122025_19_06_55_9770.jpg', '/home/pi/Desktop/images/15122025/19/06/image_15122025_19_07_04_9638.jpg', '/home/pi/Desktop/images/15122025/19/07/image_15122025_19_07_15_10589.jpg', '/home/pi/Desktop/images/15122025/19/07/image_15122025_19_07_55_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/19/06/image_15122025_19_06_34_9678.jpg
/home/pi/Desktop/images/15122025/19/06/image_15122025_19_06_45_10688.jpg
/home/pi/Desktop/images/15122025/19/06/image_15122025_19_06_55_9770.jpg
/home/pi/Desktop/images/15122025/19/06/image_15122025_19_07_04_9638.jpg
/home/pi/Desktop/images/15122025/19/07/image_15122025_19_07_15_10589.jpg
/home/pi/Desktop/images/15122025/19/07/image_15122025_19_07_55_10681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399542319","1399542312","1399542321","1399542323","1399542314","1399542317"],"photo_ids_order":["1399542312","1399542314","1399542317","1399542319","1399542321","1399542323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5f80a65626320178183891e67fb4c84d.jpg","text":"TemporaryFile(/tmp/multipartBody2270065755123110676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824022946,"filename":"image_15122025_19_07_04_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/393ce431a0a586720c8af26d50cef5b2.jpg","text":"TemporaryFile(/tmp/multipartBody4997014504098255688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824022946,"filename":"image_15122025_19_06_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/15/0654b5fca470060f3d8acc7bd41f1dab.jpg","text":"TemporaryFile(/tmp/multipartBody6847506067682365940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824022946,"filename":"image_15122025_19_07_15_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2eadded599324a64b4eac84a8d06cff7.jpg","text":"TemporaryFile(/tmp/multipartBody8442159822136929407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824022946,"filename":"image_15122025_19_07_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/15/2f23b4087d80487aef030d32068e0303.jpg","text":"TemporaryFile(/tmp/multipartBody8365624524366961153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824022946,"filename":"image_15122025_19_06_45_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e01a54185f885bd83dc67a51ce2431a3.jpg","text":"TemporaryFile(/tmp/multipartBody305571291359393645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824022946,"filename":"image_15122025_19_06_55_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399542317","file1":"1399542314","file0":"1399542312","file4":"1399542321","file5":"1399542323","file3":"1399542319"},"map_files_photo_id_array":[{"photo_id":"1399542323","filename":"file5"},{"photo_id":"1399542317","filename":"file2"},{"photo_id":"1399542321","filename":"file4"},{"photo_id":"1399542314","filename":"file1"},{"photo_id":"1399542312","filename":"file0"},{"photo_id":"1399542319","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399542319":["hashtag1","hashtag2"]},{"1399542312":["hashtag1","hashtag2"]},{"1399542321":["hashtag1","hashtag2"]},{"1399542323":["hashtag1","hashtag2"]},{"1399542314":["hashtag1","hashtag2"]},{"1399542317":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399542319, 1399542312, 1399542321, 1399542323, 1399542314, 1399542317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.418577432632446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 19:40:02.961484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/19/08/image_15122025_19_08_15_10646.jpg', '/home/pi/Desktop/images/15122025/19/08/image_15122025_19_08_25_9731.jpg', '/home/pi/Desktop/images/15122025/19/08/image_15122025_19_08_34_9644.jpg', '/home/pi/Desktop/images/15122025/19/08/image_15122025_19_08_55_9794.jpg', '/home/pi/Desktop/images/15122025/19/09/image_15122025_19_09_44_9677.jpg', '/home/pi/Desktop/images/15122025/19/10/image_15122025_19_10_44_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/19/08/image_15122025_19_08_15_10646.jpg
/home/pi/Desktop/images/15122025/19/08/image_15122025_19_08_25_9731.jpg
/home/pi/Desktop/images/15122025/19/08/image_15122025_19_08_34_9644.jpg
/home/pi/Desktop/images/15122025/19/08/image_15122025_19_08_55_9794.jpg
/home/pi/Desktop/images/15122025/19/09/image_15122025_19_09_44_9677.jpg
/home/pi/Desktop/images/15122025/19/10/image_15122025_19_10_44_9712.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5436584949493408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 19:40:12.480254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 19:40:22.491466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/19/08/image_15122025_19_08_15_10646.jpg', '/home/pi/Desktop/images/15122025/19/08/image_15122025_19_08_25_9731.jpg', '/home/pi/Desktop/images/15122025/19/08/image_15122025_19_08_34_9644.jpg', '/home/pi/Desktop/images/15122025/19/08/image_15122025_19_08_55_9794.jpg', '/home/pi/Desktop/images/15122025/19/09/image_15122025_19_09_44_9677.jpg', '/home/pi/Desktop/images/15122025/19/10/image_15122025_19_10_44_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/19/08/image_15122025_19_08_15_10646.jpg
/home/pi/Desktop/images/15122025/19/08/image_15122025_19_08_25_9731.jpg
/home/pi/Desktop/images/15122025/19/08/image_15122025_19_08_34_9644.jpg
/home/pi/Desktop/images/15122025/19/08/image_15122025_19_08_55_9794.jpg
/home/pi/Desktop/images/15122025/19/09/image_15122025_19_09_44_9677.jpg
/home/pi/Desktop/images/15122025/19/10/image_15122025_19_10_44_9712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399542526","1399542508","1399542523","1399542510","1399542516","1399542506"],"photo_ids_order":["1399542506","1399542508","1399542510","1399542516","1399542523","1399542526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bdf705e547835212b216ddb52ca1f6d3.jpg","text":"TemporaryFile(/tmp/multipartBody797832421666161628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824083129,"filename":"image_15122025_19_10_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/15/cfeeaa68db787cc2401b55fcd6cac59b.jpg","text":"TemporaryFile(/tmp/multipartBody1694225956404885852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824083129,"filename":"image_15122025_19_08_25_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b2083766016bb171ef459af8b08f556c.jpg","text":"TemporaryFile(/tmp/multipartBody8144501591540995763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824083129,"filename":"image_15122025_19_09_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/15/ca51db00322036dfbde7265bf82974ad.jpg","text":"TemporaryFile(/tmp/multipartBody7562839180621507218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824083129,"filename":"image_15122025_19_08_34_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/99994c091b6dc0f5ce419d25966d8346.jpg","text":"TemporaryFile(/tmp/multipartBody6492550001713051330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824083129,"filename":"image_15122025_19_08_55_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/15/ba5e8579935985b23b8ad17794b7ee7c.jpg","text":"TemporaryFile(/tmp/multipartBody8902059475456497388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824083129,"filename":"image_15122025_19_08_15_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399542510","file1":"1399542508","file0":"1399542506","file4":"1399542523","file5":"1399542526","file3":"1399542516"},"map_files_photo_id_array":[{"photo_id":"1399542526","filename":"file5"},{"photo_id":"1399542510","filename":"file2"},{"photo_id":"1399542523","filename":"file4"},{"photo_id":"1399542508","filename":"file1"},{"photo_id":"1399542506","filename":"file0"},{"photo_id":"1399542516","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399542526":["hashtag1","hashtag2"]},{"1399542508":["hashtag1","hashtag2"]},{"1399542523":["hashtag1","hashtag2"]},{"1399542510":["hashtag1","hashtag2"]},{"1399542516":["hashtag1","hashtag2"]},{"1399542506":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399542526, 1399542508, 1399542523, 1399542510, 1399542516, 1399542506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23182678222656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 19:41:03.324852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/19/11/image_15122025_19_11_35_10076.jpg', '/home/pi/Desktop/images/15122025/19/11/image_15122025_19_12_04_9756.jpg', '/home/pi/Desktop/images/15122025/19/13/image_15122025_19_13_25_10804.jpg', '/home/pi/Desktop/images/15122025/19/14/image_15122025_19_14_25_10196.jpg', '/home/pi/Desktop/images/15122025/19/15/image_15122025_19_15_14_9728.jpg', '/home/pi/Desktop/images/15122025/19/15/image_15122025_19_16_04_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/19/11/image_15122025_19_11_35_10076.jpg
/home/pi/Desktop/images/15122025/19/11/image_15122025_19_12_04_9756.jpg
/home/pi/Desktop/images/15122025/19/13/image_15122025_19_13_25_10804.jpg
/home/pi/Desktop/images/15122025/19/14/image_15122025_19_14_25_10196.jpg
/home/pi/Desktop/images/15122025/19/15/image_15122025_19_15_14_9728.jpg
/home/pi/Desktop/images/15122025/19/15/image_15122025_19_16_04_9610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399542555","1399542570","1399542564","1399542549","1399542572","1399542569"],"photo_ids_order":["1399542549","1399542555","1399542564","1399542569","1399542570","1399542572"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1c3c48e1931254daa2b97151c313b232.jpg","text":"TemporaryFile(/tmp/multipartBody8157774202159319971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824124063,"filename":"image_15122025_19_12_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/15/6d83b7254c0365e4830e7fa8c03514c5.jpg","text":"TemporaryFile(/tmp/multipartBody2598052655658247746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824124063,"filename":"image_15122025_19_15_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/15/4d6d4547467475044674e0242fba954c.jpg","text":"TemporaryFile(/tmp/multipartBody7108472245068681201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824124063,"filename":"image_15122025_19_13_25_10804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7decd53bb593b8a223ebf79317dcfc56.jpg","text":"TemporaryFile(/tmp/multipartBody3224499008707625571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824124063,"filename":"image_15122025_19_11_35_10076.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9885d9f05970382dbca0382b9a488fbf.jpg","text":"TemporaryFile(/tmp/multipartBody5919190746685380084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824124063,"filename":"image_15122025_19_16_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/15/3fa609705383ede23e503e7c8c46bc85.jpg","text":"TemporaryFile(/tmp/multipartBody3712987254696200769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824124063,"filename":"image_15122025_19_14_25_10196.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399542564","file1":"1399542555","file0":"1399542549","file4":"1399542570","file5":"1399542572","file3":"1399542569"},"map_files_photo_id_array":[{"photo_id":"1399542572","filename":"file5"},{"photo_id":"1399542564","filename":"file2"},{"photo_id":"1399542570","filename":"file4"},{"photo_id":"1399542555","filename":"file1"},{"photo_id":"1399542549","filename":"file0"},{"photo_id":"1399542569","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399542555":["hashtag1","hashtag2"]},{"1399542570":["hashtag1","hashtag2"]},{"1399542564":["hashtag1","hashtag2"]},{"1399542549":["hashtag1","hashtag2"]},{"1399542572":["hashtag1","hashtag2"]},{"1399542569":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399542555, 1399542570, 1399542564, 1399542549, 1399542572, 1399542569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44318246841431 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 19:41:42.687847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_50_2724.jpg', '/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_53_3274.jpg', '/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_55_2681.jpg', '/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_58_2510.jpg', '/home/pi/Desktop/images/05112025/15/57/image_05112025_15_57_02_3810.jpg', '/home/pi/Desktop/images/05112025/15/57/image_05112025_15_57_13_10882.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_50_2724.jpg
/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_53_3274.jpg
/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_55_2681.jpg
/home/pi/Desktop/images/05112025/15/56/image_05112025_15_56_58_2510.jpg
/home/pi/Desktop/images/05112025/15/57/image_05112025_15_57_02_3810.jpg
/home/pi/Desktop/images/05112025/15/57/image_05112025_15_57_13_10882.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399542582","1399542584","1399542578","1399542581","1399542580","1399542583"],"photo_ids_order":["1399542578","1399542580","1399542581","1399542582","1399542583","1399542584"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ccb23213d40039668ee534fe5905f33c.jpg","text":"TemporaryFile(/tmp/multipartBody1654919973924844495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824163482,"filename":"image_05112025_15_56_58_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/15/599cfe66f24d1bf4307be73fc3a29ef9.jpg","text":"TemporaryFile(/tmp/multipartBody59830567481350929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824163482,"filename":"image_05112025_15_57_13_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/15/81870b8d9cb41b77c94ecc09926592b9.jpg","text":"TemporaryFile(/tmp/multipartBody8538043241552898645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824163482,"filename":"image_05112025_15_56_50_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/15/5e11b641c08a517e3aa480cd2c0d3ab8.jpg","text":"TemporaryFile(/tmp/multipartBody6217039468053611434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824163482,"filename":"image_05112025_15_56_55_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/15/491070a05d09ab32ba2c585698a2843a.jpg","text":"TemporaryFile(/tmp/multipartBody2030024883319958254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824163482,"filename":"image_05112025_15_56_53_3274.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/87cce9313c57e2cd8db5f8e4873ed1ff.jpg","text":"TemporaryFile(/tmp/multipartBody2913032513806384756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824163482,"filename":"image_05112025_15_57_02_3810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399542581","file1":"1399542580","file0":"1399542578","file4":"1399542583","file5":"1399542584","file3":"1399542582"},"map_files_photo_id_array":[{"photo_id":"1399542584","filename":"file5"},{"photo_id":"1399542581","filename":"file2"},{"photo_id":"1399542583","filename":"file4"},{"photo_id":"1399542580","filename":"file1"},{"photo_id":"1399542578","filename":"file0"},{"photo_id":"1399542582","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399542582":["hashtag1","hashtag2"]},{"1399542584":["hashtag1","hashtag2"]},{"1399542578":["hashtag1","hashtag2"]},{"1399542581":["hashtag1","hashtag2"]},{"1399542580":["hashtag1","hashtag2"]},{"1399542583":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399542582, 1399542584, 1399542578, 1399542581, 1399542580, 1399542583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.756473541259766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 19:42:21.966927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/19/17/image_15122025_19_17_15_10749.jpg', '/home/pi/Desktop/images/15122025/19/17/image_15122025_19_17_44_9720.jpg', '/home/pi/Desktop/images/15122025/19/18/image_15122025_19_18_14_9560.jpg', '/home/pi/Desktop/images/15122025/19/19/image_15122025_19_19_54_9718.jpg', '/home/pi/Desktop/images/15122025/19/20/image_15122025_19_20_55_9873.jpg', '/home/pi/Desktop/images/15122025/19/21/image_15122025_19_21_25_9544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/19/17/image_15122025_19_17_15_10749.jpg
/home/pi/Desktop/images/15122025/19/17/image_15122025_19_17_44_9720.jpg
/home/pi/Desktop/images/15122025/19/18/image_15122025_19_18_14_9560.jpg
/home/pi/Desktop/images/15122025/19/19/image_15122025_19_19_54_9718.jpg
/home/pi/Desktop/images/15122025/19/20/image_15122025_19_20_55_9873.jpg
/home/pi/Desktop/images/15122025/19/21/image_15122025_19_21_25_9544.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399542613","1399542591","1399542606","1399542599","1399542602","1399542595"],"photo_ids_order":["1399542591","1399542595","1399542599","1399542602","1399542606","1399542613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b9c923ffe34b1c204d5a25bee87435c4.jpg","text":"TemporaryFile(/tmp/multipartBody3205332633891814543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824202646,"filename":"image_15122025_19_21_25_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/15/087e75cad62a8670f3bc6e510d6326f3.jpg","text":"TemporaryFile(/tmp/multipartBody2126498567053105826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824202646,"filename":"image_15122025_19_17_15_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b65a0e8c2bf8415750fe1d3783b65d48.jpg","text":"TemporaryFile(/tmp/multipartBody3075655260321061516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824202646,"filename":"image_15122025_19_20_55_9873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/10fde41735186eb41e0f7140c2448816.jpg","text":"TemporaryFile(/tmp/multipartBody7964594363846593053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824202646,"filename":"image_15122025_19_18_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/15/8fdc78569e4f655bf9704dde2faa1236.jpg","text":"TemporaryFile(/tmp/multipartBody1460671087206952280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824202646,"filename":"image_15122025_19_19_54_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4a376aac6e178eec692c1ffe6d9d4e73.jpg","text":"TemporaryFile(/tmp/multipartBody9029181576245958583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824202646,"filename":"image_15122025_19_17_44_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399542599","file1":"1399542595","file0":"1399542591","file4":"1399542606","file5":"1399542613","file3":"1399542602"},"map_files_photo_id_array":[{"photo_id":"1399542613","filename":"file5"},{"photo_id":"1399542599","filename":"file2"},{"photo_id":"1399542606","filename":"file4"},{"photo_id":"1399542595","filename":"file1"},{"photo_id":"1399542591","filename":"file0"},{"photo_id":"1399542602","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399542613":["hashtag1","hashtag2"]},{"1399542591":["hashtag1","hashtag2"]},{"1399542606":["hashtag1","hashtag2"]},{"1399542599":["hashtag1","hashtag2"]},{"1399542602":["hashtag1","hashtag2"]},{"1399542595":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399542613, 1399542591, 1399542606, 1399542599, 1399542602, 1399542595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82345509529114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 19:43:02.926752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/19/21/image_15122025_19_21_45_10010.jpg', '/home/pi/Desktop/images/15122025/19/21/image_15122025_19_21_54_9629.jpg', '/home/pi/Desktop/images/15122025/19/21/image_15122025_19_22_04_10244.jpg', '/home/pi/Desktop/images/15122025/19/22/image_15122025_19_22_35_9777.jpg', '/home/pi/Desktop/images/15122025/19/23/image_15122025_19_23_14_9764.jpg', '/home/pi/Desktop/images/15122025/19/23/image_15122025_19_23_25_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/19/21/image_15122025_19_21_45_10010.jpg
/home/pi/Desktop/images/15122025/19/21/image_15122025_19_21_54_9629.jpg
/home/pi/Desktop/images/15122025/19/21/image_15122025_19_22_04_10244.jpg
/home/pi/Desktop/images/15122025/19/22/image_15122025_19_22_35_9777.jpg
/home/pi/Desktop/images/15122025/19/23/image_15122025_19_23_14_9764.jpg
/home/pi/Desktop/images/15122025/19/23/image_15122025_19_23_25_10613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399542673","1399542652","1399542678","1399542657","1399542633","1399542689"],"photo_ids_order":["1399542633","1399542652","1399542657","1399542673","1399542678","1399542689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cd4f06cba7a17528875f41ed451b2feb.jpg","text":"TemporaryFile(/tmp/multipartBody635180851884153186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824243642,"filename":"image_15122025_19_22_35_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e759a68d682a858bec8768c259c621cd.jpg","text":"TemporaryFile(/tmp/multipartBody9120555768615093036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824243642,"filename":"image_15122025_19_21_54_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0f784c851b28338efdcff01f6d0e918e.jpg","text":"TemporaryFile(/tmp/multipartBody5357244445586997184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824243642,"filename":"image_15122025_19_23_14_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f1b79bb6b53b043fb770049f6b04d737.jpg","text":"TemporaryFile(/tmp/multipartBody3446900991009719154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824243642,"filename":"image_15122025_19_22_04_10244.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bba1d0e295784e778f68d02ac8fd6671.jpg","text":"TemporaryFile(/tmp/multipartBody6625757883034595562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824243642,"filename":"image_15122025_19_21_45_10010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3f5d07a92ce95c5607bf41d30863277c.jpg","text":"TemporaryFile(/tmp/multipartBody4978192316807012025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824243642,"filename":"image_15122025_19_23_25_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399542657","file1":"1399542652","file0":"1399542633","file4":"1399542678","file5":"1399542689","file3":"1399542673"},"map_files_photo_id_array":[{"photo_id":"1399542689","filename":"file5"},{"photo_id":"1399542657","filename":"file2"},{"photo_id":"1399542678","filename":"file4"},{"photo_id":"1399542652","filename":"file1"},{"photo_id":"1399542633","filename":"file0"},{"photo_id":"1399542673","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399542673":["hashtag1","hashtag2"]},{"1399542652":["hashtag1","hashtag2"]},{"1399542678":["hashtag1","hashtag2"]},{"1399542657":["hashtag1","hashtag2"]},{"1399542633":["hashtag1","hashtag2"]},{"1399542689":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399542673, 1399542652, 1399542678, 1399542657, 1399542633, 1399542689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50841951370239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 19:43:42.132571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/57/image_05112025_15_57_30_17575.jpg', '/home/pi/Desktop/images/05112025/15/58/image_05112025_15_58_08_37766.jpg', '/home/pi/Desktop/images/05112025/15/59/image_05112025_15_59_17_3019.jpg', '/home/pi/Desktop/images/05112025/15/59/image_05112025_15_59_24_7250.jpg', '/home/pi/Desktop/images/05112025/15/59/image_05112025_15_59_26_1770.jpg', '/home/pi/Desktop/images/05112025/15/59/image_05112025_15_59_28_1643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/57/image_05112025_15_57_30_17575.jpg
/home/pi/Desktop/images/05112025/15/58/image_05112025_15_58_08_37766.jpg
/home/pi/Desktop/images/05112025/15/59/image_05112025_15_59_17_3019.jpg
/home/pi/Desktop/images/05112025/15/59/image_05112025_15_59_24_7250.jpg
/home/pi/Desktop/images/05112025/15/59/image_05112025_15_59_26_1770.jpg
/home/pi/Desktop/images/05112025/15/59/image_05112025_15_59_28_1643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399542706","1399542699","1399542708","1399542698","1399542702","1399542707"],"photo_ids_order":["1399542698","1399542699","1399542702","1399542706","1399542707","1399542708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/edbe8b99be76ad7081d189d1dde15ac1.jpg","text":"TemporaryFile(/tmp/multipartBody7295590324750791674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824282836,"filename":"image_05112025_15_59_24_7250.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4419f236477e15fae2da707a3aa58f9e.jpg","text":"TemporaryFile(/tmp/multipartBody92736232225966880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824282836,"filename":"image_05112025_15_58_08_37766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9a3de5a230562ac5bb0e95287eb8233f.jpg","text":"TemporaryFile(/tmp/multipartBody3450076460292002305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824282836,"filename":"image_05112025_15_59_28_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/15/7f514e3586ce681b66b88e552650eddb.jpg","text":"TemporaryFile(/tmp/multipartBody1679004762638890661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824282836,"filename":"image_05112025_15_57_30_17575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6f83585b842cf5eba3728dfd23114991.jpg","text":"TemporaryFile(/tmp/multipartBody4115286312095937336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824282836,"filename":"image_05112025_15_59_17_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/15/af55115ecbc65818c6cbb5c2b34258d4.jpg","text":"TemporaryFile(/tmp/multipartBody7037249954414250131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824282836,"filename":"image_05112025_15_59_26_1770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399542702","file1":"1399542699","file0":"1399542698","file4":"1399542707","file5":"1399542708","file3":"1399542706"},"map_files_photo_id_array":[{"photo_id":"1399542708","filename":"file5"},{"photo_id":"1399542702","filename":"file2"},{"photo_id":"1399542707","filename":"file4"},{"photo_id":"1399542699","filename":"file1"},{"photo_id":"1399542698","filename":"file0"},{"photo_id":"1399542706","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399542706":["hashtag1","hashtag2"]},{"1399542699":["hashtag1","hashtag2"]},{"1399542708":["hashtag1","hashtag2"]},{"1399542698":["hashtag1","hashtag2"]},{"1399542702":["hashtag1","hashtag2"]},{"1399542707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399542706, 1399542699, 1399542708, 1399542698, 1399542702, 1399542707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03404116630554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 19:44:22.371015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/19/23/image_15122025_19_23_44_9609.jpg', '/home/pi/Desktop/images/15122025/19/23/image_15122025_19_23_54_9893.jpg', '/home/pi/Desktop/images/15122025/19/24/image_15122025_19_24_45_10749.jpg', '/home/pi/Desktop/images/15122025/19/25/image_15122025_19_25_14_9726.jpg', '/home/pi/Desktop/images/15122025/19/25/image_15122025_19_25_35_10614.jpg', '/home/pi/Desktop/images/15122025/19/26/image_15122025_19_26_35_10318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/19/23/image_15122025_19_23_44_9609.jpg
/home/pi/Desktop/images/15122025/19/23/image_15122025_19_23_54_9893.jpg
/home/pi/Desktop/images/15122025/19/24/image_15122025_19_24_45_10749.jpg
/home/pi/Desktop/images/15122025/19/25/image_15122025_19_25_14_9726.jpg
/home/pi/Desktop/images/15122025/19/25/image_15122025_19_25_35_10614.jpg
/home/pi/Desktop/images/15122025/19/26/image_15122025_19_26_35_10318.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5703127384185791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 19:44:32.411264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 19:44:42.372646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/15/59/image_05112025_15_59_29_1665.jpg', '/home/pi/Desktop/images/05112025/15/59/image_05112025_15_59_49_19327.jpg', '/home/pi/Desktop/images/05112025/15/59/image_05112025_15_59_50_1885.jpg', '/home/pi/Desktop/images/05112025/15/59/image_05112025_15_59_52_1601.jpg', '/home/pi/Desktop/images/05112025/15/59/image_05112025_15_59_54_1513.jpg', '/home/pi/Desktop/images/05112025/15/59/image_05112025_15_59_55_1668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/15/59/image_05112025_15_59_29_1665.jpg
/home/pi/Desktop/images/05112025/15/59/image_05112025_15_59_49_19327.jpg
/home/pi/Desktop/images/05112025/15/59/image_05112025_15_59_50_1885.jpg
/home/pi/Desktop/images/05112025/15/59/image_05112025_15_59_52_1601.jpg
/home/pi/Desktop/images/05112025/15/59/image_05112025_15_59_54_1513.jpg
/home/pi/Desktop/images/05112025/15/59/image_05112025_15_59_55_1668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399542916","1399542913","1399542924","1399542918","1399542917","1399542874"],"photo_ids_order":["1399542874","1399542913","1399542916","1399542917","1399542918","1399542924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/de0dd74b6aff90e2993140751e057829.jpg","text":"TemporaryFile(/tmp/multipartBody1013442943831873549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824343077,"filename":"image_05112025_15_59_50_1885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d16e94f368cf751c693a5445b81cd747.jpg","text":"TemporaryFile(/tmp/multipartBody784290656898934442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824343077,"filename":"image_05112025_15_59_49_19327.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6a2d01f550a805f1b5ac9117653469d8.jpg","text":"TemporaryFile(/tmp/multipartBody3526833651240079388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824343077,"filename":"image_05112025_15_59_55_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/15/118199c67612327b2e5c927f55761849.jpg","text":"TemporaryFile(/tmp/multipartBody2054115791575747836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824343077,"filename":"image_05112025_15_59_54_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/15/f75428a8382e8b93856c3d808e5429e3.jpg","text":"TemporaryFile(/tmp/multipartBody5129272277037756765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824343077,"filename":"image_05112025_15_59_52_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/15/4bf974cf20ffcbd1cfb760b2eeb88bf8.jpg","text":"TemporaryFile(/tmp/multipartBody6303002206491070301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824343077,"filename":"image_05112025_15_59_29_1665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399542916","file1":"1399542913","file0":"1399542874","file4":"1399542918","file5":"1399542924","file3":"1399542917"},"map_files_photo_id_array":[{"photo_id":"1399542924","filename":"file5"},{"photo_id":"1399542916","filename":"file2"},{"photo_id":"1399542918","filename":"file4"},{"photo_id":"1399542913","filename":"file1"},{"photo_id":"1399542874","filename":"file0"},{"photo_id":"1399542917","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399542916":["hashtag1","hashtag2"]},{"1399542913":["hashtag1","hashtag2"]},{"1399542924":["hashtag1","hashtag2"]},{"1399542918":["hashtag1","hashtag2"]},{"1399542917":["hashtag1","hashtag2"]},{"1399542874":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399542916, 1399542913, 1399542924, 1399542918, 1399542917, 1399542874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.000056743621826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 19:45:22.602992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/19/23/image_15122025_19_23_44_9609.jpg', '/home/pi/Desktop/images/15122025/19/23/image_15122025_19_23_54_9893.jpg', '/home/pi/Desktop/images/15122025/19/24/image_15122025_19_24_45_10749.jpg', '/home/pi/Desktop/images/15122025/19/25/image_15122025_19_25_14_9726.jpg', '/home/pi/Desktop/images/15122025/19/25/image_15122025_19_25_35_10614.jpg', '/home/pi/Desktop/images/15122025/19/26/image_15122025_19_26_35_10318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/19/23/image_15122025_19_23_44_9609.jpg
/home/pi/Desktop/images/15122025/19/23/image_15122025_19_23_54_9893.jpg
/home/pi/Desktop/images/15122025/19/24/image_15122025_19_24_45_10749.jpg
/home/pi/Desktop/images/15122025/19/25/image_15122025_19_25_14_9726.jpg
/home/pi/Desktop/images/15122025/19/25/image_15122025_19_25_35_10614.jpg
/home/pi/Desktop/images/15122025/19/26/image_15122025_19_26_35_10318.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399543095","1399543032","1399543134","1399543175","1399542995","1399543214"],"photo_ids_order":["1399542995","1399543032","1399543095","1399543134","1399543175","1399543214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/77b163a71fadafa272e9c74859118253.jpg","text":"TemporaryFile(/tmp/multipartBody339741188189634452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824383277,"filename":"image_15122025_19_24_45_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/33ebc20e38d25086009d777d7ba7fb42.jpg","text":"TemporaryFile(/tmp/multipartBody452783192531948514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824383277,"filename":"image_15122025_19_23_54_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/15/dd372a257be66a27a24470f390cf2634.jpg","text":"TemporaryFile(/tmp/multipartBody985257324718125225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824383277,"filename":"image_15122025_19_25_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/15/ed57c87a4ca96a565795be093c34c241.jpg","text":"TemporaryFile(/tmp/multipartBody2322288047852618644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824383277,"filename":"image_15122025_19_25_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/15/39255e68e3a6944e10572d9424889a24.jpg","text":"TemporaryFile(/tmp/multipartBody3191535187020094304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824383277,"filename":"image_15122025_19_23_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/15/e7dcc85f2c8ffe561ed344c96b210f8e.jpg","text":"TemporaryFile(/tmp/multipartBody3527541453409056248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824383277,"filename":"image_15122025_19_26_35_10318.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399543095","file1":"1399543032","file0":"1399542995","file4":"1399543175","file5":"1399543214","file3":"1399543134"},"map_files_photo_id_array":[{"photo_id":"1399543214","filename":"file5"},{"photo_id":"1399543095","filename":"file2"},{"photo_id":"1399543175","filename":"file4"},{"photo_id":"1399543032","filename":"file1"},{"photo_id":"1399542995","filename":"file0"},{"photo_id":"1399543134","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399543095":["hashtag1","hashtag2"]},{"1399543032":["hashtag1","hashtag2"]},{"1399543134":["hashtag1","hashtag2"]},{"1399543175":["hashtag1","hashtag2"]},{"1399542995":["hashtag1","hashtag2"]},{"1399543214":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399543095, 1399543032, 1399543134, 1399543175, 1399542995, 1399543214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.133699893951416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 19:46:02.274061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/19/28/image_15122025_19_28_54_9848.jpg', '/home/pi/Desktop/images/15122025/19/29/image_15122025_19_29_24_9879.jpg', '/home/pi/Desktop/images/15122025/19/31/image_15122025_19_31_13_10040.jpg', '/home/pi/Desktop/images/15122025/19/31/image_15122025_19_31_24_10556.jpg', '/home/pi/Desktop/images/15122025/19/31/image_15122025_19_31_43_9721.jpg', '/home/pi/Desktop/images/15122025/19/31/image_15122025_19_31_54_10609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/19/28/image_15122025_19_28_54_9848.jpg
/home/pi/Desktop/images/15122025/19/29/image_15122025_19_29_24_9879.jpg
/home/pi/Desktop/images/15122025/19/31/image_15122025_19_31_13_10040.jpg
/home/pi/Desktop/images/15122025/19/31/image_15122025_19_31_24_10556.jpg
/home/pi/Desktop/images/15122025/19/31/image_15122025_19_31_43_9721.jpg
/home/pi/Desktop/images/15122025/19/31/image_15122025_19_31_54_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":["1399543336","1399543315","1399543332","1399543334","1399543337","1399543339"],"photo_ids_order":["1399543315","1399543332","1399543334","1399543336","1399543337","1399543339"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c6affe91269737e834f293e219932f83.jpg","text":"TemporaryFile(/tmp/multipartBody5181035545112368596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824422917,"filename":"image_15122025_19_31_24_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/15/b5c357e6589b2545e2e845bd453c57c4.jpg","text":"TemporaryFile(/tmp/multipartBody2412571911818820484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824422917,"filename":"image_15122025_19_28_54_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3a08864a5b34ba83f0a2a5e5eff3bc24.jpg","text":"TemporaryFile(/tmp/multipartBody5428298224758803637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824422917,"filename":"image_15122025_19_29_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/15/9725bb9bdf35cf5aa6ff837d427d317d.jpg","text":"TemporaryFile(/tmp/multipartBody1431028906791602384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824422917,"filename":"image_15122025_19_31_13_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/15/3edff9667a2618996b982eb6b6a97a47.jpg","text":"TemporaryFile(/tmp/multipartBody5837521551977139376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824422917,"filename":"image_15122025_19_31_43_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ca74b4a452fd94b8a4072fe6c039d675.jpg","text":"TemporaryFile(/tmp/multipartBody4182459189599055447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824422917,"filename":"image_15122025_19_31_54_10609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399543334","file1":"1399543332","file0":"1399543315","file4":"1399543337","file5":"1399543339","file3":"1399543336"},"map_files_photo_id_array":[{"photo_id":"1399543339","filename":"file5"},{"photo_id":"1399543334","filename":"file2"},{"photo_id":"1399543337","filename":"file4"},{"photo_id":"1399543332","filename":"file1"},{"photo_id":"1399543315","filename":"file0"},{"photo_id":"1399543336","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399543336":["hashtag1","hashtag2"]},{"1399543315":["hashtag1","hashtag2"]},{"1399543332":["hashtag1","hashtag2"]},{"1399543334":["hashtag1","hashtag2"]},{"1399543337":["hashtag1","hashtag2"]},{"1399543339":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399543336, 1399543315, 1399543332, 1399543334, 1399543337, 1399543339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.947104930877686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 19:46:41.817459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/00/image_05112025_16_00_11_6879.jpg', '/home/pi/Desktop/images/05112025/16/00/image_05112025_16_00_13_1697.jpg', '/home/pi/Desktop/images/05112025/16/00/image_05112025_16_00_15_1783.jpg', '/home/pi/Desktop/images/05112025/16/00/image_05112025_16_00_16_1670.jpg', '/home/pi/Desktop/images/05112025/16/00/image_05112025_16_00_20_3731.jpg', '/home/pi/Desktop/images/05112025/16/00/image_05112025_16_00_23_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/00/image_05112025_16_00_11_6879.jpg
/home/pi/Desktop/images/05112025/16/00/image_05112025_16_00_13_1697.jpg
/home/pi/Desktop/images/05112025/16/00/image_05112025_16_00_15_1783.jpg
/home/pi/Desktop/images/05112025/16/00/image_05112025_16_00_16_1670.jpg
/home/pi/Desktop/images/05112025/16/00/image_05112025_16_00_20_3731.jpg
/home/pi/Desktop/images/05112025/16/00/image_05112025_16_00_23_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":["1399543353","1399543356","1399543355","1399543357","1399543351","1399543354"],"photo_ids_order":["1399543351","1399543353","1399543354","1399543355","1399543356","1399543357"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ee190f6a1f211acaf77517db0ae5019d.jpg","text":"TemporaryFile(/tmp/multipartBody4937388620153176420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824462527,"filename":"image_05112025_16_00_13_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/15/cc94397488cefea35c09aa2031fa2832.jpg","text":"TemporaryFile(/tmp/multipartBody6194198967048917295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824462527,"filename":"image_05112025_16_00_20_3731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a0a3ca8bc814397b755570d7a4fc3789.jpg","text":"TemporaryFile(/tmp/multipartBody4431370013255167982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824462527,"filename":"image_05112025_16_00_16_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/15/ed815e2f6fb67deaa7c5443c8e46d08e.jpg","text":"TemporaryFile(/tmp/multipartBody428699850238921229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824462527,"filename":"image_05112025_16_00_23_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/15/b72abd8125b6add41f23f0e504bbf704.jpg","text":"TemporaryFile(/tmp/multipartBody7693067630140783750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824462527,"filename":"image_05112025_16_00_11_6879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/643b77eb40ddeb614804da904b24b103.jpg","text":"TemporaryFile(/tmp/multipartBody4064013681303342467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824462527,"filename":"image_05112025_16_00_15_1783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399543354","file1":"1399543353","file0":"1399543351","file4":"1399543356","file5":"1399543357","file3":"1399543355"},"map_files_photo_id_array":[{"photo_id":"1399543357","filename":"file5"},{"photo_id":"1399543354","filename":"file2"},{"photo_id":"1399543356","filename":"file4"},{"photo_id":"1399543353","filename":"file1"},{"photo_id":"1399543351","filename":"file0"},{"photo_id":"1399543355","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399543353":["hashtag1","hashtag2"]},{"1399543356":["hashtag1","hashtag2"]},{"1399543355":["hashtag1","hashtag2"]},{"1399543357":["hashtag1","hashtag2"]},{"1399543351":["hashtag1","hashtag2"]},{"1399543354":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399543353, 1399543356, 1399543355, 1399543357, 1399543351, 1399543354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79587483406067 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 19:47:22.066979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/19/32/image_15122025_19_32_03_9480.jpg', '/home/pi/Desktop/images/15122025/19/32/image_15122025_19_32_13_9900.jpg', '/home/pi/Desktop/images/15122025/19/32/image_15122025_19_32_24_10656.jpg', '/home/pi/Desktop/images/15122025/19/32/image_15122025_19_32_53_10061.jpg', '/home/pi/Desktop/images/15122025/19/32/image_15122025_19_33_04_10608.jpg', '/home/pi/Desktop/images/15122025/19/33/image_15122025_19_33_23_9761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/19/32/image_15122025_19_32_03_9480.jpg
/home/pi/Desktop/images/15122025/19/32/image_15122025_19_32_13_9900.jpg
/home/pi/Desktop/images/15122025/19/32/image_15122025_19_32_24_10656.jpg
/home/pi/Desktop/images/15122025/19/32/image_15122025_19_32_53_10061.jpg
/home/pi/Desktop/images/15122025/19/32/image_15122025_19_33_04_10608.jpg
/home/pi/Desktop/images/15122025/19/33/image_15122025_19_33_23_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":["1399543371","1399543374","1399543364","1399543367","1399543375","1399543369"],"photo_ids_order":["1399543364","1399543367","1399543369","1399543371","1399543374","1399543375"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f8df316fd441c29cd98e7ba7ed338464.jpg","text":"TemporaryFile(/tmp/multipartBody1545547327791919237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824504638,"filename":"image_15122025_19_32_53_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/15/bcdc2504b0ac30e28b6485a636ff04b6.jpg","text":"TemporaryFile(/tmp/multipartBody2254005024433253714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824504638,"filename":"image_15122025_19_33_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/15/e7041d3f4a6bc0d52fbf722322169d5b.jpg","text":"TemporaryFile(/tmp/multipartBody7208725443809612038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824504638,"filename":"image_15122025_19_32_03_9480.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/90475354f4a4f0339e91d3507ce97e35.jpg","text":"TemporaryFile(/tmp/multipartBody3690398401660294928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824504638,"filename":"image_15122025_19_32_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/15/34069a874800d12f6e73aaa9c386af3f.jpg","text":"TemporaryFile(/tmp/multipartBody1867695139635362782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824504638,"filename":"image_15122025_19_33_23_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/15/b9caf6e050ebd717600fb24073a5ca30.jpg","text":"TemporaryFile(/tmp/multipartBody7757893213239381131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824504638,"filename":"image_15122025_19_32_24_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399543369","file1":"1399543367","file0":"1399543364","file4":"1399543374","file5":"1399543375","file3":"1399543371"},"map_files_photo_id_array":[{"photo_id":"1399543375","filename":"file5"},{"photo_id":"1399543369","filename":"file2"},{"photo_id":"1399543374","filename":"file4"},{"photo_id":"1399543367","filename":"file1"},{"photo_id":"1399543364","filename":"file0"},{"photo_id":"1399543371","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399543371":["hashtag1","hashtag2"]},{"1399543374":["hashtag1","hashtag2"]},{"1399543364":["hashtag1","hashtag2"]},{"1399543367":["hashtag1","hashtag2"]},{"1399543375":["hashtag1","hashtag2"]},{"1399543369":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399543371, 1399543374, 1399543364, 1399543367, 1399543375, 1399543369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.05827760696411 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 19:48:12.404908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 19:48:22.405293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/19/33/image_15122025_19_33_54_9731.jpg', '/home/pi/Desktop/images/15122025/19/33/image_15122025_19_34_03_9683.jpg', '/home/pi/Desktop/images/15122025/19/34/image_15122025_19_34_14_10747.jpg', '/home/pi/Desktop/images/15122025/19/34/image_15122025_19_34_33_9714.jpg', '/home/pi/Desktop/images/15122025/19/34/image_15122025_19_34_44_10552.jpg', '/home/pi/Desktop/images/15122025/19/34/image_15122025_19_34_54_9832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/19/33/image_15122025_19_33_54_9731.jpg
/home/pi/Desktop/images/15122025/19/33/image_15122025_19_34_03_9683.jpg
/home/pi/Desktop/images/15122025/19/34/image_15122025_19_34_14_10747.jpg
/home/pi/Desktop/images/15122025/19/34/image_15122025_19_34_33_9714.jpg
/home/pi/Desktop/images/15122025/19/34/image_15122025_19_34_44_10552.jpg
/home/pi/Desktop/images/15122025/19/34/image_15122025_19_34_54_9832.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399543398","1399543392","1399543401","1399543394","1399543396","1399543390"],"photo_ids_order":["1399543390","1399543392","1399543394","1399543396","1399543398","1399543401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4a3ab05bc59fd069f85f588785dff032.jpg","text":"TemporaryFile(/tmp/multipartBody7797717409178724456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824563030,"filename":"image_15122025_19_34_44_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/15/d096a2dac77a75454de6ecde16531977.jpg","text":"TemporaryFile(/tmp/multipartBody736367417377792560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824563030,"filename":"image_15122025_19_34_03_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/15/10c51f6f630029d8cb5f3a7ff5f2645d.jpg","text":"TemporaryFile(/tmp/multipartBody5777550895614460939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824563030,"filename":"image_15122025_19_34_54_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b9aaf49e63ba90b6dd29a048c84a30cd.jpg","text":"TemporaryFile(/tmp/multipartBody8403018583105764122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824563030,"filename":"image_15122025_19_34_14_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2696f771597bdbf3e81ad953c713087b.jpg","text":"TemporaryFile(/tmp/multipartBody2260700327961894734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824563030,"filename":"image_15122025_19_34_33_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/15/12523e5b4c1b727c801cd6a89d3ffb98.jpg","text":"TemporaryFile(/tmp/multipartBody7273187949638585542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824563030,"filename":"image_15122025_19_33_54_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399543394","file1":"1399543392","file0":"1399543390","file4":"1399543398","file5":"1399543401","file3":"1399543396"},"map_files_photo_id_array":[{"photo_id":"1399543401","filename":"file5"},{"photo_id":"1399543394","filename":"file2"},{"photo_id":"1399543398","filename":"file4"},{"photo_id":"1399543392","filename":"file1"},{"photo_id":"1399543390","filename":"file0"},{"photo_id":"1399543396","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399543398":["hashtag1","hashtag2"]},{"1399543392":["hashtag1","hashtag2"]},{"1399543401":["hashtag1","hashtag2"]},{"1399543394":["hashtag1","hashtag2"]},{"1399543396":["hashtag1","hashtag2"]},{"1399543390":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399543398, 1399543392, 1399543401, 1399543394, 1399543396, 1399543390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.713801860809326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 19:49:03.459250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/19/35/image_15122025_19_35_13_9812.jpg', '/home/pi/Desktop/images/15122025/19/35/image_15122025_19_35_24_10676.jpg', '/home/pi/Desktop/images/15122025/19/35/image_15122025_19_35_44_10617.jpg', '/home/pi/Desktop/images/15122025/19/35/image_15122025_19_36_04_9718.jpg', '/home/pi/Desktop/images/15122025/19/36/image_15122025_19_36_14_9896.jpg', '/home/pi/Desktop/images/15122025/19/36/image_15122025_19_36_34_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/19/35/image_15122025_19_35_13_9812.jpg
/home/pi/Desktop/images/15122025/19/35/image_15122025_19_35_24_10676.jpg
/home/pi/Desktop/images/15122025/19/35/image_15122025_19_35_44_10617.jpg
/home/pi/Desktop/images/15122025/19/35/image_15122025_19_36_04_9718.jpg
/home/pi/Desktop/images/15122025/19/36/image_15122025_19_36_14_9896.jpg
/home/pi/Desktop/images/15122025/19/36/image_15122025_19_36_34_10642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399543420","1399543417","1399543413","1399543415","1399543409","1399543411"],"photo_ids_order":["1399543409","1399543411","1399543413","1399543415","1399543417","1399543420"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/829206dfb76aee3b42a254c3b0b1c312.jpg","text":"TemporaryFile(/tmp/multipartBody1394511152668359620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824604230,"filename":"image_15122025_19_36_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/15/02ddfcf2ad8c9901025e8dc78a3f1af1.jpg","text":"TemporaryFile(/tmp/multipartBody5513319610542411203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824604230,"filename":"image_15122025_19_36_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/15/86f67039c52d43ee86826016e96a5b8a.jpg","text":"TemporaryFile(/tmp/multipartBody8888306805143863119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824604230,"filename":"image_15122025_19_35_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/15/0c889127cff9387128cb2d9ea63b569e.jpg","text":"TemporaryFile(/tmp/multipartBody4658026518836580444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824604230,"filename":"image_15122025_19_36_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/15/9e5435e176194217d42eea1897d0adf1.jpg","text":"TemporaryFile(/tmp/multipartBody97584820062107406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824604230,"filename":"image_15122025_19_35_13_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/15/2ebe0ec02eb53f6e98b5077d9960fb66.jpg","text":"TemporaryFile(/tmp/multipartBody3636523883847550658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824604230,"filename":"image_15122025_19_35_24_10676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399543413","file1":"1399543411","file0":"1399543409","file4":"1399543417","file5":"1399543420","file3":"1399543415"},"map_files_photo_id_array":[{"photo_id":"1399543420","filename":"file5"},{"photo_id":"1399543413","filename":"file2"},{"photo_id":"1399543417","filename":"file4"},{"photo_id":"1399543411","filename":"file1"},{"photo_id":"1399543409","filename":"file0"},{"photo_id":"1399543415","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399543420":["hashtag1","hashtag2"]},{"1399543417":["hashtag1","hashtag2"]},{"1399543413":["hashtag1","hashtag2"]},{"1399543415":["hashtag1","hashtag2"]},{"1399543409":["hashtag1","hashtag2"]},{"1399543411":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399543420, 1399543417, 1399543413, 1399543415, 1399543409, 1399543411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.637428760528564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 19:49:42.600124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/00/image_05112025_16_00_26_3525.jpg', '/home/pi/Desktop/images/05112025/16/00/image_05112025_16_00_29_2668.jpg', '/home/pi/Desktop/images/05112025/16/00/image_05112025_16_00_31_2527.jpg', '/home/pi/Desktop/images/05112025/16/00/image_05112025_16_00_35_3757.jpg', '/home/pi/Desktop/images/05112025/16/00/image_05112025_16_00_38_2935.jpg', '/home/pi/Desktop/images/05112025/16/00/image_05112025_16_00_41_2746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/00/image_05112025_16_00_26_3525.jpg
/home/pi/Desktop/images/05112025/16/00/image_05112025_16_00_29_2668.jpg
/home/pi/Desktop/images/05112025/16/00/image_05112025_16_00_31_2527.jpg
/home/pi/Desktop/images/05112025/16/00/image_05112025_16_00_35_3757.jpg
/home/pi/Desktop/images/05112025/16/00/image_05112025_16_00_38_2935.jpg
/home/pi/Desktop/images/05112025/16/00/image_05112025_16_00_41_2746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399543429","1399543431","1399543427","1399543430","1399543424","1399543432"],"photo_ids_order":["1399543424","1399543427","1399543429","1399543430","1399543431","1399543432"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2c74124d967bd885ce6312061b7c1599.jpg","text":"TemporaryFile(/tmp/multipartBody1425721349404931032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824643302,"filename":"image_05112025_16_00_31_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/15/e6b4a7a43a946d1221cd32ee22806f51.jpg","text":"TemporaryFile(/tmp/multipartBody237965676234718151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824643302,"filename":"image_05112025_16_00_38_2935.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6556bd4ea575c51267e97076231e7b93.jpg","text":"TemporaryFile(/tmp/multipartBody7088269476691147844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824643302,"filename":"image_05112025_16_00_29_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/15/2fc36dfd32aea0117e7023043659a48f.jpg","text":"TemporaryFile(/tmp/multipartBody8802260594708909529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824643302,"filename":"image_05112025_16_00_35_3757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/82d32cb87034397e82bec67f34fbeb34.jpg","text":"TemporaryFile(/tmp/multipartBody2588809198894423731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824643302,"filename":"image_05112025_16_00_26_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/15/b60db2542d3de630383b2005b521c334.jpg","text":"TemporaryFile(/tmp/multipartBody3780084584048802274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824643302,"filename":"image_05112025_16_00_41_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399543429","file1":"1399543427","file0":"1399543424","file4":"1399543431","file5":"1399543432","file3":"1399543430"},"map_files_photo_id_array":[{"photo_id":"1399543432","filename":"file5"},{"photo_id":"1399543429","filename":"file2"},{"photo_id":"1399543431","filename":"file4"},{"photo_id":"1399543427","filename":"file1"},{"photo_id":"1399543424","filename":"file0"},{"photo_id":"1399543430","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399543429":["hashtag1","hashtag2"]},{"1399543431":["hashtag1","hashtag2"]},{"1399543427":["hashtag1","hashtag2"]},{"1399543430":["hashtag1","hashtag2"]},{"1399543424":["hashtag1","hashtag2"]},{"1399543432":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399543429, 1399543431, 1399543427, 1399543430, 1399543424, 1399543432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.075440406799316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 19:50:21.901625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/19/36/image_15122025_19_36_44_9584.jpg', '/home/pi/Desktop/images/15122025/19/36/image_15122025_19_36_53_9811.jpg', '/home/pi/Desktop/images/15122025/19/36/image_15122025_19_37_04_10749.jpg', '/home/pi/Desktop/images/15122025/19/37/image_15122025_19_37_34_10597.jpg', '/home/pi/Desktop/images/15122025/19/37/image_15122025_19_37_53_9722.jpg', '/home/pi/Desktop/images/15122025/19/37/image_15122025_19_38_03_9795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/19/36/image_15122025_19_36_44_9584.jpg
/home/pi/Desktop/images/15122025/19/36/image_15122025_19_36_53_9811.jpg
/home/pi/Desktop/images/15122025/19/36/image_15122025_19_37_04_10749.jpg
/home/pi/Desktop/images/15122025/19/37/image_15122025_19_37_34_10597.jpg
/home/pi/Desktop/images/15122025/19/37/image_15122025_19_37_53_9722.jpg
/home/pi/Desktop/images/15122025/19/37/image_15122025_19_38_03_9795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399543452","1399543449","1399543440","1399543437","1399543445","1399543447"],"photo_ids_order":["1399543437","1399543440","1399543445","1399543447","1399543449","1399543452"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1296e53ce194ca9e276af29a181cfb16.jpg","text":"TemporaryFile(/tmp/multipartBody1235163135267563770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824682564,"filename":"image_15122025_19_38_03_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/15/d6643b04ab86557b69e0b3a157e377d6.jpg","text":"TemporaryFile(/tmp/multipartBody5753974467397962860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824682564,"filename":"image_15122025_19_37_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/15/e5be36d376dd9c8c7516c5398d137ed4.jpg","text":"TemporaryFile(/tmp/multipartBody4869382105803378582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824682564,"filename":"image_15122025_19_36_53_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/15/609254a788a2e2b373d64bfdcb0a2fca.jpg","text":"TemporaryFile(/tmp/multipartBody2600143312095843450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824682564,"filename":"image_15122025_19_36_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/15/ad1312ef658cac4c96e8a62e860e92b7.jpg","text":"TemporaryFile(/tmp/multipartBody306799541311474466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824682564,"filename":"image_15122025_19_37_04_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/15/3e444eb25d9d8b9ea3b2d8b819cf9656.jpg","text":"TemporaryFile(/tmp/multipartBody6284640669411863137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824682564,"filename":"image_15122025_19_37_34_10597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399543445","file1":"1399543440","file0":"1399543437","file4":"1399543449","file5":"1399543452","file3":"1399543447"},"map_files_photo_id_array":[{"photo_id":"1399543452","filename":"file5"},{"photo_id":"1399543445","filename":"file2"},{"photo_id":"1399543449","filename":"file4"},{"photo_id":"1399543440","filename":"file1"},{"photo_id":"1399543437","filename":"file0"},{"photo_id":"1399543447","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399543452":["hashtag1","hashtag2"]},{"1399543449":["hashtag1","hashtag2"]},{"1399543440":["hashtag1","hashtag2"]},{"1399543437":["hashtag1","hashtag2"]},{"1399543445":["hashtag1","hashtag2"]},{"1399543447":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399543452, 1399543449, 1399543440, 1399543437, 1399543445, 1399543447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35644578933716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 19:51:02.817619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/19/38/image_15122025_19_38_54_9567.jpg', '/home/pi/Desktop/images/15122025/19/38/image_15122025_19_39_03_9806.jpg', '/home/pi/Desktop/images/15122025/19/39/image_15122025_19_39_14_10634.jpg', '/home/pi/Desktop/images/15122025/19/39/image_15122025_19_39_34_9783.jpg', '/home/pi/Desktop/images/15122025/19/39/image_15122025_19_39_44_10671.jpg', '/home/pi/Desktop/images/15122025/19/39/image_15122025_19_39_54_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/19/38/image_15122025_19_38_54_9567.jpg
/home/pi/Desktop/images/15122025/19/38/image_15122025_19_39_03_9806.jpg
/home/pi/Desktop/images/15122025/19/39/image_15122025_19_39_14_10634.jpg
/home/pi/Desktop/images/15122025/19/39/image_15122025_19_39_34_9783.jpg
/home/pi/Desktop/images/15122025/19/39/image_15122025_19_39_44_10671.jpg
/home/pi/Desktop/images/15122025/19/39/image_15122025_19_39_54_9614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399543461","1399543464","1399543463","1399543466","1399543468","1399543465"],"photo_ids_order":["1399543461","1399543463","1399543464","1399543465","1399543466","1399543468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/094daac8ecfa0f858c5a268cf7ec01c9.jpg","text":"TemporaryFile(/tmp/multipartBody7789634644720893439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824723544,"filename":"image_15122025_19_38_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/15/1e2fdac6487552f8bc3b38d165555d46.jpg","text":"TemporaryFile(/tmp/multipartBody2196921756156723852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824723544,"filename":"image_15122025_19_39_14_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b0bbffa3116bd0b61d55a8a0a1cf94d8.jpg","text":"TemporaryFile(/tmp/multipartBody2370129369882612031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824723544,"filename":"image_15122025_19_39_03_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/15/7e3ea90bba99f4f1cf3d939dc2c61f0a.jpg","text":"TemporaryFile(/tmp/multipartBody7470217720238039327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824723544,"filename":"image_15122025_19_39_44_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b3ea4996865fc1fa38c0ce2500e943df.jpg","text":"TemporaryFile(/tmp/multipartBody8861470194447340907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824723544,"filename":"image_15122025_19_39_54_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f574537916b285080ac5d65d97c6aabf.jpg","text":"TemporaryFile(/tmp/multipartBody2683076040795289297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824723544,"filename":"image_15122025_19_39_34_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399543464","file1":"1399543463","file0":"1399543461","file4":"1399543466","file5":"1399543468","file3":"1399543465"},"map_files_photo_id_array":[{"photo_id":"1399543468","filename":"file5"},{"photo_id":"1399543464","filename":"file2"},{"photo_id":"1399543466","filename":"file4"},{"photo_id":"1399543463","filename":"file1"},{"photo_id":"1399543461","filename":"file0"},{"photo_id":"1399543465","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399543461":["hashtag1","hashtag2"]},{"1399543464":["hashtag1","hashtag2"]},{"1399543463":["hashtag1","hashtag2"]},{"1399543466":["hashtag1","hashtag2"]},{"1399543468":["hashtag1","hashtag2"]},{"1399543465":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399543461, 1399543464, 1399543463, 1399543466, 1399543468, 1399543465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.533865213394165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 19:51:42.165493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/00/image_05112025_16_00_44_2895.jpg', '/home/pi/Desktop/images/05112025/16/00/image_05112025_16_00_48_4537.jpg', '/home/pi/Desktop/images/05112025/16/00/image_05112025_16_00_50_1626.jpg', '/home/pi/Desktop/images/05112025/16/01/image_05112025_16_01_09_18746.jpg', '/home/pi/Desktop/images/05112025/16/01/image_05112025_16_01_10_1711.jpg', '/home/pi/Desktop/images/05112025/16/01/image_05112025_16_01_12_1692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/00/image_05112025_16_00_44_2895.jpg
/home/pi/Desktop/images/05112025/16/00/image_05112025_16_00_48_4537.jpg
/home/pi/Desktop/images/05112025/16/00/image_05112025_16_00_50_1626.jpg
/home/pi/Desktop/images/05112025/16/01/image_05112025_16_01_09_18746.jpg
/home/pi/Desktop/images/05112025/16/01/image_05112025_16_01_10_1711.jpg
/home/pi/Desktop/images/05112025/16/01/image_05112025_16_01_12_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":["1399543479","1399543476","1399543481","1399543480","1399543474","1399543477"],"photo_ids_order":["1399543474","1399543476","1399543477","1399543479","1399543480","1399543481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ea8b05e3978ada627514cfed0bcca4b6.jpg","text":"TemporaryFile(/tmp/multipartBody4198741684173324463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824762898,"filename":"image_05112025_16_01_09_18746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/62676ce44abbdb27f5c97b746f2656d7.jpg","text":"TemporaryFile(/tmp/multipartBody1574217360260530865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824762898,"filename":"image_05112025_16_00_48_4537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b42b340079cde794ebc89a61c9994179.jpg","text":"TemporaryFile(/tmp/multipartBody2456274485393956569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824762898,"filename":"image_05112025_16_01_12_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/15/1c6f4c27d2e7b3865764d4949376a419.jpg","text":"TemporaryFile(/tmp/multipartBody8795793846984538469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824762898,"filename":"image_05112025_16_01_10_1711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7f1672c1872e2c7e8cbcf130003c1df4.jpg","text":"TemporaryFile(/tmp/multipartBody324884684316572308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824762898,"filename":"image_05112025_16_00_44_2895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c91854f5b275d4f91ed83ff3e3eea5b0.jpg","text":"TemporaryFile(/tmp/multipartBody4773453737747218470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824762898,"filename":"image_05112025_16_00_50_1626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399543477","file1":"1399543476","file0":"1399543474","file4":"1399543480","file5":"1399543481","file3":"1399543479"},"map_files_photo_id_array":[{"photo_id":"1399543481","filename":"file5"},{"photo_id":"1399543477","filename":"file2"},{"photo_id":"1399543480","filename":"file4"},{"photo_id":"1399543476","filename":"file1"},{"photo_id":"1399543474","filename":"file0"},{"photo_id":"1399543479","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399543479":["hashtag1","hashtag2"]},{"1399543476":["hashtag1","hashtag2"]},{"1399543481":["hashtag1","hashtag2"]},{"1399543480":["hashtag1","hashtag2"]},{"1399543474":["hashtag1","hashtag2"]},{"1399543477":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399543479, 1399543476, 1399543481, 1399543480, 1399543474, 1399543477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13399910926819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 19:52:24.562503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/19/39/image_15122025_19_40_03_9649.jpg', '/home/pi/Desktop/images/15122025/19/40/image_15122025_19_40_24_10689.jpg', '/home/pi/Desktop/images/15122025/19/40/image_15122025_19_40_34_9598.jpg', '/home/pi/Desktop/images/15122025/19/40/image_15122025_19_40_44_10694.jpg', '/home/pi/Desktop/images/15122025/19/40/image_15122025_19_41_04_9634.jpg', '/home/pi/Desktop/images/15122025/19/41/image_15122025_19_41_13_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/19/39/image_15122025_19_40_03_9649.jpg
/home/pi/Desktop/images/15122025/19/40/image_15122025_19_40_24_10689.jpg
/home/pi/Desktop/images/15122025/19/40/image_15122025_19_40_34_9598.jpg
/home/pi/Desktop/images/15122025/19/40/image_15122025_19_40_44_10694.jpg
/home/pi/Desktop/images/15122025/19/40/image_15122025_19_41_04_9634.jpg
/home/pi/Desktop/images/15122025/19/41/image_15122025_19_41_13_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":["1399543810","1399543695","1399543658","1399543777","1399543735","1399543621"],"photo_ids_order":["1399543621","1399543658","1399543695","1399543735","1399543777","1399543810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a82feeddb45f2a976b7e857ae5ae272f.jpg","text":"TemporaryFile(/tmp/multipartBody5306079014675641743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824805279,"filename":"image_15122025_19_41_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/15/1a70ddf15c6769a4cd2a697fdc613666.jpg","text":"TemporaryFile(/tmp/multipartBody2187058011799140237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824805279,"filename":"image_15122025_19_40_34_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/67929d635f27db8215378edbf0122d6b.jpg","text":"TemporaryFile(/tmp/multipartBody2148834989126699645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824805279,"filename":"image_15122025_19_40_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/15/0306b922744ca7bda8b83df489388eca.jpg","text":"TemporaryFile(/tmp/multipartBody36212571688480839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824805279,"filename":"image_15122025_19_41_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/15/6cd4e8ea2c2441f76fba9e7e4e7cf337.jpg","text":"TemporaryFile(/tmp/multipartBody5474025077184271681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824805279,"filename":"image_15122025_19_40_44_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/15/59d0d8a358dba07f3f3cb96d05a5c81d.jpg","text":"TemporaryFile(/tmp/multipartBody2531498809652568223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824805279,"filename":"image_15122025_19_40_03_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399543695","file1":"1399543658","file0":"1399543621","file4":"1399543777","file5":"1399543810","file3":"1399543735"},"map_files_photo_id_array":[{"photo_id":"1399543810","filename":"file5"},{"photo_id":"1399543695","filename":"file2"},{"photo_id":"1399543777","filename":"file4"},{"photo_id":"1399543658","filename":"file1"},{"photo_id":"1399543621","filename":"file0"},{"photo_id":"1399543735","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399543810":["hashtag1","hashtag2"]},{"1399543695":["hashtag1","hashtag2"]},{"1399543658":["hashtag1","hashtag2"]},{"1399543777":["hashtag1","hashtag2"]},{"1399543735":["hashtag1","hashtag2"]},{"1399543621":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399543810, 1399543695, 1399543658, 1399543777, 1399543735, 1399543621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90723633766174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 19:53:03.410673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/19/41/image_15122025_19_41_24_10663.jpg', '/home/pi/Desktop/images/15122025/19/41/image_15122025_19_41_34_9679.jpg', '/home/pi/Desktop/images/15122025/19/41/image_15122025_19_41_43_9719.jpg', '/home/pi/Desktop/images/15122025/19/41/image_15122025_19_41_54_10688.jpg', '/home/pi/Desktop/images/15122025/19/41/image_15122025_19_42_04_9993.jpg', '/home/pi/Desktop/images/15122025/19/42/image_15122025_19_42_14_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/19/41/image_15122025_19_41_24_10663.jpg
/home/pi/Desktop/images/15122025/19/41/image_15122025_19_41_34_9679.jpg
/home/pi/Desktop/images/15122025/19/41/image_15122025_19_41_43_9719.jpg
/home/pi/Desktop/images/15122025/19/41/image_15122025_19_41_54_10688.jpg
/home/pi/Desktop/images/15122025/19/41/image_15122025_19_42_04_9993.jpg
/home/pi/Desktop/images/15122025/19/42/image_15122025_19_42_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":["1399543824","1399543817","1399543826","1399543829","1399543820","1399543822"],"photo_ids_order":["1399543817","1399543820","1399543822","1399543824","1399543826","1399543829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cee3a80d729ff9361654cf10a121d875.jpg","text":"TemporaryFile(/tmp/multipartBody5973871352137124682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824844066,"filename":"image_15122025_19_41_54_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/15/5daeb7ca56f88c618107304a51992519.jpg","text":"TemporaryFile(/tmp/multipartBody3188537414202451834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824844066,"filename":"image_15122025_19_41_24_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8a4bb0b90781048f85ff50813c99fa38.jpg","text":"TemporaryFile(/tmp/multipartBody5263547638883231264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824844066,"filename":"image_15122025_19_42_04_9993.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/68c84b135058269cc47117e1e0d9747c.jpg","text":"TemporaryFile(/tmp/multipartBody1778967271553477336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824844066,"filename":"image_15122025_19_42_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/15/26168c96212e983d8084328943698f89.jpg","text":"TemporaryFile(/tmp/multipartBody6722609982281579670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824844066,"filename":"image_15122025_19_41_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/15/7fd36fb3a358c6663a973989f5c2488b.jpg","text":"TemporaryFile(/tmp/multipartBody6675945743762627028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824844066,"filename":"image_15122025_19_41_43_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399543822","file1":"1399543820","file0":"1399543817","file4":"1399543826","file5":"1399543829","file3":"1399543824"},"map_files_photo_id_array":[{"photo_id":"1399543829","filename":"file5"},{"photo_id":"1399543822","filename":"file2"},{"photo_id":"1399543826","filename":"file4"},{"photo_id":"1399543820","filename":"file1"},{"photo_id":"1399543817","filename":"file0"},{"photo_id":"1399543824","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399543824":["hashtag1","hashtag2"]},{"1399543817":["hashtag1","hashtag2"]},{"1399543826":["hashtag1","hashtag2"]},{"1399543829":["hashtag1","hashtag2"]},{"1399543820":["hashtag1","hashtag2"]},{"1399543822":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399543824, 1399543817, 1399543826, 1399543829, 1399543820, 1399543822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36650776863098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 19:53:42.646673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/01/image_05112025_16_01_13_1537.jpg', '/home/pi/Desktop/images/05112025/16/01/image_05112025_16_01_49_35646.jpg', '/home/pi/Desktop/images/05112025/16/01/image_05112025_16_01_55_6258.jpg', '/home/pi/Desktop/images/05112025/16/01/image_05112025_16_01_57_1571.jpg', '/home/pi/Desktop/images/05112025/16/01/image_05112025_16_01_59_1647.jpg', '/home/pi/Desktop/images/05112025/16/01/image_05112025_16_02_00_1627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/01/image_05112025_16_01_13_1537.jpg
/home/pi/Desktop/images/05112025/16/01/image_05112025_16_01_49_35646.jpg
/home/pi/Desktop/images/05112025/16/01/image_05112025_16_01_55_6258.jpg
/home/pi/Desktop/images/05112025/16/01/image_05112025_16_01_57_1571.jpg
/home/pi/Desktop/images/05112025/16/01/image_05112025_16_01_59_1647.jpg
/home/pi/Desktop/images/05112025/16/01/image_05112025_16_02_00_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":["1399543839","1399543836","1399543838","1399543840","1399543834","1399543837"],"photo_ids_order":["1399543834","1399543836","1399543837","1399543838","1399543839","1399543840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2da8a01bfcc939d153826a4c74cfe274.jpg","text":"TemporaryFile(/tmp/multipartBody4127277194507475221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824883348,"filename":"image_05112025_16_01_59_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/15/895cb978c9c67b7dc41757b018de835e.jpg","text":"TemporaryFile(/tmp/multipartBody5907081991593757512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824883348,"filename":"image_05112025_16_01_49_35646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/01b9481d7593cb0a77b424b0a080f622.jpg","text":"TemporaryFile(/tmp/multipartBody6929949598695236178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824883348,"filename":"image_05112025_16_01_57_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/15/65ad7e3339acba1c06ebb6bf81eaf3be.jpg","text":"TemporaryFile(/tmp/multipartBody6571569489127834121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824883348,"filename":"image_05112025_16_02_00_1627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3a2f176938358deab2359a04ac2d23b3.jpg","text":"TemporaryFile(/tmp/multipartBody2213875857725095091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824883348,"filename":"image_05112025_16_01_13_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/15/0edb5654ac469a97c8afea1cb97dda4b.jpg","text":"TemporaryFile(/tmp/multipartBody1416692217165061760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824883348,"filename":"image_05112025_16_01_55_6258.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399543837","file1":"1399543836","file0":"1399543834","file4":"1399543839","file5":"1399543840","file3":"1399543838"},"map_files_photo_id_array":[{"photo_id":"1399543840","filename":"file5"},{"photo_id":"1399543837","filename":"file2"},{"photo_id":"1399543839","filename":"file4"},{"photo_id":"1399543836","filename":"file1"},{"photo_id":"1399543834","filename":"file0"},{"photo_id":"1399543838","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399543839":["hashtag1","hashtag2"]},{"1399543836":["hashtag1","hashtag2"]},{"1399543838":["hashtag1","hashtag2"]},{"1399543840":["hashtag1","hashtag2"]},{"1399543834":["hashtag1","hashtag2"]},{"1399543837":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399543839, 1399543836, 1399543838, 1399543840, 1399543834, 1399543837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44449591636658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 19:54:22.042999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/19/42/image_15122025_19_42_23_9696.jpg', '/home/pi/Desktop/images/15122025/19/42/image_15122025_19_42_34_10632.jpg', '/home/pi/Desktop/images/15122025/19/42/image_15122025_19_42_44_9723.jpg', '/home/pi/Desktop/images/15122025/19/42/image_15122025_19_42_53_9867.jpg', '/home/pi/Desktop/images/15122025/19/42/image_15122025_19_43_04_10692.jpg', '/home/pi/Desktop/images/15122025/19/43/image_15122025_19_43_14_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/19/42/image_15122025_19_42_23_9696.jpg
/home/pi/Desktop/images/15122025/19/42/image_15122025_19_42_34_10632.jpg
/home/pi/Desktop/images/15122025/19/42/image_15122025_19_42_44_9723.jpg
/home/pi/Desktop/images/15122025/19/42/image_15122025_19_42_53_9867.jpg
/home/pi/Desktop/images/15122025/19/42/image_15122025_19_43_04_10692.jpg
/home/pi/Desktop/images/15122025/19/43/image_15122025_19_43_14_9738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399543956","1399543997","1399543917","1399543846","1399543876","1399543849"],"photo_ids_order":["1399543846","1399543849","1399543876","1399543917","1399543956","1399543997"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7a4afafb4bf7bac9405e7bc2dee56f89.jpg","text":"TemporaryFile(/tmp/multipartBody4005885537288239894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824922691,"filename":"image_15122025_19_43_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/15/8cb67de7ea480d92ab42fd1975907762.jpg","text":"TemporaryFile(/tmp/multipartBody5433330677620789216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824922691,"filename":"image_15122025_19_43_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/15/7de1e62797833c42cdd1528652a7447b.jpg","text":"TemporaryFile(/tmp/multipartBody9175512385017515881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824922691,"filename":"image_15122025_19_42_53_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/15/22bebad5d5d743cd5ac3c5d2d14d48e4.jpg","text":"TemporaryFile(/tmp/multipartBody7818068457707279847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824922691,"filename":"image_15122025_19_42_23_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/15/076de620a137d2d8d04d0ff064b9ea4e.jpg","text":"TemporaryFile(/tmp/multipartBody2283389736956542790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824922691,"filename":"image_15122025_19_42_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/15/3faa4fb8ee1bda291f644a118e3bb44e.jpg","text":"TemporaryFile(/tmp/multipartBody2943299260910606815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824922691,"filename":"image_15122025_19_42_34_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399543876","file1":"1399543849","file0":"1399543846","file4":"1399543956","file5":"1399543997","file3":"1399543917"},"map_files_photo_id_array":[{"photo_id":"1399543997","filename":"file5"},{"photo_id":"1399543876","filename":"file2"},{"photo_id":"1399543956","filename":"file4"},{"photo_id":"1399543849","filename":"file1"},{"photo_id":"1399543846","filename":"file0"},{"photo_id":"1399543917","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399543956":["hashtag1","hashtag2"]},{"1399543997":["hashtag1","hashtag2"]},{"1399543917":["hashtag1","hashtag2"]},{"1399543846":["hashtag1","hashtag2"]},{"1399543876":["hashtag1","hashtag2"]},{"1399543849":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399543956, 1399543997, 1399543917, 1399543846, 1399543876, 1399543849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1087749004364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 19:55:02.683620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/19/43/image_15122025_19_43_24_9763.jpg', '/home/pi/Desktop/images/15122025/19/43/image_15122025_19_43_33_9689.jpg', '/home/pi/Desktop/images/15122025/19/43/image_15122025_19_43_44_10780.jpg', '/home/pi/Desktop/images/15122025/19/43/image_15122025_19_44_04_9745.jpg', '/home/pi/Desktop/images/15122025/19/44/image_15122025_19_44_13_9644.jpg', '/home/pi/Desktop/images/15122025/19/44/image_15122025_19_44_24_10821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/19/43/image_15122025_19_43_24_9763.jpg
/home/pi/Desktop/images/15122025/19/43/image_15122025_19_43_33_9689.jpg
/home/pi/Desktop/images/15122025/19/43/image_15122025_19_43_44_10780.jpg
/home/pi/Desktop/images/15122025/19/43/image_15122025_19_44_04_9745.jpg
/home/pi/Desktop/images/15122025/19/44/image_15122025_19_44_13_9644.jpg
/home/pi/Desktop/images/15122025/19/44/image_15122025_19_44_24_10821.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399544154","1399544157","1399544152","1399544155","1399544149","1399544128"],"photo_ids_order":["1399544128","1399544149","1399544152","1399544154","1399544155","1399544157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7227248e839722bb8b6c2f3916c9ead0.jpg","text":"TemporaryFile(/tmp/multipartBody6296221627786042201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824963391,"filename":"image_15122025_19_44_04_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/018985a02be36b920ac5b21918093c7b.jpg","text":"TemporaryFile(/tmp/multipartBody870588728959145910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824963391,"filename":"image_15122025_19_44_24_10821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c9cbe334d7f8dec123fbbc7b750aed5f.jpg","text":"TemporaryFile(/tmp/multipartBody4943881928644943893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824963391,"filename":"image_15122025_19_43_44_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/15/5503f02d78311d764871c27169dace58.jpg","text":"TemporaryFile(/tmp/multipartBody7072905495149831109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824963391,"filename":"image_15122025_19_44_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/15/905e6572d6e077fa842f6571383bb2d0.jpg","text":"TemporaryFile(/tmp/multipartBody8963068266179221504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824963391,"filename":"image_15122025_19_43_33_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/15/f732bc92ddf525ba5dd6a0a0f203f973.jpg","text":"TemporaryFile(/tmp/multipartBody3616025635289620187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765824963391,"filename":"image_15122025_19_43_24_9763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399544152","file1":"1399544149","file0":"1399544128","file4":"1399544155","file5":"1399544157","file3":"1399544154"},"map_files_photo_id_array":[{"photo_id":"1399544157","filename":"file5"},{"photo_id":"1399544152","filename":"file2"},{"photo_id":"1399544155","filename":"file4"},{"photo_id":"1399544149","filename":"file1"},{"photo_id":"1399544128","filename":"file0"},{"photo_id":"1399544154","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399544154":["hashtag1","hashtag2"]},{"1399544157":["hashtag1","hashtag2"]},{"1399544152":["hashtag1","hashtag2"]},{"1399544155":["hashtag1","hashtag2"]},{"1399544149":["hashtag1","hashtag2"]},{"1399544128":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399544154, 1399544157, 1399544152, 1399544155, 1399544149, 1399544128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19331884384155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 19:55:42.129757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_02_1574.jpg', '/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_03_1572.jpg', '/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_05_1611.jpg', '/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_07_1973.jpg', '/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_09_1590.jpg', '/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_10_1615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_02_1574.jpg
/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_03_1572.jpg
/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_05_1611.jpg
/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_07_1973.jpg
/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_09_1590.jpg
/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_10_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":["1399544165","1399544168","1399544162","1399544164","1399544167","1399544166"],"photo_ids_order":["1399544162","1399544164","1399544165","1399544166","1399544167","1399544168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/38261c86f2b2b297d8bac4ddccc1c667.jpg","text":"TemporaryFile(/tmp/multipartBody8827250937777302199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825002832,"filename":"image_05112025_16_02_05_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/15/6b39eb9f4980175fb5b407f51fc1859d.jpg","text":"TemporaryFile(/tmp/multipartBody8655583735832819286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825002832,"filename":"image_05112025_16_02_10_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/15/e417a759e9cf83fd68279ad6d5a69087.jpg","text":"TemporaryFile(/tmp/multipartBody3493269069277676155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825002832,"filename":"image_05112025_16_02_02_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/15/cc14f74d793e731544c62dd5ca52b5d4.jpg","text":"TemporaryFile(/tmp/multipartBody8194152108389482679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825002832,"filename":"image_05112025_16_02_03_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/15/1ffd375c708403485fd737994cea9618.jpg","text":"TemporaryFile(/tmp/multipartBody4838765109143564209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825002832,"filename":"image_05112025_16_02_09_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/15/3bbd9b2473129070cf619c65afbc7ebe.jpg","text":"TemporaryFile(/tmp/multipartBody4717376439582344434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825002832,"filename":"image_05112025_16_02_07_1973.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399544165","file1":"1399544164","file0":"1399544162","file4":"1399544167","file5":"1399544168","file3":"1399544166"},"map_files_photo_id_array":[{"photo_id":"1399544168","filename":"file5"},{"photo_id":"1399544165","filename":"file2"},{"photo_id":"1399544167","filename":"file4"},{"photo_id":"1399544164","filename":"file1"},{"photo_id":"1399544162","filename":"file0"},{"photo_id":"1399544166","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399544165":["hashtag1","hashtag2"]},{"1399544168":["hashtag1","hashtag2"]},{"1399544162":["hashtag1","hashtag2"]},{"1399544164":["hashtag1","hashtag2"]},{"1399544167":["hashtag1","hashtag2"]},{"1399544166":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399544165, 1399544168, 1399544162, 1399544164, 1399544167, 1399544166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73464035987854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 19:56:22.365813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/19/44/image_15122025_19_44_43_9702.jpg', '/home/pi/Desktop/images/15122025/19/46/image_15122025_19_46_53_9647.jpg', '/home/pi/Desktop/images/15122025/19/47/image_15122025_19_47_33_9856.jpg', '/home/pi/Desktop/images/15122025/19/47/image_15122025_19_47_44_10570.jpg', '/home/pi/Desktop/images/15122025/19/47/image_15122025_19_47_54_9688.jpg', '/home/pi/Desktop/images/15122025/19/48/image_15122025_19_48_14_10851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/19/44/image_15122025_19_44_43_9702.jpg
/home/pi/Desktop/images/15122025/19/46/image_15122025_19_46_53_9647.jpg
/home/pi/Desktop/images/15122025/19/47/image_15122025_19_47_33_9856.jpg
/home/pi/Desktop/images/15122025/19/47/image_15122025_19_47_44_10570.jpg
/home/pi/Desktop/images/15122025/19/47/image_15122025_19_47_54_9688.jpg
/home/pi/Desktop/images/15122025/19/48/image_15122025_19_48_14_10851.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399544177","1399544180","1399544174","1399544188","1399544190","1399544184"],"photo_ids_order":["1399544174","1399544177","1399544180","1399544184","1399544188","1399544190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3826e438febcf1feeb230880fa83efcb.jpg","text":"TemporaryFile(/tmp/multipartBody3123628410790184278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825042973,"filename":"image_15122025_19_46_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/15/3afbc3c78247ccf4b2c8abf290b1daca.jpg","text":"TemporaryFile(/tmp/multipartBody6183967399688458077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825042973,"filename":"image_15122025_19_47_33_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/15/85134cdc8b2b2931ea5a3a94a51137d2.jpg","text":"TemporaryFile(/tmp/multipartBody5581888030776722338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825042973,"filename":"image_15122025_19_44_43_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/15/67f22e9fc115e3584092cf4c437e89ea.jpg","text":"TemporaryFile(/tmp/multipartBody6654736402555095193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825042973,"filename":"image_15122025_19_47_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/15/3acd0375ee9ae97eeb29ecdef92b7140.jpg","text":"TemporaryFile(/tmp/multipartBody2345355032254741197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825042973,"filename":"image_15122025_19_48_14_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/15/c3278fdfe147f21cde2b7eba36907802.jpg","text":"TemporaryFile(/tmp/multipartBody6530343216394348695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825042973,"filename":"image_15122025_19_47_44_10570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399544180","file1":"1399544177","file0":"1399544174","file4":"1399544188","file5":"1399544190","file3":"1399544184"},"map_files_photo_id_array":[{"photo_id":"1399544190","filename":"file5"},{"photo_id":"1399544180","filename":"file2"},{"photo_id":"1399544188","filename":"file4"},{"photo_id":"1399544177","filename":"file1"},{"photo_id":"1399544174","filename":"file0"},{"photo_id":"1399544184","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399544177":["hashtag1","hashtag2"]},{"1399544180":["hashtag1","hashtag2"]},{"1399544174":["hashtag1","hashtag2"]},{"1399544188":["hashtag1","hashtag2"]},{"1399544190":["hashtag1","hashtag2"]},{"1399544184":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399544177, 1399544180, 1399544174, 1399544188, 1399544190, 1399544184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.954232692718506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 19:57:03.267119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/19/48/image_15122025_19_48_24_9749.jpg', '/home/pi/Desktop/images/15122025/19/48/image_15122025_19_48_34_9672.jpg', '/home/pi/Desktop/images/15122025/19/48/image_15122025_19_48_43_9766.jpg', '/home/pi/Desktop/images/15122025/19/49/image_15122025_19_49_23_9748.jpg', '/home/pi/Desktop/images/15122025/19/49/image_15122025_19_49_53_9605.jpg', '/home/pi/Desktop/images/15122025/19/49/image_15122025_19_50_04_10684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/19/48/image_15122025_19_48_24_9749.jpg
/home/pi/Desktop/images/15122025/19/48/image_15122025_19_48_34_9672.jpg
/home/pi/Desktop/images/15122025/19/48/image_15122025_19_48_43_9766.jpg
/home/pi/Desktop/images/15122025/19/49/image_15122025_19_49_23_9748.jpg
/home/pi/Desktop/images/15122025/19/49/image_15122025_19_49_53_9605.jpg
/home/pi/Desktop/images/15122025/19/49/image_15122025_19_50_04_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":["1399544249","1399544321","1399544194","1399544284","1399544359","1399544212"],"photo_ids_order":["1399544194","1399544212","1399544249","1399544284","1399544321","1399544359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b8f81fcecf040018bbc096f9642f911d.jpg","text":"TemporaryFile(/tmp/multipartBody19574548467886758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825083995,"filename":"image_15122025_19_48_43_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/15/831781030b928ba38d905131013df860.jpg","text":"TemporaryFile(/tmp/multipartBody5004506637202692300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825083995,"filename":"image_15122025_19_49_53_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8ccaa91ab37224710ecaecaefc5013ac.jpg","text":"TemporaryFile(/tmp/multipartBody166445763193915286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825083995,"filename":"image_15122025_19_48_24_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5a7921477af88aabd4e8a577361337e0.jpg","text":"TemporaryFile(/tmp/multipartBody4887785895649765983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825083995,"filename":"image_15122025_19_49_23_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/15/0df6a71733e04e7dd60ecab64cf1c11e.jpg","text":"TemporaryFile(/tmp/multipartBody8354937053762862362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825083995,"filename":"image_15122025_19_50_04_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e6f664d71eee4fc764cf62ae664a7cff.jpg","text":"TemporaryFile(/tmp/multipartBody4610947949685756049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825083995,"filename":"image_15122025_19_48_34_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399544249","file1":"1399544212","file0":"1399544194","file4":"1399544321","file5":"1399544359","file3":"1399544284"},"map_files_photo_id_array":[{"photo_id":"1399544359","filename":"file5"},{"photo_id":"1399544249","filename":"file2"},{"photo_id":"1399544321","filename":"file4"},{"photo_id":"1399544212","filename":"file1"},{"photo_id":"1399544194","filename":"file0"},{"photo_id":"1399544284","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399544249":["hashtag1","hashtag2"]},{"1399544321":["hashtag1","hashtag2"]},{"1399544194":["hashtag1","hashtag2"]},{"1399544284":["hashtag1","hashtag2"]},{"1399544359":["hashtag1","hashtag2"]},{"1399544212":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399544249, 1399544321, 1399544194, 1399544284, 1399544359, 1399544212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77362847328186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 19:57:42.706079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_12_1684.jpg', '/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_13_1525.jpg', '/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_15_1661.jpg', '/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_17_1662.jpg', '/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_18_1567.jpg', '/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_20_1648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_12_1684.jpg
/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_13_1525.jpg
/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_15_1661.jpg
/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_17_1662.jpg
/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_18_1567.jpg
/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_20_1648.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399544529","1399544508","1399544492","1399544570","1399544507","1399544506"],"photo_ids_order":["1399544492","1399544506","1399544507","1399544508","1399544529","1399544570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9e5135781662a9d0ddb030c8bc939476.jpg","text":"TemporaryFile(/tmp/multipartBody5764502244595310820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825123420,"filename":"image_05112025_16_02_18_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/15/427751f0ea04b6cb9138af409f2b3d56.jpg","text":"TemporaryFile(/tmp/multipartBody5999786747993742196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825123420,"filename":"image_05112025_16_02_17_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/15/3e0427a73eeec9b9b68b3e2094c1ac08.jpg","text":"TemporaryFile(/tmp/multipartBody7711701224581177529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825123420,"filename":"image_05112025_16_02_12_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/15/08d99ebfa4f85305ac7b92f084e964e9.jpg","text":"TemporaryFile(/tmp/multipartBody8309992640249708807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825123420,"filename":"image_05112025_16_02_20_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/15/6fa03dd23f4fde12277c2bedd1ec652c.jpg","text":"TemporaryFile(/tmp/multipartBody1789823566796964396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825123420,"filename":"image_05112025_16_02_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/15/43f477432cc2f0f584a9da1b4011cd90.jpg","text":"TemporaryFile(/tmp/multipartBody642051084261003611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825123420,"filename":"image_05112025_16_02_13_1525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399544507","file1":"1399544506","file0":"1399544492","file4":"1399544529","file5":"1399544570","file3":"1399544508"},"map_files_photo_id_array":[{"photo_id":"1399544570","filename":"file5"},{"photo_id":"1399544507","filename":"file2"},{"photo_id":"1399544529","filename":"file4"},{"photo_id":"1399544506","filename":"file1"},{"photo_id":"1399544492","filename":"file0"},{"photo_id":"1399544508","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399544529":["hashtag1","hashtag2"]},{"1399544508":["hashtag1","hashtag2"]},{"1399544492":["hashtag1","hashtag2"]},{"1399544570":["hashtag1","hashtag2"]},{"1399544507":["hashtag1","hashtag2"]},{"1399544506":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399544529, 1399544508, 1399544492, 1399544570, 1399544507, 1399544506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.548969745635986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 19:59:03.050330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/19/50/image_15122025_19_50_14_9654.jpg', '/home/pi/Desktop/images/15122025/19/50/image_15122025_19_50_23_9623.jpg', '/home/pi/Desktop/images/15122025/19/50/image_15122025_19_50_44_9647.jpg', '/home/pi/Desktop/images/15122025/19/51/image_15122025_19_51_14_10715.jpg', '/home/pi/Desktop/images/15122025/19/51/image_15122025_19_51_24_9753.jpg', '/home/pi/Desktop/images/15122025/19/51/image_15122025_19_51_33_9537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/19/50/image_15122025_19_50_14_9654.jpg
/home/pi/Desktop/images/15122025/19/50/image_15122025_19_50_23_9623.jpg
/home/pi/Desktop/images/15122025/19/50/image_15122025_19_50_44_9647.jpg
/home/pi/Desktop/images/15122025/19/51/image_15122025_19_51_14_10715.jpg
/home/pi/Desktop/images/15122025/19/51/image_15122025_19_51_24_9753.jpg
/home/pi/Desktop/images/15122025/19/51/image_15122025_19_51_33_9537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399544916","1399544931","1399544928","1399544933","1399544936","1399544889"],"photo_ids_order":["1399544889","1399544916","1399544928","1399544931","1399544933","1399544936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/20cece9690fae62a682247716f5db070.jpg","text":"TemporaryFile(/tmp/multipartBody5002312069052683335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825203866,"filename":"image_15122025_19_50_23_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8a6c328432e5f31b13e86bcb5962c585.jpg","text":"TemporaryFile(/tmp/multipartBody2191496207161694978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825203866,"filename":"image_15122025_19_51_14_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7a37154fde92e39744b633e70c607ed4.jpg","text":"TemporaryFile(/tmp/multipartBody7625799145608536017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825203866,"filename":"image_15122025_19_50_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/15/e447e6efb200ef093702d9ed5a4d960f.jpg","text":"TemporaryFile(/tmp/multipartBody6552062811637724883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825203866,"filename":"image_15122025_19_51_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/15/33e1849a88efcf339b4cc2976f3748ca.jpg","text":"TemporaryFile(/tmp/multipartBody5113069320236309505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825203866,"filename":"image_15122025_19_51_33_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/15/78c355ee409c74fbc4ec1f152c6f40f3.jpg","text":"TemporaryFile(/tmp/multipartBody3212863054440104639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825203866,"filename":"image_15122025_19_50_14_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399544928","file1":"1399544916","file0":"1399544889","file4":"1399544933","file5":"1399544936","file3":"1399544931"},"map_files_photo_id_array":[{"photo_id":"1399544936","filename":"file5"},{"photo_id":"1399544928","filename":"file2"},{"photo_id":"1399544933","filename":"file4"},{"photo_id":"1399544916","filename":"file1"},{"photo_id":"1399544889","filename":"file0"},{"photo_id":"1399544931","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399544916":["hashtag1","hashtag2"]},{"1399544931":["hashtag1","hashtag2"]},{"1399544928":["hashtag1","hashtag2"]},{"1399544933":["hashtag1","hashtag2"]},{"1399544936":["hashtag1","hashtag2"]},{"1399544889":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399544916, 1399544931, 1399544928, 1399544933, 1399544936, 1399544889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.3655686378479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 20:00:02.923355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/19/51/image_15122025_19_51_44_10602.jpg', '/home/pi/Desktop/images/15122025/19/51/image_15122025_19_51_54_9760.jpg', '/home/pi/Desktop/images/15122025/19/51/image_15122025_19_52_03_9771.jpg', '/home/pi/Desktop/images/15122025/19/52/image_15122025_19_52_24_9741.jpg', '/home/pi/Desktop/images/15122025/19/52/image_15122025_19_52_34_9892.jpg', '/home/pi/Desktop/images/15122025/19/52/image_15122025_19_52_44_10049.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/19/51/image_15122025_19_51_44_10602.jpg
/home/pi/Desktop/images/15122025/19/51/image_15122025_19_51_54_9760.jpg
/home/pi/Desktop/images/15122025/19/51/image_15122025_19_52_03_9771.jpg
/home/pi/Desktop/images/15122025/19/52/image_15122025_19_52_24_9741.jpg
/home/pi/Desktop/images/15122025/19/52/image_15122025_19_52_34_9892.jpg
/home/pi/Desktop/images/15122025/19/52/image_15122025_19_52_44_10049.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399544943","1399544946","1399544945","1399544948","1399544950","1399544947"],"photo_ids_order":["1399544943","1399544945","1399544946","1399544947","1399544948","1399544950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c8040f6e60287e3a48462cc8466b7034.jpg","text":"TemporaryFile(/tmp/multipartBody4997362702979860575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825263566,"filename":"image_15122025_19_51_44_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/15/9b9e6c1705eb7c49a8940a7b3aec0b54.jpg","text":"TemporaryFile(/tmp/multipartBody417183645296482331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825263566,"filename":"image_15122025_19_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/15/05535f18d92f2f2a4d0d03ca4ce85f12.jpg","text":"TemporaryFile(/tmp/multipartBody2990293557404431386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825263566,"filename":"image_15122025_19_51_54_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ef873a1f3dc1d428914c530885cf3a32.jpg","text":"TemporaryFile(/tmp/multipartBody8702640173133974263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825263566,"filename":"image_15122025_19_52_34_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/15/bbe18925abc6d7e52da993f988385e7c.jpg","text":"TemporaryFile(/tmp/multipartBody4336783574421419034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825263566,"filename":"image_15122025_19_52_44_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/15/2496fc6405ecb86cbd1026009bd861a7.jpg","text":"TemporaryFile(/tmp/multipartBody6271331030560475752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825263566,"filename":"image_15122025_19_52_24_9741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399544946","file1":"1399544945","file0":"1399544943","file4":"1399544948","file5":"1399544950","file3":"1399544947"},"map_files_photo_id_array":[{"photo_id":"1399544950","filename":"file5"},{"photo_id":"1399544946","filename":"file2"},{"photo_id":"1399544948","filename":"file4"},{"photo_id":"1399544945","filename":"file1"},{"photo_id":"1399544943","filename":"file0"},{"photo_id":"1399544947","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399544943":["hashtag1","hashtag2"]},{"1399544946":["hashtag1","hashtag2"]},{"1399544945":["hashtag1","hashtag2"]},{"1399544948":["hashtag1","hashtag2"]},{"1399544950":["hashtag1","hashtag2"]},{"1399544947":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399544943, 1399544946, 1399544945, 1399544948, 1399544950, 1399544947)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.29856610298157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 20:01:02.638093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/19/52/image_15122025_19_52_54_9706.jpg', '/home/pi/Desktop/images/15122025/19/52/image_15122025_19_53_03_9706.jpg', '/home/pi/Desktop/images/15122025/19/53/image_15122025_19_53_24_9662.jpg', '/home/pi/Desktop/images/15122025/19/53/image_15122025_19_53_54_9640.jpg', '/home/pi/Desktop/images/15122025/19/53/image_15122025_19_54_03_9710.jpg', '/home/pi/Desktop/images/15122025/19/54/image_15122025_19_54_14_10690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/19/52/image_15122025_19_52_54_9706.jpg
/home/pi/Desktop/images/15122025/19/52/image_15122025_19_53_03_9706.jpg
/home/pi/Desktop/images/15122025/19/53/image_15122025_19_53_24_9662.jpg
/home/pi/Desktop/images/15122025/19/53/image_15122025_19_53_54_9640.jpg
/home/pi/Desktop/images/15122025/19/53/image_15122025_19_54_03_9710.jpg
/home/pi/Desktop/images/15122025/19/54/image_15122025_19_54_14_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":["1399544964","1399544963","1399544966","1399544969","1399544965","1399544967"],"photo_ids_order":["1399544963","1399544964","1399544965","1399544966","1399544967","1399544969"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6b16fbb5ce0fd91e588b5cfb5247a935.jpg","text":"TemporaryFile(/tmp/multipartBody5098502428954987921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825323345,"filename":"image_15122025_19_53_03_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/15/9fa93e1c08bb27d000ee939e15c6221e.jpg","text":"TemporaryFile(/tmp/multipartBody2158181743169722027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825323345,"filename":"image_15122025_19_52_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/15/579b092152ffab76f2abc70085968586.jpg","text":"TemporaryFile(/tmp/multipartBody2979314820301087116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825323345,"filename":"image_15122025_19_53_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5862ce33df0fad6482d71dc818d982a3.jpg","text":"TemporaryFile(/tmp/multipartBody111162168928175904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825323345,"filename":"image_15122025_19_54_14_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/15/9b9756a7d8556b379847841d7aa929ad.jpg","text":"TemporaryFile(/tmp/multipartBody6465886636912359285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825323345,"filename":"image_15122025_19_53_24_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1ad016e91a5da69d21860365c6e037ee.jpg","text":"TemporaryFile(/tmp/multipartBody3247215495835170841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825323345,"filename":"image_15122025_19_54_03_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399544965","file1":"1399544964","file0":"1399544963","file4":"1399544967","file5":"1399544969","file3":"1399544966"},"map_files_photo_id_array":[{"photo_id":"1399544969","filename":"file5"},{"photo_id":"1399544965","filename":"file2"},{"photo_id":"1399544967","filename":"file4"},{"photo_id":"1399544964","filename":"file1"},{"photo_id":"1399544963","filename":"file0"},{"photo_id":"1399544966","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399544964":["hashtag1","hashtag2"]},{"1399544963":["hashtag1","hashtag2"]},{"1399544966":["hashtag1","hashtag2"]},{"1399544969":["hashtag1","hashtag2"]},{"1399544965":["hashtag1","hashtag2"]},{"1399544967":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399544964, 1399544963, 1399544966, 1399544969, 1399544965, 1399544967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46939826011658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 20:01:42.130683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_22_1781.jpg', '/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_28_6386.jpg', '/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_30_1662.jpg', '/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_31_1578.jpg', '/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_33_1645.jpg', '/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_42_8890.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_22_1781.jpg
/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_28_6386.jpg
/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_30_1662.jpg
/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_31_1578.jpg
/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_33_1645.jpg
/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_42_8890.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399544982","1399544978","1399544980","1399544974","1399544977","1399544979"],"photo_ids_order":["1399544974","1399544977","1399544978","1399544979","1399544980","1399544982"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/09a03b1d98d43373b54ffa26d3259fd5.jpg","text":"TemporaryFile(/tmp/multipartBody9193172779801410268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825362841,"filename":"image_05112025_16_02_42_8890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cabbe51630cd2b3e2bf69abf5b983a1b.jpg","text":"TemporaryFile(/tmp/multipartBody7289973520007421841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825362841,"filename":"image_05112025_16_02_30_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/15/a61a42ba0917b30f2c2a59b2f3b82c7b.jpg","text":"TemporaryFile(/tmp/multipartBody1212718626810740128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825362841,"filename":"image_05112025_16_02_33_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/15/45359f02c1da14565d00c17b94229932.jpg","text":"TemporaryFile(/tmp/multipartBody1921608326455697842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825362841,"filename":"image_05112025_16_02_22_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/15/ca886be9a02c4806a4cd54166a003a47.jpg","text":"TemporaryFile(/tmp/multipartBody3017978411769383539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825362841,"filename":"image_05112025_16_02_28_6386.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2c041fb0aa940325c4c231f678c9e574.jpg","text":"TemporaryFile(/tmp/multipartBody4887526691917274075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825362841,"filename":"image_05112025_16_02_31_1578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399544978","file1":"1399544977","file0":"1399544974","file4":"1399544980","file5":"1399544982","file3":"1399544979"},"map_files_photo_id_array":[{"photo_id":"1399544982","filename":"file5"},{"photo_id":"1399544978","filename":"file2"},{"photo_id":"1399544980","filename":"file4"},{"photo_id":"1399544977","filename":"file1"},{"photo_id":"1399544974","filename":"file0"},{"photo_id":"1399544979","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399544982":["hashtag1","hashtag2"]},{"1399544978":["hashtag1","hashtag2"]},{"1399544980":["hashtag1","hashtag2"]},{"1399544974":["hashtag1","hashtag2"]},{"1399544977":["hashtag1","hashtag2"]},{"1399544979":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399544982, 1399544978, 1399544980, 1399544974, 1399544977, 1399544979)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.52867650985718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 20:02:32.412960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 20:02:42.371896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_51_8922.jpg', '/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_52_1565.jpg', '/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_54_1669.jpg', '/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_56_1597.jpg', '/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_03_7838.jpg', '/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_07_1682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_51_8922.jpg
/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_52_1565.jpg
/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_54_1669.jpg
/home/pi/Desktop/images/05112025/16/02/image_05112025_16_02_56_1597.jpg
/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_03_7838.jpg
/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_07_1682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399545000","1399544999","1399545002","1399544998","1399545001","1399544994"],"photo_ids_order":["1399544994","1399544998","1399544999","1399545000","1399545001","1399545002"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/06ac21a567ac130dcd142e5b7c88b91b.jpg","text":"TemporaryFile(/tmp/multipartBody2817925846681245179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825423072,"filename":"image_05112025_16_02_56_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/15/742a1728b867603d4ca366c26b7b75ae.jpg","text":"TemporaryFile(/tmp/multipartBody450081787523336203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825423072,"filename":"image_05112025_16_02_54_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/15/5892641e359cd5917a99ff3b88c53362.jpg","text":"TemporaryFile(/tmp/multipartBody8534424297122371632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825423072,"filename":"image_05112025_16_03_07_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/15/224418c4e2bd21976d92c20589a260f2.jpg","text":"TemporaryFile(/tmp/multipartBody6973564196453355588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825423072,"filename":"image_05112025_16_02_52_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/15/160fd8941bfcf494923d70bd96ba1467.jpg","text":"TemporaryFile(/tmp/multipartBody6928918649830654423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825423072,"filename":"image_05112025_16_03_03_7838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cef0f98c9332b054b16c350bc38011c6.jpg","text":"TemporaryFile(/tmp/multipartBody4960115322603440250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825423072,"filename":"image_05112025_16_02_51_8922.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399544999","file1":"1399544998","file0":"1399544994","file4":"1399545001","file5":"1399545002","file3":"1399545000"},"map_files_photo_id_array":[{"photo_id":"1399545002","filename":"file5"},{"photo_id":"1399544999","filename":"file2"},{"photo_id":"1399545001","filename":"file4"},{"photo_id":"1399544998","filename":"file1"},{"photo_id":"1399544994","filename":"file0"},{"photo_id":"1399545000","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399545000":["hashtag1","hashtag2"]},{"1399544999":["hashtag1","hashtag2"]},{"1399545002":["hashtag1","hashtag2"]},{"1399544998":["hashtag1","hashtag2"]},{"1399545001":["hashtag1","hashtag2"]},{"1399544994":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399545000, 1399544999, 1399545002, 1399544998, 1399545001, 1399544994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44342803955078 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 20:03:22.685896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/19/54/image_15122025_19_54_34_9708.jpg', '/home/pi/Desktop/images/15122025/19/54/image_15122025_19_54_44_9704.jpg', '/home/pi/Desktop/images/15122025/19/54/image_15122025_19_54_53_9658.jpg', '/home/pi/Desktop/images/15122025/19/55/image_15122025_19_55_24_9898.jpg', '/home/pi/Desktop/images/15122025/19/55/image_15122025_19_55_33_9556.jpg', '/home/pi/Desktop/images/15122025/19/55/image_15122025_19_56_03_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/19/54/image_15122025_19_54_34_9708.jpg
/home/pi/Desktop/images/15122025/19/54/image_15122025_19_54_44_9704.jpg
/home/pi/Desktop/images/15122025/19/54/image_15122025_19_54_53_9658.jpg
/home/pi/Desktop/images/15122025/19/55/image_15122025_19_55_24_9898.jpg
/home/pi/Desktop/images/15122025/19/55/image_15122025_19_55_33_9556.jpg
/home/pi/Desktop/images/15122025/19/55/image_15122025_19_56_03_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":["1399545018","1399545012","1399545009","1399545014","1399545011","1399545007"],"photo_ids_order":["1399545007","1399545009","1399545011","1399545012","1399545014","1399545018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/025b6e785d7a68c335ad1fa76b12fef2.jpg","text":"TemporaryFile(/tmp/multipartBody4131179433496829383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825463320,"filename":"image_15122025_19_56_03_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/15/3106974642ce4ab2fc090473f9517204.jpg","text":"TemporaryFile(/tmp/multipartBody6437474448525488288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825463320,"filename":"image_15122025_19_55_24_9898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/df2ec280fbcbd819b40eb8e1559f95f2.jpg","text":"TemporaryFile(/tmp/multipartBody8950865662046682677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825463320,"filename":"image_15122025_19_54_44_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f73e1a90340abc2aa1281a442458a401.jpg","text":"TemporaryFile(/tmp/multipartBody3284071466617338136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825463320,"filename":"image_15122025_19_55_33_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/15/93a74fc81556996b8d030803830ba630.jpg","text":"TemporaryFile(/tmp/multipartBody865897916892709367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825463320,"filename":"image_15122025_19_54_53_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/15/4bc26c6c6d11f35fb745d66210a39de6.jpg","text":"TemporaryFile(/tmp/multipartBody174524425481733620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825463320,"filename":"image_15122025_19_54_34_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545011","file1":"1399545009","file0":"1399545007","file4":"1399545014","file5":"1399545018","file3":"1399545012"},"map_files_photo_id_array":[{"photo_id":"1399545018","filename":"file5"},{"photo_id":"1399545011","filename":"file2"},{"photo_id":"1399545014","filename":"file4"},{"photo_id":"1399545009","filename":"file1"},{"photo_id":"1399545007","filename":"file0"},{"photo_id":"1399545012","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399545018":["hashtag1","hashtag2"]},{"1399545012":["hashtag1","hashtag2"]},{"1399545009":["hashtag1","hashtag2"]},{"1399545014":["hashtag1","hashtag2"]},{"1399545011":["hashtag1","hashtag2"]},{"1399545007":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399545018, 1399545012, 1399545009, 1399545014, 1399545011, 1399545007)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.019022703170776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 20:04:14.684241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 20:04:24.483584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/19/56/image_15122025_19_56_24_9772.jpg', '/home/pi/Desktop/images/15122025/19/56/image_15122025_19_56_34_9748.jpg', '/home/pi/Desktop/images/15122025/19/56/image_15122025_19_56_44_9948.jpg', '/home/pi/Desktop/images/15122025/19/56/image_15122025_19_56_56_12032.jpg', '/home/pi/Desktop/images/15122025/19/57/image_15122025_19_57_34_9637.jpg', '/home/pi/Desktop/images/15122025/19/57/image_15122025_19_58_04_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/19/56/image_15122025_19_56_24_9772.jpg
/home/pi/Desktop/images/15122025/19/56/image_15122025_19_56_34_9748.jpg
/home/pi/Desktop/images/15122025/19/56/image_15122025_19_56_44_9948.jpg
/home/pi/Desktop/images/15122025/19/56/image_15122025_19_56_56_12032.jpg
/home/pi/Desktop/images/15122025/19/57/image_15122025_19_57_34_9637.jpg
/home/pi/Desktop/images/15122025/19/57/image_15122025_19_58_04_9767.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 3.162796974182129 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 20:04:34.468677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 20:04:44.601479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_08_1656.jpg', '/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_10_1637.jpg', '/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_12_1693.jpg', '/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_14_1745.jpg', '/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_15_1606.jpg', '/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_17_1517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_08_1656.jpg
/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_10_1637.jpg
/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_12_1693.jpg
/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_14_1745.jpg
/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_15_1606.jpg
/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_17_1517.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399545039","1399545044","1399545038","1399545041","1399545040","1399545042"],"photo_ids_order":["1399545038","1399545039","1399545040","1399545041","1399545042","1399545044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3ecf622ef3180b4dbe2faad965d6f99c.jpg","text":"TemporaryFile(/tmp/multipartBody2137715070585260965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825546599,"filename":"image_05112025_16_03_10_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/15/e0f74f4a562ce22f0ef7a50c951e7e2d.jpg","text":"TemporaryFile(/tmp/multipartBody7114213136941543007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825546599,"filename":"image_05112025_16_03_17_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/15/c1db8b9556af960d3008f7358aa5014f.jpg","text":"TemporaryFile(/tmp/multipartBody5153232452718022696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825546599,"filename":"image_05112025_16_03_08_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/15/37e0f45ecc34ca0636771d0e1f454aed.jpg","text":"TemporaryFile(/tmp/multipartBody7222688616683556714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825546599,"filename":"image_05112025_16_03_14_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/15/8a43bfa516bc730146c0c4a89a13ac71.jpg","text":"TemporaryFile(/tmp/multipartBody3853878062683785757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825546599,"filename":"image_05112025_16_03_12_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/15/52ecd301554cf2723196ba2ef3a508bf.jpg","text":"TemporaryFile(/tmp/multipartBody8059555201585582781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825546599,"filename":"image_05112025_16_03_15_1606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545040","file1":"1399545039","file0":"1399545038","file4":"1399545042","file5":"1399545044","file3":"1399545041"},"map_files_photo_id_array":[{"photo_id":"1399545044","filename":"file5"},{"photo_id":"1399545040","filename":"file2"},{"photo_id":"1399545042","filename":"file4"},{"photo_id":"1399545039","filename":"file1"},{"photo_id":"1399545038","filename":"file0"},{"photo_id":"1399545041","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399545039":["hashtag1","hashtag2"]},{"1399545044":["hashtag1","hashtag2"]},{"1399545038":["hashtag1","hashtag2"]},{"1399545041":["hashtag1","hashtag2"]},{"1399545040":["hashtag1","hashtag2"]},{"1399545042":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399545039, 1399545044, 1399545038, 1399545041, 1399545040, 1399545042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.974724531173706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 20:05:31.972483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 20:05:41.855762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_18_1709.jpg', '/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_20_1853.jpg', '/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_22_1911.jpg', '/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_24_1671.jpg', '/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_26_1774.jpg', '/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_27_1557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_18_1709.jpg
/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_20_1853.jpg
/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_22_1911.jpg
/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_24_1671.jpg
/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_26_1774.jpg
/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_27_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":["1399545056","1399545059","1399545055","1399545058","1399545052","1399545057"],"photo_ids_order":["1399545052","1399545055","1399545056","1399545057","1399545058","1399545059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c2a3ba75ca37b47256a6b2088ac30341.jpg","text":"TemporaryFile(/tmp/multipartBody6282892345725323694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825602561,"filename":"image_05112025_16_03_22_1911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/325b558b4e47772f9732df9792e1777f.jpg","text":"TemporaryFile(/tmp/multipartBody2673351206670906363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825602561,"filename":"image_05112025_16_03_27_1557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c7c983efb0e80fa57c9501145cd2cab6.jpg","text":"TemporaryFile(/tmp/multipartBody523384069933056758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825602561,"filename":"image_05112025_16_03_20_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/15/ca989ce971339df53fb7d1df910aaf27.jpg","text":"TemporaryFile(/tmp/multipartBody4973365045681930606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825602561,"filename":"image_05112025_16_03_26_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/15/d088a69ec48a2c341af2fb05e1042daf.jpg","text":"TemporaryFile(/tmp/multipartBody3854388685242793492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825602561,"filename":"image_05112025_16_03_18_1709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d9a133cc3abaf0339adf8c62d7560ff1.jpg","text":"TemporaryFile(/tmp/multipartBody7933797870028827552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825602561,"filename":"image_05112025_16_03_24_1671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545056","file1":"1399545055","file0":"1399545052","file4":"1399545058","file5":"1399545059","file3":"1399545057"},"map_files_photo_id_array":[{"photo_id":"1399545059","filename":"file5"},{"photo_id":"1399545056","filename":"file2"},{"photo_id":"1399545058","filename":"file4"},{"photo_id":"1399545055","filename":"file1"},{"photo_id":"1399545052","filename":"file0"},{"photo_id":"1399545057","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399545056":["hashtag1","hashtag2"]},{"1399545059":["hashtag1","hashtag2"]},{"1399545055":["hashtag1","hashtag2"]},{"1399545058":["hashtag1","hashtag2"]},{"1399545052":["hashtag1","hashtag2"]},{"1399545057":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399545056, 1399545059, 1399545055, 1399545058, 1399545052, 1399545057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82034349441528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 20:06:22.138219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/19/56/image_15122025_19_56_24_9772.jpg', '/home/pi/Desktop/images/15122025/19/56/image_15122025_19_56_34_9748.jpg', '/home/pi/Desktop/images/15122025/19/56/image_15122025_19_56_44_9948.jpg', '/home/pi/Desktop/images/15122025/19/56/image_15122025_19_56_56_12032.jpg', '/home/pi/Desktop/images/15122025/19/57/image_15122025_19_57_34_9637.jpg', '/home/pi/Desktop/images/15122025/19/57/image_15122025_19_58_04_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/19/56/image_15122025_19_56_24_9772.jpg
/home/pi/Desktop/images/15122025/19/56/image_15122025_19_56_34_9748.jpg
/home/pi/Desktop/images/15122025/19/56/image_15122025_19_56_44_9948.jpg
/home/pi/Desktop/images/15122025/19/56/image_15122025_19_56_56_12032.jpg
/home/pi/Desktop/images/15122025/19/57/image_15122025_19_57_34_9637.jpg
/home/pi/Desktop/images/15122025/19/57/image_15122025_19_58_04_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":["1399545071","1399545065","1399545068","1399545070","1399545075","1399545063"],"photo_ids_order":["1399545063","1399545065","1399545068","1399545070","1399545071","1399545075"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3ae1a474c789ea1aa48c74f55c82120f.jpg","text":"TemporaryFile(/tmp/multipartBody5098659671953420595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825642819,"filename":"image_15122025_19_57_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/15/d1509fcbfaedf7c4bafc26f2575f20d5.jpg","text":"TemporaryFile(/tmp/multipartBody3009156555310655226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825642819,"filename":"image_15122025_19_56_34_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/39f210655a5df848a0cfb004d1fba8f8.jpg","text":"TemporaryFile(/tmp/multipartBody1142811040932009426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825642819,"filename":"image_15122025_19_56_44_9948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/89341d20fd49128593f0b25d5d151c25.jpg","text":"TemporaryFile(/tmp/multipartBody2597342557848369280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825642819,"filename":"image_15122025_19_56_56_12032.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ec09bd7cf4683ea5090e4a2b6f0afd19.jpg","text":"TemporaryFile(/tmp/multipartBody7069379052913875129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825642819,"filename":"image_15122025_19_58_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/15/bfa0684da6275c9881b7ad246c531d5f.jpg","text":"TemporaryFile(/tmp/multipartBody5286343711485378857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825642819,"filename":"image_15122025_19_56_24_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545068","file1":"1399545065","file0":"1399545063","file4":"1399545071","file5":"1399545075","file3":"1399545070"},"map_files_photo_id_array":[{"photo_id":"1399545075","filename":"file5"},{"photo_id":"1399545068","filename":"file2"},{"photo_id":"1399545071","filename":"file4"},{"photo_id":"1399545065","filename":"file1"},{"photo_id":"1399545063","filename":"file0"},{"photo_id":"1399545070","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399545071":["hashtag1","hashtag2"]},{"1399545065":["hashtag1","hashtag2"]},{"1399545068":["hashtag1","hashtag2"]},{"1399545070":["hashtag1","hashtag2"]},{"1399545075":["hashtag1","hashtag2"]},{"1399545063":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399545071, 1399545065, 1399545068, 1399545070, 1399545075, 1399545063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.04186391830444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 20:07:02.975276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/19/58/image_15122025_19_58_14_9787.jpg', '/home/pi/Desktop/images/15122025/19/58/image_15122025_19_58_23_9667.jpg', '/home/pi/Desktop/images/15122025/19/58/image_15122025_19_58_34_10642.jpg', '/home/pi/Desktop/images/15122025/19/58/image_15122025_19_58_44_9790.jpg', '/home/pi/Desktop/images/15122025/19/58/image_15122025_19_58_53_9650.jpg', '/home/pi/Desktop/images/15122025/19/58/image_15122025_19_59_03_9875.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/19/58/image_15122025_19_58_14_9787.jpg
/home/pi/Desktop/images/15122025/19/58/image_15122025_19_58_23_9667.jpg
/home/pi/Desktop/images/15122025/19/58/image_15122025_19_58_34_10642.jpg
/home/pi/Desktop/images/15122025/19/58/image_15122025_19_58_44_9790.jpg
/home/pi/Desktop/images/15122025/19/58/image_15122025_19_58_53_9650.jpg
/home/pi/Desktop/images/15122025/19/58/image_15122025_19_59_03_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":["1399545083","1399545077","1399545085","1399545088","1399545079","1399545081"],"photo_ids_order":["1399545077","1399545079","1399545081","1399545083","1399545085","1399545088"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3ff69cd6b9982102b9d2f83327b7f190.jpg","text":"TemporaryFile(/tmp/multipartBody1626042715122173511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825683652,"filename":"image_15122025_19_58_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/15/7e1396013c2f2da053a18edb1c473317.jpg","text":"TemporaryFile(/tmp/multipartBody3233084428537558182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825683652,"filename":"image_15122025_19_58_14_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/743719c05e26f17091ff9181c7b3eec9.jpg","text":"TemporaryFile(/tmp/multipartBody5946757713396518943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825683652,"filename":"image_15122025_19_58_53_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/79c17e9ada7f02d687bff3bcdc834a2e.jpg","text":"TemporaryFile(/tmp/multipartBody1279556523299127445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825683652,"filename":"image_15122025_19_59_03_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/15/64128d95201abaa8ff1c8e90dd76d1fa.jpg","text":"TemporaryFile(/tmp/multipartBody5461814828522085269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825683652,"filename":"image_15122025_19_58_23_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/15/0639c531c3700312bf46c33d262098b0.jpg","text":"TemporaryFile(/tmp/multipartBody4850719925550563721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825683652,"filename":"image_15122025_19_58_34_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545081","file1":"1399545079","file0":"1399545077","file4":"1399545085","file5":"1399545088","file3":"1399545083"},"map_files_photo_id_array":[{"photo_id":"1399545088","filename":"file5"},{"photo_id":"1399545081","filename":"file2"},{"photo_id":"1399545085","filename":"file4"},{"photo_id":"1399545079","filename":"file1"},{"photo_id":"1399545077","filename":"file0"},{"photo_id":"1399545083","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399545083":["hashtag1","hashtag2"]},{"1399545077":["hashtag1","hashtag2"]},{"1399545085":["hashtag1","hashtag2"]},{"1399545088":["hashtag1","hashtag2"]},{"1399545079":["hashtag1","hashtag2"]},{"1399545081":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399545083, 1399545077, 1399545085, 1399545088, 1399545079, 1399545081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.590447664260864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 20:07:42.260301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_29_1792.jpg', '/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_31_1701.jpg', '/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_32_1647.jpg', '/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_34_1696.jpg', '/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_36_1650.jpg', '/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_37_1790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_29_1792.jpg
/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_31_1701.jpg
/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_32_1647.jpg
/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_34_1696.jpg
/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_36_1650.jpg
/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_37_1790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399545102","1399545095","1399545101","1399545097","1399545103","1399545100"],"photo_ids_order":["1399545095","1399545097","1399545100","1399545101","1399545102","1399545103"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5a26ef01192e8a069d440b1c50d99867.jpg","text":"TemporaryFile(/tmp/multipartBody1985216956916624034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825722966,"filename":"image_05112025_16_03_36_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/15/9fd11c68e2d827798a10b889865a90cd.jpg","text":"TemporaryFile(/tmp/multipartBody4014439070803457663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825722966,"filename":"image_05112025_16_03_29_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/15/4809009c1f9bc4f2ec19df617458c7a4.jpg","text":"TemporaryFile(/tmp/multipartBody7800620876289907620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825722966,"filename":"image_05112025_16_03_34_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/15/0698d692b90766dee64bd4a791fc1e7b.jpg","text":"TemporaryFile(/tmp/multipartBody3585464580322352270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825722966,"filename":"image_05112025_16_03_31_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/15/4031f5afd692d3c4725d0af33939b843.jpg","text":"TemporaryFile(/tmp/multipartBody7564676524274268952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825722966,"filename":"image_05112025_16_03_37_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/15/07272845adae8d599d15f48f0c3e3482.jpg","text":"TemporaryFile(/tmp/multipartBody8954433008832550125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825722966,"filename":"image_05112025_16_03_32_1647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545100","file1":"1399545097","file0":"1399545095","file4":"1399545102","file5":"1399545103","file3":"1399545101"},"map_files_photo_id_array":[{"photo_id":"1399545103","filename":"file5"},{"photo_id":"1399545100","filename":"file2"},{"photo_id":"1399545102","filename":"file4"},{"photo_id":"1399545097","filename":"file1"},{"photo_id":"1399545095","filename":"file0"},{"photo_id":"1399545101","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399545102":["hashtag1","hashtag2"]},{"1399545095":["hashtag1","hashtag2"]},{"1399545101":["hashtag1","hashtag2"]},{"1399545097":["hashtag1","hashtag2"]},{"1399545103":["hashtag1","hashtag2"]},{"1399545100":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399545102, 1399545095, 1399545101, 1399545097, 1399545103, 1399545100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66833186149597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 20:08:22.519151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/19/59/image_15122025_19_59_14_10864.jpg', '/home/pi/Desktop/images/15122025/19/59/image_15122025_19_59_24_9709.jpg', '/home/pi/Desktop/images/15122025/19/59/image_15122025_19_59_33_9549.jpg', '/home/pi/Desktop/images/15122025/19/59/image_15122025_19_59_44_10636.jpg', '/home/pi/Desktop/images/15122025/19/59/image_15122025_19_59_54_9806.jpg', '/home/pi/Desktop/images/15122025/19/59/image_15122025_20_00_04_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/19/59/image_15122025_19_59_14_10864.jpg
/home/pi/Desktop/images/15122025/19/59/image_15122025_19_59_24_9709.jpg
/home/pi/Desktop/images/15122025/19/59/image_15122025_19_59_33_9549.jpg
/home/pi/Desktop/images/15122025/19/59/image_15122025_19_59_44_10636.jpg
/home/pi/Desktop/images/15122025/19/59/image_15122025_19_59_54_9806.jpg
/home/pi/Desktop/images/15122025/19/59/image_15122025_20_00_04_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":["1399545111","1399545125","1399545119","1399545115","1399545132","1399545129"],"photo_ids_order":["1399545111","1399545115","1399545119","1399545125","1399545129","1399545132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/28b9af5808e64423693e743e32c6eef5.jpg","text":"TemporaryFile(/tmp/multipartBody3590592736903757817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825763164,"filename":"image_15122025_19_59_14_10864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d0ff6d835da5125e61afd84eb2326b41.jpg","text":"TemporaryFile(/tmp/multipartBody5344859943721857433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825763164,"filename":"image_15122025_19_59_44_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7d6690e5d3e72879e769a1a3b4f574fc.jpg","text":"TemporaryFile(/tmp/multipartBody8470675889297265078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825763164,"filename":"image_15122025_19_59_33_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/15/8cac3c89a0ef2e7c67c845e3cf92c3b6.jpg","text":"TemporaryFile(/tmp/multipartBody4079920454954809950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825763164,"filename":"image_15122025_19_59_24_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/eae2adacba4d9f9dadfacb5be9e4ea11.jpg","text":"TemporaryFile(/tmp/multipartBody7640813859829824534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825763164,"filename":"image_15122025_20_00_04_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/81e6ff605315409e270024d3ca9d0031.jpg","text":"TemporaryFile(/tmp/multipartBody2070336638114004518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825763164,"filename":"image_15122025_19_59_54_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545119","file1":"1399545115","file0":"1399545111","file4":"1399545129","file5":"1399545132","file3":"1399545125"},"map_files_photo_id_array":[{"photo_id":"1399545132","filename":"file5"},{"photo_id":"1399545119","filename":"file2"},{"photo_id":"1399545129","filename":"file4"},{"photo_id":"1399545115","filename":"file1"},{"photo_id":"1399545111","filename":"file0"},{"photo_id":"1399545125","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399545111":["hashtag1","hashtag2"]},{"1399545125":["hashtag1","hashtag2"]},{"1399545119":["hashtag1","hashtag2"]},{"1399545115":["hashtag1","hashtag2"]},{"1399545132":["hashtag1","hashtag2"]},{"1399545129":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399545111, 1399545125, 1399545119, 1399545115, 1399545132, 1399545129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62337064743042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 20:09:03.751090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/00/image_15122025_20_00_14_10614.jpg', '/home/pi/Desktop/images/15122025/20/00/image_15122025_20_00_24_9847.jpg', '/home/pi/Desktop/images/15122025/20/00/image_15122025_20_00_43_9777.jpg', '/home/pi/Desktop/images/15122025/20/00/image_15122025_20_00_53_9764.jpg', '/home/pi/Desktop/images/15122025/20/00/image_15122025_20_01_04_10807.jpg', '/home/pi/Desktop/images/15122025/20/01/image_15122025_20_01_14_9953.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/00/image_15122025_20_00_14_10614.jpg
/home/pi/Desktop/images/15122025/20/00/image_15122025_20_00_24_9847.jpg
/home/pi/Desktop/images/15122025/20/00/image_15122025_20_00_43_9777.jpg
/home/pi/Desktop/images/15122025/20/00/image_15122025_20_00_53_9764.jpg
/home/pi/Desktop/images/15122025/20/00/image_15122025_20_01_04_10807.jpg
/home/pi/Desktop/images/15122025/20/01/image_15122025_20_01_14_9953.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399545144","1399545137","1399545146","1399545139","1399545141","1399545135"],"photo_ids_order":["1399545135","1399545137","1399545139","1399545141","1399545144","1399545146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/42b0fc9bd608759fd9ab25c0d600709f.jpg","text":"TemporaryFile(/tmp/multipartBody2568285629995880823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825804584,"filename":"image_15122025_20_01_04_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/15/195703cbf5fc9cf71a8879a76f87b271.jpg","text":"TemporaryFile(/tmp/multipartBody5995352754851390552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825804584,"filename":"image_15122025_20_00_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/15/08cd98c3f9f6d400e0a5f124b2297bdc.jpg","text":"TemporaryFile(/tmp/multipartBody250112148038942893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825804584,"filename":"image_15122025_20_01_14_9953.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/be282cfc696535d6757711414410a3bc.jpg","text":"TemporaryFile(/tmp/multipartBody1708072115374522768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825804584,"filename":"image_15122025_20_00_43_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/15/a7f222c66f2c306d219818d0ce5249fd.jpg","text":"TemporaryFile(/tmp/multipartBody6456475489150691476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825804584,"filename":"image_15122025_20_00_53_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/15/baa14ec2b4338cc067a39c97d936be1a.jpg","text":"TemporaryFile(/tmp/multipartBody6468375883081772619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825804584,"filename":"image_15122025_20_00_14_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545139","file1":"1399545137","file0":"1399545135","file4":"1399545144","file5":"1399545146","file3":"1399545141"},"map_files_photo_id_array":[{"photo_id":"1399545146","filename":"file5"},{"photo_id":"1399545139","filename":"file2"},{"photo_id":"1399545144","filename":"file4"},{"photo_id":"1399545137","filename":"file1"},{"photo_id":"1399545135","filename":"file0"},{"photo_id":"1399545141","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399545144":["hashtag1","hashtag2"]},{"1399545137":["hashtag1","hashtag2"]},{"1399545146":["hashtag1","hashtag2"]},{"1399545139":["hashtag1","hashtag2"]},{"1399545141":["hashtag1","hashtag2"]},{"1399545135":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399545144, 1399545137, 1399545146, 1399545139, 1399545141, 1399545135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.131532430648804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 20:09:42.592944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_39_1706.jpg', '/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_44_4500.jpg', '/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_45_1707.jpg', '/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_47_1585.jpg', '/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_49_1722.jpg', '/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_50_1666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_39_1706.jpg
/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_44_4500.jpg
/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_45_1707.jpg
/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_47_1585.jpg
/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_49_1722.jpg
/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_50_1666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399545155","1399545154","1399545157","1399545151","1399545153","1399545156"],"photo_ids_order":["1399545151","1399545153","1399545154","1399545155","1399545156","1399545157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ecf9eee8f4f975462c7b381c93958479.jpg","text":"TemporaryFile(/tmp/multipartBody563394219376899346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825843324,"filename":"image_05112025_16_03_47_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/15/0b88d7aff8e55294eb2655b102f96aff.jpg","text":"TemporaryFile(/tmp/multipartBody7217571962576019235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825843324,"filename":"image_05112025_16_03_45_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/15/5bf871e6beb83a140928ff07bea65869.jpg","text":"TemporaryFile(/tmp/multipartBody6639890820813089367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825843324,"filename":"image_05112025_16_03_50_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/15/cf51de3bb45baf900d37022a5eb167ce.jpg","text":"TemporaryFile(/tmp/multipartBody1355655985223643500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825843324,"filename":"image_05112025_16_03_39_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/15/6d9c8fb2909d862651cfcf337b84bf3b.jpg","text":"TemporaryFile(/tmp/multipartBody349121913930154014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825843324,"filename":"image_05112025_16_03_44_4500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cdeb39bc99a843f1b4e7769906d2ac24.jpg","text":"TemporaryFile(/tmp/multipartBody3597946569998144155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825843324,"filename":"image_05112025_16_03_49_1722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545154","file1":"1399545153","file0":"1399545151","file4":"1399545156","file5":"1399545157","file3":"1399545155"},"map_files_photo_id_array":[{"photo_id":"1399545157","filename":"file5"},{"photo_id":"1399545154","filename":"file2"},{"photo_id":"1399545156","filename":"file4"},{"photo_id":"1399545153","filename":"file1"},{"photo_id":"1399545151","filename":"file0"},{"photo_id":"1399545155","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399545155":["hashtag1","hashtag2"]},{"1399545154":["hashtag1","hashtag2"]},{"1399545157":["hashtag1","hashtag2"]},{"1399545151":["hashtag1","hashtag2"]},{"1399545153":["hashtag1","hashtag2"]},{"1399545156":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399545155, 1399545154, 1399545157, 1399545151, 1399545153, 1399545156)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.961649894714355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 20:10:31.826940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 20:10:41.871739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_52_1628.jpg', '/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_54_1743.jpg', '/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_55_1537.jpg', '/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_57_1655.jpg', '/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_59_1713.jpg', '/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_01_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_52_1628.jpg
/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_54_1743.jpg
/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_55_1537.jpg
/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_57_1655.jpg
/home/pi/Desktop/images/05112025/16/03/image_05112025_16_03_59_1713.jpg
/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_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":["1399545173","1399545170","1399545172","1399545181","1399545174","1399545168"],"photo_ids_order":["1399545168","1399545170","1399545172","1399545173","1399545174","1399545181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6833ef1cfaf6e28acc0bcd3e4c88c2c8.jpg","text":"TemporaryFile(/tmp/multipartBody4678677667647443406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825902573,"filename":"image_05112025_16_03_57_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/15/3f93643015e723f21ad573693c727f7e.jpg","text":"TemporaryFile(/tmp/multipartBody7053068054231727920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825902573,"filename":"image_05112025_16_03_54_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/15/c92268c561202e0d605ba79794357394.jpg","text":"TemporaryFile(/tmp/multipartBody3475574491748184155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825902573,"filename":"image_05112025_16_03_55_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/15/c4d84c294bb9d9b72ca5cc2a27619a44.jpg","text":"TemporaryFile(/tmp/multipartBody9097451473346831121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825902573,"filename":"image_05112025_16_04_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/15/fea9afb34b90bd043b1d9fb5726026f5.jpg","text":"TemporaryFile(/tmp/multipartBody3350621663805532135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825902573,"filename":"image_05112025_16_03_59_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/15/65721d3a478b17011f4c663dab96c094.jpg","text":"TemporaryFile(/tmp/multipartBody4022659582170972126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825902573,"filename":"image_05112025_16_03_52_1628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545172","file1":"1399545170","file0":"1399545168","file4":"1399545174","file5":"1399545181","file3":"1399545173"},"map_files_photo_id_array":[{"photo_id":"1399545181","filename":"file5"},{"photo_id":"1399545172","filename":"file2"},{"photo_id":"1399545174","filename":"file4"},{"photo_id":"1399545170","filename":"file1"},{"photo_id":"1399545168","filename":"file0"},{"photo_id":"1399545173","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399545173":["hashtag1","hashtag2"]},{"1399545170":["hashtag1","hashtag2"]},{"1399545172":["hashtag1","hashtag2"]},{"1399545181":["hashtag1","hashtag2"]},{"1399545174":["hashtag1","hashtag2"]},{"1399545168":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399545173, 1399545170, 1399545172, 1399545181, 1399545174, 1399545168)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.16474652290344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 20:11:33.006729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 20:11:42.133869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_04_2629.jpg', '/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_17_12784.jpg', '/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_18_1709.jpg', '/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_20_1712.jpg', '/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_22_1659.jpg', '/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_24_1849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_04_2629.jpg
/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_17_12784.jpg
/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_18_1709.jpg
/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_20_1712.jpg
/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_22_1659.jpg
/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_24_1849.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399545210","1399545194","1399545212","1399545209","1399545203","1399545202"],"photo_ids_order":["1399545194","1399545202","1399545203","1399545209","1399545210","1399545212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/811ae5ae4c43ae9935a9f0f0853a614a.jpg","text":"TemporaryFile(/tmp/multipartBody4299994687168507000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825962858,"filename":"image_05112025_16_04_22_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/15/566e87efa9d2667bc36c67b7bcc11d67.jpg","text":"TemporaryFile(/tmp/multipartBody6716939716631188229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825962858,"filename":"image_05112025_16_04_04_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6cf0417ea01b23be191065e1f84da89d.jpg","text":"TemporaryFile(/tmp/multipartBody4861298070696655983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825962858,"filename":"image_05112025_16_04_24_1849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ccd9fb4164b0ed5ce648b674fa689339.jpg","text":"TemporaryFile(/tmp/multipartBody4482605293544285929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825962858,"filename":"image_05112025_16_04_20_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/15/9110c1aa6bda4867a695e89cd0c752c0.jpg","text":"TemporaryFile(/tmp/multipartBody1493421064637099632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825962858,"filename":"image_05112025_16_04_18_1709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ce82f1e56fb0a4af0d23fed62b2c17d8.jpg","text":"TemporaryFile(/tmp/multipartBody2314138386831168553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765825962858,"filename":"image_05112025_16_04_17_12784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545203","file1":"1399545202","file0":"1399545194","file4":"1399545210","file5":"1399545212","file3":"1399545209"},"map_files_photo_id_array":[{"photo_id":"1399545212","filename":"file5"},{"photo_id":"1399545203","filename":"file2"},{"photo_id":"1399545210","filename":"file4"},{"photo_id":"1399545202","filename":"file1"},{"photo_id":"1399545194","filename":"file0"},{"photo_id":"1399545209","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399545210":["hashtag1","hashtag2"]},{"1399545194":["hashtag1","hashtag2"]},{"1399545212":["hashtag1","hashtag2"]},{"1399545209":["hashtag1","hashtag2"]},{"1399545203":["hashtag1","hashtag2"]},{"1399545202":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399545210, 1399545194, 1399545212, 1399545209, 1399545203, 1399545202)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1399545203 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_18_1709.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 56.6423864364624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 20:12:42.308978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_25_1649.jpg', '/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_27_1513.jpg', '/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_28_1633.jpg', '/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_32_3834.jpg', '/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_34_1601.jpg', '/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_38_4388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_25_1649.jpg
/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_27_1513.jpg
/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_28_1633.jpg
/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_32_3834.jpg
/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_34_1601.jpg
/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_38_4388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399545237","1399545230","1399545224","1399545229","1399545226","1399545228"],"photo_ids_order":["1399545224","1399545226","1399545228","1399545229","1399545230","1399545237"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/08321d2e2f0c0855668dea906c19ad7c.jpg","text":"TemporaryFile(/tmp/multipartBody4053472093278505608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826023035,"filename":"image_05112025_16_04_38_4388.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5720e0a108d665a6d2872641969242c1.jpg","text":"TemporaryFile(/tmp/multipartBody3874131885881428459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826023035,"filename":"image_05112025_16_04_34_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/15/d1072de893632ca465063c3fb466266a.jpg","text":"TemporaryFile(/tmp/multipartBody2251038657773501588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826023035,"filename":"image_05112025_16_04_25_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/15/74385c4e67e100daa91877f2df38e1de.jpg","text":"TemporaryFile(/tmp/multipartBody705485212867077484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826023035,"filename":"image_05112025_16_04_32_3834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5787749cb94469faa8c4f8c8e1f78555.jpg","text":"TemporaryFile(/tmp/multipartBody4324690465899708580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826023035,"filename":"image_05112025_16_04_27_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/15/c1e4172462faa6b04412f4ff9a7d78f9.jpg","text":"TemporaryFile(/tmp/multipartBody1176393216183786711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826023035,"filename":"image_05112025_16_04_28_1633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545228","file1":"1399545226","file0":"1399545224","file4":"1399545230","file5":"1399545237","file3":"1399545229"},"map_files_photo_id_array":[{"photo_id":"1399545237","filename":"file5"},{"photo_id":"1399545228","filename":"file2"},{"photo_id":"1399545230","filename":"file4"},{"photo_id":"1399545226","filename":"file1"},{"photo_id":"1399545224","filename":"file0"},{"photo_id":"1399545229","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399545237":["hashtag1","hashtag2"]},{"1399545230":["hashtag1","hashtag2"]},{"1399545224":["hashtag1","hashtag2"]},{"1399545229":["hashtag1","hashtag2"]},{"1399545226":["hashtag1","hashtag2"]},{"1399545228":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399545237, 1399545230, 1399545224, 1399545229, 1399545226, 1399545228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39979910850525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 20:13:22.461150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/01/image_15122025_20_01_24_9704.jpg', '/home/pi/Desktop/images/15122025/20/01/image_15122025_20_01_33_9626.jpg', '/home/pi/Desktop/images/15122025/20/01/image_15122025_20_01_44_10589.jpg', '/home/pi/Desktop/images/15122025/20/01/image_15122025_20_01_54_9740.jpg', '/home/pi/Desktop/images/15122025/20/01/image_15122025_20_02_03_9609.jpg', '/home/pi/Desktop/images/15122025/20/02/image_15122025_20_02_14_10800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/01/image_15122025_20_01_24_9704.jpg
/home/pi/Desktop/images/15122025/20/01/image_15122025_20_01_33_9626.jpg
/home/pi/Desktop/images/15122025/20/01/image_15122025_20_01_44_10589.jpg
/home/pi/Desktop/images/15122025/20/01/image_15122025_20_01_54_9740.jpg
/home/pi/Desktop/images/15122025/20/01/image_15122025_20_02_03_9609.jpg
/home/pi/Desktop/images/15122025/20/02/image_15122025_20_02_14_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":["1399545284","1399545278","1399545280","1399545274","1399545282","1399545276"],"photo_ids_order":["1399545274","1399545276","1399545278","1399545280","1399545282","1399545284"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b90fb42337c88caecab066a728946a24.jpg","text":"TemporaryFile(/tmp/multipartBody1615711922333487125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826063148,"filename":"image_15122025_20_02_14_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/15/4f8ab5013cf7d79668b9d1c99ec3c5f4.jpg","text":"TemporaryFile(/tmp/multipartBody3186276757393685033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826063148,"filename":"image_15122025_20_01_44_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/15/0c6983dcdff3fc78501189662157c0e6.jpg","text":"TemporaryFile(/tmp/multipartBody2715514258449988528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826063148,"filename":"image_15122025_20_01_54_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2bcb52be52a15ec34aebb05e463f122c.jpg","text":"TemporaryFile(/tmp/multipartBody1343429910982886634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826063148,"filename":"image_15122025_20_01_24_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bdf1bc24e0a520489fb155d3a281cde0.jpg","text":"TemporaryFile(/tmp/multipartBody4725435187570908296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826063148,"filename":"image_15122025_20_02_03_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/15/14b0b23aa6a512a9d02b99491cd820c7.jpg","text":"TemporaryFile(/tmp/multipartBody7644866327583944231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826063148,"filename":"image_15122025_20_01_33_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545278","file1":"1399545276","file0":"1399545274","file4":"1399545282","file5":"1399545284","file3":"1399545280"},"map_files_photo_id_array":[{"photo_id":"1399545284","filename":"file5"},{"photo_id":"1399545278","filename":"file2"},{"photo_id":"1399545282","filename":"file4"},{"photo_id":"1399545276","filename":"file1"},{"photo_id":"1399545274","filename":"file0"},{"photo_id":"1399545280","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399545284":["hashtag1","hashtag2"]},{"1399545278":["hashtag1","hashtag2"]},{"1399545280":["hashtag1","hashtag2"]},{"1399545274":["hashtag1","hashtag2"]},{"1399545282":["hashtag1","hashtag2"]},{"1399545276":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399545284, 1399545278, 1399545280, 1399545274, 1399545282, 1399545276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.160216331481934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 20:14:03.170289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/02/image_15122025_20_02_24_10022.jpg', '/home/pi/Desktop/images/15122025/20/02/image_15122025_20_02_34_9602.jpg', '/home/pi/Desktop/images/15122025/20/02/image_15122025_20_02_43_9609.jpg', '/home/pi/Desktop/images/15122025/20/02/image_15122025_20_03_04_10720.jpg', '/home/pi/Desktop/images/15122025/20/03/image_15122025_20_03_14_9702.jpg', '/home/pi/Desktop/images/15122025/20/03/image_15122025_20_03_23_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/02/image_15122025_20_02_24_10022.jpg
/home/pi/Desktop/images/15122025/20/02/image_15122025_20_02_34_9602.jpg
/home/pi/Desktop/images/15122025/20/02/image_15122025_20_02_43_9609.jpg
/home/pi/Desktop/images/15122025/20/02/image_15122025_20_03_04_10720.jpg
/home/pi/Desktop/images/15122025/20/03/image_15122025_20_03_14_9702.jpg
/home/pi/Desktop/images/15122025/20/03/image_15122025_20_03_23_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":["1399545287","1399545292","1399545289","1399545294","1399545297","1399545285"],"photo_ids_order":["1399545285","1399545287","1399545289","1399545292","1399545294","1399545297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6a882091f595e66864f3c1036e6e95df.jpg","text":"TemporaryFile(/tmp/multipartBody4199785921821439301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826103848,"filename":"image_15122025_20_02_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/15/9bf484743d6ffbceeacfd6a20c07979d.jpg","text":"TemporaryFile(/tmp/multipartBody6751696135953733715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826103848,"filename":"image_15122025_20_03_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/15/a894a8b6b37189d7d05de6e22ab03cf2.jpg","text":"TemporaryFile(/tmp/multipartBody2956530611373830919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826103848,"filename":"image_15122025_20_02_43_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/15/c27ab4dd217969b0228575567a88c8b8.jpg","text":"TemporaryFile(/tmp/multipartBody3552130767628080512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826103848,"filename":"image_15122025_20_03_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/15/e6b7738a2bf6cca09acdc4672ef68b81.jpg","text":"TemporaryFile(/tmp/multipartBody8629488947594932922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826103848,"filename":"image_15122025_20_03_23_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/91bef5c5e027aec7d8e3da5fcc22b46e.jpg","text":"TemporaryFile(/tmp/multipartBody7890162265167816213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826103848,"filename":"image_15122025_20_02_24_10022.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545289","file1":"1399545287","file0":"1399545285","file4":"1399545294","file5":"1399545297","file3":"1399545292"},"map_files_photo_id_array":[{"photo_id":"1399545297","filename":"file5"},{"photo_id":"1399545289","filename":"file2"},{"photo_id":"1399545294","filename":"file4"},{"photo_id":"1399545287","filename":"file1"},{"photo_id":"1399545285","filename":"file0"},{"photo_id":"1399545292","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399545287":["hashtag1","hashtag2"]},{"1399545292":["hashtag1","hashtag2"]},{"1399545289":["hashtag1","hashtag2"]},{"1399545294":["hashtag1","hashtag2"]},{"1399545297":["hashtag1","hashtag2"]},{"1399545285":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399545287, 1399545292, 1399545289, 1399545294, 1399545297, 1399545285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07556509971619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 20:14:42.576585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_40_1557.jpg', '/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_43_3666.jpg', '/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_46_2592.jpg', '/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_49_2734.jpg', '/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_53_3758.jpg', '/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_55_2548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_40_1557.jpg
/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_43_3666.jpg
/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_46_2592.jpg
/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_49_2734.jpg
/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_53_3758.jpg
/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_55_2548.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399545315","1399545311","1399545310","1399545313","1399545312","1399545306"],"photo_ids_order":["1399545306","1399545310","1399545311","1399545312","1399545313","1399545315"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c3e7322cd04da912de81eccf01d9650e.jpg","text":"TemporaryFile(/tmp/multipartBody751559533337728018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826143289,"filename":"image_05112025_16_04_55_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/15/8db0f34bcc02f5b87de6b2d2c04cdfb7.jpg","text":"TemporaryFile(/tmp/multipartBody4786143678945071089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826143289,"filename":"image_05112025_16_04_46_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/15/f5bfe01f4c9f8db3bad0b2246d002c3f.jpg","text":"TemporaryFile(/tmp/multipartBody3985525644657489632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826143289,"filename":"image_05112025_16_04_43_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/15/68319820350183e99c06785b076b9abe.jpg","text":"TemporaryFile(/tmp/multipartBody5019448165381409170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826143289,"filename":"image_05112025_16_04_53_3758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/99cab6fb013f3f838bb432f80287a195.jpg","text":"TemporaryFile(/tmp/multipartBody3406476227859723911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826143289,"filename":"image_05112025_16_04_49_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/15/1737cd8821332ca189b43741dcd9fc64.jpg","text":"TemporaryFile(/tmp/multipartBody2692828391618825941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826143289,"filename":"image_05112025_16_04_40_1557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545311","file1":"1399545310","file0":"1399545306","file4":"1399545313","file5":"1399545315","file3":"1399545312"},"map_files_photo_id_array":[{"photo_id":"1399545315","filename":"file5"},{"photo_id":"1399545311","filename":"file2"},{"photo_id":"1399545313","filename":"file4"},{"photo_id":"1399545310","filename":"file1"},{"photo_id":"1399545306","filename":"file0"},{"photo_id":"1399545312","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399545315":["hashtag1","hashtag2"]},{"1399545311":["hashtag1","hashtag2"]},{"1399545310":["hashtag1","hashtag2"]},{"1399545313":["hashtag1","hashtag2"]},{"1399545312":["hashtag1","hashtag2"]},{"1399545306":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399545315, 1399545311, 1399545310, 1399545313, 1399545312, 1399545306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.676761865615845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 20:15:21.872986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/03/image_15122025_20_03_33_9773.jpg', '/home/pi/Desktop/images/15122025/20/03/image_15122025_20_03_54_10812.jpg', '/home/pi/Desktop/images/15122025/20/04/image_15122025_20_04_23_9910.jpg', '/home/pi/Desktop/images/15122025/20/04/image_15122025_20_04_34_10471.jpg', '/home/pi/Desktop/images/15122025/20/04/image_15122025_20_04_53_9706.jpg', '/home/pi/Desktop/images/15122025/20/04/image_15122025_20_05_04_10735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/03/image_15122025_20_03_33_9773.jpg
/home/pi/Desktop/images/15122025/20/03/image_15122025_20_03_54_10812.jpg
/home/pi/Desktop/images/15122025/20/04/image_15122025_20_04_23_9910.jpg
/home/pi/Desktop/images/15122025/20/04/image_15122025_20_04_34_10471.jpg
/home/pi/Desktop/images/15122025/20/04/image_15122025_20_04_53_9706.jpg
/home/pi/Desktop/images/15122025/20/04/image_15122025_20_05_04_10735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399545323","1399545332","1399545326","1399545329","1399545320","1399545328"],"photo_ids_order":["1399545320","1399545323","1399545326","1399545328","1399545329","1399545332"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4fd1ab3712322c6746ddb8e1f4dac759.jpg","text":"TemporaryFile(/tmp/multipartBody96304040648566007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826182603,"filename":"image_15122025_20_03_54_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/15/70ddda71bdef8900b62c9d60b707b2f3.jpg","text":"TemporaryFile(/tmp/multipartBody8439053157354068053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826182603,"filename":"image_15122025_20_05_04_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a48a098bf8f822f113de3b2d8ab9bffe.jpg","text":"TemporaryFile(/tmp/multipartBody1180377607355675917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826182603,"filename":"image_15122025_20_04_23_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/15/675e3d70126f35bf5bd8e8123e25868b.jpg","text":"TemporaryFile(/tmp/multipartBody7471791219090565376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826182603,"filename":"image_15122025_20_04_53_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/15/fa8c0ff8e6087bf376789c242f57815a.jpg","text":"TemporaryFile(/tmp/multipartBody3983264542348560245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826182603,"filename":"image_15122025_20_03_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/15/115d3901e8d6e98b02f25563689a9bf3.jpg","text":"TemporaryFile(/tmp/multipartBody8758207262020744778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826182603,"filename":"image_15122025_20_04_34_10471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545326","file1":"1399545323","file0":"1399545320","file4":"1399545329","file5":"1399545332","file3":"1399545328"},"map_files_photo_id_array":[{"photo_id":"1399545332","filename":"file5"},{"photo_id":"1399545326","filename":"file2"},{"photo_id":"1399545329","filename":"file4"},{"photo_id":"1399545323","filename":"file1"},{"photo_id":"1399545320","filename":"file0"},{"photo_id":"1399545328","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399545323":["hashtag1","hashtag2"]},{"1399545332":["hashtag1","hashtag2"]},{"1399545326":["hashtag1","hashtag2"]},{"1399545329":["hashtag1","hashtag2"]},{"1399545320":["hashtag1","hashtag2"]},{"1399545328":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399545323, 1399545332, 1399545326, 1399545329, 1399545320, 1399545328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60411834716797 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 20:16:02.472107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/05/image_15122025_20_05_14_9734.jpg', '/home/pi/Desktop/images/15122025/20/05/image_15122025_20_05_23_9809.jpg', '/home/pi/Desktop/images/15122025/20/05/image_15122025_20_05_34_10698.jpg', '/home/pi/Desktop/images/15122025/20/05/image_15122025_20_05_54_9747.jpg', '/home/pi/Desktop/images/15122025/20/05/image_15122025_20_06_03_9691.jpg', '/home/pi/Desktop/images/15122025/20/06/image_15122025_20_06_13_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/05/image_15122025_20_05_14_9734.jpg
/home/pi/Desktop/images/15122025/20/05/image_15122025_20_05_23_9809.jpg
/home/pi/Desktop/images/15122025/20/05/image_15122025_20_05_34_10698.jpg
/home/pi/Desktop/images/15122025/20/05/image_15122025_20_05_54_9747.jpg
/home/pi/Desktop/images/15122025/20/05/image_15122025_20_06_03_9691.jpg
/home/pi/Desktop/images/15122025/20/06/image_15122025_20_06_13_9922.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5736043453216553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 20:16:11.980099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 20:16:22.045374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/05/image_15122025_20_05_14_9734.jpg', '/home/pi/Desktop/images/15122025/20/05/image_15122025_20_05_23_9809.jpg', '/home/pi/Desktop/images/15122025/20/05/image_15122025_20_05_34_10698.jpg', '/home/pi/Desktop/images/15122025/20/05/image_15122025_20_05_54_9747.jpg', '/home/pi/Desktop/images/15122025/20/05/image_15122025_20_06_03_9691.jpg', '/home/pi/Desktop/images/15122025/20/06/image_15122025_20_06_13_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/05/image_15122025_20_05_14_9734.jpg
/home/pi/Desktop/images/15122025/20/05/image_15122025_20_05_23_9809.jpg
/home/pi/Desktop/images/15122025/20/05/image_15122025_20_05_34_10698.jpg
/home/pi/Desktop/images/15122025/20/05/image_15122025_20_05_54_9747.jpg
/home/pi/Desktop/images/15122025/20/05/image_15122025_20_06_03_9691.jpg
/home/pi/Desktop/images/15122025/20/06/image_15122025_20_06_13_9922.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399545350","1399545367","1399545352","1399545346","1399545354","1399545348"],"photo_ids_order":["1399545346","1399545348","1399545350","1399545352","1399545354","1399545367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b7428b0027da54e53373646eb6042c86.jpg","text":"TemporaryFile(/tmp/multipartBody2422739425641805628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826242759,"filename":"image_15122025_20_05_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/15/1636bd124f0dd68e4c706c36e770b9b1.jpg","text":"TemporaryFile(/tmp/multipartBody200918770709300032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826242759,"filename":"image_15122025_20_06_13_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/15/f27d8ba83f4400a43d1499b27c07de40.jpg","text":"TemporaryFile(/tmp/multipartBody2272752244239885365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826242759,"filename":"image_15122025_20_05_54_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/15/f374376d74ce0a7d32f50067deca08e0.jpg","text":"TemporaryFile(/tmp/multipartBody7916879458289060750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826242759,"filename":"image_15122025_20_05_14_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/887c4c969e2b4ccde1ae30d76ca07f3d.jpg","text":"TemporaryFile(/tmp/multipartBody6228763849465040792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826242759,"filename":"image_15122025_20_06_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/15/38d08380d5bc1ce66b3396ad4576ca48.jpg","text":"TemporaryFile(/tmp/multipartBody6642853862374414971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826242759,"filename":"image_15122025_20_05_23_9809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545350","file1":"1399545348","file0":"1399545346","file4":"1399545354","file5":"1399545367","file3":"1399545352"},"map_files_photo_id_array":[{"photo_id":"1399545367","filename":"file5"},{"photo_id":"1399545350","filename":"file2"},{"photo_id":"1399545354","filename":"file4"},{"photo_id":"1399545348","filename":"file1"},{"photo_id":"1399545346","filename":"file0"},{"photo_id":"1399545352","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399545350":["hashtag1","hashtag2"]},{"1399545367":["hashtag1","hashtag2"]},{"1399545352":["hashtag1","hashtag2"]},{"1399545346":["hashtag1","hashtag2"]},{"1399545354":["hashtag1","hashtag2"]},{"1399545348":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399545350, 1399545367, 1399545352, 1399545346, 1399545354, 1399545348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.793278217315674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 20:17:02.962221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/06/image_15122025_20_06_24_10595.jpg', '/home/pi/Desktop/images/15122025/20/06/image_15122025_20_06_34_9810.jpg', '/home/pi/Desktop/images/15122025/20/06/image_15122025_20_06_43_9698.jpg', '/home/pi/Desktop/images/15122025/20/06/image_15122025_20_06_54_10672.jpg', '/home/pi/Desktop/images/15122025/20/06/image_15122025_20_07_04_9853.jpg', '/home/pi/Desktop/images/15122025/20/07/image_15122025_20_07_14_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/06/image_15122025_20_06_24_10595.jpg
/home/pi/Desktop/images/15122025/20/06/image_15122025_20_06_34_9810.jpg
/home/pi/Desktop/images/15122025/20/06/image_15122025_20_06_43_9698.jpg
/home/pi/Desktop/images/15122025/20/06/image_15122025_20_06_54_10672.jpg
/home/pi/Desktop/images/15122025/20/06/image_15122025_20_07_04_9853.jpg
/home/pi/Desktop/images/15122025/20/07/image_15122025_20_07_14_9688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399545380","1399545374","1399545383","1399545376","1399545378","1399545372"],"photo_ids_order":["1399545372","1399545374","1399545376","1399545378","1399545380","1399545383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1cd5ef8da413c89949b986dc3847d609.jpg","text":"TemporaryFile(/tmp/multipartBody1897856446953449955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826283754,"filename":"image_15122025_20_07_04_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/15/d14f73c75553b480c1eec20c81096bfe.jpg","text":"TemporaryFile(/tmp/multipartBody9127487797430153546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826283754,"filename":"image_15122025_20_06_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/15/ad141c4467e3895ad50f6f44b552a2e0.jpg","text":"TemporaryFile(/tmp/multipartBody1482310444702269383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826283754,"filename":"image_15122025_20_07_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/15/e017a6caa34cc35221a7dcab1e470931.jpg","text":"TemporaryFile(/tmp/multipartBody3671997372083177653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826283754,"filename":"image_15122025_20_06_43_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bf2000cfbda77cec312e2371512b655d.jpg","text":"TemporaryFile(/tmp/multipartBody7253038234706072166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826283754,"filename":"image_15122025_20_06_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/15/014bb7de2ce3a71606085df50571917a.jpg","text":"TemporaryFile(/tmp/multipartBody8427160437580790714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826283754,"filename":"image_15122025_20_06_24_10595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545376","file1":"1399545374","file0":"1399545372","file4":"1399545380","file5":"1399545383","file3":"1399545378"},"map_files_photo_id_array":[{"photo_id":"1399545383","filename":"file5"},{"photo_id":"1399545376","filename":"file2"},{"photo_id":"1399545380","filename":"file4"},{"photo_id":"1399545374","filename":"file1"},{"photo_id":"1399545372","filename":"file0"},{"photo_id":"1399545378","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399545380":["hashtag1","hashtag2"]},{"1399545374":["hashtag1","hashtag2"]},{"1399545383":["hashtag1","hashtag2"]},{"1399545376":["hashtag1","hashtag2"]},{"1399545378":["hashtag1","hashtag2"]},{"1399545372":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399545380, 1399545374, 1399545383, 1399545376, 1399545378, 1399545372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05486536026001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 20:17:42.271631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_58_2606.jpg', '/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_07_3011.jpg', '/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_10_3070.jpg', '/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_14_3554.jpg', '/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_16_2557.jpg', '/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_20_3526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/04/image_05112025_16_04_58_2606.jpg
/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_07_3011.jpg
/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_10_3070.jpg
/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_14_3554.jpg
/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_16_2557.jpg
/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_20_3526.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399545392","1399545395","1399545389","1399545394","1399545391","1399545393"],"photo_ids_order":["1399545389","1399545391","1399545392","1399545393","1399545394","1399545395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7c98129a1cb6ab8dfe7890197fadb4a2.jpg","text":"TemporaryFile(/tmp/multipartBody3640100032885554472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826323007,"filename":"image_05112025_16_05_10_3070.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/08b84dfd4b2537797efa75f8b491a8fc.jpg","text":"TemporaryFile(/tmp/multipartBody4300749827364943407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826323007,"filename":"image_05112025_16_05_20_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8e00b199da8608c50d46a8077bdcd8dc.jpg","text":"TemporaryFile(/tmp/multipartBody3984676544121331958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826323007,"filename":"image_05112025_16_04_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/15/3697aeac2af89ba2a5efc29781e624f8.jpg","text":"TemporaryFile(/tmp/multipartBody4211519648329373524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826323007,"filename":"image_05112025_16_05_16_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/15/8a1000a7b3a57371c11a10b8a904a920.jpg","text":"TemporaryFile(/tmp/multipartBody1528829406659486611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826323007,"filename":"image_05112025_16_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/15/3d5ab734ff79301adfb6601095a2b0f2.jpg","text":"TemporaryFile(/tmp/multipartBody7718797516806053796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826323007,"filename":"image_05112025_16_05_14_3554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545392","file1":"1399545391","file0":"1399545389","file4":"1399545394","file5":"1399545395","file3":"1399545393"},"map_files_photo_id_array":[{"photo_id":"1399545395","filename":"file5"},{"photo_id":"1399545392","filename":"file2"},{"photo_id":"1399545394","filename":"file4"},{"photo_id":"1399545391","filename":"file1"},{"photo_id":"1399545389","filename":"file0"},{"photo_id":"1399545393","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399545392":["hashtag1","hashtag2"]},{"1399545395":["hashtag1","hashtag2"]},{"1399545389":["hashtag1","hashtag2"]},{"1399545394":["hashtag1","hashtag2"]},{"1399545391":["hashtag1","hashtag2"]},{"1399545393":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399545392, 1399545395, 1399545389, 1399545394, 1399545391, 1399545393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61007642745972 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 20:18:22.628732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/07/image_15122025_20_07_23_9771.jpg', '/home/pi/Desktop/images/15122025/20/07/image_15122025_20_07_34_10775.jpg', '/home/pi/Desktop/images/15122025/20/07/image_15122025_20_07_44_9955.jpg', '/home/pi/Desktop/images/15122025/20/07/image_15122025_20_07_54_9782.jpg', '/home/pi/Desktop/images/15122025/20/07/image_15122025_20_08_04_9703.jpg', '/home/pi/Desktop/images/15122025/20/08/image_15122025_20_08_13_9799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/07/image_15122025_20_07_23_9771.jpg
/home/pi/Desktop/images/15122025/20/07/image_15122025_20_07_34_10775.jpg
/home/pi/Desktop/images/15122025/20/07/image_15122025_20_07_44_9955.jpg
/home/pi/Desktop/images/15122025/20/07/image_15122025_20_07_54_9782.jpg
/home/pi/Desktop/images/15122025/20/07/image_15122025_20_08_04_9703.jpg
/home/pi/Desktop/images/15122025/20/08/image_15122025_20_08_13_9799.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399545414","1399545417","1399545422","1399545407","1399545403","1399545411"],"photo_ids_order":["1399545403","1399545407","1399545411","1399545414","1399545417","1399545422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f18b92a6bb8aa82eaafa7d11692ef143.jpg","text":"TemporaryFile(/tmp/multipartBody1842486010438389984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826363359,"filename":"image_15122025_20_07_54_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e2bbd67740bf2ead6894629263340672.jpg","text":"TemporaryFile(/tmp/multipartBody5304956488105478525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826363359,"filename":"image_15122025_20_08_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/15/cfd19dd5ddb78d2b549604e02e23b267.jpg","text":"TemporaryFile(/tmp/multipartBody6800302179632702697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826363359,"filename":"image_15122025_20_08_13_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/15/488d1cb2d9cf819c987c7949799db6b3.jpg","text":"TemporaryFile(/tmp/multipartBody1555348914290282965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826363359,"filename":"image_15122025_20_07_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/15/0f2671054343e7e7e051b920e91a3693.jpg","text":"TemporaryFile(/tmp/multipartBody4420860337791072043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826363359,"filename":"image_15122025_20_07_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/15/8fb5c8610dd120260a168be3964e3483.jpg","text":"TemporaryFile(/tmp/multipartBody8923607222791099033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826363359,"filename":"image_15122025_20_07_44_9955.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545411","file1":"1399545407","file0":"1399545403","file4":"1399545417","file5":"1399545422","file3":"1399545414"},"map_files_photo_id_array":[{"photo_id":"1399545422","filename":"file5"},{"photo_id":"1399545411","filename":"file2"},{"photo_id":"1399545417","filename":"file4"},{"photo_id":"1399545407","filename":"file1"},{"photo_id":"1399545403","filename":"file0"},{"photo_id":"1399545414","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399545414":["hashtag1","hashtag2"]},{"1399545417":["hashtag1","hashtag2"]},{"1399545422":["hashtag1","hashtag2"]},{"1399545407":["hashtag1","hashtag2"]},{"1399545403":["hashtag1","hashtag2"]},{"1399545411":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399545414, 1399545417, 1399545422, 1399545407, 1399545403, 1399545411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65607833862305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 20:19:03.843978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/08/image_15122025_20_08_23_9921.jpg', '/home/pi/Desktop/images/15122025/20/08/image_15122025_20_08_33_10076.jpg', '/home/pi/Desktop/images/15122025/20/08/image_15122025_20_08_44_10752.jpg', '/home/pi/Desktop/images/15122025/20/08/image_15122025_20_08_54_9574.jpg', '/home/pi/Desktop/images/15122025/20/08/image_15122025_20_09_03_9752.jpg', '/home/pi/Desktop/images/15122025/20/09/image_15122025_20_09_13_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/08/image_15122025_20_08_23_9921.jpg
/home/pi/Desktop/images/15122025/20/08/image_15122025_20_08_33_10076.jpg
/home/pi/Desktop/images/15122025/20/08/image_15122025_20_08_44_10752.jpg
/home/pi/Desktop/images/15122025/20/08/image_15122025_20_08_54_9574.jpg
/home/pi/Desktop/images/15122025/20/08/image_15122025_20_09_03_9752.jpg
/home/pi/Desktop/images/15122025/20/09/image_15122025_20_09_13_9803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399545440","1399545434","1399545442","1399545436","1399545444","1399545438"],"photo_ids_order":["1399545434","1399545436","1399545438","1399545440","1399545442","1399545444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/39fdfae7023aaadfd244eb56c640cf11.jpg","text":"TemporaryFile(/tmp/multipartBody2460898149730160703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826404658,"filename":"image_15122025_20_08_54_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/762bde80d6ca0b1214e44148db7a0154.jpg","text":"TemporaryFile(/tmp/multipartBody7145515218988819685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826404658,"filename":"image_15122025_20_08_23_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/15/fc43024d7bd0f6851391c70f136d5d24.jpg","text":"TemporaryFile(/tmp/multipartBody7162772811790566882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826404658,"filename":"image_15122025_20_09_03_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/15/14840d9b7c37e0381d25dd299fe5ec47.jpg","text":"TemporaryFile(/tmp/multipartBody4919123520755853519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826404658,"filename":"image_15122025_20_08_33_10076.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/99ffb1741af1c84edc55e9e01420247e.jpg","text":"TemporaryFile(/tmp/multipartBody4843616994211390571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826404658,"filename":"image_15122025_20_09_13_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/15/5acc5a1c27c917bc27d254b2e7442ba7.jpg","text":"TemporaryFile(/tmp/multipartBody3750348648255362217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826404658,"filename":"image_15122025_20_08_44_10752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545438","file1":"1399545436","file0":"1399545434","file4":"1399545442","file5":"1399545444","file3":"1399545440"},"map_files_photo_id_array":[{"photo_id":"1399545444","filename":"file5"},{"photo_id":"1399545438","filename":"file2"},{"photo_id":"1399545442","filename":"file4"},{"photo_id":"1399545436","filename":"file1"},{"photo_id":"1399545434","filename":"file0"},{"photo_id":"1399545440","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399545440":["hashtag1","hashtag2"]},{"1399545434":["hashtag1","hashtag2"]},{"1399545442":["hashtag1","hashtag2"]},{"1399545436":["hashtag1","hashtag2"]},{"1399545444":["hashtag1","hashtag2"]},{"1399545438":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399545440, 1399545434, 1399545442, 1399545436, 1399545444, 1399545438)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.341811180114746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 20:20:02.427104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/09/image_15122025_20_09_24_10831.jpg', '/home/pi/Desktop/images/15122025/20/09/image_15122025_20_09_34_9710.jpg', '/home/pi/Desktop/images/15122025/20/09/image_15122025_20_09_54_10250.jpg', '/home/pi/Desktop/images/15122025/20/09/image_15122025_20_10_04_9774.jpg', '/home/pi/Desktop/images/15122025/20/10/image_15122025_20_10_14_10069.jpg', '/home/pi/Desktop/images/15122025/20/10/image_15122025_20_10_23_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/09/image_15122025_20_09_24_10831.jpg
/home/pi/Desktop/images/15122025/20/09/image_15122025_20_09_34_9710.jpg
/home/pi/Desktop/images/15122025/20/09/image_15122025_20_09_54_10250.jpg
/home/pi/Desktop/images/15122025/20/09/image_15122025_20_10_04_9774.jpg
/home/pi/Desktop/images/15122025/20/10/image_15122025_20_10_14_10069.jpg
/home/pi/Desktop/images/15122025/20/10/image_15122025_20_10_23_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":["1399545461","1399545463","1399545457","1399545454","1399545459","1399545453"],"photo_ids_order":["1399545453","1399545454","1399545457","1399545459","1399545461","1399545463"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4bee4f28e704dfdd3abe7ed74f20a25a.jpg","text":"TemporaryFile(/tmp/multipartBody7146665610915512610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826463127,"filename":"image_15122025_20_10_14_10069.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c237cd958ad9f18628a4be8a10c474f9.jpg","text":"TemporaryFile(/tmp/multipartBody5072998528463081384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826463127,"filename":"image_15122025_20_10_23_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/15/1d2c4179cc92837dccefc125e0e15474.jpg","text":"TemporaryFile(/tmp/multipartBody2964810370484181650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826463127,"filename":"image_15122025_20_09_54_10250.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/211d1f6d052080afe397698350584479.jpg","text":"TemporaryFile(/tmp/multipartBody4261050813759802157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826463127,"filename":"image_15122025_20_09_34_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9405913692b9a619848e6286ba709ddc.jpg","text":"TemporaryFile(/tmp/multipartBody7803613981204320106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826463127,"filename":"image_15122025_20_10_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/15/ea938d215526d264b02d09d774a7c2d5.jpg","text":"TemporaryFile(/tmp/multipartBody93646716632716441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826463127,"filename":"image_15122025_20_09_24_10831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545457","file1":"1399545454","file0":"1399545453","file4":"1399545461","file5":"1399545463","file3":"1399545459"},"map_files_photo_id_array":[{"photo_id":"1399545463","filename":"file5"},{"photo_id":"1399545457","filename":"file2"},{"photo_id":"1399545461","filename":"file4"},{"photo_id":"1399545454","filename":"file1"},{"photo_id":"1399545453","filename":"file0"},{"photo_id":"1399545459","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399545461":["hashtag1","hashtag2"]},{"1399545463":["hashtag1","hashtag2"]},{"1399545457":["hashtag1","hashtag2"]},{"1399545454":["hashtag1","hashtag2"]},{"1399545459":["hashtag1","hashtag2"]},{"1399545453":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399545461, 1399545463, 1399545457, 1399545454, 1399545459, 1399545453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.86125636100769 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-15 20:21:02.793335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/10/image_15122025_20_10_34_10369.jpg', '/home/pi/Desktop/images/15122025/20/10/image_15122025_20_10_53_9698.jpg', '/home/pi/Desktop/images/15122025/20/10/image_15122025_20_11_04_10654.jpg', '/home/pi/Desktop/images/15122025/20/11/image_15122025_20_11_14_9799.jpg', '/home/pi/Desktop/images/15122025/20/11/image_15122025_20_11_23_9606.jpg', '/home/pi/Desktop/images/15122025/20/11/image_15122025_20_11_44_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/10/image_15122025_20_10_34_10369.jpg
/home/pi/Desktop/images/15122025/20/10/image_15122025_20_10_53_9698.jpg
/home/pi/Desktop/images/15122025/20/10/image_15122025_20_11_04_10654.jpg
/home/pi/Desktop/images/15122025/20/11/image_15122025_20_11_14_9799.jpg
/home/pi/Desktop/images/15122025/20/11/image_15122025_20_11_23_9606.jpg
/home/pi/Desktop/images/15122025/20/11/image_15122025_20_11_44_9668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399545494","1399545496","1399545499","1399545490","1399545487","1399545492"],"photo_ids_order":["1399545487","1399545490","1399545492","1399545494","1399545496","1399545499"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6d96d687e0c1a2067b66b063db18f5d0.jpg","text":"TemporaryFile(/tmp/multipartBody7336084482891072596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826523512,"filename":"image_15122025_20_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/15/ec2eb81870553359e415d497bca126aa.jpg","text":"TemporaryFile(/tmp/multipartBody826071823304805609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826523512,"filename":"image_15122025_20_11_23_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/15/346969e179e56ec64886aff545d5b24c.jpg","text":"TemporaryFile(/tmp/multipartBody6147196008623647831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826523512,"filename":"image_15122025_20_11_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/15/76cb4309b960a5ee746fac44cfe1a3f7.jpg","text":"TemporaryFile(/tmp/multipartBody6061733228517959878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826523512,"filename":"image_15122025_20_10_53_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/15/1a8db70b489975e2c704ddc5e193fe98.jpg","text":"TemporaryFile(/tmp/multipartBody3288108889451283922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826523512,"filename":"image_15122025_20_10_34_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/15/1491154a706eec94bbed0f961fa27b63.jpg","text":"TemporaryFile(/tmp/multipartBody6362920054112371619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826523512,"filename":"image_15122025_20_11_04_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545492","file1":"1399545490","file0":"1399545487","file4":"1399545496","file5":"1399545499","file3":"1399545494"},"map_files_photo_id_array":[{"photo_id":"1399545499","filename":"file5"},{"photo_id":"1399545492","filename":"file2"},{"photo_id":"1399545496","filename":"file4"},{"photo_id":"1399545490","filename":"file1"},{"photo_id":"1399545487","filename":"file0"},{"photo_id":"1399545494","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399545494":["hashtag1","hashtag2"]},{"1399545496":["hashtag1","hashtag2"]},{"1399545499":["hashtag1","hashtag2"]},{"1399545490":["hashtag1","hashtag2"]},{"1399545487":["hashtag1","hashtag2"]},{"1399545492":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399545494, 1399545496, 1399545499, 1399545490, 1399545487, 1399545492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.681174755096436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 20:21:42.163155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_22_2570.jpg', '/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_25_2916.jpg', '/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_28_3040.jpg', '/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_40_11724.jpg', '/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_43_3240.jpg', '/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_45_1733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_22_2570.jpg
/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_25_2916.jpg
/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_28_3040.jpg
/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_40_11724.jpg
/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_43_3240.jpg
/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_45_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":["1399545507","1399545503","1399545509","1399545508","1399545511","1399545510"],"photo_ids_order":["1399545503","1399545507","1399545508","1399545509","1399545510","1399545511"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9a3a9125ebde49855c01313ebf6978ad.jpg","text":"TemporaryFile(/tmp/multipartBody2222375540288936633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826562867,"filename":"image_05112025_16_05_25_2916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/132e508d553e7a363688f8590a6d2785.jpg","text":"TemporaryFile(/tmp/multipartBody7807521416003468355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826562867,"filename":"image_05112025_16_05_22_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/15/444f2678c561d8a48fae251c05a660e0.jpg","text":"TemporaryFile(/tmp/multipartBody7592397367514341846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826562867,"filename":"image_05112025_16_05_40_11724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b9b0654790649412612197b9e13a2213.jpg","text":"TemporaryFile(/tmp/multipartBody522490358084257483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826562867,"filename":"image_05112025_16_05_28_3040.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cf6dc7dbb90451aa9dca50907e5bf76d.jpg","text":"TemporaryFile(/tmp/multipartBody9060997417573204830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826562867,"filename":"image_05112025_16_05_45_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/15/bd0b4be99daaf16544bed5b0847e3e40.jpg","text":"TemporaryFile(/tmp/multipartBody3751540391734506795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826562867,"filename":"image_05112025_16_05_43_3240.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545508","file1":"1399545507","file0":"1399545503","file4":"1399545510","file5":"1399545511","file3":"1399545509"},"map_files_photo_id_array":[{"photo_id":"1399545511","filename":"file5"},{"photo_id":"1399545508","filename":"file2"},{"photo_id":"1399545510","filename":"file4"},{"photo_id":"1399545507","filename":"file1"},{"photo_id":"1399545503","filename":"file0"},{"photo_id":"1399545509","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399545507":["hashtag1","hashtag2"]},{"1399545503":["hashtag1","hashtag2"]},{"1399545509":["hashtag1","hashtag2"]},{"1399545508":["hashtag1","hashtag2"]},{"1399545511":["hashtag1","hashtag2"]},{"1399545510":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399545507, 1399545503, 1399545509, 1399545508, 1399545511, 1399545510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60163736343384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 20:22:22.440877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/11/image_15122025_20_11_53_9823.jpg', '/home/pi/Desktop/images/15122025/20/12/image_15122025_20_12_13_9141.jpg', '/home/pi/Desktop/images/15122025/20/12/image_15122025_20_12_24_10771.jpg', '/home/pi/Desktop/images/15122025/20/12/image_15122025_20_12_44_10104.jpg', '/home/pi/Desktop/images/15122025/20/12/image_15122025_20_12_54_9716.jpg', '/home/pi/Desktop/images/15122025/20/12/image_15122025_20_13_03_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/11/image_15122025_20_11_53_9823.jpg
/home/pi/Desktop/images/15122025/20/12/image_15122025_20_12_13_9141.jpg
/home/pi/Desktop/images/15122025/20/12/image_15122025_20_12_24_10771.jpg
/home/pi/Desktop/images/15122025/20/12/image_15122025_20_12_44_10104.jpg
/home/pi/Desktop/images/15122025/20/12/image_15122025_20_12_54_9716.jpg
/home/pi/Desktop/images/15122025/20/12/image_15122025_20_13_03_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":["1399545516","1399545521","1399545535","1399545529","1399545523","1399545519"],"photo_ids_order":["1399545516","1399545519","1399545521","1399545523","1399545529","1399545535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e0a51e3c5660d590e8e2307e551c791f.jpg","text":"TemporaryFile(/tmp/multipartBody2395545104390453519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826603141,"filename":"image_15122025_20_11_53_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/15/9c1325607c06b45155b4e3f8a95841c5.jpg","text":"TemporaryFile(/tmp/multipartBody3725609761770062233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826603141,"filename":"image_15122025_20_12_24_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f9bd850d80dbe43e4c609eceee4df12e.jpg","text":"TemporaryFile(/tmp/multipartBody6667979020843986251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826603141,"filename":"image_15122025_20_13_03_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/eabb6be0b61a5751cd3105b97c2c7437.jpg","text":"TemporaryFile(/tmp/multipartBody4130814299144541466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826603141,"filename":"image_15122025_20_12_54_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/774e5c607a4f1e022f159db3e13387aa.jpg","text":"TemporaryFile(/tmp/multipartBody8971372485380615263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826603141,"filename":"image_15122025_20_12_44_10104.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/90c294988b6f6768939a129f6f7e9489.jpg","text":"TemporaryFile(/tmp/multipartBody3908305106151837411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826603141,"filename":"image_15122025_20_12_13_9141.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545521","file1":"1399545519","file0":"1399545516","file4":"1399545529","file5":"1399545535","file3":"1399545523"},"map_files_photo_id_array":[{"photo_id":"1399545535","filename":"file5"},{"photo_id":"1399545521","filename":"file2"},{"photo_id":"1399545529","filename":"file4"},{"photo_id":"1399545519","filename":"file1"},{"photo_id":"1399545516","filename":"file0"},{"photo_id":"1399545523","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399545516":["hashtag1","hashtag2"]},{"1399545521":["hashtag1","hashtag2"]},{"1399545535":["hashtag1","hashtag2"]},{"1399545529":["hashtag1","hashtag2"]},{"1399545523":["hashtag1","hashtag2"]},{"1399545519":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399545516, 1399545521, 1399545535, 1399545529, 1399545523, 1399545519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44883394241333 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 20:23:03.273025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/13/image_15122025_20_13_13_9813.jpg', '/home/pi/Desktop/images/15122025/20/13/image_15122025_20_13_24_10673.jpg', '/home/pi/Desktop/images/15122025/20/13/image_15122025_20_13_34_9780.jpg', '/home/pi/Desktop/images/15122025/20/13/image_15122025_20_13_44_10499.jpg', '/home/pi/Desktop/images/15122025/20/13/image_15122025_20_13_54_9658.jpg', '/home/pi/Desktop/images/15122025/20/13/image_15122025_20_14_04_10261.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/13/image_15122025_20_13_13_9813.jpg
/home/pi/Desktop/images/15122025/20/13/image_15122025_20_13_24_10673.jpg
/home/pi/Desktop/images/15122025/20/13/image_15122025_20_13_34_9780.jpg
/home/pi/Desktop/images/15122025/20/13/image_15122025_20_13_44_10499.jpg
/home/pi/Desktop/images/15122025/20/13/image_15122025_20_13_54_9658.jpg
/home/pi/Desktop/images/15122025/20/13/image_15122025_20_14_04_10261.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399545554","1399545556","1399545559","1399545549","1399545552","1399545546"],"photo_ids_order":["1399545546","1399545549","1399545552","1399545554","1399545556","1399545559"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/690156ca9e2d2c1bf58f6f74327332c8.jpg","text":"TemporaryFile(/tmp/multipartBody2906416293625477604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826643979,"filename":"image_15122025_20_13_44_10499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7563fbf67afff8edea4eaabbd32b8e46.jpg","text":"TemporaryFile(/tmp/multipartBody884593549973078281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826643979,"filename":"image_15122025_20_13_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/15/ba8eae86cfe8a3fdf9227edd962f7031.jpg","text":"TemporaryFile(/tmp/multipartBody5627805718650804471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826643979,"filename":"image_15122025_20_14_04_10261.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/25093feba43307f051ac883fb07f78d7.jpg","text":"TemporaryFile(/tmp/multipartBody1467080176318944234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826643979,"filename":"image_15122025_20_13_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/15/349c2bdc2f14ce05f9a21142ca46929e.jpg","text":"TemporaryFile(/tmp/multipartBody2795276267894662772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826643979,"filename":"image_15122025_20_13_34_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1c989b964a534819a9ff6615eb1c1b5a.jpg","text":"TemporaryFile(/tmp/multipartBody8129935620549600286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826643979,"filename":"image_15122025_20_13_13_9813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545552","file1":"1399545549","file0":"1399545546","file4":"1399545556","file5":"1399545559","file3":"1399545554"},"map_files_photo_id_array":[{"photo_id":"1399545559","filename":"file5"},{"photo_id":"1399545552","filename":"file2"},{"photo_id":"1399545556","filename":"file4"},{"photo_id":"1399545549","filename":"file1"},{"photo_id":"1399545546","filename":"file0"},{"photo_id":"1399545554","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399545554":["hashtag1","hashtag2"]},{"1399545556":["hashtag1","hashtag2"]},{"1399545559":["hashtag1","hashtag2"]},{"1399545549":["hashtag1","hashtag2"]},{"1399545552":["hashtag1","hashtag2"]},{"1399545546":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399545554, 1399545556, 1399545559, 1399545549, 1399545552, 1399545546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57508134841919 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 20:23:42.739688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_47_1802.jpg', '/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_48_1574.jpg', '/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_50_1587.jpg', '/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_52_1706.jpg', '/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_53_1548.jpg', '/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_56_2527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_47_1802.jpg
/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_48_1574.jpg
/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_50_1587.jpg
/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_52_1706.jpg
/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_53_1548.jpg
/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_56_2527.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399545566","1399545569","1399545568","1399545567","1399545579","1399545564"],"photo_ids_order":["1399545564","1399545566","1399545567","1399545568","1399545569","1399545579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e880fb28ffb3b5c523261198e8363e43.jpg","text":"TemporaryFile(/tmp/multipartBody955970124616105471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826683450,"filename":"image_05112025_16_05_48_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/15/b9f8c6ea53e6b467230927c60e0acdbb.jpg","text":"TemporaryFile(/tmp/multipartBody3243098081768452909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826683450,"filename":"image_05112025_16_05_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/15/8dad5afa79b5bc35a199c9b7cc10d726.jpg","text":"TemporaryFile(/tmp/multipartBody2754575134441082028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826683450,"filename":"image_05112025_16_05_52_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/15/31ff5343597a7be5bca382fe0829dd1f.jpg","text":"TemporaryFile(/tmp/multipartBody4929140910801739216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826683450,"filename":"image_05112025_16_05_50_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/15/e3631034117b6058b74b538e4c55d18a.jpg","text":"TemporaryFile(/tmp/multipartBody7733386591607504445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826683450,"filename":"image_05112025_16_05_56_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/15/138bc27d8db835d19d7f103ce9fd4c88.jpg","text":"TemporaryFile(/tmp/multipartBody5387364127466847840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826683450,"filename":"image_05112025_16_05_47_1802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545567","file1":"1399545566","file0":"1399545564","file4":"1399545569","file5":"1399545579","file3":"1399545568"},"map_files_photo_id_array":[{"photo_id":"1399545579","filename":"file5"},{"photo_id":"1399545567","filename":"file2"},{"photo_id":"1399545569","filename":"file4"},{"photo_id":"1399545566","filename":"file1"},{"photo_id":"1399545564","filename":"file0"},{"photo_id":"1399545568","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399545566":["hashtag1","hashtag2"]},{"1399545569":["hashtag1","hashtag2"]},{"1399545568":["hashtag1","hashtag2"]},{"1399545567":["hashtag1","hashtag2"]},{"1399545579":["hashtag1","hashtag2"]},{"1399545564":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399545566, 1399545569, 1399545568, 1399545567, 1399545579, 1399545564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03589606285095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 20:24:22.058030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/14/image_15122025_20_14_14_9573.jpg', '/home/pi/Desktop/images/15122025/20/14/image_15122025_20_14_24_9835.jpg', '/home/pi/Desktop/images/15122025/20/14/image_15122025_20_14_33_9814.jpg', '/home/pi/Desktop/images/15122025/20/14/image_15122025_20_14_44_10618.jpg', '/home/pi/Desktop/images/15122025/20/14/image_15122025_20_14_54_9630.jpg', '/home/pi/Desktop/images/15122025/20/14/image_15122025_20_15_03_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/14/image_15122025_20_14_14_9573.jpg
/home/pi/Desktop/images/15122025/20/14/image_15122025_20_14_24_9835.jpg
/home/pi/Desktop/images/15122025/20/14/image_15122025_20_14_33_9814.jpg
/home/pi/Desktop/images/15122025/20/14/image_15122025_20_14_44_10618.jpg
/home/pi/Desktop/images/15122025/20/14/image_15122025_20_14_54_9630.jpg
/home/pi/Desktop/images/15122025/20/14/image_15122025_20_15_03_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":["1399545606","1399545600","1399545608","1399545610","1399545613","1399545603"],"photo_ids_order":["1399545600","1399545603","1399545606","1399545608","1399545610","1399545613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ef2c9dc04113fad55ab0d5400493e18f.jpg","text":"TemporaryFile(/tmp/multipartBody9029221508669545095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826722728,"filename":"image_15122025_20_14_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/15/a7581bb5370347bb53a2d2a641179a8d.jpg","text":"TemporaryFile(/tmp/multipartBody353472517752778738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826722728,"filename":"image_15122025_20_14_14_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3c7af9bbf081aa683204c99012a528e5.jpg","text":"TemporaryFile(/tmp/multipartBody7231196072515905327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826722728,"filename":"image_15122025_20_14_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/15/41c3d1aba18b6ba3dd4165d420970a8d.jpg","text":"TemporaryFile(/tmp/multipartBody3715809885444956646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826722728,"filename":"image_15122025_20_14_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/15/d45de23a3989cfa107ace53f4a88ce09.jpg","text":"TemporaryFile(/tmp/multipartBody9009737256579963611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826722728,"filename":"image_15122025_20_15_03_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/64b1b793b9679c41947a9248d241bcb3.jpg","text":"TemporaryFile(/tmp/multipartBody7119561996455425452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826722728,"filename":"image_15122025_20_14_24_9835.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545606","file1":"1399545603","file0":"1399545600","file4":"1399545610","file5":"1399545613","file3":"1399545608"},"map_files_photo_id_array":[{"photo_id":"1399545613","filename":"file5"},{"photo_id":"1399545606","filename":"file2"},{"photo_id":"1399545610","filename":"file4"},{"photo_id":"1399545603","filename":"file1"},{"photo_id":"1399545600","filename":"file0"},{"photo_id":"1399545608","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399545606":["hashtag1","hashtag2"]},{"1399545600":["hashtag1","hashtag2"]},{"1399545608":["hashtag1","hashtag2"]},{"1399545610":["hashtag1","hashtag2"]},{"1399545613":["hashtag1","hashtag2"]},{"1399545603":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399545606, 1399545600, 1399545608, 1399545610, 1399545613, 1399545603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54393815994263 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 20:25:02.798982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/15/image_15122025_20_15_14_10723.jpg', '/home/pi/Desktop/images/15122025/20/15/image_15122025_20_15_24_9619.jpg', '/home/pi/Desktop/images/15122025/20/15/image_15122025_20_15_33_9613.jpg', '/home/pi/Desktop/images/15122025/20/15/image_15122025_20_15_54_9874.jpg', '/home/pi/Desktop/images/15122025/20/15/image_15122025_20_16_03_9678.jpg', '/home/pi/Desktop/images/15122025/20/16/image_15122025_20_16_14_10742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/15/image_15122025_20_15_14_10723.jpg
/home/pi/Desktop/images/15122025/20/15/image_15122025_20_15_24_9619.jpg
/home/pi/Desktop/images/15122025/20/15/image_15122025_20_15_33_9613.jpg
/home/pi/Desktop/images/15122025/20/15/image_15122025_20_15_54_9874.jpg
/home/pi/Desktop/images/15122025/20/15/image_15122025_20_16_03_9678.jpg
/home/pi/Desktop/images/15122025/20/16/image_15122025_20_16_14_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":["1399545632","1399545626","1399545635","1399545620","1399545628","1399545630"],"photo_ids_order":["1399545620","1399545626","1399545628","1399545630","1399545632","1399545635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3b43064d1ae1c9d24e5f81b208a95e85.jpg","text":"TemporaryFile(/tmp/multipartBody1533104690532877749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826763503,"filename":"image_15122025_20_16_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/15/896aa5eab4bc71c3fbc6e41b4b8d7bbb.jpg","text":"TemporaryFile(/tmp/multipartBody3080845469216502168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826763503,"filename":"image_15122025_20_15_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/15/d7320ce5ed34ea3b9ae728d5676f9d8c.jpg","text":"TemporaryFile(/tmp/multipartBody3136559397664601439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826763503,"filename":"image_15122025_20_16_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/15/4b5186c352f005a7a0f8c02b27ef4e3d.jpg","text":"TemporaryFile(/tmp/multipartBody2964946270045586056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826763503,"filename":"image_15122025_20_15_14_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f3d39f071128f03f1b2ae4b95f8c7c42.jpg","text":"TemporaryFile(/tmp/multipartBody626117469564363677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826763503,"filename":"image_15122025_20_15_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/15/e291526110fb3b1bc50232f5983a8876.jpg","text":"TemporaryFile(/tmp/multipartBody8271456858105167093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826763503,"filename":"image_15122025_20_15_54_9874.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545628","file1":"1399545626","file0":"1399545620","file4":"1399545632","file5":"1399545635","file3":"1399545630"},"map_files_photo_id_array":[{"photo_id":"1399545635","filename":"file5"},{"photo_id":"1399545628","filename":"file2"},{"photo_id":"1399545632","filename":"file4"},{"photo_id":"1399545626","filename":"file1"},{"photo_id":"1399545620","filename":"file0"},{"photo_id":"1399545630","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399545632":["hashtag1","hashtag2"]},{"1399545626":["hashtag1","hashtag2"]},{"1399545635":["hashtag1","hashtag2"]},{"1399545620":["hashtag1","hashtag2"]},{"1399545628":["hashtag1","hashtag2"]},{"1399545630":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399545632, 1399545626, 1399545635, 1399545620, 1399545628, 1399545630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17107343673706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 20:25:42.265384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_58_2576.jpg', '/home/pi/Desktop/images/05112025/16/06/image_05112025_16_06_02_3627.jpg', '/home/pi/Desktop/images/05112025/16/06/image_05112025_16_06_05_2627.jpg', '/home/pi/Desktop/images/05112025/16/06/image_05112025_16_06_07_2687.jpg', '/home/pi/Desktop/images/05112025/16/06/image_05112025_16_06_10_2769.jpg', '/home/pi/Desktop/images/05112025/16/06/image_05112025_16_06_14_3653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/05/image_05112025_16_05_58_2576.jpg
/home/pi/Desktop/images/05112025/16/06/image_05112025_16_06_02_3627.jpg
/home/pi/Desktop/images/05112025/16/06/image_05112025_16_06_05_2627.jpg
/home/pi/Desktop/images/05112025/16/06/image_05112025_16_06_07_2687.jpg
/home/pi/Desktop/images/05112025/16/06/image_05112025_16_06_10_2769.jpg
/home/pi/Desktop/images/05112025/16/06/image_05112025_16_06_14_3653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399545644","1399545643","1399545646","1399545642","1399545645","1399545639"],"photo_ids_order":["1399545639","1399545642","1399545643","1399545644","1399545645","1399545646"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/de2fe39982abc54e057576ccac2f0f10.jpg","text":"TemporaryFile(/tmp/multipartBody6597564310750675404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826802977,"filename":"image_05112025_16_06_07_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ba0a590a33cb8e19aa33cfe1acc2e3f6.jpg","text":"TemporaryFile(/tmp/multipartBody7938175025084125810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826802977,"filename":"image_05112025_16_06_05_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/15/5b5420b5fadafa2da31b21bd279d54b4.jpg","text":"TemporaryFile(/tmp/multipartBody2304511672278594719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826802977,"filename":"image_05112025_16_06_14_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/15/4ebe6ee8f31fb0394e75f1e8a107710f.jpg","text":"TemporaryFile(/tmp/multipartBody5685181972324950258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826802977,"filename":"image_05112025_16_06_02_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/15/6abbca40f9825b8790774f415cb3f2cb.jpg","text":"TemporaryFile(/tmp/multipartBody2611578975977144788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826802977,"filename":"image_05112025_16_06_10_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b3f3ba0334a954a180bc33383584c39b.jpg","text":"TemporaryFile(/tmp/multipartBody583151130020259264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826802977,"filename":"image_05112025_16_05_58_2576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545643","file1":"1399545642","file0":"1399545639","file4":"1399545645","file5":"1399545646","file3":"1399545644"},"map_files_photo_id_array":[{"photo_id":"1399545646","filename":"file5"},{"photo_id":"1399545643","filename":"file2"},{"photo_id":"1399545645","filename":"file4"},{"photo_id":"1399545642","filename":"file1"},{"photo_id":"1399545639","filename":"file0"},{"photo_id":"1399545644","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399545644":["hashtag1","hashtag2"]},{"1399545643":["hashtag1","hashtag2"]},{"1399545646":["hashtag1","hashtag2"]},{"1399545642":["hashtag1","hashtag2"]},{"1399545645":["hashtag1","hashtag2"]},{"1399545639":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399545644, 1399545643, 1399545646, 1399545642, 1399545645, 1399545639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22328996658325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 20:26:22.591694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/16/image_15122025_20_16_24_9710.jpg', '/home/pi/Desktop/images/15122025/20/16/image_15122025_20_16_34_9657.jpg', '/home/pi/Desktop/images/15122025/20/16/image_15122025_20_16_43_9823.jpg', '/home/pi/Desktop/images/15122025/20/16/image_15122025_20_16_54_10662.jpg', '/home/pi/Desktop/images/15122025/20/16/image_15122025_20_17_04_9682.jpg', '/home/pi/Desktop/images/15122025/20/17/image_15122025_20_17_13_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/16/image_15122025_20_16_24_9710.jpg
/home/pi/Desktop/images/15122025/20/16/image_15122025_20_16_34_9657.jpg
/home/pi/Desktop/images/15122025/20/16/image_15122025_20_16_43_9823.jpg
/home/pi/Desktop/images/15122025/20/16/image_15122025_20_16_54_10662.jpg
/home/pi/Desktop/images/15122025/20/16/image_15122025_20_17_04_9682.jpg
/home/pi/Desktop/images/15122025/20/17/image_15122025_20_17_13_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":["1399545665","1399545655","1399545670","1399545658","1399545652","1399545660"],"photo_ids_order":["1399545652","1399545655","1399545658","1399545660","1399545665","1399545670"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/41584f5bd537f760708fb99b78d26832.jpg","text":"TemporaryFile(/tmp/multipartBody7372290816383161566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826843307,"filename":"image_15122025_20_17_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/15/ef161978ac0c82643a43926d279a638c.jpg","text":"TemporaryFile(/tmp/multipartBody2997274669422717623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826843307,"filename":"image_15122025_20_16_34_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a328ad461486d1d5eb297fc7a3f26f05.jpg","text":"TemporaryFile(/tmp/multipartBody6872044229913422255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826843307,"filename":"image_15122025_20_17_13_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/15/fa1ff432f1b4e3b70a7ba493f4b1d2bd.jpg","text":"TemporaryFile(/tmp/multipartBody1192151188081443218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826843307,"filename":"image_15122025_20_16_43_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/15/ff88d8c9409854f6350f61c9f045725f.jpg","text":"TemporaryFile(/tmp/multipartBody9010667153608751199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826843307,"filename":"image_15122025_20_16_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/15/b6671ab5ddd95bbbe80f2217e66ee2e9.jpg","text":"TemporaryFile(/tmp/multipartBody7661188055391829851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826843307,"filename":"image_15122025_20_16_54_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545658","file1":"1399545655","file0":"1399545652","file4":"1399545665","file5":"1399545670","file3":"1399545660"},"map_files_photo_id_array":[{"photo_id":"1399545670","filename":"file5"},{"photo_id":"1399545658","filename":"file2"},{"photo_id":"1399545665","filename":"file4"},{"photo_id":"1399545655","filename":"file1"},{"photo_id":"1399545652","filename":"file0"},{"photo_id":"1399545660","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399545665":["hashtag1","hashtag2"]},{"1399545655":["hashtag1","hashtag2"]},{"1399545670":["hashtag1","hashtag2"]},{"1399545658":["hashtag1","hashtag2"]},{"1399545652":["hashtag1","hashtag2"]},{"1399545660":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399545665, 1399545655, 1399545670, 1399545658, 1399545652, 1399545660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.612767457962036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 20:27:03.412076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/17/image_15122025_20_17_34_9678.jpg', '/home/pi/Desktop/images/15122025/20/17/image_15122025_20_17_43_9701.jpg', '/home/pi/Desktop/images/15122025/20/17/image_15122025_20_18_04_9630.jpg', '/home/pi/Desktop/images/15122025/20/18/image_15122025_20_18_13_9585.jpg', '/home/pi/Desktop/images/15122025/20/18/image_15122025_20_18_24_10763.jpg', '/home/pi/Desktop/images/15122025/20/18/image_15122025_20_18_34_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/17/image_15122025_20_17_34_9678.jpg
/home/pi/Desktop/images/15122025/20/17/image_15122025_20_17_43_9701.jpg
/home/pi/Desktop/images/15122025/20/17/image_15122025_20_18_04_9630.jpg
/home/pi/Desktop/images/15122025/20/18/image_15122025_20_18_13_9585.jpg
/home/pi/Desktop/images/15122025/20/18/image_15122025_20_18_24_10763.jpg
/home/pi/Desktop/images/15122025/20/18/image_15122025_20_18_34_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399545680","1399545674","1399545682","1399545676","1399545672","1399545678"],"photo_ids_order":["1399545672","1399545674","1399545676","1399545678","1399545680","1399545682"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5f2f5ff70ebf5644e3680fa6c99cef82.jpg","text":"TemporaryFile(/tmp/multipartBody6166049088494195892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826884118,"filename":"image_15122025_20_18_24_10763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1b969c4c3e3f4972c1f0f763fe668ed5.jpg","text":"TemporaryFile(/tmp/multipartBody5143312995596481014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826884118,"filename":"image_15122025_20_17_43_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/15/4858b5584c71dc2b5e0243c078e9f0e2.jpg","text":"TemporaryFile(/tmp/multipartBody5748278578214035632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826884118,"filename":"image_15122025_20_18_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/15/51170a39a7247203f0246c579a0e925d.jpg","text":"TemporaryFile(/tmp/multipartBody6343725993573107823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826884118,"filename":"image_15122025_20_18_04_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bd471f6f3e7e78c4be24f109364cc912.jpg","text":"TemporaryFile(/tmp/multipartBody6767246924964290889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826884118,"filename":"image_15122025_20_17_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/15/b1a5d1b5464cdc86961ac2db5377c171.jpg","text":"TemporaryFile(/tmp/multipartBody7602375378711527335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826884118,"filename":"image_15122025_20_18_13_9585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545676","file1":"1399545674","file0":"1399545672","file4":"1399545680","file5":"1399545682","file3":"1399545678"},"map_files_photo_id_array":[{"photo_id":"1399545682","filename":"file5"},{"photo_id":"1399545676","filename":"file2"},{"photo_id":"1399545680","filename":"file4"},{"photo_id":"1399545674","filename":"file1"},{"photo_id":"1399545672","filename":"file0"},{"photo_id":"1399545678","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399545680":["hashtag1","hashtag2"]},{"1399545674":["hashtag1","hashtag2"]},{"1399545682":["hashtag1","hashtag2"]},{"1399545676":["hashtag1","hashtag2"]},{"1399545672":["hashtag1","hashtag2"]},{"1399545678":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399545680, 1399545674, 1399545682, 1399545676, 1399545672, 1399545678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.561654806137085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 20:27:42.642865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/06/image_05112025_16_06_16_2636.jpg', '/home/pi/Desktop/images/05112025/16/06/image_05112025_16_06_20_3593.jpg', '/home/pi/Desktop/images/05112025/16/06/image_05112025_16_06_23_2696.jpg', '/home/pi/Desktop/images/05112025/16/06/image_05112025_16_06_25_2574.jpg', '/home/pi/Desktop/images/05112025/16/06/image_05112025_16_06_35_9697.jpg', '/home/pi/Desktop/images/05112025/16/06/image_05112025_16_06_41_6355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/06/image_05112025_16_06_16_2636.jpg
/home/pi/Desktop/images/05112025/16/06/image_05112025_16_06_20_3593.jpg
/home/pi/Desktop/images/05112025/16/06/image_05112025_16_06_23_2696.jpg
/home/pi/Desktop/images/05112025/16/06/image_05112025_16_06_25_2574.jpg
/home/pi/Desktop/images/05112025/16/06/image_05112025_16_06_35_9697.jpg
/home/pi/Desktop/images/05112025/16/06/image_05112025_16_06_41_6355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399545689","1399545691","1399545694","1399545688","1399545700","1399545690"],"photo_ids_order":["1399545688","1399545689","1399545690","1399545691","1399545694","1399545700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e62a9d1bf63c836fd6636b58ecabdebd.jpg","text":"TemporaryFile(/tmp/multipartBody1054142268226132148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826923385,"filename":"image_05112025_16_06_20_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/15/41176d1038ac86c7319d7e0b6882dc91.jpg","text":"TemporaryFile(/tmp/multipartBody3195726906590619744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826923385,"filename":"image_05112025_16_06_25_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/15/65e015016ed1614e783f8ebf45f0b148.jpg","text":"TemporaryFile(/tmp/multipartBody191118385515113323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826923385,"filename":"image_05112025_16_06_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/15/485f36e419bcc28bd5399957df030f13.jpg","text":"TemporaryFile(/tmp/multipartBody959097282313525903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826923385,"filename":"image_05112025_16_06_16_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2da69b05595dfe2c69c55e481cd6e9db.jpg","text":"TemporaryFile(/tmp/multipartBody1576459251090824123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826923385,"filename":"image_05112025_16_06_41_6355.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a02ab755383d09740dd4274514f70631.jpg","text":"TemporaryFile(/tmp/multipartBody2207377878517228585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826923385,"filename":"image_05112025_16_06_23_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545690","file1":"1399545689","file0":"1399545688","file4":"1399545694","file5":"1399545700","file3":"1399545691"},"map_files_photo_id_array":[{"photo_id":"1399545700","filename":"file5"},{"photo_id":"1399545690","filename":"file2"},{"photo_id":"1399545694","filename":"file4"},{"photo_id":"1399545689","filename":"file1"},{"photo_id":"1399545688","filename":"file0"},{"photo_id":"1399545691","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399545689":["hashtag1","hashtag2"]},{"1399545691":["hashtag1","hashtag2"]},{"1399545694":["hashtag1","hashtag2"]},{"1399545688":["hashtag1","hashtag2"]},{"1399545700":["hashtag1","hashtag2"]},{"1399545690":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399545689, 1399545691, 1399545694, 1399545688, 1399545700, 1399545690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.554890155792236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 20:28:21.979449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/18/image_15122025_20_18_43_9706.jpg', '/home/pi/Desktop/images/15122025/20/18/image_15122025_20_18_53_9950.jpg', '/home/pi/Desktop/images/15122025/20/18/image_15122025_20_19_04_10590.jpg', '/home/pi/Desktop/images/15122025/20/19/image_15122025_20_19_14_9698.jpg', '/home/pi/Desktop/images/15122025/20/19/image_15122025_20_19_23_9771.jpg', '/home/pi/Desktop/images/15122025/20/19/image_15122025_20_19_33_9810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/18/image_15122025_20_18_43_9706.jpg
/home/pi/Desktop/images/15122025/20/18/image_15122025_20_18_53_9950.jpg
/home/pi/Desktop/images/15122025/20/18/image_15122025_20_19_04_10590.jpg
/home/pi/Desktop/images/15122025/20/19/image_15122025_20_19_14_9698.jpg
/home/pi/Desktop/images/15122025/20/19/image_15122025_20_19_23_9771.jpg
/home/pi/Desktop/images/15122025/20/19/image_15122025_20_19_33_9810.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5627386569976807 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 20:28:32.083425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 20:28:41.850882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/06/image_05112025_16_06_43_1513.jpg', '/home/pi/Desktop/images/05112025/16/06/image_05112025_16_06_44_1538.jpg', '/home/pi/Desktop/images/05112025/16/06/image_05112025_16_06_46_1582.jpg', '/home/pi/Desktop/images/05112025/16/06/image_05112025_16_07_00_14601.jpg', '/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_07_6155.jpg', '/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_08_1643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/06/image_05112025_16_06_43_1513.jpg
/home/pi/Desktop/images/05112025/16/06/image_05112025_16_06_44_1538.jpg
/home/pi/Desktop/images/05112025/16/06/image_05112025_16_06_46_1582.jpg
/home/pi/Desktop/images/05112025/16/06/image_05112025_16_07_00_14601.jpg
/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_07_6155.jpg
/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_08_1643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399545732","1399545725","1399545728","1399545722","1399545739","1399545727"],"photo_ids_order":["1399545722","1399545725","1399545727","1399545728","1399545732","1399545739"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c24eab8c97c7f6d05e432252f3cfd6e5.jpg","text":"TemporaryFile(/tmp/multipartBody3634859555719728345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826982591,"filename":"image_05112025_16_07_07_6155.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d142c3a46fbd23d08778f054035f258a.jpg","text":"TemporaryFile(/tmp/multipartBody8253771271435879376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826982591,"filename":"image_05112025_16_06_44_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/15/590801394b1169f005adb788b4f2ea35.jpg","text":"TemporaryFile(/tmp/multipartBody6110266378539949869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826982591,"filename":"image_05112025_16_07_00_14601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f1be70315d24b466cae69e125b479930.jpg","text":"TemporaryFile(/tmp/multipartBody8298554555153143384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826982591,"filename":"image_05112025_16_06_43_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/15/fa54957aeabd0ac28725227538b2eac0.jpg","text":"TemporaryFile(/tmp/multipartBody8157064892927342594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826982591,"filename":"image_05112025_16_07_08_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/15/560bae51879c8ce9119a69d5284747f6.jpg","text":"TemporaryFile(/tmp/multipartBody7062752457828536236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765826982591,"filename":"image_05112025_16_06_46_1582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545727","file1":"1399545725","file0":"1399545722","file4":"1399545732","file5":"1399545739","file3":"1399545728"},"map_files_photo_id_array":[{"photo_id":"1399545739","filename":"file5"},{"photo_id":"1399545727","filename":"file2"},{"photo_id":"1399545732","filename":"file4"},{"photo_id":"1399545725","filename":"file1"},{"photo_id":"1399545722","filename":"file0"},{"photo_id":"1399545728","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399545732":["hashtag1","hashtag2"]},{"1399545725":["hashtag1","hashtag2"]},{"1399545728":["hashtag1","hashtag2"]},{"1399545722":["hashtag1","hashtag2"]},{"1399545739":["hashtag1","hashtag2"]},{"1399545727":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399545732, 1399545725, 1399545728, 1399545722, 1399545739, 1399545727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.660423040390015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 20:29:22.185266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/18/image_15122025_20_18_43_9706.jpg', '/home/pi/Desktop/images/15122025/20/18/image_15122025_20_18_53_9950.jpg', '/home/pi/Desktop/images/15122025/20/18/image_15122025_20_19_04_10590.jpg', '/home/pi/Desktop/images/15122025/20/19/image_15122025_20_19_14_9698.jpg', '/home/pi/Desktop/images/15122025/20/19/image_15122025_20_19_23_9771.jpg', '/home/pi/Desktop/images/15122025/20/19/image_15122025_20_19_33_9810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/18/image_15122025_20_18_43_9706.jpg
/home/pi/Desktop/images/15122025/20/18/image_15122025_20_18_53_9950.jpg
/home/pi/Desktop/images/15122025/20/18/image_15122025_20_19_04_10590.jpg
/home/pi/Desktop/images/15122025/20/19/image_15122025_20_19_14_9698.jpg
/home/pi/Desktop/images/15122025/20/19/image_15122025_20_19_23_9771.jpg
/home/pi/Desktop/images/15122025/20/19/image_15122025_20_19_33_9810.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399545743","1399545749","1399545751","1399545745","1399545747","1399545756"],"photo_ids_order":["1399545743","1399545745","1399545747","1399545749","1399545751","1399545756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f08dbe56b07b3b2316bb91c46c1b96df.jpg","text":"TemporaryFile(/tmp/multipartBody3648625576801859347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827022841,"filename":"image_15122025_20_18_43_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/15/ff7f1cbd5647ba1ee571c506600531cb.jpg","text":"TemporaryFile(/tmp/multipartBody2551052866755132439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827022841,"filename":"image_15122025_20_19_14_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2f07571c0a947f1ca73fe40aafc552f0.jpg","text":"TemporaryFile(/tmp/multipartBody8269600247508395279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827022841,"filename":"image_15122025_20_19_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/15/28f900d992c8bd6b8ea786d94982926c.jpg","text":"TemporaryFile(/tmp/multipartBody6242770506244427864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827022841,"filename":"image_15122025_20_18_53_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/15/0015ed5a456336345ae3e64fb182f8cb.jpg","text":"TemporaryFile(/tmp/multipartBody4117620310607540167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827022841,"filename":"image_15122025_20_19_04_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/104bcaf5102f368f0794f372d0af2fd9.jpg","text":"TemporaryFile(/tmp/multipartBody2983648143214457064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827022841,"filename":"image_15122025_20_19_33_9810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545747","file1":"1399545745","file0":"1399545743","file4":"1399545751","file5":"1399545756","file3":"1399545749"},"map_files_photo_id_array":[{"photo_id":"1399545756","filename":"file5"},{"photo_id":"1399545747","filename":"file2"},{"photo_id":"1399545751","filename":"file4"},{"photo_id":"1399545745","filename":"file1"},{"photo_id":"1399545743","filename":"file0"},{"photo_id":"1399545749","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399545743":["hashtag1","hashtag2"]},{"1399545749":["hashtag1","hashtag2"]},{"1399545751":["hashtag1","hashtag2"]},{"1399545745":["hashtag1","hashtag2"]},{"1399545747":["hashtag1","hashtag2"]},{"1399545756":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399545743, 1399545749, 1399545751, 1399545745, 1399545747, 1399545756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89020109176636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 20:30:02.739899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/19/image_15122025_20_19_44_10817.jpg', '/home/pi/Desktop/images/15122025/20/19/image_15122025_20_19_54_9681.jpg', '/home/pi/Desktop/images/15122025/20/19/image_15122025_20_20_04_9894.jpg', '/home/pi/Desktop/images/15122025/20/20/image_15122025_20_20_14_9892.jpg', '/home/pi/Desktop/images/15122025/20/20/image_15122025_20_20_24_10624.jpg', '/home/pi/Desktop/images/15122025/20/20/image_15122025_20_20_34_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/19/image_15122025_20_19_44_10817.jpg
/home/pi/Desktop/images/15122025/20/19/image_15122025_20_19_54_9681.jpg
/home/pi/Desktop/images/15122025/20/19/image_15122025_20_20_04_9894.jpg
/home/pi/Desktop/images/15122025/20/20/image_15122025_20_20_14_9892.jpg
/home/pi/Desktop/images/15122025/20/20/image_15122025_20_20_24_10624.jpg
/home/pi/Desktop/images/15122025/20/20/image_15122025_20_20_34_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399545761","1399545767","1399545772","1399545769","1399545763","1399545765"],"photo_ids_order":["1399545761","1399545763","1399545765","1399545767","1399545769","1399545772"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4d4a82582f06620ec79a63b0fe69fb45.jpg","text":"TemporaryFile(/tmp/multipartBody1328744905065858576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827063456,"filename":"image_15122025_20_19_44_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/15/59c03c285f59ecae662283d9146c0d18.jpg","text":"TemporaryFile(/tmp/multipartBody72167949843688334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827063456,"filename":"image_15122025_20_20_14_9892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f37f16d63a291150ec8ee7a07bbc23c4.jpg","text":"TemporaryFile(/tmp/multipartBody1022135617020557281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827063456,"filename":"image_15122025_20_20_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/15/7c9fa2cbd6177716fa211667af061ee6.jpg","text":"TemporaryFile(/tmp/multipartBody8876491873029688573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827063456,"filename":"image_15122025_20_20_24_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/67b85f463000aa3164a3961808aeae7a.jpg","text":"TemporaryFile(/tmp/multipartBody3524456848241796661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827063456,"filename":"image_15122025_20_19_54_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bbde745de80325cca2b7f926af844325.jpg","text":"TemporaryFile(/tmp/multipartBody8429860338760585232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827063456,"filename":"image_15122025_20_20_04_9894.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545765","file1":"1399545763","file0":"1399545761","file4":"1399545769","file5":"1399545772","file3":"1399545767"},"map_files_photo_id_array":[{"photo_id":"1399545772","filename":"file5"},{"photo_id":"1399545765","filename":"file2"},{"photo_id":"1399545769","filename":"file4"},{"photo_id":"1399545763","filename":"file1"},{"photo_id":"1399545761","filename":"file0"},{"photo_id":"1399545767","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399545761":["hashtag1","hashtag2"]},{"1399545767":["hashtag1","hashtag2"]},{"1399545772":["hashtag1","hashtag2"]},{"1399545769":["hashtag1","hashtag2"]},{"1399545763":["hashtag1","hashtag2"]},{"1399545765":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399545761, 1399545767, 1399545772, 1399545769, 1399545763, 1399545765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.041677713394165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 20:30:42.336017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_10_1574.jpg', '/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_11_1565.jpg', '/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_13_1691.jpg', '/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_15_1508.jpg', '/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_16_1815.jpg', '/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_18_1626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_10_1574.jpg
/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_11_1565.jpg
/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_13_1691.jpg
/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_15_1508.jpg
/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_16_1815.jpg
/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_18_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":["1399545788","1399545782","1399545790","1399545787","1399545792","1399545789"],"photo_ids_order":["1399545782","1399545787","1399545788","1399545789","1399545790","1399545792"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d7a7e0e07ebdd023ffd275fbcab101a0.jpg","text":"TemporaryFile(/tmp/multipartBody3499188149937345339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827103060,"filename":"image_05112025_16_07_13_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/15/2e495f08c0930f91f1cc0eb4c468f02e.jpg","text":"TemporaryFile(/tmp/multipartBody3763682196201339411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827103060,"filename":"image_05112025_16_07_10_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/15/9c761b6a3f4bc2beb6bf03af8d7668e8.jpg","text":"TemporaryFile(/tmp/multipartBody790571302991347852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827103060,"filename":"image_05112025_16_07_16_1815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/97143709eef3521863daa949ed8b0533.jpg","text":"TemporaryFile(/tmp/multipartBody4231899661226878371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827103060,"filename":"image_05112025_16_07_11_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/15/0c1afd0731ad382a8926adac3243390c.jpg","text":"TemporaryFile(/tmp/multipartBody5476701997191288166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827103060,"filename":"image_05112025_16_07_18_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/15/75bec257dd8ce242edd24d879396a2f9.jpg","text":"TemporaryFile(/tmp/multipartBody8831953431971288292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827103060,"filename":"image_05112025_16_07_15_1508.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545788","file1":"1399545787","file0":"1399545782","file4":"1399545790","file5":"1399545792","file3":"1399545789"},"map_files_photo_id_array":[{"photo_id":"1399545792","filename":"file5"},{"photo_id":"1399545788","filename":"file2"},{"photo_id":"1399545790","filename":"file4"},{"photo_id":"1399545787","filename":"file1"},{"photo_id":"1399545782","filename":"file0"},{"photo_id":"1399545789","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399545788":["hashtag1","hashtag2"]},{"1399545782":["hashtag1","hashtag2"]},{"1399545790":["hashtag1","hashtag2"]},{"1399545787":["hashtag1","hashtag2"]},{"1399545792":["hashtag1","hashtag2"]},{"1399545789":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399545788, 1399545782, 1399545790, 1399545787, 1399545792, 1399545789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38909196853638 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 20:31:22.629712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/20/image_15122025_20_20_44_9706.jpg', '/home/pi/Desktop/images/15122025/20/21/image_15122025_20_21_14_9750.jpg', '/home/pi/Desktop/images/15122025/20/21/image_15122025_20_21_24_9685.jpg', '/home/pi/Desktop/images/15122025/20/21/image_15122025_20_21_34_10656.jpg', '/home/pi/Desktop/images/15122025/20/21/image_15122025_20_21_54_9658.jpg', '/home/pi/Desktop/images/15122025/20/21/image_15122025_20_22_03_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/20/image_15122025_20_20_44_9706.jpg
/home/pi/Desktop/images/15122025/20/21/image_15122025_20_21_14_9750.jpg
/home/pi/Desktop/images/15122025/20/21/image_15122025_20_21_24_9685.jpg
/home/pi/Desktop/images/15122025/20/21/image_15122025_20_21_34_10656.jpg
/home/pi/Desktop/images/15122025/20/21/image_15122025_20_21_54_9658.jpg
/home/pi/Desktop/images/15122025/20/21/image_15122025_20_22_03_9619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399545807","1399545797","1399545809","1399545800","1399545803","1399545805"],"photo_ids_order":["1399545797","1399545800","1399545803","1399545805","1399545807","1399545809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f0b109c1951d3694b92cafa6c4ea50ad.jpg","text":"TemporaryFile(/tmp/multipartBody6462979436571609276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827143288,"filename":"image_15122025_20_21_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/15/d12882e1cda1c96a3b9af4e95ce767f1.jpg","text":"TemporaryFile(/tmp/multipartBody2338126265620484602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827143288,"filename":"image_15122025_20_20_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/15/797f1b51ce6d18223e2bc39690c31a25.jpg","text":"TemporaryFile(/tmp/multipartBody5127552735013861966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827143288,"filename":"image_15122025_20_22_03_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/58d327a9a9d9ef0474a46a7753b624af.jpg","text":"TemporaryFile(/tmp/multipartBody5927872238152919395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827143288,"filename":"image_15122025_20_21_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/15/98ee891f6fa26bce99c4300bf05b4209.jpg","text":"TemporaryFile(/tmp/multipartBody2802285699031819870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827143288,"filename":"image_15122025_20_21_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/15/5f9ea4f93d5d58646140c9dbff6db149.jpg","text":"TemporaryFile(/tmp/multipartBody8839054519460108769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827143288,"filename":"image_15122025_20_21_34_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545803","file1":"1399545800","file0":"1399545797","file4":"1399545807","file5":"1399545809","file3":"1399545805"},"map_files_photo_id_array":[{"photo_id":"1399545809","filename":"file5"},{"photo_id":"1399545803","filename":"file2"},{"photo_id":"1399545807","filename":"file4"},{"photo_id":"1399545800","filename":"file1"},{"photo_id":"1399545797","filename":"file0"},{"photo_id":"1399545805","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399545807":["hashtag1","hashtag2"]},{"1399545797":["hashtag1","hashtag2"]},{"1399545809":["hashtag1","hashtag2"]},{"1399545800":["hashtag1","hashtag2"]},{"1399545803":["hashtag1","hashtag2"]},{"1399545805":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399545807, 1399545797, 1399545809, 1399545800, 1399545803, 1399545805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13244557380676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 20:32:03.216284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/22/image_15122025_20_23_04_9803.jpg', '/home/pi/Desktop/images/15122025/20/23/image_15122025_20_23_13_9778.jpg', '/home/pi/Desktop/images/15122025/20/23/image_15122025_20_23_24_10767.jpg', '/home/pi/Desktop/images/15122025/20/23/image_15122025_20_23_53_9664.jpg', '/home/pi/Desktop/images/15122025/20/23/image_15122025_20_24_04_10588.jpg', '/home/pi/Desktop/images/15122025/20/24/image_15122025_20_24_23_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/22/image_15122025_20_23_04_9803.jpg
/home/pi/Desktop/images/15122025/20/23/image_15122025_20_23_13_9778.jpg
/home/pi/Desktop/images/15122025/20/23/image_15122025_20_23_24_10767.jpg
/home/pi/Desktop/images/15122025/20/23/image_15122025_20_23_53_9664.jpg
/home/pi/Desktop/images/15122025/20/23/image_15122025_20_24_04_10588.jpg
/home/pi/Desktop/images/15122025/20/24/image_15122025_20_24_23_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":["1399545813","1399545815","1399545818","1399545817","1399545811","1399545820"],"photo_ids_order":["1399545811","1399545813","1399545815","1399545817","1399545818","1399545820"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1d2ba3f49fcd622e22a47bb94960798b.jpg","text":"TemporaryFile(/tmp/multipartBody7841627544750008182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827183879,"filename":"image_15122025_20_23_13_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/15/15bf8cbd32a90009efdd971a1edbc335.jpg","text":"TemporaryFile(/tmp/multipartBody7604327501697541492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827183879,"filename":"image_15122025_20_23_24_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/15/42e4d5f81a1e1cd14fe3af762526d89c.jpg","text":"TemporaryFile(/tmp/multipartBody8317528913199190309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827183879,"filename":"image_15122025_20_24_04_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bfc65d393d9d8048f8403f531a28b674.jpg","text":"TemporaryFile(/tmp/multipartBody5131119513122985619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827183879,"filename":"image_15122025_20_23_53_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f674809bb875adb2d1d6cb5b521822b0.jpg","text":"TemporaryFile(/tmp/multipartBody4805153594932563134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827183879,"filename":"image_15122025_20_23_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/15/5a6db95d685cc3595d7451922ee552e7.jpg","text":"TemporaryFile(/tmp/multipartBody5425132443822133199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827183879,"filename":"image_15122025_20_24_23_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545815","file1":"1399545813","file0":"1399545811","file4":"1399545818","file5":"1399545820","file3":"1399545817"},"map_files_photo_id_array":[{"photo_id":"1399545820","filename":"file5"},{"photo_id":"1399545815","filename":"file2"},{"photo_id":"1399545818","filename":"file4"},{"photo_id":"1399545813","filename":"file1"},{"photo_id":"1399545811","filename":"file0"},{"photo_id":"1399545817","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399545813":["hashtag1","hashtag2"]},{"1399545815":["hashtag1","hashtag2"]},{"1399545818":["hashtag1","hashtag2"]},{"1399545817":["hashtag1","hashtag2"]},{"1399545811":["hashtag1","hashtag2"]},{"1399545820":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399545813, 1399545815, 1399545818, 1399545817, 1399545811, 1399545820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86590838432312 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 20:32:42.816256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_20_1718.jpg', '/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_21_1606.jpg', '/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_23_1774.jpg', '/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_25_1607.jpg', '/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_26_1680.jpg', '/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_28_1564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_20_1718.jpg
/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_21_1606.jpg
/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_23_1774.jpg
/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_25_1607.jpg
/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_26_1680.jpg
/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_28_1564.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5955195426940918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 20:33:02.832482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/24/image_15122025_20_24_34_10761.jpg', '/home/pi/Desktop/images/15122025/20/24/image_15122025_20_24_44_9628.jpg', '/home/pi/Desktop/images/15122025/20/25/image_15122025_20_25_14_9768.jpg', '/home/pi/Desktop/images/15122025/20/25/image_15122025_20_25_24_9707.jpg', '/home/pi/Desktop/images/15122025/20/25/image_15122025_20_25_54_9676.jpg', '/home/pi/Desktop/images/15122025/20/26/image_15122025_20_26_13_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/24/image_15122025_20_24_34_10761.jpg
/home/pi/Desktop/images/15122025/20/24/image_15122025_20_24_44_9628.jpg
/home/pi/Desktop/images/15122025/20/25/image_15122025_20_25_14_9768.jpg
/home/pi/Desktop/images/15122025/20/25/image_15122025_20_25_24_9707.jpg
/home/pi/Desktop/images/15122025/20/25/image_15122025_20_25_54_9676.jpg
/home/pi/Desktop/images/15122025/20/26/image_15122025_20_26_13_9774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399545857","1399545851","1399545845","1399545853","1399545847","1399545849"],"photo_ids_order":["1399545845","1399545847","1399545849","1399545851","1399545853","1399545857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2fb108e58a677f0649208b115b8e00b6.jpg","text":"TemporaryFile(/tmp/multipartBody7085992901123560807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827243593,"filename":"image_15122025_20_26_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/15/6457bbd2b434937c091dce1afadcc1fc.jpg","text":"TemporaryFile(/tmp/multipartBody5757617125255659922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827243593,"filename":"image_15122025_20_25_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/15/db513f874ab81ed5de74d63c491d565e.jpg","text":"TemporaryFile(/tmp/multipartBody5760252355337581855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827243593,"filename":"image_15122025_20_24_34_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/15/b29dc534c6c4ba42badd4411f51e7ece.jpg","text":"TemporaryFile(/tmp/multipartBody4060391477171461817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827243593,"filename":"image_15122025_20_25_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/15/b3a1e270b32dda641b010c1ee947dbb0.jpg","text":"TemporaryFile(/tmp/multipartBody1244553365169104947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827243593,"filename":"image_15122025_20_24_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/15/728a1661ae573764bca6b47377ac3509.jpg","text":"TemporaryFile(/tmp/multipartBody1645145593146375670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827243593,"filename":"image_15122025_20_25_14_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545849","file1":"1399545847","file0":"1399545845","file4":"1399545853","file5":"1399545857","file3":"1399545851"},"map_files_photo_id_array":[{"photo_id":"1399545857","filename":"file5"},{"photo_id":"1399545849","filename":"file2"},{"photo_id":"1399545853","filename":"file4"},{"photo_id":"1399545847","filename":"file1"},{"photo_id":"1399545845","filename":"file0"},{"photo_id":"1399545851","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399545857":["hashtag1","hashtag2"]},{"1399545851":["hashtag1","hashtag2"]},{"1399545845":["hashtag1","hashtag2"]},{"1399545853":["hashtag1","hashtag2"]},{"1399545847":["hashtag1","hashtag2"]},{"1399545849":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399545857, 1399545851, 1399545845, 1399545853, 1399545847, 1399545849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.034308671951294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 20:33:42.037603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_20_1718.jpg', '/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_21_1606.jpg', '/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_23_1774.jpg', '/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_25_1607.jpg', '/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_26_1680.jpg', '/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_28_1564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_20_1718.jpg
/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_21_1606.jpg
/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_23_1774.jpg
/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_25_1607.jpg
/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_26_1680.jpg
/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_28_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":["1399545863","1399545874","1399545868","1399545862","1399545865","1399545864"],"photo_ids_order":["1399545862","1399545863","1399545864","1399545865","1399545868","1399545874"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/666869380273e2f2c599d1e501c54415.jpg","text":"TemporaryFile(/tmp/multipartBody1434792047033523061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827282662,"filename":"image_05112025_16_07_21_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/15/da551fa43735cb0f5c1dbdd8cde81a97.jpg","text":"TemporaryFile(/tmp/multipartBody6613457694346844698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827282662,"filename":"image_05112025_16_07_28_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/15/5e565dd70eb0ed2d96616f251ad4500b.jpg","text":"TemporaryFile(/tmp/multipartBody7259065197792527781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827282662,"filename":"image_05112025_16_07_26_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/15/434371926e8332bf498c3764a67c7e8a.jpg","text":"TemporaryFile(/tmp/multipartBody5047260633812794456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827282662,"filename":"image_05112025_16_07_20_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/15/f1a22254c63e23adadcbab3e6152e347.jpg","text":"TemporaryFile(/tmp/multipartBody7656443120442588655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827282662,"filename":"image_05112025_16_07_25_1607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/47eb4551cbf52545086e9e360c9eaa95.jpg","text":"TemporaryFile(/tmp/multipartBody8007073406435636544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827282662,"filename":"image_05112025_16_07_23_1774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545864","file1":"1399545863","file0":"1399545862","file4":"1399545868","file5":"1399545874","file3":"1399545865"},"map_files_photo_id_array":[{"photo_id":"1399545874","filename":"file5"},{"photo_id":"1399545864","filename":"file2"},{"photo_id":"1399545868","filename":"file4"},{"photo_id":"1399545863","filename":"file1"},{"photo_id":"1399545862","filename":"file0"},{"photo_id":"1399545865","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399545863":["hashtag1","hashtag2"]},{"1399545874":["hashtag1","hashtag2"]},{"1399545868":["hashtag1","hashtag2"]},{"1399545862":["hashtag1","hashtag2"]},{"1399545865":["hashtag1","hashtag2"]},{"1399545864":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399545863, 1399545874, 1399545868, 1399545862, 1399545865, 1399545864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92910623550415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 20:34:22.346721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/26/image_15122025_20_26_34_9739.jpg', '/home/pi/Desktop/images/15122025/20/26/image_15122025_20_27_04_9675.jpg', '/home/pi/Desktop/images/15122025/20/27/image_15122025_20_27_44_9742.jpg', '/home/pi/Desktop/images/15122025/20/27/image_15122025_20_28_04_10698.jpg', '/home/pi/Desktop/images/15122025/20/28/image_15122025_20_28_34_10580.jpg', '/home/pi/Desktop/images/15122025/20/28/image_15122025_20_28_44_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/26/image_15122025_20_26_34_9739.jpg
/home/pi/Desktop/images/15122025/20/26/image_15122025_20_27_04_9675.jpg
/home/pi/Desktop/images/15122025/20/27/image_15122025_20_27_44_9742.jpg
/home/pi/Desktop/images/15122025/20/27/image_15122025_20_28_04_10698.jpg
/home/pi/Desktop/images/15122025/20/28/image_15122025_20_28_34_10580.jpg
/home/pi/Desktop/images/15122025/20/28/image_15122025_20_28_44_9703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399545929","1399546042","1399545889","1399546053","1399545972","1399546011"],"photo_ids_order":["1399545889","1399545929","1399545972","1399546011","1399546042","1399546053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d725665f412235e475eb876ae470c9c1.jpg","text":"TemporaryFile(/tmp/multipartBody6882212252945891209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827323008,"filename":"image_15122025_20_27_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/15/cbf951a379bd7718a77863ab8eb1b9cd.jpg","text":"TemporaryFile(/tmp/multipartBody2339977017110002432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827323008,"filename":"image_15122025_20_28_34_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/15/20b8548261f236610f175ba745a3d14e.jpg","text":"TemporaryFile(/tmp/multipartBody2430982774038955788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827323008,"filename":"image_15122025_20_26_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/15/d860cc608ae93e4c9f3136f96c7509a5.jpg","text":"TemporaryFile(/tmp/multipartBody851749927872677779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827323008,"filename":"image_15122025_20_28_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/15/5e9c293a6491bebb442cb4b459fdcb65.jpg","text":"TemporaryFile(/tmp/multipartBody2129824678864595343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827323008,"filename":"image_15122025_20_27_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/15/3c20eb5d24f8c877dea2269080a7c917.jpg","text":"TemporaryFile(/tmp/multipartBody9118884948330565816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827323008,"filename":"image_15122025_20_28_04_10698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399545972","file1":"1399545929","file0":"1399545889","file4":"1399546042","file5":"1399546053","file3":"1399546011"},"map_files_photo_id_array":[{"photo_id":"1399546053","filename":"file5"},{"photo_id":"1399545972","filename":"file2"},{"photo_id":"1399546042","filename":"file4"},{"photo_id":"1399545929","filename":"file1"},{"photo_id":"1399545889","filename":"file0"},{"photo_id":"1399546011","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399545929":["hashtag1","hashtag2"]},{"1399546042":["hashtag1","hashtag2"]},{"1399545889":["hashtag1","hashtag2"]},{"1399546053":["hashtag1","hashtag2"]},{"1399545972":["hashtag1","hashtag2"]},{"1399546011":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399545929, 1399546042, 1399545889, 1399546053, 1399545972, 1399546011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31942582130432 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 20:35:03.066317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/28/image_15122025_20_28_53_9677.jpg', '/home/pi/Desktop/images/15122025/20/29/image_15122025_20_29_24_9876.jpg', '/home/pi/Desktop/images/15122025/20/29/image_15122025_20_29_34_10538.jpg', '/home/pi/Desktop/images/15122025/20/29/image_15122025_20_29_44_9911.jpg', '/home/pi/Desktop/images/15122025/20/29/image_15122025_20_29_54_9728.jpg', '/home/pi/Desktop/images/15122025/20/30/image_15122025_20_30_14_10695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/28/image_15122025_20_28_53_9677.jpg
/home/pi/Desktop/images/15122025/20/29/image_15122025_20_29_24_9876.jpg
/home/pi/Desktop/images/15122025/20/29/image_15122025_20_29_34_10538.jpg
/home/pi/Desktop/images/15122025/20/29/image_15122025_20_29_44_9911.jpg
/home/pi/Desktop/images/15122025/20/29/image_15122025_20_29_54_9728.jpg
/home/pi/Desktop/images/15122025/20/30/image_15122025_20_30_14_10695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399546103","1399546153","1399546132","1399546155","1399546158","1399546119"],"photo_ids_order":["1399546103","1399546119","1399546132","1399546153","1399546155","1399546158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/de01605abed628601bf0b68e612457fb.jpg","text":"TemporaryFile(/tmp/multipartBody2363619160313519572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827363821,"filename":"image_15122025_20_28_53_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ddb5f3a7c332078dc92faecfa2ae9452.jpg","text":"TemporaryFile(/tmp/multipartBody1023555027403203311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827363821,"filename":"image_15122025_20_29_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/15/31af6fc3bb1a6f420730c5f2731b214f.jpg","text":"TemporaryFile(/tmp/multipartBody7402476225912613919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827363821,"filename":"image_15122025_20_29_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/15/bb57326d8f08ace2d7f756300ec44b61.jpg","text":"TemporaryFile(/tmp/multipartBody4015197939962194494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827363821,"filename":"image_15122025_20_29_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/15/d808c1ada4bc05a3a8558344c716c8d5.jpg","text":"TemporaryFile(/tmp/multipartBody1609639985844903319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827363821,"filename":"image_15122025_20_30_14_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/15/9e802931afcdfaf9bfb142d07f01b585.jpg","text":"TemporaryFile(/tmp/multipartBody9056541665317695955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827363821,"filename":"image_15122025_20_29_24_9876.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399546132","file1":"1399546119","file0":"1399546103","file4":"1399546155","file5":"1399546158","file3":"1399546153"},"map_files_photo_id_array":[{"photo_id":"1399546158","filename":"file5"},{"photo_id":"1399546132","filename":"file2"},{"photo_id":"1399546155","filename":"file4"},{"photo_id":"1399546119","filename":"file1"},{"photo_id":"1399546103","filename":"file0"},{"photo_id":"1399546153","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399546103":["hashtag1","hashtag2"]},{"1399546153":["hashtag1","hashtag2"]},{"1399546132":["hashtag1","hashtag2"]},{"1399546155":["hashtag1","hashtag2"]},{"1399546158":["hashtag1","hashtag2"]},{"1399546119":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399546103, 1399546153, 1399546132, 1399546155, 1399546158, 1399546119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52225041389465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 20:35:42.463663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_30_1621.jpg', '/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_31_1714.jpg', '/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_34_2751.jpg', '/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_37_2738.jpg', '/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_40_3698.jpg', '/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_43_2859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_30_1621.jpg
/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_31_1714.jpg
/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_34_2751.jpg
/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_37_2738.jpg
/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_40_3698.jpg
/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_43_2859.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399546169","1399546162","1399546165","1399546168","1399546167","1399546166"],"photo_ids_order":["1399546162","1399546165","1399546166","1399546167","1399546168","1399546169"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/64a0713e1bb3b30cfd9b314efc54089b.jpg","text":"TemporaryFile(/tmp/multipartBody6829499642660282671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827403167,"filename":"image_05112025_16_07_43_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/15/4dbc79b2c01a9b6e5ba46078bb422739.jpg","text":"TemporaryFile(/tmp/multipartBody7657418638077262561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827403167,"filename":"image_05112025_16_07_30_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/15/3dfec99c4cf138e87ddcdc8357adf62c.jpg","text":"TemporaryFile(/tmp/multipartBody977853683232348355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827403167,"filename":"image_05112025_16_07_31_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/15/4007153210c4880f4c10c936403abbd8.jpg","text":"TemporaryFile(/tmp/multipartBody5686867212208480770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827403167,"filename":"image_05112025_16_07_40_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/15/a9d026df6138d77625d6519c3a5d9ef2.jpg","text":"TemporaryFile(/tmp/multipartBody6771247960668494648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827403167,"filename":"image_05112025_16_07_37_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0edf9c099c9fe16a5093ada3887e3bdf.jpg","text":"TemporaryFile(/tmp/multipartBody5353243129500229479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827403167,"filename":"image_05112025_16_07_34_2751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399546166","file1":"1399546165","file0":"1399546162","file4":"1399546168","file5":"1399546169","file3":"1399546167"},"map_files_photo_id_array":[{"photo_id":"1399546169","filename":"file5"},{"photo_id":"1399546166","filename":"file2"},{"photo_id":"1399546168","filename":"file4"},{"photo_id":"1399546165","filename":"file1"},{"photo_id":"1399546162","filename":"file0"},{"photo_id":"1399546167","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399546169":["hashtag1","hashtag2"]},{"1399546162":["hashtag1","hashtag2"]},{"1399546165":["hashtag1","hashtag2"]},{"1399546168":["hashtag1","hashtag2"]},{"1399546167":["hashtag1","hashtag2"]},{"1399546166":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399546169, 1399546162, 1399546165, 1399546168, 1399546167, 1399546166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16412806510925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 20:36:22.780833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/30/image_15122025_20_30_24_9919.jpg', '/home/pi/Desktop/images/15122025/20/30/image_15122025_20_30_34_9764.jpg', '/home/pi/Desktop/images/15122025/20/30/image_15122025_20_30_44_9658.jpg', '/home/pi/Desktop/images/15122025/20/30/image_15122025_20_31_04_10787.jpg', '/home/pi/Desktop/images/15122025/20/31/image_15122025_20_31_14_9590.jpg', '/home/pi/Desktop/images/15122025/20/31/image_15122025_20_31_23_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/30/image_15122025_20_30_24_9919.jpg
/home/pi/Desktop/images/15122025/20/30/image_15122025_20_30_34_9764.jpg
/home/pi/Desktop/images/15122025/20/30/image_15122025_20_30_44_9658.jpg
/home/pi/Desktop/images/15122025/20/30/image_15122025_20_31_04_10787.jpg
/home/pi/Desktop/images/15122025/20/31/image_15122025_20_31_14_9590.jpg
/home/pi/Desktop/images/15122025/20/31/image_15122025_20_31_23_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":["1399546175","1399546178","1399546180","1399546188","1399546182","1399546185"],"photo_ids_order":["1399546175","1399546178","1399546180","1399546182","1399546185","1399546188"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dae3fb346f032a53736959c4575f4a12.jpg","text":"TemporaryFile(/tmp/multipartBody1143299907356125000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827443471,"filename":"image_15122025_20_30_24_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/15/3caace8aa337070e0fa0be1faa11150f.jpg","text":"TemporaryFile(/tmp/multipartBody7684411851753118277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827443471,"filename":"image_15122025_20_30_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/15/83a867a737efb0dc02312b371ef34dc0.jpg","text":"TemporaryFile(/tmp/multipartBody5517231993301599415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827443471,"filename":"image_15122025_20_30_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/15/8272188602d9dc6072f770a26b70b831.jpg","text":"TemporaryFile(/tmp/multipartBody5485118539850956919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827443471,"filename":"image_15122025_20_31_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/15/3dc9d070a44c3140817cb90208241760.jpg","text":"TemporaryFile(/tmp/multipartBody694559937560807391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827443471,"filename":"image_15122025_20_31_04_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/15/86100eef07f5b96a48f8994536e3bab7.jpg","text":"TemporaryFile(/tmp/multipartBody8598078074732800866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827443471,"filename":"image_15122025_20_31_14_9590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399546180","file1":"1399546178","file0":"1399546175","file4":"1399546185","file5":"1399546188","file3":"1399546182"},"map_files_photo_id_array":[{"photo_id":"1399546188","filename":"file5"},{"photo_id":"1399546180","filename":"file2"},{"photo_id":"1399546185","filename":"file4"},{"photo_id":"1399546178","filename":"file1"},{"photo_id":"1399546175","filename":"file0"},{"photo_id":"1399546182","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399546175":["hashtag1","hashtag2"]},{"1399546178":["hashtag1","hashtag2"]},{"1399546180":["hashtag1","hashtag2"]},{"1399546188":["hashtag1","hashtag2"]},{"1399546182":["hashtag1","hashtag2"]},{"1399546185":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399546175, 1399546178, 1399546180, 1399546188, 1399546182, 1399546185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.74323010444641 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-15 20:37:11.956126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 20:37:21.993545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/31/image_15122025_20_31_34_10740.jpg', '/home/pi/Desktop/images/15122025/20/31/image_15122025_20_31_44_9546.jpg', '/home/pi/Desktop/images/15122025/20/31/image_15122025_20_32_04_10779.jpg', '/home/pi/Desktop/images/15122025/20/32/image_15122025_20_32_14_9611.jpg', '/home/pi/Desktop/images/15122025/20/32/image_15122025_20_32_23_9675.jpg', '/home/pi/Desktop/images/15122025/20/32/image_15122025_20_32_34_10735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/31/image_15122025_20_31_34_10740.jpg
/home/pi/Desktop/images/15122025/20/31/image_15122025_20_31_44_9546.jpg
/home/pi/Desktop/images/15122025/20/31/image_15122025_20_32_04_10779.jpg
/home/pi/Desktop/images/15122025/20/32/image_15122025_20_32_14_9611.jpg
/home/pi/Desktop/images/15122025/20/32/image_15122025_20_32_23_9675.jpg
/home/pi/Desktop/images/15122025/20/32/image_15122025_20_32_34_10735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399546196","1399546202","1399546205","1399546198","1399546200","1399546193"],"photo_ids_order":["1399546193","1399546196","1399546198","1399546200","1399546202","1399546205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f5752915f8121ad4cf52b08ca2177922.jpg","text":"TemporaryFile(/tmp/multipartBody8128707117398217532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827502690,"filename":"image_15122025_20_31_44_9546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/70a4760223a0be7073e50326fad5aec6.jpg","text":"TemporaryFile(/tmp/multipartBody2458475943302770171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827502690,"filename":"image_15122025_20_32_23_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/15/a86810ed18ae0fa25f0474b477284b4f.jpg","text":"TemporaryFile(/tmp/multipartBody1333372704858045011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827502690,"filename":"image_15122025_20_32_34_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/15/eba040c57564e172133774adabf2534f.jpg","text":"TemporaryFile(/tmp/multipartBody3475478113334670713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827502690,"filename":"image_15122025_20_32_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/15/e615a211324a97b566d15ce58a39c288.jpg","text":"TemporaryFile(/tmp/multipartBody7065047986746279134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827502690,"filename":"image_15122025_20_32_14_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4bf5627580274b4c9ae29785dfa9cb6e.jpg","text":"TemporaryFile(/tmp/multipartBody6916481837187050768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827502690,"filename":"image_15122025_20_31_34_10740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399546198","file1":"1399546196","file0":"1399546193","file4":"1399546202","file5":"1399546205","file3":"1399546200"},"map_files_photo_id_array":[{"photo_id":"1399546205","filename":"file5"},{"photo_id":"1399546198","filename":"file2"},{"photo_id":"1399546202","filename":"file4"},{"photo_id":"1399546196","filename":"file1"},{"photo_id":"1399546193","filename":"file0"},{"photo_id":"1399546200","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399546196":["hashtag1","hashtag2"]},{"1399546202":["hashtag1","hashtag2"]},{"1399546205":["hashtag1","hashtag2"]},{"1399546198":["hashtag1","hashtag2"]},{"1399546200":["hashtag1","hashtag2"]},{"1399546193":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399546196, 1399546202, 1399546205, 1399546198, 1399546200, 1399546193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.912699699401855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 20:38:02.700162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/32/image_15122025_20_32_44_9751.jpg', '/home/pi/Desktop/images/15122025/20/32/image_15122025_20_32_53_9719.jpg', '/home/pi/Desktop/images/15122025/20/32/image_15122025_20_33_03_9850.jpg', '/home/pi/Desktop/images/15122025/20/33/image_15122025_20_33_14_10666.jpg', '/home/pi/Desktop/images/15122025/20/33/image_15122025_20_33_24_9621.jpg', '/home/pi/Desktop/images/15122025/20/33/image_15122025_20_33_33_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/32/image_15122025_20_32_44_9751.jpg
/home/pi/Desktop/images/15122025/20/32/image_15122025_20_32_53_9719.jpg
/home/pi/Desktop/images/15122025/20/32/image_15122025_20_33_03_9850.jpg
/home/pi/Desktop/images/15122025/20/33/image_15122025_20_33_14_10666.jpg
/home/pi/Desktop/images/15122025/20/33/image_15122025_20_33_24_9621.jpg
/home/pi/Desktop/images/15122025/20/33/image_15122025_20_33_33_9762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399546223","1399546217","1399546225","1399546219","1399546227","1399546221"],"photo_ids_order":["1399546217","1399546219","1399546221","1399546223","1399546225","1399546227"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1e01896815aa0136eec70e0a7a8557b3.jpg","text":"TemporaryFile(/tmp/multipartBody6445866184057296879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827543431,"filename":"image_15122025_20_33_14_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/eb9c5cb88c5a579de665a58de878d108.jpg","text":"TemporaryFile(/tmp/multipartBody3660443622908482569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827543431,"filename":"image_15122025_20_32_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/15/529f8d99b82b801d6053d358b96bea56.jpg","text":"TemporaryFile(/tmp/multipartBody4173357731533628284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827543431,"filename":"image_15122025_20_33_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/15/b6bbb227b9ca7fc27b80b4e02389d8b7.jpg","text":"TemporaryFile(/tmp/multipartBody6775664385960847765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827543431,"filename":"image_15122025_20_32_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/15/ddb9318448970872e191687ee0f86fe6.jpg","text":"TemporaryFile(/tmp/multipartBody433906662485777330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827543431,"filename":"image_15122025_20_33_33_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/15/1a8d910f38272b3f07b29f0d0521c0ba.jpg","text":"TemporaryFile(/tmp/multipartBody8627336909874393711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827543431,"filename":"image_15122025_20_33_03_9850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399546221","file1":"1399546219","file0":"1399546217","file4":"1399546225","file5":"1399546227","file3":"1399546223"},"map_files_photo_id_array":[{"photo_id":"1399546227","filename":"file5"},{"photo_id":"1399546221","filename":"file2"},{"photo_id":"1399546225","filename":"file4"},{"photo_id":"1399546219","filename":"file1"},{"photo_id":"1399546217","filename":"file0"},{"photo_id":"1399546223","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399546223":["hashtag1","hashtag2"]},{"1399546217":["hashtag1","hashtag2"]},{"1399546225":["hashtag1","hashtag2"]},{"1399546219":["hashtag1","hashtag2"]},{"1399546227":["hashtag1","hashtag2"]},{"1399546221":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399546223, 1399546217, 1399546225, 1399546219, 1399546227, 1399546221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09518814086914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 20:38:42.210387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_46_2687.jpg', '/home/pi/Desktop/images/05112025/16/08/image_05112025_16_08_17_30917.jpg', '/home/pi/Desktop/images/05112025/16/08/image_05112025_16_08_52_35132.jpg', '/home/pi/Desktop/images/05112025/16/08/image_05112025_16_08_54_1613.jpg', '/home/pi/Desktop/images/05112025/16/08/image_05112025_16_08_55_1615.jpg', '/home/pi/Desktop/images/05112025/16/08/image_05112025_16_08_57_1668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/07/image_05112025_16_07_46_2687.jpg
/home/pi/Desktop/images/05112025/16/08/image_05112025_16_08_17_30917.jpg
/home/pi/Desktop/images/05112025/16/08/image_05112025_16_08_52_35132.jpg
/home/pi/Desktop/images/05112025/16/08/image_05112025_16_08_54_1613.jpg
/home/pi/Desktop/images/05112025/16/08/image_05112025_16_08_55_1615.jpg
/home/pi/Desktop/images/05112025/16/08/image_05112025_16_08_57_1668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399546280","1399546304","1399546307","1399546273","1399546293","1399546278"],"photo_ids_order":["1399546273","1399546278","1399546280","1399546293","1399546304","1399546307"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/07ce9fc378ea81e4a499fbfced4275c3.jpg","text":"TemporaryFile(/tmp/multipartBody6969085947167349157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827582938,"filename":"image_05112025_16_08_52_35132.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c4bd7f1799f3af07da7d1968462d75db.jpg","text":"TemporaryFile(/tmp/multipartBody5793902006462149851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827582938,"filename":"image_05112025_16_08_55_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/15/e3038fc46a7112609e14182c1402832f.jpg","text":"TemporaryFile(/tmp/multipartBody6600299615044236419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827582938,"filename":"image_05112025_16_08_57_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/15/7581c508e8efde2b40a240a497a3677e.jpg","text":"TemporaryFile(/tmp/multipartBody8084968222711771086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827582938,"filename":"image_05112025_16_07_46_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/15/c08b65da24f53d037edee1c72b663a2b.jpg","text":"TemporaryFile(/tmp/multipartBody5095295269393655185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827582938,"filename":"image_05112025_16_08_54_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/15/a39a9e3e878f0ac0d8b77183644d982c.jpg","text":"TemporaryFile(/tmp/multipartBody3117136887848152334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827582938,"filename":"image_05112025_16_08_17_30917.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399546280","file1":"1399546278","file0":"1399546273","file4":"1399546304","file5":"1399546307","file3":"1399546293"},"map_files_photo_id_array":[{"photo_id":"1399546307","filename":"file5"},{"photo_id":"1399546280","filename":"file2"},{"photo_id":"1399546304","filename":"file4"},{"photo_id":"1399546278","filename":"file1"},{"photo_id":"1399546273","filename":"file0"},{"photo_id":"1399546293","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399546280":["hashtag1","hashtag2"]},{"1399546304":["hashtag1","hashtag2"]},{"1399546307":["hashtag1","hashtag2"]},{"1399546273":["hashtag1","hashtag2"]},{"1399546293":["hashtag1","hashtag2"]},{"1399546278":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399546280, 1399546304, 1399546307, 1399546273, 1399546293, 1399546278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.826080083847046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 20:39:22.427868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/33/image_15122025_20_33_54_10661.jpg', '/home/pi/Desktop/images/15122025/20/33/image_15122025_20_34_04_9660.jpg', '/home/pi/Desktop/images/15122025/20/34/image_15122025_20_34_14_10564.jpg', '/home/pi/Desktop/images/15122025/20/34/image_15122025_20_34_24_9797.jpg', '/home/pi/Desktop/images/15122025/20/34/image_15122025_20_34_34_9556.jpg', '/home/pi/Desktop/images/15122025/20/34/image_15122025_20_34_44_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/33/image_15122025_20_33_54_10661.jpg
/home/pi/Desktop/images/15122025/20/33/image_15122025_20_34_04_9660.jpg
/home/pi/Desktop/images/15122025/20/34/image_15122025_20_34_14_10564.jpg
/home/pi/Desktop/images/15122025/20/34/image_15122025_20_34_24_9797.jpg
/home/pi/Desktop/images/15122025/20/34/image_15122025_20_34_34_9556.jpg
/home/pi/Desktop/images/15122025/20/34/image_15122025_20_34_44_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.5507526397705078 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 20:39:32.465722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 20:39:42.392847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/08/image_05112025_16_08_59_1703.jpg', '/home/pi/Desktop/images/05112025/16/08/image_05112025_16_09_00_1680.jpg', '/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_02_1611.jpg', '/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_04_1721.jpg', '/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_05_1788.jpg', '/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_07_1829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/08/image_05112025_16_08_59_1703.jpg
/home/pi/Desktop/images/05112025/16/08/image_05112025_16_09_00_1680.jpg
/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_02_1611.jpg
/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_04_1721.jpg
/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_05_1788.jpg
/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_07_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":["1399546373","1399546375","1399546372","1399546371","1399546374","1399546376"],"photo_ids_order":["1399546371","1399546372","1399546373","1399546374","1399546375","1399546376"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/78b0bc80c98a1ecc72f815f4c6860f23.jpg","text":"TemporaryFile(/tmp/multipartBody3071501562245032712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827643107,"filename":"image_05112025_16_09_02_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/15/37eefa58302a1a76c328c3b7354cea29.jpg","text":"TemporaryFile(/tmp/multipartBody2694348141540322756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827643107,"filename":"image_05112025_16_09_05_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/15/022cd8b44788263b649dd2eb41cee991.jpg","text":"TemporaryFile(/tmp/multipartBody3521442012437790821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827643107,"filename":"image_05112025_16_09_00_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/15/7300bf837d3b01fc12b27cccdc19b71a.jpg","text":"TemporaryFile(/tmp/multipartBody2203111592750541263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827643107,"filename":"image_05112025_16_08_59_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/15/5e25083699fae49d3625b3ad1c856168.jpg","text":"TemporaryFile(/tmp/multipartBody3899071905714315854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827643107,"filename":"image_05112025_16_09_04_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/15/a4c54fee7b49eae8237d087e3830aae6.jpg","text":"TemporaryFile(/tmp/multipartBody5013066812805060765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827643107,"filename":"image_05112025_16_09_07_1829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399546373","file1":"1399546372","file0":"1399546371","file4":"1399546375","file5":"1399546376","file3":"1399546374"},"map_files_photo_id_array":[{"photo_id":"1399546376","filename":"file5"},{"photo_id":"1399546373","filename":"file2"},{"photo_id":"1399546375","filename":"file4"},{"photo_id":"1399546372","filename":"file1"},{"photo_id":"1399546371","filename":"file0"},{"photo_id":"1399546374","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399546373":["hashtag1","hashtag2"]},{"1399546375":["hashtag1","hashtag2"]},{"1399546372":["hashtag1","hashtag2"]},{"1399546371":["hashtag1","hashtag2"]},{"1399546374":["hashtag1","hashtag2"]},{"1399546376":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399546373, 1399546375, 1399546372, 1399546371, 1399546374, 1399546376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6234393119812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 20:40:22.732774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/33/image_15122025_20_33_54_10661.jpg', '/home/pi/Desktop/images/15122025/20/33/image_15122025_20_34_04_9660.jpg', '/home/pi/Desktop/images/15122025/20/34/image_15122025_20_34_14_10564.jpg', '/home/pi/Desktop/images/15122025/20/34/image_15122025_20_34_24_9797.jpg', '/home/pi/Desktop/images/15122025/20/34/image_15122025_20_34_34_9556.jpg', '/home/pi/Desktop/images/15122025/20/34/image_15122025_20_34_44_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/33/image_15122025_20_33_54_10661.jpg
/home/pi/Desktop/images/15122025/20/33/image_15122025_20_34_04_9660.jpg
/home/pi/Desktop/images/15122025/20/34/image_15122025_20_34_14_10564.jpg
/home/pi/Desktop/images/15122025/20/34/image_15122025_20_34_24_9797.jpg
/home/pi/Desktop/images/15122025/20/34/image_15122025_20_34_34_9556.jpg
/home/pi/Desktop/images/15122025/20/34/image_15122025_20_34_44_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.5446035861968994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 20:40:32.696785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 20:40:42.643613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_09_1638.jpg', '/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_11_1558.jpg', '/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_12_1570.jpg', '/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_14_1630.jpg', '/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_15_1737.jpg', '/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_17_1647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_09_1638.jpg
/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_11_1558.jpg
/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_12_1570.jpg
/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_14_1630.jpg
/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_15_1737.jpg
/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_17_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":["1399546565","1399546532","1399546495","1399546572","1399546566","1399546455"],"photo_ids_order":["1399546455","1399546495","1399546532","1399546565","1399546566","1399546572"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/05d6375ab1c7f09ea514dce0073f0205.jpg","text":"TemporaryFile(/tmp/multipartBody7628209605122175494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827703401,"filename":"image_05112025_16_09_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/15/cca76384eadf39ba8d36f7726b57b291.jpg","text":"TemporaryFile(/tmp/multipartBody8971427988162569192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827703401,"filename":"image_05112025_16_09_12_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/15/5b92ceccb6528ef6ef34fdbd66b58a0c.jpg","text":"TemporaryFile(/tmp/multipartBody5374605829407039862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827703401,"filename":"image_05112025_16_09_11_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/15/a6ec67d1093a271b1bdca099265573e1.jpg","text":"TemporaryFile(/tmp/multipartBody2289080177081550429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827703401,"filename":"image_05112025_16_09_17_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/15/65f1c60683d2760343fc1f0d9de63e71.jpg","text":"TemporaryFile(/tmp/multipartBody880970251560605225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827703401,"filename":"image_05112025_16_09_15_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/15/6e2097b45e21c459c03a1e9d99ad7b22.jpg","text":"TemporaryFile(/tmp/multipartBody919574205861534219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827703401,"filename":"image_05112025_16_09_09_1638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399546532","file1":"1399546495","file0":"1399546455","file4":"1399546566","file5":"1399546572","file3":"1399546565"},"map_files_photo_id_array":[{"photo_id":"1399546572","filename":"file5"},{"photo_id":"1399546532","filename":"file2"},{"photo_id":"1399546566","filename":"file4"},{"photo_id":"1399546495","filename":"file1"},{"photo_id":"1399546455","filename":"file0"},{"photo_id":"1399546565","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399546565":["hashtag1","hashtag2"]},{"1399546532":["hashtag1","hashtag2"]},{"1399546495":["hashtag1","hashtag2"]},{"1399546572":["hashtag1","hashtag2"]},{"1399546566":["hashtag1","hashtag2"]},{"1399546455":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399546565, 1399546532, 1399546495, 1399546572, 1399546566, 1399546455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32451772689819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 20:41:21.850562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/33/image_15122025_20_33_54_10661.jpg', '/home/pi/Desktop/images/15122025/20/33/image_15122025_20_34_04_9660.jpg', '/home/pi/Desktop/images/15122025/20/34/image_15122025_20_34_14_10564.jpg', '/home/pi/Desktop/images/15122025/20/34/image_15122025_20_34_24_9797.jpg', '/home/pi/Desktop/images/15122025/20/34/image_15122025_20_34_34_9556.jpg', '/home/pi/Desktop/images/15122025/20/34/image_15122025_20_34_44_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/33/image_15122025_20_33_54_10661.jpg
/home/pi/Desktop/images/15122025/20/33/image_15122025_20_34_04_9660.jpg
/home/pi/Desktop/images/15122025/20/34/image_15122025_20_34_14_10564.jpg
/home/pi/Desktop/images/15122025/20/34/image_15122025_20_34_24_9797.jpg
/home/pi/Desktop/images/15122025/20/34/image_15122025_20_34_34_9556.jpg
/home/pi/Desktop/images/15122025/20/34/image_15122025_20_34_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":["1399546579","1399546666","1399546663","1399546653","1399546617","1399546661"],"photo_ids_order":["1399546579","1399546617","1399546653","1399546661","1399546663","1399546666"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c140dced01cfd0cd5d97f365e8c346ed.jpg","text":"TemporaryFile(/tmp/multipartBody2546300220123387657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827742498,"filename":"image_15122025_20_33_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/15/cc09d5697ec0b85b17f7978a94b47b94.jpg","text":"TemporaryFile(/tmp/multipartBody3178770864597189030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827742498,"filename":"image_15122025_20_34_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/15/fbdc7fbddbbe8d579af255d537291403.jpg","text":"TemporaryFile(/tmp/multipartBody5242380302707207961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827742498,"filename":"image_15122025_20_34_34_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2617428af88d93cbbf8d2d9e9b9daefe.jpg","text":"TemporaryFile(/tmp/multipartBody2744366933895187518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827742498,"filename":"image_15122025_20_34_14_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/15/e624919afe094cbb26e735ec86902d3a.jpg","text":"TemporaryFile(/tmp/multipartBody3252175118558150961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827742498,"filename":"image_15122025_20_34_04_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a6edd13d0bad34f07a1d8fc14c53ce83.jpg","text":"TemporaryFile(/tmp/multipartBody4591858717717363007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827742498,"filename":"image_15122025_20_34_24_9797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399546653","file1":"1399546617","file0":"1399546579","file4":"1399546663","file5":"1399546666","file3":"1399546661"},"map_files_photo_id_array":[{"photo_id":"1399546666","filename":"file5"},{"photo_id":"1399546653","filename":"file2"},{"photo_id":"1399546663","filename":"file4"},{"photo_id":"1399546617","filename":"file1"},{"photo_id":"1399546579","filename":"file0"},{"photo_id":"1399546661","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399546579":["hashtag1","hashtag2"]},{"1399546666":["hashtag1","hashtag2"]},{"1399546663":["hashtag1","hashtag2"]},{"1399546653":["hashtag1","hashtag2"]},{"1399546617":["hashtag1","hashtag2"]},{"1399546661":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399546579, 1399546666, 1399546663, 1399546653, 1399546617, 1399546661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.439157009124756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 20:42:02.498121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/34/image_15122025_20_34_54_9869.jpg', '/home/pi/Desktop/images/15122025/20/34/image_15122025_20_35_04_9838.jpg', '/home/pi/Desktop/images/15122025/20/35/image_15122025_20_35_14_9832.jpg', '/home/pi/Desktop/images/15122025/20/35/image_15122025_20_35_34_10623.jpg', '/home/pi/Desktop/images/15122025/20/35/image_15122025_20_35_44_9688.jpg', '/home/pi/Desktop/images/15122025/20/36/image_15122025_20_36_13_9552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/34/image_15122025_20_34_54_9869.jpg
/home/pi/Desktop/images/15122025/20/34/image_15122025_20_35_04_9838.jpg
/home/pi/Desktop/images/15122025/20/35/image_15122025_20_35_14_9832.jpg
/home/pi/Desktop/images/15122025/20/35/image_15122025_20_35_34_10623.jpg
/home/pi/Desktop/images/15122025/20/35/image_15122025_20_35_44_9688.jpg
/home/pi/Desktop/images/15122025/20/36/image_15122025_20_36_13_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":["1399546670","1399546672","1399546669","1399546671","1399546668","1399546673"],"photo_ids_order":["1399546668","1399546669","1399546670","1399546671","1399546672","1399546673"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f06f0a0f43ed3f536359f1b8ab1eea3c.jpg","text":"TemporaryFile(/tmp/multipartBody8870592980141960800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827783141,"filename":"image_15122025_20_35_14_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3dc5cc605653c5bc6de8be6a339fbb66.jpg","text":"TemporaryFile(/tmp/multipartBody7095901617152095680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827783141,"filename":"image_15122025_20_35_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/15/e9303065c4c59a997af1b9618419dfab.jpg","text":"TemporaryFile(/tmp/multipartBody160184968079302159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827783141,"filename":"image_15122025_20_35_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/15/d9bae9cdd539a9a78edd5599e326b126.jpg","text":"TemporaryFile(/tmp/multipartBody2910018347705516265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827783141,"filename":"image_15122025_20_35_34_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/15/5d27e8a12568f5da503ec4aa7eb1e25e.jpg","text":"TemporaryFile(/tmp/multipartBody7587955852433278251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827783141,"filename":"image_15122025_20_34_54_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/15/040114d748d5d8ba763e56d56ba13a35.jpg","text":"TemporaryFile(/tmp/multipartBody6343136664745395165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827783141,"filename":"image_15122025_20_36_13_9552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399546670","file1":"1399546669","file0":"1399546668","file4":"1399546672","file5":"1399546673","file3":"1399546671"},"map_files_photo_id_array":[{"photo_id":"1399546673","filename":"file5"},{"photo_id":"1399546670","filename":"file2"},{"photo_id":"1399546672","filename":"file4"},{"photo_id":"1399546669","filename":"file1"},{"photo_id":"1399546668","filename":"file0"},{"photo_id":"1399546671","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399546670":["hashtag1","hashtag2"]},{"1399546672":["hashtag1","hashtag2"]},{"1399546669":["hashtag1","hashtag2"]},{"1399546671":["hashtag1","hashtag2"]},{"1399546668":["hashtag1","hashtag2"]},{"1399546673":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399546670, 1399546672, 1399546669, 1399546671, 1399546668, 1399546673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21015954017639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 20:42:42.126379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_19_1530.jpg', '/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_23_4445.jpg', '/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_25_1642.jpg', '/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_26_1632.jpg', '/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_28_1544.jpg', '/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_30_1785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_19_1530.jpg
/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_23_4445.jpg
/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_25_1642.jpg
/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_26_1632.jpg
/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_28_1544.jpg
/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_30_1785.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399546723","1399546702","1399546711","1399546713","1399546707","1399546722"],"photo_ids_order":["1399546702","1399546707","1399546711","1399546713","1399546722","1399546723"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a0df02f06585647871a61e89840282cb.jpg","text":"TemporaryFile(/tmp/multipartBody9158323114418832789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827822830,"filename":"image_05112025_16_09_30_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/15/92012c9d650842a53c92eb44be74ea82.jpg","text":"TemporaryFile(/tmp/multipartBody3561234837273722077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827822830,"filename":"image_05112025_16_09_19_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/15/4815756be580e5e92f3dbd7e29e5c29c.jpg","text":"TemporaryFile(/tmp/multipartBody6129086825757701740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827822830,"filename":"image_05112025_16_09_25_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/063da647abe26c7830e9348e9dafcbb8.jpg","text":"TemporaryFile(/tmp/multipartBody3383389203583523649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827822830,"filename":"image_05112025_16_09_26_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/15/cacbce6bd4414966f482db216ed3b4c6.jpg","text":"TemporaryFile(/tmp/multipartBody5539136341000264994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827822830,"filename":"image_05112025_16_09_23_4445.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7b5b6000bad4369e9b1a57a466057a15.jpg","text":"TemporaryFile(/tmp/multipartBody4433858404980703683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827822830,"filename":"image_05112025_16_09_28_1544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399546711","file1":"1399546707","file0":"1399546702","file4":"1399546722","file5":"1399546723","file3":"1399546713"},"map_files_photo_id_array":[{"photo_id":"1399546723","filename":"file5"},{"photo_id":"1399546711","filename":"file2"},{"photo_id":"1399546722","filename":"file4"},{"photo_id":"1399546707","filename":"file1"},{"photo_id":"1399546702","filename":"file0"},{"photo_id":"1399546713","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399546723":["hashtag1","hashtag2"]},{"1399546702":["hashtag1","hashtag2"]},{"1399546711":["hashtag1","hashtag2"]},{"1399546713":["hashtag1","hashtag2"]},{"1399546707":["hashtag1","hashtag2"]},{"1399546722":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399546723, 1399546702, 1399546711, 1399546713, 1399546707, 1399546722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.281208753585815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 20:43:22.409404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/36/image_15122025_20_36_34_9625.jpg', '/home/pi/Desktop/images/15122025/20/36/image_15122025_20_36_54_10703.jpg', '/home/pi/Desktop/images/15122025/20/37/image_15122025_20_37_14_9697.jpg', '/home/pi/Desktop/images/15122025/20/37/image_15122025_20_37_44_10614.jpg', '/home/pi/Desktop/images/15122025/20/37/image_15122025_20_37_54_9699.jpg', '/home/pi/Desktop/images/15122025/20/38/image_15122025_20_38_14_10713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/36/image_15122025_20_36_34_9625.jpg
/home/pi/Desktop/images/15122025/20/36/image_15122025_20_36_54_10703.jpg
/home/pi/Desktop/images/15122025/20/37/image_15122025_20_37_14_9697.jpg
/home/pi/Desktop/images/15122025/20/37/image_15122025_20_37_44_10614.jpg
/home/pi/Desktop/images/15122025/20/37/image_15122025_20_37_54_9699.jpg
/home/pi/Desktop/images/15122025/20/38/image_15122025_20_38_14_10713.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5204949378967285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 20:43:32.317751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 20:43:42.266712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_40_10804.jpg', '/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_42_1678.jpg', '/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_44_1650.jpg', '/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_46_1698.jpg', '/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_47_1675.jpg', '/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_49_1550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_40_10804.jpg
/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_42_1678.jpg
/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_44_1650.jpg
/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_46_1698.jpg
/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_47_1675.jpg
/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_49_1550.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399546925","1399546906","1399546824","1399546908","1399546865","1399546787"],"photo_ids_order":["1399546787","1399546824","1399546865","1399546906","1399546908","1399546925"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a1ee0974ecdfa550ed8b371290d57dfc.jpg","text":"TemporaryFile(/tmp/multipartBody6241311255246045414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827883006,"filename":"image_05112025_16_09_49_1550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d59243d249cd80418b0bf41d32824a33.jpg","text":"TemporaryFile(/tmp/multipartBody8309997573587449819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827883006,"filename":"image_05112025_16_09_46_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/15/5af3e526cae6eacbffab6047a241c407.jpg","text":"TemporaryFile(/tmp/multipartBody3311322404001058489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827883006,"filename":"image_05112025_16_09_42_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/15/da4dfba7f6d515a4fd8ea14788d22b40.jpg","text":"TemporaryFile(/tmp/multipartBody7253626016053037186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827883006,"filename":"image_05112025_16_09_47_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/15/2d07689fc46d3f5853412072c7835689.jpg","text":"TemporaryFile(/tmp/multipartBody7807025639736877003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827883006,"filename":"image_05112025_16_09_44_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/15/01692dab7289535cd375ed6d90f5ced7.jpg","text":"TemporaryFile(/tmp/multipartBody5234919852548614838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827883006,"filename":"image_05112025_16_09_40_10804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399546865","file1":"1399546824","file0":"1399546787","file4":"1399546908","file5":"1399546925","file3":"1399546906"},"map_files_photo_id_array":[{"photo_id":"1399546925","filename":"file5"},{"photo_id":"1399546865","filename":"file2"},{"photo_id":"1399546908","filename":"file4"},{"photo_id":"1399546824","filename":"file1"},{"photo_id":"1399546787","filename":"file0"},{"photo_id":"1399546906","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399546925":["hashtag1","hashtag2"]},{"1399546906":["hashtag1","hashtag2"]},{"1399546824":["hashtag1","hashtag2"]},{"1399546908":["hashtag1","hashtag2"]},{"1399546865":["hashtag1","hashtag2"]},{"1399546787":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399546925, 1399546906, 1399546824, 1399546908, 1399546865, 1399546787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15910768508911 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 20:44:22.563649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/36/image_15122025_20_36_34_9625.jpg', '/home/pi/Desktop/images/15122025/20/36/image_15122025_20_36_54_10703.jpg', '/home/pi/Desktop/images/15122025/20/37/image_15122025_20_37_14_9697.jpg', '/home/pi/Desktop/images/15122025/20/37/image_15122025_20_37_44_10614.jpg', '/home/pi/Desktop/images/15122025/20/37/image_15122025_20_37_54_9699.jpg', '/home/pi/Desktop/images/15122025/20/38/image_15122025_20_38_14_10713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/36/image_15122025_20_36_34_9625.jpg
/home/pi/Desktop/images/15122025/20/36/image_15122025_20_36_54_10703.jpg
/home/pi/Desktop/images/15122025/20/37/image_15122025_20_37_14_9697.jpg
/home/pi/Desktop/images/15122025/20/37/image_15122025_20_37_44_10614.jpg
/home/pi/Desktop/images/15122025/20/37/image_15122025_20_37_54_9699.jpg
/home/pi/Desktop/images/15122025/20/38/image_15122025_20_38_14_10713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399546934","1399546928","1399546930","1399546954","1399546944","1399546932"],"photo_ids_order":["1399546928","1399546930","1399546932","1399546934","1399546944","1399546954"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1f3007d6173a902544598f48a6e15dc4.jpg","text":"TemporaryFile(/tmp/multipartBody5807809137533958091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827923189,"filename":"image_15122025_20_37_44_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/15/46a147e42ba9e803bb1ccaaad02ad5ce.jpg","text":"TemporaryFile(/tmp/multipartBody385067235659148349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827923189,"filename":"image_15122025_20_36_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/15/2383f95e8a7011a045f5ffc4712be122.jpg","text":"TemporaryFile(/tmp/multipartBody3330999867542696178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827923189,"filename":"image_15122025_20_36_54_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/15/c3c4839db1ea0652c4a2d1c926a71971.jpg","text":"TemporaryFile(/tmp/multipartBody5393049277378420364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827923189,"filename":"image_15122025_20_38_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/15/5ccbed2b11f62a1227b4076e4312f478.jpg","text":"TemporaryFile(/tmp/multipartBody8976076990432588848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827923189,"filename":"image_15122025_20_37_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/15/5328d614f9e5df60ef93ad7235381097.jpg","text":"TemporaryFile(/tmp/multipartBody7552192624933364053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827923189,"filename":"image_15122025_20_37_14_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399546932","file1":"1399546930","file0":"1399546928","file4":"1399546944","file5":"1399546954","file3":"1399546934"},"map_files_photo_id_array":[{"photo_id":"1399546954","filename":"file5"},{"photo_id":"1399546932","filename":"file2"},{"photo_id":"1399546944","filename":"file4"},{"photo_id":"1399546930","filename":"file1"},{"photo_id":"1399546928","filename":"file0"},{"photo_id":"1399546934","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399546934":["hashtag1","hashtag2"]},{"1399546928":["hashtag1","hashtag2"]},{"1399546930":["hashtag1","hashtag2"]},{"1399546954":["hashtag1","hashtag2"]},{"1399546944":["hashtag1","hashtag2"]},{"1399546932":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399546934, 1399546928, 1399546930, 1399546954, 1399546944, 1399546932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41070508956909 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 20:45:03.466845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/38/image_15122025_20_38_24_9762.jpg', '/home/pi/Desktop/images/15122025/20/38/image_15122025_20_38_43_9765.jpg', '/home/pi/Desktop/images/15122025/20/38/image_15122025_20_38_54_10663.jpg', '/home/pi/Desktop/images/15122025/20/39/image_15122025_20_39_24_10661.jpg', '/home/pi/Desktop/images/15122025/20/39/image_15122025_20_39_34_9616.jpg', '/home/pi/Desktop/images/15122025/20/40/image_15122025_20_40_44_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/38/image_15122025_20_38_24_9762.jpg
/home/pi/Desktop/images/15122025/20/38/image_15122025_20_38_43_9765.jpg
/home/pi/Desktop/images/15122025/20/38/image_15122025_20_38_54_10663.jpg
/home/pi/Desktop/images/15122025/20/39/image_15122025_20_39_24_10661.jpg
/home/pi/Desktop/images/15122025/20/39/image_15122025_20_39_34_9616.jpg
/home/pi/Desktop/images/15122025/20/40/image_15122025_20_40_44_9718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399547012","1399547124","1399547084","1399547048","1399546964","1399546973"],"photo_ids_order":["1399546964","1399546973","1399547012","1399547048","1399547084","1399547124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cd9d758114a37c8c2385a5a4cd06d7c0.jpg","text":"TemporaryFile(/tmp/multipartBody8747366678129242363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827964145,"filename":"image_15122025_20_38_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/15/b1b67817bba6f783e66b39cd9e6253d3.jpg","text":"TemporaryFile(/tmp/multipartBody3732028647988098586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827964145,"filename":"image_15122025_20_40_44_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d9f3f053b78cf3ac4d1ee3cd0a0fa443.jpg","text":"TemporaryFile(/tmp/multipartBody6588251795977773318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827964145,"filename":"image_15122025_20_39_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/15/ffdb154131f345ddcd741c2d9c5f4026.jpg","text":"TemporaryFile(/tmp/multipartBody6662872746590283143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827964145,"filename":"image_15122025_20_39_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/15/3b6608a12bfeb6150d53d77f84333f1c.jpg","text":"TemporaryFile(/tmp/multipartBody6732760736569793064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827964145,"filename":"image_15122025_20_38_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/15/8aa6ddb4390439f27cc347288b6a1796.jpg","text":"TemporaryFile(/tmp/multipartBody2376416245644067053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765827964145,"filename":"image_15122025_20_38_43_9765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399547012","file1":"1399546973","file0":"1399546964","file4":"1399547084","file5":"1399547124","file3":"1399547048"},"map_files_photo_id_array":[{"photo_id":"1399547124","filename":"file5"},{"photo_id":"1399547012","filename":"file2"},{"photo_id":"1399547084","filename":"file4"},{"photo_id":"1399546973","filename":"file1"},{"photo_id":"1399546964","filename":"file0"},{"photo_id":"1399547048","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399547012":["hashtag1","hashtag2"]},{"1399547124":["hashtag1","hashtag2"]},{"1399547084":["hashtag1","hashtag2"]},{"1399547048":["hashtag1","hashtag2"]},{"1399546964":["hashtag1","hashtag2"]},{"1399546973":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399547012, 1399547124, 1399547084, 1399547048, 1399546964, 1399546973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6603844165802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 20:45:42.734758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_51_1803.jpg', '/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_52_1668.jpg', '/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_54_1593.jpg', '/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_55_1633.jpg', '/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_57_1645.jpg', '/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_59_1579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_51_1803.jpg
/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_52_1668.jpg
/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_54_1593.jpg
/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_55_1633.jpg
/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_57_1645.jpg
/home/pi/Desktop/images/05112025/16/09/image_05112025_16_09_59_1579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399547210","1399547161","1399547160","1399547211","1399547162","1399547192"],"photo_ids_order":["1399547160","1399547161","1399547162","1399547192","1399547210","1399547211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1bfb2d36d1b1a5a303568474565d2316.jpg","text":"TemporaryFile(/tmp/multipartBody373564673244965671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828003469,"filename":"image_05112025_16_09_57_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/15/ca2db1739433f84c705e9045d58fb306.jpg","text":"TemporaryFile(/tmp/multipartBody2393304344351542374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828003469,"filename":"image_05112025_16_09_52_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/15/abd9bb1892a94b2c4a98a44568e7cf0d.jpg","text":"TemporaryFile(/tmp/multipartBody4683513788827515461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828003469,"filename":"image_05112025_16_09_51_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/15/8342f9380baea5b02dd72a1a8076a31e.jpg","text":"TemporaryFile(/tmp/multipartBody3237487474808281366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828003469,"filename":"image_05112025_16_09_59_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/15/20903fddf10664c0db8d0eddf01ed03d.jpg","text":"TemporaryFile(/tmp/multipartBody6587815602175756793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828003469,"filename":"image_05112025_16_09_54_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/15/1388e273e2dc73e65fed6e6c3d4f170c.jpg","text":"TemporaryFile(/tmp/multipartBody9054434175349155758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828003469,"filename":"image_05112025_16_09_55_1633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399547162","file1":"1399547161","file0":"1399547160","file4":"1399547210","file5":"1399547211","file3":"1399547192"},"map_files_photo_id_array":[{"photo_id":"1399547211","filename":"file5"},{"photo_id":"1399547162","filename":"file2"},{"photo_id":"1399547210","filename":"file4"},{"photo_id":"1399547161","filename":"file1"},{"photo_id":"1399547160","filename":"file0"},{"photo_id":"1399547192","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399547210":["hashtag1","hashtag2"]},{"1399547161":["hashtag1","hashtag2"]},{"1399547160":["hashtag1","hashtag2"]},{"1399547211":["hashtag1","hashtag2"]},{"1399547162":["hashtag1","hashtag2"]},{"1399547192":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399547210, 1399547161, 1399547160, 1399547211, 1399547162, 1399547192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.124693870544434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 20:46:22.079699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/40/image_15122025_20_40_53_9650.jpg', '/home/pi/Desktop/images/15122025/20/40/image_15122025_20_41_04_10629.jpg', '/home/pi/Desktop/images/15122025/20/41/image_15122025_20_41_14_9732.jpg', '/home/pi/Desktop/images/15122025/20/41/image_15122025_20_41_23_9692.jpg', '/home/pi/Desktop/images/15122025/20/41/image_15122025_20_41_53_9654.jpg', '/home/pi/Desktop/images/15122025/20/41/image_15122025_20_42_04_10703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/40/image_15122025_20_40_53_9650.jpg
/home/pi/Desktop/images/15122025/20/40/image_15122025_20_41_04_10629.jpg
/home/pi/Desktop/images/15122025/20/41/image_15122025_20_41_14_9732.jpg
/home/pi/Desktop/images/15122025/20/41/image_15122025_20_41_23_9692.jpg
/home/pi/Desktop/images/15122025/20/41/image_15122025_20_41_53_9654.jpg
/home/pi/Desktop/images/15122025/20/41/image_15122025_20_42_04_10703.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5590951442718506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 20:46:31.965099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 20:46:42.007085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/09/image_05112025_16_10_00_1589.jpg', '/home/pi/Desktop/images/05112025/16/10/image_05112025_16_10_14_3011.jpg', '/home/pi/Desktop/images/05112025/16/10/image_05112025_16_10_17_3571.jpg', '/home/pi/Desktop/images/05112025/16/10/image_05112025_16_10_20_2595.jpg', '/home/pi/Desktop/images/05112025/16/10/image_05112025_16_10_25_5009.jpg', '/home/pi/Desktop/images/05112025/16/10/image_05112025_16_10_27_1545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/09/image_05112025_16_10_00_1589.jpg
/home/pi/Desktop/images/05112025/16/10/image_05112025_16_10_14_3011.jpg
/home/pi/Desktop/images/05112025/16/10/image_05112025_16_10_17_3571.jpg
/home/pi/Desktop/images/05112025/16/10/image_05112025_16_10_20_2595.jpg
/home/pi/Desktop/images/05112025/16/10/image_05112025_16_10_25_5009.jpg
/home/pi/Desktop/images/05112025/16/10/image_05112025_16_10_27_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":["1399547338","1399547320","1399547346","1399547274","1399547340","1399547339"],"photo_ids_order":["1399547274","1399547320","1399547338","1399547339","1399547340","1399547346"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2784230d83fa888ee5f4d21b0173233e.jpg","text":"TemporaryFile(/tmp/multipartBody6557242494861659419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828062717,"filename":"image_05112025_16_10_17_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/15/a95cdda07ae12d352162c64ebd810e35.jpg","text":"TemporaryFile(/tmp/multipartBody6996182663508579055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828062717,"filename":"image_05112025_16_10_14_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/15/4a085f499f97eca7875a43690e80ddba.jpg","text":"TemporaryFile(/tmp/multipartBody1372703484469425351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828062717,"filename":"image_05112025_16_10_27_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/15/d3f2239d9177c3ef2ef7ab1b45214001.jpg","text":"TemporaryFile(/tmp/multipartBody6553608616324972155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828062717,"filename":"image_05112025_16_10_00_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/15/f6d8c458e8ea82c0892043d33e4c7125.jpg","text":"TemporaryFile(/tmp/multipartBody7115106341602042928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828062717,"filename":"image_05112025_16_10_25_5009.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d40063d94a94b9cea3d24e15a962f65d.jpg","text":"TemporaryFile(/tmp/multipartBody6794776092227543230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828062717,"filename":"image_05112025_16_10_20_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399547338","file1":"1399547320","file0":"1399547274","file4":"1399547340","file5":"1399547346","file3":"1399547339"},"map_files_photo_id_array":[{"photo_id":"1399547346","filename":"file5"},{"photo_id":"1399547338","filename":"file2"},{"photo_id":"1399547340","filename":"file4"},{"photo_id":"1399547320","filename":"file1"},{"photo_id":"1399547274","filename":"file0"},{"photo_id":"1399547339","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399547338":["hashtag1","hashtag2"]},{"1399547320":["hashtag1","hashtag2"]},{"1399547346":["hashtag1","hashtag2"]},{"1399547274":["hashtag1","hashtag2"]},{"1399547340":["hashtag1","hashtag2"]},{"1399547339":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399547338, 1399547320, 1399547346, 1399547274, 1399547340, 1399547339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55053687095642 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 20:47:22.217795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/40/image_15122025_20_40_53_9650.jpg', '/home/pi/Desktop/images/15122025/20/40/image_15122025_20_41_04_10629.jpg', '/home/pi/Desktop/images/15122025/20/41/image_15122025_20_41_14_9732.jpg', '/home/pi/Desktop/images/15122025/20/41/image_15122025_20_41_23_9692.jpg', '/home/pi/Desktop/images/15122025/20/41/image_15122025_20_41_53_9654.jpg', '/home/pi/Desktop/images/15122025/20/41/image_15122025_20_42_04_10703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/40/image_15122025_20_40_53_9650.jpg
/home/pi/Desktop/images/15122025/20/40/image_15122025_20_41_04_10629.jpg
/home/pi/Desktop/images/15122025/20/41/image_15122025_20_41_14_9732.jpg
/home/pi/Desktop/images/15122025/20/41/image_15122025_20_41_23_9692.jpg
/home/pi/Desktop/images/15122025/20/41/image_15122025_20_41_53_9654.jpg
/home/pi/Desktop/images/15122025/20/41/image_15122025_20_42_04_10703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399547359","1399547364","1399547361","1399547355","1399547357","1399547354"],"photo_ids_order":["1399547354","1399547355","1399547357","1399547359","1399547361","1399547364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8da8a7caac3b2f9d24bb639a85007420.jpg","text":"TemporaryFile(/tmp/multipartBody517704659023198789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828102880,"filename":"image_15122025_20_41_23_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/15/449c018b8efecbe4fa18a6a8bf30f22c.jpg","text":"TemporaryFile(/tmp/multipartBody658996508897433427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828102880,"filename":"image_15122025_20_42_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/15/dd5bf09a2861714724ef2420039ed1b7.jpg","text":"TemporaryFile(/tmp/multipartBody8825655922185101054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828102880,"filename":"image_15122025_20_41_53_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e20e910ad035e9ecd560da46cbfa020f.jpg","text":"TemporaryFile(/tmp/multipartBody919681232864112655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828102880,"filename":"image_15122025_20_41_04_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/15/95f5a6d4fed6d112a93a9e04b9d80029.jpg","text":"TemporaryFile(/tmp/multipartBody4432201958343103424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828102880,"filename":"image_15122025_20_41_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/15/cca120363ea4c4bd318e380746033da5.jpg","text":"TemporaryFile(/tmp/multipartBody1565810241320550780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828102880,"filename":"image_15122025_20_40_53_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399547357","file1":"1399547355","file0":"1399547354","file4":"1399547361","file5":"1399547364","file3":"1399547359"},"map_files_photo_id_array":[{"photo_id":"1399547364","filename":"file5"},{"photo_id":"1399547357","filename":"file2"},{"photo_id":"1399547361","filename":"file4"},{"photo_id":"1399547355","filename":"file1"},{"photo_id":"1399547354","filename":"file0"},{"photo_id":"1399547359","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399547359":["hashtag1","hashtag2"]},{"1399547364":["hashtag1","hashtag2"]},{"1399547361":["hashtag1","hashtag2"]},{"1399547355":["hashtag1","hashtag2"]},{"1399547357":["hashtag1","hashtag2"]},{"1399547354":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399547359, 1399547364, 1399547361, 1399547355, 1399547357, 1399547354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05720520019531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 20:48:02.951704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/42/image_15122025_20_42_24_9789.jpg', '/home/pi/Desktop/images/15122025/20/42/image_15122025_20_42_43_9730.jpg', '/home/pi/Desktop/images/15122025/20/42/image_15122025_20_42_54_10745.jpg', '/home/pi/Desktop/images/15122025/20/43/image_15122025_20_43_24_10576.jpg', '/home/pi/Desktop/images/15122025/20/43/image_15122025_20_43_54_10686.jpg', '/home/pi/Desktop/images/15122025/20/43/image_15122025_20_44_04_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/42/image_15122025_20_42_24_9789.jpg
/home/pi/Desktop/images/15122025/20/42/image_15122025_20_42_43_9730.jpg
/home/pi/Desktop/images/15122025/20/42/image_15122025_20_42_54_10745.jpg
/home/pi/Desktop/images/15122025/20/43/image_15122025_20_43_24_10576.jpg
/home/pi/Desktop/images/15122025/20/43/image_15122025_20_43_54_10686.jpg
/home/pi/Desktop/images/15122025/20/43/image_15122025_20_44_04_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":["1399547383","1399547371","1399547368","1399547370","1399547369","1399547372"],"photo_ids_order":["1399547368","1399547369","1399547370","1399547371","1399547372","1399547383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f0a84d1e9122b8668608089b63cdf3dd.jpg","text":"TemporaryFile(/tmp/multipartBody3461088650831160618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828143604,"filename":"image_15122025_20_44_04_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fe04211247fea20ac2836ae297dc88a4.jpg","text":"TemporaryFile(/tmp/multipartBody8968511081707036373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828143604,"filename":"image_15122025_20_43_24_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fb78f61823f4d6f96a7fe17fd3090243.jpg","text":"TemporaryFile(/tmp/multipartBody5389989214036748700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828143604,"filename":"image_15122025_20_42_24_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/15/e41f4502621e4d783016424118e0e0ab.jpg","text":"TemporaryFile(/tmp/multipartBody6803106988973339205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828143604,"filename":"image_15122025_20_42_54_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c89b1df5f3dfb09251e708da61d8c9e9.jpg","text":"TemporaryFile(/tmp/multipartBody8957107490039662822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828143604,"filename":"image_15122025_20_42_43_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5cf6ca37a0dbfb93b6b37d37d1cb46a5.jpg","text":"TemporaryFile(/tmp/multipartBody7056491666129564254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828143604,"filename":"image_15122025_20_43_54_10686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399547370","file1":"1399547369","file0":"1399547368","file4":"1399547372","file5":"1399547383","file3":"1399547371"},"map_files_photo_id_array":[{"photo_id":"1399547383","filename":"file5"},{"photo_id":"1399547370","filename":"file2"},{"photo_id":"1399547372","filename":"file4"},{"photo_id":"1399547369","filename":"file1"},{"photo_id":"1399547368","filename":"file0"},{"photo_id":"1399547371","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399547383":["hashtag1","hashtag2"]},{"1399547371":["hashtag1","hashtag2"]},{"1399547368":["hashtag1","hashtag2"]},{"1399547370":["hashtag1","hashtag2"]},{"1399547369":["hashtag1","hashtag2"]},{"1399547372":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399547383, 1399547371, 1399547368, 1399547370, 1399547369, 1399547372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.830795764923096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 20:48:42.433055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/10/image_05112025_16_10_29_2645.jpg', '/home/pi/Desktop/images/05112025/16/10/image_05112025_16_10_32_2652.jpg', '/home/pi/Desktop/images/05112025/16/10/image_05112025_16_10_36_3688.jpg', '/home/pi/Desktop/images/05112025/16/10/image_05112025_16_10_41_5200.jpg', '/home/pi/Desktop/images/05112025/16/10/image_05112025_16_10_42_1758.jpg', '/home/pi/Desktop/images/05112025/16/10/image_05112025_16_10_44_1541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/10/image_05112025_16_10_29_2645.jpg
/home/pi/Desktop/images/05112025/16/10/image_05112025_16_10_32_2652.jpg
/home/pi/Desktop/images/05112025/16/10/image_05112025_16_10_36_3688.jpg
/home/pi/Desktop/images/05112025/16/10/image_05112025_16_10_41_5200.jpg
/home/pi/Desktop/images/05112025/16/10/image_05112025_16_10_42_1758.jpg
/home/pi/Desktop/images/05112025/16/10/image_05112025_16_10_44_1541.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399547402","1399547392","1399547394","1399547400","1399547399","1399547390"],"photo_ids_order":["1399547390","1399547392","1399547394","1399547399","1399547400","1399547402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/183cc08894ed7141c14be94926413a59.jpg","text":"TemporaryFile(/tmp/multipartBody2775930986601866489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828183127,"filename":"image_05112025_16_10_44_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/15/4fe9c9093e2ebe3f485853634d617d94.jpg","text":"TemporaryFile(/tmp/multipartBody9132855203153241834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828183127,"filename":"image_05112025_16_10_32_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/15/fe765b3447210cdb5d1ec63569812a72.jpg","text":"TemporaryFile(/tmp/multipartBody5694530325553081446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828183127,"filename":"image_05112025_16_10_36_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/15/aae92d4ee74a8678545dc35ea73f0185.jpg","text":"TemporaryFile(/tmp/multipartBody1276726935865962172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828183127,"filename":"image_05112025_16_10_42_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/15/1ef4240742769ec2c431b4a6de97cb4c.jpg","text":"TemporaryFile(/tmp/multipartBody3793749925981938879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828183127,"filename":"image_05112025_16_10_41_5200.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4e2d72aefc06d5cd66a32deab9c63530.jpg","text":"TemporaryFile(/tmp/multipartBody4873730707645250582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828183127,"filename":"image_05112025_16_10_29_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399547394","file1":"1399547392","file0":"1399547390","file4":"1399547400","file5":"1399547402","file3":"1399547399"},"map_files_photo_id_array":[{"photo_id":"1399547402","filename":"file5"},{"photo_id":"1399547394","filename":"file2"},{"photo_id":"1399547400","filename":"file4"},{"photo_id":"1399547392","filename":"file1"},{"photo_id":"1399547390","filename":"file0"},{"photo_id":"1399547399","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399547402":["hashtag1","hashtag2"]},{"1399547392":["hashtag1","hashtag2"]},{"1399547394":["hashtag1","hashtag2"]},{"1399547400":["hashtag1","hashtag2"]},{"1399547399":["hashtag1","hashtag2"]},{"1399547390":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399547402, 1399547392, 1399547394, 1399547400, 1399547399, 1399547390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11604952812195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 20:49:22.787882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/44/image_15122025_20_44_14_10029.jpg', '/home/pi/Desktop/images/15122025/20/44/image_15122025_20_44_44_9650.jpg', '/home/pi/Desktop/images/15122025/20/45/image_15122025_20_45_13_9907.jpg', '/home/pi/Desktop/images/15122025/20/45/image_15122025_20_46_04_9640.jpg', '/home/pi/Desktop/images/15122025/20/46/image_15122025_20_46_13_9673.jpg', '/home/pi/Desktop/images/15122025/20/46/image_15122025_20_46_24_10704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/44/image_15122025_20_44_14_10029.jpg
/home/pi/Desktop/images/15122025/20/44/image_15122025_20_44_44_9650.jpg
/home/pi/Desktop/images/15122025/20/45/image_15122025_20_45_13_9907.jpg
/home/pi/Desktop/images/15122025/20/45/image_15122025_20_46_04_9640.jpg
/home/pi/Desktop/images/15122025/20/46/image_15122025_20_46_13_9673.jpg
/home/pi/Desktop/images/15122025/20/46/image_15122025_20_46_24_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":["1399547414","1399547407","1399547415","1399547409","1399547411","1399547405"],"photo_ids_order":["1399547405","1399547407","1399547409","1399547411","1399547414","1399547415"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a88221d9bf63feaf092e7a56e3ff8f4c.jpg","text":"TemporaryFile(/tmp/multipartBody7425509182820678287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828223424,"filename":"image_15122025_20_46_13_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/15/f424c992abeb483925f6ffda9c4044ea.jpg","text":"TemporaryFile(/tmp/multipartBody3880814646815055510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828223424,"filename":"image_15122025_20_44_44_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b6673b89c226a9ba70562b113b98834a.jpg","text":"TemporaryFile(/tmp/multipartBody8125128110076642776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828223424,"filename":"image_15122025_20_46_24_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/15/aa970786339f25fede9ea51bfacc8fe0.jpg","text":"TemporaryFile(/tmp/multipartBody9000300847955498556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828223424,"filename":"image_15122025_20_45_13_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/15/147d508f7d873465ecbdec20508e3d2b.jpg","text":"TemporaryFile(/tmp/multipartBody3971045046689248861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828223424,"filename":"image_15122025_20_46_04_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d82b7e3e903073d74e4de9eb4c97f7fc.jpg","text":"TemporaryFile(/tmp/multipartBody6899347521099017531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828223424,"filename":"image_15122025_20_44_14_10029.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399547409","file1":"1399547407","file0":"1399547405","file4":"1399547414","file5":"1399547415","file3":"1399547411"},"map_files_photo_id_array":[{"photo_id":"1399547415","filename":"file5"},{"photo_id":"1399547409","filename":"file2"},{"photo_id":"1399547414","filename":"file4"},{"photo_id":"1399547407","filename":"file1"},{"photo_id":"1399547405","filename":"file0"},{"photo_id":"1399547411","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399547414":["hashtag1","hashtag2"]},{"1399547407":["hashtag1","hashtag2"]},{"1399547415":["hashtag1","hashtag2"]},{"1399547409":["hashtag1","hashtag2"]},{"1399547411":["hashtag1","hashtag2"]},{"1399547405":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399547414, 1399547407, 1399547415, 1399547409, 1399547411, 1399547405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16073775291443 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 20:50:02.310788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/46/image_15122025_20_46_34_9658.jpg', '/home/pi/Desktop/images/15122025/20/46/image_15122025_20_47_04_9573.jpg', '/home/pi/Desktop/images/15122025/20/47/image_15122025_20_47_24_10638.jpg', '/home/pi/Desktop/images/15122025/20/47/image_15122025_20_47_34_9641.jpg', '/home/pi/Desktop/images/15122025/20/47/image_15122025_20_47_43_9672.jpg', '/home/pi/Desktop/images/15122025/20/47/image_15122025_20_47_54_10720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/46/image_15122025_20_46_34_9658.jpg
/home/pi/Desktop/images/15122025/20/46/image_15122025_20_47_04_9573.jpg
/home/pi/Desktop/images/15122025/20/47/image_15122025_20_47_24_10638.jpg
/home/pi/Desktop/images/15122025/20/47/image_15122025_20_47_34_9641.jpg
/home/pi/Desktop/images/15122025/20/47/image_15122025_20_47_43_9672.jpg
/home/pi/Desktop/images/15122025/20/47/image_15122025_20_47_54_10720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399547420","1399547417","1399547422","1399547416","1399547419","1399547418"],"photo_ids_order":["1399547416","1399547417","1399547418","1399547419","1399547420","1399547422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d0421ff9b4145feb8ff379565d392ab3.jpg","text":"TemporaryFile(/tmp/multipartBody364879204378886750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828263008,"filename":"image_15122025_20_47_43_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/15/b8d30748c500be5c79753d088a144896.jpg","text":"TemporaryFile(/tmp/multipartBody3327029708827648509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828263008,"filename":"image_15122025_20_47_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/15/41e6f26b36470436c6b2c9ae8067657a.jpg","text":"TemporaryFile(/tmp/multipartBody3607464758173534062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828263008,"filename":"image_15122025_20_47_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/15/38efd93caf7de66b5c7fb7b478aa7844.jpg","text":"TemporaryFile(/tmp/multipartBody9146463340498701396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828263008,"filename":"image_15122025_20_46_34_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8ef14fa79cce4caf63a4dd08a6473c43.jpg","text":"TemporaryFile(/tmp/multipartBody9164040143825469345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828263008,"filename":"image_15122025_20_47_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f8525b22ccdc88f325e44381a3f27b30.jpg","text":"TemporaryFile(/tmp/multipartBody3817869028410842704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828263008,"filename":"image_15122025_20_47_24_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399547418","file1":"1399547417","file0":"1399547416","file4":"1399547420","file5":"1399547422","file3":"1399547419"},"map_files_photo_id_array":[{"photo_id":"1399547422","filename":"file5"},{"photo_id":"1399547418","filename":"file2"},{"photo_id":"1399547420","filename":"file4"},{"photo_id":"1399547417","filename":"file1"},{"photo_id":"1399547416","filename":"file0"},{"photo_id":"1399547419","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399547420":["hashtag1","hashtag2"]},{"1399547417":["hashtag1","hashtag2"]},{"1399547422":["hashtag1","hashtag2"]},{"1399547416":["hashtag1","hashtag2"]},{"1399547419":["hashtag1","hashtag2"]},{"1399547418":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399547420, 1399547417, 1399547422, 1399547416, 1399547419, 1399547418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78697419166565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 20:50:41.863071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/10/image_05112025_16_10_47_2721.jpg', '/home/pi/Desktop/images/05112025/16/10/image_05112025_16_10_50_3673.jpg', '/home/pi/Desktop/images/05112025/16/10/image_05112025_16_10_53_2562.jpg', '/home/pi/Desktop/images/05112025/16/10/image_05112025_16_10_57_3588.jpg', '/home/pi/Desktop/images/05112025/16/10/image_05112025_16_10_59_2552.jpg', '/home/pi/Desktop/images/05112025/16/11/image_05112025_16_11_02_2778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/10/image_05112025_16_10_47_2721.jpg
/home/pi/Desktop/images/05112025/16/10/image_05112025_16_10_50_3673.jpg
/home/pi/Desktop/images/05112025/16/10/image_05112025_16_10_53_2562.jpg
/home/pi/Desktop/images/05112025/16/10/image_05112025_16_10_57_3588.jpg
/home/pi/Desktop/images/05112025/16/10/image_05112025_16_10_59_2552.jpg
/home/pi/Desktop/images/05112025/16/11/image_05112025_16_11_02_2778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399547435","1399547434","1399547430","1399547433","1399547427","1399547432"],"photo_ids_order":["1399547427","1399547430","1399547432","1399547433","1399547434","1399547435"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/65b261729b0f71d63b823f53c814c800.jpg","text":"TemporaryFile(/tmp/multipartBody1831511064191996476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828302571,"filename":"image_05112025_16_11_02_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/15/cb220b519c1ce53417266fa32fb091a9.jpg","text":"TemporaryFile(/tmp/multipartBody2263231765400799512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828302571,"filename":"image_05112025_16_10_59_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/15/423f10d319743fe1576a91472fa71f84.jpg","text":"TemporaryFile(/tmp/multipartBody6320235840173332559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828302571,"filename":"image_05112025_16_10_50_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/42f09d203e107b4dd002b86754cc4fad.jpg","text":"TemporaryFile(/tmp/multipartBody7314494546992357286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828302571,"filename":"image_05112025_16_10_57_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/15/bdc804a1efe709f70b52b27458fde0be.jpg","text":"TemporaryFile(/tmp/multipartBody5296849765449109302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828302571,"filename":"image_05112025_16_10_47_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/807059ea218dd9274b7af8da9c41bbdb.jpg","text":"TemporaryFile(/tmp/multipartBody597792204976628236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828302571,"filename":"image_05112025_16_10_53_2562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399547432","file1":"1399547430","file0":"1399547427","file4":"1399547434","file5":"1399547435","file3":"1399547433"},"map_files_photo_id_array":[{"photo_id":"1399547435","filename":"file5"},{"photo_id":"1399547432","filename":"file2"},{"photo_id":"1399547434","filename":"file4"},{"photo_id":"1399547430","filename":"file1"},{"photo_id":"1399547427","filename":"file0"},{"photo_id":"1399547433","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399547435":["hashtag1","hashtag2"]},{"1399547434":["hashtag1","hashtag2"]},{"1399547430":["hashtag1","hashtag2"]},{"1399547433":["hashtag1","hashtag2"]},{"1399547427":["hashtag1","hashtag2"]},{"1399547432":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399547435, 1399547434, 1399547430, 1399547433, 1399547427, 1399547432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36216616630554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 20:51:22.134586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/47/image_15122025_20_48_04_9891.jpg', '/home/pi/Desktop/images/15122025/20/48/image_15122025_20_48_23_9721.jpg', '/home/pi/Desktop/images/15122025/20/48/image_15122025_20_48_34_10670.jpg', '/home/pi/Desktop/images/15122025/20/48/image_15122025_20_48_53_9659.jpg', '/home/pi/Desktop/images/15122025/20/48/image_15122025_20_49_03_9819.jpg', '/home/pi/Desktop/images/15122025/20/49/image_15122025_20_50_03_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/47/image_15122025_20_48_04_9891.jpg
/home/pi/Desktop/images/15122025/20/48/image_15122025_20_48_23_9721.jpg
/home/pi/Desktop/images/15122025/20/48/image_15122025_20_48_34_10670.jpg
/home/pi/Desktop/images/15122025/20/48/image_15122025_20_48_53_9659.jpg
/home/pi/Desktop/images/15122025/20/48/image_15122025_20_49_03_9819.jpg
/home/pi/Desktop/images/15122025/20/49/image_15122025_20_50_03_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":["1399547464","1399547455","1399547457","1399547462","1399547459","1399547453"],"photo_ids_order":["1399547453","1399547455","1399547457","1399547459","1399547462","1399547464"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/13ad6c44371966512f29c7daf4222bb1.jpg","text":"TemporaryFile(/tmp/multipartBody1441457237567077132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828342814,"filename":"image_15122025_20_50_03_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/15/4a1d4ac9b29cb5f7b2744bed53e386bf.jpg","text":"TemporaryFile(/tmp/multipartBody6086888258193058981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828342814,"filename":"image_15122025_20_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/15/90d5be4fffdd04cb89e0b9452c1e5e80.jpg","text":"TemporaryFile(/tmp/multipartBody4017572908409198180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828342814,"filename":"image_15122025_20_48_34_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e8622398b362f0138f9cede17e40a706.jpg","text":"TemporaryFile(/tmp/multipartBody4495293779086065756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828342814,"filename":"image_15122025_20_49_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/15/2af690c39d5b2404ca417a2d15a85052.jpg","text":"TemporaryFile(/tmp/multipartBody5908414920877373798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828342814,"filename":"image_15122025_20_48_53_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/15/e4aea5cfd9d7d5db52c67aedc85d8285.jpg","text":"TemporaryFile(/tmp/multipartBody3525596677255490896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828342814,"filename":"image_15122025_20_48_04_9891.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399547457","file1":"1399547455","file0":"1399547453","file4":"1399547462","file5":"1399547464","file3":"1399547459"},"map_files_photo_id_array":[{"photo_id":"1399547464","filename":"file5"},{"photo_id":"1399547457","filename":"file2"},{"photo_id":"1399547462","filename":"file4"},{"photo_id":"1399547455","filename":"file1"},{"photo_id":"1399547453","filename":"file0"},{"photo_id":"1399547459","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399547464":["hashtag1","hashtag2"]},{"1399547455":["hashtag1","hashtag2"]},{"1399547457":["hashtag1","hashtag2"]},{"1399547462":["hashtag1","hashtag2"]},{"1399547459":["hashtag1","hashtag2"]},{"1399547453":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399547464, 1399547455, 1399547457, 1399547462, 1399547459, 1399547453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.424007177352905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 20:52:02.853770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 20:52:12.328411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 20:52:22.383936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/50/image_15122025_20_50_24_10734.jpg', '/home/pi/Desktop/images/15122025/20/51/image_15122025_20_52_04_10718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/50/image_15122025_20_50_24_10734.jpg
/home/pi/Desktop/images/15122025/20/51/image_15122025_20_52_04_10718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399547656","1399547619"],"photo_ids_order":["1399547619","1399547656"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3b8451696e6f78c88aaeb4bda1326fa0.jpg","text":"TemporaryFile(/tmp/multipartBody441313789518157136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828402861,"filename":"image_15122025_20_52_04_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dff5d275affdf88c107b1fafc8abdba9.jpg","text":"TemporaryFile(/tmp/multipartBody3913679406983634862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828402861,"filename":"image_15122025_20_50_24_10734.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399547656","file0":"1399547619"},"map_files_photo_id_array":[{"photo_id":"1399547656","filename":"file1"},{"photo_id":"1399547619","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399547656":["hashtag1","hashtag2"]},{"1399547619":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399547656, 1399547619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.674134492874146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 20:52:42.298165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/11/image_05112025_16_11_15_12652.jpg', '/home/pi/Desktop/images/05112025/16/11/image_05112025_16_11_29_14713.jpg', '/home/pi/Desktop/images/05112025/16/11/image_05112025_16_11_31_1588.jpg', '/home/pi/Desktop/images/05112025/16/11/image_05112025_16_11_50_19222.jpg', '/home/pi/Desktop/images/05112025/16/11/image_05112025_16_11_52_1882.jpg', '/home/pi/Desktop/images/05112025/16/11/image_05112025_16_11_54_1719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/11/image_05112025_16_11_15_12652.jpg
/home/pi/Desktop/images/05112025/16/11/image_05112025_16_11_29_14713.jpg
/home/pi/Desktop/images/05112025/16/11/image_05112025_16_11_31_1588.jpg
/home/pi/Desktop/images/05112025/16/11/image_05112025_16_11_50_19222.jpg
/home/pi/Desktop/images/05112025/16/11/image_05112025_16_11_52_1882.jpg
/home/pi/Desktop/images/05112025/16/11/image_05112025_16_11_54_1719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399547725","1399547734","1399547728","1399547805","1399547733","1399547738"],"photo_ids_order":["1399547725","1399547728","1399547733","1399547734","1399547738","1399547805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/787643b5b06ef247ce34717cbd17e6c7.jpg","text":"TemporaryFile(/tmp/multipartBody7309548983090524628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828423017,"filename":"image_05112025_16_11_15_12652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/20da9185c88481cf68727fb53b3d7af1.jpg","text":"TemporaryFile(/tmp/multipartBody5192358503494462190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828423017,"filename":"image_05112025_16_11_50_19222.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/518054cbb5237ea7e0940d89841ceff1.jpg","text":"TemporaryFile(/tmp/multipartBody3895276318758531630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828423017,"filename":"image_05112025_16_11_29_14713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0a5d53c58c90b54a72291d3777e582c8.jpg","text":"TemporaryFile(/tmp/multipartBody6378531766814755865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828423017,"filename":"image_05112025_16_11_54_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/15/b79e3d585504e4e4c5c60b6b68e79278.jpg","text":"TemporaryFile(/tmp/multipartBody7257489128970258877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828423017,"filename":"image_05112025_16_11_31_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/15/79384e232f1c15bf45061bb5bfbf073b.jpg","text":"TemporaryFile(/tmp/multipartBody8308405240616517181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828423017,"filename":"image_05112025_16_11_52_1882.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399547733","file1":"1399547728","file0":"1399547725","file4":"1399547738","file5":"1399547805","file3":"1399547734"},"map_files_photo_id_array":[{"photo_id":"1399547805","filename":"file5"},{"photo_id":"1399547733","filename":"file2"},{"photo_id":"1399547738","filename":"file4"},{"photo_id":"1399547728","filename":"file1"},{"photo_id":"1399547725","filename":"file0"},{"photo_id":"1399547734","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399547725":["hashtag1","hashtag2"]},{"1399547734":["hashtag1","hashtag2"]},{"1399547728":["hashtag1","hashtag2"]},{"1399547805":["hashtag1","hashtag2"]},{"1399547733":["hashtag1","hashtag2"]},{"1399547738":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399547725, 1399547734, 1399547728, 1399547805, 1399547733, 1399547738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61865472793579 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 20:53:22.692742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/52/image_15122025_20_52_54_10633.jpg', '/home/pi/Desktop/images/15122025/20/53/image_15122025_20_53_14_10675.jpg', '/home/pi/Desktop/images/15122025/20/53/image_15122025_20_53_34_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/52/image_15122025_20_52_54_10633.jpg
/home/pi/Desktop/images/15122025/20/53/image_15122025_20_53_14_10675.jpg
/home/pi/Desktop/images/15122025/20/53/image_15122025_20_53_34_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.3989114761352539 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 20:53:32.571057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 20:53:42.569266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/11/image_05112025_16_11_55_1680.jpg', '/home/pi/Desktop/images/05112025/16/11/image_05112025_16_11_57_1615.jpg', '/home/pi/Desktop/images/05112025/16/11/image_05112025_16_11_59_1817.jpg', '/home/pi/Desktop/images/05112025/16/11/image_05112025_16_12_00_1644.jpg', '/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_02_1781.jpg', '/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_04_1783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/11/image_05112025_16_11_55_1680.jpg
/home/pi/Desktop/images/05112025/16/11/image_05112025_16_11_57_1615.jpg
/home/pi/Desktop/images/05112025/16/11/image_05112025_16_11_59_1817.jpg
/home/pi/Desktop/images/05112025/16/11/image_05112025_16_12_00_1644.jpg
/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_02_1781.jpg
/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_04_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":["1399548037","1399547962","1399548027","1399548036","1399548038","1399547990"],"photo_ids_order":["1399547962","1399547990","1399548027","1399548036","1399548037","1399548038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b3983f96a5b61a82ebea85c472b9ff28.jpg","text":"TemporaryFile(/tmp/multipartBody281894383971896232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828483343,"filename":"image_05112025_16_12_02_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/15/dc955846f8f0bb1cc041e063beb9236c.jpg","text":"TemporaryFile(/tmp/multipartBody2104524462075541814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828483343,"filename":"image_05112025_16_11_55_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/95741023319c2fcf34d3da94538dbad9.jpg","text":"TemporaryFile(/tmp/multipartBody4207904069300240605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828483343,"filename":"image_05112025_16_11_59_1817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6c90154761cb132427c7f56132ae891b.jpg","text":"TemporaryFile(/tmp/multipartBody1639092006609564038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828483343,"filename":"image_05112025_16_12_00_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/15/8085ef3d225bb5880f5be6bcefbc56d2.jpg","text":"TemporaryFile(/tmp/multipartBody5019831959635004588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828483343,"filename":"image_05112025_16_12_04_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/15/b650a6693f440cd7b84565faf73c4ba5.jpg","text":"TemporaryFile(/tmp/multipartBody4114020462898261256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828483343,"filename":"image_05112025_16_11_57_1615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399548027","file1":"1399547990","file0":"1399547962","file4":"1399548037","file5":"1399548038","file3":"1399548036"},"map_files_photo_id_array":[{"photo_id":"1399548038","filename":"file5"},{"photo_id":"1399548027","filename":"file2"},{"photo_id":"1399548037","filename":"file4"},{"photo_id":"1399547990","filename":"file1"},{"photo_id":"1399547962","filename":"file0"},{"photo_id":"1399548036","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399548037":["hashtag1","hashtag2"]},{"1399547962":["hashtag1","hashtag2"]},{"1399548027":["hashtag1","hashtag2"]},{"1399548036":["hashtag1","hashtag2"]},{"1399548038":["hashtag1","hashtag2"]},{"1399547990":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399548037, 1399547962, 1399548027, 1399548036, 1399548038, 1399547990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89991545677185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 20:54:21.946992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/52/image_15122025_20_52_54_10633.jpg', '/home/pi/Desktop/images/15122025/20/53/image_15122025_20_53_14_10675.jpg', '/home/pi/Desktop/images/15122025/20/53/image_15122025_20_53_34_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/52/image_15122025_20_52_54_10633.jpg
/home/pi/Desktop/images/15122025/20/53/image_15122025_20_53_14_10675.jpg
/home/pi/Desktop/images/15122025/20/53/image_15122025_20_53_34_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":["1399548042","1399548039","1399548044"],"photo_ids_order":["1399548039","1399548042","1399548044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d73ea4f4f26b79fb3af13fee4585a29e.jpg","text":"TemporaryFile(/tmp/multipartBody4682680787146813732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828522453,"filename":"image_15122025_20_53_14_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/15/e0963cb54df4b0d6a86d568016027ce4.jpg","text":"TemporaryFile(/tmp/multipartBody7018805214074642518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828522453,"filename":"image_15122025_20_52_54_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/04e9c27961993f64c98b65fe4a43b155.jpg","text":"TemporaryFile(/tmp/multipartBody6051771583582509158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828522453,"filename":"image_15122025_20_53_34_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399548044","file1":"1399548042","file0":"1399548039"},"map_files_photo_id_array":[{"photo_id":"1399548044","filename":"file2"},{"photo_id":"1399548042","filename":"file1"},{"photo_id":"1399548039","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399548042":["hashtag1","hashtag2"]},{"1399548039":["hashtag1","hashtag2"]},{"1399548044":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399548042, 1399548039, 1399548044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.50978374481201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 20:55:02.519492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 20:55:11.939636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 20:55:22.028614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/53/image_15122025_20_53_53_9743.jpg', '/home/pi/Desktop/images/15122025/20/54/image_15122025_20_55_04_9972.jpg', '/home/pi/Desktop/images/15122025/20/55/image_15122025_20_55_24_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/53/image_15122025_20_53_53_9743.jpg
/home/pi/Desktop/images/15122025/20/54/image_15122025_20_55_04_9972.jpg
/home/pi/Desktop/images/15122025/20/55/image_15122025_20_55_24_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":["1399548049","1399548052","1399548054"],"photo_ids_order":["1399548049","1399548052","1399548054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/08e800903dce9eaccdbd58665112e5b2.jpg","text":"TemporaryFile(/tmp/multipartBody1147450731075977298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828582532,"filename":"image_15122025_20_53_53_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/15/2d18a3b3650c603339d4c67fce7e882d.jpg","text":"TemporaryFile(/tmp/multipartBody3846867306099055322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828582532,"filename":"image_15122025_20_55_04_9972.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/148f4dce62d33bdde2c80632226d6456.jpg","text":"TemporaryFile(/tmp/multipartBody534138923356994225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828582532,"filename":"image_15122025_20_55_24_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399548054","file1":"1399548052","file0":"1399548049"},"map_files_photo_id_array":[{"photo_id":"1399548054","filename":"file2"},{"photo_id":"1399548052","filename":"file1"},{"photo_id":"1399548049","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399548049":["hashtag1","hashtag2"]},{"1399548052":["hashtag1","hashtag2"]},{"1399548054":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399548049, 1399548052, 1399548054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.055089235305786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 20:56:02.639504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 20:56:12.165487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 20:56:22.230920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/55/image_15122025_20_55_54_10600.jpg', '/home/pi/Desktop/images/15122025/20/55/image_15122025_20_56_04_9872.jpg', '/home/pi/Desktop/images/15122025/20/56/image_15122025_20_56_14_9791.jpg', '/home/pi/Desktop/images/15122025/20/56/image_15122025_20_56_24_9769.jpg', '/home/pi/Desktop/images/15122025/20/56/image_15122025_20_56_33_9682.jpg', '/home/pi/Desktop/images/15122025/20/56/image_15122025_20_56_44_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/55/image_15122025_20_55_54_10600.jpg
/home/pi/Desktop/images/15122025/20/55/image_15122025_20_56_04_9872.jpg
/home/pi/Desktop/images/15122025/20/56/image_15122025_20_56_14_9791.jpg
/home/pi/Desktop/images/15122025/20/56/image_15122025_20_56_24_9769.jpg
/home/pi/Desktop/images/15122025/20/56/image_15122025_20_56_33_9682.jpg
/home/pi/Desktop/images/15122025/20/56/image_15122025_20_56_44_10613.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5329997539520264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 20:56:32.239037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 20:56:42.278415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_06_1598.jpg', '/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_07_1870.jpg', '/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_09_1835.jpg', '/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_11_1759.jpg', '/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_13_1707.jpg', '/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_14_1713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_06_1598.jpg
/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_07_1870.jpg
/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_09_1835.jpg
/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_11_1759.jpg
/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_13_1707.jpg
/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_14_1713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399548115","1399548189","1399548225","1399548155","1399548077","1399548259"],"photo_ids_order":["1399548077","1399548115","1399548155","1399548189","1399548225","1399548259"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/49cd2381fe31b5a42124e3b31f9c27ee.jpg","text":"TemporaryFile(/tmp/multipartBody8513881029903093372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828662985,"filename":"image_05112025_16_12_07_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/15/61efc8a5de22bf788af1ba2dd8475501.jpg","text":"TemporaryFile(/tmp/multipartBody4840050697859204793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828662985,"filename":"image_05112025_16_12_11_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/15/a48654708a5130f46bf3e185756aa5b5.jpg","text":"TemporaryFile(/tmp/multipartBody9180868636343041238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828662985,"filename":"image_05112025_16_12_13_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/15/00364d10fad5b7c15defd40c0deec812.jpg","text":"TemporaryFile(/tmp/multipartBody7029924917562125503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828662985,"filename":"image_05112025_16_12_09_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/15/f80f7040120eb494fc12162aafcbe386.jpg","text":"TemporaryFile(/tmp/multipartBody1489486298376115800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828662985,"filename":"image_05112025_16_12_06_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/15/e09082158d5d0b09c214c53d98425d02.jpg","text":"TemporaryFile(/tmp/multipartBody6468265321378670460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828662985,"filename":"image_05112025_16_12_14_1713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399548155","file1":"1399548115","file0":"1399548077","file4":"1399548225","file5":"1399548259","file3":"1399548189"},"map_files_photo_id_array":[{"photo_id":"1399548259","filename":"file5"},{"photo_id":"1399548155","filename":"file2"},{"photo_id":"1399548225","filename":"file4"},{"photo_id":"1399548115","filename":"file1"},{"photo_id":"1399548077","filename":"file0"},{"photo_id":"1399548189","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399548115":["hashtag1","hashtag2"]},{"1399548189":["hashtag1","hashtag2"]},{"1399548225":["hashtag1","hashtag2"]},{"1399548155":["hashtag1","hashtag2"]},{"1399548077":["hashtag1","hashtag2"]},{"1399548259":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399548115, 1399548189, 1399548225, 1399548155, 1399548077, 1399548259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.538795471191406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 20:57:22.495815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/55/image_15122025_20_55_54_10600.jpg', '/home/pi/Desktop/images/15122025/20/55/image_15122025_20_56_04_9872.jpg', '/home/pi/Desktop/images/15122025/20/56/image_15122025_20_56_14_9791.jpg', '/home/pi/Desktop/images/15122025/20/56/image_15122025_20_56_24_9769.jpg', '/home/pi/Desktop/images/15122025/20/56/image_15122025_20_56_33_9682.jpg', '/home/pi/Desktop/images/15122025/20/56/image_15122025_20_56_44_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/55/image_15122025_20_55_54_10600.jpg
/home/pi/Desktop/images/15122025/20/55/image_15122025_20_56_04_9872.jpg
/home/pi/Desktop/images/15122025/20/56/image_15122025_20_56_14_9791.jpg
/home/pi/Desktop/images/15122025/20/56/image_15122025_20_56_24_9769.jpg
/home/pi/Desktop/images/15122025/20/56/image_15122025_20_56_33_9682.jpg
/home/pi/Desktop/images/15122025/20/56/image_15122025_20_56_44_10613.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.53389573097229 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 20:57:32.637662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 20:57:42.619176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_16_1685.jpg', '/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_18_1608.jpg', '/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_19_1608.jpg', '/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_21_1734.jpg', '/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_23_1640.jpg', '/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_25_1779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_16_1685.jpg
/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_18_1608.jpg
/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_19_1608.jpg
/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_21_1734.jpg
/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_23_1640.jpg
/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_25_1779.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399548393","1399548390","1399548392","1399548394","1399548391","1399548385"],"photo_ids_order":["1399548385","1399548390","1399548391","1399548392","1399548393","1399548394"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8dc02f21013803bcd4657840e0e372f0.jpg","text":"TemporaryFile(/tmp/multipartBody3468534369760246223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828723335,"filename":"image_05112025_16_12_23_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/15/dc036f18d570d16ae732c2f1e86582dc.jpg","text":"TemporaryFile(/tmp/multipartBody3321790206504599491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828723335,"filename":"image_05112025_16_12_18_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/15/aa81b231bc551415145d330c61537a5b.jpg","text":"TemporaryFile(/tmp/multipartBody1848101195622082885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828723335,"filename":"image_05112025_16_12_21_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/15/697ac730a17e5079661ea0849e1d6bf1.jpg","text":"TemporaryFile(/tmp/multipartBody7391964997940546985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828723335,"filename":"image_05112025_16_12_25_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/15/d1370f3b2950338ade56ac30cad157df.jpg","text":"TemporaryFile(/tmp/multipartBody4032255237661732216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828723335,"filename":"image_05112025_16_12_19_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/15/a089214cdf16a90db32712b87b2159cf.jpg","text":"TemporaryFile(/tmp/multipartBody1056574338985598641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828723335,"filename":"image_05112025_16_12_16_1685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399548391","file1":"1399548390","file0":"1399548385","file4":"1399548393","file5":"1399548394","file3":"1399548392"},"map_files_photo_id_array":[{"photo_id":"1399548394","filename":"file5"},{"photo_id":"1399548391","filename":"file2"},{"photo_id":"1399548393","filename":"file4"},{"photo_id":"1399548390","filename":"file1"},{"photo_id":"1399548385","filename":"file0"},{"photo_id":"1399548392","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399548393":["hashtag1","hashtag2"]},{"1399548390":["hashtag1","hashtag2"]},{"1399548392":["hashtag1","hashtag2"]},{"1399548394":["hashtag1","hashtag2"]},{"1399548391":["hashtag1","hashtag2"]},{"1399548385":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399548393, 1399548390, 1399548392, 1399548394, 1399548391, 1399548385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.915923833847046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 20:59:03.020353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/55/image_15122025_20_55_54_10600.jpg', '/home/pi/Desktop/images/15122025/20/55/image_15122025_20_56_04_9872.jpg', '/home/pi/Desktop/images/15122025/20/56/image_15122025_20_56_14_9791.jpg', '/home/pi/Desktop/images/15122025/20/56/image_15122025_20_56_24_9769.jpg', '/home/pi/Desktop/images/15122025/20/56/image_15122025_20_56_33_9682.jpg', '/home/pi/Desktop/images/15122025/20/56/image_15122025_20_56_44_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/55/image_15122025_20_55_54_10600.jpg
/home/pi/Desktop/images/15122025/20/55/image_15122025_20_56_04_9872.jpg
/home/pi/Desktop/images/15122025/20/56/image_15122025_20_56_14_9791.jpg
/home/pi/Desktop/images/15122025/20/56/image_15122025_20_56_24_9769.jpg
/home/pi/Desktop/images/15122025/20/56/image_15122025_20_56_33_9682.jpg
/home/pi/Desktop/images/15122025/20/56/image_15122025_20_56_44_10613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399548656","1399548737","1399548617","1399548539","1399548694","1399548580"],"photo_ids_order":["1399548539","1399548580","1399548617","1399548656","1399548694","1399548737"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7467adc3ce502dbcf2f72d07085ecd5b.jpg","text":"TemporaryFile(/tmp/multipartBody1464116691629247273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828803795,"filename":"image_15122025_20_56_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/15/e337a340a8dca0469ac46e0bb874134d.jpg","text":"TemporaryFile(/tmp/multipartBody6565140774006057603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828803795,"filename":"image_15122025_20_56_44_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/15/04fa0bd948587cf6f8295830e72edcc7.jpg","text":"TemporaryFile(/tmp/multipartBody5291939592430498382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828803795,"filename":"image_15122025_20_56_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/15/cbca6cebdaf6aca9962ec922ec9b4a74.jpg","text":"TemporaryFile(/tmp/multipartBody3888620483208347538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828803795,"filename":"image_15122025_20_55_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/15/b47cc8a4a746ef515996bdef469dab06.jpg","text":"TemporaryFile(/tmp/multipartBody8595585013712077739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828803795,"filename":"image_15122025_20_56_33_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/15/282dc811511fd3f3972f0dbe3aecf7ee.jpg","text":"TemporaryFile(/tmp/multipartBody1326905413070032671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828803795,"filename":"image_15122025_20_56_04_9872.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399548617","file1":"1399548580","file0":"1399548539","file4":"1399548694","file5":"1399548737","file3":"1399548656"},"map_files_photo_id_array":[{"photo_id":"1399548737","filename":"file5"},{"photo_id":"1399548617","filename":"file2"},{"photo_id":"1399548694","filename":"file4"},{"photo_id":"1399548580","filename":"file1"},{"photo_id":"1399548539","filename":"file0"},{"photo_id":"1399548656","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399548656":["hashtag1","hashtag2"]},{"1399548737":["hashtag1","hashtag2"]},{"1399548617":["hashtag1","hashtag2"]},{"1399548539":["hashtag1","hashtag2"]},{"1399548694":["hashtag1","hashtag2"]},{"1399548580":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399548656, 1399548737, 1399548617, 1399548539, 1399548694, 1399548580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.9358332157135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:00:02.534572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/56/image_15122025_20_56_53_9597.jpg', '/home/pi/Desktop/images/15122025/20/57/image_15122025_20_57_23_9678.jpg', '/home/pi/Desktop/images/15122025/20/57/image_15122025_20_57_34_10597.jpg', '/home/pi/Desktop/images/15122025/20/57/image_15122025_20_57_44_9773.jpg', '/home/pi/Desktop/images/15122025/20/58/image_15122025_20_58_24_9708.jpg', '/home/pi/Desktop/images/15122025/20/58/image_15122025_20_58_33_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/56/image_15122025_20_56_53_9597.jpg
/home/pi/Desktop/images/15122025/20/57/image_15122025_20_57_23_9678.jpg
/home/pi/Desktop/images/15122025/20/57/image_15122025_20_57_34_10597.jpg
/home/pi/Desktop/images/15122025/20/57/image_15122025_20_57_44_9773.jpg
/home/pi/Desktop/images/15122025/20/58/image_15122025_20_58_24_9708.jpg
/home/pi/Desktop/images/15122025/20/58/image_15122025_20_58_33_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":["1399548955","1399548969","1399548936","1399548968","1399548926","1399548914"],"photo_ids_order":["1399548914","1399548926","1399548936","1399548955","1399548968","1399548969"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f18a1c3390d649b56c7b29ee62b715b9.jpg","text":"TemporaryFile(/tmp/multipartBody7223717250337177156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828863164,"filename":"image_15122025_20_57_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/15/65cd98c5b76789d211388cb67db45f8c.jpg","text":"TemporaryFile(/tmp/multipartBody8065968969721697594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828863164,"filename":"image_15122025_20_58_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/15/7cfe6e0d96721f2bbc50b9fba8012c13.jpg","text":"TemporaryFile(/tmp/multipartBody3921356012270651599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828863164,"filename":"image_15122025_20_57_34_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/15/7e3ef192de6de8dbd39115b253de04d2.jpg","text":"TemporaryFile(/tmp/multipartBody4974539107456936557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828863164,"filename":"image_15122025_20_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/15/04cd784b31d208e795f12fb5daa575a6.jpg","text":"TemporaryFile(/tmp/multipartBody3014477783007604867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828863164,"filename":"image_15122025_20_57_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/15/1e8514f5c26d977a1e66ce97a72792d6.jpg","text":"TemporaryFile(/tmp/multipartBody6712764463498542605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828863164,"filename":"image_15122025_20_56_53_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399548936","file1":"1399548926","file0":"1399548914","file4":"1399548968","file5":"1399548969","file3":"1399548955"},"map_files_photo_id_array":[{"photo_id":"1399548969","filename":"file5"},{"photo_id":"1399548936","filename":"file2"},{"photo_id":"1399548968","filename":"file4"},{"photo_id":"1399548926","filename":"file1"},{"photo_id":"1399548914","filename":"file0"},{"photo_id":"1399548955","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399548955":["hashtag1","hashtag2"]},{"1399548969":["hashtag1","hashtag2"]},{"1399548936":["hashtag1","hashtag2"]},{"1399548968":["hashtag1","hashtag2"]},{"1399548926":["hashtag1","hashtag2"]},{"1399548914":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399548955, 1399548969, 1399548936, 1399548968, 1399548926, 1399548914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99174523353577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 21:00:42.188296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_26_1657.jpg', '/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_45_1707.jpg', '/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_49_4285.jpg', '/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_51_1763.jpg', '/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_52_1610.jpg', '/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_54_1615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_26_1657.jpg
/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_45_1707.jpg
/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_49_4285.jpg
/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_51_1763.jpg
/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_52_1610.jpg
/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_54_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":["1399548981","1399548980","1399548974","1399548977","1399548997","1399548988"],"photo_ids_order":["1399548974","1399548977","1399548980","1399548981","1399548988","1399548997"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8a2dbb4c72af776942c7b1945b0c7719.jpg","text":"TemporaryFile(/tmp/multipartBody7828485983912678934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828902897,"filename":"image_05112025_16_12_51_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/15/01af1cd4e86d5610953fac58df562e22.jpg","text":"TemporaryFile(/tmp/multipartBody5164290533983549596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828902897,"filename":"image_05112025_16_12_49_4285.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6604d2162dd8230dc43fb9bc233703e7.jpg","text":"TemporaryFile(/tmp/multipartBody3507608130936600251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828902897,"filename":"image_05112025_16_12_26_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/945f102384c6b4333cdc970dc22e30fa.jpg","text":"TemporaryFile(/tmp/multipartBody4231853642097808698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828902897,"filename":"image_05112025_16_12_45_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/15/c76ca6e0d046f263d02977d6510d0dbe.jpg","text":"TemporaryFile(/tmp/multipartBody1103986492461477747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828902897,"filename":"image_05112025_16_12_54_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/15/a7e6fa230759dba1941c17ff61909b78.jpg","text":"TemporaryFile(/tmp/multipartBody5610865355337810633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828902897,"filename":"image_05112025_16_12_52_1610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399548980","file1":"1399548977","file0":"1399548974","file4":"1399548988","file5":"1399548997","file3":"1399548981"},"map_files_photo_id_array":[{"photo_id":"1399548997","filename":"file5"},{"photo_id":"1399548980","filename":"file2"},{"photo_id":"1399548988","filename":"file4"},{"photo_id":"1399548977","filename":"file1"},{"photo_id":"1399548974","filename":"file0"},{"photo_id":"1399548981","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399548981":["hashtag1","hashtag2"]},{"1399548980":["hashtag1","hashtag2"]},{"1399548974":["hashtag1","hashtag2"]},{"1399548977":["hashtag1","hashtag2"]},{"1399548997":["hashtag1","hashtag2"]},{"1399548988":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399548981, 1399548980, 1399548974, 1399548977, 1399548997, 1399548988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.926300048828125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:01:22.492910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/58/image_15122025_20_58_54_9696.jpg', '/home/pi/Desktop/images/15122025/20/58/image_15122025_20_59_04_10558.jpg', '/home/pi/Desktop/images/15122025/20/59/image_15122025_20_59_14_9659.jpg', '/home/pi/Desktop/images/15122025/20/59/image_15122025_20_59_24_9686.jpg', '/home/pi/Desktop/images/15122025/20/59/image_15122025_20_59_54_9765.jpg', '/home/pi/Desktop/images/15122025/21/00/image_15122025_21_00_34_9507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/58/image_15122025_20_58_54_9696.jpg
/home/pi/Desktop/images/15122025/20/58/image_15122025_20_59_04_10558.jpg
/home/pi/Desktop/images/15122025/20/59/image_15122025_20_59_14_9659.jpg
/home/pi/Desktop/images/15122025/20/59/image_15122025_20_59_24_9686.jpg
/home/pi/Desktop/images/15122025/20/59/image_15122025_20_59_54_9765.jpg
/home/pi/Desktop/images/15122025/21/00/image_15122025_21_00_34_9507.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5656318664550781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 21:01:32.444265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 21:01:42.373767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_56_1630.jpg', '/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_57_1651.jpg', '/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_59_1623.jpg', '/home/pi/Desktop/images/05112025/16/12/image_05112025_16_13_00_1581.jpg', '/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_02_1614.jpg', '/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_04_1655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_56_1630.jpg
/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_57_1651.jpg
/home/pi/Desktop/images/05112025/16/12/image_05112025_16_12_59_1623.jpg
/home/pi/Desktop/images/05112025/16/12/image_05112025_16_13_00_1581.jpg
/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_02_1614.jpg
/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_04_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":["1399549161","1399549155","1399549164","1399549107","1399549163","1399549162"],"photo_ids_order":["1399549107","1399549155","1399549161","1399549162","1399549163","1399549164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/56ca18124f6bd7b2811aa6e580e86f95.jpg","text":"TemporaryFile(/tmp/multipartBody6325892713251059297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828963108,"filename":"image_05112025_16_12_59_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/15/90ef6d44fc4a8d44a3ff6ff82eb46f52.jpg","text":"TemporaryFile(/tmp/multipartBody6726163409750513797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828963108,"filename":"image_05112025_16_12_57_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/15/1bf4bc4acda9c2c53f1d40969a1c9ba9.jpg","text":"TemporaryFile(/tmp/multipartBody7598264759669738938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828963108,"filename":"image_05112025_16_13_04_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/15/40077d45c56fb1dff3b7e7402d368e00.jpg","text":"TemporaryFile(/tmp/multipartBody2798641680564622036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828963108,"filename":"image_05112025_16_12_56_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/15/501ecffac6c3da90b76074251dab54ed.jpg","text":"TemporaryFile(/tmp/multipartBody7965517651314465774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828963108,"filename":"image_05112025_16_13_02_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/15/4a0464581dbcca429e6224bb0e28cb24.jpg","text":"TemporaryFile(/tmp/multipartBody1459872530126633822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765828963108,"filename":"image_05112025_16_13_00_1581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399549161","file1":"1399549155","file0":"1399549107","file4":"1399549163","file5":"1399549164","file3":"1399549162"},"map_files_photo_id_array":[{"photo_id":"1399549164","filename":"file5"},{"photo_id":"1399549161","filename":"file2"},{"photo_id":"1399549163","filename":"file4"},{"photo_id":"1399549155","filename":"file1"},{"photo_id":"1399549107","filename":"file0"},{"photo_id":"1399549162","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399549161":["hashtag1","hashtag2"]},{"1399549155":["hashtag1","hashtag2"]},{"1399549164":["hashtag1","hashtag2"]},{"1399549107":["hashtag1","hashtag2"]},{"1399549163":["hashtag1","hashtag2"]},{"1399549162":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399549161, 1399549155, 1399549164, 1399549107, 1399549163, 1399549162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81612944602966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:02:22.709830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/20/58/image_15122025_20_58_54_9696.jpg', '/home/pi/Desktop/images/15122025/20/58/image_15122025_20_59_04_10558.jpg', '/home/pi/Desktop/images/15122025/20/59/image_15122025_20_59_14_9659.jpg', '/home/pi/Desktop/images/15122025/20/59/image_15122025_20_59_24_9686.jpg', '/home/pi/Desktop/images/15122025/20/59/image_15122025_20_59_54_9765.jpg', '/home/pi/Desktop/images/15122025/21/00/image_15122025_21_00_34_9507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/20/58/image_15122025_20_58_54_9696.jpg
/home/pi/Desktop/images/15122025/20/58/image_15122025_20_59_04_10558.jpg
/home/pi/Desktop/images/15122025/20/59/image_15122025_20_59_14_9659.jpg
/home/pi/Desktop/images/15122025/20/59/image_15122025_20_59_24_9686.jpg
/home/pi/Desktop/images/15122025/20/59/image_15122025_20_59_54_9765.jpg
/home/pi/Desktop/images/15122025/21/00/image_15122025_21_00_34_9507.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399549167","1399549172","1399549166","1399549175","1399549169","1399549171"],"photo_ids_order":["1399549166","1399549167","1399549169","1399549171","1399549172","1399549175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6d8b6e88a60503db6f9c305e4921d4e6.jpg","text":"TemporaryFile(/tmp/multipartBody56378253838225032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829003341,"filename":"image_15122025_20_59_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/15/28c6524a58d127c561c263fdaf3993de.jpg","text":"TemporaryFile(/tmp/multipartBody1679305963985008551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829003341,"filename":"image_15122025_20_59_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/15/bf37ec62d70d78cfcd3ac4262eceaccd.jpg","text":"TemporaryFile(/tmp/multipartBody9166216659166597883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829003341,"filename":"image_15122025_20_58_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/15/85daef13b8c8a2b83302d92a76d49063.jpg","text":"TemporaryFile(/tmp/multipartBody7581744136917868480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829003341,"filename":"image_15122025_21_00_34_9507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/48271593453cb94467dfe30832851d59.jpg","text":"TemporaryFile(/tmp/multipartBody3993183588587530072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829003341,"filename":"image_15122025_20_59_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/15/b64cdb4ab5b4ca3d9649c1448caedda2.jpg","text":"TemporaryFile(/tmp/multipartBody2635444227186490495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829003341,"filename":"image_15122025_20_59_24_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399549169","file1":"1399549167","file0":"1399549166","file4":"1399549172","file5":"1399549175","file3":"1399549171"},"map_files_photo_id_array":[{"photo_id":"1399549175","filename":"file5"},{"photo_id":"1399549169","filename":"file2"},{"photo_id":"1399549172","filename":"file4"},{"photo_id":"1399549167","filename":"file1"},{"photo_id":"1399549166","filename":"file0"},{"photo_id":"1399549171","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399549167":["hashtag1","hashtag2"]},{"1399549172":["hashtag1","hashtag2"]},{"1399549166":["hashtag1","hashtag2"]},{"1399549175":["hashtag1","hashtag2"]},{"1399549169":["hashtag1","hashtag2"]},{"1399549171":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399549167, 1399549172, 1399549166, 1399549175, 1399549169, 1399549171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50101113319397 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:03:02.655572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/00/image_15122025_21_01_04_9555.jpg', '/home/pi/Desktop/images/15122025/21/01/image_15122025_21_01_15_10568.jpg', '/home/pi/Desktop/images/15122025/21/01/image_15122025_21_01_24_9674.jpg', '/home/pi/Desktop/images/15122025/21/01/image_15122025_21_01_34_9677.jpg', '/home/pi/Desktop/images/15122025/21/01/image_15122025_21_01_45_10590.jpg', '/home/pi/Desktop/images/15122025/21/01/image_15122025_21_01_54_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/00/image_15122025_21_01_04_9555.jpg
/home/pi/Desktop/images/15122025/21/01/image_15122025_21_01_15_10568.jpg
/home/pi/Desktop/images/15122025/21/01/image_15122025_21_01_24_9674.jpg
/home/pi/Desktop/images/15122025/21/01/image_15122025_21_01_34_9677.jpg
/home/pi/Desktop/images/15122025/21/01/image_15122025_21_01_45_10590.jpg
/home/pi/Desktop/images/15122025/21/01/image_15122025_21_01_54_9700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399549182","1399549176","1399549179","1399549178","1399549180","1399549177"],"photo_ids_order":["1399549176","1399549177","1399549178","1399549179","1399549180","1399549182"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1fa324bacfb5a967f3eb894f74096f9d.jpg","text":"TemporaryFile(/tmp/multipartBody3437733853170213902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829043313,"filename":"image_15122025_21_01_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/15/0b0c1eaf735443ea267493acfdacef32.jpg","text":"TemporaryFile(/tmp/multipartBody8456029489355880532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829043313,"filename":"image_15122025_21_01_04_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/43392dff355e4c692b563bbdc87a2e48.jpg","text":"TemporaryFile(/tmp/multipartBody6256785801658523159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829043313,"filename":"image_15122025_21_01_34_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1ff7250393e1d4488ce6dfe6ac7a8e79.jpg","text":"TemporaryFile(/tmp/multipartBody4277146376919653040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829043313,"filename":"image_15122025_21_01_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/15/056a854d3d69c34624b82ca38ae95348.jpg","text":"TemporaryFile(/tmp/multipartBody550854356876145158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829043313,"filename":"image_15122025_21_01_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/15/7fd34583701472d453e22859e16914b4.jpg","text":"TemporaryFile(/tmp/multipartBody8484305442763105643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829043313,"filename":"image_15122025_21_01_15_10568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399549178","file1":"1399549177","file0":"1399549176","file4":"1399549180","file5":"1399549182","file3":"1399549179"},"map_files_photo_id_array":[{"photo_id":"1399549182","filename":"file5"},{"photo_id":"1399549178","filename":"file2"},{"photo_id":"1399549180","filename":"file4"},{"photo_id":"1399549177","filename":"file1"},{"photo_id":"1399549176","filename":"file0"},{"photo_id":"1399549179","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399549182":["hashtag1","hashtag2"]},{"1399549176":["hashtag1","hashtag2"]},{"1399549179":["hashtag1","hashtag2"]},{"1399549178":["hashtag1","hashtag2"]},{"1399549180":["hashtag1","hashtag2"]},{"1399549177":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399549182, 1399549176, 1399549179, 1399549178, 1399549180, 1399549177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89531993865967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 21:03:41.870435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_05_1560.jpg', '/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_07_1879.jpg', '/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_09_1619.jpg', '/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_10_1536.jpg', '/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_12_1608.jpg', '/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_16_4215.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_05_1560.jpg
/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_07_1879.jpg
/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_09_1619.jpg
/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_10_1536.jpg
/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_12_1608.jpg
/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_16_4215.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399549191","1399549188","1399549190","1399549193","1399549192","1399549186"],"photo_ids_order":["1399549186","1399549188","1399549190","1399549191","1399549192","1399549193"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1e9bd7755de43eb3bdbff539160b9d72.jpg","text":"TemporaryFile(/tmp/multipartBody3901865363647053777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829082575,"filename":"image_05112025_16_13_10_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/15/8de807813dc09c6b3d2e80e94e931da7.jpg","text":"TemporaryFile(/tmp/multipartBody5547947528715957098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829082575,"filename":"image_05112025_16_13_07_1879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3f20592b58aaadcf3335cfd8bfff8a91.jpg","text":"TemporaryFile(/tmp/multipartBody5554933100249922342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829082575,"filename":"image_05112025_16_13_09_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/15/c45a279287033bfbd54a96fb8e1ea2fb.jpg","text":"TemporaryFile(/tmp/multipartBody4861237625771919685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829082575,"filename":"image_05112025_16_13_16_4215.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9f990968c4607ddc46f1a506180cf35f.jpg","text":"TemporaryFile(/tmp/multipartBody8876733140778465373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829082575,"filename":"image_05112025_16_13_12_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/15/8b6f9691e644403f305626dff31a44f2.jpg","text":"TemporaryFile(/tmp/multipartBody8482393794385236859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829082575,"filename":"image_05112025_16_13_05_1560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399549190","file1":"1399549188","file0":"1399549186","file4":"1399549192","file5":"1399549193","file3":"1399549191"},"map_files_photo_id_array":[{"photo_id":"1399549193","filename":"file5"},{"photo_id":"1399549190","filename":"file2"},{"photo_id":"1399549192","filename":"file4"},{"photo_id":"1399549188","filename":"file1"},{"photo_id":"1399549186","filename":"file0"},{"photo_id":"1399549191","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399549191":["hashtag1","hashtag2"]},{"1399549188":["hashtag1","hashtag2"]},{"1399549190":["hashtag1","hashtag2"]},{"1399549193":["hashtag1","hashtag2"]},{"1399549192":["hashtag1","hashtag2"]},{"1399549186":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399549191, 1399549188, 1399549190, 1399549193, 1399549192, 1399549186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54713821411133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:04:22.171752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/01/image_15122025_21_02_05_10601.jpg', '/home/pi/Desktop/images/15122025/21/02/image_15122025_21_02_15_9654.jpg', '/home/pi/Desktop/images/15122025/21/02/image_15122025_21_02_24_9661.jpg', '/home/pi/Desktop/images/15122025/21/02/image_15122025_21_02_35_10641.jpg', '/home/pi/Desktop/images/15122025/21/02/image_15122025_21_02_45_9645.jpg', '/home/pi/Desktop/images/15122025/21/02/image_15122025_21_02_54_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/01/image_15122025_21_02_05_10601.jpg
/home/pi/Desktop/images/15122025/21/02/image_15122025_21_02_15_9654.jpg
/home/pi/Desktop/images/15122025/21/02/image_15122025_21_02_24_9661.jpg
/home/pi/Desktop/images/15122025/21/02/image_15122025_21_02_35_10641.jpg
/home/pi/Desktop/images/15122025/21/02/image_15122025_21_02_45_9645.jpg
/home/pi/Desktop/images/15122025/21/02/image_15122025_21_02_54_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":["1399549196","1399549200","1399549202","1399549205","1399549195","1399549198"],"photo_ids_order":["1399549195","1399549196","1399549198","1399549200","1399549202","1399549205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/86c79b8c6cb821585322b90069c88645.jpg","text":"TemporaryFile(/tmp/multipartBody6389599601871387215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829122799,"filename":"image_15122025_21_02_15_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dbe13299eda945e6971368fd3bec405e.jpg","text":"TemporaryFile(/tmp/multipartBody2907846925890398783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829122799,"filename":"image_15122025_21_02_35_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4c520d037883b4cb056d551ff252f9e3.jpg","text":"TemporaryFile(/tmp/multipartBody7238339874607634131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829122799,"filename":"image_15122025_21_02_45_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/db69e93bbf9c1cd98e5181033f3058e0.jpg","text":"TemporaryFile(/tmp/multipartBody3514951895186077163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829122799,"filename":"image_15122025_21_02_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/15/32e65298f6f756cc0603591cce838ccc.jpg","text":"TemporaryFile(/tmp/multipartBody8188210903834361149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829122799,"filename":"image_15122025_21_02_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/15/575f4fd52881cdb5496ed3321d603d27.jpg","text":"TemporaryFile(/tmp/multipartBody6709015719341149782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829122799,"filename":"image_15122025_21_02_24_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399549198","file1":"1399549196","file0":"1399549195","file4":"1399549202","file5":"1399549205","file3":"1399549200"},"map_files_photo_id_array":[{"photo_id":"1399549205","filename":"file5"},{"photo_id":"1399549198","filename":"file2"},{"photo_id":"1399549202","filename":"file4"},{"photo_id":"1399549196","filename":"file1"},{"photo_id":"1399549195","filename":"file0"},{"photo_id":"1399549200","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399549196":["hashtag1","hashtag2"]},{"1399549200":["hashtag1","hashtag2"]},{"1399549202":["hashtag1","hashtag2"]},{"1399549205":["hashtag1","hashtag2"]},{"1399549195":["hashtag1","hashtag2"]},{"1399549198":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399549196, 1399549200, 1399549202, 1399549205, 1399549195, 1399549198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92592716217041 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:05:02.902497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/02/image_15122025_21_03_05_10705.jpg', '/home/pi/Desktop/images/15122025/21/03/image_15122025_21_03_15_9788.jpg', '/home/pi/Desktop/images/15122025/21/03/image_15122025_21_03_25_9927.jpg', '/home/pi/Desktop/images/15122025/21/03/image_15122025_21_03_34_9715.jpg', '/home/pi/Desktop/images/15122025/21/03/image_15122025_21_03_44_9882.jpg', '/home/pi/Desktop/images/15122025/21/03/image_15122025_21_03_54_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/02/image_15122025_21_03_05_10705.jpg
/home/pi/Desktop/images/15122025/21/03/image_15122025_21_03_15_9788.jpg
/home/pi/Desktop/images/15122025/21/03/image_15122025_21_03_25_9927.jpg
/home/pi/Desktop/images/15122025/21/03/image_15122025_21_03_34_9715.jpg
/home/pi/Desktop/images/15122025/21/03/image_15122025_21_03_44_9882.jpg
/home/pi/Desktop/images/15122025/21/03/image_15122025_21_03_54_9732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399549210","1399549212","1399549209","1399549214","1399549208","1399549207"],"photo_ids_order":["1399549207","1399549208","1399549209","1399549210","1399549212","1399549214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/aa40ff757433a644119599f95457720f.jpg","text":"TemporaryFile(/tmp/multipartBody2547026106100083660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829163561,"filename":"image_15122025_21_03_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/15/92eb7794c055197efa54738e50c1c309.jpg","text":"TemporaryFile(/tmp/multipartBody1502354299931294851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829163561,"filename":"image_15122025_21_03_44_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/091851a7c2eb9d93fc5dcacbc7ed2e73.jpg","text":"TemporaryFile(/tmp/multipartBody1875044953808349607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829163561,"filename":"image_15122025_21_03_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/15/030e479f9851da8a17ff82ab87a3457a.jpg","text":"TemporaryFile(/tmp/multipartBody4742208042808613278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829163561,"filename":"image_15122025_21_03_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/15/27febca8179db7f5ce7d59594962ce2b.jpg","text":"TemporaryFile(/tmp/multipartBody4652762940918505687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829163561,"filename":"image_15122025_21_03_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/15/d9acffeb9e876da48430763992909063.jpg","text":"TemporaryFile(/tmp/multipartBody4225511503965666205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829163561,"filename":"image_15122025_21_03_05_10705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399549209","file1":"1399549208","file0":"1399549207","file4":"1399549212","file5":"1399549214","file3":"1399549210"},"map_files_photo_id_array":[{"photo_id":"1399549214","filename":"file5"},{"photo_id":"1399549209","filename":"file2"},{"photo_id":"1399549212","filename":"file4"},{"photo_id":"1399549208","filename":"file1"},{"photo_id":"1399549207","filename":"file0"},{"photo_id":"1399549210","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399549210":["hashtag1","hashtag2"]},{"1399549212":["hashtag1","hashtag2"]},{"1399549209":["hashtag1","hashtag2"]},{"1399549214":["hashtag1","hashtag2"]},{"1399549208":["hashtag1","hashtag2"]},{"1399549207":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399549210, 1399549212, 1399549209, 1399549214, 1399549208, 1399549207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.69123911857605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:06:02.968102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/03/image_15122025_21_04_05_10646.jpg', '/home/pi/Desktop/images/15122025/21/04/image_15122025_21_04_14_9687.jpg', '/home/pi/Desktop/images/15122025/21/04/image_15122025_21_04_24_9716.jpg', '/home/pi/Desktop/images/15122025/21/04/image_15122025_21_04_35_10639.jpg', '/home/pi/Desktop/images/15122025/21/04/image_15122025_21_04_44_9734.jpg', '/home/pi/Desktop/images/15122025/21/04/image_15122025_21_04_54_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/03/image_15122025_21_04_05_10646.jpg
/home/pi/Desktop/images/15122025/21/04/image_15122025_21_04_14_9687.jpg
/home/pi/Desktop/images/15122025/21/04/image_15122025_21_04_24_9716.jpg
/home/pi/Desktop/images/15122025/21/04/image_15122025_21_04_35_10639.jpg
/home/pi/Desktop/images/15122025/21/04/image_15122025_21_04_44_9734.jpg
/home/pi/Desktop/images/15122025/21/04/image_15122025_21_04_54_9754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399549222","1399549221","1399549218","1399549220","1399549223","1399549225"],"photo_ids_order":["1399549218","1399549220","1399549221","1399549222","1399549223","1399549225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/92f2bb5985475b83a75821c6f7c9fef4.jpg","text":"TemporaryFile(/tmp/multipartBody4347890006204488164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829223591,"filename":"image_15122025_21_04_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/15/baec22efc2fa00e90c93f1d740064038.jpg","text":"TemporaryFile(/tmp/multipartBody5819169838878120669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829223591,"filename":"image_15122025_21_04_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/15/7d9b1114bd1caccfdabf7045a3ae9618.jpg","text":"TemporaryFile(/tmp/multipartBody2662974474221355118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829223591,"filename":"image_15122025_21_04_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/15/f189f221dd2e26fbd0d01ba55d0d3b99.jpg","text":"TemporaryFile(/tmp/multipartBody2665849210510365189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829223591,"filename":"image_15122025_21_04_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/15/74081dcfb777938f1b0ce3974ee51c18.jpg","text":"TemporaryFile(/tmp/multipartBody4463810697628559976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829223591,"filename":"image_15122025_21_04_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/15/d107bceb1851b7b8f0205e55e468253b.jpg","text":"TemporaryFile(/tmp/multipartBody463310045138069143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829223591,"filename":"image_15122025_21_04_54_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399549221","file1":"1399549220","file0":"1399549218","file4":"1399549223","file5":"1399549225","file3":"1399549222"},"map_files_photo_id_array":[{"photo_id":"1399549225","filename":"file5"},{"photo_id":"1399549221","filename":"file2"},{"photo_id":"1399549223","filename":"file4"},{"photo_id":"1399549220","filename":"file1"},{"photo_id":"1399549218","filename":"file0"},{"photo_id":"1399549222","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399549222":["hashtag1","hashtag2"]},{"1399549221":["hashtag1","hashtag2"]},{"1399549218":["hashtag1","hashtag2"]},{"1399549220":["hashtag1","hashtag2"]},{"1399549223":["hashtag1","hashtag2"]},{"1399549225":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399549222, 1399549221, 1399549218, 1399549220, 1399549223, 1399549225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32991909980774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 21:06:42.535299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_18_1601.jpg', '/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_19_1629.jpg', '/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_21_1898.jpg', '/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_23_1645.jpg', '/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_26_2726.jpg', '/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_42_16118.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_18_1601.jpg
/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_19_1629.jpg
/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_21_1898.jpg
/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_23_1645.jpg
/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_26_2726.jpg
/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_42_16118.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399549236","1399549233","1399549235","1399549237","1399549231","1399549234"],"photo_ids_order":["1399549231","1399549233","1399549234","1399549235","1399549236","1399549237"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/819264df5a38594ebd5198864f2e81eb.jpg","text":"TemporaryFile(/tmp/multipartBody5947593276374708660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829263237,"filename":"image_05112025_16_13_26_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/15/18bd591e1d572843bb7257aad15264cb.jpg","text":"TemporaryFile(/tmp/multipartBody4985105140978153509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829263237,"filename":"image_05112025_16_13_19_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/15/e92ad27c62dc766ecce7b89d7a024fec.jpg","text":"TemporaryFile(/tmp/multipartBody153343853676845902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829263237,"filename":"image_05112025_16_13_23_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/15/9fc8d9680d7ac1420cd2032cb108648e.jpg","text":"TemporaryFile(/tmp/multipartBody5205156536985607080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829263237,"filename":"image_05112025_16_13_42_16118.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/545ef7c063638698abbe3b0d4552f228.jpg","text":"TemporaryFile(/tmp/multipartBody3313414830963028198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829263237,"filename":"image_05112025_16_13_18_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/15/17e9a48b8a1e187505cc08dd3e5f5c5d.jpg","text":"TemporaryFile(/tmp/multipartBody2717391562122734835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829263237,"filename":"image_05112025_16_13_21_1898.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399549234","file1":"1399549233","file0":"1399549231","file4":"1399549236","file5":"1399549237","file3":"1399549235"},"map_files_photo_id_array":[{"photo_id":"1399549237","filename":"file5"},{"photo_id":"1399549234","filename":"file2"},{"photo_id":"1399549236","filename":"file4"},{"photo_id":"1399549233","filename":"file1"},{"photo_id":"1399549231","filename":"file0"},{"photo_id":"1399549235","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399549236":["hashtag1","hashtag2"]},{"1399549233":["hashtag1","hashtag2"]},{"1399549235":["hashtag1","hashtag2"]},{"1399549237":["hashtag1","hashtag2"]},{"1399549231":["hashtag1","hashtag2"]},{"1399549234":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399549236, 1399549233, 1399549235, 1399549237, 1399549231, 1399549234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.375855922698975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:07:22.870901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/04/image_15122025_21_05_05_10656.jpg', '/home/pi/Desktop/images/15122025/21/05/image_15122025_21_05_15_9879.jpg', '/home/pi/Desktop/images/15122025/21/05/image_15122025_21_05_24_9594.jpg', '/home/pi/Desktop/images/15122025/21/05/image_15122025_21_05_35_10596.jpg', '/home/pi/Desktop/images/15122025/21/05/image_15122025_21_05_45_9937.jpg', '/home/pi/Desktop/images/15122025/21/05/image_15122025_21_05_54_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/04/image_15122025_21_05_05_10656.jpg
/home/pi/Desktop/images/15122025/21/05/image_15122025_21_05_15_9879.jpg
/home/pi/Desktop/images/15122025/21/05/image_15122025_21_05_24_9594.jpg
/home/pi/Desktop/images/15122025/21/05/image_15122025_21_05_35_10596.jpg
/home/pi/Desktop/images/15122025/21/05/image_15122025_21_05_45_9937.jpg
/home/pi/Desktop/images/15122025/21/05/image_15122025_21_05_54_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":["1399549254","1399549239","1399549241","1399549244","1399549264","1399549258"],"photo_ids_order":["1399549239","1399549241","1399549244","1399549254","1399549258","1399549264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1ca29360ff1f32deb67e0c1e2ea08e2b.jpg","text":"TemporaryFile(/tmp/multipartBody5502069678197724284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829303488,"filename":"image_15122025_21_05_35_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1b01175169fb60d6695107471ba15ac9.jpg","text":"TemporaryFile(/tmp/multipartBody5218596154025599100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829303488,"filename":"image_15122025_21_05_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/15/dfd2ee3a9b5d5fa45845651c1bda8e1d.jpg","text":"TemporaryFile(/tmp/multipartBody3119215333470463123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829303488,"filename":"image_15122025_21_05_15_9879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/26086f2b8dcb8ff9c3078393196c3342.jpg","text":"TemporaryFile(/tmp/multipartBody3114119322060641593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829303488,"filename":"image_15122025_21_05_24_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f114bbbc1a55bf628ed529cc8327a304.jpg","text":"TemporaryFile(/tmp/multipartBody6462358249462593844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829303488,"filename":"image_15122025_21_05_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/15/304de8be203e7000e8b21cf58ab79299.jpg","text":"TemporaryFile(/tmp/multipartBody3748776445546873738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829303488,"filename":"image_15122025_21_05_45_9937.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399549244","file1":"1399549241","file0":"1399549239","file4":"1399549258","file5":"1399549264","file3":"1399549254"},"map_files_photo_id_array":[{"photo_id":"1399549264","filename":"file5"},{"photo_id":"1399549244","filename":"file2"},{"photo_id":"1399549258","filename":"file4"},{"photo_id":"1399549241","filename":"file1"},{"photo_id":"1399549239","filename":"file0"},{"photo_id":"1399549254","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399549254":["hashtag1","hashtag2"]},{"1399549239":["hashtag1","hashtag2"]},{"1399549241":["hashtag1","hashtag2"]},{"1399549244":["hashtag1","hashtag2"]},{"1399549264":["hashtag1","hashtag2"]},{"1399549258":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399549254, 1399549239, 1399549241, 1399549244, 1399549264, 1399549258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29863739013672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:08:02.478329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/05/image_15122025_21_06_04_9630.jpg', '/home/pi/Desktop/images/15122025/21/06/image_15122025_21_06_14_9901.jpg', '/home/pi/Desktop/images/15122025/21/06/image_15122025_21_06_25_10653.jpg', '/home/pi/Desktop/images/15122025/21/06/image_15122025_21_06_34_9640.jpg', '/home/pi/Desktop/images/15122025/21/06/image_15122025_21_06_44_9770.jpg', '/home/pi/Desktop/images/15122025/21/06/image_15122025_21_06_55_10666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/05/image_15122025_21_06_04_9630.jpg
/home/pi/Desktop/images/15122025/21/06/image_15122025_21_06_14_9901.jpg
/home/pi/Desktop/images/15122025/21/06/image_15122025_21_06_25_10653.jpg
/home/pi/Desktop/images/15122025/21/06/image_15122025_21_06_34_9640.jpg
/home/pi/Desktop/images/15122025/21/06/image_15122025_21_06_44_9770.jpg
/home/pi/Desktop/images/15122025/21/06/image_15122025_21_06_55_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":["1399549272","1399549266","1399549269","1399549268","1399549270","1399549267"],"photo_ids_order":["1399549266","1399549267","1399549268","1399549269","1399549270","1399549272"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4c13a9424d313cccf1566985f10044a1.jpg","text":"TemporaryFile(/tmp/multipartBody5732203030795751449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829343088,"filename":"image_15122025_21_06_55_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/194d2174180c8166fb30051533a37c35.jpg","text":"TemporaryFile(/tmp/multipartBody3166365546984960875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829343088,"filename":"image_15122025_21_06_04_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d0e792cde9c49ff6a14fd8e1d39da026.jpg","text":"TemporaryFile(/tmp/multipartBody555803913274354630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829343088,"filename":"image_15122025_21_06_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/15/6efe37c35c5c95681f2fea7173de6b56.jpg","text":"TemporaryFile(/tmp/multipartBody7084707467780335922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829343088,"filename":"image_15122025_21_06_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/15/cf92ad0c885530b48bd84974f012be76.jpg","text":"TemporaryFile(/tmp/multipartBody5942214939309473779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829343088,"filename":"image_15122025_21_06_44_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/712a8d579aa978d945c2b859618bf3f6.jpg","text":"TemporaryFile(/tmp/multipartBody816766016754470198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829343088,"filename":"image_15122025_21_06_14_9901.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399549268","file1":"1399549267","file0":"1399549266","file4":"1399549270","file5":"1399549272","file3":"1399549269"},"map_files_photo_id_array":[{"photo_id":"1399549272","filename":"file5"},{"photo_id":"1399549268","filename":"file2"},{"photo_id":"1399549270","filename":"file4"},{"photo_id":"1399549267","filename":"file1"},{"photo_id":"1399549266","filename":"file0"},{"photo_id":"1399549269","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399549272":["hashtag1","hashtag2"]},{"1399549266":["hashtag1","hashtag2"]},{"1399549269":["hashtag1","hashtag2"]},{"1399549268":["hashtag1","hashtag2"]},{"1399549270":["hashtag1","hashtag2"]},{"1399549267":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399549272, 1399549266, 1399549269, 1399549268, 1399549270, 1399549267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.464884519577026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 21:08:42.116846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_45_1577.jpg', '/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_47_1604.jpg', '/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_48_1608.jpg', '/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_50_1617.jpg', '/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_51_1704.jpg', '/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_53_1552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_45_1577.jpg
/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_47_1604.jpg
/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_48_1608.jpg
/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_50_1617.jpg
/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_51_1704.jpg
/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_53_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":["1399549284","1399549287","1399549281","1399549283","1399549280","1399549285"],"photo_ids_order":["1399549280","1399549281","1399549283","1399549284","1399549285","1399549287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f483cd96c18238e12903da5c43fdaa4a.jpg","text":"TemporaryFile(/tmp/multipartBody1185776284937712018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829382826,"filename":"image_05112025_16_13_50_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/15/6c259c72240d63c621675758e8d9f66b.jpg","text":"TemporaryFile(/tmp/multipartBody891472695966669712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829382826,"filename":"image_05112025_16_13_53_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/15/8eea7b39c9fd3505218a855c46639ea6.jpg","text":"TemporaryFile(/tmp/multipartBody8936575447099072510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829382826,"filename":"image_05112025_16_13_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/15/0fbb56910c180f56a6aed80ae1a394c7.jpg","text":"TemporaryFile(/tmp/multipartBody7583038572288554555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829382826,"filename":"image_05112025_16_13_48_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/15/afb9d291248828868b0bc486d46075e5.jpg","text":"TemporaryFile(/tmp/multipartBody2803527212543453140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829382826,"filename":"image_05112025_16_13_45_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/15/ae9ce50e97f329e920e399aa22361aad.jpg","text":"TemporaryFile(/tmp/multipartBody8606421374797024595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829382826,"filename":"image_05112025_16_13_51_1704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399549283","file1":"1399549281","file0":"1399549280","file4":"1399549285","file5":"1399549287","file3":"1399549284"},"map_files_photo_id_array":[{"photo_id":"1399549287","filename":"file5"},{"photo_id":"1399549283","filename":"file2"},{"photo_id":"1399549285","filename":"file4"},{"photo_id":"1399549281","filename":"file1"},{"photo_id":"1399549280","filename":"file0"},{"photo_id":"1399549284","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399549284":["hashtag1","hashtag2"]},{"1399549287":["hashtag1","hashtag2"]},{"1399549281":["hashtag1","hashtag2"]},{"1399549283":["hashtag1","hashtag2"]},{"1399549280":["hashtag1","hashtag2"]},{"1399549285":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399549284, 1399549287, 1399549281, 1399549283, 1399549280, 1399549285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.060001373291016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:09:22.385309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/06/image_15122025_21_07_05_9768.jpg', '/home/pi/Desktop/images/15122025/21/07/image_15122025_21_07_14_9834.jpg', '/home/pi/Desktop/images/15122025/21/07/image_15122025_21_07_24_9790.jpg', '/home/pi/Desktop/images/15122025/21/07/image_15122025_21_07_54_9626.jpg', '/home/pi/Desktop/images/15122025/21/07/image_15122025_21_08_04_9970.jpg', '/home/pi/Desktop/images/15122025/21/08/image_15122025_21_08_14_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/06/image_15122025_21_07_05_9768.jpg
/home/pi/Desktop/images/15122025/21/07/image_15122025_21_07_14_9834.jpg
/home/pi/Desktop/images/15122025/21/07/image_15122025_21_07_24_9790.jpg
/home/pi/Desktop/images/15122025/21/07/image_15122025_21_07_54_9626.jpg
/home/pi/Desktop/images/15122025/21/07/image_15122025_21_08_04_9970.jpg
/home/pi/Desktop/images/15122025/21/08/image_15122025_21_08_14_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":["1399549368","1399549331","1399549349","1399549334","1399549336","1399549351"],"photo_ids_order":["1399549331","1399549334","1399549336","1399549349","1399549351","1399549368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b4e9fe949d34d9bd0c02d2118f09b763.jpg","text":"TemporaryFile(/tmp/multipartBody3188212765556311108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829423011,"filename":"image_15122025_21_08_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/15/6e01ad32d38b520796dbffdb4d77e580.jpg","text":"TemporaryFile(/tmp/multipartBody5851633364129811242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829423011,"filename":"image_15122025_21_07_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/15/45b5e594b82df2dddc7da351bf6a874c.jpg","text":"TemporaryFile(/tmp/multipartBody580736823115629004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829423011,"filename":"image_15122025_21_07_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/15/6d926497cf15c4972eb401174a6e4963.jpg","text":"TemporaryFile(/tmp/multipartBody4149405784070307176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829423011,"filename":"image_15122025_21_07_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/15/00b4e3a63a9e7f2805161f3fa3c29e3e.jpg","text":"TemporaryFile(/tmp/multipartBody1511075612712771438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829423011,"filename":"image_15122025_21_07_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/15/cda57d3ebf23f801b408f542eb0a603a.jpg","text":"TemporaryFile(/tmp/multipartBody8981415620077162630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829423011,"filename":"image_15122025_21_08_04_9970.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399549336","file1":"1399549334","file0":"1399549331","file4":"1399549351","file5":"1399549368","file3":"1399549349"},"map_files_photo_id_array":[{"photo_id":"1399549368","filename":"file5"},{"photo_id":"1399549336","filename":"file2"},{"photo_id":"1399549351","filename":"file4"},{"photo_id":"1399549334","filename":"file1"},{"photo_id":"1399549331","filename":"file0"},{"photo_id":"1399549349","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399549368":["hashtag1","hashtag2"]},{"1399549331":["hashtag1","hashtag2"]},{"1399549349":["hashtag1","hashtag2"]},{"1399549334":["hashtag1","hashtag2"]},{"1399549336":["hashtag1","hashtag2"]},{"1399549351":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399549368, 1399549331, 1399549349, 1399549334, 1399549336, 1399549351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04093623161316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:10:02.990476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/08/image_15122025_21_08_34_9583.jpg', '/home/pi/Desktop/images/15122025/21/08/image_15122025_21_08_45_10667.jpg', '/home/pi/Desktop/images/15122025/21/08/image_15122025_21_08_54_9632.jpg', '/home/pi/Desktop/images/15122025/21/09/image_15122025_21_09_24_9686.jpg', '/home/pi/Desktop/images/15122025/21/09/image_15122025_21_09_45_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/08/image_15122025_21_08_34_9583.jpg
/home/pi/Desktop/images/15122025/21/08/image_15122025_21_08_45_10667.jpg
/home/pi/Desktop/images/15122025/21/08/image_15122025_21_08_54_9632.jpg
/home/pi/Desktop/images/15122025/21/09/image_15122025_21_09_24_9686.jpg
/home/pi/Desktop/images/15122025/21/09/image_15122025_21_09_45_10658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399549383","1399549443","1399549404","1399549433","1399549442"],"photo_ids_order":["1399549383","1399549404","1399549433","1399549442","1399549443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d96fe7e3f6483086f66f948e08625e9a.jpg","text":"TemporaryFile(/tmp/multipartBody1488075087655990893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829463574,"filename":"image_15122025_21_08_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/15/4d3738a8e30cdb59e69384f5de92b36e.jpg","text":"TemporaryFile(/tmp/multipartBody3511035801686304657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829463574,"filename":"image_15122025_21_09_45_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b7755ba93f4630bbae394fbe437f5bc6.jpg","text":"TemporaryFile(/tmp/multipartBody9187274872503729492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829463574,"filename":"image_15122025_21_08_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/15/32a44002ee6187eeb48e7ab748008cd6.jpg","text":"TemporaryFile(/tmp/multipartBody6740399978521002598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829463574,"filename":"image_15122025_21_08_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/15/ab1a39d7b7e7312f30f20c32ea553336.jpg","text":"TemporaryFile(/tmp/multipartBody5047847538067888937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829463574,"filename":"image_15122025_21_09_24_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399549433","file1":"1399549404","file0":"1399549383","file4":"1399549443","file3":"1399549442"},"map_files_photo_id_array":[{"photo_id":"1399549433","filename":"file2"},{"photo_id":"1399549443","filename":"file4"},{"photo_id":"1399549404","filename":"file1"},{"photo_id":"1399549383","filename":"file0"},{"photo_id":"1399549442","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399549383":["hashtag1","hashtag2"]},{"1399549443":["hashtag1","hashtag2"]},{"1399549404":["hashtag1","hashtag2"]},{"1399549433":["hashtag1","hashtag2"]},{"1399549442":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399549383, 1399549443, 1399549404, 1399549433, 1399549442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.53456425666809 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 21:10:42.550959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_55_1594.jpg', '/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_56_1516.jpg', '/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_59_2635.jpg', '/home/pi/Desktop/images/05112025/16/14/image_05112025_16_14_03_4429.jpg', '/home/pi/Desktop/images/05112025/16/14/image_05112025_16_14_05_1528.jpg', '/home/pi/Desktop/images/05112025/16/14/image_05112025_16_14_11_3741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_55_1594.jpg
/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_56_1516.jpg
/home/pi/Desktop/images/05112025/16/13/image_05112025_16_13_59_2635.jpg
/home/pi/Desktop/images/05112025/16/14/image_05112025_16_14_03_4429.jpg
/home/pi/Desktop/images/05112025/16/14/image_05112025_16_14_05_1528.jpg
/home/pi/Desktop/images/05112025/16/14/image_05112025_16_14_11_3741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399549452","1399549455","1399549454","1399549453","1399549456","1399549450"],"photo_ids_order":["1399549450","1399549452","1399549453","1399549454","1399549455","1399549456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/00dcff3cfeb243bf34b82466b3101b87.jpg","text":"TemporaryFile(/tmp/multipartBody6655693617800198522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829503276,"filename":"image_05112025_16_13_56_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/15/013b298a1b495fad40dc892063a17e1d.jpg","text":"TemporaryFile(/tmp/multipartBody1699584776451608265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829503276,"filename":"image_05112025_16_14_05_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/15/3e38da0c3af6c2e8a24064619d13127c.jpg","text":"TemporaryFile(/tmp/multipartBody4547572853736139326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829503276,"filename":"image_05112025_16_14_03_4429.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8aa50f7ce69f49638db12b452ac03c65.jpg","text":"TemporaryFile(/tmp/multipartBody6094164824779381429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829503276,"filename":"image_05112025_16_13_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/15/8de79cf5d75f1166038a84cb3390562e.jpg","text":"TemporaryFile(/tmp/multipartBody439696881488517356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829503276,"filename":"image_05112025_16_14_11_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c48ba03ad16f319caa67bf4281be95c9.jpg","text":"TemporaryFile(/tmp/multipartBody2431766820332457067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829503276,"filename":"image_05112025_16_13_55_1594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399549453","file1":"1399549452","file0":"1399549450","file4":"1399549455","file5":"1399549456","file3":"1399549454"},"map_files_photo_id_array":[{"photo_id":"1399549456","filename":"file5"},{"photo_id":"1399549453","filename":"file2"},{"photo_id":"1399549455","filename":"file4"},{"photo_id":"1399549452","filename":"file1"},{"photo_id":"1399549450","filename":"file0"},{"photo_id":"1399549454","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399549452":["hashtag1","hashtag2"]},{"1399549455":["hashtag1","hashtag2"]},{"1399549454":["hashtag1","hashtag2"]},{"1399549453":["hashtag1","hashtag2"]},{"1399549456":["hashtag1","hashtag2"]},{"1399549450":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399549452, 1399549455, 1399549454, 1399549453, 1399549456, 1399549450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73993945121765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:11:22.866365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/09/image_15122025_21_09_54_9780.jpg', '/home/pi/Desktop/images/15122025/21/09/image_15122025_21_10_04_9718.jpg', '/home/pi/Desktop/images/15122025/21/10/image_15122025_21_10_15_10722.jpg', '/home/pi/Desktop/images/15122025/21/10/image_15122025_21_10_25_9733.jpg', '/home/pi/Desktop/images/15122025/21/10/image_15122025_21_10_34_9663.jpg', '/home/pi/Desktop/images/15122025/21/10/image_15122025_21_10_55_10693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/09/image_15122025_21_09_54_9780.jpg
/home/pi/Desktop/images/15122025/21/09/image_15122025_21_10_04_9718.jpg
/home/pi/Desktop/images/15122025/21/10/image_15122025_21_10_15_10722.jpg
/home/pi/Desktop/images/15122025/21/10/image_15122025_21_10_25_9733.jpg
/home/pi/Desktop/images/15122025/21/10/image_15122025_21_10_34_9663.jpg
/home/pi/Desktop/images/15122025/21/10/image_15122025_21_10_55_10693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399549464","1399549458","1399549469","1399549466","1399549460","1399549462"],"photo_ids_order":["1399549458","1399549460","1399549462","1399549464","1399549466","1399549469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/46dc510f4b905ac94824f2c4ba6a7725.jpg","text":"TemporaryFile(/tmp/multipartBody3799032563417483236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829543488,"filename":"image_15122025_21_10_25_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/898d7ac4e7c00e4ccdda7925f49a36c2.jpg","text":"TemporaryFile(/tmp/multipartBody6533885461797137749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829543488,"filename":"image_15122025_21_09_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/15/5eafe3912e35c36f195790e8b669b16b.jpg","text":"TemporaryFile(/tmp/multipartBody8875872612706335936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829543488,"filename":"image_15122025_21_10_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/15/ef53f33e764ceadcb9af391023e5334a.jpg","text":"TemporaryFile(/tmp/multipartBody3268518952194678917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829543488,"filename":"image_15122025_21_10_34_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5de49262776e2946ff3d67a1ea3ef17d.jpg","text":"TemporaryFile(/tmp/multipartBody9027381664464109381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829543488,"filename":"image_15122025_21_10_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/15/bdbfd540612527ca04469062efcd66e1.jpg","text":"TemporaryFile(/tmp/multipartBody5810209235263689811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829543488,"filename":"image_15122025_21_10_15_10722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399549462","file1":"1399549460","file0":"1399549458","file4":"1399549466","file5":"1399549469","file3":"1399549464"},"map_files_photo_id_array":[{"photo_id":"1399549469","filename":"file5"},{"photo_id":"1399549462","filename":"file2"},{"photo_id":"1399549466","filename":"file4"},{"photo_id":"1399549460","filename":"file1"},{"photo_id":"1399549458","filename":"file0"},{"photo_id":"1399549464","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399549464":["hashtag1","hashtag2"]},{"1399549458":["hashtag1","hashtag2"]},{"1399549469":["hashtag1","hashtag2"]},{"1399549466":["hashtag1","hashtag2"]},{"1399549460":["hashtag1","hashtag2"]},{"1399549462":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399549464, 1399549458, 1399549469, 1399549466, 1399549460, 1399549462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63178372383118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:12:02.452587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/10/image_15122025_21_11_05_9924.jpg', '/home/pi/Desktop/images/15122025/21/11/image_15122025_21_11_24_9850.jpg', '/home/pi/Desktop/images/15122025/21/11/image_15122025_21_11_35_10796.jpg', '/home/pi/Desktop/images/15122025/21/11/image_15122025_21_11_44_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/10/image_15122025_21_11_05_9924.jpg
/home/pi/Desktop/images/15122025/21/11/image_15122025_21_11_24_9850.jpg
/home/pi/Desktop/images/15122025/21/11/image_15122025_21_11_35_10796.jpg
/home/pi/Desktop/images/15122025/21/11/image_15122025_21_11_44_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":["1399549563","1399549562","1399549561","1399549564"],"photo_ids_order":["1399549561","1399549562","1399549563","1399549564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/eabf054bce569314603b1c985a998112.jpg","text":"TemporaryFile(/tmp/multipartBody4644872878777299135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829582987,"filename":"image_15122025_21_11_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/15/1f14fd5c549b527ba538b36d3b09e3b9.jpg","text":"TemporaryFile(/tmp/multipartBody5507068717006706111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829582987,"filename":"image_15122025_21_11_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/15/c233c33fc6579c81f91f6cb6bbbebae4.jpg","text":"TemporaryFile(/tmp/multipartBody8495068030621822458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829582987,"filename":"image_15122025_21_11_05_9924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e827cf9a7ddb1a92bfe18f5b46346fee.jpg","text":"TemporaryFile(/tmp/multipartBody584150889986286011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829582987,"filename":"image_15122025_21_11_44_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399549563","file1":"1399549562","file0":"1399549561","file3":"1399549564"},"map_files_photo_id_array":[{"photo_id":"1399549563","filename":"file2"},{"photo_id":"1399549562","filename":"file1"},{"photo_id":"1399549561","filename":"file0"},{"photo_id":"1399549564","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399549563":["hashtag1","hashtag2"]},{"1399549562":["hashtag1","hashtag2"]},{"1399549561":["hashtag1","hashtag2"]},{"1399549564":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399549563, 1399549562, 1399549561, 1399549564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.386560440063477 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 21:12:31.963300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 21:12:42.066046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/14/image_05112025_16_14_14_2660.jpg', '/home/pi/Desktop/images/05112025/16/14/image_05112025_16_14_18_4126.jpg', '/home/pi/Desktop/images/05112025/16/14/image_05112025_16_14_20_1805.jpg', '/home/pi/Desktop/images/05112025/16/14/image_05112025_16_14_24_4083.jpg', '/home/pi/Desktop/images/05112025/16/14/image_05112025_16_14_26_1659.jpg', '/home/pi/Desktop/images/05112025/16/14/image_05112025_16_14_33_7222.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/14/image_05112025_16_14_14_2660.jpg
/home/pi/Desktop/images/05112025/16/14/image_05112025_16_14_18_4126.jpg
/home/pi/Desktop/images/05112025/16/14/image_05112025_16_14_20_1805.jpg
/home/pi/Desktop/images/05112025/16/14/image_05112025_16_14_24_4083.jpg
/home/pi/Desktop/images/05112025/16/14/image_05112025_16_14_26_1659.jpg
/home/pi/Desktop/images/05112025/16/14/image_05112025_16_14_33_7222.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399549581","1399549575","1399549574","1399549577","1399549579","1399549570"],"photo_ids_order":["1399549570","1399549574","1399549575","1399549577","1399549579","1399549581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/23c1a48d53899960c2fa69f2260b193e.jpg","text":"TemporaryFile(/tmp/multipartBody2917291633160834760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829622816,"filename":"image_05112025_16_14_33_7222.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e90f6e0e176c36dab0a1311716c52d84.jpg","text":"TemporaryFile(/tmp/multipartBody3659421659893502612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829622816,"filename":"image_05112025_16_14_20_1805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4dcb5a7b8d579f144894bb95b506f7e8.jpg","text":"TemporaryFile(/tmp/multipartBody7806691796516526956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829622816,"filename":"image_05112025_16_14_18_4126.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/45af887f7088fd2dbd5fa9130c21ff2b.jpg","text":"TemporaryFile(/tmp/multipartBody3061530359861531529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829622816,"filename":"image_05112025_16_14_24_4083.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d0b1ecab9668d019474753a6f3ca71a9.jpg","text":"TemporaryFile(/tmp/multipartBody6696640332659269895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829622816,"filename":"image_05112025_16_14_26_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/15/841b75914398671506d41e6d8e5e50da.jpg","text":"TemporaryFile(/tmp/multipartBody42889906591077724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829622816,"filename":"image_05112025_16_14_14_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399549575","file1":"1399549574","file0":"1399549570","file4":"1399549579","file5":"1399549581","file3":"1399549577"},"map_files_photo_id_array":[{"photo_id":"1399549581","filename":"file5"},{"photo_id":"1399549575","filename":"file2"},{"photo_id":"1399549579","filename":"file4"},{"photo_id":"1399549574","filename":"file1"},{"photo_id":"1399549570","filename":"file0"},{"photo_id":"1399549577","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399549581":["hashtag1","hashtag2"]},{"1399549575":["hashtag1","hashtag2"]},{"1399549574":["hashtag1","hashtag2"]},{"1399549577":["hashtag1","hashtag2"]},{"1399549579":["hashtag1","hashtag2"]},{"1399549570":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399549581, 1399549575, 1399549574, 1399549577, 1399549579, 1399549570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6311297416687 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:13:22.408642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/11/image_15122025_21_11_54_9680.jpg', '/home/pi/Desktop/images/15122025/21/11/image_15122025_21_12_05_10682.jpg', '/home/pi/Desktop/images/15122025/21/12/image_15122025_21_12_34_9704.jpg', '/home/pi/Desktop/images/15122025/21/12/image_15122025_21_12_45_10659.jpg', '/home/pi/Desktop/images/15122025/21/12/image_15122025_21_12_54_9616.jpg', '/home/pi/Desktop/images/15122025/21/13/image_15122025_21_13_14_9952.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/11/image_15122025_21_11_54_9680.jpg
/home/pi/Desktop/images/15122025/21/11/image_15122025_21_12_05_10682.jpg
/home/pi/Desktop/images/15122025/21/12/image_15122025_21_12_34_9704.jpg
/home/pi/Desktop/images/15122025/21/12/image_15122025_21_12_45_10659.jpg
/home/pi/Desktop/images/15122025/21/12/image_15122025_21_12_54_9616.jpg
/home/pi/Desktop/images/15122025/21/13/image_15122025_21_13_14_9952.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399549590","1399549584","1399549592","1399549586","1399549595","1399549588"],"photo_ids_order":["1399549584","1399549586","1399549588","1399549590","1399549592","1399549595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/97f0a0934b66084d8cc89c7071df697e.jpg","text":"TemporaryFile(/tmp/multipartBody68249583030317457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829663083,"filename":"image_15122025_21_12_45_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ea206852993991e16ddd37f444f5612e.jpg","text":"TemporaryFile(/tmp/multipartBody5465374844554769315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829663083,"filename":"image_15122025_21_11_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/15/72d09f00c1b8da46218d820eb8e0fbfe.jpg","text":"TemporaryFile(/tmp/multipartBody8838257760828891042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829663083,"filename":"image_15122025_21_12_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/15/f3620e4f5ab1b43d31e02f040532d42f.jpg","text":"TemporaryFile(/tmp/multipartBody2440952035891218466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829663083,"filename":"image_15122025_21_12_05_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/57c8332b62c2a3c327c8ce0681260cc9.jpg","text":"TemporaryFile(/tmp/multipartBody8567162875645369572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829663083,"filename":"image_15122025_21_13_14_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/15/4f69a64c1995ccf6a9180a8e51d8336a.jpg","text":"TemporaryFile(/tmp/multipartBody1138989568368051601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829663083,"filename":"image_15122025_21_12_34_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399549588","file1":"1399549586","file0":"1399549584","file4":"1399549592","file5":"1399549595","file3":"1399549590"},"map_files_photo_id_array":[{"photo_id":"1399549595","filename":"file5"},{"photo_id":"1399549588","filename":"file2"},{"photo_id":"1399549592","filename":"file4"},{"photo_id":"1399549586","filename":"file1"},{"photo_id":"1399549584","filename":"file0"},{"photo_id":"1399549590","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399549590":["hashtag1","hashtag2"]},{"1399549584":["hashtag1","hashtag2"]},{"1399549592":["hashtag1","hashtag2"]},{"1399549586":["hashtag1","hashtag2"]},{"1399549595":["hashtag1","hashtag2"]},{"1399549588":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399549590, 1399549584, 1399549592, 1399549586, 1399549595, 1399549588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5539026260376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:14:03.212221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/13/image_15122025_21_13_25_10853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/13/image_15122025_21_13_25_10853.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3180365562438965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 21:14:12.510874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:14:22.568300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/13/image_15122025_21_13_25_10853.jpg', '/home/pi/Desktop/images/15122025/21/13/image_15122025_21_13_44_9704.jpg', '/home/pi/Desktop/images/15122025/21/13/image_15122025_21_14_05_9768.jpg', '/home/pi/Desktop/images/15122025/21/14/image_15122025_21_14_14_9693.jpg', '/home/pi/Desktop/images/15122025/21/14/image_15122025_21_14_24_9877.jpg', '/home/pi/Desktop/images/15122025/21/14/image_15122025_21_14_34_9822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/13/image_15122025_21_13_25_10853.jpg
/home/pi/Desktop/images/15122025/21/13/image_15122025_21_13_44_9704.jpg
/home/pi/Desktop/images/15122025/21/13/image_15122025_21_14_05_9768.jpg
/home/pi/Desktop/images/15122025/21/14/image_15122025_21_14_14_9693.jpg
/home/pi/Desktop/images/15122025/21/14/image_15122025_21_14_24_9877.jpg
/home/pi/Desktop/images/15122025/21/14/image_15122025_21_14_34_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":["1399549606","1399549599","1399549608","1399549611","1399549604","1399549601"],"photo_ids_order":["1399549599","1399549601","1399549604","1399549606","1399549608","1399549611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/36e9def86a50e0ba72a4cfcb197ebc50.jpg","text":"TemporaryFile(/tmp/multipartBody2469252667328403865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829723204,"filename":"image_15122025_21_14_14_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/af2af74fc10beee56493a1f92a660bec.jpg","text":"TemporaryFile(/tmp/multipartBody2496489931101047085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829723204,"filename":"image_15122025_21_13_25_10853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bd3895fc30b671b90584c46e14e15561.jpg","text":"TemporaryFile(/tmp/multipartBody1383710225356788462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829723204,"filename":"image_15122025_21_14_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/15/5157384cefdf2124c41c5f19272850a5.jpg","text":"TemporaryFile(/tmp/multipartBody5757290124754071651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829723204,"filename":"image_15122025_21_14_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/15/d52ffe896315f8fdd8731e0ac65d2022.jpg","text":"TemporaryFile(/tmp/multipartBody1590631696009437136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829723204,"filename":"image_15122025_21_14_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/15/0d17a8acc085f56a8c901d67641690cc.jpg","text":"TemporaryFile(/tmp/multipartBody2428084299465859466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829723204,"filename":"image_15122025_21_13_44_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399549604","file1":"1399549601","file0":"1399549599","file4":"1399549608","file5":"1399549611","file3":"1399549606"},"map_files_photo_id_array":[{"photo_id":"1399549611","filename":"file5"},{"photo_id":"1399549604","filename":"file2"},{"photo_id":"1399549608","filename":"file4"},{"photo_id":"1399549601","filename":"file1"},{"photo_id":"1399549599","filename":"file0"},{"photo_id":"1399549606","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399549606":["hashtag1","hashtag2"]},{"1399549599":["hashtag1","hashtag2"]},{"1399549608":["hashtag1","hashtag2"]},{"1399549611":["hashtag1","hashtag2"]},{"1399549604":["hashtag1","hashtag2"]},{"1399549601":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399549606, 1399549599, 1399549608, 1399549611, 1399549604, 1399549601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90112042427063 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:15:03.412385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/14/image_15122025_21_14_45_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/14/image_15122025_21_14_45_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.32415127754211426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 21:15:12.707326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:15:22.781721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/14/image_15122025_21_14_45_10617.jpg', '/home/pi/Desktop/images/15122025/21/14/image_15122025_21_14_55_9934.jpg', '/home/pi/Desktop/images/15122025/21/14/image_15122025_21_15_04_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/14/image_15122025_21_14_45_10617.jpg
/home/pi/Desktop/images/15122025/21/14/image_15122025_21_14_55_9934.jpg
/home/pi/Desktop/images/15122025/21/14/image_15122025_21_15_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":["1399549623","1399549613","1399549616"],"photo_ids_order":["1399549613","1399549616","1399549623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/100d159efd132e9a0bcebea751278a46.jpg","text":"TemporaryFile(/tmp/multipartBody4191764638393268165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829783284,"filename":"image_15122025_21_15_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/15/451e7ba6e63d2cb9e0848cccd33f9027.jpg","text":"TemporaryFile(/tmp/multipartBody6768939052890304224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829783284,"filename":"image_15122025_21_14_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/15/44eb02294e67c154735f9481e909ba97.jpg","text":"TemporaryFile(/tmp/multipartBody3835276312656745757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829783284,"filename":"image_15122025_21_14_55_9934.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399549623","file1":"1399549616","file0":"1399549613"},"map_files_photo_id_array":[{"photo_id":"1399549623","filename":"file2"},{"photo_id":"1399549616","filename":"file1"},{"photo_id":"1399549613","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399549623":["hashtag1","hashtag2"]},{"1399549613":["hashtag1","hashtag2"]},{"1399549616":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399549623, 1399549613, 1399549616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.551082372665405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:16:02.523425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 21:16:11.952203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:16:22.014196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/15/image_15122025_21_15_55_9806.jpg', '/home/pi/Desktop/images/15122025/21/16/image_15122025_21_16_25_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/15/image_15122025_21_15_55_9806.jpg
/home/pi/Desktop/images/15122025/21/16/image_15122025_21_16_25_9673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399549695","1399549692"],"photo_ids_order":["1399549692","1399549695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8c6d9f6ec9e0dbcc4abebdb712f7ff45.jpg","text":"TemporaryFile(/tmp/multipartBody6565202828266300281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829842477,"filename":"image_15122025_21_16_25_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/eb7b67809d92a3b50fd0d2c7812e55a5.jpg","text":"TemporaryFile(/tmp/multipartBody6176686788741909204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829842477,"filename":"image_15122025_21_15_55_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399549695","file0":"1399549692"},"map_files_photo_id_array":[{"photo_id":"1399549695","filename":"file1"},{"photo_id":"1399549692","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399549695":["hashtag1","hashtag2"]},{"1399549692":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399549695, 1399549692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.803122997283936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 21:16:41.964287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/14/image_05112025_16_14_35_1780.jpg', '/home/pi/Desktop/images/05112025/16/14/image_05112025_16_14_39_4035.jpg', '/home/pi/Desktop/images/05112025/16/14/image_05112025_16_14_40_1677.jpg', '/home/pi/Desktop/images/05112025/16/14/image_05112025_16_14_47_7178.jpg', '/home/pi/Desktop/images/05112025/16/14/image_05112025_16_14_53_5945.jpg', '/home/pi/Desktop/images/05112025/16/14/image_05112025_16_14_55_1615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/14/image_05112025_16_14_35_1780.jpg
/home/pi/Desktop/images/05112025/16/14/image_05112025_16_14_39_4035.jpg
/home/pi/Desktop/images/05112025/16/14/image_05112025_16_14_40_1677.jpg
/home/pi/Desktop/images/05112025/16/14/image_05112025_16_14_47_7178.jpg
/home/pi/Desktop/images/05112025/16/14/image_05112025_16_14_53_5945.jpg
/home/pi/Desktop/images/05112025/16/14/image_05112025_16_14_55_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":["1399549698","1399549836","1399549700","1399549762","1399549729","1399549801"],"photo_ids_order":["1399549698","1399549700","1399549729","1399549762","1399549801","1399549836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/534a4f2d790b444a7ad53751eaf9c21c.jpg","text":"TemporaryFile(/tmp/multipartBody2280282226328675100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829862682,"filename":"image_05112025_16_14_35_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/15/9b859548eb27df93ea3f821b4283e52a.jpg","text":"TemporaryFile(/tmp/multipartBody1359211591327546394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829862682,"filename":"image_05112025_16_14_55_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/15/ccc3ba4b0997cf6a9aef0decd9aeada0.jpg","text":"TemporaryFile(/tmp/multipartBody7161786223731788409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829862682,"filename":"image_05112025_16_14_39_4035.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4caadb5a4e312a77922dde1be1170517.jpg","text":"TemporaryFile(/tmp/multipartBody1201025412875570591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829862682,"filename":"image_05112025_16_14_47_7178.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5b56b5a4133ba5d13bc9f17df5c33b57.jpg","text":"TemporaryFile(/tmp/multipartBody1343530979372575620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829862682,"filename":"image_05112025_16_14_40_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/15/da78977071a3724c1c9fc9e6d3ef7487.jpg","text":"TemporaryFile(/tmp/multipartBody6868068578793891178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829862682,"filename":"image_05112025_16_14_53_5945.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399549729","file1":"1399549700","file0":"1399549698","file4":"1399549801","file5":"1399549836","file3":"1399549762"},"map_files_photo_id_array":[{"photo_id":"1399549836","filename":"file5"},{"photo_id":"1399549729","filename":"file2"},{"photo_id":"1399549801","filename":"file4"},{"photo_id":"1399549700","filename":"file1"},{"photo_id":"1399549698","filename":"file0"},{"photo_id":"1399549762","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399549698":["hashtag1","hashtag2"]},{"1399549836":["hashtag1","hashtag2"]},{"1399549700":["hashtag1","hashtag2"]},{"1399549762":["hashtag1","hashtag2"]},{"1399549729":["hashtag1","hashtag2"]},{"1399549801":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399549698, 1399549836, 1399549700, 1399549762, 1399549729, 1399549801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06264352798462 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:17:22.201539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/16/image_15122025_21_16_45_10673.jpg', '/home/pi/Desktop/images/15122025/21/16/image_15122025_21_17_04_9673.jpg', '/home/pi/Desktop/images/15122025/21/17/image_15122025_21_17_14_9683.jpg', '/home/pi/Desktop/images/15122025/21/17/image_15122025_21_17_25_10772.jpg', '/home/pi/Desktop/images/15122025/21/17/image_15122025_21_17_34_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/16/image_15122025_21_16_45_10673.jpg
/home/pi/Desktop/images/15122025/21/16/image_15122025_21_17_04_9673.jpg
/home/pi/Desktop/images/15122025/21/17/image_15122025_21_17_14_9683.jpg
/home/pi/Desktop/images/15122025/21/17/image_15122025_21_17_25_10772.jpg
/home/pi/Desktop/images/15122025/21/17/image_15122025_21_17_34_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":["1399549905","1399549908","1399549910","1399549876","1399549858"],"photo_ids_order":["1399549858","1399549876","1399549905","1399549908","1399549910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2c293c1d27f6a095ca1ae95b7dddbdfe.jpg","text":"TemporaryFile(/tmp/multipartBody2759944150251981174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829902758,"filename":"image_15122025_21_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/15/c4598c614eaea264641e9f0a77d3090d.jpg","text":"TemporaryFile(/tmp/multipartBody7533775176025389776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829902758,"filename":"image_15122025_21_17_25_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/15/ab8b3203d82dd37e9303a41d46af37bd.jpg","text":"TemporaryFile(/tmp/multipartBody5418208579603036797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829902758,"filename":"image_15122025_21_17_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/15/18bb018a9f18646abf83c016e34e1b98.jpg","text":"TemporaryFile(/tmp/multipartBody6706707416077759203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829902758,"filename":"image_15122025_21_17_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/15/fb5ac18275de295c9545d612b345012d.jpg","text":"TemporaryFile(/tmp/multipartBody2945679497103330574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829902758,"filename":"image_15122025_21_16_45_10673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399549905","file1":"1399549876","file0":"1399549858","file4":"1399549910","file3":"1399549908"},"map_files_photo_id_array":[{"photo_id":"1399549905","filename":"file2"},{"photo_id":"1399549910","filename":"file4"},{"photo_id":"1399549876","filename":"file1"},{"photo_id":"1399549858","filename":"file0"},{"photo_id":"1399549908","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399549905":["hashtag1","hashtag2"]},{"1399549908":["hashtag1","hashtag2"]},{"1399549910":["hashtag1","hashtag2"]},{"1399549876":["hashtag1","hashtag2"]},{"1399549858":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399549905, 1399549908, 1399549910, 1399549876, 1399549858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.392316818237305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:18:02.923741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 21:18:12.526864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:18:22.432553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/17/image_15122025_21_17_44_9689.jpg', '/home/pi/Desktop/images/15122025/21/18/image_15122025_21_18_14_9630.jpg', '/home/pi/Desktop/images/15122025/21/18/image_15122025_21_18_24_9816.jpg', '/home/pi/Desktop/images/15122025/21/18/image_15122025_21_18_35_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/17/image_15122025_21_17_44_9689.jpg
/home/pi/Desktop/images/15122025/21/18/image_15122025_21_18_14_9630.jpg
/home/pi/Desktop/images/15122025/21/18/image_15122025_21_18_24_9816.jpg
/home/pi/Desktop/images/15122025/21/18/image_15122025_21_18_35_10653.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4426875114440918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 21:18:32.513420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 21:18:42.511859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/14/image_05112025_16_14_57_1700.jpg', '/home/pi/Desktop/images/05112025/16/14/image_05112025_16_14_58_1610.jpg', '/home/pi/Desktop/images/05112025/16/14/image_05112025_16_15_00_1717.jpg', '/home/pi/Desktop/images/05112025/16/15/image_05112025_16_15_07_3011.jpg', '/home/pi/Desktop/images/05112025/16/15/image_05112025_16_15_10_3762.jpg', '/home/pi/Desktop/images/05112025/16/15/image_05112025_16_15_13_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/14/image_05112025_16_14_57_1700.jpg
/home/pi/Desktop/images/05112025/16/14/image_05112025_16_14_58_1610.jpg
/home/pi/Desktop/images/05112025/16/14/image_05112025_16_15_00_1717.jpg
/home/pi/Desktop/images/05112025/16/15/image_05112025_16_15_07_3011.jpg
/home/pi/Desktop/images/05112025/16/15/image_05112025_16_15_10_3762.jpg
/home/pi/Desktop/images/05112025/16/15/image_05112025_16_15_13_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":["1399550032","1399550029","1399550031","1399550034","1399550028","1399550030"],"photo_ids_order":["1399550028","1399550029","1399550030","1399550031","1399550032","1399550034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/45262a8ad678b88c68b1158eb9112fe4.jpg","text":"TemporaryFile(/tmp/multipartBody3636247864977421466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829983224,"filename":"image_05112025_16_15_10_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/15/85051d10a50b88d9a34acd21a702cdfa.jpg","text":"TemporaryFile(/tmp/multipartBody3953794068635853616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829983224,"filename":"image_05112025_16_14_58_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/15/c86d402469676d4d43f9468652513028.jpg","text":"TemporaryFile(/tmp/multipartBody6218883460102748426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829983224,"filename":"image_05112025_16_15_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a1394028f87a8378d5e6afaa37d481ed.jpg","text":"TemporaryFile(/tmp/multipartBody3062116309398594930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829983224,"filename":"image_05112025_16_15_13_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/24e1dce73b1ff9d81cb195f4a1d78607.jpg","text":"TemporaryFile(/tmp/multipartBody275318229665292056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829983224,"filename":"image_05112025_16_14_57_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/15/f879bae00f226d0e8331a543b3a2aca0.jpg","text":"TemporaryFile(/tmp/multipartBody7560680993045710976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765829983224,"filename":"image_05112025_16_15_00_1717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399550030","file1":"1399550029","file0":"1399550028","file4":"1399550032","file5":"1399550034","file3":"1399550031"},"map_files_photo_id_array":[{"photo_id":"1399550034","filename":"file5"},{"photo_id":"1399550030","filename":"file2"},{"photo_id":"1399550032","filename":"file4"},{"photo_id":"1399550029","filename":"file1"},{"photo_id":"1399550028","filename":"file0"},{"photo_id":"1399550031","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399550032":["hashtag1","hashtag2"]},{"1399550029":["hashtag1","hashtag2"]},{"1399550031":["hashtag1","hashtag2"]},{"1399550034":["hashtag1","hashtag2"]},{"1399550028":["hashtag1","hashtag2"]},{"1399550030":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399550032, 1399550029, 1399550031, 1399550034, 1399550028, 1399550030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.067755699157715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:19:22.769192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/17/image_15122025_21_17_44_9689.jpg', '/home/pi/Desktop/images/15122025/21/18/image_15122025_21_18_14_9630.jpg', '/home/pi/Desktop/images/15122025/21/18/image_15122025_21_18_24_9816.jpg', '/home/pi/Desktop/images/15122025/21/18/image_15122025_21_18_35_10653.jpg', '/home/pi/Desktop/images/15122025/21/18/image_15122025_21_18_54_9878.jpg', '/home/pi/Desktop/images/15122025/21/18/image_15122025_21_19_04_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/17/image_15122025_21_17_44_9689.jpg
/home/pi/Desktop/images/15122025/21/18/image_15122025_21_18_14_9630.jpg
/home/pi/Desktop/images/15122025/21/18/image_15122025_21_18_24_9816.jpg
/home/pi/Desktop/images/15122025/21/18/image_15122025_21_18_35_10653.jpg
/home/pi/Desktop/images/15122025/21/18/image_15122025_21_18_54_9878.jpg
/home/pi/Desktop/images/15122025/21/18/image_15122025_21_19_04_9705.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5294463634490967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 21:19:32.843329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 21:19:42.707308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/15/image_05112025_16_15_16_2773.jpg', '/home/pi/Desktop/images/05112025/16/15/image_05112025_16_15_19_3751.jpg', '/home/pi/Desktop/images/05112025/16/15/image_05112025_16_15_22_2908.jpg', '/home/pi/Desktop/images/05112025/16/15/image_05112025_16_15_25_2669.jpg', '/home/pi/Desktop/images/05112025/16/15/image_05112025_16_15_28_2624.jpg', '/home/pi/Desktop/images/05112025/16/15/image_05112025_16_15_31_3555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/15/image_05112025_16_15_16_2773.jpg
/home/pi/Desktop/images/05112025/16/15/image_05112025_16_15_19_3751.jpg
/home/pi/Desktop/images/05112025/16/15/image_05112025_16_15_22_2908.jpg
/home/pi/Desktop/images/05112025/16/15/image_05112025_16_15_25_2669.jpg
/home/pi/Desktop/images/05112025/16/15/image_05112025_16_15_28_2624.jpg
/home/pi/Desktop/images/05112025/16/15/image_05112025_16_15_31_3555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399550050","1399550049","1399550052","1399550046","1399550051","1399550048"],"photo_ids_order":["1399550046","1399550048","1399550049","1399550050","1399550051","1399550052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8b029f8df07cb14bf7eae1cd6aba702e.jpg","text":"TemporaryFile(/tmp/multipartBody7575817461391135620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830043418,"filename":"image_05112025_16_15_25_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/15/66d79065d80f947e6eedcadbcde2d442.jpg","text":"TemporaryFile(/tmp/multipartBody6430854220009009659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830043418,"filename":"image_05112025_16_15_22_2908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4f0b7768850bf2351e8af174490250e7.jpg","text":"TemporaryFile(/tmp/multipartBody3934838196482284775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830043418,"filename":"image_05112025_16_15_31_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/15/a77165f7f2e9c7f69f414db2efb54e94.jpg","text":"TemporaryFile(/tmp/multipartBody2292637588574016912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830043418,"filename":"image_05112025_16_15_16_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bf66b14d22c5eba272938ca26aebafd6.jpg","text":"TemporaryFile(/tmp/multipartBody2085991453134974037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830043418,"filename":"image_05112025_16_15_28_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/15/197474d9f46803b5466d1746f6815c93.jpg","text":"TemporaryFile(/tmp/multipartBody6192811099742194322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830043418,"filename":"image_05112025_16_15_19_3751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399550049","file1":"1399550048","file0":"1399550046","file4":"1399550051","file5":"1399550052","file3":"1399550050"},"map_files_photo_id_array":[{"photo_id":"1399550052","filename":"file5"},{"photo_id":"1399550049","filename":"file2"},{"photo_id":"1399550051","filename":"file4"},{"photo_id":"1399550048","filename":"file1"},{"photo_id":"1399550046","filename":"file0"},{"photo_id":"1399550050","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399550050":["hashtag1","hashtag2"]},{"1399550049":["hashtag1","hashtag2"]},{"1399550052":["hashtag1","hashtag2"]},{"1399550046":["hashtag1","hashtag2"]},{"1399550051":["hashtag1","hashtag2"]},{"1399550048":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399550050, 1399550049, 1399550052, 1399550046, 1399550051, 1399550048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16366195678711 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:20:21.951046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/17/image_15122025_21_17_44_9689.jpg', '/home/pi/Desktop/images/15122025/21/18/image_15122025_21_18_14_9630.jpg', '/home/pi/Desktop/images/15122025/21/18/image_15122025_21_18_24_9816.jpg', '/home/pi/Desktop/images/15122025/21/18/image_15122025_21_18_35_10653.jpg', '/home/pi/Desktop/images/15122025/21/18/image_15122025_21_18_54_9878.jpg', '/home/pi/Desktop/images/15122025/21/18/image_15122025_21_19_04_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/17/image_15122025_21_17_44_9689.jpg
/home/pi/Desktop/images/15122025/21/18/image_15122025_21_18_14_9630.jpg
/home/pi/Desktop/images/15122025/21/18/image_15122025_21_18_24_9816.jpg
/home/pi/Desktop/images/15122025/21/18/image_15122025_21_18_35_10653.jpg
/home/pi/Desktop/images/15122025/21/18/image_15122025_21_18_54_9878.jpg
/home/pi/Desktop/images/15122025/21/18/image_15122025_21_19_04_9705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399550059","1399550053","1399550055","1399550079","1399550084","1399550057"],"photo_ids_order":["1399550053","1399550055","1399550057","1399550059","1399550079","1399550084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4ef47c6e7a434740f6ffd3af58f84570.jpg","text":"TemporaryFile(/tmp/multipartBody8405326774108493961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830082582,"filename":"image_15122025_21_18_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/15/5d7600dd486ab1c2bf10a99eaf35a5a9.jpg","text":"TemporaryFile(/tmp/multipartBody8809346478749423906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830082582,"filename":"image_15122025_21_17_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/15/fa191e13f94eeffcb4cc2f401988aa6f.jpg","text":"TemporaryFile(/tmp/multipartBody5681581345647242884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830082582,"filename":"image_15122025_21_18_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/15/351253dd00e10080972cd5feb6339156.jpg","text":"TemporaryFile(/tmp/multipartBody5148317968493880089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830082582,"filename":"image_15122025_21_18_54_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/15/e72ab2ceabaf820cea539a1cf7a0a780.jpg","text":"TemporaryFile(/tmp/multipartBody3797035604484594012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830082582,"filename":"image_15122025_21_19_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/15/70c449d731b996d626533cd0f124f6a0.jpg","text":"TemporaryFile(/tmp/multipartBody1795416476225648393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830082582,"filename":"image_15122025_21_18_24_9816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399550057","file1":"1399550055","file0":"1399550053","file4":"1399550079","file5":"1399550084","file3":"1399550059"},"map_files_photo_id_array":[{"photo_id":"1399550084","filename":"file5"},{"photo_id":"1399550057","filename":"file2"},{"photo_id":"1399550079","filename":"file4"},{"photo_id":"1399550055","filename":"file1"},{"photo_id":"1399550053","filename":"file0"},{"photo_id":"1399550059","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399550059":["hashtag1","hashtag2"]},{"1399550053":["hashtag1","hashtag2"]},{"1399550055":["hashtag1","hashtag2"]},{"1399550079":["hashtag1","hashtag2"]},{"1399550084":["hashtag1","hashtag2"]},{"1399550057":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399550059, 1399550053, 1399550055, 1399550079, 1399550084, 1399550057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75838589668274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:21:03.041958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 21:21:12.177922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /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-15 21:21:29.864759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 21:21:42.382678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/15/image_05112025_16_15_34_2675.jpg', '/home/pi/Desktop/images/05112025/16/15/image_05112025_16_15_56_21779.jpg', '/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_13_17717.jpg', '/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_15_1547.jpg', '/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_22_7254.jpg', '/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_24_1602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/15/image_05112025_16_15_34_2675.jpg
/home/pi/Desktop/images/05112025/16/15/image_05112025_16_15_56_21779.jpg
/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_13_17717.jpg
/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_15_1547.jpg
/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_22_7254.jpg
/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_24_1602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399550137","1399550134","1399550136","1399550132","1399550135","1399550138"],"photo_ids_order":["1399550132","1399550134","1399550135","1399550136","1399550137","1399550138"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/db08fa76a91a8f3275809fb4aca682f2.jpg","text":"TemporaryFile(/tmp/multipartBody5050648297444979601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830163126,"filename":"image_05112025_16_16_22_7254.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8436c4c1f7e1618b9a014551ba339e53.jpg","text":"TemporaryFile(/tmp/multipartBody8202406900482626944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830163126,"filename":"image_05112025_16_15_56_21779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fb8d9510314c0d7b6f5a6d8945315395.jpg","text":"TemporaryFile(/tmp/multipartBody2113388048964703882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830163126,"filename":"image_05112025_16_16_15_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/15/f1491de16cb645f19e9e47e6623f5081.jpg","text":"TemporaryFile(/tmp/multipartBody3515953224771876458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830163126,"filename":"image_05112025_16_15_34_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/98e0fb6d5666b686294e59c0c092f8d1.jpg","text":"TemporaryFile(/tmp/multipartBody5119769087495457368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830163126,"filename":"image_05112025_16_16_13_17717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/71995daae37f65bfa07b5a7996f3712e.jpg","text":"TemporaryFile(/tmp/multipartBody2405115242492255113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830163126,"filename":"image_05112025_16_16_24_1602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399550135","file1":"1399550134","file0":"1399550132","file4":"1399550137","file5":"1399550138","file3":"1399550136"},"map_files_photo_id_array":[{"photo_id":"1399550138","filename":"file5"},{"photo_id":"1399550135","filename":"file2"},{"photo_id":"1399550137","filename":"file4"},{"photo_id":"1399550134","filename":"file1"},{"photo_id":"1399550132","filename":"file0"},{"photo_id":"1399550136","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399550137":["hashtag1","hashtag2"]},{"1399550134":["hashtag1","hashtag2"]},{"1399550136":["hashtag1","hashtag2"]},{"1399550132":["hashtag1","hashtag2"]},{"1399550135":["hashtag1","hashtag2"]},{"1399550138":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399550137, 1399550134, 1399550136, 1399550132, 1399550135, 1399550138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.162779569625854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:22:22.563233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/19/image_15122025_21_19_15_10787.jpg', '/home/pi/Desktop/images/15122025/21/21/image_15122025_21_21_54_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/19/image_15122025_21_19_15_10787.jpg
/home/pi/Desktop/images/15122025/21/21/image_15122025_21_21_54_9780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399550143","1399550145"],"photo_ids_order":["1399550143","1399550145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b614b1e66b69ce8f3b3b458d183472df.jpg","text":"TemporaryFile(/tmp/multipartBody262219575530698411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830203025,"filename":"image_15122025_21_19_15_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/15/11ca832e4502ae5517043c7a85af06b2.jpg","text":"TemporaryFile(/tmp/multipartBody823331381797279821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830203025,"filename":"image_15122025_21_21_54_9780.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399550145","file0":"1399550143"},"map_files_photo_id_array":[{"photo_id":"1399550145","filename":"file1"},{"photo_id":"1399550143","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399550143":["hashtag1","hashtag2"]},{"1399550145":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399550143, 1399550145)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 2 photos
time to upload: 26.545278549194336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:23:03.361505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 21:23:12.682155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:23:22.694535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_26_1732.jpg', '/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_27_1716.jpg', '/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_34_6946.jpg', '/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_36_1559.jpg', '/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_38_1905.jpg', '/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_39_1718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_26_1732.jpg
/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_27_1716.jpg
/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_34_6946.jpg
/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_36_1559.jpg
/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_38_1905.jpg
/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_39_1718.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.625713586807251 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 21:23:32.694755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 21:23:42.682760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_26_1732.jpg', '/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_27_1716.jpg', '/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_34_6946.jpg', '/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_36_1559.jpg', '/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_38_1905.jpg', '/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_39_1718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_26_1732.jpg
/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_27_1716.jpg
/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_34_6946.jpg
/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_36_1559.jpg
/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_38_1905.jpg
/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_39_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":["1399550257","1399550358","1399550393","1399550324","1399550290","1399550216"],"photo_ids_order":["1399550216","1399550257","1399550290","1399550324","1399550358","1399550393"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/445f1d6d871980b5b5a98981d8bd349f.jpg","text":"TemporaryFile(/tmp/multipartBody6920132697951628579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830283303,"filename":"image_05112025_16_16_27_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/15/8e9601ed1d8844d52986308c148943da.jpg","text":"TemporaryFile(/tmp/multipartBody7454474049647903059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830283303,"filename":"image_05112025_16_16_38_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/15/cbdb04e43cf23d0083c7ff8b6535abbc.jpg","text":"TemporaryFile(/tmp/multipartBody4153264870878134548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830283303,"filename":"image_05112025_16_16_39_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/15/60d41e8fab86f7a921907229f8c0a52d.jpg","text":"TemporaryFile(/tmp/multipartBody3617044516090612215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830283303,"filename":"image_05112025_16_16_36_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/15/b0392612bdba917b6de0b7ffb9191cd4.jpg","text":"TemporaryFile(/tmp/multipartBody8851441059343710751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830283303,"filename":"image_05112025_16_16_34_6946.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6ac26836e1e08222ebc9689159dcec80.jpg","text":"TemporaryFile(/tmp/multipartBody340877028408259032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830283303,"filename":"image_05112025_16_16_26_1732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399550290","file1":"1399550257","file0":"1399550216","file4":"1399550358","file5":"1399550393","file3":"1399550324"},"map_files_photo_id_array":[{"photo_id":"1399550393","filename":"file5"},{"photo_id":"1399550290","filename":"file2"},{"photo_id":"1399550358","filename":"file4"},{"photo_id":"1399550257","filename":"file1"},{"photo_id":"1399550216","filename":"file0"},{"photo_id":"1399550324","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399550257":["hashtag1","hashtag2"]},{"1399550358":["hashtag1","hashtag2"]},{"1399550393":["hashtag1","hashtag2"]},{"1399550324":["hashtag1","hashtag2"]},{"1399550290":["hashtag1","hashtag2"]},{"1399550216":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399550257, 1399550358, 1399550393, 1399550324, 1399550290, 1399550216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.240318298339844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:24:21.960098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/21/image_15122025_21_22_05_10753.jpg', '/home/pi/Desktop/images/15122025/21/23/image_15122025_21_24_05_10576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/21/image_15122025_21_22_05_10753.jpg
/home/pi/Desktop/images/15122025/21/23/image_15122025_21_24_05_10576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399550437","1399550435"],"photo_ids_order":["1399550435","1399550437"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/86e269811fc098b2efca295c1b8d4fe0.jpg","text":"TemporaryFile(/tmp/multipartBody8279479727613209862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830322423,"filename":"image_15122025_21_24_05_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/15/d77b91dda8e17a28b9cfd4f5cfca7d5c.jpg","text":"TemporaryFile(/tmp/multipartBody4875737106102333808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830322423,"filename":"image_15122025_21_22_05_10753.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399550437","file0":"1399550435"},"map_files_photo_id_array":[{"photo_id":"1399550437","filename":"file1"},{"photo_id":"1399550435","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399550437":["hashtag1","hashtag2"]},{"1399550435":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399550437, 1399550435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.891571760177612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 21:24:41.939942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_41_1729.jpg', '/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_43_1644.jpg', '/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_52_9638.jpg', '/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_54_1674.jpg', '/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_58_3576.jpg', '/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_59_1610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_41_1729.jpg
/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_43_1644.jpg
/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_52_9638.jpg
/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_54_1674.jpg
/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_58_3576.jpg
/home/pi/Desktop/images/05112025/16/16/image_05112025_16_16_59_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":["1399550451","1399550448","1399550453","1399550447","1399550452","1399550446"],"photo_ids_order":["1399550446","1399550447","1399550448","1399550451","1399550452","1399550453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d1581e93e09bb46319fb0c407065e881.jpg","text":"TemporaryFile(/tmp/multipartBody2746925396442309269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830342649,"filename":"image_05112025_16_16_54_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/15/eaf5a0ff9f105b72ecda6b37fc430b97.jpg","text":"TemporaryFile(/tmp/multipartBody2206082772454565841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830342649,"filename":"image_05112025_16_16_52_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/15/2a351f0b59c4935300bff816f4935e68.jpg","text":"TemporaryFile(/tmp/multipartBody3249359280183076725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830342649,"filename":"image_05112025_16_16_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/15/cae4a111cfc304d16338cc6307dd7adb.jpg","text":"TemporaryFile(/tmp/multipartBody7502705261040691042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830342649,"filename":"image_05112025_16_16_43_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c9733cd0b66d03847e44beb1e66d509d.jpg","text":"TemporaryFile(/tmp/multipartBody6498342606441266144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830342649,"filename":"image_05112025_16_16_58_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/15/9101cdad9004cfb967216db9df80d96a.jpg","text":"TemporaryFile(/tmp/multipartBody4363809986119984082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830342649,"filename":"image_05112025_16_16_41_1729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399550448","file1":"1399550447","file0":"1399550446","file4":"1399550452","file5":"1399550453","file3":"1399550451"},"map_files_photo_id_array":[{"photo_id":"1399550453","filename":"file5"},{"photo_id":"1399550448","filename":"file2"},{"photo_id":"1399550452","filename":"file4"},{"photo_id":"1399550447","filename":"file1"},{"photo_id":"1399550446","filename":"file0"},{"photo_id":"1399550451","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399550451":["hashtag1","hashtag2"]},{"1399550448":["hashtag1","hashtag2"]},{"1399550453":["hashtag1","hashtag2"]},{"1399550447":["hashtag1","hashtag2"]},{"1399550452":["hashtag1","hashtag2"]},{"1399550446":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399550451, 1399550448, 1399550453, 1399550447, 1399550452, 1399550446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87258172035217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:25:22.231528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/24/image_15122025_21_24_14_9848.jpg', '/home/pi/Desktop/images/15122025/21/24/image_15122025_21_25_05_9707.jpg', '/home/pi/Desktop/images/15122025/21/25/image_15122025_21_25_25_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/24/image_15122025_21_24_14_9848.jpg
/home/pi/Desktop/images/15122025/21/24/image_15122025_21_25_05_9707.jpg
/home/pi/Desktop/images/15122025/21/25/image_15122025_21_25_25_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":["1399550455","1399550457","1399550459"],"photo_ids_order":["1399550455","1399550457","1399550459"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9e8ba3cc6c3bf9c2406064f2ab6f58d4.jpg","text":"TemporaryFile(/tmp/multipartBody2016501419251397896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830382738,"filename":"image_15122025_21_24_14_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5f029f63d920296d796672f7f241b3f4.jpg","text":"TemporaryFile(/tmp/multipartBody8112810168873370982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830382738,"filename":"image_15122025_21_25_05_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/74218619c03a937103a8ac7814cae19b.jpg","text":"TemporaryFile(/tmp/multipartBody7710337940527849504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830382738,"filename":"image_15122025_21_25_25_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399550459","file1":"1399550457","file0":"1399550455"},"map_files_photo_id_array":[{"photo_id":"1399550459","filename":"file2"},{"photo_id":"1399550457","filename":"file1"},{"photo_id":"1399550455","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399550455":["hashtag1","hashtag2"]},{"1399550457":["hashtag1","hashtag2"]},{"1399550459":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399550455, 1399550457, 1399550459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.050716638565063 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:26:02.906739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 21:26:12.472859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:26:22.544239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/25/image_15122025_21_25_54_9844.jpg', '/home/pi/Desktop/images/15122025/21/26/image_15122025_21_26_24_9668.jpg', '/home/pi/Desktop/images/15122025/21/26/image_15122025_21_26_34_9536.jpg', '/home/pi/Desktop/images/15122025/21/26/image_15122025_21_26_45_10683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/25/image_15122025_21_25_54_9844.jpg
/home/pi/Desktop/images/15122025/21/26/image_15122025_21_26_24_9668.jpg
/home/pi/Desktop/images/15122025/21/26/image_15122025_21_26_34_9536.jpg
/home/pi/Desktop/images/15122025/21/26/image_15122025_21_26_45_10683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399550476","1399550478","1399550472","1399550471"],"photo_ids_order":["1399550471","1399550472","1399550476","1399550478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0d1dd8f865e4526ab6e5e4b36fb9aceb.jpg","text":"TemporaryFile(/tmp/multipartBody5576815743530954865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830443071,"filename":"image_15122025_21_26_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/15/429759004dbfb0c1233230d4fe04b137.jpg","text":"TemporaryFile(/tmp/multipartBody5828954802216552692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830443071,"filename":"image_15122025_21_26_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/15/9d932b2da165c36e59bee093e7761b47.jpg","text":"TemporaryFile(/tmp/multipartBody1587302019415167521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830443071,"filename":"image_15122025_21_26_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/15/7fd42248a89b9d78853222635f2f4ea4.jpg","text":"TemporaryFile(/tmp/multipartBody5004343731540205231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830443071,"filename":"image_15122025_21_25_54_9844.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399550476","file1":"1399550472","file0":"1399550471","file3":"1399550478"},"map_files_photo_id_array":[{"photo_id":"1399550476","filename":"file2"},{"photo_id":"1399550472","filename":"file1"},{"photo_id":"1399550471","filename":"file0"},{"photo_id":"1399550478","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399550476":["hashtag1","hashtag2"]},{"1399550478":["hashtag1","hashtag2"]},{"1399550472":["hashtag1","hashtag2"]},{"1399550471":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399550476, 1399550478, 1399550472, 1399550471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.833667516708374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:27:03.391089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 21:27:12.816023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:27:22.790579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/26/image_15122025_21_26_54_9584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/26/image_15122025_21_26_54_9584.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399550489"],"photo_id":"1399550489","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/258f3c5177aca4787bcdf7f0e8c94b68.jpg","text":"TemporaryFile(/tmp/multipartBody4052878860958583525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830503217,"filename":"image_15122025_21_26_54_9584.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399550489"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399550489"}],"hashtags":[],"portfolio_id":"29416301","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.01204800605774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 21:27:42.781278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/17/image_05112025_16_17_01_1637.jpg', '/home/pi/Desktop/images/05112025/16/17/image_05112025_16_17_03_1640.jpg', '/home/pi/Desktop/images/05112025/16/17/image_05112025_16_17_04_1838.jpg', '/home/pi/Desktop/images/05112025/16/17/image_05112025_16_17_12_7833.jpg', '/home/pi/Desktop/images/05112025/16/17/image_05112025_16_17_18_5781.jpg', '/home/pi/Desktop/images/05112025/16/17/image_05112025_16_17_20_2014.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/17/image_05112025_16_17_01_1637.jpg
/home/pi/Desktop/images/05112025/16/17/image_05112025_16_17_03_1640.jpg
/home/pi/Desktop/images/05112025/16/17/image_05112025_16_17_04_1838.jpg
/home/pi/Desktop/images/05112025/16/17/image_05112025_16_17_12_7833.jpg
/home/pi/Desktop/images/05112025/16/17/image_05112025_16_17_18_5781.jpg
/home/pi/Desktop/images/05112025/16/17/image_05112025_16_17_20_2014.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399550500","1399550499","1399550502","1399550495","1399550498","1399550501"],"photo_ids_order":["1399550495","1399550498","1399550499","1399550500","1399550501","1399550502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/64c6b2826c11c542f4933274c0ffd692.jpg","text":"TemporaryFile(/tmp/multipartBody1269449808676475333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830523478,"filename":"image_05112025_16_17_12_7833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/83cf32901d441cc6fef28044ae6fe3f2.jpg","text":"TemporaryFile(/tmp/multipartBody2513369530672130000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830523478,"filename":"image_05112025_16_17_04_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/15/68fdab15f304cdccf76730537a385a30.jpg","text":"TemporaryFile(/tmp/multipartBody5457254444219544556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830523478,"filename":"image_05112025_16_17_20_2014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3f24ed160971b77d4640864407c8ee60.jpg","text":"TemporaryFile(/tmp/multipartBody3597402129845202155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830523478,"filename":"image_05112025_16_17_01_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/15/a4ea0ae90a04d5e99baa4ce992fa0680.jpg","text":"TemporaryFile(/tmp/multipartBody3804638454549364658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830523478,"filename":"image_05112025_16_17_03_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/27d5dfd05aab7ec113db5f96f0b72100.jpg","text":"TemporaryFile(/tmp/multipartBody7952553977427293667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830523478,"filename":"image_05112025_16_17_18_5781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399550499","file1":"1399550498","file0":"1399550495","file4":"1399550501","file5":"1399550502","file3":"1399550500"},"map_files_photo_id_array":[{"photo_id":"1399550502","filename":"file5"},{"photo_id":"1399550499","filename":"file2"},{"photo_id":"1399550501","filename":"file4"},{"photo_id":"1399550498","filename":"file1"},{"photo_id":"1399550495","filename":"file0"},{"photo_id":"1399550500","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399550500":["hashtag1","hashtag2"]},{"1399550499":["hashtag1","hashtag2"]},{"1399550502":["hashtag1","hashtag2"]},{"1399550495":["hashtag1","hashtag2"]},{"1399550498":["hashtag1","hashtag2"]},{"1399550501":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399550500, 1399550499, 1399550502, 1399550495, 1399550498, 1399550501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83322501182556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:28:23.139864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/27/image_15122025_21_27_25_10608.jpg', '/home/pi/Desktop/images/15122025/21/28/image_15122025_21_28_15_9902.jpg', '/home/pi/Desktop/images/15122025/21/28/image_15122025_21_28_24_9621.jpg', '/home/pi/Desktop/images/15122025/21/28/image_15122025_21_28_35_10647.jpg', '/home/pi/Desktop/images/15122025/21/28/image_15122025_21_28_45_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/27/image_15122025_21_27_25_10608.jpg
/home/pi/Desktop/images/15122025/21/28/image_15122025_21_28_15_9902.jpg
/home/pi/Desktop/images/15122025/21/28/image_15122025_21_28_24_9621.jpg
/home/pi/Desktop/images/15122025/21/28/image_15122025_21_28_35_10647.jpg
/home/pi/Desktop/images/15122025/21/28/image_15122025_21_28_45_9815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399550518","1399550511","1399550514","1399550507","1399550516"],"photo_ids_order":["1399550507","1399550511","1399550514","1399550516","1399550518"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fe7b9e152b2965cebac73fd81e07131b.jpg","text":"TemporaryFile(/tmp/multipartBody4356772371963604772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830563733,"filename":"image_15122025_21_28_45_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5dbf9e1c3ebceb90b32cbee54ffdd774.jpg","text":"TemporaryFile(/tmp/multipartBody7983362850231381203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830563733,"filename":"image_15122025_21_28_15_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/15/96f6c69f6c3754e287cc97c95fb9a4fd.jpg","text":"TemporaryFile(/tmp/multipartBody5109262848022010091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830563733,"filename":"image_15122025_21_28_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/15/505f995cbaa0245c1c29811acfb7866f.jpg","text":"TemporaryFile(/tmp/multipartBody9051412396884878308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830563733,"filename":"image_15122025_21_27_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/15/45248a46454d433e12342d5e13404332.jpg","text":"TemporaryFile(/tmp/multipartBody2976985675579582010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830563733,"filename":"image_15122025_21_28_35_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399550514","file1":"1399550511","file0":"1399550507","file4":"1399550518","file3":"1399550516"},"map_files_photo_id_array":[{"photo_id":"1399550514","filename":"file2"},{"photo_id":"1399550518","filename":"file4"},{"photo_id":"1399550511","filename":"file1"},{"photo_id":"1399550507","filename":"file0"},{"photo_id":"1399550516","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399550518":["hashtag1","hashtag2"]},{"1399550511":["hashtag1","hashtag2"]},{"1399550514":["hashtag1","hashtag2"]},{"1399550507":["hashtag1","hashtag2"]},{"1399550516":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399550518, 1399550511, 1399550514, 1399550507, 1399550516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.513636350631714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:29:03.320135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 21:29:12.223028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:29:22.310777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/28/image_15122025_21_28_54_9765.jpg', '/home/pi/Desktop/images/15122025/21/28/image_15122025_21_29_04_9590.jpg', '/home/pi/Desktop/images/15122025/21/29/image_15122025_21_29_15_10770.jpg', '/home/pi/Desktop/images/15122025/21/29/image_15122025_21_29_34_9731.jpg', '/home/pi/Desktop/images/15122025/21/29/image_15122025_21_29_44_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/28/image_15122025_21_28_54_9765.jpg
/home/pi/Desktop/images/15122025/21/28/image_15122025_21_29_04_9590.jpg
/home/pi/Desktop/images/15122025/21/29/image_15122025_21_29_15_10770.jpg
/home/pi/Desktop/images/15122025/21/29/image_15122025_21_29_34_9731.jpg
/home/pi/Desktop/images/15122025/21/29/image_15122025_21_29_44_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":["1399550533","1399550542","1399550544","1399550540","1399550537"],"photo_ids_order":["1399550533","1399550537","1399550540","1399550542","1399550544"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7b8ba757b4dd9493ff76439fdad39b5a.jpg","text":"TemporaryFile(/tmp/multipartBody4310202091095255614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830622900,"filename":"image_15122025_21_28_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/15/769f477a4421bf58ae6a708fc5781fbb.jpg","text":"TemporaryFile(/tmp/multipartBody3580159875978142374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830622900,"filename":"image_15122025_21_29_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/15/1e17fc37fb9754a039040aef61cced77.jpg","text":"TemporaryFile(/tmp/multipartBody8082461338812011599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830622900,"filename":"image_15122025_21_29_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/15/245d58f889a032f61427689fed1df994.jpg","text":"TemporaryFile(/tmp/multipartBody182694449865100724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830622900,"filename":"image_15122025_21_29_15_10770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cd44cc50a821def2910c9be33bea4555.jpg","text":"TemporaryFile(/tmp/multipartBody9009482674316172019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830622900,"filename":"image_15122025_21_29_04_9590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399550540","file1":"1399550537","file0":"1399550533","file4":"1399550544","file3":"1399550542"},"map_files_photo_id_array":[{"photo_id":"1399550540","filename":"file2"},{"photo_id":"1399550544","filename":"file4"},{"photo_id":"1399550537","filename":"file1"},{"photo_id":"1399550533","filename":"file0"},{"photo_id":"1399550542","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399550533":["hashtag1","hashtag2"]},{"1399550542":["hashtag1","hashtag2"]},{"1399550544":["hashtag1","hashtag2"]},{"1399550540":["hashtag1","hashtag2"]},{"1399550537":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399550533, 1399550542, 1399550544, 1399550540, 1399550537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.205690383911133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:30:02.883735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 21:30:12.466537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:30:22.544097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/29/image_15122025_21_29_55_10893.jpg', '/home/pi/Desktop/images/15122025/21/30/image_15122025_21_30_25_10654.jpg', '/home/pi/Desktop/images/15122025/21/30/image_15122025_21_30_35_9770.jpg', '/home/pi/Desktop/images/15122025/21/30/image_15122025_21_30_45_10294.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/29/image_15122025_21_29_55_10893.jpg
/home/pi/Desktop/images/15122025/21/30/image_15122025_21_30_25_10654.jpg
/home/pi/Desktop/images/15122025/21/30/image_15122025_21_30_35_9770.jpg
/home/pi/Desktop/images/15122025/21/30/image_15122025_21_30_45_10294.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399550560","1399550557","1399550553","1399550558"],"photo_ids_order":["1399550553","1399550557","1399550558","1399550560"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/345abdc956a1cefe2002e9afd55f5d89.jpg","text":"TemporaryFile(/tmp/multipartBody2852767047242960373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830683083,"filename":"image_15122025_21_30_45_10294.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fa265e5ac8b48a9f2c1e3f60b505a409.jpg","text":"TemporaryFile(/tmp/multipartBody6335265203485415418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830683083,"filename":"image_15122025_21_30_25_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/800276c9c3b48927cc456f3e7671d7d0.jpg","text":"TemporaryFile(/tmp/multipartBody2716346778450584785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830683083,"filename":"image_15122025_21_29_55_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/15/d46f5833da2a93cb7d4f859613c7e92b.jpg","text":"TemporaryFile(/tmp/multipartBody3845476650785498806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830683083,"filename":"image_15122025_21_30_35_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399550558","file1":"1399550557","file0":"1399550553","file3":"1399550560"},"map_files_photo_id_array":[{"photo_id":"1399550558","filename":"file2"},{"photo_id":"1399550557","filename":"file1"},{"photo_id":"1399550553","filename":"file0"},{"photo_id":"1399550560","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399550560":["hashtag1","hashtag2"]},{"1399550557":["hashtag1","hashtag2"]},{"1399550553":["hashtag1","hashtag2"]},{"1399550558":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399550560, 1399550557, 1399550553, 1399550558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.49950647354126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:31:03.353225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 21:31:12.774829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:31:22.741184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/30/image_15122025_21_30_55_9702.jpg', '/home/pi/Desktop/images/15122025/21/30/image_15122025_21_31_05_9866.jpg', '/home/pi/Desktop/images/15122025/21/31/image_15122025_21_31_15_9921.jpg', '/home/pi/Desktop/images/15122025/21/31/image_15122025_21_31_25_10662.jpg', '/home/pi/Desktop/images/15122025/21/31/image_15122025_21_31_35_9631.jpg', '/home/pi/Desktop/images/15122025/21/31/image_15122025_21_31_45_9586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/30/image_15122025_21_30_55_9702.jpg
/home/pi/Desktop/images/15122025/21/30/image_15122025_21_31_05_9866.jpg
/home/pi/Desktop/images/15122025/21/31/image_15122025_21_31_15_9921.jpg
/home/pi/Desktop/images/15122025/21/31/image_15122025_21_31_25_10662.jpg
/home/pi/Desktop/images/15122025/21/31/image_15122025_21_31_35_9631.jpg
/home/pi/Desktop/images/15122025/21/31/image_15122025_21_31_45_9586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399550583","1399550585","1399550579","1399550576","1399550581","1399550587"],"photo_ids_order":["1399550576","1399550579","1399550581","1399550583","1399550585","1399550587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6b99e37d0ee77e24eab395ea90148e12.jpg","text":"TemporaryFile(/tmp/multipartBody2451794885917328559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830743372,"filename":"image_15122025_21_31_25_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/acd081561cbf39a54faab8043d0a8304.jpg","text":"TemporaryFile(/tmp/multipartBody1526026279346422713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830743372,"filename":"image_15122025_21_31_35_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f51de3d85b77f9ee4b17cdc271fc9c44.jpg","text":"TemporaryFile(/tmp/multipartBody8984478447845885343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830743372,"filename":"image_15122025_21_31_05_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/954dd67c6b5bcfa45c6350b5facdb085.jpg","text":"TemporaryFile(/tmp/multipartBody5219903579100094558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830743372,"filename":"image_15122025_21_30_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/15/964bacafd45c0dc01c022853f13e87c5.jpg","text":"TemporaryFile(/tmp/multipartBody5829968267366541624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830743372,"filename":"image_15122025_21_31_15_9921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/579a34d116633a54eec128db39f1bb75.jpg","text":"TemporaryFile(/tmp/multipartBody4206934327781274359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830743372,"filename":"image_15122025_21_31_45_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399550581","file1":"1399550579","file0":"1399550576","file4":"1399550585","file5":"1399550587","file3":"1399550583"},"map_files_photo_id_array":[{"photo_id":"1399550587","filename":"file5"},{"photo_id":"1399550581","filename":"file2"},{"photo_id":"1399550585","filename":"file4"},{"photo_id":"1399550579","filename":"file1"},{"photo_id":"1399550576","filename":"file0"},{"photo_id":"1399550583","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399550583":["hashtag1","hashtag2"]},{"1399550585":["hashtag1","hashtag2"]},{"1399550579":["hashtag1","hashtag2"]},{"1399550576":["hashtag1","hashtag2"]},{"1399550581":["hashtag1","hashtag2"]},{"1399550587":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399550583, 1399550585, 1399550579, 1399550576, 1399550581, 1399550587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60718894004822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:32:02.381170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 21:32:11.927029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:32:22.079291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/31/image_15122025_21_31_56_10845.jpg', '/home/pi/Desktop/images/15122025/21/31/image_15122025_21_32_05_9640.jpg', '/home/pi/Desktop/images/15122025/21/32/image_15122025_21_32_15_9725.jpg', '/home/pi/Desktop/images/15122025/21/32/image_15122025_21_32_25_9796.jpg', '/home/pi/Desktop/images/15122025/21/32/image_15122025_21_32_35_10677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/31/image_15122025_21_31_56_10845.jpg
/home/pi/Desktop/images/15122025/21/31/image_15122025_21_32_05_9640.jpg
/home/pi/Desktop/images/15122025/21/32/image_15122025_21_32_15_9725.jpg
/home/pi/Desktop/images/15122025/21/32/image_15122025_21_32_25_9796.jpg
/home/pi/Desktop/images/15122025/21/32/image_15122025_21_32_35_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":["1399550602","1399550598","1399550604","1399550594","1399550596"],"photo_ids_order":["1399550594","1399550596","1399550598","1399550602","1399550604"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f84a4d16e519b181665d0e34ddc7446e.jpg","text":"TemporaryFile(/tmp/multipartBody4491967314683912089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830802670,"filename":"image_15122025_21_32_25_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/980427d6caf2e3ce7378ccc315d7a5ec.jpg","text":"TemporaryFile(/tmp/multipartBody7209913719482624650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830802670,"filename":"image_15122025_21_32_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/15/b226c460263e9ef02dfcc41bc36136e1.jpg","text":"TemporaryFile(/tmp/multipartBody2669511833551622600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830802670,"filename":"image_15122025_21_32_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/15/5149412797e95d1908be8412fd148635.jpg","text":"TemporaryFile(/tmp/multipartBody695986811748034385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830802670,"filename":"image_15122025_21_31_56_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/15/2ced15ce770381f4cd2d845a33312d1d.jpg","text":"TemporaryFile(/tmp/multipartBody1945321073776594439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830802670,"filename":"image_15122025_21_32_05_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399550598","file1":"1399550596","file0":"1399550594","file4":"1399550604","file3":"1399550602"},"map_files_photo_id_array":[{"photo_id":"1399550598","filename":"file2"},{"photo_id":"1399550604","filename":"file4"},{"photo_id":"1399550596","filename":"file1"},{"photo_id":"1399550594","filename":"file0"},{"photo_id":"1399550602","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399550602":["hashtag1","hashtag2"]},{"1399550598":["hashtag1","hashtag2"]},{"1399550604":["hashtag1","hashtag2"]},{"1399550594":["hashtag1","hashtag2"]},{"1399550596":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399550602, 1399550598, 1399550604, 1399550594, 1399550596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.33259057998657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:33:02.979624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 21:33:12.142081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:33:22.216419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/32/image_15122025_21_32_45_9812.jpg', '/home/pi/Desktop/images/15122025/21/32/image_15122025_21_33_05_9770.jpg', '/home/pi/Desktop/images/15122025/21/33/image_15122025_21_33_15_10647.jpg', '/home/pi/Desktop/images/15122025/21/33/image_15122025_21_33_25_9591.jpg', '/home/pi/Desktop/images/15122025/21/33/image_15122025_21_33_45_10687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/32/image_15122025_21_32_45_9812.jpg
/home/pi/Desktop/images/15122025/21/32/image_15122025_21_33_05_9770.jpg
/home/pi/Desktop/images/15122025/21/33/image_15122025_21_33_15_10647.jpg
/home/pi/Desktop/images/15122025/21/33/image_15122025_21_33_25_9591.jpg
/home/pi/Desktop/images/15122025/21/33/image_15122025_21_33_45_10687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399550632","1399550623","1399550625","1399550628","1399550630"],"photo_ids_order":["1399550623","1399550625","1399550628","1399550630","1399550632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9e7ea57d0ee61e4ece7fb14e01f8c09b.jpg","text":"TemporaryFile(/tmp/multipartBody3895742043796515897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830862809,"filename":"image_15122025_21_33_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/15/e37b0ade5bd6035f88660720d5a2de91.jpg","text":"TemporaryFile(/tmp/multipartBody5339170263552366314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830862809,"filename":"image_15122025_21_32_45_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/15/31b1243a1f87adda7b497f86c1fa6ea3.jpg","text":"TemporaryFile(/tmp/multipartBody762979450314089850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830862809,"filename":"image_15122025_21_33_05_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/84db19026253cd48c04fb9f898de3ed6.jpg","text":"TemporaryFile(/tmp/multipartBody6348395978309926613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830862809,"filename":"image_15122025_21_33_15_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e0644d61b32e79d7b979a7cc36cdd0c7.jpg","text":"TemporaryFile(/tmp/multipartBody2666425971727233284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830862809,"filename":"image_15122025_21_33_25_9591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399550628","file1":"1399550625","file0":"1399550623","file4":"1399550632","file3":"1399550630"},"map_files_photo_id_array":[{"photo_id":"1399550628","filename":"file2"},{"photo_id":"1399550632","filename":"file4"},{"photo_id":"1399550625","filename":"file1"},{"photo_id":"1399550623","filename":"file0"},{"photo_id":"1399550630","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399550632":["hashtag1","hashtag2"]},{"1399550623":["hashtag1","hashtag2"]},{"1399550625":["hashtag1","hashtag2"]},{"1399550628":["hashtag1","hashtag2"]},{"1399550630":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399550632, 1399550623, 1399550625, 1399550628, 1399550630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.6758291721344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:34:03.110871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 21:34:13.400370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:34:22.442889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/33/image_15122025_21_33_55_9818.jpg', '/home/pi/Desktop/images/15122025/21/34/image_15122025_21_34_15_9743.jpg', '/home/pi/Desktop/images/15122025/21/34/image_15122025_21_34_25_10686.jpg', '/home/pi/Desktop/images/15122025/21/34/image_15122025_21_34_45_10732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/33/image_15122025_21_33_55_9818.jpg
/home/pi/Desktop/images/15122025/21/34/image_15122025_21_34_15_9743.jpg
/home/pi/Desktop/images/15122025/21/34/image_15122025_21_34_25_10686.jpg
/home/pi/Desktop/images/15122025/21/34/image_15122025_21_34_45_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":["1399550647","1399550652","1399550650","1399550644"],"photo_ids_order":["1399550644","1399550647","1399550650","1399550652"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d88339e910b656ad258d3f1d8cdb1b0e.jpg","text":"TemporaryFile(/tmp/multipartBody4100032436268944725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830922967,"filename":"image_15122025_21_34_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/15/0e6b6283cc845dc4c70310b4e5c77a10.jpg","text":"TemporaryFile(/tmp/multipartBody3724831693416146972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830922967,"filename":"image_15122025_21_34_45_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2a68b85da855465ccc12c54cf8940b0d.jpg","text":"TemporaryFile(/tmp/multipartBody3398108261079996192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830922967,"filename":"image_15122025_21_34_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/15/973a8944429835eefc6a0a2ab596a19a.jpg","text":"TemporaryFile(/tmp/multipartBody1198103761984331119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830922967,"filename":"image_15122025_21_33_55_9818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399550650","file1":"1399550647","file0":"1399550644","file3":"1399550652"},"map_files_photo_id_array":[{"photo_id":"1399550650","filename":"file2"},{"photo_id":"1399550647","filename":"file1"},{"photo_id":"1399550644","filename":"file0"},{"photo_id":"1399550652","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399550647":["hashtag1","hashtag2"]},{"1399550652":["hashtag1","hashtag2"]},{"1399550650":["hashtag1","hashtag2"]},{"1399550644":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399550647, 1399550652, 1399550650, 1399550644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.328327417373657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:35:03.340681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 21:35:12.617704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:35:22.999142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/34/image_15122025_21_34_55_9667.jpg', '/home/pi/Desktop/images/15122025/21/34/image_15122025_21_35_05_9595.jpg', '/home/pi/Desktop/images/15122025/21/35/image_15122025_21_35_25_9668.jpg', '/home/pi/Desktop/images/15122025/21/35/image_15122025_21_35_35_10570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/34/image_15122025_21_34_55_9667.jpg
/home/pi/Desktop/images/15122025/21/34/image_15122025_21_35_05_9595.jpg
/home/pi/Desktop/images/15122025/21/35/image_15122025_21_35_25_9668.jpg
/home/pi/Desktop/images/15122025/21/35/image_15122025_21_35_35_10570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399550667","1399550669","1399550663","1399550671"],"photo_ids_order":["1399550663","1399550667","1399550669","1399550671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a3f76c410262722f00dbb5b6189120c3.jpg","text":"TemporaryFile(/tmp/multipartBody8018076018361516055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830983554,"filename":"image_15122025_21_35_05_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/da0b09911682915298afdc9a53d83479.jpg","text":"TemporaryFile(/tmp/multipartBody8631344814737372960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830983554,"filename":"image_15122025_21_35_25_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ce00b6edb1ff61ecb7f062611e414103.jpg","text":"TemporaryFile(/tmp/multipartBody5268134181397032169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830983554,"filename":"image_15122025_21_34_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/15/d5b8edda090ed0fda2021e8bf517a550.jpg","text":"TemporaryFile(/tmp/multipartBody1299666238171791347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765830983554,"filename":"image_15122025_21_35_35_10570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399550669","file1":"1399550667","file0":"1399550663","file3":"1399550671"},"map_files_photo_id_array":[{"photo_id":"1399550669","filename":"file2"},{"photo_id":"1399550667","filename":"file1"},{"photo_id":"1399550663","filename":"file0"},{"photo_id":"1399550671","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399550667":["hashtag1","hashtag2"]},{"1399550669":["hashtag1","hashtag2"]},{"1399550663":["hashtag1","hashtag2"]},{"1399550671":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399550667, 1399550669, 1399550663, 1399550671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.964241981506348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:36:02.252697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 21:36:11.818508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:36:21.942162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/35/image_15122025_21_35_55_9919.jpg', '/home/pi/Desktop/images/15122025/21/35/image_15122025_21_36_05_10722.jpg', '/home/pi/Desktop/images/15122025/21/36/image_15122025_21_36_15_9717.jpg', '/home/pi/Desktop/images/15122025/21/36/image_15122025_21_36_25_9842.jpg', '/home/pi/Desktop/images/15122025/21/36/image_15122025_21_36_35_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/35/image_15122025_21_35_55_9919.jpg
/home/pi/Desktop/images/15122025/21/35/image_15122025_21_36_05_10722.jpg
/home/pi/Desktop/images/15122025/21/36/image_15122025_21_36_15_9717.jpg
/home/pi/Desktop/images/15122025/21/36/image_15122025_21_36_25_9842.jpg
/home/pi/Desktop/images/15122025/21/36/image_15122025_21_36_35_9780.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5151662826538086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 21:36:31.897455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 21:36:41.977945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/18/image_05112025_16_18_02_41770.jpg', '/home/pi/Desktop/images/05112025/16/21/image_05112025_16_21_07_3011.jpg', '/home/pi/Desktop/images/05112025/16/21/image_05112025_16_21_10_3614.jpg', '/home/pi/Desktop/images/05112025/16/21/image_05112025_16_21_13_2638.jpg', '/home/pi/Desktop/images/05112025/16/21/image_05112025_16_21_17_3701.jpg', '/home/pi/Desktop/images/05112025/16/21/image_05112025_16_21_19_2608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/18/image_05112025_16_18_02_41770.jpg
/home/pi/Desktop/images/05112025/16/21/image_05112025_16_21_07_3011.jpg
/home/pi/Desktop/images/05112025/16/21/image_05112025_16_21_10_3614.jpg
/home/pi/Desktop/images/05112025/16/21/image_05112025_16_21_13_2638.jpg
/home/pi/Desktop/images/05112025/16/21/image_05112025_16_21_17_3701.jpg
/home/pi/Desktop/images/05112025/16/21/image_05112025_16_21_19_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":["1399550707","1399550704","1399550702","1399550705","1399550689","1399550698"],"photo_ids_order":["1399550689","1399550698","1399550702","1399550704","1399550705","1399550707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/538cf59f47e8c3f70c4349a1ab1d7361.jpg","text":"TemporaryFile(/tmp/multipartBody5127364094791462863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831062701,"filename":"image_05112025_16_21_19_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3a0ef6cbc26584851107fd51bcb65208.jpg","text":"TemporaryFile(/tmp/multipartBody1632438038989305428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831062701,"filename":"image_05112025_16_21_13_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/54b8b3a30d6163894a9109c528f0bb74.jpg","text":"TemporaryFile(/tmp/multipartBody7773277428662357491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831062701,"filename":"image_05112025_16_21_10_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/15/99518d2f99a1797d9b5c33d44371b559.jpg","text":"TemporaryFile(/tmp/multipartBody1946676815996129150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831062701,"filename":"image_05112025_16_21_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/15/0b42826b757095ddfa2c8efaf83b166f.jpg","text":"TemporaryFile(/tmp/multipartBody7789135011101667060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831062701,"filename":"image_05112025_16_18_02_41770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b01f3c94e2f22db288ed451c60c8088e.jpg","text":"TemporaryFile(/tmp/multipartBody1923756696434822613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831062701,"filename":"image_05112025_16_21_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399550702","file1":"1399550698","file0":"1399550689","file4":"1399550705","file5":"1399550707","file3":"1399550704"},"map_files_photo_id_array":[{"photo_id":"1399550707","filename":"file5"},{"photo_id":"1399550702","filename":"file2"},{"photo_id":"1399550705","filename":"file4"},{"photo_id":"1399550698","filename":"file1"},{"photo_id":"1399550689","filename":"file0"},{"photo_id":"1399550704","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399550707":["hashtag1","hashtag2"]},{"1399550704":["hashtag1","hashtag2"]},{"1399550702":["hashtag1","hashtag2"]},{"1399550705":["hashtag1","hashtag2"]},{"1399550689":["hashtag1","hashtag2"]},{"1399550698":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399550707, 1399550704, 1399550702, 1399550705, 1399550689, 1399550698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65016007423401 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:37:22.200035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/35/image_15122025_21_35_55_9919.jpg', '/home/pi/Desktop/images/15122025/21/35/image_15122025_21_36_05_10722.jpg', '/home/pi/Desktop/images/15122025/21/36/image_15122025_21_36_15_9717.jpg', '/home/pi/Desktop/images/15122025/21/36/image_15122025_21_36_25_9842.jpg', '/home/pi/Desktop/images/15122025/21/36/image_15122025_21_36_35_9780.jpg', '/home/pi/Desktop/images/15122025/21/36/image_15122025_21_36_45_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/35/image_15122025_21_35_55_9919.jpg
/home/pi/Desktop/images/15122025/21/35/image_15122025_21_36_05_10722.jpg
/home/pi/Desktop/images/15122025/21/36/image_15122025_21_36_15_9717.jpg
/home/pi/Desktop/images/15122025/21/36/image_15122025_21_36_25_9842.jpg
/home/pi/Desktop/images/15122025/21/36/image_15122025_21_36_35_9780.jpg
/home/pi/Desktop/images/15122025/21/36/image_15122025_21_36_45_10616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399550725","1399550719","1399550712","1399550721","1399550714","1399550717"],"photo_ids_order":["1399550712","1399550714","1399550717","1399550719","1399550721","1399550725"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d3b6f2c7186c744622aabe381150b180.jpg","text":"TemporaryFile(/tmp/multipartBody7655308263192797143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831102831,"filename":"image_15122025_21_36_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/15/58a46e80270c25528452508d7f622e43.jpg","text":"TemporaryFile(/tmp/multipartBody1965665800720795713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831102831,"filename":"image_15122025_21_36_25_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1cdcb12d03e17a0f55a2228b893e37fc.jpg","text":"TemporaryFile(/tmp/multipartBody8251486967124829874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831102831,"filename":"image_15122025_21_35_55_9919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/33596977b8447af53c2e712771fbd598.jpg","text":"TemporaryFile(/tmp/multipartBody7848236108400701892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831102831,"filename":"image_15122025_21_36_35_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a4e276223841d2f979b74cd8e836f948.jpg","text":"TemporaryFile(/tmp/multipartBody7614793452936072219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831102831,"filename":"image_15122025_21_36_05_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cf94324284184dd46e4c40d3eeb25fa9.jpg","text":"TemporaryFile(/tmp/multipartBody8589914510006880237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831102831,"filename":"image_15122025_21_36_15_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399550717","file1":"1399550714","file0":"1399550712","file4":"1399550721","file5":"1399550725","file3":"1399550719"},"map_files_photo_id_array":[{"photo_id":"1399550725","filename":"file5"},{"photo_id":"1399550717","filename":"file2"},{"photo_id":"1399550721","filename":"file4"},{"photo_id":"1399550714","filename":"file1"},{"photo_id":"1399550712","filename":"file0"},{"photo_id":"1399550719","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399550725":["hashtag1","hashtag2"]},{"1399550719":["hashtag1","hashtag2"]},{"1399550712":["hashtag1","hashtag2"]},{"1399550721":["hashtag1","hashtag2"]},{"1399550714":["hashtag1","hashtag2"]},{"1399550717":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399550725, 1399550719, 1399550712, 1399550721, 1399550714, 1399550717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.756455421447754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:38:03.033879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/37/image_15122025_21_37_25_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/37/image_15122025_21_37_25_9752.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399550731"],"photo_id":"1399550731","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ae45c138a9d2cd90362cf9cded00c980.jpg","text":"TemporaryFile(/tmp/multipartBody2943538942502945942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831143441,"filename":"image_15122025_21_37_25_9752.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399550731"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399550731"}],"hashtags":[],"portfolio_id":"29416301","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.462920904159546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:38:22.577048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/37/image_15122025_21_37_35_9528.jpg', '/home/pi/Desktop/images/15122025/21/37/image_15122025_21_38_05_9674.jpg', '/home/pi/Desktop/images/15122025/21/38/image_15122025_21_38_15_9673.jpg', '/home/pi/Desktop/images/15122025/21/38/image_15122025_21_38_25_10771.jpg', '/home/pi/Desktop/images/15122025/21/38/image_15122025_21_38_45_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/37/image_15122025_21_37_35_9528.jpg
/home/pi/Desktop/images/15122025/21/37/image_15122025_21_38_05_9674.jpg
/home/pi/Desktop/images/15122025/21/38/image_15122025_21_38_15_9673.jpg
/home/pi/Desktop/images/15122025/21/38/image_15122025_21_38_25_10771.jpg
/home/pi/Desktop/images/15122025/21/38/image_15122025_21_38_45_9772.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.48787951469421387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 21:38:32.509050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 21:38:42.471966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/21/image_05112025_16_21_26_3657.jpg', '/home/pi/Desktop/images/05112025/16/21/image_05112025_16_21_28_2624.jpg', '/home/pi/Desktop/images/05112025/16/21/image_05112025_16_21_31_2501.jpg', '/home/pi/Desktop/images/05112025/16/21/image_05112025_16_21_34_3650.jpg', '/home/pi/Desktop/images/05112025/16/21/image_05112025_16_21_37_2586.jpg', '/home/pi/Desktop/images/05112025/16/21/image_05112025_16_21_41_3636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/21/image_05112025_16_21_26_3657.jpg
/home/pi/Desktop/images/05112025/16/21/image_05112025_16_21_28_2624.jpg
/home/pi/Desktop/images/05112025/16/21/image_05112025_16_21_31_2501.jpg
/home/pi/Desktop/images/05112025/16/21/image_05112025_16_21_34_3650.jpg
/home/pi/Desktop/images/05112025/16/21/image_05112025_16_21_37_2586.jpg
/home/pi/Desktop/images/05112025/16/21/image_05112025_16_21_41_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":["1399550752","1399550749","1399550754","1399550751","1399550759","1399550753"],"photo_ids_order":["1399550749","1399550751","1399550752","1399550753","1399550754","1399550759"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b492abe511b2bf6a8e882042a7971a02.jpg","text":"TemporaryFile(/tmp/multipartBody1188487573452232626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831183166,"filename":"image_05112025_16_21_31_2501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e8fa2fc090fb533be972f9be0d03ff7e.jpg","text":"TemporaryFile(/tmp/multipartBody7366304125623057067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831183166,"filename":"image_05112025_16_21_26_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/15/d7f2a865fa48f3affcd27a43d78f79bf.jpg","text":"TemporaryFile(/tmp/multipartBody2557129369201033063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831183166,"filename":"image_05112025_16_21_37_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/31b51969c903b8ef2460a16437ffea79.jpg","text":"TemporaryFile(/tmp/multipartBody1287519400044602681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831183166,"filename":"image_05112025_16_21_28_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/15/2d06511ac2ebb37637f35d0f7a0e7e61.jpg","text":"TemporaryFile(/tmp/multipartBody6561778100574043317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831183166,"filename":"image_05112025_16_21_41_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/15/792e14e7e35649fe7d94662c06751998.jpg","text":"TemporaryFile(/tmp/multipartBody3214925456748080526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831183166,"filename":"image_05112025_16_21_34_3650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399550752","file1":"1399550751","file0":"1399550749","file4":"1399550754","file5":"1399550759","file3":"1399550753"},"map_files_photo_id_array":[{"photo_id":"1399550759","filename":"file5"},{"photo_id":"1399550752","filename":"file2"},{"photo_id":"1399550754","filename":"file4"},{"photo_id":"1399550751","filename":"file1"},{"photo_id":"1399550749","filename":"file0"},{"photo_id":"1399550753","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399550752":["hashtag1","hashtag2"]},{"1399550749":["hashtag1","hashtag2"]},{"1399550754":["hashtag1","hashtag2"]},{"1399550751":["hashtag1","hashtag2"]},{"1399550759":["hashtag1","hashtag2"]},{"1399550753":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399550752, 1399550749, 1399550754, 1399550751, 1399550759, 1399550753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55742120742798 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:39:22.660228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/37/image_15122025_21_37_35_9528.jpg', '/home/pi/Desktop/images/15122025/21/37/image_15122025_21_38_05_9674.jpg', '/home/pi/Desktop/images/15122025/21/38/image_15122025_21_38_15_9673.jpg', '/home/pi/Desktop/images/15122025/21/38/image_15122025_21_38_25_10771.jpg', '/home/pi/Desktop/images/15122025/21/38/image_15122025_21_38_45_9772.jpg', '/home/pi/Desktop/images/15122025/21/38/image_15122025_21_38_56_10711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/37/image_15122025_21_37_35_9528.jpg
/home/pi/Desktop/images/15122025/21/37/image_15122025_21_38_05_9674.jpg
/home/pi/Desktop/images/15122025/21/38/image_15122025_21_38_15_9673.jpg
/home/pi/Desktop/images/15122025/21/38/image_15122025_21_38_25_10771.jpg
/home/pi/Desktop/images/15122025/21/38/image_15122025_21_38_45_9772.jpg
/home/pi/Desktop/images/15122025/21/38/image_15122025_21_38_56_10711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399550781","1399550783","1399550777","1399550786","1399550776","1399550779"],"photo_ids_order":["1399550776","1399550777","1399550779","1399550781","1399550783","1399550786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/51fdec73582b45935b1354ce61cf4f48.jpg","text":"TemporaryFile(/tmp/multipartBody2891717426371919837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831223308,"filename":"image_15122025_21_38_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/15/d9d89128d6ee42032a51cef8ccd5e6a6.jpg","text":"TemporaryFile(/tmp/multipartBody2525224551162247137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831223308,"filename":"image_15122025_21_38_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/15/e1e10cecfda08a7156396c9bd0472b41.jpg","text":"TemporaryFile(/tmp/multipartBody1308677992603625144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831223308,"filename":"image_15122025_21_38_05_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/15/715c29a7e54e16318f84ac78ea463b9e.jpg","text":"TemporaryFile(/tmp/multipartBody5161585696388769357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831223308,"filename":"image_15122025_21_38_56_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6b7ad278dd708edf19c891defff1db56.jpg","text":"TemporaryFile(/tmp/multipartBody185236180967065584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831223308,"filename":"image_15122025_21_37_35_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/15/4fa566547ef1b5d0b3ace5dab2ddedb2.jpg","text":"TemporaryFile(/tmp/multipartBody1737847344851788325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831223308,"filename":"image_15122025_21_38_15_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399550779","file1":"1399550777","file0":"1399550776","file4":"1399550783","file5":"1399550786","file3":"1399550781"},"map_files_photo_id_array":[{"photo_id":"1399550786","filename":"file5"},{"photo_id":"1399550779","filename":"file2"},{"photo_id":"1399550783","filename":"file4"},{"photo_id":"1399550777","filename":"file1"},{"photo_id":"1399550776","filename":"file0"},{"photo_id":"1399550781","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399550781":["hashtag1","hashtag2"]},{"1399550783":["hashtag1","hashtag2"]},{"1399550777":["hashtag1","hashtag2"]},{"1399550786":["hashtag1","hashtag2"]},{"1399550776":["hashtag1","hashtag2"]},{"1399550779":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399550781, 1399550783, 1399550777, 1399550786, 1399550776, 1399550779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.051151514053345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:40:02.455010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/38/image_15122025_21_39_05_9741.jpg', '/home/pi/Desktop/images/15122025/21/39/image_15122025_21_39_25_9689.jpg', '/home/pi/Desktop/images/15122025/21/39/image_15122025_21_39_35_10159.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/38/image_15122025_21_39_05_9741.jpg
/home/pi/Desktop/images/15122025/21/39/image_15122025_21_39_25_9689.jpg
/home/pi/Desktop/images/15122025/21/39/image_15122025_21_39_35_10159.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399550792","1399550794","1399550791"],"photo_ids_order":["1399550791","1399550792","1399550794"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0ddd561106234d06985071efce3740ca.jpg","text":"TemporaryFile(/tmp/multipartBody4463426580831726504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831262957,"filename":"image_15122025_21_39_25_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1a772da291218ec5d71710f8c7eaac40.jpg","text":"TemporaryFile(/tmp/multipartBody6145463068570019516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831262957,"filename":"image_15122025_21_39_35_10159.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/36afc5a1ed9460527614e1d83f04ff84.jpg","text":"TemporaryFile(/tmp/multipartBody7595563279438203575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831262957,"filename":"image_15122025_21_39_05_9741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399550794","file1":"1399550792","file0":"1399550791"},"map_files_photo_id_array":[{"photo_id":"1399550794","filename":"file2"},{"photo_id":"1399550792","filename":"file1"},{"photo_id":"1399550791","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399550792":["hashtag1","hashtag2"]},{"1399550794":["hashtag1","hashtag2"]},{"1399550791":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399550792, 1399550794, 1399550791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.858484983444214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 21:40:32.039665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 21:40:41.970143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/21/image_05112025_16_21_43_2723.jpg', '/home/pi/Desktop/images/05112025/16/21/image_05112025_16_21_46_2631.jpg', '/home/pi/Desktop/images/05112025/16/21/image_05112025_16_21_50_3706.jpg', '/home/pi/Desktop/images/05112025/16/21/image_05112025_16_21_52_2668.jpg', '/home/pi/Desktop/images/05112025/16/21/image_05112025_16_21_55_2602.jpg', '/home/pi/Desktop/images/05112025/16/21/image_05112025_16_21_59_3578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/21/image_05112025_16_21_43_2723.jpg
/home/pi/Desktop/images/05112025/16/21/image_05112025_16_21_46_2631.jpg
/home/pi/Desktop/images/05112025/16/21/image_05112025_16_21_50_3706.jpg
/home/pi/Desktop/images/05112025/16/21/image_05112025_16_21_52_2668.jpg
/home/pi/Desktop/images/05112025/16/21/image_05112025_16_21_55_2602.jpg
/home/pi/Desktop/images/05112025/16/21/image_05112025_16_21_59_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":["1399550812","1399550806","1399550815","1399550811","1399550808","1399550813"],"photo_ids_order":["1399550806","1399550808","1399550811","1399550812","1399550813","1399550815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/304631e541ddc2ff201b11cf3c1739a2.jpg","text":"TemporaryFile(/tmp/multipartBody5815758774690184513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831302717,"filename":"image_05112025_16_21_52_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/15898a835768ca3023190e0d5fe8197c.jpg","text":"TemporaryFile(/tmp/multipartBody1125579616063490785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831302717,"filename":"image_05112025_16_21_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/15/c7e8d3c2bae4b8cc59ae0961291048f8.jpg","text":"TemporaryFile(/tmp/multipartBody2574549123314991131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831302717,"filename":"image_05112025_16_21_59_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/20703768d2c18883b0f7acba6aeae2ff.jpg","text":"TemporaryFile(/tmp/multipartBody8525474718145783161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831302717,"filename":"image_05112025_16_21_50_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/15/60e65d43da349083872e42680e9e8226.jpg","text":"TemporaryFile(/tmp/multipartBody8570539311213417030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831302717,"filename":"image_05112025_16_21_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/15/c5a55651079e699ea050777b986ce8e6.jpg","text":"TemporaryFile(/tmp/multipartBody743710635704785663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831302717,"filename":"image_05112025_16_21_55_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399550811","file1":"1399550808","file0":"1399550806","file4":"1399550813","file5":"1399550815","file3":"1399550812"},"map_files_photo_id_array":[{"photo_id":"1399550815","filename":"file5"},{"photo_id":"1399550811","filename":"file2"},{"photo_id":"1399550813","filename":"file4"},{"photo_id":"1399550808","filename":"file1"},{"photo_id":"1399550806","filename":"file0"},{"photo_id":"1399550812","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399550812":["hashtag1","hashtag2"]},{"1399550806":["hashtag1","hashtag2"]},{"1399550815":["hashtag1","hashtag2"]},{"1399550811":["hashtag1","hashtag2"]},{"1399550808":["hashtag1","hashtag2"]},{"1399550813":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399550812, 1399550806, 1399550815, 1399550811, 1399550808, 1399550813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93188405036926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:41:22.291900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/39/image_15122025_21_39_45_9673.jpg', '/home/pi/Desktop/images/15122025/21/39/image_15122025_21_40_05_9727.jpg', '/home/pi/Desktop/images/15122025/21/40/image_15122025_21_40_15_9819.jpg', '/home/pi/Desktop/images/15122025/21/40/image_15122025_21_40_25_9807.jpg', '/home/pi/Desktop/images/15122025/21/40/image_15122025_21_40_35_10650.jpg', '/home/pi/Desktop/images/15122025/21/40/image_15122025_21_40_45_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/39/image_15122025_21_39_45_9673.jpg
/home/pi/Desktop/images/15122025/21/39/image_15122025_21_40_05_9727.jpg
/home/pi/Desktop/images/15122025/21/40/image_15122025_21_40_15_9819.jpg
/home/pi/Desktop/images/15122025/21/40/image_15122025_21_40_25_9807.jpg
/home/pi/Desktop/images/15122025/21/40/image_15122025_21_40_35_10650.jpg
/home/pi/Desktop/images/15122025/21/40/image_15122025_21_40_45_9611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399550830","1399550824","1399550833","1399550821","1399550826","1399550828"],"photo_ids_order":["1399550821","1399550824","1399550826","1399550828","1399550830","1399550833"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1d522e102354a2035d98ae7f0b2d4d76.jpg","text":"TemporaryFile(/tmp/multipartBody2509902950555356129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831342937,"filename":"image_15122025_21_40_35_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/30a2e4d068da438ae1ce3fdc8ac5607c.jpg","text":"TemporaryFile(/tmp/multipartBody7888425684885156891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831342937,"filename":"image_15122025_21_40_05_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5226fd8ddebea630a260c05052043c3b.jpg","text":"TemporaryFile(/tmp/multipartBody3490276500188817670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831342937,"filename":"image_15122025_21_40_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/15/dce6a7278f3bc280274fd42148ce1de7.jpg","text":"TemporaryFile(/tmp/multipartBody4560197925489738096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831342937,"filename":"image_15122025_21_39_45_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1cc536a28ad8c880460edc84752e920b.jpg","text":"TemporaryFile(/tmp/multipartBody1041218227065154812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831342937,"filename":"image_15122025_21_40_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/15/e8e80ffb0eec7c8c2d387d48c2683883.jpg","text":"TemporaryFile(/tmp/multipartBody2292626173040678014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831342937,"filename":"image_15122025_21_40_25_9807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399550826","file1":"1399550824","file0":"1399550821","file4":"1399550830","file5":"1399550833","file3":"1399550828"},"map_files_photo_id_array":[{"photo_id":"1399550833","filename":"file5"},{"photo_id":"1399550826","filename":"file2"},{"photo_id":"1399550830","filename":"file4"},{"photo_id":"1399550824","filename":"file1"},{"photo_id":"1399550821","filename":"file0"},{"photo_id":"1399550828","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399550830":["hashtag1","hashtag2"]},{"1399550824":["hashtag1","hashtag2"]},{"1399550833":["hashtag1","hashtag2"]},{"1399550821":["hashtag1","hashtag2"]},{"1399550826":["hashtag1","hashtag2"]},{"1399550828":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399550830, 1399550824, 1399550833, 1399550821, 1399550826, 1399550828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42440700531006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:42:03.024620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/40/image_15122025_21_40_55_9888.jpg', '/home/pi/Desktop/images/15122025/21/40/image_15122025_21_41_05_9725.jpg', '/home/pi/Desktop/images/15122025/21/41/image_15122025_21_41_15_10709.jpg', '/home/pi/Desktop/images/15122025/21/41/image_15122025_21_41_25_9763.jpg', '/home/pi/Desktop/images/15122025/21/41/image_15122025_21_41_35_9662.jpg', '/home/pi/Desktop/images/15122025/21/41/image_15122025_21_41_46_10831.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/40/image_15122025_21_40_55_9888.jpg
/home/pi/Desktop/images/15122025/21/40/image_15122025_21_41_05_9725.jpg
/home/pi/Desktop/images/15122025/21/41/image_15122025_21_41_15_10709.jpg
/home/pi/Desktop/images/15122025/21/41/image_15122025_21_41_25_9763.jpg
/home/pi/Desktop/images/15122025/21/41/image_15122025_21_41_35_9662.jpg
/home/pi/Desktop/images/15122025/21/41/image_15122025_21_41_46_10831.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399550845","1399550839","1399550841","1399550835","1399550837","1399550842"],"photo_ids_order":["1399550835","1399550837","1399550839","1399550841","1399550842","1399550845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dcf7ef8d69df6c4cf4d543fa7e2eafd8.jpg","text":"TemporaryFile(/tmp/multipartBody8769327434790702885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831383653,"filename":"image_15122025_21_41_46_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/15/11c4656a9f355ace71ea71061d71ec73.jpg","text":"TemporaryFile(/tmp/multipartBody4323606305632643580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831383653,"filename":"image_15122025_21_41_15_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c989f975426ddfb98610c9be4d5587de.jpg","text":"TemporaryFile(/tmp/multipartBody4601623241533596330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831383653,"filename":"image_15122025_21_41_25_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/144486fadfe6a8cc789e8585637d0962.jpg","text":"TemporaryFile(/tmp/multipartBody8910302811790089704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831383653,"filename":"image_15122025_21_40_55_9888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/234217134ad70367c684167eef6f944d.jpg","text":"TemporaryFile(/tmp/multipartBody8742628799018001026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831383653,"filename":"image_15122025_21_41_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/15/fe99773e6aa8ca6a91857b26cf05a140.jpg","text":"TemporaryFile(/tmp/multipartBody5273248109373701082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831383653,"filename":"image_15122025_21_41_35_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399550839","file1":"1399550837","file0":"1399550835","file4":"1399550842","file5":"1399550845","file3":"1399550841"},"map_files_photo_id_array":[{"photo_id":"1399550845","filename":"file5"},{"photo_id":"1399550839","filename":"file2"},{"photo_id":"1399550842","filename":"file4"},{"photo_id":"1399550837","filename":"file1"},{"photo_id":"1399550835","filename":"file0"},{"photo_id":"1399550841","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399550845":["hashtag1","hashtag2"]},{"1399550839":["hashtag1","hashtag2"]},{"1399550841":["hashtag1","hashtag2"]},{"1399550835":["hashtag1","hashtag2"]},{"1399550837":["hashtag1","hashtag2"]},{"1399550842":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399550845, 1399550839, 1399550841, 1399550835, 1399550837, 1399550842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.072991609573364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 21:42:42.496686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_01_2808.jpg', '/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_04_2523.jpg', '/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_08_3722.jpg', '/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_10_2680.jpg', '/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_13_2628.jpg', '/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_17_3630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_01_2808.jpg
/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_04_2523.jpg
/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_08_3722.jpg
/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_10_2680.jpg
/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_13_2628.jpg
/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_17_3630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399550865","1399550868","1399550877","1399550850","1399550876","1399550861"],"photo_ids_order":["1399550850","1399550861","1399550865","1399550868","1399550876","1399550877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/76eb1f5a8174e0293fa3ad8c227e22b4.jpg","text":"TemporaryFile(/tmp/multipartBody2447986740972005932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831423189,"filename":"image_05112025_16_22_08_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/af4069a73e84fe331fb22343709d1c15.jpg","text":"TemporaryFile(/tmp/multipartBody7701604158702261769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831423189,"filename":"image_05112025_16_22_10_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f1f217082c8d850e1b797249a02c1aeb.jpg","text":"TemporaryFile(/tmp/multipartBody6129589418734811609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831423189,"filename":"image_05112025_16_22_17_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/15/681142ed6123fcc97fc9c6fb5d59e59f.jpg","text":"TemporaryFile(/tmp/multipartBody4162637299114751494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831423189,"filename":"image_05112025_16_22_01_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1f55b25a1125e65eed800e8f9b1242d8.jpg","text":"TemporaryFile(/tmp/multipartBody3361762792826096881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831423189,"filename":"image_05112025_16_22_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/15/015281d36730bab87da0664fc14ae36a.jpg","text":"TemporaryFile(/tmp/multipartBody5042563438114808820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831423189,"filename":"image_05112025_16_22_04_2523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399550865","file1":"1399550861","file0":"1399550850","file4":"1399550876","file5":"1399550877","file3":"1399550868"},"map_files_photo_id_array":[{"photo_id":"1399550877","filename":"file5"},{"photo_id":"1399550865","filename":"file2"},{"photo_id":"1399550876","filename":"file4"},{"photo_id":"1399550861","filename":"file1"},{"photo_id":"1399550850","filename":"file0"},{"photo_id":"1399550868","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399550865":["hashtag1","hashtag2"]},{"1399550868":["hashtag1","hashtag2"]},{"1399550877":["hashtag1","hashtag2"]},{"1399550850":["hashtag1","hashtag2"]},{"1399550876":["hashtag1","hashtag2"]},{"1399550861":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399550865, 1399550868, 1399550877, 1399550850, 1399550876, 1399550861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61255240440369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:43:22.766106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/41/image_15122025_21_41_55_9314.jpg', '/home/pi/Desktop/images/15122025/21/41/image_15122025_21_42_05_9699.jpg', '/home/pi/Desktop/images/15122025/21/42/image_15122025_21_42_15_10834.jpg', '/home/pi/Desktop/images/15122025/21/42/image_15122025_21_42_25_9735.jpg', '/home/pi/Desktop/images/15122025/21/42/image_15122025_21_42_35_9768.jpg', '/home/pi/Desktop/images/15122025/21/43/image_15122025_21_43_15_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/41/image_15122025_21_41_55_9314.jpg
/home/pi/Desktop/images/15122025/21/41/image_15122025_21_42_05_9699.jpg
/home/pi/Desktop/images/15122025/21/42/image_15122025_21_42_15_10834.jpg
/home/pi/Desktop/images/15122025/21/42/image_15122025_21_42_25_9735.jpg
/home/pi/Desktop/images/15122025/21/42/image_15122025_21_42_35_9768.jpg
/home/pi/Desktop/images/15122025/21/43/image_15122025_21_43_15_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":["1399550883","1399550885","1399550888","1399550893","1399550887","1399550881"],"photo_ids_order":["1399550881","1399550883","1399550885","1399550887","1399550888","1399550893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/402cdd75d7a6f5bb2aedf1dd74a9746b.jpg","text":"TemporaryFile(/tmp/multipartBody3592451383952029811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831463412,"filename":"image_15122025_21_42_05_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1b3d9f72e26be97dafcdaf05c1faab16.jpg","text":"TemporaryFile(/tmp/multipartBody5106181827414813752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831463412,"filename":"image_15122025_21_42_15_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/15/02b450f74d7ef757a514b8fbe16a1eaf.jpg","text":"TemporaryFile(/tmp/multipartBody4998491217102858607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831463412,"filename":"image_15122025_21_42_35_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7e4d2368496da4815b7a8df971d286d7.jpg","text":"TemporaryFile(/tmp/multipartBody1006543701329356104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831463412,"filename":"image_15122025_21_43_15_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e5349a803c37c71b22ca24a0804a3d3d.jpg","text":"TemporaryFile(/tmp/multipartBody9042259323005842786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831463412,"filename":"image_15122025_21_42_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/15/6cc89c7111ea851ce702df3884cfca40.jpg","text":"TemporaryFile(/tmp/multipartBody471680703327360313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831463412,"filename":"image_15122025_21_41_55_9314.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399550885","file1":"1399550883","file0":"1399550881","file4":"1399550888","file5":"1399550893","file3":"1399550887"},"map_files_photo_id_array":[{"photo_id":"1399550893","filename":"file5"},{"photo_id":"1399550885","filename":"file2"},{"photo_id":"1399550888","filename":"file4"},{"photo_id":"1399550883","filename":"file1"},{"photo_id":"1399550881","filename":"file0"},{"photo_id":"1399550887","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399550883":["hashtag1","hashtag2"]},{"1399550885":["hashtag1","hashtag2"]},{"1399550888":["hashtag1","hashtag2"]},{"1399550893":["hashtag1","hashtag2"]},{"1399550887":["hashtag1","hashtag2"]},{"1399550881":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399550883, 1399550885, 1399550888, 1399550893, 1399550887, 1399550881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.736879110336304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:44:02.842494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/43/image_15122025_21_43_25_10641.jpg', '/home/pi/Desktop/images/15122025/21/43/image_15122025_21_43_35_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/43/image_15122025_21_43_25_10641.jpg
/home/pi/Desktop/images/15122025/21/43/image_15122025_21_43_35_9784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399550895","1399550894"],"photo_ids_order":["1399550894","1399550895"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a0db82ec6e4024c2ac801b70992b6e68.jpg","text":"TemporaryFile(/tmp/multipartBody4841279458549276845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831503373,"filename":"image_15122025_21_43_35_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d5a0804ad8000b81ab78ce81bc2215d8.jpg","text":"TemporaryFile(/tmp/multipartBody6241312870355305820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831503373,"filename":"image_15122025_21_43_25_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399550895","file0":"1399550894"},"map_files_photo_id_array":[{"photo_id":"1399550895","filename":"file1"},{"photo_id":"1399550894","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399550895":["hashtag1","hashtag2"]},{"1399550894":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399550895, 1399550894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.061359882354736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:44:22.208003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/43/image_15122025_21_43_55_9624.jpg', '/home/pi/Desktop/images/15122025/21/43/image_15122025_21_44_05_10716.jpg', '/home/pi/Desktop/images/15122025/21/44/image_15122025_21_44_15_9793.jpg', '/home/pi/Desktop/images/15122025/21/44/image_15122025_21_44_25_9770.jpg', '/home/pi/Desktop/images/15122025/21/44/image_15122025_21_44_35_9649.jpg', '/home/pi/Desktop/images/15122025/21/44/image_15122025_21_44_45_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/43/image_15122025_21_43_55_9624.jpg
/home/pi/Desktop/images/15122025/21/43/image_15122025_21_44_05_10716.jpg
/home/pi/Desktop/images/15122025/21/44/image_15122025_21_44_15_9793.jpg
/home/pi/Desktop/images/15122025/21/44/image_15122025_21_44_25_9770.jpg
/home/pi/Desktop/images/15122025/21/44/image_15122025_21_44_35_9649.jpg
/home/pi/Desktop/images/15122025/21/44/image_15122025_21_44_45_10639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399550920","1399550898","1399550897","1399550901","1399550912","1399550903"],"photo_ids_order":["1399550897","1399550898","1399550901","1399550903","1399550912","1399550920"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2a947f7d130a48798ab7b3df5aef93f1.jpg","text":"TemporaryFile(/tmp/multipartBody3593282727404268521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831522843,"filename":"image_15122025_21_44_45_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4dcebe7d91c435a29944f3f8cbe6d18e.jpg","text":"TemporaryFile(/tmp/multipartBody624067337628631862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831522843,"filename":"image_15122025_21_44_05_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/15/c3581a9850b6f6e407b16af75ba99fe1.jpg","text":"TemporaryFile(/tmp/multipartBody7680157492563285502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831522843,"filename":"image_15122025_21_43_55_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a1bdae765af2dc542ad4f9f5db70d38b.jpg","text":"TemporaryFile(/tmp/multipartBody8840844882663861921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831522843,"filename":"image_15122025_21_44_15_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f1ce35cce2a6216881323591e2d6e101.jpg","text":"TemporaryFile(/tmp/multipartBody860364940621124138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831522843,"filename":"image_15122025_21_44_35_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7885fb73b9a165550dbb62311ced791d.jpg","text":"TemporaryFile(/tmp/multipartBody3726226254954988253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831522843,"filename":"image_15122025_21_44_25_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399550901","file1":"1399550898","file0":"1399550897","file4":"1399550912","file5":"1399550920","file3":"1399550903"},"map_files_photo_id_array":[{"photo_id":"1399550920","filename":"file5"},{"photo_id":"1399550901","filename":"file2"},{"photo_id":"1399550912","filename":"file4"},{"photo_id":"1399550898","filename":"file1"},{"photo_id":"1399550897","filename":"file0"},{"photo_id":"1399550903","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399550920":["hashtag1","hashtag2"]},{"1399550898":["hashtag1","hashtag2"]},{"1399550897":["hashtag1","hashtag2"]},{"1399550901":["hashtag1","hashtag2"]},{"1399550912":["hashtag1","hashtag2"]},{"1399550903":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399550920, 1399550898, 1399550897, 1399550901, 1399550912, 1399550903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.425148010253906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:45:02.934226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 21:45:12.302555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:45:22.364577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_19_2698.jpg', '/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_22_2594.jpg', '/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_25_3600.jpg', '/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_28_2637.jpg', '/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_32_3516.jpg', '/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_34_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_19_2698.jpg
/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_22_2594.jpg
/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_25_3600.jpg
/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_28_2637.jpg
/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_32_3516.jpg
/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_34_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.6194446086883545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 21:45:32.398652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 21:45:42.358592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_19_2698.jpg', '/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_22_2594.jpg', '/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_25_3600.jpg', '/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_28_2637.jpg', '/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_32_3516.jpg', '/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_34_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_19_2698.jpg
/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_22_2594.jpg
/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_25_3600.jpg
/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_28_2637.jpg
/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_32_3516.jpg
/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_34_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":["1399550944","1399550947","1399550946","1399550949","1399550948","1399550941"],"photo_ids_order":["1399550941","1399550944","1399550946","1399550947","1399550948","1399550949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/65a257d9979b269d644139bdc0d9c6ce.jpg","text":"TemporaryFile(/tmp/multipartBody5490508306006136329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831602947,"filename":"image_05112025_16_22_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/15/1522e2a4130abdd81417da03ff7cb184.jpg","text":"TemporaryFile(/tmp/multipartBody6640842253709141871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831602947,"filename":"image_05112025_16_22_28_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a8ee1c02c32598a2db8129b072c2024e.jpg","text":"TemporaryFile(/tmp/multipartBody6003295388760175979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831602947,"filename":"image_05112025_16_22_25_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/15/c055c86788ec57bb30192a4b36072011.jpg","text":"TemporaryFile(/tmp/multipartBody835805698514305149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831602947,"filename":"image_05112025_16_22_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/15/40e7180482de73b968c125a2ba5e7295.jpg","text":"TemporaryFile(/tmp/multipartBody1490005786450098619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831602947,"filename":"image_05112025_16_22_32_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/15/d6e66e938036b05c255de66b1d045884.jpg","text":"TemporaryFile(/tmp/multipartBody6163902409694883485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831602947,"filename":"image_05112025_16_22_19_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399550946","file1":"1399550944","file0":"1399550941","file4":"1399550948","file5":"1399550949","file3":"1399550947"},"map_files_photo_id_array":[{"photo_id":"1399550949","filename":"file5"},{"photo_id":"1399550946","filename":"file2"},{"photo_id":"1399550948","filename":"file4"},{"photo_id":"1399550944","filename":"file1"},{"photo_id":"1399550941","filename":"file0"},{"photo_id":"1399550947","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399550944":["hashtag1","hashtag2"]},{"1399550947":["hashtag1","hashtag2"]},{"1399550946":["hashtag1","hashtag2"]},{"1399550949":["hashtag1","hashtag2"]},{"1399550948":["hashtag1","hashtag2"]},{"1399550941":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399550944, 1399550947, 1399550946, 1399550949, 1399550948, 1399550941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.643709659576416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:46:22.634737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_37_2569.jpg', '/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_40_3672.jpg', '/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_43_2648.jpg', '/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_46_2597.jpg', '/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_49_3617.jpg', '/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_52_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_37_2569.jpg
/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_40_3672.jpg
/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_43_2648.jpg
/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_46_2597.jpg
/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_49_3617.jpg
/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_52_2658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399550953","1399550967","1399550952","1399550966","1399550960","1399550956"],"photo_ids_order":["1399550952","1399550953","1399550956","1399550960","1399550966","1399550967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cd9f28275dda633a80e88b64beed0b9c.jpg","text":"TemporaryFile(/tmp/multipartBody3879999508965616386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831643381,"filename":"image_05112025_16_22_40_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8b1989df6a5d8bcc14fa6df2c20821bc.jpg","text":"TemporaryFile(/tmp/multipartBody8809903293624369712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831643381,"filename":"image_05112025_16_22_52_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/18a513ae13291191fa62d0fe25e1bc05.jpg","text":"TemporaryFile(/tmp/multipartBody5022878811730434560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831643381,"filename":"image_05112025_16_22_37_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/15/315d06c25beb07b847baca240da71d8b.jpg","text":"TemporaryFile(/tmp/multipartBody8942568955673351064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831643381,"filename":"image_05112025_16_22_49_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/15/19e144a2e11be130cbd9b1e04578cf85.jpg","text":"TemporaryFile(/tmp/multipartBody6909720383804453909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831643381,"filename":"image_05112025_16_22_46_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/91b188c42a8822581096986bdc724326.jpg","text":"TemporaryFile(/tmp/multipartBody5457193260367938187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831643381,"filename":"image_05112025_16_22_43_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399550956","file1":"1399550953","file0":"1399550952","file4":"1399550966","file5":"1399550967","file3":"1399550960"},"map_files_photo_id_array":[{"photo_id":"1399550967","filename":"file5"},{"photo_id":"1399550956","filename":"file2"},{"photo_id":"1399550966","filename":"file4"},{"photo_id":"1399550953","filename":"file1"},{"photo_id":"1399550952","filename":"file0"},{"photo_id":"1399550960","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399550953":["hashtag1","hashtag2"]},{"1399550967":["hashtag1","hashtag2"]},{"1399550952":["hashtag1","hashtag2"]},{"1399550966":["hashtag1","hashtag2"]},{"1399550960":["hashtag1","hashtag2"]},{"1399550956":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399550953, 1399550967, 1399550952, 1399550966, 1399550960, 1399550956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90148210525513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:47:02.620280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 21:47:11.981354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:47:21.925792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_59_7370.jpg', '/home/pi/Desktop/images/05112025/16/23/image_05112025_16_23_01_1719.jpg', '/home/pi/Desktop/images/05112025/16/23/image_05112025_16_23_03_1756.jpg', '/home/pi/Desktop/images/05112025/16/23/image_05112025_16_23_04_1641.jpg', '/home/pi/Desktop/images/05112025/16/23/image_05112025_16_23_07_2524.jpg', '/home/pi/Desktop/images/05112025/16/23/image_05112025_16_23_16_8994.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/22/image_05112025_16_22_59_7370.jpg
/home/pi/Desktop/images/05112025/16/23/image_05112025_16_23_01_1719.jpg
/home/pi/Desktop/images/05112025/16/23/image_05112025_16_23_03_1756.jpg
/home/pi/Desktop/images/05112025/16/23/image_05112025_16_23_04_1641.jpg
/home/pi/Desktop/images/05112025/16/23/image_05112025_16_23_07_2524.jpg
/home/pi/Desktop/images/05112025/16/23/image_05112025_16_23_16_8994.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399550985","1399550981","1399550975","1399550980","1399550983","1399550977"],"photo_ids_order":["1399550975","1399550977","1399550980","1399550981","1399550983","1399550985"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/563a0429750d82a039e8f7a5c9cd7be8.jpg","text":"TemporaryFile(/tmp/multipartBody2840190152782548470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831702651,"filename":"image_05112025_16_23_16_8994.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/022fb170557cde991f3aebd6a5dbb0e7.jpg","text":"TemporaryFile(/tmp/multipartBody6497196546962484478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831702651,"filename":"image_05112025_16_23_04_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/15/28a1603138c7def5e6ce148d8f153cdf.jpg","text":"TemporaryFile(/tmp/multipartBody6738469909437861402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831702651,"filename":"image_05112025_16_22_59_7370.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9a79ca784fa41c7cc4f0c62c1f00cda3.jpg","text":"TemporaryFile(/tmp/multipartBody1453309627780437767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831702651,"filename":"image_05112025_16_23_03_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/15/3de909f2ea85b2712cf007448221da2c.jpg","text":"TemporaryFile(/tmp/multipartBody3587812924481323719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831702651,"filename":"image_05112025_16_23_07_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/15/bfe6f30ef34aab6b83f14efb35a94042.jpg","text":"TemporaryFile(/tmp/multipartBody2301347645386427754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831702651,"filename":"image_05112025_16_23_01_1719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399550980","file1":"1399550977","file0":"1399550975","file4":"1399550983","file5":"1399550985","file3":"1399550981"},"map_files_photo_id_array":[{"photo_id":"1399550985","filename":"file5"},{"photo_id":"1399550980","filename":"file2"},{"photo_id":"1399550983","filename":"file4"},{"photo_id":"1399550977","filename":"file1"},{"photo_id":"1399550975","filename":"file0"},{"photo_id":"1399550981","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399550985":["hashtag1","hashtag2"]},{"1399550981":["hashtag1","hashtag2"]},{"1399550975":["hashtag1","hashtag2"]},{"1399550980":["hashtag1","hashtag2"]},{"1399550983":["hashtag1","hashtag2"]},{"1399550977":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399550985, 1399550981, 1399550975, 1399550980, 1399550983, 1399550977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22772002220154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:48:02.538591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 21:48:12.066194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:48:22.148382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/44/image_15122025_21_44_55_9663.jpg', '/home/pi/Desktop/images/15122025/21/48/image_15122025_21_48_16_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/44/image_15122025_21_44_55_9663.jpg
/home/pi/Desktop/images/15122025/21/48/image_15122025_21_48_16_10647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399550987","1399550989"],"photo_ids_order":["1399550987","1399550989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/aa68b7dcd1f15212071729272b163cdd.jpg","text":"TemporaryFile(/tmp/multipartBody8743886950866023869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831762624,"filename":"image_15122025_21_44_55_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/72c495cb0b8111545f852fd3520b54af.jpg","text":"TemporaryFile(/tmp/multipartBody1042039987878939364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831762624,"filename":"image_15122025_21_48_16_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399550989","file0":"1399550987"},"map_files_photo_id_array":[{"photo_id":"1399550989","filename":"file1"},{"photo_id":"1399550987","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399550987":["hashtag1","hashtag2"]},{"1399550989":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399550987, 1399550989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.826891899108887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 21:48:42.146026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/23/image_05112025_16_23_18_1661.jpg', '/home/pi/Desktop/images/05112025/16/23/image_05112025_16_23_19_1616.jpg', '/home/pi/Desktop/images/05112025/16/23/image_05112025_16_23_21_1627.jpg', '/home/pi/Desktop/images/05112025/16/23/image_05112025_16_23_25_3873.jpg', '/home/pi/Desktop/images/05112025/16/23/image_05112025_16_23_36_11511.jpg', '/home/pi/Desktop/images/05112025/16/23/image_05112025_16_23_38_1833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/23/image_05112025_16_23_18_1661.jpg
/home/pi/Desktop/images/05112025/16/23/image_05112025_16_23_19_1616.jpg
/home/pi/Desktop/images/05112025/16/23/image_05112025_16_23_21_1627.jpg
/home/pi/Desktop/images/05112025/16/23/image_05112025_16_23_25_3873.jpg
/home/pi/Desktop/images/05112025/16/23/image_05112025_16_23_36_11511.jpg
/home/pi/Desktop/images/05112025/16/23/image_05112025_16_23_38_1833.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399551007","1399551003","1399551006","1399551000","1399551005","1399551004"],"photo_ids_order":["1399551000","1399551003","1399551004","1399551005","1399551006","1399551007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2ea92350981d3a3da300f06bfd21c3f7.jpg","text":"TemporaryFile(/tmp/multipartBody3250306857440196956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831782836,"filename":"image_05112025_16_23_38_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/15/4e8e98e65870e234d6faa3ae1c706217.jpg","text":"TemporaryFile(/tmp/multipartBody7431345980702565098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831782836,"filename":"image_05112025_16_23_19_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/15/82fb35186c6b806ccf81382eda4cd22a.jpg","text":"TemporaryFile(/tmp/multipartBody6184082562745975426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831782836,"filename":"image_05112025_16_23_36_11511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ec61dc13b02ff985ffdbd1853100c78b.jpg","text":"TemporaryFile(/tmp/multipartBody1613064308413416058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831782836,"filename":"image_05112025_16_23_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/15/e5ce3ff599df554c0c566d7454f92a4c.jpg","text":"TemporaryFile(/tmp/multipartBody4817665329019260220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831782836,"filename":"image_05112025_16_23_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/15/a8e315061bd80905c5d7f8603c14f253.jpg","text":"TemporaryFile(/tmp/multipartBody4372777187585945876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831782836,"filename":"image_05112025_16_23_21_1627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399551004","file1":"1399551003","file0":"1399551000","file4":"1399551006","file5":"1399551007","file3":"1399551005"},"map_files_photo_id_array":[{"photo_id":"1399551007","filename":"file5"},{"photo_id":"1399551004","filename":"file2"},{"photo_id":"1399551006","filename":"file4"},{"photo_id":"1399551003","filename":"file1"},{"photo_id":"1399551000","filename":"file0"},{"photo_id":"1399551005","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399551007":["hashtag1","hashtag2"]},{"1399551003":["hashtag1","hashtag2"]},{"1399551006":["hashtag1","hashtag2"]},{"1399551000":["hashtag1","hashtag2"]},{"1399551005":["hashtag1","hashtag2"]},{"1399551004":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399551007, 1399551003, 1399551006, 1399551000, 1399551005, 1399551004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76465129852295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:49:22.307237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_07_3016.jpg', '/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_11_3600.jpg', '/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_13_2580.jpg', '/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_17_3658.jpg', '/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_20_2801.jpg', '/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_22_2726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_07_3016.jpg
/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_11_3600.jpg
/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_13_2580.jpg
/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_17_3658.jpg
/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_20_2801.jpg
/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_22_2726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399551013","1399551015","1399551011","1399551017","1399551022","1399551019"],"photo_ids_order":["1399551011","1399551013","1399551015","1399551017","1399551019","1399551022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/531f166ca669a6d5dca8a927973343dc.jpg","text":"TemporaryFile(/tmp/multipartBody4957555517261698338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831823009,"filename":"image_05112025_16_25_11_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/154e67abb54123cfafddf48dc01c022a.jpg","text":"TemporaryFile(/tmp/multipartBody2124581101321735292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831823009,"filename":"image_05112025_16_25_13_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4a71ce7f8ac3630d68befd33b8d2cfcd.jpg","text":"TemporaryFile(/tmp/multipartBody2487409364116917714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831823009,"filename":"image_05112025_16_25_07_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/46fb0e7581618bcb6b66df5eb99e14c5.jpg","text":"TemporaryFile(/tmp/multipartBody7860296379731973895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831823009,"filename":"image_05112025_16_25_17_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/88883266f647018500467e80c755d932.jpg","text":"TemporaryFile(/tmp/multipartBody1089384462232321455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831823009,"filename":"image_05112025_16_25_22_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/15/6537e484492cf3c333d0ef1c2f2bdc67.jpg","text":"TemporaryFile(/tmp/multipartBody6693877831746944768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831823009,"filename":"image_05112025_16_25_20_2801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399551015","file1":"1399551013","file0":"1399551011","file4":"1399551019","file5":"1399551022","file3":"1399551017"},"map_files_photo_id_array":[{"photo_id":"1399551022","filename":"file5"},{"photo_id":"1399551015","filename":"file2"},{"photo_id":"1399551019","filename":"file4"},{"photo_id":"1399551013","filename":"file1"},{"photo_id":"1399551011","filename":"file0"},{"photo_id":"1399551017","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399551013":["hashtag1","hashtag2"]},{"1399551015":["hashtag1","hashtag2"]},{"1399551011":["hashtag1","hashtag2"]},{"1399551017":["hashtag1","hashtag2"]},{"1399551022":["hashtag1","hashtag2"]},{"1399551019":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399551013, 1399551015, 1399551011, 1399551017, 1399551022, 1399551019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59670925140381 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:50:02.942117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 21:50:12.490509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:50:22.575241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_26_3571.jpg', '/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_29_2704.jpg', '/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_32_3743.jpg', '/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_34_1572.jpg', '/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_38_3651.jpg', '/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_40_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_26_3571.jpg
/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_29_2704.jpg
/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_32_3743.jpg
/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_34_1572.jpg
/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_38_3651.jpg
/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_40_2623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399551033","1399551027","1399551044","1399551029","1399551031","1399551025"],"photo_ids_order":["1399551025","1399551027","1399551029","1399551031","1399551033","1399551044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6bb0a2e63d0ec8e9c454a0659a3fb1f8.jpg","text":"TemporaryFile(/tmp/multipartBody3708476737753616303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831883299,"filename":"image_05112025_16_25_38_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/15/e9095bfc6871f97d8120e9ce4d23a37f.jpg","text":"TemporaryFile(/tmp/multipartBody8915428519118275570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831883299,"filename":"image_05112025_16_25_29_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/15/d1efba6aa9d079c40b14fd91eb483b8d.jpg","text":"TemporaryFile(/tmp/multipartBody3787316252291406949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831883299,"filename":"image_05112025_16_25_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/15/1e4d2307c50acc51daedfca52344ed36.jpg","text":"TemporaryFile(/tmp/multipartBody1234723115538798739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831883299,"filename":"image_05112025_16_25_32_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/15/e8b1f5583f99a22a2b8ce39f15035dfa.jpg","text":"TemporaryFile(/tmp/multipartBody3088542115099502380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831883299,"filename":"image_05112025_16_25_34_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/15/165ff4ee1877d16d548497f82a0ff30b.jpg","text":"TemporaryFile(/tmp/multipartBody4528931320165364422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831883299,"filename":"image_05112025_16_25_26_3571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399551029","file1":"1399551027","file0":"1399551025","file4":"1399551033","file5":"1399551044","file3":"1399551031"},"map_files_photo_id_array":[{"photo_id":"1399551044","filename":"file5"},{"photo_id":"1399551029","filename":"file2"},{"photo_id":"1399551033","filename":"file4"},{"photo_id":"1399551027","filename":"file1"},{"photo_id":"1399551025","filename":"file0"},{"photo_id":"1399551031","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399551033":["hashtag1","hashtag2"]},{"1399551027":["hashtag1","hashtag2"]},{"1399551044":["hashtag1","hashtag2"]},{"1399551029":["hashtag1","hashtag2"]},{"1399551031":["hashtag1","hashtag2"]},{"1399551025":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399551033, 1399551027, 1399551044, 1399551029, 1399551031, 1399551025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86248779296875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:51:03.370178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 21:51:12.697036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:51:22.654063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/48/image_15122025_21_48_35_9846.jpg', '/home/pi/Desktop/images/15122025/21/50/image_15122025_21_51_06_10921.jpg', '/home/pi/Desktop/images/15122025/21/51/image_15122025_21_51_15_9676.jpg', '/home/pi/Desktop/images/15122025/21/51/image_15122025_21_51_35_10238.jpg', '/home/pi/Desktop/images/15122025/21/51/image_15122025_21_51_45_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/48/image_15122025_21_48_35_9846.jpg
/home/pi/Desktop/images/15122025/21/50/image_15122025_21_51_06_10921.jpg
/home/pi/Desktop/images/15122025/21/51/image_15122025_21_51_15_9676.jpg
/home/pi/Desktop/images/15122025/21/51/image_15122025_21_51_35_10238.jpg
/home/pi/Desktop/images/15122025/21/51/image_15122025_21_51_45_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.4570138454437256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 21:51:32.745073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 21:51:42.730309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_44_3676.jpg', '/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_47_2643.jpg', '/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_49_2565.jpg', '/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_53_3521.jpg', '/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_55_2558.jpg', '/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_59_3585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_44_3676.jpg
/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_47_2643.jpg
/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_49_2565.jpg
/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_53_3521.jpg
/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_55_2558.jpg
/home/pi/Desktop/images/05112025/16/25/image_05112025_16_25_59_3585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399551072","1399551075","1399551074","1399551077","1399551073","1399551076"],"photo_ids_order":["1399551072","1399551073","1399551074","1399551075","1399551076","1399551077"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/da5320e94c6f3b0a5470297ab688cc82.jpg","text":"TemporaryFile(/tmp/multipartBody8556419282794558452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831963512,"filename":"image_05112025_16_25_44_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/15/eacd6f5f0c3adc8ad301dbb25b46f051.jpg","text":"TemporaryFile(/tmp/multipartBody6359759731368584921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831963512,"filename":"image_05112025_16_25_53_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/15/b9cabdbf075df156687c41dda0ea0130.jpg","text":"TemporaryFile(/tmp/multipartBody2896436369388198668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831963512,"filename":"image_05112025_16_25_49_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b496057a32ae0b5f5515e7e5415b9b1f.jpg","text":"TemporaryFile(/tmp/multipartBody3419622695812641540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831963512,"filename":"image_05112025_16_25_59_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/15/0726eea0e26cf588021a885cd638ff34.jpg","text":"TemporaryFile(/tmp/multipartBody984212418904072230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831963512,"filename":"image_05112025_16_25_47_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/15/632163c319e8782623521f1f1a162b8c.jpg","text":"TemporaryFile(/tmp/multipartBody5874765526460809906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765831963512,"filename":"image_05112025_16_25_55_2558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399551074","file1":"1399551073","file0":"1399551072","file4":"1399551076","file5":"1399551077","file3":"1399551075"},"map_files_photo_id_array":[{"photo_id":"1399551077","filename":"file5"},{"photo_id":"1399551074","filename":"file2"},{"photo_id":"1399551076","filename":"file4"},{"photo_id":"1399551073","filename":"file1"},{"photo_id":"1399551072","filename":"file0"},{"photo_id":"1399551075","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399551072":["hashtag1","hashtag2"]},{"1399551075":["hashtag1","hashtag2"]},{"1399551074":["hashtag1","hashtag2"]},{"1399551077":["hashtag1","hashtag2"]},{"1399551073":["hashtag1","hashtag2"]},{"1399551076":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399551072, 1399551075, 1399551074, 1399551077, 1399551073, 1399551076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.645079612731934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:52:21.997422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/48/image_15122025_21_48_35_9846.jpg', '/home/pi/Desktop/images/15122025/21/50/image_15122025_21_51_06_10921.jpg', '/home/pi/Desktop/images/15122025/21/51/image_15122025_21_51_15_9676.jpg', '/home/pi/Desktop/images/15122025/21/51/image_15122025_21_51_35_10238.jpg', '/home/pi/Desktop/images/15122025/21/51/image_15122025_21_51_45_9677.jpg', '/home/pi/Desktop/images/15122025/21/51/image_15122025_21_51_56_10691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/48/image_15122025_21_48_35_9846.jpg
/home/pi/Desktop/images/15122025/21/50/image_15122025_21_51_06_10921.jpg
/home/pi/Desktop/images/15122025/21/51/image_15122025_21_51_15_9676.jpg
/home/pi/Desktop/images/15122025/21/51/image_15122025_21_51_35_10238.jpg
/home/pi/Desktop/images/15122025/21/51/image_15122025_21_51_45_9677.jpg
/home/pi/Desktop/images/15122025/21/51/image_15122025_21_51_56_10691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399551096","1399551090","1399551084","1399551078","1399551080","1399551082"],"photo_ids_order":["1399551078","1399551080","1399551082","1399551084","1399551090","1399551096"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/35675ce257e62ad0db438ee6d417a2d3.jpg","text":"TemporaryFile(/tmp/multipartBody1313369010244898525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832002648,"filename":"image_15122025_21_51_56_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/15/69f3a8e12e061871e692c34edeadadb1.jpg","text":"TemporaryFile(/tmp/multipartBody6528600563911840442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832002648,"filename":"image_15122025_21_51_45_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fee9322487c159fef4476c250582f583.jpg","text":"TemporaryFile(/tmp/multipartBody2365622087845325791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832002648,"filename":"image_15122025_21_51_35_10238.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/423b4765cf37409a5cf58d7bf468247e.jpg","text":"TemporaryFile(/tmp/multipartBody2638766165106626821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832002648,"filename":"image_15122025_21_48_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/15/028bdc7b3c2cb6e30f0602cbbb73d985.jpg","text":"TemporaryFile(/tmp/multipartBody5297304346304038944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832002648,"filename":"image_15122025_21_51_06_10921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2ba1d01916f8ebe19cf908023271456d.jpg","text":"TemporaryFile(/tmp/multipartBody1807850260782398019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832002648,"filename":"image_15122025_21_51_15_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399551082","file1":"1399551080","file0":"1399551078","file4":"1399551090","file5":"1399551096","file3":"1399551084"},"map_files_photo_id_array":[{"photo_id":"1399551096","filename":"file5"},{"photo_id":"1399551082","filename":"file2"},{"photo_id":"1399551090","filename":"file4"},{"photo_id":"1399551080","filename":"file1"},{"photo_id":"1399551078","filename":"file0"},{"photo_id":"1399551084","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399551096":["hashtag1","hashtag2"]},{"1399551090":["hashtag1","hashtag2"]},{"1399551084":["hashtag1","hashtag2"]},{"1399551078":["hashtag1","hashtag2"]},{"1399551080":["hashtag1","hashtag2"]},{"1399551082":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399551096, 1399551090, 1399551084, 1399551078, 1399551080, 1399551082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37778162956238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:53:02.815774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/51/image_15122025_21_52_05_9656.jpg', '/home/pi/Desktop/images/15122025/21/52/image_15122025_21_52_15_9694.jpg', '/home/pi/Desktop/images/15122025/21/52/image_15122025_21_52_35_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/51/image_15122025_21_52_05_9656.jpg
/home/pi/Desktop/images/15122025/21/52/image_15122025_21_52_15_9694.jpg
/home/pi/Desktop/images/15122025/21/52/image_15122025_21_52_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":["1399551100","1399551098","1399551101"],"photo_ids_order":["1399551098","1399551100","1399551101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/360ab0f9c1575f9b203bf173e225295c.jpg","text":"TemporaryFile(/tmp/multipartBody6014609234890251173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832043358,"filename":"image_15122025_21_52_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/15/21649f75d2cb0c2a80c9fcf9d5c726a5.jpg","text":"TemporaryFile(/tmp/multipartBody333818240807030963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832043358,"filename":"image_15122025_21_52_05_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d0d933a9fd3cb0f9a63f7f5a42f58675.jpg","text":"TemporaryFile(/tmp/multipartBody597520504643825896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832043358,"filename":"image_15122025_21_52_35_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399551101","file1":"1399551100","file0":"1399551098"},"map_files_photo_id_array":[{"photo_id":"1399551101","filename":"file2"},{"photo_id":"1399551100","filename":"file1"},{"photo_id":"1399551098","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399551100":["hashtag1","hashtag2"]},{"1399551098":["hashtag1","hashtag2"]},{"1399551101":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399551100, 1399551098, 1399551101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 25.453735828399658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 21:53:32.203538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 21:53:42.143386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/26/image_05112025_16_26_02_2734.jpg', '/home/pi/Desktop/images/05112025/16/26/image_05112025_16_26_04_2630.jpg', '/home/pi/Desktop/images/05112025/16/26/image_05112025_16_26_07_2736.jpg', '/home/pi/Desktop/images/05112025/16/26/image_05112025_16_26_11_3717.jpg', '/home/pi/Desktop/images/05112025/16/26/image_05112025_16_26_41_30738.jpg', '/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_11_29158.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/26/image_05112025_16_26_02_2734.jpg
/home/pi/Desktop/images/05112025/16/26/image_05112025_16_26_04_2630.jpg
/home/pi/Desktop/images/05112025/16/26/image_05112025_16_26_07_2736.jpg
/home/pi/Desktop/images/05112025/16/26/image_05112025_16_26_11_3717.jpg
/home/pi/Desktop/images/05112025/16/26/image_05112025_16_26_41_30738.jpg
/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_11_29158.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399551112","1399551109","1399551114","1399551111","1399551113","1399551107"],"photo_ids_order":["1399551107","1399551109","1399551111","1399551112","1399551113","1399551114"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c61a08c36decfacf793a02caa71b72b5.jpg","text":"TemporaryFile(/tmp/multipartBody4270615978461737432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832082889,"filename":"image_05112025_16_26_11_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d84ef102281a1e2e05a220a790e7bc43.jpg","text":"TemporaryFile(/tmp/multipartBody498352236410417694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832082889,"filename":"image_05112025_16_26_04_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/15/d4981f9258f75241d0eca61cea4f8627.jpg","text":"TemporaryFile(/tmp/multipartBody3114614369672685758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832082889,"filename":"image_05112025_16_27_11_29158.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/892e8891144c9cbe7596bb05c3a7a60e.jpg","text":"TemporaryFile(/tmp/multipartBody8588890048794829416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832082889,"filename":"image_05112025_16_26_07_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/15/7ce30f695be1ab2b408da2674a7b817e.jpg","text":"TemporaryFile(/tmp/multipartBody4897758969046806365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832082889,"filename":"image_05112025_16_26_41_30738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7ee82950a6aecdffa020ddd105a71f91.jpg","text":"TemporaryFile(/tmp/multipartBody2219687059052369630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832082889,"filename":"image_05112025_16_26_02_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399551111","file1":"1399551109","file0":"1399551107","file4":"1399551113","file5":"1399551114","file3":"1399551112"},"map_files_photo_id_array":[{"photo_id":"1399551114","filename":"file5"},{"photo_id":"1399551111","filename":"file2"},{"photo_id":"1399551113","filename":"file4"},{"photo_id":"1399551109","filename":"file1"},{"photo_id":"1399551107","filename":"file0"},{"photo_id":"1399551112","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399551112":["hashtag1","hashtag2"]},{"1399551109":["hashtag1","hashtag2"]},{"1399551114":["hashtag1","hashtag2"]},{"1399551111":["hashtag1","hashtag2"]},{"1399551113":["hashtag1","hashtag2"]},{"1399551107":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399551112, 1399551109, 1399551114, 1399551111, 1399551113, 1399551107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38805937767029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:54:22.416559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/52/image_15122025_21_52_45_9733.jpg', '/home/pi/Desktop/images/15122025/21/52/image_15122025_21_53_05_9775.jpg', '/home/pi/Desktop/images/15122025/21/53/image_15122025_21_53_15_9714.jpg', '/home/pi/Desktop/images/15122025/21/53/image_15122025_21_53_35_9852.jpg', '/home/pi/Desktop/images/15122025/21/54/image_15122025_21_54_25_9903.jpg', '/home/pi/Desktop/images/15122025/21/54/image_15122025_21_54_35_9874.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/52/image_15122025_21_52_45_9733.jpg
/home/pi/Desktop/images/15122025/21/52/image_15122025_21_53_05_9775.jpg
/home/pi/Desktop/images/15122025/21/53/image_15122025_21_53_15_9714.jpg
/home/pi/Desktop/images/15122025/21/53/image_15122025_21_53_35_9852.jpg
/home/pi/Desktop/images/15122025/21/54/image_15122025_21_54_25_9903.jpg
/home/pi/Desktop/images/15122025/21/54/image_15122025_21_54_35_9874.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399551132","1399551126","1399551134","1399551122","1399551136","1399551130"],"photo_ids_order":["1399551122","1399551126","1399551130","1399551132","1399551134","1399551136"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dfcb76d3b54abc9ce47296c7ee6eabc7.jpg","text":"TemporaryFile(/tmp/multipartBody544574819223986905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832123079,"filename":"image_15122025_21_53_35_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9c7a23b0020ed1f7affe080b35454971.jpg","text":"TemporaryFile(/tmp/multipartBody3873104978131085347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832123079,"filename":"image_15122025_21_53_05_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/15/75bd7a31178159121fefae8c8b973cc1.jpg","text":"TemporaryFile(/tmp/multipartBody5257172654485611424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832123079,"filename":"image_15122025_21_54_25_9903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cab986d11a310c8a68152a827fe0053f.jpg","text":"TemporaryFile(/tmp/multipartBody7763039030436217977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832123079,"filename":"image_15122025_21_52_45_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a8711742d384034a088619be2ab337ae.jpg","text":"TemporaryFile(/tmp/multipartBody6099367106750712686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832123079,"filename":"image_15122025_21_54_35_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/20eacf7c4133bb131d08fc896851f65d.jpg","text":"TemporaryFile(/tmp/multipartBody1822972764994098636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832123079,"filename":"image_15122025_21_53_15_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399551130","file1":"1399551126","file0":"1399551122","file4":"1399551134","file5":"1399551136","file3":"1399551132"},"map_files_photo_id_array":[{"photo_id":"1399551136","filename":"file5"},{"photo_id":"1399551130","filename":"file2"},{"photo_id":"1399551134","filename":"file4"},{"photo_id":"1399551126","filename":"file1"},{"photo_id":"1399551122","filename":"file0"},{"photo_id":"1399551132","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399551132":["hashtag1","hashtag2"]},{"1399551126":["hashtag1","hashtag2"]},{"1399551134":["hashtag1","hashtag2"]},{"1399551122":["hashtag1","hashtag2"]},{"1399551136":["hashtag1","hashtag2"]},{"1399551130":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399551132, 1399551126, 1399551134, 1399551122, 1399551136, 1399551130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25389552116394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:55:03.202879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/54/image_15122025_21_54_46_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/54/image_15122025_21_54_46_10638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399551137"],"photo_id":"1399551137","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9307670b960003d746e8b3944ea391a4.jpg","text":"TemporaryFile(/tmp/multipartBody3033747430168865703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832163640,"filename":"image_15122025_21_54_46_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399551137"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399551137"}],"hashtags":[],"portfolio_id":"29416301","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.699937105178833 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:55:22.636470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/54/image_15122025_21_54_55_9754.jpg', '/home/pi/Desktop/images/15122025/21/54/image_15122025_21_55_05_9818.jpg', '/home/pi/Desktop/images/15122025/21/55/image_15122025_21_55_15_9670.jpg', '/home/pi/Desktop/images/15122025/21/55/image_15122025_21_55_25_10648.jpg', '/home/pi/Desktop/images/15122025/21/55/image_15122025_21_55_35_9914.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/54/image_15122025_21_54_55_9754.jpg
/home/pi/Desktop/images/15122025/21/54/image_15122025_21_55_05_9818.jpg
/home/pi/Desktop/images/15122025/21/55/image_15122025_21_55_15_9670.jpg
/home/pi/Desktop/images/15122025/21/55/image_15122025_21_55_25_10648.jpg
/home/pi/Desktop/images/15122025/21/55/image_15122025_21_55_35_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":["1399551150","1399551153","1399551147","1399551155","1399551157"],"photo_ids_order":["1399551147","1399551150","1399551153","1399551155","1399551157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/08df35daa002b0b56b6166e37ae7a6d1.jpg","text":"TemporaryFile(/tmp/multipartBody6695664791079333998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832183248,"filename":"image_15122025_21_55_05_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a381872139c84d2fb57eed083864fc7a.jpg","text":"TemporaryFile(/tmp/multipartBody1153255843506210867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832183248,"filename":"image_15122025_21_55_15_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/13b13e2b601e3550575adb57b8b38cc2.jpg","text":"TemporaryFile(/tmp/multipartBody555225314452230676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832183248,"filename":"image_15122025_21_54_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/15/e82a29e6ea15f3a76584db28609e09f4.jpg","text":"TemporaryFile(/tmp/multipartBody206654731486905599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832183248,"filename":"image_15122025_21_55_25_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e822f9b1af096c120fabf61e9966ee36.jpg","text":"TemporaryFile(/tmp/multipartBody5016174751871389496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832183248,"filename":"image_15122025_21_55_35_9914.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399551153","file1":"1399551150","file0":"1399551147","file4":"1399551157","file3":"1399551155"},"map_files_photo_id_array":[{"photo_id":"1399551153","filename":"file2"},{"photo_id":"1399551157","filename":"file4"},{"photo_id":"1399551150","filename":"file1"},{"photo_id":"1399551147","filename":"file0"},{"photo_id":"1399551155","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399551150":["hashtag1","hashtag2"]},{"1399551153":["hashtag1","hashtag2"]},{"1399551147":["hashtag1","hashtag2"]},{"1399551155":["hashtag1","hashtag2"]},{"1399551157":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399551150, 1399551153, 1399551147, 1399551155, 1399551157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.87827730178833 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:56:09.446654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 21:56:19.147172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 21:56:28.991526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/55/image_15122025_21_55_46_10242.jpg', '/home/pi/Desktop/images/15122025/21/56/image_15122025_21_56_15_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/55/image_15122025_21_55_46_10242.jpg
/home/pi/Desktop/images/15122025/21/56/image_15122025_21_56_15_9734.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399551165","1399551168"],"photo_ids_order":["1399551165","1399551168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0f5a037e6d0fe92ac4cf65dbd826cd8c.jpg","text":"TemporaryFile(/tmp/multipartBody5547356566275536840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832249463,"filename":"image_15122025_21_55_46_10242.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9cd7a54ceeed8541518d20b284c8223f.jpg","text":"TemporaryFile(/tmp/multipartBody5333992190983177036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832249463,"filename":"image_15122025_21_56_15_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399551168","file0":"1399551165"},"map_files_photo_id_array":[{"photo_id":"1399551168","filename":"file1"},{"photo_id":"1399551165","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399551165":["hashtag1","hashtag2"]},{"1399551168":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399551165, 1399551168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.170262575149536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 21:56:48.962831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_14_3204.jpg', '/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_15_1758.jpg', '/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_20_4142.jpg', '/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_21_1808.jpg', '/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_23_1660.jpg', '/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_25_1621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_14_3204.jpg
/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_15_1758.jpg
/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_20_4142.jpg
/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_21_1808.jpg
/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_23_1660.jpg
/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_25_1621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399551177","1399551174","1399551176","1399551179","1399551181","1399551175"],"photo_ids_order":["1399551174","1399551175","1399551176","1399551177","1399551179","1399551181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/020d86608ab1faefac90cf0565ce9e67.jpg","text":"TemporaryFile(/tmp/multipartBody701814901069849713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832269667,"filename":"image_05112025_16_27_21_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/15/81d7e12e70ccbba2b2c1123ab5770d19.jpg","text":"TemporaryFile(/tmp/multipartBody8589223055478401639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832269667,"filename":"image_05112025_16_27_14_3204.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d30bcde5f4268e2598bf9f3e87688a80.jpg","text":"TemporaryFile(/tmp/multipartBody3658825934376762250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832269667,"filename":"image_05112025_16_27_20_4142.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7ba5c1cd8cefc79f45523be801398837.jpg","text":"TemporaryFile(/tmp/multipartBody1542912150747142592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832269667,"filename":"image_05112025_16_27_23_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/15/f540ce44e2c44c5d52422335ad80c33e.jpg","text":"TemporaryFile(/tmp/multipartBody8985225827631026343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832269667,"filename":"image_05112025_16_27_25_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/15/a65378bbbf110dfe77f1516c0805a2a8.jpg","text":"TemporaryFile(/tmp/multipartBody771511293176656821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832269667,"filename":"image_05112025_16_27_15_1758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399551176","file1":"1399551175","file0":"1399551174","file4":"1399551179","file5":"1399551181","file3":"1399551177"},"map_files_photo_id_array":[{"photo_id":"1399551181","filename":"file5"},{"photo_id":"1399551176","filename":"file2"},{"photo_id":"1399551179","filename":"file4"},{"photo_id":"1399551175","filename":"file1"},{"photo_id":"1399551174","filename":"file0"},{"photo_id":"1399551177","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399551177":["hashtag1","hashtag2"]},{"1399551174":["hashtag1","hashtag2"]},{"1399551176":["hashtag1","hashtag2"]},{"1399551179":["hashtag1","hashtag2"]},{"1399551181":["hashtag1","hashtag2"]},{"1399551175":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399551177, 1399551174, 1399551176, 1399551179, 1399551181, 1399551175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.875524282455444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 21:57:32.253875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 21:57:42.293612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_26_1769.jpg', '/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_28_1633.jpg', '/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_30_1535.jpg', '/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_31_1683.jpg', '/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_33_1663.jpg', '/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_35_1739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_26_1769.jpg
/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_28_1633.jpg
/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_30_1535.jpg
/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_31_1683.jpg
/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_33_1663.jpg
/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_35_1739.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399551195","1399551191","1399551194","1399551197","1399551196","1399551193"],"photo_ids_order":["1399551191","1399551193","1399551194","1399551195","1399551196","1399551197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ef9444c187702e1a56a23884aa4e48c0.jpg","text":"TemporaryFile(/tmp/multipartBody5500202519591382183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832323092,"filename":"image_05112025_16_27_31_1683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b1fb15b29e5a25210605da2e56f95431.jpg","text":"TemporaryFile(/tmp/multipartBody2958411420494629624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832323092,"filename":"image_05112025_16_27_26_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/15/3290eb1263c8682009a6a9abc668a23a.jpg","text":"TemporaryFile(/tmp/multipartBody2242308614673172420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832323092,"filename":"image_05112025_16_27_30_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/15/10c380064d9fece1e388923d5672677c.jpg","text":"TemporaryFile(/tmp/multipartBody4693364892167718118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832323092,"filename":"image_05112025_16_27_35_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/15/d961d9dbf983c5fd502240ec26657a28.jpg","text":"TemporaryFile(/tmp/multipartBody4855386784480496081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832323092,"filename":"image_05112025_16_27_33_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/15/d3b14842b97c8bb477be688165703223.jpg","text":"TemporaryFile(/tmp/multipartBody6905431277100086404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832323092,"filename":"image_05112025_16_27_28_1633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399551194","file1":"1399551193","file0":"1399551191","file4":"1399551196","file5":"1399551197","file3":"1399551195"},"map_files_photo_id_array":[{"photo_id":"1399551197","filename":"file5"},{"photo_id":"1399551194","filename":"file2"},{"photo_id":"1399551196","filename":"file4"},{"photo_id":"1399551193","filename":"file1"},{"photo_id":"1399551191","filename":"file0"},{"photo_id":"1399551195","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399551195":["hashtag1","hashtag2"]},{"1399551191":["hashtag1","hashtag2"]},{"1399551194":["hashtag1","hashtag2"]},{"1399551197":["hashtag1","hashtag2"]},{"1399551196":["hashtag1","hashtag2"]},{"1399551193":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399551195, 1399551191, 1399551194, 1399551197, 1399551196, 1399551193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11453104019165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 21:59:03.507522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/56/image_15122025_21_56_55_10764.jpg', '/home/pi/Desktop/images/15122025/21/57/image_15122025_21_57_15_9665.jpg', '/home/pi/Desktop/images/15122025/21/57/image_15122025_21_57_25_9943.jpg', '/home/pi/Desktop/images/15122025/21/57/image_15122025_21_57_35_9812.jpg', '/home/pi/Desktop/images/15122025/21/57/image_15122025_21_57_55_9662.jpg', '/home/pi/Desktop/images/15122025/21/58/image_15122025_21_58_15_9808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/56/image_15122025_21_56_55_10764.jpg
/home/pi/Desktop/images/15122025/21/57/image_15122025_21_57_15_9665.jpg
/home/pi/Desktop/images/15122025/21/57/image_15122025_21_57_25_9943.jpg
/home/pi/Desktop/images/15122025/21/57/image_15122025_21_57_35_9812.jpg
/home/pi/Desktop/images/15122025/21/57/image_15122025_21_57_55_9662.jpg
/home/pi/Desktop/images/15122025/21/58/image_15122025_21_58_15_9808.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399551226","1399551224","1399551212","1399551215","1399551220","1399551223"],"photo_ids_order":["1399551212","1399551215","1399551220","1399551223","1399551224","1399551226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7150f94815083e4ee5ad535e5c0dad67.jpg","text":"TemporaryFile(/tmp/multipartBody1751883297105143776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832404291,"filename":"image_15122025_21_58_15_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/00769f069beab5b3bdca57fd55cef1ba.jpg","text":"TemporaryFile(/tmp/multipartBody5308279549083539152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832404291,"filename":"image_15122025_21_57_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/15/28e65efc8acc46a657b7e3b376914066.jpg","text":"TemporaryFile(/tmp/multipartBody9116697706160624528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832404291,"filename":"image_15122025_21_56_55_10764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7feaecb44839ad661de37bc4488762a6.jpg","text":"TemporaryFile(/tmp/multipartBody1031851716742809525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832404291,"filename":"image_15122025_21_57_15_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dfd6d6e2a39ed2a78bf55fe703c14775.jpg","text":"TemporaryFile(/tmp/multipartBody8963032638344284843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832404291,"filename":"image_15122025_21_57_25_9943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fec82ad483e7f5e0321e86e6d08fb8c3.jpg","text":"TemporaryFile(/tmp/multipartBody4433039902879082667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832404291,"filename":"image_15122025_21_57_35_9812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399551220","file1":"1399551215","file0":"1399551212","file4":"1399551224","file5":"1399551226","file3":"1399551223"},"map_files_photo_id_array":[{"photo_id":"1399551226","filename":"file5"},{"photo_id":"1399551220","filename":"file2"},{"photo_id":"1399551224","filename":"file4"},{"photo_id":"1399551215","filename":"file1"},{"photo_id":"1399551212","filename":"file0"},{"photo_id":"1399551223","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399551226":["hashtag1","hashtag2"]},{"1399551224":["hashtag1","hashtag2"]},{"1399551212":["hashtag1","hashtag2"]},{"1399551215":["hashtag1","hashtag2"]},{"1399551220":["hashtag1","hashtag2"]},{"1399551223":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399551226, 1399551224, 1399551212, 1399551215, 1399551220, 1399551223)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.525779008865356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:00:02.465608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/58/image_15122025_21_58_25_10619.jpg', '/home/pi/Desktop/images/15122025/21/58/image_15122025_21_58_45_9774.jpg', '/home/pi/Desktop/images/15122025/21/58/image_15122025_21_59_05_10741.jpg', '/home/pi/Desktop/images/15122025/21/59/image_15122025_21_59_15_9618.jpg', '/home/pi/Desktop/images/15122025/21/59/image_15122025_21_59_25_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/58/image_15122025_21_58_25_10619.jpg
/home/pi/Desktop/images/15122025/21/58/image_15122025_21_58_45_9774.jpg
/home/pi/Desktop/images/15122025/21/58/image_15122025_21_59_05_10741.jpg
/home/pi/Desktop/images/15122025/21/59/image_15122025_21_59_15_9618.jpg
/home/pi/Desktop/images/15122025/21/59/image_15122025_21_59_25_9611.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4857356548309326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:00:11.889301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:00:21.964051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/21/58/image_15122025_21_58_25_10619.jpg', '/home/pi/Desktop/images/15122025/21/58/image_15122025_21_58_45_9774.jpg', '/home/pi/Desktop/images/15122025/21/58/image_15122025_21_59_05_10741.jpg', '/home/pi/Desktop/images/15122025/21/59/image_15122025_21_59_15_9618.jpg', '/home/pi/Desktop/images/15122025/21/59/image_15122025_21_59_25_9611.jpg', '/home/pi/Desktop/images/15122025/21/59/image_15122025_21_59_35_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/21/58/image_15122025_21_58_25_10619.jpg
/home/pi/Desktop/images/15122025/21/58/image_15122025_21_58_45_9774.jpg
/home/pi/Desktop/images/15122025/21/58/image_15122025_21_59_05_10741.jpg
/home/pi/Desktop/images/15122025/21/59/image_15122025_21_59_15_9618.jpg
/home/pi/Desktop/images/15122025/21/59/image_15122025_21_59_25_9611.jpg
/home/pi/Desktop/images/15122025/21/59/image_15122025_21_59_35_10635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399551502","1399551537","1399551315","1399551467","1399551394","1399551430"],"photo_ids_order":["1399551315","1399551394","1399551430","1399551467","1399551502","1399551537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cf2324f4026942b634b7ba01f6003795.jpg","text":"TemporaryFile(/tmp/multipartBody7655748228176375105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832482697,"filename":"image_15122025_21_59_25_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/468220f8826603d3e2f4d9fd6bd4f1b5.jpg","text":"TemporaryFile(/tmp/multipartBody7072112207433874960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832482697,"filename":"image_15122025_21_59_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/15/952c3cb8129601e848d39ffc0f0b76e3.jpg","text":"TemporaryFile(/tmp/multipartBody956192606529844197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832482697,"filename":"image_15122025_21_58_25_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bd2d21df16fd2244d8fa7ef8f733b403.jpg","text":"TemporaryFile(/tmp/multipartBody8326352331674504263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832482697,"filename":"image_15122025_21_59_15_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/15/4ff1f3811a13197ad6d32fa2e2735faf.jpg","text":"TemporaryFile(/tmp/multipartBody3768581377166809314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832482697,"filename":"image_15122025_21_58_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/15/15d72348c682bd01bda0dee0a66e0f43.jpg","text":"TemporaryFile(/tmp/multipartBody8953932635427587545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832482697,"filename":"image_15122025_21_59_05_10741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399551430","file1":"1399551394","file0":"1399551315","file4":"1399551502","file5":"1399551537","file3":"1399551467"},"map_files_photo_id_array":[{"photo_id":"1399551537","filename":"file5"},{"photo_id":"1399551430","filename":"file2"},{"photo_id":"1399551502","filename":"file4"},{"photo_id":"1399551394","filename":"file1"},{"photo_id":"1399551315","filename":"file0"},{"photo_id":"1399551467","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399551502":["hashtag1","hashtag2"]},{"1399551537":["hashtag1","hashtag2"]},{"1399551315":["hashtag1","hashtag2"]},{"1399551467":["hashtag1","hashtag2"]},{"1399551394":["hashtag1","hashtag2"]},{"1399551430":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399551502, 1399551537, 1399551315, 1399551467, 1399551394, 1399551430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.50568461418152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:01:12.662101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:01:22.318063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/00/image_15122025_22_00_15_10057.jpg', '/home/pi/Desktop/images/15122025/22/00/image_15122025_22_00_35_9630.jpg', '/home/pi/Desktop/images/15122025/22/00/image_15122025_22_00_45_9784.jpg', '/home/pi/Desktop/images/15122025/22/00/image_15122025_22_00_55_9848.jpg', '/home/pi/Desktop/images/15122025/22/00/image_15122025_22_01_06_10939.jpg', '/home/pi/Desktop/images/15122025/22/01/image_15122025_22_01_25_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/00/image_15122025_22_00_15_10057.jpg
/home/pi/Desktop/images/15122025/22/00/image_15122025_22_00_35_9630.jpg
/home/pi/Desktop/images/15122025/22/00/image_15122025_22_00_45_9784.jpg
/home/pi/Desktop/images/15122025/22/00/image_15122025_22_00_55_9848.jpg
/home/pi/Desktop/images/15122025/22/00/image_15122025_22_01_06_10939.jpg
/home/pi/Desktop/images/15122025/22/01/image_15122025_22_01_25_9701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399552038","1399551971","1399552150","1399552075","1399552213","1399552111"],"photo_ids_order":["1399551971","1399552038","1399552075","1399552111","1399552150","1399552213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8724ac0bd16f7d295bda124d00a2b196.jpg","text":"TemporaryFile(/tmp/multipartBody115416593096036643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832542975,"filename":"image_15122025_22_00_35_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0d2b5497eed89823cb8f230e8208e6c6.jpg","text":"TemporaryFile(/tmp/multipartBody2764254105244819965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832542975,"filename":"image_15122025_22_00_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/15/c8271da97f329c8bd2c37a2c30d78e23.jpg","text":"TemporaryFile(/tmp/multipartBody5219512550356540060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832542975,"filename":"image_15122025_22_01_06_10939.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/95a2d64028256c20b1e8f81066640d26.jpg","text":"TemporaryFile(/tmp/multipartBody5126462484878255739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832542975,"filename":"image_15122025_22_00_45_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/303ae3a947d525de3049eba1efd39822.jpg","text":"TemporaryFile(/tmp/multipartBody1055132586227942733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832542975,"filename":"image_15122025_22_01_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/15/c757ffc19fc4a8b58594bab466c42162.jpg","text":"TemporaryFile(/tmp/multipartBody1357380441471993624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832542975,"filename":"image_15122025_22_00_55_9848.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399552075","file1":"1399552038","file0":"1399551971","file4":"1399552150","file5":"1399552213","file3":"1399552111"},"map_files_photo_id_array":[{"photo_id":"1399552213","filename":"file5"},{"photo_id":"1399552075","filename":"file2"},{"photo_id":"1399552150","filename":"file4"},{"photo_id":"1399552038","filename":"file1"},{"photo_id":"1399551971","filename":"file0"},{"photo_id":"1399552111","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399552038":["hashtag1","hashtag2"]},{"1399551971":["hashtag1","hashtag2"]},{"1399552150":["hashtag1","hashtag2"]},{"1399552075":["hashtag1","hashtag2"]},{"1399552213":["hashtag1","hashtag2"]},{"1399552111":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399552038, 1399551971, 1399552150, 1399552075, 1399552213, 1399552111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.168452978134155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:02:02.964648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/01/image_15122025_22_01_35_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/01/image_15122025_22_01_35_9666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399552419"],"photo_id":"1399552419","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/607c12ccfad5ce6363c0a28d2554db80.jpg","text":"TemporaryFile(/tmp/multipartBody9069592081909628790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832583399,"filename":"image_15122025_22_01_35_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399552419"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399552419"}],"hashtags":[],"portfolio_id":"29416301","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.385156393051147 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:02:22.654093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/01/image_15122025_22_01_46_10589.jpg', '/home/pi/Desktop/images/15122025/22/01/image_15122025_22_02_05_9634.jpg', '/home/pi/Desktop/images/15122025/22/02/image_15122025_22_02_25_9802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/01/image_15122025_22_01_46_10589.jpg
/home/pi/Desktop/images/15122025/22/01/image_15122025_22_02_05_9634.jpg
/home/pi/Desktop/images/15122025/22/02/image_15122025_22_02_25_9802.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399552641","1399552605","1399552679"],"photo_ids_order":["1399552605","1399552641","1399552679"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0880db637efbde0f7b0461b5a28203fe.jpg","text":"TemporaryFile(/tmp/multipartBody7367773517087758938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832603173,"filename":"image_15122025_22_02_05_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b6e0d8e7339108475df5696e4c0457a8.jpg","text":"TemporaryFile(/tmp/multipartBody3098385100824984706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832603173,"filename":"image_15122025_22_01_46_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/15/26602a3f8069175d759894c3422a690f.jpg","text":"TemporaryFile(/tmp/multipartBody2542472240294328859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832603173,"filename":"image_15122025_22_02_25_9802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399552679","file1":"1399552641","file0":"1399552605"},"map_files_photo_id_array":[{"photo_id":"1399552679","filename":"file2"},{"photo_id":"1399552641","filename":"file1"},{"photo_id":"1399552605","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399552641":["hashtag1","hashtag2"]},{"1399552605":["hashtag1","hashtag2"]},{"1399552679":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399552641, 1399552605, 1399552679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.347747802734375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:03:02.535480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:03:11.857974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:03:21.845957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 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-15 22:03:31.893454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 22:03:41.903392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_36_1557.jpg', '/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_38_1719.jpg', '/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_40_1636.jpg', '/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_41_1687.jpg', '/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_46_4212.jpg', '/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_47_1670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_36_1557.jpg
/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_38_1719.jpg
/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_40_1636.jpg
/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_41_1687.jpg
/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_46_4212.jpg
/home/pi/Desktop/images/05112025/16/27/image_05112025_16_27_47_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":["1399553276","1399553420","1399553321","1399553392","1399553356","1399553421"],"photo_ids_order":["1399553276","1399553321","1399553356","1399553392","1399553420","1399553421"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1790a3b8ce7bf2aace99654e06eb4d81.jpg","text":"TemporaryFile(/tmp/multipartBody417070167103955686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832682649,"filename":"image_05112025_16_27_36_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/15/a2ed62f5a0c3e2ecd4ade81a41b48585.jpg","text":"TemporaryFile(/tmp/multipartBody6464660228413685402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832682649,"filename":"image_05112025_16_27_46_4212.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/57eb63292de9e9dce989df6ecc8a15a7.jpg","text":"TemporaryFile(/tmp/multipartBody3575166912911914139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832682649,"filename":"image_05112025_16_27_38_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/15/30fad8a05dcfc7bac885f2506019e8af.jpg","text":"TemporaryFile(/tmp/multipartBody5310142872547087266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832682649,"filename":"image_05112025_16_27_41_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/15/9f40a3f883e09cf3d774c3eeaaab5797.jpg","text":"TemporaryFile(/tmp/multipartBody7010905619089573197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832682649,"filename":"image_05112025_16_27_40_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/15/c3ddc85255d3586f3eb5628da8eca5b0.jpg","text":"TemporaryFile(/tmp/multipartBody4194630586801104715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832682649,"filename":"image_05112025_16_27_47_1670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399553356","file1":"1399553321","file0":"1399553276","file4":"1399553420","file5":"1399553421","file3":"1399553392"},"map_files_photo_id_array":[{"photo_id":"1399553421","filename":"file5"},{"photo_id":"1399553356","filename":"file2"},{"photo_id":"1399553420","filename":"file4"},{"photo_id":"1399553321","filename":"file1"},{"photo_id":"1399553276","filename":"file0"},{"photo_id":"1399553392","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399553276":["hashtag1","hashtag2"]},{"1399553420":["hashtag1","hashtag2"]},{"1399553321":["hashtag1","hashtag2"]},{"1399553392":["hashtag1","hashtag2"]},{"1399553356":["hashtag1","hashtag2"]},{"1399553421":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399553276, 1399553420, 1399553321, 1399553392, 1399553356, 1399553421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64877796173096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:04:22.077790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/02/image_15122025_22_02_56_10754.jpg', '/home/pi/Desktop/images/15122025/22/03/image_15122025_22_03_25_9711.jpg', '/home/pi/Desktop/images/15122025/22/03/image_15122025_22_03_35_9683.jpg', '/home/pi/Desktop/images/15122025/22/03/image_15122025_22_03_46_10695.jpg', '/home/pi/Desktop/images/15122025/22/03/image_15122025_22_03_56_9742.jpg', '/home/pi/Desktop/images/15122025/22/03/image_15122025_22_04_05_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/02/image_15122025_22_02_56_10754.jpg
/home/pi/Desktop/images/15122025/22/03/image_15122025_22_03_25_9711.jpg
/home/pi/Desktop/images/15122025/22/03/image_15122025_22_03_35_9683.jpg
/home/pi/Desktop/images/15122025/22/03/image_15122025_22_03_46_10695.jpg
/home/pi/Desktop/images/15122025/22/03/image_15122025_22_03_56_9742.jpg
/home/pi/Desktop/images/15122025/22/03/image_15122025_22_04_05_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":["1399553564","1399553531","1399553482","1399553485","1399553553","1399553511"],"photo_ids_order":["1399553482","1399553485","1399553511","1399553531","1399553553","1399553564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/afdfadc34dca6b6b0d10509c7b04aed8.jpg","text":"TemporaryFile(/tmp/multipartBody2145405602745872218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832722727,"filename":"image_15122025_22_04_05_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/24c22b96fcf64a6cd28223a869fe0f27.jpg","text":"TemporaryFile(/tmp/multipartBody2885334889360599392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832722727,"filename":"image_15122025_22_03_46_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/15/f207503d3501da8bf1274782e5c25d2b.jpg","text":"TemporaryFile(/tmp/multipartBody4286516123658818110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832722727,"filename":"image_15122025_22_02_56_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/15/812f19128686612e16d3e1a0e94052b3.jpg","text":"TemporaryFile(/tmp/multipartBody1142711828974867014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832722727,"filename":"image_15122025_22_03_25_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bac7659a698b79c0be0232897abb0248.jpg","text":"TemporaryFile(/tmp/multipartBody87688111575389898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832722727,"filename":"image_15122025_22_03_56_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/15/c877b5dff02ff0b476977ff1b634f8a7.jpg","text":"TemporaryFile(/tmp/multipartBody6371049776408307128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832722727,"filename":"image_15122025_22_03_35_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399553511","file1":"1399553485","file0":"1399553482","file4":"1399553553","file5":"1399553564","file3":"1399553531"},"map_files_photo_id_array":[{"photo_id":"1399553564","filename":"file5"},{"photo_id":"1399553511","filename":"file2"},{"photo_id":"1399553553","filename":"file4"},{"photo_id":"1399553485","filename":"file1"},{"photo_id":"1399553482","filename":"file0"},{"photo_id":"1399553531","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399553564":["hashtag1","hashtag2"]},{"1399553531":["hashtag1","hashtag2"]},{"1399553482":["hashtag1","hashtag2"]},{"1399553485":["hashtag1","hashtag2"]},{"1399553553":["hashtag1","hashtag2"]},{"1399553511":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399553564, 1399553531, 1399553482, 1399553485, 1399553553, 1399553511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.660460233688354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:05:02.912702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:05:12.223120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:05:22.342230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/04/image_15122025_22_04_26_10665.jpg', '/home/pi/Desktop/images/15122025/22/05/image_15122025_22_05_24_10839.jpg', '/home/pi/Desktop/images/15122025/22/05/image_15122025_22_05_34_9551.jpg', '/home/pi/Desktop/images/15122025/22/05/image_15122025_22_05_44_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/04/image_15122025_22_04_26_10665.jpg
/home/pi/Desktop/images/15122025/22/05/image_15122025_22_05_24_10839.jpg
/home/pi/Desktop/images/15122025/22/05/image_15122025_22_05_34_9551.jpg
/home/pi/Desktop/images/15122025/22/05/image_15122025_22_05_44_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399553576","1399553575","1399553578","1399553580"],"photo_ids_order":["1399553575","1399553576","1399553578","1399553580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/28532528bb1d95bb3595739d9ed5dcfb.jpg","text":"TemporaryFile(/tmp/multipartBody2825803335123582822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832782909,"filename":"image_15122025_22_05_24_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/15/399cbc9ecf6703e0ef1bf27a26bbd0f4.jpg","text":"TemporaryFile(/tmp/multipartBody4308381973656336805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832782909,"filename":"image_15122025_22_04_26_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/15/ca393fda7d093c2874ffe58f2a77e5d4.jpg","text":"TemporaryFile(/tmp/multipartBody6784371633476995362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832782909,"filename":"image_15122025_22_05_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/15/db83c475a28fd9545959a1460b6f063b.jpg","text":"TemporaryFile(/tmp/multipartBody6541016509401294160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832782909,"filename":"image_15122025_22_05_44_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399553578","file1":"1399553576","file0":"1399553575","file3":"1399553580"},"map_files_photo_id_array":[{"photo_id":"1399553578","filename":"file2"},{"photo_id":"1399553576","filename":"file1"},{"photo_id":"1399553575","filename":"file0"},{"photo_id":"1399553580","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399553576":["hashtag1","hashtag2"]},{"1399553575":["hashtag1","hashtag2"]},{"1399553578":["hashtag1","hashtag2"]},{"1399553580":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399553576, 1399553575, 1399553578, 1399553580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.136377573013306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:06:03.068404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:06:12.596066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:06:22.677002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/05/image_15122025_22_05_54_10716.jpg', '/home/pi/Desktop/images/15122025/22/05/image_15122025_22_06_04_9745.jpg', '/home/pi/Desktop/images/15122025/22/06/image_15122025_22_06_14_9708.jpg', '/home/pi/Desktop/images/15122025/22/06/image_15122025_22_06_24_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/05/image_15122025_22_05_54_10716.jpg
/home/pi/Desktop/images/15122025/22/05/image_15122025_22_06_04_9745.jpg
/home/pi/Desktop/images/15122025/22/06/image_15122025_22_06_14_9708.jpg
/home/pi/Desktop/images/15122025/22/06/image_15122025_22_06_24_10675.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4586508274078369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:06:32.698484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 22:06:42.611882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/31/image_05112025_16_31_07_3011.jpg', '/home/pi/Desktop/images/05112025/16/31/image_05112025_16_31_11_3655.jpg', '/home/pi/Desktop/images/05112025/16/31/image_05112025_16_31_15_4068.jpg', '/home/pi/Desktop/images/05112025/16/31/image_05112025_16_31_16_1610.jpg', '/home/pi/Desktop/images/05112025/16/31/image_05112025_16_31_19_2686.jpg', '/home/pi/Desktop/images/05112025/16/31/image_05112025_16_31_23_3697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/31/image_05112025_16_31_07_3011.jpg
/home/pi/Desktop/images/05112025/16/31/image_05112025_16_31_11_3655.jpg
/home/pi/Desktop/images/05112025/16/31/image_05112025_16_31_15_4068.jpg
/home/pi/Desktop/images/05112025/16/31/image_05112025_16_31_16_1610.jpg
/home/pi/Desktop/images/05112025/16/31/image_05112025_16_31_19_2686.jpg
/home/pi/Desktop/images/05112025/16/31/image_05112025_16_31_23_3697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399554124","1399554180","1399554075","1399554156","1399554078","1399554089"],"photo_ids_order":["1399554075","1399554078","1399554089","1399554124","1399554156","1399554180"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e6fd085715f1610af58719eed48274a7.jpg","text":"TemporaryFile(/tmp/multipartBody7948311062359722115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832863318,"filename":"image_05112025_16_31_16_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/67cc6b94472344039280baf05e005851.jpg","text":"TemporaryFile(/tmp/multipartBody6251320214919317307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832863318,"filename":"image_05112025_16_31_23_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/15/f6a3f62668e3ac28c263446f6cbc2b9c.jpg","text":"TemporaryFile(/tmp/multipartBody2690074442437679800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832863318,"filename":"image_05112025_16_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/15/a484dc4ec403d11dfed9f57d32bf1d37.jpg","text":"TemporaryFile(/tmp/multipartBody3943034197703745944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832863318,"filename":"image_05112025_16_31_19_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6d38228c3e291b2e8e5048450eb19ca7.jpg","text":"TemporaryFile(/tmp/multipartBody8573205848647892633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832863318,"filename":"image_05112025_16_31_11_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/58edd7d78c0ac32323141ae53f29d884.jpg","text":"TemporaryFile(/tmp/multipartBody2788238212429788818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832863318,"filename":"image_05112025_16_31_15_4068.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399554089","file1":"1399554078","file0":"1399554075","file4":"1399554156","file5":"1399554180","file3":"1399554124"},"map_files_photo_id_array":[{"photo_id":"1399554180","filename":"file5"},{"photo_id":"1399554089","filename":"file2"},{"photo_id":"1399554156","filename":"file4"},{"photo_id":"1399554078","filename":"file1"},{"photo_id":"1399554075","filename":"file0"},{"photo_id":"1399554124","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399554124":["hashtag1","hashtag2"]},{"1399554180":["hashtag1","hashtag2"]},{"1399554075":["hashtag1","hashtag2"]},{"1399554156":["hashtag1","hashtag2"]},{"1399554078":["hashtag1","hashtag2"]},{"1399554089":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399554124, 1399554180, 1399554075, 1399554156, 1399554078, 1399554089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70763969421387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:07:21.840107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/05/image_15122025_22_05_54_10716.jpg', '/home/pi/Desktop/images/15122025/22/05/image_15122025_22_06_04_9745.jpg', '/home/pi/Desktop/images/15122025/22/06/image_15122025_22_06_14_9708.jpg', '/home/pi/Desktop/images/15122025/22/06/image_15122025_22_06_24_10675.jpg', '/home/pi/Desktop/images/15122025/22/06/image_15122025_22_06_54_9849.jpg', '/home/pi/Desktop/images/15122025/22/06/image_15122025_22_07_04_10732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/05/image_15122025_22_05_54_10716.jpg
/home/pi/Desktop/images/15122025/22/05/image_15122025_22_06_04_9745.jpg
/home/pi/Desktop/images/15122025/22/06/image_15122025_22_06_14_9708.jpg
/home/pi/Desktop/images/15122025/22/06/image_15122025_22_06_24_10675.jpg
/home/pi/Desktop/images/15122025/22/06/image_15122025_22_06_54_9849.jpg
/home/pi/Desktop/images/15122025/22/06/image_15122025_22_07_04_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":["1399554215","1399554220","1399554217","1399554211","1399554208","1399554213"],"photo_ids_order":["1399554208","1399554211","1399554213","1399554215","1399554217","1399554220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c9320944ee12e8c6bd3938820a63a376.jpg","text":"TemporaryFile(/tmp/multipartBody4571799084548167070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832902539,"filename":"image_15122025_22_06_24_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/15/f70b46ba4f86f409ac923e038e5c9590.jpg","text":"TemporaryFile(/tmp/multipartBody2095527192823426217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832902539,"filename":"image_15122025_22_07_04_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/15/a9e0ffc7a7162074a5314108580301c8.jpg","text":"TemporaryFile(/tmp/multipartBody65967351852722218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832902539,"filename":"image_15122025_22_06_54_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0a50f235e4e33f0cc41bc832eda33564.jpg","text":"TemporaryFile(/tmp/multipartBody5695067184672361689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832902539,"filename":"image_15122025_22_06_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/15/d95136992e921559af8c2d2906d89a78.jpg","text":"TemporaryFile(/tmp/multipartBody5785859707607124500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832902539,"filename":"image_15122025_22_05_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/15/2d938a333a3f04dd808863effea7964b.jpg","text":"TemporaryFile(/tmp/multipartBody9057077943344872439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832902539,"filename":"image_15122025_22_06_14_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399554213","file1":"1399554211","file0":"1399554208","file4":"1399554217","file5":"1399554220","file3":"1399554215"},"map_files_photo_id_array":[{"photo_id":"1399554220","filename":"file5"},{"photo_id":"1399554213","filename":"file2"},{"photo_id":"1399554217","filename":"file4"},{"photo_id":"1399554211","filename":"file1"},{"photo_id":"1399554208","filename":"file0"},{"photo_id":"1399554215","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399554215":["hashtag1","hashtag2"]},{"1399554220":["hashtag1","hashtag2"]},{"1399554217":["hashtag1","hashtag2"]},{"1399554211":["hashtag1","hashtag2"]},{"1399554208":["hashtag1","hashtag2"]},{"1399554213":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399554215, 1399554220, 1399554217, 1399554211, 1399554208, 1399554213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.906410694122314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:08:02.438127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 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-15 22:08:12.020360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:08:22.050701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/07/image_15122025_22_07_24_9882.jpg', '/home/pi/Desktop/images/15122025/22/08/image_15122025_22_08_25_10735.jpg', '/home/pi/Desktop/images/15122025/22/08/image_15122025_22_08_34_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/07/image_15122025_22_07_24_9882.jpg
/home/pi/Desktop/images/15122025/22/08/image_15122025_22_08_25_10735.jpg
/home/pi/Desktop/images/15122025/22/08/image_15122025_22_08_34_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":["1399554231","1399554234","1399554228"],"photo_ids_order":["1399554228","1399554231","1399554234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b6226dd53943cda415d59fe71fbaec3b.jpg","text":"TemporaryFile(/tmp/multipartBody4164384664912994884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832962533,"filename":"image_15122025_22_08_25_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fb89f1f91126d030b601334c2419946e.jpg","text":"TemporaryFile(/tmp/multipartBody8180052799607674490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832962533,"filename":"image_15122025_22_08_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/15/b4a6e2eb3effabc2667619fab4df5467.jpg","text":"TemporaryFile(/tmp/multipartBody1415241054331027240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765832962533,"filename":"image_15122025_22_07_24_9882.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399554234","file1":"1399554231","file0":"1399554228"},"map_files_photo_id_array":[{"photo_id":"1399554234","filename":"file2"},{"photo_id":"1399554231","filename":"file1"},{"photo_id":"1399554228","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399554231":["hashtag1","hashtag2"]},{"1399554234":["hashtag1","hashtag2"]},{"1399554228":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399554231, 1399554234, 1399554228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.26783800125122 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:09:03.403997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:09:12.463664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:09:22.389692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/08/image_15122025_22_08_54_9701.jpg', '/home/pi/Desktop/images/15122025/22/09/image_15122025_22_09_44_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/08/image_15122025_22_08_54_9701.jpg
/home/pi/Desktop/images/15122025/22/09/image_15122025_22_09_44_10673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399554259","1399554261"],"photo_ids_order":["1399554259","1399554261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1aeba46dbdbc3cf33310901dfc271ab7.jpg","text":"TemporaryFile(/tmp/multipartBody8178315743320510531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833022875,"filename":"image_15122025_22_08_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/15/dbd479ade2918eea6088449dd9a708df.jpg","text":"TemporaryFile(/tmp/multipartBody8105496206761456617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833022875,"filename":"image_15122025_22_09_44_10673.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399554261","file0":"1399554259"},"map_files_photo_id_array":[{"photo_id":"1399554261","filename":"file1"},{"photo_id":"1399554259","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399554259":["hashtag1","hashtag2"]},{"1399554261":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399554259, 1399554261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.83785891532898 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 22:09:42.480804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/31/image_05112025_16_31_28_2797.jpg', '/home/pi/Desktop/images/05112025/16/31/image_05112025_16_31_31_2781.jpg', '/home/pi/Desktop/images/05112025/16/31/image_05112025_16_31_35_3556.jpg', '/home/pi/Desktop/images/05112025/16/31/image_05112025_16_31_39_3956.jpg', '/home/pi/Desktop/images/05112025/16/31/image_05112025_16_31_40_1582.jpg', '/home/pi/Desktop/images/05112025/16/31/image_05112025_16_31_43_2876.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/31/image_05112025_16_31_28_2797.jpg
/home/pi/Desktop/images/05112025/16/31/image_05112025_16_31_31_2781.jpg
/home/pi/Desktop/images/05112025/16/31/image_05112025_16_31_35_3556.jpg
/home/pi/Desktop/images/05112025/16/31/image_05112025_16_31_39_3956.jpg
/home/pi/Desktop/images/05112025/16/31/image_05112025_16_31_40_1582.jpg
/home/pi/Desktop/images/05112025/16/31/image_05112025_16_31_43_2876.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399554271","1399554265","1399554268","1399554273","1399554270","1399554272"],"photo_ids_order":["1399554265","1399554268","1399554270","1399554271","1399554272","1399554273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f68afcb88b7b64fd6769cd184b3515f2.jpg","text":"TemporaryFile(/tmp/multipartBody8346470092152983860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833043174,"filename":"image_05112025_16_31_39_3956.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e851e44ebecefe3e751e9b2b2988d67a.jpg","text":"TemporaryFile(/tmp/multipartBody4610351996053162248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833043174,"filename":"image_05112025_16_31_28_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/15/454a2f868db2a7370e06ca833de79dc0.jpg","text":"TemporaryFile(/tmp/multipartBody7034315167818794862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833043174,"filename":"image_05112025_16_31_31_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/15/6f3890ff8579dced0f93dca11e891997.jpg","text":"TemporaryFile(/tmp/multipartBody9192016314045400300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833043174,"filename":"image_05112025_16_31_43_2876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/29e1e784e33c39e2c9c837d857401e98.jpg","text":"TemporaryFile(/tmp/multipartBody5952983095821834123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833043174,"filename":"image_05112025_16_31_35_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/15/7ca66c3fb47a7273f549936d130fff9c.jpg","text":"TemporaryFile(/tmp/multipartBody3462440223180416297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833043174,"filename":"image_05112025_16_31_40_1582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399554270","file1":"1399554268","file0":"1399554265","file4":"1399554272","file5":"1399554273","file3":"1399554271"},"map_files_photo_id_array":[{"photo_id":"1399554273","filename":"file5"},{"photo_id":"1399554270","filename":"file2"},{"photo_id":"1399554272","filename":"file4"},{"photo_id":"1399554268","filename":"file1"},{"photo_id":"1399554265","filename":"file0"},{"photo_id":"1399554271","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399554271":["hashtag1","hashtag2"]},{"1399554265":["hashtag1","hashtag2"]},{"1399554268":["hashtag1","hashtag2"]},{"1399554273":["hashtag1","hashtag2"]},{"1399554270":["hashtag1","hashtag2"]},{"1399554272":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399554271, 1399554265, 1399554268, 1399554273, 1399554270, 1399554272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.736637353897095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:10:22.780091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/09/image_15122025_22_09_54_9903.jpg', '/home/pi/Desktop/images/15122025/22/10/image_15122025_22_10_25_10853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/09/image_15122025_22_09_54_9903.jpg
/home/pi/Desktop/images/15122025/22/10/image_15122025_22_10_25_10853.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399554294","1399554293"],"photo_ids_order":["1399554293","1399554294"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d0c5335b24caef74868f89f3dd78e047.jpg","text":"TemporaryFile(/tmp/multipartBody1835413878309853816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833083255,"filename":"image_15122025_22_10_25_10853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9cd374d9cf3879a99e214ca11cf6a230.jpg","text":"TemporaryFile(/tmp/multipartBody1424823585782628694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833083255,"filename":"image_15122025_22_09_54_9903.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399554294","file0":"1399554293"},"map_files_photo_id_array":[{"photo_id":"1399554294","filename":"file1"},{"photo_id":"1399554293","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399554294":["hashtag1","hashtag2"]},{"1399554293":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399554294, 1399554293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.404021978378296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 22:10:42.700862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/32/image_05112025_16_32_05_21645.jpg', '/home/pi/Desktop/images/05112025/16/32/image_05112025_16_32_06_1607.jpg', '/home/pi/Desktop/images/05112025/16/32/image_05112025_16_33_00_53558.jpg', '/home/pi/Desktop/images/05112025/16/34/image_05112025_16_34_07_3012.jpg', '/home/pi/Desktop/images/05112025/16/34/image_05112025_16_34_11_3725.jpg', '/home/pi/Desktop/images/05112025/16/34/image_05112025_16_34_14_2747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/32/image_05112025_16_32_05_21645.jpg
/home/pi/Desktop/images/05112025/16/32/image_05112025_16_32_06_1607.jpg
/home/pi/Desktop/images/05112025/16/32/image_05112025_16_33_00_53558.jpg
/home/pi/Desktop/images/05112025/16/34/image_05112025_16_34_07_3012.jpg
/home/pi/Desktop/images/05112025/16/34/image_05112025_16_34_11_3725.jpg
/home/pi/Desktop/images/05112025/16/34/image_05112025_16_34_14_2747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399554401","1399554314","1399554352","1399554415","1399554408","1399554389"],"photo_ids_order":["1399554314","1399554352","1399554389","1399554401","1399554408","1399554415"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d71ad6b0eb9cf6a49b1586173a887aef.jpg","text":"TemporaryFile(/tmp/multipartBody1229748719344100617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833103428,"filename":"image_05112025_16_34_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/15/c7675c12b478d3bf7fc3fa5dfeee543f.jpg","text":"TemporaryFile(/tmp/multipartBody7046773703527638213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833103428,"filename":"image_05112025_16_32_05_21645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f179181fcbf66a60eaf3a437267ee363.jpg","text":"TemporaryFile(/tmp/multipartBody823196960683406900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833103428,"filename":"image_05112025_16_32_06_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/15/33d791cde6da57587f387ed1e4d402fa.jpg","text":"TemporaryFile(/tmp/multipartBody5742700612388457196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833103428,"filename":"image_05112025_16_34_14_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/15/13cb0a717b9237713c7b243a32308bbf.jpg","text":"TemporaryFile(/tmp/multipartBody3666812467423326736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833103428,"filename":"image_05112025_16_34_11_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/15/8dc761ed24791009f41dd305879a207b.jpg","text":"TemporaryFile(/tmp/multipartBody2729888908166687719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833103428,"filename":"image_05112025_16_33_00_53558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399554389","file1":"1399554352","file0":"1399554314","file4":"1399554408","file5":"1399554415","file3":"1399554401"},"map_files_photo_id_array":[{"photo_id":"1399554415","filename":"file5"},{"photo_id":"1399554389","filename":"file2"},{"photo_id":"1399554408","filename":"file4"},{"photo_id":"1399554352","filename":"file1"},{"photo_id":"1399554314","filename":"file0"},{"photo_id":"1399554401","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399554401":["hashtag1","hashtag2"]},{"1399554314":["hashtag1","hashtag2"]},{"1399554352":["hashtag1","hashtag2"]},{"1399554415":["hashtag1","hashtag2"]},{"1399554408":["hashtag1","hashtag2"]},{"1399554389":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399554401, 1399554314, 1399554352, 1399554415, 1399554408, 1399554389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.32524752616882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:11:31.943276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 22:11:41.835701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/34/image_05112025_16_34_16_2712.jpg', '/home/pi/Desktop/images/05112025/16/34/image_05112025_16_34_20_3617.jpg', '/home/pi/Desktop/images/05112025/16/34/image_05112025_16_34_23_2626.jpg', '/home/pi/Desktop/images/05112025/16/34/image_05112025_16_34_25_2564.jpg', '/home/pi/Desktop/images/05112025/16/34/image_05112025_16_34_29_3637.jpg', '/home/pi/Desktop/images/05112025/16/34/image_05112025_16_34_31_2586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/34/image_05112025_16_34_16_2712.jpg
/home/pi/Desktop/images/05112025/16/34/image_05112025_16_34_20_3617.jpg
/home/pi/Desktop/images/05112025/16/34/image_05112025_16_34_23_2626.jpg
/home/pi/Desktop/images/05112025/16/34/image_05112025_16_34_25_2564.jpg
/home/pi/Desktop/images/05112025/16/34/image_05112025_16_34_29_3637.jpg
/home/pi/Desktop/images/05112025/16/34/image_05112025_16_34_31_2586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399554641","1399554571","1399554607","1399554535","1399554709","1399554677"],"photo_ids_order":["1399554535","1399554571","1399554607","1399554641","1399554677","1399554709"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7adaba37e80ba47b08353690655510c1.jpg","text":"TemporaryFile(/tmp/multipartBody3192494693236844695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833162529,"filename":"image_05112025_16_34_25_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/15/b1f3a8ca8fb6175286bf3f4b09442a41.jpg","text":"TemporaryFile(/tmp/multipartBody79352743442786326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833162529,"filename":"image_05112025_16_34_20_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/15/245e768c754fd59ab0673bb44f211cb6.jpg","text":"TemporaryFile(/tmp/multipartBody6602382710968037108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833162529,"filename":"image_05112025_16_34_23_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0f8996979f6cece1df221585f3d7b63b.jpg","text":"TemporaryFile(/tmp/multipartBody8118782047608530220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833162529,"filename":"image_05112025_16_34_16_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/abe7a5453ced9f0fbd863a5e8b713768.jpg","text":"TemporaryFile(/tmp/multipartBody3807136070478786269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833162529,"filename":"image_05112025_16_34_31_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e30b61b8030e260b57da19542d718a22.jpg","text":"TemporaryFile(/tmp/multipartBody7033906094282966210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833162529,"filename":"image_05112025_16_34_29_3637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399554607","file1":"1399554571","file0":"1399554535","file4":"1399554677","file5":"1399554709","file3":"1399554641"},"map_files_photo_id_array":[{"photo_id":"1399554709","filename":"file5"},{"photo_id":"1399554607","filename":"file2"},{"photo_id":"1399554677","filename":"file4"},{"photo_id":"1399554571","filename":"file1"},{"photo_id":"1399554535","filename":"file0"},{"photo_id":"1399554641","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399554641":["hashtag1","hashtag2"]},{"1399554571":["hashtag1","hashtag2"]},{"1399554607":["hashtag1","hashtag2"]},{"1399554535":["hashtag1","hashtag2"]},{"1399554709":["hashtag1","hashtag2"]},{"1399554677":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399554641, 1399554571, 1399554607, 1399554535, 1399554709, 1399554677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74885129928589 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:12:22.141922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/10/image_15122025_22_10_55_9790.jpg', '/home/pi/Desktop/images/15122025/22/11/image_15122025_22_11_25_9788.jpg', '/home/pi/Desktop/images/15122025/22/11/image_15122025_22_11_46_10769.jpg', '/home/pi/Desktop/images/15122025/22/11/image_15122025_22_11_55_9585.jpg', '/home/pi/Desktop/images/15122025/22/11/image_15122025_22_12_05_9784.jpg', '/home/pi/Desktop/images/15122025/22/12/image_15122025_22_12_15_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/10/image_15122025_22_10_55_9790.jpg
/home/pi/Desktop/images/15122025/22/11/image_15122025_22_11_25_9788.jpg
/home/pi/Desktop/images/15122025/22/11/image_15122025_22_11_46_10769.jpg
/home/pi/Desktop/images/15122025/22/11/image_15122025_22_11_55_9585.jpg
/home/pi/Desktop/images/15122025/22/11/image_15122025_22_12_05_9784.jpg
/home/pi/Desktop/images/15122025/22/12/image_15122025_22_12_15_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":["1399554892","1399554871","1399554847","1399554916","1399554891","1399554849"],"photo_ids_order":["1399554847","1399554849","1399554871","1399554891","1399554892","1399554916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2f97b0106fa8c3b26f9f4fd29292ce80.jpg","text":"TemporaryFile(/tmp/multipartBody1812824446088593500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833202791,"filename":"image_15122025_22_12_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/15/b38ec4903244c427cc0ea21785972fb1.jpg","text":"TemporaryFile(/tmp/multipartBody7066213552296564822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833202791,"filename":"image_15122025_22_11_46_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/15/6cafcd32d5ec988f4c6b4818a19cc5f3.jpg","text":"TemporaryFile(/tmp/multipartBody2312306691737585894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833202791,"filename":"image_15122025_22_10_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/15/b3867612eb2206f076a84ca3036f4053.jpg","text":"TemporaryFile(/tmp/multipartBody2032810046649864990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833202791,"filename":"image_15122025_22_12_15_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/860f9d38b6ff523218784bafb4134011.jpg","text":"TemporaryFile(/tmp/multipartBody3986253939427330715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833202791,"filename":"image_15122025_22_11_55_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e6e68bafec1a88b82254988dbb7e6cec.jpg","text":"TemporaryFile(/tmp/multipartBody1817134097769199727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833202791,"filename":"image_15122025_22_11_25_9788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399554871","file1":"1399554849","file0":"1399554847","file4":"1399554892","file5":"1399554916","file3":"1399554891"},"map_files_photo_id_array":[{"photo_id":"1399554916","filename":"file5"},{"photo_id":"1399554871","filename":"file2"},{"photo_id":"1399554892","filename":"file4"},{"photo_id":"1399554849","filename":"file1"},{"photo_id":"1399554847","filename":"file0"},{"photo_id":"1399554891","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399554892":["hashtag1","hashtag2"]},{"1399554871":["hashtag1","hashtag2"]},{"1399554847":["hashtag1","hashtag2"]},{"1399554916":["hashtag1","hashtag2"]},{"1399554891":["hashtag1","hashtag2"]},{"1399554849":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399554892, 1399554871, 1399554847, 1399554916, 1399554891, 1399554849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.296677350997925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:13:02.978143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 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-15 22:13:12.308051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 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-15 22:13:22.278222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/34/image_05112025_16_34_35_3620.jpg', '/home/pi/Desktop/images/05112025/16/34/image_05112025_16_34_38_2778.jpg', '/home/pi/Desktop/images/05112025/16/34/image_05112025_16_34_40_2508.jpg', '/home/pi/Desktop/images/05112025/16/37/image_05112025_16_37_27_20274.jpg', '/home/pi/Desktop/images/05112025/16/37/image_05112025_16_37_33_6151.jpg', '/home/pi/Desktop/images/05112025/16/37/image_05112025_16_37_35_1740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/34/image_05112025_16_34_35_3620.jpg
/home/pi/Desktop/images/05112025/16/34/image_05112025_16_34_38_2778.jpg
/home/pi/Desktop/images/05112025/16/34/image_05112025_16_34_40_2508.jpg
/home/pi/Desktop/images/05112025/16/37/image_05112025_16_37_27_20274.jpg
/home/pi/Desktop/images/05112025/16/37/image_05112025_16_37_33_6151.jpg
/home/pi/Desktop/images/05112025/16/37/image_05112025_16_37_35_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":["1399554965","1399554959","1399554967","1399554961","1399554969","1399554963"],"photo_ids_order":["1399554959","1399554961","1399554963","1399554965","1399554967","1399554969"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4e24dbb6c70f56bd937ef03644f19090.jpg","text":"TemporaryFile(/tmp/multipartBody2264274239566487829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833262959,"filename":"image_05112025_16_37_27_20274.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fe65a988f6757b67af6cf867a91a69cc.jpg","text":"TemporaryFile(/tmp/multipartBody8964394452977224186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833262959,"filename":"image_05112025_16_34_35_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/15/0cf997352a326a9cfe4b061033ffcf81.jpg","text":"TemporaryFile(/tmp/multipartBody3335345525355904352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833262959,"filename":"image_05112025_16_37_33_6151.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0babefbe3a5b35a99bed293d7aa8cf5b.jpg","text":"TemporaryFile(/tmp/multipartBody6554471558839451057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833262959,"filename":"image_05112025_16_34_38_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/15/bddf680401b8c3a64652025f11a5b81a.jpg","text":"TemporaryFile(/tmp/multipartBody1697833764903461630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833262959,"filename":"image_05112025_16_37_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/15/b5d7fb6c9f7b8cb2aca9190584035c7c.jpg","text":"TemporaryFile(/tmp/multipartBody7494247377809688665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833262959,"filename":"image_05112025_16_34_40_2508.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399554963","file1":"1399554961","file0":"1399554959","file4":"1399554967","file5":"1399554969","file3":"1399554965"},"map_files_photo_id_array":[{"photo_id":"1399554969","filename":"file5"},{"photo_id":"1399554963","filename":"file2"},{"photo_id":"1399554967","filename":"file4"},{"photo_id":"1399554961","filename":"file1"},{"photo_id":"1399554959","filename":"file0"},{"photo_id":"1399554965","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399554965":["hashtag1","hashtag2"]},{"1399554959":["hashtag1","hashtag2"]},{"1399554967":["hashtag1","hashtag2"]},{"1399554961":["hashtag1","hashtag2"]},{"1399554969":["hashtag1","hashtag2"]},{"1399554963":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399554965, 1399554959, 1399554967, 1399554961, 1399554969, 1399554963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35027766227722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:14:03.282156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:14:22.643199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/12/image_15122025_22_12_25_10642.jpg', '/home/pi/Desktop/images/15122025/22/12/image_15122025_22_13_05_9771.jpg', '/home/pi/Desktop/images/15122025/22/13/image_15122025_22_13_15_9662.jpg', '/home/pi/Desktop/images/15122025/22/13/image_15122025_22_13_26_10742.jpg', '/home/pi/Desktop/images/15122025/22/13/image_15122025_22_13_35_9712.jpg', '/home/pi/Desktop/images/15122025/22/13/image_15122025_22_13_45_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/12/image_15122025_22_12_25_10642.jpg
/home/pi/Desktop/images/15122025/22/12/image_15122025_22_13_05_9771.jpg
/home/pi/Desktop/images/15122025/22/13/image_15122025_22_13_15_9662.jpg
/home/pi/Desktop/images/15122025/22/13/image_15122025_22_13_26_10742.jpg
/home/pi/Desktop/images/15122025/22/13/image_15122025_22_13_35_9712.jpg
/home/pi/Desktop/images/15122025/22/13/image_15122025_22_13_45_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.4844706058502197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:14:32.627701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 22:14:42.629964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/37/image_05112025_16_37_37_1622.jpg', '/home/pi/Desktop/images/05112025/16/37/image_05112025_16_37_38_1625.jpg', '/home/pi/Desktop/images/05112025/16/37/image_05112025_16_37_40_1544.jpg', '/home/pi/Desktop/images/05112025/16/38/image_05112025_16_38_07_25548.jpg', '/home/pi/Desktop/images/05112025/16/38/image_05112025_16_38_09_1581.jpg', '/home/pi/Desktop/images/05112025/16/38/image_05112025_16_38_10_1611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/37/image_05112025_16_37_37_1622.jpg
/home/pi/Desktop/images/05112025/16/37/image_05112025_16_37_38_1625.jpg
/home/pi/Desktop/images/05112025/16/37/image_05112025_16_37_40_1544.jpg
/home/pi/Desktop/images/05112025/16/38/image_05112025_16_38_07_25548.jpg
/home/pi/Desktop/images/05112025/16/38/image_05112025_16_38_09_1581.jpg
/home/pi/Desktop/images/05112025/16/38/image_05112025_16_38_10_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":["1399555159","1399555056","1399555125","1399555091","1399555192","1399555019"],"photo_ids_order":["1399555019","1399555056","1399555091","1399555125","1399555159","1399555192"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e12ad1313b1caa6b122a2a44910fb84d.jpg","text":"TemporaryFile(/tmp/multipartBody2550896878194564612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833343325,"filename":"image_05112025_16_38_09_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/15/6525894dfe7c1dbd95e7adfaae4bab1d.jpg","text":"TemporaryFile(/tmp/multipartBody3934194035865639120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833343325,"filename":"image_05112025_16_37_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/15/78fcb4c7fcb3d812f45c055e3f088919.jpg","text":"TemporaryFile(/tmp/multipartBody6966780281921757506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833343325,"filename":"image_05112025_16_38_07_25548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e8e59a6e6c62e54ee3a088a1208d73b8.jpg","text":"TemporaryFile(/tmp/multipartBody6538722682941624557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833343325,"filename":"image_05112025_16_37_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/15/4571c6b89c67f7812d3dfd271089fe75.jpg","text":"TemporaryFile(/tmp/multipartBody6416096654102253204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833343325,"filename":"image_05112025_16_38_10_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/15/a190a46307e88af4abcf121f0aa9b466.jpg","text":"TemporaryFile(/tmp/multipartBody522068339628907660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833343325,"filename":"image_05112025_16_37_37_1622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399555091","file1":"1399555056","file0":"1399555019","file4":"1399555159","file5":"1399555192","file3":"1399555125"},"map_files_photo_id_array":[{"photo_id":"1399555192","filename":"file5"},{"photo_id":"1399555091","filename":"file2"},{"photo_id":"1399555159","filename":"file4"},{"photo_id":"1399555056","filename":"file1"},{"photo_id":"1399555019","filename":"file0"},{"photo_id":"1399555125","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399555159":["hashtag1","hashtag2"]},{"1399555056":["hashtag1","hashtag2"]},{"1399555125":["hashtag1","hashtag2"]},{"1399555091":["hashtag1","hashtag2"]},{"1399555192":["hashtag1","hashtag2"]},{"1399555019":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399555159, 1399555056, 1399555125, 1399555091, 1399555192, 1399555019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9265832901001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:15:22.857168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/12/image_15122025_22_12_25_10642.jpg', '/home/pi/Desktop/images/15122025/22/12/image_15122025_22_13_05_9771.jpg', '/home/pi/Desktop/images/15122025/22/13/image_15122025_22_13_15_9662.jpg', '/home/pi/Desktop/images/15122025/22/13/image_15122025_22_13_26_10742.jpg', '/home/pi/Desktop/images/15122025/22/13/image_15122025_22_13_35_9712.jpg', '/home/pi/Desktop/images/15122025/22/13/image_15122025_22_13_45_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/12/image_15122025_22_12_25_10642.jpg
/home/pi/Desktop/images/15122025/22/12/image_15122025_22_13_05_9771.jpg
/home/pi/Desktop/images/15122025/22/13/image_15122025_22_13_15_9662.jpg
/home/pi/Desktop/images/15122025/22/13/image_15122025_22_13_26_10742.jpg
/home/pi/Desktop/images/15122025/22/13/image_15122025_22_13_35_9712.jpg
/home/pi/Desktop/images/15122025/22/13/image_15122025_22_13_45_9713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399555492","1399555369","1399555488","1399555413","1399555448","1399555334"],"photo_ids_order":["1399555334","1399555369","1399555413","1399555448","1399555488","1399555492"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5193e5d5946fafe6f4432cdb22eb8346.jpg","text":"TemporaryFile(/tmp/multipartBody3035567919992448689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833383456,"filename":"image_15122025_22_13_45_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ea1b39a49e7cef085b382f012941a9bf.jpg","text":"TemporaryFile(/tmp/multipartBody762224323280970753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833383456,"filename":"image_15122025_22_13_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/15/a3baff799613c85604a6f20a7f9a458e.jpg","text":"TemporaryFile(/tmp/multipartBody3997509002101753027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833383456,"filename":"image_15122025_22_13_35_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/021a68ed9ced36f084f57fbc172f4d0c.jpg","text":"TemporaryFile(/tmp/multipartBody680686110658799025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833383456,"filename":"image_15122025_22_13_15_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7b74c861e5a0c877810a2881bf5a679e.jpg","text":"TemporaryFile(/tmp/multipartBody7796810088836943950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833383456,"filename":"image_15122025_22_13_26_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c29a646e2d6de928366d11e05a3a6a4f.jpg","text":"TemporaryFile(/tmp/multipartBody4363397144978159672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833383456,"filename":"image_15122025_22_12_25_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399555413","file1":"1399555369","file0":"1399555334","file4":"1399555488","file5":"1399555492","file3":"1399555448"},"map_files_photo_id_array":[{"photo_id":"1399555492","filename":"file5"},{"photo_id":"1399555413","filename":"file2"},{"photo_id":"1399555488","filename":"file4"},{"photo_id":"1399555369","filename":"file1"},{"photo_id":"1399555334","filename":"file0"},{"photo_id":"1399555448","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399555492":["hashtag1","hashtag2"]},{"1399555369":["hashtag1","hashtag2"]},{"1399555488":["hashtag1","hashtag2"]},{"1399555413":["hashtag1","hashtag2"]},{"1399555448":["hashtag1","hashtag2"]},{"1399555334":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399555492, 1399555369, 1399555488, 1399555413, 1399555448, 1399555334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.69310975074768 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:16:02.499357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/13/image_15122025_22_13_55_9787.jpg', '/home/pi/Desktop/images/15122025/22/14/image_15122025_22_14_45_9301.jpg', '/home/pi/Desktop/images/15122025/22/14/image_15122025_22_14_55_10745.jpg', '/home/pi/Desktop/images/15122025/22/15/image_15122025_22_15_14_10048.jpg', '/home/pi/Desktop/images/15122025/22/15/image_15122025_22_15_25_10913.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/13/image_15122025_22_13_55_9787.jpg
/home/pi/Desktop/images/15122025/22/14/image_15122025_22_14_45_9301.jpg
/home/pi/Desktop/images/15122025/22/14/image_15122025_22_14_55_10745.jpg
/home/pi/Desktop/images/15122025/22/15/image_15122025_22_15_14_10048.jpg
/home/pi/Desktop/images/15122025/22/15/image_15122025_22_15_25_10913.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399555576","1399555603","1399555525","1399555575","1399555562"],"photo_ids_order":["1399555525","1399555562","1399555575","1399555576","1399555603"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/09528be444d470840bf258c79d65fa1a.jpg","text":"TemporaryFile(/tmp/multipartBody3343042839412910912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833423082,"filename":"image_15122025_22_15_14_10048.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/96a4b4de765917352738b2c4a274aff6.jpg","text":"TemporaryFile(/tmp/multipartBody7522357507158984139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833423082,"filename":"image_15122025_22_15_25_10913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/681e2afbe6f65c083848b86030283f48.jpg","text":"TemporaryFile(/tmp/multipartBody8338064243777538162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833423082,"filename":"image_15122025_22_13_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/15/f6db20c4419d39dd92d36245fc37a96e.jpg","text":"TemporaryFile(/tmp/multipartBody632324585918968654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833423082,"filename":"image_15122025_22_14_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/15/5fa8b6e43c1a76f3dbe156f72dc561fe.jpg","text":"TemporaryFile(/tmp/multipartBody3849611204299007145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833423082,"filename":"image_15122025_22_14_45_9301.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399555575","file1":"1399555562","file0":"1399555525","file4":"1399555603","file3":"1399555576"},"map_files_photo_id_array":[{"photo_id":"1399555575","filename":"file2"},{"photo_id":"1399555603","filename":"file4"},{"photo_id":"1399555562","filename":"file1"},{"photo_id":"1399555525","filename":"file0"},{"photo_id":"1399555576","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399555576":["hashtag1","hashtag2"]},{"1399555603":["hashtag1","hashtag2"]},{"1399555525":["hashtag1","hashtag2"]},{"1399555575":["hashtag1","hashtag2"]},{"1399555562":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399555576, 1399555603, 1399555525, 1399555575, 1399555562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.620017051696777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 22:16:41.878369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/38/image_05112025_16_38_12_1564.jpg', '/home/pi/Desktop/images/05112025/16/38/image_05112025_16_38_13_1562.jpg', '/home/pi/Desktop/images/05112025/16/38/image_05112025_16_38_15_1623.jpg', '/home/pi/Desktop/images/05112025/16/38/image_05112025_16_38_17_1617.jpg', '/home/pi/Desktop/images/05112025/16/38/image_05112025_16_38_20_1731.jpg', '/home/pi/Desktop/images/05112025/16/38/image_05112025_16_38_22_1536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/38/image_05112025_16_38_12_1564.jpg
/home/pi/Desktop/images/05112025/16/38/image_05112025_16_38_13_1562.jpg
/home/pi/Desktop/images/05112025/16/38/image_05112025_16_38_15_1623.jpg
/home/pi/Desktop/images/05112025/16/38/image_05112025_16_38_17_1617.jpg
/home/pi/Desktop/images/05112025/16/38/image_05112025_16_38_20_1731.jpg
/home/pi/Desktop/images/05112025/16/38/image_05112025_16_38_22_1536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399555636","1399555638","1399555632","1399555635","1399555631","1399555634"],"photo_ids_order":["1399555631","1399555632","1399555634","1399555635","1399555636","1399555638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a78cd6b3b71d1aea7fab1ad7dac44698.jpg","text":"TemporaryFile(/tmp/multipartBody1861763270758423605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833462555,"filename":"image_05112025_16_38_20_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/15/3462db3a84ec9025e16dd2088569b2b2.jpg","text":"TemporaryFile(/tmp/multipartBody6777728886996680068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833462555,"filename":"image_05112025_16_38_22_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/15/40ea9cca89fea7e6a74df3444d0441d0.jpg","text":"TemporaryFile(/tmp/multipartBody708254376267956680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833462555,"filename":"image_05112025_16_38_13_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/15/3191bf45fb9739091748587a6b3f828a.jpg","text":"TemporaryFile(/tmp/multipartBody2745312423934246847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833462555,"filename":"image_05112025_16_38_17_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/15/563401ff1f69d348e278c5d569efa923.jpg","text":"TemporaryFile(/tmp/multipartBody3476329652671771390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833462555,"filename":"image_05112025_16_38_12_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/15/dee327539e9967c8e3d935db0a9ac4e5.jpg","text":"TemporaryFile(/tmp/multipartBody1954733037442618703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833462555,"filename":"image_05112025_16_38_15_1623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399555634","file1":"1399555632","file0":"1399555631","file4":"1399555636","file5":"1399555638","file3":"1399555635"},"map_files_photo_id_array":[{"photo_id":"1399555638","filename":"file5"},{"photo_id":"1399555634","filename":"file2"},{"photo_id":"1399555636","filename":"file4"},{"photo_id":"1399555632","filename":"file1"},{"photo_id":"1399555631","filename":"file0"},{"photo_id":"1399555635","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399555636":["hashtag1","hashtag2"]},{"1399555638":["hashtag1","hashtag2"]},{"1399555632":["hashtag1","hashtag2"]},{"1399555635":["hashtag1","hashtag2"]},{"1399555631":["hashtag1","hashtag2"]},{"1399555634":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399555636, 1399555638, 1399555632, 1399555635, 1399555631, 1399555634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47279620170593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:17:22.073295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/15/image_15122025_22_15_55_10697.jpg', '/home/pi/Desktop/images/15122025/22/15/image_15122025_22_16_05_9606.jpg', '/home/pi/Desktop/images/15122025/22/16/image_15122025_22_16_14_9770.jpg', '/home/pi/Desktop/images/15122025/22/16/image_15122025_22_17_04_9729.jpg', '/home/pi/Desktop/images/15122025/22/17/image_15122025_22_17_15_10870.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/15/image_15122025_22_15_55_10697.jpg
/home/pi/Desktop/images/15122025/22/15/image_15122025_22_16_05_9606.jpg
/home/pi/Desktop/images/15122025/22/16/image_15122025_22_16_14_9770.jpg
/home/pi/Desktop/images/15122025/22/16/image_15122025_22_17_04_9729.jpg
/home/pi/Desktop/images/15122025/22/17/image_15122025_22_17_15_10870.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399555645","1399555642","1399555644","1399555643","1399555646"],"photo_ids_order":["1399555642","1399555643","1399555644","1399555645","1399555646"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3d337c883677b5bb134695b0ed9bc147.jpg","text":"TemporaryFile(/tmp/multipartBody5827158107120637549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833502713,"filename":"image_15122025_22_17_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/15/c097668b2fbed6a5c2bd5fcfd8ac6309.jpg","text":"TemporaryFile(/tmp/multipartBody5302026657428052561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833502713,"filename":"image_15122025_22_15_55_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/557d746ad850933d4f521a2487950497.jpg","text":"TemporaryFile(/tmp/multipartBody4204945698541238367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833502713,"filename":"image_15122025_22_16_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/15/5fffda9b0a1fb9e81cb0d6b02a8c2180.jpg","text":"TemporaryFile(/tmp/multipartBody3380192854212017389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833502713,"filename":"image_15122025_22_16_05_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/80d55e2379e758f45ae0bec54f5a9854.jpg","text":"TemporaryFile(/tmp/multipartBody6814271741635988838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833502713,"filename":"image_15122025_22_17_15_10870.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399555644","file1":"1399555643","file0":"1399555642","file4":"1399555646","file3":"1399555645"},"map_files_photo_id_array":[{"photo_id":"1399555644","filename":"file2"},{"photo_id":"1399555646","filename":"file4"},{"photo_id":"1399555643","filename":"file1"},{"photo_id":"1399555642","filename":"file0"},{"photo_id":"1399555645","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399555645":["hashtag1","hashtag2"]},{"1399555642":["hashtag1","hashtag2"]},{"1399555644":["hashtag1","hashtag2"]},{"1399555643":["hashtag1","hashtag2"]},{"1399555646":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399555645, 1399555642, 1399555644, 1399555643, 1399555646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.84976577758789 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:18:02.719383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:18:12.294665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:18:22.361691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/17/image_15122025_22_17_44_9883.jpg', '/home/pi/Desktop/images/15122025/22/18/image_15122025_22_18_34_9682.jpg', '/home/pi/Desktop/images/15122025/22/18/image_15122025_22_18_45_10716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/17/image_15122025_22_17_44_9883.jpg
/home/pi/Desktop/images/15122025/22/18/image_15122025_22_18_34_9682.jpg
/home/pi/Desktop/images/15122025/22/18/image_15122025_22_18_45_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":["1399555924","1399555850","1399555889"],"photo_ids_order":["1399555850","1399555889","1399555924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/719352e86a3247a10a73051e9415d922.jpg","text":"TemporaryFile(/tmp/multipartBody6188570722935134008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833562879,"filename":"image_15122025_22_18_45_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/062a0af47ff8a654d58f4f0e8afac6bc.jpg","text":"TemporaryFile(/tmp/multipartBody9009798911065429026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833562879,"filename":"image_15122025_22_17_44_9883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b60142eef4975a07e85036b1e8214aca.jpg","text":"TemporaryFile(/tmp/multipartBody498855269863066700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833562879,"filename":"image_15122025_22_18_34_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399555924","file1":"1399555889","file0":"1399555850"},"map_files_photo_id_array":[{"photo_id":"1399555924","filename":"file2"},{"photo_id":"1399555889","filename":"file1"},{"photo_id":"1399555850","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399555924":["hashtag1","hashtag2"]},{"1399555850":["hashtag1","hashtag2"]},{"1399555889":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399555924, 1399555850, 1399555889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.31976342201233 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:19:03.513607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:19:12.594711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:19:22.616792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/18/image_15122025_22_18_55_9813.jpg', '/home/pi/Desktop/images/15122025/22/18/image_15122025_22_19_04_9792.jpg', '/home/pi/Desktop/images/15122025/22/19/image_15122025_22_19_15_10643.jpg', '/home/pi/Desktop/images/15122025/22/19/image_15122025_22_19_44_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/18/image_15122025_22_18_55_9813.jpg
/home/pi/Desktop/images/15122025/22/18/image_15122025_22_19_04_9792.jpg
/home/pi/Desktop/images/15122025/22/19/image_15122025_22_19_15_10643.jpg
/home/pi/Desktop/images/15122025/22/19/image_15122025_22_19_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":["1399556262","1399556217","1399556252","1399556260"],"photo_ids_order":["1399556217","1399556252","1399556260","1399556262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/761751f64ee8090de1c969b067cd6ff1.jpg","text":"TemporaryFile(/tmp/multipartBody7987481086507472619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833623183,"filename":"image_15122025_22_19_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/15/fe5f00ea7bac9bcca93c92bd2c1be9b5.jpg","text":"TemporaryFile(/tmp/multipartBody743061293996666357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833623183,"filename":"image_15122025_22_18_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/15/0cef005f97750bd03d3c36e18bcbc556.jpg","text":"TemporaryFile(/tmp/multipartBody5314869312958614037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833623183,"filename":"image_15122025_22_19_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/15/566b249181634aa5828daa041eebd833.jpg","text":"TemporaryFile(/tmp/multipartBody1377267332271790671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833623183,"filename":"image_15122025_22_19_15_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399556260","file1":"1399556252","file0":"1399556217","file3":"1399556262"},"map_files_photo_id_array":[{"photo_id":"1399556260","filename":"file2"},{"photo_id":"1399556252","filename":"file1"},{"photo_id":"1399556217","filename":"file0"},{"photo_id":"1399556262","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399556262":["hashtag1","hashtag2"]},{"1399556217":["hashtag1","hashtag2"]},{"1399556252":["hashtag1","hashtag2"]},{"1399556260":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399556262, 1399556217, 1399556252, 1399556260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.65771460533142 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:20:03.272474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:20:12.830439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:20:22.877075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/19/image_15122025_22_19_55_10674.jpg', '/home/pi/Desktop/images/15122025/22/20/image_15122025_22_20_15_10051.jpg', '/home/pi/Desktop/images/15122025/22/20/image_15122025_22_20_35_9639.jpg', '/home/pi/Desktop/images/15122025/22/20/image_15122025_22_20_45_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/19/image_15122025_22_19_55_10674.jpg
/home/pi/Desktop/images/15122025/22/20/image_15122025_22_20_15_10051.jpg
/home/pi/Desktop/images/15122025/22/20/image_15122025_22_20_35_9639.jpg
/home/pi/Desktop/images/15122025/22/20/image_15122025_22_20_45_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399556344","1399556338","1399556342","1399556339"],"photo_ids_order":["1399556338","1399556339","1399556342","1399556344"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/42541d8943148eefc2ade32c49b7ab22.jpg","text":"TemporaryFile(/tmp/multipartBody397349660397643411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833683436,"filename":"image_15122025_22_20_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/15/370a0cd55f879d18b2ca7978dcce17a0.jpg","text":"TemporaryFile(/tmp/multipartBody4280827863275638325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833683436,"filename":"image_15122025_22_19_55_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6b78079917089718f62d926076ef9cae.jpg","text":"TemporaryFile(/tmp/multipartBody4831170096676302430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833683436,"filename":"image_15122025_22_20_35_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/596a314aa91937df2117bf287be8b152.jpg","text":"TemporaryFile(/tmp/multipartBody6915568523577218472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833683436,"filename":"image_15122025_22_20_15_10051.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399556342","file1":"1399556339","file0":"1399556338","file3":"1399556344"},"map_files_photo_id_array":[{"photo_id":"1399556342","filename":"file2"},{"photo_id":"1399556339","filename":"file1"},{"photo_id":"1399556338","filename":"file0"},{"photo_id":"1399556344","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399556344":["hashtag1","hashtag2"]},{"1399556338":["hashtag1","hashtag2"]},{"1399556342":["hashtag1","hashtag2"]},{"1399556339":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399556344, 1399556338, 1399556342, 1399556339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.615171670913696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:21:02.675354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:21:12.002363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:21:22.155543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/20/image_15122025_22_20_56_10802.jpg', '/home/pi/Desktop/images/15122025/22/20/image_15122025_22_21_05_9724.jpg', '/home/pi/Desktop/images/15122025/22/21/image_15122025_22_21_15_9678.jpg', '/home/pi/Desktop/images/15122025/22/21/image_15122025_22_21_25_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/20/image_15122025_22_20_56_10802.jpg
/home/pi/Desktop/images/15122025/22/20/image_15122025_22_21_05_9724.jpg
/home/pi/Desktop/images/15122025/22/21/image_15122025_22_21_15_9678.jpg
/home/pi/Desktop/images/15122025/22/21/image_15122025_22_21_25_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":["1399556367","1399556369","1399556363","1399556365"],"photo_ids_order":["1399556363","1399556365","1399556367","1399556369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ea6e0280b7c6f7bd7831db4eaf65fda1.jpg","text":"TemporaryFile(/tmp/multipartBody6646248642998758598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833742715,"filename":"image_15122025_22_21_15_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8b255170d4ac3c8145537491f3304bc1.jpg","text":"TemporaryFile(/tmp/multipartBody4515816971348819729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833742715,"filename":"image_15122025_22_21_25_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1e8479bcaf4139835b8e22b66f302bef.jpg","text":"TemporaryFile(/tmp/multipartBody365860285426149164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833742715,"filename":"image_15122025_22_20_56_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/15/bd9bdbe3a07b3a8618e74a2d6bdc25f5.jpg","text":"TemporaryFile(/tmp/multipartBody6997300913427005535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833742715,"filename":"image_15122025_22_21_05_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399556367","file1":"1399556365","file0":"1399556363","file3":"1399556369"},"map_files_photo_id_array":[{"photo_id":"1399556367","filename":"file2"},{"photo_id":"1399556365","filename":"file1"},{"photo_id":"1399556363","filename":"file0"},{"photo_id":"1399556369","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399556367":["hashtag1","hashtag2"]},{"1399556369":["hashtag1","hashtag2"]},{"1399556363":["hashtag1","hashtag2"]},{"1399556365":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399556367, 1399556369, 1399556363, 1399556365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.493741273880005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:22:02.657586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:22:12.312177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:22:22.259108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/21/image_15122025_22_21_45_9680.jpg', '/home/pi/Desktop/images/15122025/22/21/image_15122025_22_22_06_10717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/21/image_15122025_22_21_45_9680.jpg
/home/pi/Desktop/images/15122025/22/21/image_15122025_22_22_06_10717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399556382","1399556379"],"photo_ids_order":["1399556379","1399556382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/97c6e9da3cb0a763736e31e3c1021d96.jpg","text":"TemporaryFile(/tmp/multipartBody2085350593465322355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833802752,"filename":"image_15122025_22_22_06_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/04c5f36540888571165579f482593fe8.jpg","text":"TemporaryFile(/tmp/multipartBody616906509988421420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833802752,"filename":"image_15122025_22_21_45_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399556382","file0":"1399556379"},"map_files_photo_id_array":[{"photo_id":"1399556382","filename":"file1"},{"photo_id":"1399556379","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399556382":["hashtag1","hashtag2"]},{"1399556379":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399556382, 1399556379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.241634607315063 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 22:22:42.270849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/38/image_05112025_16_38_23_1786.jpg', '/home/pi/Desktop/images/05112025/16/38/image_05112025_16_38_55_31352.jpg', '/home/pi/Desktop/images/05112025/16/38/image_05112025_16_38_56_1698.jpg', '/home/pi/Desktop/images/05112025/16/38/image_05112025_16_38_58_1631.jpg', '/home/pi/Desktop/images/05112025/16/39/image_05112025_16_39_03_1548.jpg', '/home/pi/Desktop/images/05112025/16/39/image_05112025_16_39_05_1624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/38/image_05112025_16_38_23_1786.jpg
/home/pi/Desktop/images/05112025/16/38/image_05112025_16_38_55_31352.jpg
/home/pi/Desktop/images/05112025/16/38/image_05112025_16_38_56_1698.jpg
/home/pi/Desktop/images/05112025/16/38/image_05112025_16_38_58_1631.jpg
/home/pi/Desktop/images/05112025/16/39/image_05112025_16_39_03_1548.jpg
/home/pi/Desktop/images/05112025/16/39/image_05112025_16_39_05_1624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399556388","1399556390","1399556384","1399556393","1399556387","1399556383"],"photo_ids_order":["1399556383","1399556384","1399556387","1399556388","1399556390","1399556393"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0cd81d010b6f901865a8b310fc8962c6.jpg","text":"TemporaryFile(/tmp/multipartBody2912126977153545849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833822973,"filename":"image_05112025_16_38_58_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/18d6a317fe4415546614b81b922ee0cc.jpg","text":"TemporaryFile(/tmp/multipartBody589101299869576611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833822973,"filename":"image_05112025_16_39_03_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/15/83462274843e234ff70c0cb341d948b0.jpg","text":"TemporaryFile(/tmp/multipartBody1318802251769674851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833822973,"filename":"image_05112025_16_38_55_31352.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1c7ded8141c4ef63d3678c32110c20bd.jpg","text":"TemporaryFile(/tmp/multipartBody7250844041860064831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833822973,"filename":"image_05112025_16_39_05_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/15/bf177c9295069915652f446d99f98db1.jpg","text":"TemporaryFile(/tmp/multipartBody499516594495114144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833822973,"filename":"image_05112025_16_38_56_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/15/5e175366f410fef1030c066afcef2694.jpg","text":"TemporaryFile(/tmp/multipartBody1469705568449557470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833822973,"filename":"image_05112025_16_38_23_1786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399556387","file1":"1399556384","file0":"1399556383","file4":"1399556390","file5":"1399556393","file3":"1399556388"},"map_files_photo_id_array":[{"photo_id":"1399556393","filename":"file5"},{"photo_id":"1399556387","filename":"file2"},{"photo_id":"1399556390","filename":"file4"},{"photo_id":"1399556384","filename":"file1"},{"photo_id":"1399556383","filename":"file0"},{"photo_id":"1399556388","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399556388":["hashtag1","hashtag2"]},{"1399556390":["hashtag1","hashtag2"]},{"1399556384":["hashtag1","hashtag2"]},{"1399556393":["hashtag1","hashtag2"]},{"1399556387":["hashtag1","hashtag2"]},{"1399556383":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399556388, 1399556390, 1399556384, 1399556393, 1399556387, 1399556383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.11953687667847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:23:32.588192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 22:23:42.472262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/39/image_05112025_16_39_06_1669.jpg', '/home/pi/Desktop/images/05112025/16/39/image_05112025_16_39_08_1592.jpg', '/home/pi/Desktop/images/05112025/16/39/image_05112025_16_39_15_7347.jpg', '/home/pi/Desktop/images/05112025/16/39/image_05112025_16_39_17_1534.jpg', '/home/pi/Desktop/images/05112025/16/39/image_05112025_16_39_18_1729.jpg', '/home/pi/Desktop/images/05112025/16/39/image_05112025_16_39_20_1540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/39/image_05112025_16_39_06_1669.jpg
/home/pi/Desktop/images/05112025/16/39/image_05112025_16_39_08_1592.jpg
/home/pi/Desktop/images/05112025/16/39/image_05112025_16_39_15_7347.jpg
/home/pi/Desktop/images/05112025/16/39/image_05112025_16_39_17_1534.jpg
/home/pi/Desktop/images/05112025/16/39/image_05112025_16_39_18_1729.jpg
/home/pi/Desktop/images/05112025/16/39/image_05112025_16_39_20_1540.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399556410","1399556412","1399556409","1399556411","1399556405","1399556408"],"photo_ids_order":["1399556405","1399556408","1399556409","1399556410","1399556411","1399556412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fac75c4613a993e36da6cdcb5a026a4e.jpg","text":"TemporaryFile(/tmp/multipartBody1762549060554401044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833883169,"filename":"image_05112025_16_39_17_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/15/71dedb0b73dc7f87307fe64b591d1c28.jpg","text":"TemporaryFile(/tmp/multipartBody835468820095912801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833883169,"filename":"image_05112025_16_39_20_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/15/9e8191259b35c0f3b7308ebe6a943d04.jpg","text":"TemporaryFile(/tmp/multipartBody4978824615737897781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833883169,"filename":"image_05112025_16_39_15_7347.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0d974b56bd6186b7bb1a5998e1b372a8.jpg","text":"TemporaryFile(/tmp/multipartBody2374356575503650397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833883169,"filename":"image_05112025_16_39_18_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/15/b5943f4c5d7b3268ec59e59153ea1d4b.jpg","text":"TemporaryFile(/tmp/multipartBody9185143988491068912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833883169,"filename":"image_05112025_16_39_06_1669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2590b562a595c6edb0a269ff80d72bc6.jpg","text":"TemporaryFile(/tmp/multipartBody7913409939117331782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833883169,"filename":"image_05112025_16_39_08_1592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399556409","file1":"1399556408","file0":"1399556405","file4":"1399556411","file5":"1399556412","file3":"1399556410"},"map_files_photo_id_array":[{"photo_id":"1399556412","filename":"file5"},{"photo_id":"1399556409","filename":"file2"},{"photo_id":"1399556411","filename":"file4"},{"photo_id":"1399556408","filename":"file1"},{"photo_id":"1399556405","filename":"file0"},{"photo_id":"1399556410","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399556410":["hashtag1","hashtag2"]},{"1399556412":["hashtag1","hashtag2"]},{"1399556409":["hashtag1","hashtag2"]},{"1399556411":["hashtag1","hashtag2"]},{"1399556405":["hashtag1","hashtag2"]},{"1399556408":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399556410, 1399556412, 1399556409, 1399556411, 1399556405, 1399556408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23089623451233 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:24:22.731377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/22/image_15122025_22_22_25_9776.jpg', '/home/pi/Desktop/images/15122025/22/23/image_15122025_22_23_25_9844.jpg', '/home/pi/Desktop/images/15122025/22/23/image_15122025_22_23_36_10710.jpg', '/home/pi/Desktop/images/15122025/22/23/image_15122025_22_24_05_10616.jpg', '/home/pi/Desktop/images/15122025/22/24/image_15122025_22_24_15_9752.jpg', '/home/pi/Desktop/images/15122025/22/24/image_15122025_22_24_35_9832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/22/image_15122025_22_22_25_9776.jpg
/home/pi/Desktop/images/15122025/22/23/image_15122025_22_23_25_9844.jpg
/home/pi/Desktop/images/15122025/22/23/image_15122025_22_23_36_10710.jpg
/home/pi/Desktop/images/15122025/22/23/image_15122025_22_24_05_10616.jpg
/home/pi/Desktop/images/15122025/22/24/image_15122025_22_24_15_9752.jpg
/home/pi/Desktop/images/15122025/22/24/image_15122025_22_24_35_9832.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399556434","1399556422","1399556416","1399556418","1399556420","1399556431"],"photo_ids_order":["1399556416","1399556418","1399556420","1399556422","1399556431","1399556434"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/098776fdc7d6a1b1de6ea2c990166b91.jpg","text":"TemporaryFile(/tmp/multipartBody6271322511433442296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833923389,"filename":"image_15122025_22_24_35_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/eb8b7ffca09846d709e06d4fe40fa340.jpg","text":"TemporaryFile(/tmp/multipartBody8976424866755825777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833923389,"filename":"image_15122025_22_24_05_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4d8a77235ac3ffaa3da7ef27eb9a2bc5.jpg","text":"TemporaryFile(/tmp/multipartBody3860336176944879563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833923389,"filename":"image_15122025_22_22_25_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c5b17b7ebc734e9fcc3d93c04cbced21.jpg","text":"TemporaryFile(/tmp/multipartBody8106350044345886474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833923389,"filename":"image_15122025_22_23_25_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/15/85feb4d736a368529da7a21fa8b2c395.jpg","text":"TemporaryFile(/tmp/multipartBody792991612147257594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833923389,"filename":"image_15122025_22_23_36_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/15/2fd0a27e1ddc152e5f4ff81d07a19b0c.jpg","text":"TemporaryFile(/tmp/multipartBody4156170973361254835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833923389,"filename":"image_15122025_22_24_15_9752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399556420","file1":"1399556418","file0":"1399556416","file4":"1399556431","file5":"1399556434","file3":"1399556422"},"map_files_photo_id_array":[{"photo_id":"1399556434","filename":"file5"},{"photo_id":"1399556420","filename":"file2"},{"photo_id":"1399556431","filename":"file4"},{"photo_id":"1399556418","filename":"file1"},{"photo_id":"1399556416","filename":"file0"},{"photo_id":"1399556422","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399556434":["hashtag1","hashtag2"]},{"1399556422":["hashtag1","hashtag2"]},{"1399556416":["hashtag1","hashtag2"]},{"1399556418":["hashtag1","hashtag2"]},{"1399556420":["hashtag1","hashtag2"]},{"1399556431":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399556434, 1399556422, 1399556416, 1399556418, 1399556420, 1399556431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.45199966430664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:25:11.959511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:25:21.982960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/24/image_15122025_22_24_46_10713.jpg', '/home/pi/Desktop/images/15122025/22/24/image_15122025_22_24_55_9768.jpg', '/home/pi/Desktop/images/15122025/22/25/image_15122025_22_25_14_10056.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/24/image_15122025_22_24_46_10713.jpg
/home/pi/Desktop/images/15122025/22/24/image_15122025_22_24_55_9768.jpg
/home/pi/Desktop/images/15122025/22/25/image_15122025_22_25_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":["1399556449","1399556445","1399556447"],"photo_ids_order":["1399556445","1399556447","1399556449"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d698390f09e2e28be38d0f52da118e62.jpg","text":"TemporaryFile(/tmp/multipartBody5881703010187197892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833982510,"filename":"image_15122025_22_25_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/78a73ef05ca548bab52d9b5e6539a481.jpg","text":"TemporaryFile(/tmp/multipartBody8882017716634308266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833982510,"filename":"image_15122025_22_24_46_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/15/d9ac2fd7b6bf9ccfc18165073352f374.jpg","text":"TemporaryFile(/tmp/multipartBody3558854327451877993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765833982510,"filename":"image_15122025_22_24_55_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399556449","file1":"1399556447","file0":"1399556445"},"map_files_photo_id_array":[{"photo_id":"1399556449","filename":"file2"},{"photo_id":"1399556447","filename":"file1"},{"photo_id":"1399556445","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399556449":["hashtag1","hashtag2"]},{"1399556445":["hashtag1","hashtag2"]},{"1399556447":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399556449, 1399556445, 1399556447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.239195823669434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:26:02.689697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:26:12.249165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:26:22.315522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/25/image_15122025_22_25_55_10636.jpg', '/home/pi/Desktop/images/15122025/22/25/image_15122025_22_26_05_9754.jpg', '/home/pi/Desktop/images/15122025/22/26/image_15122025_22_26_45_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/25/image_15122025_22_25_55_10636.jpg
/home/pi/Desktop/images/15122025/22/25/image_15122025_22_26_05_9754.jpg
/home/pi/Desktop/images/15122025/22/26/image_15122025_22_26_45_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":["1399556461","1399556469","1399556466"],"photo_ids_order":["1399556461","1399556466","1399556469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2aeb6a740886c4d3de298661fa1df3df.jpg","text":"TemporaryFile(/tmp/multipartBody6838980500601308436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834042865,"filename":"image_15122025_22_25_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/15/a85a73a97f510272a3ecc99d04fe9248.jpg","text":"TemporaryFile(/tmp/multipartBody7358668291552884472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834042865,"filename":"image_15122025_22_26_45_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/64008229ca40c67780f14675c897e023.jpg","text":"TemporaryFile(/tmp/multipartBody5293292582846482241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834042865,"filename":"image_15122025_22_26_05_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399556469","file1":"1399556466","file0":"1399556461"},"map_files_photo_id_array":[{"photo_id":"1399556469","filename":"file2"},{"photo_id":"1399556466","filename":"file1"},{"photo_id":"1399556461","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399556461":["hashtag1","hashtag2"]},{"1399556469":["hashtag1","hashtag2"]},{"1399556466":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399556461, 1399556469, 1399556466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.095364332199097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:27:03.172068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:27:12.466032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:27:22.539589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/26/image_15122025_22_26_55_9827.jpg', '/home/pi/Desktop/images/15122025/22/27/image_15122025_22_27_15_10747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/26/image_15122025_22_26_55_9827.jpg
/home/pi/Desktop/images/15122025/22/27/image_15122025_22_27_15_10747.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399556490","1399556494"],"photo_ids_order":["1399556490","1399556494"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/773b98e2ad281ef56cec66e937b236e5.jpg","text":"TemporaryFile(/tmp/multipartBody6176930984287297179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834103011,"filename":"image_15122025_22_26_55_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/261d1c7e6aa7b713a2ffde4d7660387d.jpg","text":"TemporaryFile(/tmp/multipartBody5490450930433860359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834103011,"filename":"image_15122025_22_27_15_10747.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399556494","file0":"1399556490"},"map_files_photo_id_array":[{"photo_id":"1399556494","filename":"file1"},{"photo_id":"1399556490","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399556490":["hashtag1","hashtag2"]},{"1399556494":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399556490, 1399556494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.71238398551941 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 22:27:42.465254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/43/image_05112025_16_43_08_3019.jpg', '/home/pi/Desktop/images/05112025/16/43/image_05112025_16_43_11_3702.jpg', '/home/pi/Desktop/images/05112025/16/43/image_05112025_16_43_14_2649.jpg', '/home/pi/Desktop/images/05112025/16/43/image_05112025_16_43_17_2666.jpg', '/home/pi/Desktop/images/05112025/16/43/image_05112025_16_43_20_3538.jpg', '/home/pi/Desktop/images/05112025/16/43/image_05112025_16_43_23_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/43/image_05112025_16_43_08_3019.jpg
/home/pi/Desktop/images/05112025/16/43/image_05112025_16_43_11_3702.jpg
/home/pi/Desktop/images/05112025/16/43/image_05112025_16_43_14_2649.jpg
/home/pi/Desktop/images/05112025/16/43/image_05112025_16_43_17_2666.jpg
/home/pi/Desktop/images/05112025/16/43/image_05112025_16_43_20_3538.jpg
/home/pi/Desktop/images/05112025/16/43/image_05112025_16_43_23_2599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399556499","1399556503","1399556506","1399556505","1399556502","1399556504"],"photo_ids_order":["1399556499","1399556502","1399556503","1399556504","1399556505","1399556506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/516c7e24c1c3ea055332fa21d5c3674c.jpg","text":"TemporaryFile(/tmp/multipartBody5802569438073324460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834123196,"filename":"image_05112025_16_43_08_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/15/994412d315e1c366d71bf817af834e98.jpg","text":"TemporaryFile(/tmp/multipartBody8277308311427664175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834123196,"filename":"image_05112025_16_43_14_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ade972553dbd3af52470f88caea588da.jpg","text":"TemporaryFile(/tmp/multipartBody5542798443746000580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834123196,"filename":"image_05112025_16_43_23_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/15/9290777dfb62f913a4777ad8cbdf6f6a.jpg","text":"TemporaryFile(/tmp/multipartBody6682644562417841334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834123196,"filename":"image_05112025_16_43_20_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/15/87aaa1f43f4a3be3be1ad4fb19d123cc.jpg","text":"TemporaryFile(/tmp/multipartBody8407340818347622238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834123196,"filename":"image_05112025_16_43_11_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/15/c850433da17244aaa40d9e9b3d2709e5.jpg","text":"TemporaryFile(/tmp/multipartBody275690513524400286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834123196,"filename":"image_05112025_16_43_17_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399556503","file1":"1399556502","file0":"1399556499","file4":"1399556505","file5":"1399556506","file3":"1399556504"},"map_files_photo_id_array":[{"photo_id":"1399556506","filename":"file5"},{"photo_id":"1399556503","filename":"file2"},{"photo_id":"1399556505","filename":"file4"},{"photo_id":"1399556502","filename":"file1"},{"photo_id":"1399556499","filename":"file0"},{"photo_id":"1399556504","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399556499":["hashtag1","hashtag2"]},{"1399556503":["hashtag1","hashtag2"]},{"1399556506":["hashtag1","hashtag2"]},{"1399556505":["hashtag1","hashtag2"]},{"1399556502":["hashtag1","hashtag2"]},{"1399556504":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399556499, 1399556503, 1399556506, 1399556505, 1399556502, 1399556504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21053218841553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:28:22.720434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/27/image_15122025_22_27_25_9806.jpg', '/home/pi/Desktop/images/15122025/22/28/image_15122025_22_28_35_9890.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/27/image_15122025_22_27_25_9806.jpg
/home/pi/Desktop/images/15122025/22/28/image_15122025_22_28_35_9890.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399556512","1399556511"],"photo_ids_order":["1399556511","1399556512"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/106a4eab34f468df321b9082e30dfd54.jpg","text":"TemporaryFile(/tmp/multipartBody2848332649837058262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834163209,"filename":"image_15122025_22_28_35_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/15/5acce4c87bd75ead6ae2f4432dff789a.jpg","text":"TemporaryFile(/tmp/multipartBody2857489134207319184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834163209,"filename":"image_15122025_22_27_25_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399556512","file0":"1399556511"},"map_files_photo_id_array":[{"photo_id":"1399556512","filename":"file1"},{"photo_id":"1399556511","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399556512":["hashtag1","hashtag2"]},{"1399556511":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399556512, 1399556511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.764000415802002 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 22:28:42.671494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/43/image_05112025_16_43_26_3579.jpg', '/home/pi/Desktop/images/05112025/16/43/image_05112025_16_43_29_2687.jpg', '/home/pi/Desktop/images/05112025/16/43/image_05112025_16_43_32_2527.jpg', '/home/pi/Desktop/images/05112025/16/43/image_05112025_16_43_35_3683.jpg', '/home/pi/Desktop/images/05112025/16/43/image_05112025_16_43_38_2698.jpg', '/home/pi/Desktop/images/05112025/16/43/image_05112025_16_43_41_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/43/image_05112025_16_43_26_3579.jpg
/home/pi/Desktop/images/05112025/16/43/image_05112025_16_43_29_2687.jpg
/home/pi/Desktop/images/05112025/16/43/image_05112025_16_43_32_2527.jpg
/home/pi/Desktop/images/05112025/16/43/image_05112025_16_43_35_3683.jpg
/home/pi/Desktop/images/05112025/16/43/image_05112025_16_43_38_2698.jpg
/home/pi/Desktop/images/05112025/16/43/image_05112025_16_43_41_2656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399556527","1399556629","1399556709","1399556672","1399556552","1399556587"],"photo_ids_order":["1399556527","1399556552","1399556587","1399556629","1399556672","1399556709"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/934bc290cbf6dc6de8ec557d76e49597.jpg","text":"TemporaryFile(/tmp/multipartBody3459489631439267506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834183428,"filename":"image_05112025_16_43_26_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/59ccf86cbd7d45e68b2e47c16e522271.jpg","text":"TemporaryFile(/tmp/multipartBody1858160044867419444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834183428,"filename":"image_05112025_16_43_35_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/15/62d00f9c536bd15b1f0bd2d867350409.jpg","text":"TemporaryFile(/tmp/multipartBody1552511345979730405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834183428,"filename":"image_05112025_16_43_41_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/15/80a35f9ea3c076c638660e4399d162c9.jpg","text":"TemporaryFile(/tmp/multipartBody804978200987620525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834183428,"filename":"image_05112025_16_43_38_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/15/8f6faea9aa026754d79766da2ebaae0d.jpg","text":"TemporaryFile(/tmp/multipartBody2872620544840180455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834183428,"filename":"image_05112025_16_43_29_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/15/8dec010d00a8188947c150f3d1937b51.jpg","text":"TemporaryFile(/tmp/multipartBody1509375065019220063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834183428,"filename":"image_05112025_16_43_32_2527.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399556587","file1":"1399556552","file0":"1399556527","file4":"1399556672","file5":"1399556709","file3":"1399556629"},"map_files_photo_id_array":[{"photo_id":"1399556709","filename":"file5"},{"photo_id":"1399556587","filename":"file2"},{"photo_id":"1399556672","filename":"file4"},{"photo_id":"1399556552","filename":"file1"},{"photo_id":"1399556527","filename":"file0"},{"photo_id":"1399556629","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399556527":["hashtag1","hashtag2"]},{"1399556629":["hashtag1","hashtag2"]},{"1399556709":["hashtag1","hashtag2"]},{"1399556672":["hashtag1","hashtag2"]},{"1399556552":["hashtag1","hashtag2"]},{"1399556587":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399556527, 1399556629, 1399556709, 1399556672, 1399556552, 1399556587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84051060676575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:29:21.952193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/28/image_15122025_22_28_55_9716.jpg', '/home/pi/Desktop/images/15122025/22/28/image_15122025_22_29_04_9694.jpg', '/home/pi/Desktop/images/15122025/22/29/image_15122025_22_29_15_10773.jpg', '/home/pi/Desktop/images/15122025/22/29/image_15122025_22_29_25_9759.jpg', '/home/pi/Desktop/images/15122025/22/29/image_15122025_22_29_44_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/28/image_15122025_22_28_55_9716.jpg
/home/pi/Desktop/images/15122025/22/28/image_15122025_22_29_04_9694.jpg
/home/pi/Desktop/images/15122025/22/29/image_15122025_22_29_15_10773.jpg
/home/pi/Desktop/images/15122025/22/29/image_15122025_22_29_25_9759.jpg
/home/pi/Desktop/images/15122025/22/29/image_15122025_22_29_44_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":["1399556845","1399557000","1399556885","1399556924","1399556962"],"photo_ids_order":["1399556845","1399556885","1399556924","1399556962","1399557000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0f432b29b5c4d81012c8ea60736fe873.jpg","text":"TemporaryFile(/tmp/multipartBody8207720398916365250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834222610,"filename":"image_15122025_22_28_55_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d696549b6c1fa0eaf6292890ad4e2a42.jpg","text":"TemporaryFile(/tmp/multipartBody3532353868019331759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834222610,"filename":"image_15122025_22_29_44_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0a91e32d8df7cdb6f89adec76232611a.jpg","text":"TemporaryFile(/tmp/multipartBody1846351973116554457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834222610,"filename":"image_15122025_22_29_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/15/7c00c30b925539fb58cf54eb0563d343.jpg","text":"TemporaryFile(/tmp/multipartBody5002370820210653763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834222610,"filename":"image_15122025_22_29_15_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/15/6577130d298a835177239f45d160543d.jpg","text":"TemporaryFile(/tmp/multipartBody3266367664402538458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834222610,"filename":"image_15122025_22_29_25_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399556924","file1":"1399556885","file0":"1399556845","file4":"1399557000","file3":"1399556962"},"map_files_photo_id_array":[{"photo_id":"1399556924","filename":"file2"},{"photo_id":"1399557000","filename":"file4"},{"photo_id":"1399556885","filename":"file1"},{"photo_id":"1399556845","filename":"file0"},{"photo_id":"1399556962","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399556845":["hashtag1","hashtag2"]},{"1399557000":["hashtag1","hashtag2"]},{"1399556885":["hashtag1","hashtag2"]},{"1399556924":["hashtag1","hashtag2"]},{"1399556962":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399556845, 1399557000, 1399556885, 1399556924, 1399556962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.29879665374756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:30:02.694151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:30:12.312185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:30:22.229329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/44/image_05112025_16_44_04_23399.jpg', '/home/pi/Desktop/images/05112025/16/44/image_05112025_16_44_06_1600.jpg', '/home/pi/Desktop/images/05112025/16/44/image_05112025_16_44_07_1782.jpg', '/home/pi/Desktop/images/05112025/16/44/image_05112025_16_44_09_1520.jpg', '/home/pi/Desktop/images/05112025/16/44/image_05112025_16_44_11_1634.jpg', '/home/pi/Desktop/images/05112025/16/44/image_05112025_16_44_12_1685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/44/image_05112025_16_44_04_23399.jpg
/home/pi/Desktop/images/05112025/16/44/image_05112025_16_44_06_1600.jpg
/home/pi/Desktop/images/05112025/16/44/image_05112025_16_44_07_1782.jpg
/home/pi/Desktop/images/05112025/16/44/image_05112025_16_44_09_1520.jpg
/home/pi/Desktop/images/05112025/16/44/image_05112025_16_44_11_1634.jpg
/home/pi/Desktop/images/05112025/16/44/image_05112025_16_44_12_1685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399557477","1399557527","1399557440","1399557401","1399557529","1399557514"],"photo_ids_order":["1399557401","1399557440","1399557477","1399557514","1399557527","1399557529"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/35c28b0dd4de6d50c3a620a9cf0bbef2.jpg","text":"TemporaryFile(/tmp/multipartBody1806130875588531247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834292077,"filename":"image_05112025_16_44_07_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/15/9f82a6c15541feef286e9ab11467665b.jpg","text":"TemporaryFile(/tmp/multipartBody9150103006911691795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834292077,"filename":"image_05112025_16_44_11_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/15/2660e66ab33a4b5889e1b5e9595db8a0.jpg","text":"TemporaryFile(/tmp/multipartBody8948357394875456212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834292077,"filename":"image_05112025_16_44_06_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/15/36c74cca93d574b0c2d71b7ee064fc63.jpg","text":"TemporaryFile(/tmp/multipartBody224892190204843546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834292077,"filename":"image_05112025_16_44_04_23399.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7b6c8a19905e2b3fcbb79d5d5cedd9fc.jpg","text":"TemporaryFile(/tmp/multipartBody3232379433512481365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834292077,"filename":"image_05112025_16_44_12_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/15/b5ac9f592afbd214d1df7dc1ca94efe5.jpg","text":"TemporaryFile(/tmp/multipartBody7944345940850891699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834292077,"filename":"image_05112025_16_44_09_1520.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399557477","file1":"1399557440","file0":"1399557401","file4":"1399557527","file5":"1399557529","file3":"1399557514"},"map_files_photo_id_array":[{"photo_id":"1399557529","filename":"file5"},{"photo_id":"1399557477","filename":"file2"},{"photo_id":"1399557527","filename":"file4"},{"photo_id":"1399557440","filename":"file1"},{"photo_id":"1399557401","filename":"file0"},{"photo_id":"1399557514","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399557477":["hashtag1","hashtag2"]},{"1399557527":["hashtag1","hashtag2"]},{"1399557440":["hashtag1","hashtag2"]},{"1399557401":["hashtag1","hashtag2"]},{"1399557529":["hashtag1","hashtag2"]},{"1399557514":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399557477, 1399557527, 1399557440, 1399557401, 1399557529, 1399557514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.234439849853516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:31:12.492691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:31:22.515472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/29/image_15122025_22_29_55_10678.jpg', '/home/pi/Desktop/images/15122025/22/31/image_15122025_22_31_14_10039.jpg', '/home/pi/Desktop/images/15122025/22/31/image_15122025_22_31_34_9603.jpg', '/home/pi/Desktop/images/15122025/22/31/image_15122025_22_31_44_9953.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/29/image_15122025_22_29_55_10678.jpg
/home/pi/Desktop/images/15122025/22/31/image_15122025_22_31_14_10039.jpg
/home/pi/Desktop/images/15122025/22/31/image_15122025_22_31_34_9603.jpg
/home/pi/Desktop/images/15122025/22/31/image_15122025_22_31_44_9953.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399557543","1399557545","1399557541","1399557547"],"photo_ids_order":["1399557541","1399557543","1399557545","1399557547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fa9e7e0586dc74307f835407bf1e1a65.jpg","text":"TemporaryFile(/tmp/multipartBody620824972696917576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834343079,"filename":"image_15122025_22_31_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/15/24d1d50a52ad270f1843db258199f83d.jpg","text":"TemporaryFile(/tmp/multipartBody7373426589950637445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834343079,"filename":"image_15122025_22_31_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/15/ba28c9bb50660287feb29cefabc2a175.jpg","text":"TemporaryFile(/tmp/multipartBody487990825909001116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834343079,"filename":"image_15122025_22_29_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/15/227317875d8d8eb426d9ba37e7fafaa1.jpg","text":"TemporaryFile(/tmp/multipartBody4626726906379021483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834343079,"filename":"image_15122025_22_31_44_9953.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399557545","file1":"1399557543","file0":"1399557541","file3":"1399557547"},"map_files_photo_id_array":[{"photo_id":"1399557545","filename":"file2"},{"photo_id":"1399557543","filename":"file1"},{"photo_id":"1399557541","filename":"file0"},{"photo_id":"1399557547","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399557543":["hashtag1","hashtag2"]},{"1399557545":["hashtag1","hashtag2"]},{"1399557541":["hashtag1","hashtag2"]},{"1399557547":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399557543, 1399557545, 1399557541, 1399557547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.343567848205566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:32:03.074117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:32:12.639802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:32:22.759142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/31/image_15122025_22_31_54_9727.jpg', '/home/pi/Desktop/images/15122025/22/31/image_15122025_22_32_04_10665.jpg', '/home/pi/Desktop/images/15122025/22/32/image_15122025_22_32_14_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/31/image_15122025_22_31_54_9727.jpg
/home/pi/Desktop/images/15122025/22/31/image_15122025_22_32_04_10665.jpg
/home/pi/Desktop/images/15122025/22/32/image_15122025_22_32_14_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":["1399557807","1399557804","1399557826"],"photo_ids_order":["1399557804","1399557807","1399557826"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fc3ef507278fbea682603979d2120f3a.jpg","text":"TemporaryFile(/tmp/multipartBody795283507839641044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834403269,"filename":"image_15122025_22_32_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/15/a1ba826645f2b3ab618aef2b0f52a468.jpg","text":"TemporaryFile(/tmp/multipartBody5160806974970862899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834403269,"filename":"image_15122025_22_31_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/15/b8e91e4f0586afac1371de2f310feb72.jpg","text":"TemporaryFile(/tmp/multipartBody9138021353006501863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834403269,"filename":"image_15122025_22_32_14_9736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399557826","file1":"1399557807","file0":"1399557804"},"map_files_photo_id_array":[{"photo_id":"1399557826","filename":"file2"},{"photo_id":"1399557807","filename":"file1"},{"photo_id":"1399557804","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399557807":["hashtag1","hashtag2"]},{"1399557804":["hashtag1","hashtag2"]},{"1399557826":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399557807, 1399557804, 1399557826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.072363138198853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:33:02.659935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:33:11.874582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:33:21.915961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/32/image_15122025_22_32_54_9865.jpg', '/home/pi/Desktop/images/15122025/22/33/image_15122025_22_33_14_9848.jpg', '/home/pi/Desktop/images/15122025/22/33/image_15122025_22_33_24_9762.jpg', '/home/pi/Desktop/images/15122025/22/33/image_15122025_22_33_34_10588.jpg', '/home/pi/Desktop/images/15122025/22/33/image_15122025_22_33_44_9860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/32/image_15122025_22_32_54_9865.jpg
/home/pi/Desktop/images/15122025/22/33/image_15122025_22_33_14_9848.jpg
/home/pi/Desktop/images/15122025/22/33/image_15122025_22_33_24_9762.jpg
/home/pi/Desktop/images/15122025/22/33/image_15122025_22_33_34_10588.jpg
/home/pi/Desktop/images/15122025/22/33/image_15122025_22_33_44_9860.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399557963","1399557957","1399557959","1399557961","1399557955"],"photo_ids_order":["1399557955","1399557957","1399557959","1399557961","1399557963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/16b34f8b7f6d85f5b69100173492a504.jpg","text":"TemporaryFile(/tmp/multipartBody3254301963438796740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834462499,"filename":"image_15122025_22_33_44_9860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e641eaeee9da2c75cdb4b598a3ddf05c.jpg","text":"TemporaryFile(/tmp/multipartBody8923652071885430314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834462499,"filename":"image_15122025_22_33_14_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/46fb59c467b6c3fe63396c51d04d312c.jpg","text":"TemporaryFile(/tmp/multipartBody941003962629774534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834462499,"filename":"image_15122025_22_33_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/15/b9a48063381f8a4f39ac1cd83fe3133a.jpg","text":"TemporaryFile(/tmp/multipartBody5503311442931988670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834462499,"filename":"image_15122025_22_33_34_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/15/796a4fcc2a94a568817d56a0429636fa.jpg","text":"TemporaryFile(/tmp/multipartBody8927371539803945404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834462499,"filename":"image_15122025_22_32_54_9865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399557959","file1":"1399557957","file0":"1399557955","file4":"1399557963","file3":"1399557961"},"map_files_photo_id_array":[{"photo_id":"1399557959","filename":"file2"},{"photo_id":"1399557963","filename":"file4"},{"photo_id":"1399557957","filename":"file1"},{"photo_id":"1399557955","filename":"file0"},{"photo_id":"1399557961","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399557963":["hashtag1","hashtag2"]},{"1399557957":["hashtag1","hashtag2"]},{"1399557959":["hashtag1","hashtag2"]},{"1399557961":["hashtag1","hashtag2"]},{"1399557955":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399557963, 1399557957, 1399557959, 1399557961, 1399557955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.599422931671143 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:34:02.766563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:34:12.181582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:34:22.167156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/33/image_15122025_22_33_54_9859.jpg', '/home/pi/Desktop/images/15122025/22/34/image_15122025_22_34_14_10698.jpg', '/home/pi/Desktop/images/15122025/22/34/image_15122025_22_34_24_9824.jpg', '/home/pi/Desktop/images/15122025/22/34/image_15122025_22_34_34_9694.jpg', '/home/pi/Desktop/images/15122025/22/34/image_15122025_22_34_44_9764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/33/image_15122025_22_33_54_9859.jpg
/home/pi/Desktop/images/15122025/22/34/image_15122025_22_34_14_10698.jpg
/home/pi/Desktop/images/15122025/22/34/image_15122025_22_34_24_9824.jpg
/home/pi/Desktop/images/15122025/22/34/image_15122025_22_34_34_9694.jpg
/home/pi/Desktop/images/15122025/22/34/image_15122025_22_34_44_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":["1399557975","1399557969","1399557977","1399557979","1399557972"],"photo_ids_order":["1399557969","1399557972","1399557975","1399557977","1399557979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3b975af8174b2592cfea3335581ac186.jpg","text":"TemporaryFile(/tmp/multipartBody4281882801341633505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834522771,"filename":"image_15122025_22_34_24_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/51886164ca58a8764f6394fa2d3f6ed3.jpg","text":"TemporaryFile(/tmp/multipartBody2015686266663328215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834522771,"filename":"image_15122025_22_33_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/15/fe13d6fb8d194921cd45c32dd6fda978.jpg","text":"TemporaryFile(/tmp/multipartBody5096646933232932332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834522771,"filename":"image_15122025_22_34_34_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ac477aba5934ea00993a4c66f15b3efa.jpg","text":"TemporaryFile(/tmp/multipartBody5574641978694820412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834522771,"filename":"image_15122025_22_34_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/15/dece36f4238109efb1a634f785aa6ac0.jpg","text":"TemporaryFile(/tmp/multipartBody2804920639923262012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834522771,"filename":"image_15122025_22_34_14_10698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399557975","file1":"1399557972","file0":"1399557969","file4":"1399557979","file3":"1399557977"},"map_files_photo_id_array":[{"photo_id":"1399557975","filename":"file2"},{"photo_id":"1399557979","filename":"file4"},{"photo_id":"1399557972","filename":"file1"},{"photo_id":"1399557969","filename":"file0"},{"photo_id":"1399557977","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399557975":["hashtag1","hashtag2"]},{"1399557969":["hashtag1","hashtag2"]},{"1399557977":["hashtag1","hashtag2"]},{"1399557979":["hashtag1","hashtag2"]},{"1399557972":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399557975, 1399557969, 1399557977, 1399557979, 1399557972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.60832142829895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:35:02.989847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:35:12.430771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:35:22.598049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/34/image_15122025_22_34_54_10718.jpg', '/home/pi/Desktop/images/15122025/22/35/image_15122025_22_35_25_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/34/image_15122025_22_34_54_10718.jpg
/home/pi/Desktop/images/15122025/22/35/image_15122025_22_35_25_10668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399557990","1399557987"],"photo_ids_order":["1399557987","1399557990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ef360cc2ae9589121c68bff934abf680.jpg","text":"TemporaryFile(/tmp/multipartBody1462021934056224708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834583092,"filename":"image_15122025_22_35_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/15/6c6ad6d846ad4f49c9789cc75d5f7aff.jpg","text":"TemporaryFile(/tmp/multipartBody6910076604133327469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834583092,"filename":"image_15122025_22_34_54_10718.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399557990","file0":"1399557987"},"map_files_photo_id_array":[{"photo_id":"1399557990","filename":"file1"},{"photo_id":"1399557987","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399557990":["hashtag1","hashtag2"]},{"1399557987":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399557990, 1399557987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.103039264678955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 22:35:42.414022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/44/image_05112025_16_44_42_29637.jpg', '/home/pi/Desktop/images/05112025/16/44/image_05112025_16_44_44_1800.jpg', '/home/pi/Desktop/images/05112025/16/44/image_05112025_16_44_47_1505.jpg', '/home/pi/Desktop/images/05112025/16/46/image_05112025_16_46_07_3012.jpg', '/home/pi/Desktop/images/05112025/16/46/image_05112025_16_46_11_3628.jpg', '/home/pi/Desktop/images/05112025/16/46/image_05112025_16_46_13_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/44/image_05112025_16_44_42_29637.jpg
/home/pi/Desktop/images/05112025/16/44/image_05112025_16_44_44_1800.jpg
/home/pi/Desktop/images/05112025/16/44/image_05112025_16_44_47_1505.jpg
/home/pi/Desktop/images/05112025/16/46/image_05112025_16_46_07_3012.jpg
/home/pi/Desktop/images/05112025/16/46/image_05112025_16_46_11_3628.jpg
/home/pi/Desktop/images/05112025/16/46/image_05112025_16_46_13_2609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399557996","1399558005","1399558001","1399558000","1399558003","1399557999"],"photo_ids_order":["1399557996","1399557999","1399558000","1399558001","1399558003","1399558005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ca8cc5983cb2e5944b120868d9d4f799.jpg","text":"TemporaryFile(/tmp/multipartBody4657081835947118151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834603135,"filename":"image_05112025_16_44_42_29637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e02e89b0daec57f26b5319035d1ce19e.jpg","text":"TemporaryFile(/tmp/multipartBody1324803649587834682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834603135,"filename":"image_05112025_16_46_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/15/9535427ef9c4e9ccf8dc56528a19bde7.jpg","text":"TemporaryFile(/tmp/multipartBody8399802518906267783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834603135,"filename":"image_05112025_16_46_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/712ce98fb53b33ee90f84f2124ec97e1.jpg","text":"TemporaryFile(/tmp/multipartBody3499832000705015256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834603135,"filename":"image_05112025_16_44_47_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/15/d68b79dbd52e3897495bcefe56ff3b40.jpg","text":"TemporaryFile(/tmp/multipartBody6430136148260782205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834603135,"filename":"image_05112025_16_46_11_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/15/919c76b103044b7696c14993d57b04ff.jpg","text":"TemporaryFile(/tmp/multipartBody4706683693519503873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834603135,"filename":"image_05112025_16_44_44_1800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399558000","file1":"1399557999","file0":"1399557996","file4":"1399558003","file5":"1399558005","file3":"1399558001"},"map_files_photo_id_array":[{"photo_id":"1399558005","filename":"file5"},{"photo_id":"1399558000","filename":"file2"},{"photo_id":"1399558003","filename":"file4"},{"photo_id":"1399557999","filename":"file1"},{"photo_id":"1399557996","filename":"file0"},{"photo_id":"1399558001","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399557996":["hashtag1","hashtag2"]},{"1399558005":["hashtag1","hashtag2"]},{"1399558001":["hashtag1","hashtag2"]},{"1399558000":["hashtag1","hashtag2"]},{"1399558003":["hashtag1","hashtag2"]},{"1399557999":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399557996, 1399558005, 1399558001, 1399558000, 1399558003, 1399557999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.21323585510254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:36:32.686135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 22:36:42.610527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/46/image_05112025_16_46_17_3642.jpg', '/home/pi/Desktop/images/05112025/16/46/image_05112025_16_46_19_2649.jpg', '/home/pi/Desktop/images/05112025/16/46/image_05112025_16_46_22_2770.jpg', '/home/pi/Desktop/images/05112025/16/46/image_05112025_16_46_25_2676.jpg', '/home/pi/Desktop/images/05112025/16/46/image_05112025_16_46_29_3684.jpg', '/home/pi/Desktop/images/05112025/16/46/image_05112025_16_46_31_2745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/46/image_05112025_16_46_17_3642.jpg
/home/pi/Desktop/images/05112025/16/46/image_05112025_16_46_19_2649.jpg
/home/pi/Desktop/images/05112025/16/46/image_05112025_16_46_22_2770.jpg
/home/pi/Desktop/images/05112025/16/46/image_05112025_16_46_25_2676.jpg
/home/pi/Desktop/images/05112025/16/46/image_05112025_16_46_29_3684.jpg
/home/pi/Desktop/images/05112025/16/46/image_05112025_16_46_31_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":["1399558023","1399558020","1399558028","1399558016","1399558019","1399558018"],"photo_ids_order":["1399558016","1399558018","1399558019","1399558020","1399558023","1399558028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/55b3ab81e3841cdb8034ac251829b4d3.jpg","text":"TemporaryFile(/tmp/multipartBody3449338314884890552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834663290,"filename":"image_05112025_16_46_29_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d61ad6acdfd0cbd7aa667df650c44d73.jpg","text":"TemporaryFile(/tmp/multipartBody8800723874981931801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834663290,"filename":"image_05112025_16_46_25_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/15/a88446fcc1f1cf5546178e542795d653.jpg","text":"TemporaryFile(/tmp/multipartBody2611874896490762912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834663290,"filename":"image_05112025_16_46_31_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/155118c0b4d83198560dc2cc1ba2c8e0.jpg","text":"TemporaryFile(/tmp/multipartBody307849233886974600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834663290,"filename":"image_05112025_16_46_17_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0b9ec6cdc3b315accc9c74de74681588.jpg","text":"TemporaryFile(/tmp/multipartBody4490037677488897684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834663290,"filename":"image_05112025_16_46_22_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/56d008ff0e8424957c8071bb520a9eab.jpg","text":"TemporaryFile(/tmp/multipartBody8263535936708641228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834663290,"filename":"image_05112025_16_46_19_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399558019","file1":"1399558018","file0":"1399558016","file4":"1399558023","file5":"1399558028","file3":"1399558020"},"map_files_photo_id_array":[{"photo_id":"1399558028","filename":"file5"},{"photo_id":"1399558019","filename":"file2"},{"photo_id":"1399558023","filename":"file4"},{"photo_id":"1399558018","filename":"file1"},{"photo_id":"1399558016","filename":"file0"},{"photo_id":"1399558020","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399558023":["hashtag1","hashtag2"]},{"1399558020":["hashtag1","hashtag2"]},{"1399558028":["hashtag1","hashtag2"]},{"1399558016":["hashtag1","hashtag2"]},{"1399558019":["hashtag1","hashtag2"]},{"1399558018":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399558023, 1399558020, 1399558028, 1399558016, 1399558019, 1399558018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35023617744446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:37:21.857601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/35/image_15122025_22_35_34_9769.jpg', '/home/pi/Desktop/images/15122025/22/36/image_15122025_22_36_14_9756.jpg', '/home/pi/Desktop/images/15122025/22/36/image_15122025_22_36_24_9644.jpg', '/home/pi/Desktop/images/15122025/22/36/image_15122025_22_36_35_10664.jpg', '/home/pi/Desktop/images/15122025/22/36/image_15122025_22_36_45_9914.jpg', '/home/pi/Desktop/images/15122025/22/36/image_15122025_22_36_54_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/35/image_15122025_22_35_34_9769.jpg
/home/pi/Desktop/images/15122025/22/36/image_15122025_22_36_14_9756.jpg
/home/pi/Desktop/images/15122025/22/36/image_15122025_22_36_24_9644.jpg
/home/pi/Desktop/images/15122025/22/36/image_15122025_22_36_35_10664.jpg
/home/pi/Desktop/images/15122025/22/36/image_15122025_22_36_45_9914.jpg
/home/pi/Desktop/images/15122025/22/36/image_15122025_22_36_54_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":["1399558044","1399558082","1399558154","1399558040","1399558120","1399558194"],"photo_ids_order":["1399558040","1399558044","1399558082","1399558120","1399558154","1399558194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0e99aec45c47251255eaa3ad66378226.jpg","text":"TemporaryFile(/tmp/multipartBody5758238682182902425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834702516,"filename":"image_15122025_22_36_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/15/16023581bcb092ab661fc2fefe7f2f54.jpg","text":"TemporaryFile(/tmp/multipartBody5180101319968576471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834702516,"filename":"image_15122025_22_36_24_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/aa386f1d42fc1ef1fc0c7b7538ffb7e6.jpg","text":"TemporaryFile(/tmp/multipartBody3567274035937891381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834702516,"filename":"image_15122025_22_36_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/15/e8ce0bf18c44adfe06c53efbadd0530f.jpg","text":"TemporaryFile(/tmp/multipartBody1318562140526248823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834702516,"filename":"image_15122025_22_35_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/15/0570d7ae6a735e1e6c8272f542fcee33.jpg","text":"TemporaryFile(/tmp/multipartBody8908840178417611964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834702516,"filename":"image_15122025_22_36_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/15/9b71f11e47182545e625837070e62ed6.jpg","text":"TemporaryFile(/tmp/multipartBody7328194197947968875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834702516,"filename":"image_15122025_22_36_54_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399558082","file1":"1399558044","file0":"1399558040","file4":"1399558154","file5":"1399558194","file3":"1399558120"},"map_files_photo_id_array":[{"photo_id":"1399558194","filename":"file5"},{"photo_id":"1399558082","filename":"file2"},{"photo_id":"1399558154","filename":"file4"},{"photo_id":"1399558044","filename":"file1"},{"photo_id":"1399558040","filename":"file0"},{"photo_id":"1399558120","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399558044":["hashtag1","hashtag2"]},{"1399558082":["hashtag1","hashtag2"]},{"1399558154":["hashtag1","hashtag2"]},{"1399558040":["hashtag1","hashtag2"]},{"1399558120":["hashtag1","hashtag2"]},{"1399558194":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399558044, 1399558082, 1399558154, 1399558040, 1399558120, 1399558194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44406747817993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:38:02.580204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/37/image_15122025_22_37_24_9679.jpg', '/home/pi/Desktop/images/15122025/22/37/image_15122025_22_37_34_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/37/image_15122025_22_37_24_9679.jpg
/home/pi/Desktop/images/15122025/22/37/image_15122025_22_37_34_9654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399558367","1399558334"],"photo_ids_order":["1399558334","1399558367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/57eb6c588e54841925bc05305bed810d.jpg","text":"TemporaryFile(/tmp/multipartBody6935805647693240424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834743043,"filename":"image_15122025_22_37_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/15/bb1ae97521eabf04a7562995b085191d.jpg","text":"TemporaryFile(/tmp/multipartBody1744746576334973580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834743043,"filename":"image_15122025_22_37_24_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399558367","file0":"1399558334"},"map_files_photo_id_array":[{"photo_id":"1399558367","filename":"file1"},{"photo_id":"1399558334","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399558367":["hashtag1","hashtag2"]},{"1399558334":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399558367, 1399558334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.209890365600586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:38:22.181325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/37/image_15122025_22_37_45_10696.jpg', '/home/pi/Desktop/images/15122025/22/37/image_15122025_22_38_04_9658.jpg', '/home/pi/Desktop/images/15122025/22/38/image_15122025_22_38_14_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/37/image_15122025_22_37_45_10696.jpg
/home/pi/Desktop/images/15122025/22/37/image_15122025_22_38_04_9658.jpg
/home/pi/Desktop/images/15122025/22/38/image_15122025_22_38_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":["1399558577","1399558538","1399558494"],"photo_ids_order":["1399558494","1399558538","1399558577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d21c5190ec1eefc2343fa792985af6fc.jpg","text":"TemporaryFile(/tmp/multipartBody8555678068192398433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834762703,"filename":"image_15122025_22_38_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/15/7eb943b36afcccab17e6c0bdf7f6de77.jpg","text":"TemporaryFile(/tmp/multipartBody3746606361196037350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834762703,"filename":"image_15122025_22_38_04_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ab15844af8b9e6c65b4ca35f2ae8cd3e.jpg","text":"TemporaryFile(/tmp/multipartBody7812386136156587337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834762703,"filename":"image_15122025_22_37_45_10696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399558577","file1":"1399558538","file0":"1399558494"},"map_files_photo_id_array":[{"photo_id":"1399558577","filename":"file2"},{"photo_id":"1399558538","filename":"file1"},{"photo_id":"1399558494","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399558577":["hashtag1","hashtag2"]},{"1399558538":["hashtag1","hashtag2"]},{"1399558494":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399558577, 1399558538, 1399558494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.926274061203003 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:39:03.395182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:39:12.565808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:39:22.465576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/38/image_15122025_22_38_55_10721.jpg', '/home/pi/Desktop/images/15122025/22/38/image_15122025_22_39_04_9627.jpg', '/home/pi/Desktop/images/15122025/22/39/image_15122025_22_39_14_9663.jpg', '/home/pi/Desktop/images/15122025/22/39/image_15122025_22_39_25_10690.jpg', '/home/pi/Desktop/images/15122025/22/39/image_15122025_22_39_44_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/38/image_15122025_22_38_55_10721.jpg
/home/pi/Desktop/images/15122025/22/38/image_15122025_22_39_04_9627.jpg
/home/pi/Desktop/images/15122025/22/39/image_15122025_22_39_14_9663.jpg
/home/pi/Desktop/images/15122025/22/39/image_15122025_22_39_25_10690.jpg
/home/pi/Desktop/images/15122025/22/39/image_15122025_22_39_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":["1399558964","1399558967","1399558960","1399558963","1399558968"],"photo_ids_order":["1399558960","1399558963","1399558964","1399558967","1399558968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a5232dfd9c6eb9f4324c8404149690a6.jpg","text":"TemporaryFile(/tmp/multipartBody4178244408781477629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834823084,"filename":"image_15122025_22_39_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/15/f47d2cc0d939035684777e32a10f4b8c.jpg","text":"TemporaryFile(/tmp/multipartBody1176488999517883417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834823084,"filename":"image_15122025_22_39_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/15/6760ac8156951acdc6d505bf3638ad2d.jpg","text":"TemporaryFile(/tmp/multipartBody7553668735067778899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834823084,"filename":"image_15122025_22_38_55_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9e297eff78ff21ca7e2d3b18af0fb028.jpg","text":"TemporaryFile(/tmp/multipartBody1978756365834552940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834823084,"filename":"image_15122025_22_39_04_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f5463697d9901ae1cbc3c84b87cf9e73.jpg","text":"TemporaryFile(/tmp/multipartBody1450925127768377007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834823084,"filename":"image_15122025_22_39_44_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399558964","file1":"1399558963","file0":"1399558960","file4":"1399558968","file3":"1399558967"},"map_files_photo_id_array":[{"photo_id":"1399558964","filename":"file2"},{"photo_id":"1399558968","filename":"file4"},{"photo_id":"1399558963","filename":"file1"},{"photo_id":"1399558960","filename":"file0"},{"photo_id":"1399558967","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399558964":["hashtag1","hashtag2"]},{"1399558967":["hashtag1","hashtag2"]},{"1399558960":["hashtag1","hashtag2"]},{"1399558963":["hashtag1","hashtag2"]},{"1399558968":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399558964, 1399558967, 1399558960, 1399558963, 1399558968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.898475646972656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:40:03.164650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:40:12.727439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:40:22.854832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/39/image_15122025_22_39_54_9746.jpg', '/home/pi/Desktop/images/15122025/22/40/image_15122025_22_40_15_10049.jpg', '/home/pi/Desktop/images/15122025/22/40/image_15122025_22_40_35_9773.jpg', '/home/pi/Desktop/images/15122025/22/40/image_15122025_22_40_45_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/39/image_15122025_22_39_54_9746.jpg
/home/pi/Desktop/images/15122025/22/40/image_15122025_22_40_15_10049.jpg
/home/pi/Desktop/images/15122025/22/40/image_15122025_22_40_35_9773.jpg
/home/pi/Desktop/images/15122025/22/40/image_15122025_22_40_45_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":["1399559092","1399559134","1399559056","1399559019"],"photo_ids_order":["1399559019","1399559056","1399559092","1399559134"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4c0c99ff5ecd4b64165f0cd7cd685f30.jpg","text":"TemporaryFile(/tmp/multipartBody403770263059214643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834883419,"filename":"image_15122025_22_40_35_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9665c503e6855003c893cb96f18f3ee3.jpg","text":"TemporaryFile(/tmp/multipartBody5436282908454016172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834883419,"filename":"image_15122025_22_40_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/15/3c4a760bd4417d41131b84225330c03c.jpg","text":"TemporaryFile(/tmp/multipartBody6512833913208215947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834883419,"filename":"image_15122025_22_40_15_10049.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/057ebf369e7dd6e4da649de537cf61a7.jpg","text":"TemporaryFile(/tmp/multipartBody8365637819623656941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834883419,"filename":"image_15122025_22_39_54_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399559092","file1":"1399559056","file0":"1399559019","file3":"1399559134"},"map_files_photo_id_array":[{"photo_id":"1399559092","filename":"file2"},{"photo_id":"1399559056","filename":"file1"},{"photo_id":"1399559019","filename":"file0"},{"photo_id":"1399559134","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399559092":["hashtag1","hashtag2"]},{"1399559134":["hashtag1","hashtag2"]},{"1399559056":["hashtag1","hashtag2"]},{"1399559019":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399559092, 1399559134, 1399559056, 1399559019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.413371086120605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:41:02.673045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:41:11.997636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:41:22.173883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/40/image_15122025_22_40_56_10765.jpg', '/home/pi/Desktop/images/15122025/22/40/image_15122025_22_41_05_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/40/image_15122025_22_40_56_10765.jpg
/home/pi/Desktop/images/15122025/22/40/image_15122025_22_41_05_9788.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399559377","1399559376"],"photo_ids_order":["1399559376","1399559377"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7336f5254e0ec1957dfff147fa6d2bb6.jpg","text":"TemporaryFile(/tmp/multipartBody2774549531635973191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834942649,"filename":"image_15122025_22_41_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/15/9461ab2727612e2ddac62d4c44ae44e8.jpg","text":"TemporaryFile(/tmp/multipartBody9090531992091361731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834942649,"filename":"image_15122025_22_40_56_10765.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399559377","file0":"1399559376"},"map_files_photo_id_array":[{"photo_id":"1399559377","filename":"file1"},{"photo_id":"1399559376","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399559377":["hashtag1","hashtag2"]},{"1399559376":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399559377, 1399559376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.179651021957397 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 22:41:41.913013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/46/image_05112025_16_46_34_2545.jpg', '/home/pi/Desktop/images/05112025/16/46/image_05112025_16_46_38_3683.jpg', '/home/pi/Desktop/images/05112025/16/46/image_05112025_16_46_40_2635.jpg', '/home/pi/Desktop/images/05112025/16/46/image_05112025_16_46_45_4439.jpg', '/home/pi/Desktop/images/05112025/16/46/image_05112025_16_46_46_1682.jpg', '/home/pi/Desktop/images/05112025/16/46/image_05112025_16_46_50_4101.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/46/image_05112025_16_46_34_2545.jpg
/home/pi/Desktop/images/05112025/16/46/image_05112025_16_46_38_3683.jpg
/home/pi/Desktop/images/05112025/16/46/image_05112025_16_46_40_2635.jpg
/home/pi/Desktop/images/05112025/16/46/image_05112025_16_46_45_4439.jpg
/home/pi/Desktop/images/05112025/16/46/image_05112025_16_46_46_1682.jpg
/home/pi/Desktop/images/05112025/16/46/image_05112025_16_46_50_4101.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399559486","1399559435","1399559443","1399559446","1399559457","1399559448"],"photo_ids_order":["1399559435","1399559443","1399559446","1399559448","1399559457","1399559486"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7648fff9f6b4e25fc2dfca255f76bf93.jpg","text":"TemporaryFile(/tmp/multipartBody7702628468615905950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834962602,"filename":"image_05112025_16_46_50_4101.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fd42b52b1e8760b5cec8861654a66622.jpg","text":"TemporaryFile(/tmp/multipartBody953795347503775687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834962602,"filename":"image_05112025_16_46_34_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/15/b851822add5777162e66e0262fddb931.jpg","text":"TemporaryFile(/tmp/multipartBody3480540177134091436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834962602,"filename":"image_05112025_16_46_38_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/09abf743144b7a96cec07e4d6c44cd4c.jpg","text":"TemporaryFile(/tmp/multipartBody4809105757188799055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834962602,"filename":"image_05112025_16_46_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/15/e05e92882695a7d8b14907a120ac31ba.jpg","text":"TemporaryFile(/tmp/multipartBody7292351749335753365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834962602,"filename":"image_05112025_16_46_46_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/15/dfa774f37cdb53d3cfbce19c1e876e5a.jpg","text":"TemporaryFile(/tmp/multipartBody5587681116672921583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765834962602,"filename":"image_05112025_16_46_45_4439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399559446","file1":"1399559443","file0":"1399559435","file4":"1399559457","file5":"1399559486","file3":"1399559448"},"map_files_photo_id_array":[{"photo_id":"1399559486","filename":"file5"},{"photo_id":"1399559446","filename":"file2"},{"photo_id":"1399559457","filename":"file4"},{"photo_id":"1399559443","filename":"file1"},{"photo_id":"1399559435","filename":"file0"},{"photo_id":"1399559448","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399559486":["hashtag1","hashtag2"]},{"1399559435":["hashtag1","hashtag2"]},{"1399559443":["hashtag1","hashtag2"]},{"1399559446":["hashtag1","hashtag2"]},{"1399559457":["hashtag1","hashtag2"]},{"1399559448":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399559486, 1399559435, 1399559443, 1399559446, 1399559457, 1399559448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.980945110321045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:42:22.183609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/41/image_15122025_22_41_25_9613.jpg', '/home/pi/Desktop/images/15122025/22/41/image_15122025_22_42_05_9851.jpg', '/home/pi/Desktop/images/15122025/22/42/image_15122025_22_42_16_10830.jpg', '/home/pi/Desktop/images/15122025/22/42/image_15122025_22_42_35_9837.jpg', '/home/pi/Desktop/images/15122025/22/42/image_15122025_22_42_45_9891.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/41/image_15122025_22_41_25_9613.jpg
/home/pi/Desktop/images/15122025/22/41/image_15122025_22_42_05_9851.jpg
/home/pi/Desktop/images/15122025/22/42/image_15122025_22_42_16_10830.jpg
/home/pi/Desktop/images/15122025/22/42/image_15122025_22_42_35_9837.jpg
/home/pi/Desktop/images/15122025/22/42/image_15122025_22_42_45_9891.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399559651","1399559686","1399559624","1399559618","1399559620"],"photo_ids_order":["1399559618","1399559620","1399559624","1399559651","1399559686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/786d391ea3085f81632a0061a8e1ab07.jpg","text":"TemporaryFile(/tmp/multipartBody4381760828053543855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835002797,"filename":"image_15122025_22_42_35_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/15/4a4622c50a744a820a444a4c31dcc18b.jpg","text":"TemporaryFile(/tmp/multipartBody5748262064485091363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835002797,"filename":"image_15122025_22_42_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/15/52304bb94d17e82102ad776da2e099c8.jpg","text":"TemporaryFile(/tmp/multipartBody5864657398856158263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835002797,"filename":"image_15122025_22_42_16_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/15/20dfe37017c674dff96746e978e3ace2.jpg","text":"TemporaryFile(/tmp/multipartBody5620328712402993573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835002797,"filename":"image_15122025_22_41_25_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9d53e676d212467689bb06cccb209263.jpg","text":"TemporaryFile(/tmp/multipartBody2070583514241862855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835002797,"filename":"image_15122025_22_42_05_9851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399559624","file1":"1399559620","file0":"1399559618","file4":"1399559686","file3":"1399559651"},"map_files_photo_id_array":[{"photo_id":"1399559624","filename":"file2"},{"photo_id":"1399559686","filename":"file4"},{"photo_id":"1399559620","filename":"file1"},{"photo_id":"1399559618","filename":"file0"},{"photo_id":"1399559651","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399559651":["hashtag1","hashtag2"]},{"1399559686":["hashtag1","hashtag2"]},{"1399559624":["hashtag1","hashtag2"]},{"1399559618":["hashtag1","hashtag2"]},{"1399559620":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399559651, 1399559686, 1399559624, 1399559618, 1399559620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.079636335372925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:43:03.125791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:43:12.371151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:43:22.525775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/42/image_15122025_22_42_55_9675.jpg', '/home/pi/Desktop/images/15122025/22/42/image_15122025_22_43_05_9930.jpg', '/home/pi/Desktop/images/15122025/22/43/image_15122025_22_43_35_9747.jpg', '/home/pi/Desktop/images/15122025/22/43/image_15122025_22_43_45_9962.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/42/image_15122025_22_42_55_9675.jpg
/home/pi/Desktop/images/15122025/22/42/image_15122025_22_43_05_9930.jpg
/home/pi/Desktop/images/15122025/22/43/image_15122025_22_43_35_9747.jpg
/home/pi/Desktop/images/15122025/22/43/image_15122025_22_43_45_9962.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399559771","1399559765","1399559768","1399559773"],"photo_ids_order":["1399559765","1399559768","1399559771","1399559773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dce5be51c9624fd94a1d23655b0d6234.jpg","text":"TemporaryFile(/tmp/multipartBody2941178661001427296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835063095,"filename":"image_15122025_22_43_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/15/8bfbb23bc927a8e36c55124c333e73e4.jpg","text":"TemporaryFile(/tmp/multipartBody6823125176252555036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835063095,"filename":"image_15122025_22_42_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/15/a0647f298e1a53fea05d06f25daf5f9a.jpg","text":"TemporaryFile(/tmp/multipartBody6566406722439064869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835063095,"filename":"image_15122025_22_43_05_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/15/b5823b18c3dba6e38cfc9387d653137c.jpg","text":"TemporaryFile(/tmp/multipartBody6909138696317993923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835063095,"filename":"image_15122025_22_43_45_9962.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399559771","file1":"1399559768","file0":"1399559765","file3":"1399559773"},"map_files_photo_id_array":[{"photo_id":"1399559771","filename":"file2"},{"photo_id":"1399559768","filename":"file1"},{"photo_id":"1399559765","filename":"file0"},{"photo_id":"1399559773","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399559771":["hashtag1","hashtag2"]},{"1399559765":["hashtag1","hashtag2"]},{"1399559768":["hashtag1","hashtag2"]},{"1399559773":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399559771, 1399559765, 1399559768, 1399559773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.881664037704468 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:44:03.326090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:44:12.684929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:44:22.727297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/43/image_15122025_22_43_55_10699.jpg', '/home/pi/Desktop/images/15122025/22/43/image_15122025_22_44_05_9906.jpg', '/home/pi/Desktop/images/15122025/22/44/image_15122025_22_44_15_9768.jpg', '/home/pi/Desktop/images/15122025/22/44/image_15122025_22_44_25_9812.jpg', '/home/pi/Desktop/images/15122025/22/44/image_15122025_22_44_35_9862.jpg', '/home/pi/Desktop/images/15122025/22/44/image_15122025_22_44_45_10714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/43/image_15122025_22_43_55_10699.jpg
/home/pi/Desktop/images/15122025/22/43/image_15122025_22_44_05_9906.jpg
/home/pi/Desktop/images/15122025/22/44/image_15122025_22_44_15_9768.jpg
/home/pi/Desktop/images/15122025/22/44/image_15122025_22_44_25_9812.jpg
/home/pi/Desktop/images/15122025/22/44/image_15122025_22_44_35_9862.jpg
/home/pi/Desktop/images/15122025/22/44/image_15122025_22_44_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":["1399559783","1399559785","1399559779","1399559800","1399559808","1399559789"],"photo_ids_order":["1399559779","1399559783","1399559785","1399559789","1399559800","1399559808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0a9074fd09cb720712502c7ad91657d8.jpg","text":"TemporaryFile(/tmp/multipartBody4964052899617895718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835123392,"filename":"image_15122025_22_44_05_9906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f44edfcdccfbc1ea4691b3feabc7e1fb.jpg","text":"TemporaryFile(/tmp/multipartBody3427751254916229743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835123392,"filename":"image_15122025_22_44_15_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8ac1049d3a1916c804d3421e81863047.jpg","text":"TemporaryFile(/tmp/multipartBody2963166807559229468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835123392,"filename":"image_15122025_22_43_55_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b104e750a09af1af86d9daee0886e6d5.jpg","text":"TemporaryFile(/tmp/multipartBody3605576695674633387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835123392,"filename":"image_15122025_22_44_35_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/15/8ee8b8cc32850d0863a80fb4270523c4.jpg","text":"TemporaryFile(/tmp/multipartBody1490553836933878386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835123392,"filename":"image_15122025_22_44_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/15/134e9268132b937600b2d6eb0c0172cc.jpg","text":"TemporaryFile(/tmp/multipartBody3457946351679832598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835123392,"filename":"image_15122025_22_44_25_9812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399559785","file1":"1399559783","file0":"1399559779","file4":"1399559800","file5":"1399559808","file3":"1399559789"},"map_files_photo_id_array":[{"photo_id":"1399559808","filename":"file5"},{"photo_id":"1399559785","filename":"file2"},{"photo_id":"1399559800","filename":"file4"},{"photo_id":"1399559783","filename":"file1"},{"photo_id":"1399559779","filename":"file0"},{"photo_id":"1399559789","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399559783":["hashtag1","hashtag2"]},{"1399559785":["hashtag1","hashtag2"]},{"1399559779":["hashtag1","hashtag2"]},{"1399559800":["hashtag1","hashtag2"]},{"1399559808":["hashtag1","hashtag2"]},{"1399559789":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399559783, 1399559785, 1399559779, 1399559800, 1399559808, 1399559789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.68936061859131 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-15 22:45:11.997652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:45:21.985842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/44/image_15122025_22_44_55_9757.jpg', '/home/pi/Desktop/images/15122025/22/45/image_15122025_22_45_14_10051.jpg', '/home/pi/Desktop/images/15122025/22/45/image_15122025_22_45_25_10718.jpg', '/home/pi/Desktop/images/15122025/22/45/image_15122025_22_45_45_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/44/image_15122025_22_44_55_9757.jpg
/home/pi/Desktop/images/15122025/22/45/image_15122025_22_45_14_10051.jpg
/home/pi/Desktop/images/15122025/22/45/image_15122025_22_45_25_10718.jpg
/home/pi/Desktop/images/15122025/22/45/image_15122025_22_45_45_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":["1399559822","1399559824","1399559826","1399559820"],"photo_ids_order":["1399559820","1399559822","1399559824","1399559826"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a8ea5996dffe68fdb7bcfccd8695d499.jpg","text":"TemporaryFile(/tmp/multipartBody6302623445351932683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835182582,"filename":"image_15122025_22_45_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/15/74c6b57005bcd828a47eeed6df1c59c7.jpg","text":"TemporaryFile(/tmp/multipartBody1987239524247101682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835182582,"filename":"image_15122025_22_45_25_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/92d7abab321342911877037f3058ad56.jpg","text":"TemporaryFile(/tmp/multipartBody1099265657494797512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835182582,"filename":"image_15122025_22_45_45_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cfb57749ac0789f437ba8cd40681b853.jpg","text":"TemporaryFile(/tmp/multipartBody7596325578442243014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835182582,"filename":"image_15122025_22_44_55_9757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399559824","file1":"1399559822","file0":"1399559820","file3":"1399559826"},"map_files_photo_id_array":[{"photo_id":"1399559824","filename":"file2"},{"photo_id":"1399559822","filename":"file1"},{"photo_id":"1399559820","filename":"file0"},{"photo_id":"1399559826","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399559822":["hashtag1","hashtag2"]},{"1399559824":["hashtag1","hashtag2"]},{"1399559826":["hashtag1","hashtag2"]},{"1399559820":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399559822, 1399559824, 1399559826, 1399559820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.828519582748413 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:46:02.608951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:46:12.062436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:46:22.183676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/45/image_15122025_22_45_54_9778.jpg', '/home/pi/Desktop/images/15122025/22/46/image_15122025_22_46_15_9601.jpg', '/home/pi/Desktop/images/15122025/22/46/image_15122025_22_46_25_10674.jpg', '/home/pi/Desktop/images/15122025/22/46/image_15122025_22_46_35_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/45/image_15122025_22_45_54_9778.jpg
/home/pi/Desktop/images/15122025/22/46/image_15122025_22_46_15_9601.jpg
/home/pi/Desktop/images/15122025/22/46/image_15122025_22_46_25_10674.jpg
/home/pi/Desktop/images/15122025/22/46/image_15122025_22_46_35_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":["1399560105","1399560174","1399560138","1399560066"],"photo_ids_order":["1399560066","1399560105","1399560138","1399560174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/397e150b1bcafd02a98781c53c05384c.jpg","text":"TemporaryFile(/tmp/multipartBody3373834832746875196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835242757,"filename":"image_15122025_22_46_15_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0c85139392e285b06615da093d30b3ec.jpg","text":"TemporaryFile(/tmp/multipartBody7233501285890346629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835242757,"filename":"image_15122025_22_46_35_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ddcb1786b1546bb97d3bf2e316ec8e29.jpg","text":"TemporaryFile(/tmp/multipartBody1066797692837067620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835242757,"filename":"image_15122025_22_46_25_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f7d12d497bf42c278c4499a59f304006.jpg","text":"TemporaryFile(/tmp/multipartBody6332359885552420680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835242757,"filename":"image_15122025_22_45_54_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399560138","file1":"1399560105","file0":"1399560066","file3":"1399560174"},"map_files_photo_id_array":[{"photo_id":"1399560138","filename":"file2"},{"photo_id":"1399560105","filename":"file1"},{"photo_id":"1399560066","filename":"file0"},{"photo_id":"1399560174","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399560105":["hashtag1","hashtag2"]},{"1399560174":["hashtag1","hashtag2"]},{"1399560138":["hashtag1","hashtag2"]},{"1399560066":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399560105, 1399560174, 1399560138, 1399560066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.20586061477661 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:47:03.037861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:47:12.362764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:47:22.329274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/46/image_15122025_22_46_55_9862.jpg', '/home/pi/Desktop/images/15122025/22/47/image_15122025_22_47_25_10642.jpg', '/home/pi/Desktop/images/15122025/22/47/image_15122025_22_47_35_9647.jpg', '/home/pi/Desktop/images/15122025/22/47/image_15122025_22_47_45_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/46/image_15122025_22_46_55_9862.jpg
/home/pi/Desktop/images/15122025/22/47/image_15122025_22_47_25_10642.jpg
/home/pi/Desktop/images/15122025/22/47/image_15122025_22_47_35_9647.jpg
/home/pi/Desktop/images/15122025/22/47/image_15122025_22_47_45_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":["1399560618","1399560640","1399560583","1399560547"],"photo_ids_order":["1399560547","1399560583","1399560618","1399560640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ce9f325dba8244aab5de6f9bc012578c.jpg","text":"TemporaryFile(/tmp/multipartBody9213578327989204541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835302902,"filename":"image_15122025_22_47_35_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/349d45d3df23c5a662e21f26fe88f3af.jpg","text":"TemporaryFile(/tmp/multipartBody4569608621430720912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835302902,"filename":"image_15122025_22_47_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/15/13b06cf3b722efd433ce09f160653158.jpg","text":"TemporaryFile(/tmp/multipartBody3538565377421989306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835302902,"filename":"image_15122025_22_47_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/15/b219a14c66fc3558e7b8888ac2dbcc03.jpg","text":"TemporaryFile(/tmp/multipartBody7466042626433463918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835302902,"filename":"image_15122025_22_46_55_9862.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399560618","file1":"1399560583","file0":"1399560547","file3":"1399560640"},"map_files_photo_id_array":[{"photo_id":"1399560618","filename":"file2"},{"photo_id":"1399560583","filename":"file1"},{"photo_id":"1399560547","filename":"file0"},{"photo_id":"1399560640","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399560618":["hashtag1","hashtag2"]},{"1399560640":["hashtag1","hashtag2"]},{"1399560583":["hashtag1","hashtag2"]},{"1399560547":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399560618, 1399560640, 1399560583, 1399560547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.91985774040222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:48:03.027288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:48:12.535897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:48:22.622613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/47/image_15122025_22_47_55_10682.jpg', '/home/pi/Desktop/images/15122025/22/47/image_15122025_22_48_05_9858.jpg', '/home/pi/Desktop/images/15122025/22/48/image_15122025_22_48_15_9884.jpg', '/home/pi/Desktop/images/15122025/22/48/image_15122025_22_48_25_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/47/image_15122025_22_47_55_10682.jpg
/home/pi/Desktop/images/15122025/22/47/image_15122025_22_48_05_9858.jpg
/home/pi/Desktop/images/15122025/22/48/image_15122025_22_48_15_9884.jpg
/home/pi/Desktop/images/15122025/22/48/image_15122025_22_48_25_9786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399560722","1399560667","1399560682","1399560763"],"photo_ids_order":["1399560667","1399560682","1399560722","1399560763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e6fd9d6ed6b41d9af4e317f759ab1627.jpg","text":"TemporaryFile(/tmp/multipartBody6192003204191092306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835363209,"filename":"image_15122025_22_48_15_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/15/b453a08b6578618313cc175ec07f44ef.jpg","text":"TemporaryFile(/tmp/multipartBody2337957231843447219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835363209,"filename":"image_15122025_22_47_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/15/b90e902d592df0c6532a12608ccfda59.jpg","text":"TemporaryFile(/tmp/multipartBody3035677866058035814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835363209,"filename":"image_15122025_22_48_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/15/b0eea452e1f559a79a61798177b94c42.jpg","text":"TemporaryFile(/tmp/multipartBody3750434350258758522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835363209,"filename":"image_15122025_22_48_25_9786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399560722","file1":"1399560682","file0":"1399560667","file3":"1399560763"},"map_files_photo_id_array":[{"photo_id":"1399560722","filename":"file2"},{"photo_id":"1399560682","filename":"file1"},{"photo_id":"1399560667","filename":"file0"},{"photo_id":"1399560763","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399560722":["hashtag1","hashtag2"]},{"1399560667":["hashtag1","hashtag2"]},{"1399560682":["hashtag1","hashtag2"]},{"1399560763":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399560722, 1399560667, 1399560682, 1399560763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.165712594985962 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:49:03.619585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:49:12.761593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:49:22.862704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/48/image_15122025_22_48_45_9942.jpg', '/home/pi/Desktop/images/15122025/22/48/image_15122025_22_49_05_9872.jpg', '/home/pi/Desktop/images/15122025/22/49/image_15122025_22_49_15_9744.jpg', '/home/pi/Desktop/images/15122025/22/49/image_15122025_22_49_24_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/48/image_15122025_22_48_45_9942.jpg
/home/pi/Desktop/images/15122025/22/48/image_15122025_22_49_05_9872.jpg
/home/pi/Desktop/images/15122025/22/49/image_15122025_22_49_15_9744.jpg
/home/pi/Desktop/images/15122025/22/49/image_15122025_22_49_24_9679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399561232","1399561285","1399561152","1399561107"],"photo_ids_order":["1399561107","1399561152","1399561232","1399561285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1dd94f16e86d0125bf50c0cd711ef26f.jpg","text":"TemporaryFile(/tmp/multipartBody8229141041394880114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835423466,"filename":"image_15122025_22_49_15_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/27a06943809dcfa0652345b5e3d0bcf6.jpg","text":"TemporaryFile(/tmp/multipartBody970058906899319387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835423466,"filename":"image_15122025_22_49_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/15/4a328719686dffbf8bd744ef54a49ddd.jpg","text":"TemporaryFile(/tmp/multipartBody1432700198941351319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835423466,"filename":"image_15122025_22_49_05_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/15/bc610b6056737b48e5cc8a7b2403ed3f.jpg","text":"TemporaryFile(/tmp/multipartBody8074920370102881498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835423466,"filename":"image_15122025_22_48_45_9942.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399561232","file1":"1399561152","file0":"1399561107","file3":"1399561285"},"map_files_photo_id_array":[{"photo_id":"1399561232","filename":"file2"},{"photo_id":"1399561152","filename":"file1"},{"photo_id":"1399561107","filename":"file0"},{"photo_id":"1399561285","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399561232":["hashtag1","hashtag2"]},{"1399561285":["hashtag1","hashtag2"]},{"1399561152":["hashtag1","hashtag2"]},{"1399561107":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399561232, 1399561285, 1399561152, 1399561107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.265801429748535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:50:02.535237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:50:11.964858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:50:22.018194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/49/image_15122025_22_49_45_10051.jpg', '/home/pi/Desktop/images/15122025/22/50/image_15122025_22_50_26_10779.jpg', '/home/pi/Desktop/images/15122025/22/50/image_15122025_22_50_36_9870.jpg', '/home/pi/Desktop/images/15122025/22/50/image_15122025_22_50_45_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/49/image_15122025_22_49_45_10051.jpg
/home/pi/Desktop/images/15122025/22/50/image_15122025_22_50_26_10779.jpg
/home/pi/Desktop/images/15122025/22/50/image_15122025_22_50_36_9870.jpg
/home/pi/Desktop/images/15122025/22/50/image_15122025_22_50_45_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399561682","1399561646","1399561720","1399561755"],"photo_ids_order":["1399561646","1399561682","1399561720","1399561755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8622c7145e97a8a25432171e0378036e.jpg","text":"TemporaryFile(/tmp/multipartBody2582601799541814685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835482590,"filename":"image_15122025_22_50_26_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/15/7398fe67aed244850e157686f96b8907.jpg","text":"TemporaryFile(/tmp/multipartBody4835020302380967696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835482590,"filename":"image_15122025_22_49_45_10051.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f9d9155391dccc012f64d07678099070.jpg","text":"TemporaryFile(/tmp/multipartBody1477922048604902039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835482590,"filename":"image_15122025_22_50_36_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/15/51cb1b994bf30aaf2f33d7b8640ab038.jpg","text":"TemporaryFile(/tmp/multipartBody773086666497957540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835482590,"filename":"image_15122025_22_50_45_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399561720","file1":"1399561682","file0":"1399561646","file3":"1399561755"},"map_files_photo_id_array":[{"photo_id":"1399561720","filename":"file2"},{"photo_id":"1399561682","filename":"file1"},{"photo_id":"1399561646","filename":"file0"},{"photo_id":"1399561755","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399561682":["hashtag1","hashtag2"]},{"1399561646":["hashtag1","hashtag2"]},{"1399561720":["hashtag1","hashtag2"]},{"1399561755":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399561682, 1399561646, 1399561720, 1399561755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.556949377059937 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:51:02.772633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:51:12.169624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:51:22.192447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/50/image_15122025_22_50_55_9815.jpg', '/home/pi/Desktop/images/15122025/22/50/image_15122025_22_51_06_10798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/50/image_15122025_22_50_55_9815.jpg
/home/pi/Desktop/images/15122025/22/50/image_15122025_22_51_06_10798.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399561930","1399561933"],"photo_ids_order":["1399561930","1399561933"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ce8531f0d51fbb43d414a4b2733e2872.jpg","text":"TemporaryFile(/tmp/multipartBody5627813034399338639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835542705,"filename":"image_15122025_22_50_55_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/06f0d41cf7cde09418d548b517458329.jpg","text":"TemporaryFile(/tmp/multipartBody1276020322027029431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835542705,"filename":"image_15122025_22_51_06_10798.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399561933","file0":"1399561930"},"map_files_photo_id_array":[{"photo_id":"1399561933","filename":"file1"},{"photo_id":"1399561930","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399561930":["hashtag1","hashtag2"]},{"1399561933":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399561930, 1399561933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.855764389038086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 22:51:42.281089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/46/image_05112025_16_46_52_1718.jpg', '/home/pi/Desktop/images/05112025/16/47/image_05112025_16_47_11_18714.jpg', '/home/pi/Desktop/images/05112025/16/47/image_05112025_16_47_40_29190.jpg', '/home/pi/Desktop/images/05112025/16/47/image_05112025_16_47_42_1558.jpg', '/home/pi/Desktop/images/05112025/16/47/image_05112025_16_47_43_1624.jpg', '/home/pi/Desktop/images/05112025/16/47/image_05112025_16_47_45_1634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/46/image_05112025_16_46_52_1718.jpg
/home/pi/Desktop/images/05112025/16/47/image_05112025_16_47_11_18714.jpg
/home/pi/Desktop/images/05112025/16/47/image_05112025_16_47_40_29190.jpg
/home/pi/Desktop/images/05112025/16/47/image_05112025_16_47_42_1558.jpg
/home/pi/Desktop/images/05112025/16/47/image_05112025_16_47_43_1624.jpg
/home/pi/Desktop/images/05112025/16/47/image_05112025_16_47_45_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":["1399562003","1399561940","1399561937","1399561960","1399562082","1399562043"],"photo_ids_order":["1399561937","1399561940","1399561960","1399562003","1399562043","1399562082"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a7f0055752840425962f5c3122b21ba0.jpg","text":"TemporaryFile(/tmp/multipartBody8491138886687156653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835563000,"filename":"image_05112025_16_47_42_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/15/046143b2185811ef08afc43f4a770bd7.jpg","text":"TemporaryFile(/tmp/multipartBody8279400171711248471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835563000,"filename":"image_05112025_16_47_11_18714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5879f598a18a972aca765439408471cc.jpg","text":"TemporaryFile(/tmp/multipartBody4130426114947542914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835563000,"filename":"image_05112025_16_46_52_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/15/2a314b30a5f0886677ae32f42601fe9b.jpg","text":"TemporaryFile(/tmp/multipartBody3012227543491917348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835563000,"filename":"image_05112025_16_47_40_29190.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e48587d05a1c1105b87b021fb06e801e.jpg","text":"TemporaryFile(/tmp/multipartBody4472958824120359342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835563000,"filename":"image_05112025_16_47_45_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c70871fd1831f85e4c095050a24f215b.jpg","text":"TemporaryFile(/tmp/multipartBody3809909895816306146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835563000,"filename":"image_05112025_16_47_43_1624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399561960","file1":"1399561940","file0":"1399561937","file4":"1399562043","file5":"1399562082","file3":"1399562003"},"map_files_photo_id_array":[{"photo_id":"1399562082","filename":"file5"},{"photo_id":"1399561960","filename":"file2"},{"photo_id":"1399562043","filename":"file4"},{"photo_id":"1399561940","filename":"file1"},{"photo_id":"1399561937","filename":"file0"},{"photo_id":"1399562003","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399562003":["hashtag1","hashtag2"]},{"1399561940":["hashtag1","hashtag2"]},{"1399561937":["hashtag1","hashtag2"]},{"1399561960":["hashtag1","hashtag2"]},{"1399562082":["hashtag1","hashtag2"]},{"1399562043":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399562003, 1399561940, 1399561937, 1399561960, 1399562082, 1399562043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15095376968384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:52:22.572966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/51/image_15122025_22_51_55_9663.jpg', '/home/pi/Desktop/images/15122025/22/51/image_15122025_22_52_05_9661.jpg', '/home/pi/Desktop/images/15122025/22/52/image_15122025_22_52_16_10605.jpg', '/home/pi/Desktop/images/15122025/22/52/image_15122025_22_52_25_9746.jpg', '/home/pi/Desktop/images/15122025/22/52/image_15122025_22_52_45_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/51/image_15122025_22_51_55_9663.jpg
/home/pi/Desktop/images/15122025/22/51/image_15122025_22_52_05_9661.jpg
/home/pi/Desktop/images/15122025/22/52/image_15122025_22_52_16_10605.jpg
/home/pi/Desktop/images/15122025/22/52/image_15122025_22_52_25_9746.jpg
/home/pi/Desktop/images/15122025/22/52/image_15122025_22_52_45_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.5105395317077637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:52:32.588166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 22:52:42.504092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/47/image_05112025_16_47_46_1604.jpg', '/home/pi/Desktop/images/05112025/16/47/image_05112025_16_47_48_1795.jpg', '/home/pi/Desktop/images/05112025/16/47/image_05112025_16_47_50_1629.jpg', '/home/pi/Desktop/images/05112025/16/47/image_05112025_16_47_52_1853.jpg', '/home/pi/Desktop/images/05112025/16/47/image_05112025_16_47_54_1735.jpg', '/home/pi/Desktop/images/05112025/16/47/image_05112025_16_47_55_1695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/47/image_05112025_16_47_46_1604.jpg
/home/pi/Desktop/images/05112025/16/47/image_05112025_16_47_48_1795.jpg
/home/pi/Desktop/images/05112025/16/47/image_05112025_16_47_50_1629.jpg
/home/pi/Desktop/images/05112025/16/47/image_05112025_16_47_52_1853.jpg
/home/pi/Desktop/images/05112025/16/47/image_05112025_16_47_54_1735.jpg
/home/pi/Desktop/images/05112025/16/47/image_05112025_16_47_55_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":["1399562335","1399562338","1399562305","1399562337","1399562265","1399562369"],"photo_ids_order":["1399562265","1399562305","1399562335","1399562337","1399562338","1399562369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/702aea605aa02d20cd7067e43d971d33.jpg","text":"TemporaryFile(/tmp/multipartBody8624032110875577134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835623195,"filename":"image_05112025_16_47_50_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cf6c542f82b60119f427fe222b0707fa.jpg","text":"TemporaryFile(/tmp/multipartBody6047113891582088290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835623195,"filename":"image_05112025_16_47_54_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/15/3e60fde11191eed578c66c5a9faed676.jpg","text":"TemporaryFile(/tmp/multipartBody8014767933154443943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835623195,"filename":"image_05112025_16_47_48_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/15/501fea5edaedf462c4dabae7752ba11e.jpg","text":"TemporaryFile(/tmp/multipartBody39149646111582326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835623195,"filename":"image_05112025_16_47_52_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/15/9f42aa21eaafa24f2f179665b1c6981d.jpg","text":"TemporaryFile(/tmp/multipartBody4490128792606820287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835623195,"filename":"image_05112025_16_47_46_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/15/8a651e0376629a9b1a42f27a9c261d88.jpg","text":"TemporaryFile(/tmp/multipartBody3618775051755836460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835623195,"filename":"image_05112025_16_47_55_1695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399562335","file1":"1399562305","file0":"1399562265","file4":"1399562338","file5":"1399562369","file3":"1399562337"},"map_files_photo_id_array":[{"photo_id":"1399562369","filename":"file5"},{"photo_id":"1399562335","filename":"file2"},{"photo_id":"1399562338","filename":"file4"},{"photo_id":"1399562305","filename":"file1"},{"photo_id":"1399562265","filename":"file0"},{"photo_id":"1399562337","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399562335":["hashtag1","hashtag2"]},{"1399562338":["hashtag1","hashtag2"]},{"1399562305":["hashtag1","hashtag2"]},{"1399562337":["hashtag1","hashtag2"]},{"1399562265":["hashtag1","hashtag2"]},{"1399562369":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399562335, 1399562338, 1399562305, 1399562337, 1399562265, 1399562369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.955565214157104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:53:22.789789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/51/image_15122025_22_51_55_9663.jpg', '/home/pi/Desktop/images/15122025/22/51/image_15122025_22_52_05_9661.jpg', '/home/pi/Desktop/images/15122025/22/52/image_15122025_22_52_16_10605.jpg', '/home/pi/Desktop/images/15122025/22/52/image_15122025_22_52_25_9746.jpg', '/home/pi/Desktop/images/15122025/22/52/image_15122025_22_52_45_9718.jpg', '/home/pi/Desktop/images/15122025/22/52/image_15122025_22_52_56_10882.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/51/image_15122025_22_51_55_9663.jpg
/home/pi/Desktop/images/15122025/22/51/image_15122025_22_52_05_9661.jpg
/home/pi/Desktop/images/15122025/22/52/image_15122025_22_52_16_10605.jpg
/home/pi/Desktop/images/15122025/22/52/image_15122025_22_52_25_9746.jpg
/home/pi/Desktop/images/15122025/22/52/image_15122025_22_52_45_9718.jpg
/home/pi/Desktop/images/15122025/22/52/image_15122025_22_52_56_10882.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399562411","1399562413","1399562419","1399562404","1399562407","1399562409"],"photo_ids_order":["1399562404","1399562407","1399562409","1399562411","1399562413","1399562419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/254821d175a3c7f05bf44f00aa5c3efe.jpg","text":"TemporaryFile(/tmp/multipartBody428482940331243530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835663450,"filename":"image_15122025_22_52_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/15/037b40660084eb18ac959a730f75cb56.jpg","text":"TemporaryFile(/tmp/multipartBody8302112421349045027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835663450,"filename":"image_15122025_22_52_45_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d10eb695a357b985a5e7b0e7bc7ef6d3.jpg","text":"TemporaryFile(/tmp/multipartBody515305114703085429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835663450,"filename":"image_15122025_22_52_56_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/15/e1bbcb7fd83d96290beafd420caccf6d.jpg","text":"TemporaryFile(/tmp/multipartBody6549376519272634342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835663450,"filename":"image_15122025_22_51_55_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/fe42969fe2818e22815d5679dfd982fa.jpg","text":"TemporaryFile(/tmp/multipartBody8877976240707772068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835663450,"filename":"image_15122025_22_52_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/15/0bf790b6bbfbaa8cd246aefe187b6f9f.jpg","text":"TemporaryFile(/tmp/multipartBody7135747335329239381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835663450,"filename":"image_15122025_22_52_16_10605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399562409","file1":"1399562407","file0":"1399562404","file4":"1399562413","file5":"1399562419","file3":"1399562411"},"map_files_photo_id_array":[{"photo_id":"1399562419","filename":"file5"},{"photo_id":"1399562409","filename":"file2"},{"photo_id":"1399562413","filename":"file4"},{"photo_id":"1399562407","filename":"file1"},{"photo_id":"1399562404","filename":"file0"},{"photo_id":"1399562411","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399562411":["hashtag1","hashtag2"]},{"1399562413":["hashtag1","hashtag2"]},{"1399562419":["hashtag1","hashtag2"]},{"1399562404":["hashtag1","hashtag2"]},{"1399562407":["hashtag1","hashtag2"]},{"1399562409":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399562411, 1399562413, 1399562419, 1399562404, 1399562407, 1399562409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86074614524841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:54:02.718371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/52/image_15122025_22_53_06_9756.jpg', '/home/pi/Desktop/images/15122025/22/53/image_15122025_22_53_16_9795.jpg', '/home/pi/Desktop/images/15122025/22/53/image_15122025_22_53_25_9624.jpg', '/home/pi/Desktop/images/15122025/22/53/image_15122025_22_53_35_9886.jpg', '/home/pi/Desktop/images/15122025/22/53/image_15122025_22_53_46_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/52/image_15122025_22_53_06_9756.jpg
/home/pi/Desktop/images/15122025/22/53/image_15122025_22_53_16_9795.jpg
/home/pi/Desktop/images/15122025/22/53/image_15122025_22_53_25_9624.jpg
/home/pi/Desktop/images/15122025/22/53/image_15122025_22_53_35_9886.jpg
/home/pi/Desktop/images/15122025/22/53/image_15122025_22_53_46_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":["1399562422","1399562425","1399562427","1399562421","1399562429"],"photo_ids_order":["1399562421","1399562422","1399562425","1399562427","1399562429"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/67c8dc32b665a354254536e09ba2954d.jpg","text":"TemporaryFile(/tmp/multipartBody2960957861252128986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835703360,"filename":"image_15122025_22_53_16_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/15/e3b4af92d6c665a2b57f578077fc6fda.jpg","text":"TemporaryFile(/tmp/multipartBody4215143735721621952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835703360,"filename":"image_15122025_22_53_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/15/13014b1ff15772d43472c89fde15b8ca.jpg","text":"TemporaryFile(/tmp/multipartBody3696948016749542324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835703360,"filename":"image_15122025_22_53_35_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/15/5e0e701427eb7035113534aab19d0d3a.jpg","text":"TemporaryFile(/tmp/multipartBody5441985898372806958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835703360,"filename":"image_15122025_22_53_06_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/15/c7856ad1d38391d661b9f4ffb69a19e4.jpg","text":"TemporaryFile(/tmp/multipartBody7168822698792573272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835703360,"filename":"image_15122025_22_53_46_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399562425","file1":"1399562422","file0":"1399562421","file4":"1399562429","file3":"1399562427"},"map_files_photo_id_array":[{"photo_id":"1399562425","filename":"file2"},{"photo_id":"1399562429","filename":"file4"},{"photo_id":"1399562422","filename":"file1"},{"photo_id":"1399562421","filename":"file0"},{"photo_id":"1399562427","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399562422":["hashtag1","hashtag2"]},{"1399562425":["hashtag1","hashtag2"]},{"1399562427":["hashtag1","hashtag2"]},{"1399562421":["hashtag1","hashtag2"]},{"1399562429":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399562422, 1399562425, 1399562427, 1399562421, 1399562429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.356619596481323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 22:54:42.080862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/47/image_05112025_16_47_57_1617.jpg', '/home/pi/Desktop/images/05112025/16/47/image_05112025_16_47_58_1665.jpg', '/home/pi/Desktop/images/05112025/16/47/image_05112025_16_48_00_1623.jpg', '/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_02_1785.jpg', '/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_04_1722.jpg', '/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_05_1787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/47/image_05112025_16_47_57_1617.jpg
/home/pi/Desktop/images/05112025/16/47/image_05112025_16_47_58_1665.jpg
/home/pi/Desktop/images/05112025/16/47/image_05112025_16_48_00_1623.jpg
/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_02_1785.jpg
/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_04_1722.jpg
/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_05_1787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399562440","1399562434","1399562437","1399562442","1399562439","1399562441"],"photo_ids_order":["1399562434","1399562437","1399562439","1399562440","1399562441","1399562442"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/607b1ecbce5595679fe89c8f1376452a.jpg","text":"TemporaryFile(/tmp/multipartBody1026547727061879321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835742781,"filename":"image_05112025_16_48_02_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/15/d9e9a860713ebba81bc3b3c2b534c7ed.jpg","text":"TemporaryFile(/tmp/multipartBody4078456720283935823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835742781,"filename":"image_05112025_16_47_57_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e59765d2bafc3d57de24601a03cdb69d.jpg","text":"TemporaryFile(/tmp/multipartBody7407327953582422157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835742781,"filename":"image_05112025_16_47_58_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/15/06f316498a848087ce234db1bb5eca86.jpg","text":"TemporaryFile(/tmp/multipartBody2973392913267073982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835742781,"filename":"image_05112025_16_48_05_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/15/d41903ad0368bb329098fa08c2f7ef97.jpg","text":"TemporaryFile(/tmp/multipartBody8647438247896882972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835742781,"filename":"image_05112025_16_48_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/15/cd4cdc9168f7233d01b82ec05aad6cf9.jpg","text":"TemporaryFile(/tmp/multipartBody7451400207055333891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835742781,"filename":"image_05112025_16_48_04_1722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399562439","file1":"1399562437","file0":"1399562434","file4":"1399562441","file5":"1399562442","file3":"1399562440"},"map_files_photo_id_array":[{"photo_id":"1399562442","filename":"file5"},{"photo_id":"1399562439","filename":"file2"},{"photo_id":"1399562441","filename":"file4"},{"photo_id":"1399562437","filename":"file1"},{"photo_id":"1399562434","filename":"file0"},{"photo_id":"1399562440","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399562440":["hashtag1","hashtag2"]},{"1399562434":["hashtag1","hashtag2"]},{"1399562437":["hashtag1","hashtag2"]},{"1399562442":["hashtag1","hashtag2"]},{"1399562439":["hashtag1","hashtag2"]},{"1399562441":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399562440, 1399562434, 1399562437, 1399562442, 1399562439, 1399562441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09436082839966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:55:22.376130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/53/image_15122025_22_53_55_9680.jpg', '/home/pi/Desktop/images/15122025/22/53/image_15122025_22_54_05_9747.jpg', '/home/pi/Desktop/images/15122025/22/54/image_15122025_22_54_16_10854.jpg', '/home/pi/Desktop/images/15122025/22/54/image_15122025_22_54_26_9693.jpg', '/home/pi/Desktop/images/15122025/22/55/image_15122025_22_55_14_10054.jpg', '/home/pi/Desktop/images/15122025/22/55/image_15122025_22_55_25_10720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/53/image_15122025_22_53_55_9680.jpg
/home/pi/Desktop/images/15122025/22/53/image_15122025_22_54_05_9747.jpg
/home/pi/Desktop/images/15122025/22/54/image_15122025_22_54_16_10854.jpg
/home/pi/Desktop/images/15122025/22/54/image_15122025_22_54_26_9693.jpg
/home/pi/Desktop/images/15122025/22/55/image_15122025_22_55_14_10054.jpg
/home/pi/Desktop/images/15122025/22/55/image_15122025_22_55_25_10720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399562459","1399562452","1399562449","1399562454","1399562457","1399562445"],"photo_ids_order":["1399562445","1399562449","1399562452","1399562454","1399562457","1399562459"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/09be85a41583c3b8030a6da391b170d0.jpg","text":"TemporaryFile(/tmp/multipartBody4273361021696625619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835783037,"filename":"image_15122025_22_55_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/15/1e2ceaf961750c8c5fa2e8af9fedc191.jpg","text":"TemporaryFile(/tmp/multipartBody4434153999049165418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835783037,"filename":"image_15122025_22_54_16_10854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ff181712fe143ea8eb7c5f38b29ffdd4.jpg","text":"TemporaryFile(/tmp/multipartBody350786329235565140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835783037,"filename":"image_15122025_22_54_05_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9c5ec09c9c233845aeb46ca8a3d8b293.jpg","text":"TemporaryFile(/tmp/multipartBody5591620475402530536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835783037,"filename":"image_15122025_22_54_26_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/15/ab13afa1cf7d424858d1183e08b85648.jpg","text":"TemporaryFile(/tmp/multipartBody3423560439313961966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835783037,"filename":"image_15122025_22_55_14_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/784103681acb239015a0a9710ca28a27.jpg","text":"TemporaryFile(/tmp/multipartBody747476898783310503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835783037,"filename":"image_15122025_22_53_55_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399562452","file1":"1399562449","file0":"1399562445","file4":"1399562457","file5":"1399562459","file3":"1399562454"},"map_files_photo_id_array":[{"photo_id":"1399562459","filename":"file5"},{"photo_id":"1399562452","filename":"file2"},{"photo_id":"1399562457","filename":"file4"},{"photo_id":"1399562449","filename":"file1"},{"photo_id":"1399562445","filename":"file0"},{"photo_id":"1399562454","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399562459":["hashtag1","hashtag2"]},{"1399562452":["hashtag1","hashtag2"]},{"1399562449":["hashtag1","hashtag2"]},{"1399562454":["hashtag1","hashtag2"]},{"1399562457":["hashtag1","hashtag2"]},{"1399562445":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399562459, 1399562452, 1399562449, 1399562454, 1399562457, 1399562445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.4218966960907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:56:12.604223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:56:22.640842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/55/image_15122025_22_55_34_9784.jpg', '/home/pi/Desktop/images/15122025/22/55/image_15122025_22_55_44_9804.jpg', '/home/pi/Desktop/images/15122025/22/55/image_15122025_22_55_54_9719.jpg', '/home/pi/Desktop/images/15122025/22/56/image_15122025_22_56_35_10663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/55/image_15122025_22_55_34_9784.jpg
/home/pi/Desktop/images/15122025/22/55/image_15122025_22_55_44_9804.jpg
/home/pi/Desktop/images/15122025/22/55/image_15122025_22_55_54_9719.jpg
/home/pi/Desktop/images/15122025/22/56/image_15122025_22_56_35_10663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399562473","1399562469","1399562466","1399562471"],"photo_ids_order":["1399562466","1399562469","1399562471","1399562473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7988cacb2f1d8cd5ad7e7b8be53de7b7.jpg","text":"TemporaryFile(/tmp/multipartBody4232812267182874368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835843245,"filename":"image_15122025_22_56_35_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6c3bf532f03a3fdc4f3cdb0fd25c0579.jpg","text":"TemporaryFile(/tmp/multipartBody2710727846486397548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835843245,"filename":"image_15122025_22_55_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/15/f41c966acdde37cb022e946d60de629c.jpg","text":"TemporaryFile(/tmp/multipartBody4862384509558011700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835843245,"filename":"image_15122025_22_55_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/15/3f96252c573a23498ad0ec83199fcfc5.jpg","text":"TemporaryFile(/tmp/multipartBody4075293248973184077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835843245,"filename":"image_15122025_22_55_54_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399562471","file1":"1399562469","file0":"1399562466","file3":"1399562473"},"map_files_photo_id_array":[{"photo_id":"1399562471","filename":"file2"},{"photo_id":"1399562469","filename":"file1"},{"photo_id":"1399562466","filename":"file0"},{"photo_id":"1399562473","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399562473":["hashtag1","hashtag2"]},{"1399562469":["hashtag1","hashtag2"]},{"1399562466":["hashtag1","hashtag2"]},{"1399562471":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399562473, 1399562469, 1399562466, 1399562471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.1838595867157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:57:03.410729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:57:12.839275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 22:57:22.966636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/56/image_15122025_22_56_54_9739.jpg', '/home/pi/Desktop/images/15122025/22/56/image_15122025_22_57_05_10599.jpg', '/home/pi/Desktop/images/15122025/22/57/image_15122025_22_57_14_9641.jpg', '/home/pi/Desktop/images/15122025/22/57/image_15122025_22_57_44_10027.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/56/image_15122025_22_56_54_9739.jpg
/home/pi/Desktop/images/15122025/22/56/image_15122025_22_57_05_10599.jpg
/home/pi/Desktop/images/15122025/22/57/image_15122025_22_57_14_9641.jpg
/home/pi/Desktop/images/15122025/22/57/image_15122025_22_57_44_10027.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399562506","1399562511","1399562514","1399562508"],"photo_ids_order":["1399562506","1399562508","1399562511","1399562514"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4f79b3cf2718a6c23d881711f10ecaa4.jpg","text":"TemporaryFile(/tmp/multipartBody8211506546713325692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835903572,"filename":"image_15122025_22_56_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/15/6f8dcbe9ae353a134e3f47a94e584557.jpg","text":"TemporaryFile(/tmp/multipartBody4360751839710861714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835903572,"filename":"image_15122025_22_57_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/15/0c49a74211d1b4a72c3e1022ea99b4b3.jpg","text":"TemporaryFile(/tmp/multipartBody7952008188546789161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835903572,"filename":"image_15122025_22_57_44_10027.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/625389ad75ee1ab382d93f7be6972e33.jpg","text":"TemporaryFile(/tmp/multipartBody3870955677709239380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765835903572,"filename":"image_15122025_22_57_05_10599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399562511","file1":"1399562508","file0":"1399562506","file3":"1399562514"},"map_files_photo_id_array":[{"photo_id":"1399562511","filename":"file2"},{"photo_id":"1399562508","filename":"file1"},{"photo_id":"1399562506","filename":"file0"},{"photo_id":"1399562514","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399562506":["hashtag1","hashtag2"]},{"1399562511":["hashtag1","hashtag2"]},{"1399562514":["hashtag1","hashtag2"]},{"1399562508":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399562506, 1399562511, 1399562514, 1399562508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.359668731689453 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 22:59:03.111940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/57/image_15122025_22_57_54_9732.jpg', '/home/pi/Desktop/images/15122025/22/57/image_15122025_22_58_05_10764.jpg', '/home/pi/Desktop/images/15122025/22/58/image_15122025_22_58_24_9805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/57/image_15122025_22_57_54_9732.jpg
/home/pi/Desktop/images/15122025/22/57/image_15122025_22_58_05_10764.jpg
/home/pi/Desktop/images/15122025/22/58/image_15122025_22_58_24_9805.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399562668","1399562710","1399562750"],"photo_ids_order":["1399562668","1399562710","1399562750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/13e6ca18a24419cef4de0906b6323ed4.jpg","text":"TemporaryFile(/tmp/multipartBody4855076969216093299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836003783,"filename":"image_15122025_22_57_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/15/4df3c126cf486a04e7b7630d6f928190.jpg","text":"TemporaryFile(/tmp/multipartBody816607485046885290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836003783,"filename":"image_15122025_22_58_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/15/1f036135312eee993e49e4ab8aea34a8.jpg","text":"TemporaryFile(/tmp/multipartBody4451879211694554295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836003783,"filename":"image_15122025_22_58_24_9805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399562750","file1":"1399562710","file0":"1399562668"},"map_files_photo_id_array":[{"photo_id":"1399562750","filename":"file2"},{"photo_id":"1399562710","filename":"file1"},{"photo_id":"1399562668","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399562668":["hashtag1","hashtag2"]},{"1399562710":["hashtag1","hashtag2"]},{"1399562750":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399562668, 1399562710, 1399562750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.84833335876465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 22:59:32.178526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 22:59:42.218914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_07_1699.jpg', '/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_09_1537.jpg', '/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_20_11724.jpg', '/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_22_1595.jpg', '/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_24_1655.jpg', '/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_25_1771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_07_1699.jpg
/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_09_1537.jpg
/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_20_11724.jpg
/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_22_1595.jpg
/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_24_1655.jpg
/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_25_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":["1399563064","1399563145","1399563183","1399563303","1399563246","1399563350"],"photo_ids_order":["1399563064","1399563145","1399563183","1399563246","1399563303","1399563350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/52e5aed657ac7c1e2caaa0388a52d87e.jpg","text":"TemporaryFile(/tmp/multipartBody7843934608469280622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836042914,"filename":"image_05112025_16_48_07_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/15/921f405d24fc57344afe100604750106.jpg","text":"TemporaryFile(/tmp/multipartBody8437499578460880129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836042914,"filename":"image_05112025_16_48_09_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/15/f3ebf0eca0bd118f2c81d2f648820752.jpg","text":"TemporaryFile(/tmp/multipartBody5134667816565555099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836042914,"filename":"image_05112025_16_48_20_11724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d02c45990b132ab0c89aa34d91d0d36c.jpg","text":"TemporaryFile(/tmp/multipartBody8743379252967516843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836042914,"filename":"image_05112025_16_48_24_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/15/32586037a456d1094cf6bf82aff7adff.jpg","text":"TemporaryFile(/tmp/multipartBody6437969818368958457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836042914,"filename":"image_05112025_16_48_22_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/15/f15f48f02b6233f9a981f636a6779351.jpg","text":"TemporaryFile(/tmp/multipartBody1706960709417166165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836042914,"filename":"image_05112025_16_48_25_1771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399563183","file1":"1399563145","file0":"1399563064","file4":"1399563303","file5":"1399563350","file3":"1399563246"},"map_files_photo_id_array":[{"photo_id":"1399563350","filename":"file5"},{"photo_id":"1399563183","filename":"file2"},{"photo_id":"1399563303","filename":"file4"},{"photo_id":"1399563145","filename":"file1"},{"photo_id":"1399563064","filename":"file0"},{"photo_id":"1399563246","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399563064":["hashtag1","hashtag2"]},{"1399563145":["hashtag1","hashtag2"]},{"1399563183":["hashtag1","hashtag2"]},{"1399563303":["hashtag1","hashtag2"]},{"1399563246":["hashtag1","hashtag2"]},{"1399563350":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399563064, 1399563145, 1399563183, 1399563303, 1399563246, 1399563350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.2860643863678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:00:22.499814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/58/image_15122025_22_58_34_9656.jpg', '/home/pi/Desktop/images/15122025/22/59/image_15122025_22_59_25_10721.jpg', '/home/pi/Desktop/images/15122025/22/59/image_15122025_22_59_55_10609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/58/image_15122025_22_58_34_9656.jpg
/home/pi/Desktop/images/15122025/22/59/image_15122025_22_59_25_10721.jpg
/home/pi/Desktop/images/15122025/22/59/image_15122025_22_59_55_10609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399563535","1399563575","1399563493"],"photo_ids_order":["1399563493","1399563535","1399563575"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4fb05e12bcb7af74e8676544dca87933.jpg","text":"TemporaryFile(/tmp/multipartBody6103834631464446827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836083019,"filename":"image_15122025_22_59_25_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f5206bc50d88c16c97af6b0cd06e0a6c.jpg","text":"TemporaryFile(/tmp/multipartBody6426497444624677239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836083019,"filename":"image_15122025_22_59_55_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e57e115d9c69cb14d3097c6cf984883e.jpg","text":"TemporaryFile(/tmp/multipartBody7266444377769343949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836083019,"filename":"image_15122025_22_58_34_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399563575","file1":"1399563535","file0":"1399563493"},"map_files_photo_id_array":[{"photo_id":"1399563575","filename":"file2"},{"photo_id":"1399563535","filename":"file1"},{"photo_id":"1399563493","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399563535":["hashtag1","hashtag2"]},{"1399563575":["hashtag1","hashtag2"]},{"1399563493":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399563535, 1399563575, 1399563493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.88716435432434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 23:01:03.159719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:01:12.548476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:01:22.616970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/22/59/image_15122025_23_00_04_9645.jpg', '/home/pi/Desktop/images/15122025/23/01/image_15122025_23_01_25_10696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/22/59/image_15122025_23_00_04_9645.jpg
/home/pi/Desktop/images/15122025/23/01/image_15122025_23_01_25_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":["1399563808","1399563813"],"photo_ids_order":["1399563808","1399563813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b43b880b98ecfa5065abe9ac3a540f6d.jpg","text":"TemporaryFile(/tmp/multipartBody163788468059133645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836143097,"filename":"image_15122025_23_00_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/15/deb21281d61c28d0869529615e14d1ac.jpg","text":"TemporaryFile(/tmp/multipartBody5696621005055706273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836143097,"filename":"image_15122025_23_01_25_10696.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399563813","file0":"1399563808"},"map_files_photo_id_array":[{"photo_id":"1399563813","filename":"file1"},{"photo_id":"1399563808","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399563808":["hashtag1","hashtag2"]},{"1399563813":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399563808, 1399563813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.330906867980957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 23:02:02.486407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:02:11.941921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:02:21.919763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_27_1643.jpg', '/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_29_1564.jpg', '/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_30_1683.jpg', '/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_32_1592.jpg', '/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_34_1668.jpg', '/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_35_1501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_27_1643.jpg
/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_29_1564.jpg
/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_30_1683.jpg
/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_32_1592.jpg
/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_34_1668.jpg
/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_35_1501.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399564345","1399564426","1399564306","1399564491","1399564382","1399564237"],"photo_ids_order":["1399564237","1399564306","1399564345","1399564382","1399564426","1399564491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/65f7eae9f2882fb5835917e6406bbd7a.jpg","text":"TemporaryFile(/tmp/multipartBody6134875709588757082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836202647,"filename":"image_05112025_16_48_30_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/15/322efda6476182d74ab817838d07d800.jpg","text":"TemporaryFile(/tmp/multipartBody5715048725635217630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836202647,"filename":"image_05112025_16_48_34_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/15/c78a3acf7eba76612c7575525195bac2.jpg","text":"TemporaryFile(/tmp/multipartBody8094984349161137264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836202647,"filename":"image_05112025_16_48_29_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/15/b14a963e178999a571867fc64aed7ea1.jpg","text":"TemporaryFile(/tmp/multipartBody2879394127905887848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836202647,"filename":"image_05112025_16_48_35_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/15/694b0dc31031a864a536b8cdf05434b2.jpg","text":"TemporaryFile(/tmp/multipartBody5257250711988533845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836202647,"filename":"image_05112025_16_48_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/15/ff6bda48dbdf84b4754c12eb74c1bb46.jpg","text":"TemporaryFile(/tmp/multipartBody9132535661193503262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836202647,"filename":"image_05112025_16_48_27_1643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399564345","file1":"1399564306","file0":"1399564237","file4":"1399564426","file5":"1399564491","file3":"1399564382"},"map_files_photo_id_array":[{"photo_id":"1399564491","filename":"file5"},{"photo_id":"1399564345","filename":"file2"},{"photo_id":"1399564426","filename":"file4"},{"photo_id":"1399564306","filename":"file1"},{"photo_id":"1399564237","filename":"file0"},{"photo_id":"1399564382","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399564345":["hashtag1","hashtag2"]},{"1399564426":["hashtag1","hashtag2"]},{"1399564306":["hashtag1","hashtag2"]},{"1399564491":["hashtag1","hashtag2"]},{"1399564382":["hashtag1","hashtag2"]},{"1399564237":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399564345, 1399564426, 1399564306, 1399564491, 1399564382, 1399564237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.930522441864014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 23:03:02.787694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:03:12.133223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:03:22.091183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/01/image_15122025_23_01_34_9623.jpg', '/home/pi/Desktop/images/15122025/23/02/image_15122025_23_03_04_9673.jpg', '/home/pi/Desktop/images/15122025/23/03/image_15122025_23_03_15_10809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/01/image_15122025_23_01_34_9623.jpg
/home/pi/Desktop/images/15122025/23/02/image_15122025_23_03_04_9673.jpg
/home/pi/Desktop/images/15122025/23/03/image_15122025_23_03_15_10809.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399564716","1399564704","1399564669"],"photo_ids_order":["1399564669","1399564704","1399564716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1394d3421566da04c4ecd973ee16b175.jpg","text":"TemporaryFile(/tmp/multipartBody3799240917781927076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836262616,"filename":"image_15122025_23_03_15_10809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7ccf275a2d01712c9c150e55d84ea653.jpg","text":"TemporaryFile(/tmp/multipartBody5504111174905071785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836262616,"filename":"image_15122025_23_03_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/15/17687c7b8f43817264ae43f32d9e979a.jpg","text":"TemporaryFile(/tmp/multipartBody6530280877168194100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836262616,"filename":"image_15122025_23_01_34_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399564716","file1":"1399564704","file0":"1399564669"},"map_files_photo_id_array":[{"photo_id":"1399564716","filename":"file2"},{"photo_id":"1399564704","filename":"file1"},{"photo_id":"1399564669","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399564716":["hashtag1","hashtag2"]},{"1399564704":["hashtag1","hashtag2"]},{"1399564669":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399564716, 1399564704, 1399564669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.38585114479065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 23:04:02.964528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:04:12.343287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:04:22.347709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/03/image_15122025_23_03_24_9759.jpg', '/home/pi/Desktop/images/15122025/23/03/image_15122025_23_04_04_9774.jpg', '/home/pi/Desktop/images/15122025/23/04/image_15122025_23_04_15_10744.jpg', '/home/pi/Desktop/images/15122025/23/04/image_15122025_23_04_45_10810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/03/image_15122025_23_03_24_9759.jpg
/home/pi/Desktop/images/15122025/23/03/image_15122025_23_04_04_9774.jpg
/home/pi/Desktop/images/15122025/23/04/image_15122025_23_04_15_10744.jpg
/home/pi/Desktop/images/15122025/23/04/image_15122025_23_04_45_10810.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399564755","1399564749","1399564751","1399564753"],"photo_ids_order":["1399564749","1399564751","1399564753","1399564755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b2ed2ac2a1066041cbce4cbb6c612135.jpg","text":"TemporaryFile(/tmp/multipartBody1895331333143137445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836322916,"filename":"image_15122025_23_04_45_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/15/b87ad933fa01fb945054dc70fb007744.jpg","text":"TemporaryFile(/tmp/multipartBody7325738108075337522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836322916,"filename":"image_15122025_23_03_24_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6595214df9559e82af65a3009d067708.jpg","text":"TemporaryFile(/tmp/multipartBody3829208215783385370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836322916,"filename":"image_15122025_23_04_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/15/1540f2e3b9fb387c1c876ccb00e0fe42.jpg","text":"TemporaryFile(/tmp/multipartBody223169349897674366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836322916,"filename":"image_15122025_23_04_15_10744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399564753","file1":"1399564751","file0":"1399564749","file3":"1399564755"},"map_files_photo_id_array":[{"photo_id":"1399564753","filename":"file2"},{"photo_id":"1399564751","filename":"file1"},{"photo_id":"1399564749","filename":"file0"},{"photo_id":"1399564755","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399564755":["hashtag1","hashtag2"]},{"1399564749":["hashtag1","hashtag2"]},{"1399564751":["hashtag1","hashtag2"]},{"1399564753":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399564755, 1399564749, 1399564751, 1399564753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.798322916030884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 23:05:03.205429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:05:12.461129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:05:22.536899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_37_1768.jpg', '/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_38_1563.jpg', '/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_40_1566.jpg', '/home/pi/Desktop/images/05112025/16/49/image_05112025_16_49_13_33225.jpg', '/home/pi/Desktop/images/05112025/16/49/image_05112025_16_49_15_1739.jpg', '/home/pi/Desktop/images/05112025/16/49/image_05112025_16_49_16_1573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_37_1768.jpg
/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_38_1563.jpg
/home/pi/Desktop/images/05112025/16/48/image_05112025_16_48_40_1566.jpg
/home/pi/Desktop/images/05112025/16/49/image_05112025_16_49_13_33225.jpg
/home/pi/Desktop/images/05112025/16/49/image_05112025_16_49_15_1739.jpg
/home/pi/Desktop/images/05112025/16/49/image_05112025_16_49_16_1573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399564791","1399564779","1399564772","1399564775","1399564789","1399564777"],"photo_ids_order":["1399564772","1399564775","1399564777","1399564779","1399564789","1399564791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e53fa0fd26f8e360bfa66b22e145bef0.jpg","text":"TemporaryFile(/tmp/multipartBody4759070483065342705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836383300,"filename":"image_05112025_16_49_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/15/818e0a79fbc293fe19e8af72c1b622e8.jpg","text":"TemporaryFile(/tmp/multipartBody4596527961578673513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836383300,"filename":"image_05112025_16_49_13_33225.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ff18e9bb5afa4b0df8179282ffeea759.jpg","text":"TemporaryFile(/tmp/multipartBody9114676209385520618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836383300,"filename":"image_05112025_16_48_37_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/15/5f5f3cfdb41f27a957f37bf37b90443f.jpg","text":"TemporaryFile(/tmp/multipartBody169615350808353489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836383300,"filename":"image_05112025_16_48_38_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/15/795f5b178a8ca27fcd9f539fc847a4fb.jpg","text":"TemporaryFile(/tmp/multipartBody4482852336653279235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836383300,"filename":"image_05112025_16_49_15_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/15/4b98b04d253568f6823c0c247f0bee12.jpg","text":"TemporaryFile(/tmp/multipartBody412913243672555439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836383300,"filename":"image_05112025_16_48_40_1566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399564777","file1":"1399564775","file0":"1399564772","file4":"1399564789","file5":"1399564791","file3":"1399564779"},"map_files_photo_id_array":[{"photo_id":"1399564791","filename":"file5"},{"photo_id":"1399564777","filename":"file2"},{"photo_id":"1399564789","filename":"file4"},{"photo_id":"1399564775","filename":"file1"},{"photo_id":"1399564772","filename":"file0"},{"photo_id":"1399564779","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399564791":["hashtag1","hashtag2"]},{"1399564779":["hashtag1","hashtag2"]},{"1399564772":["hashtag1","hashtag2"]},{"1399564775":["hashtag1","hashtag2"]},{"1399564789":["hashtag1","hashtag2"]},{"1399564777":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399564791, 1399564779, 1399564772, 1399564775, 1399564789, 1399564777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.979392528533936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:06:11.794466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:06:21.870498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/04/image_15122025_23_04_54_9682.jpg', '/home/pi/Desktop/images/15122025/23/05/image_15122025_23_06_04_9679.jpg', '/home/pi/Desktop/images/15122025/23/06/image_15122025_23_06_14_10680.jpg', '/home/pi/Desktop/images/15122025/23/06/image_15122025_23_06_24_9680.jpg', '/home/pi/Desktop/images/15122025/23/06/image_15122025_23_06_45_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/04/image_15122025_23_04_54_9682.jpg
/home/pi/Desktop/images/15122025/23/05/image_15122025_23_06_04_9679.jpg
/home/pi/Desktop/images/15122025/23/06/image_15122025_23_06_14_10680.jpg
/home/pi/Desktop/images/15122025/23/06/image_15122025_23_06_24_9680.jpg
/home/pi/Desktop/images/15122025/23/06/image_15122025_23_06_45_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":["1399564807","1399564812","1399564802","1399564805","1399564798"],"photo_ids_order":["1399564798","1399564802","1399564805","1399564807","1399564812"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c052f768b8b58409c566213417440200.jpg","text":"TemporaryFile(/tmp/multipartBody809923137452879546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836442488,"filename":"image_15122025_23_06_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/15/9d97ebd197f18f250454219031975c28.jpg","text":"TemporaryFile(/tmp/multipartBody7494093769418394963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836442488,"filename":"image_15122025_23_06_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/15/a0e64746e208b4328977c85c0ed101c4.jpg","text":"TemporaryFile(/tmp/multipartBody4960495319711148593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836442488,"filename":"image_15122025_23_06_04_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/beb64af5d90c0dd6cbd99d2b19038307.jpg","text":"TemporaryFile(/tmp/multipartBody6927948424846791795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836442488,"filename":"image_15122025_23_06_14_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/15/24c2bc404c6624d57588549ad21b0b1f.jpg","text":"TemporaryFile(/tmp/multipartBody83420316027187329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836442488,"filename":"image_15122025_23_04_54_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399564805","file1":"1399564802","file0":"1399564798","file4":"1399564812","file3":"1399564807"},"map_files_photo_id_array":[{"photo_id":"1399564805","filename":"file2"},{"photo_id":"1399564812","filename":"file4"},{"photo_id":"1399564802","filename":"file1"},{"photo_id":"1399564798","filename":"file0"},{"photo_id":"1399564807","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399564807":["hashtag1","hashtag2"]},{"1399564812":["hashtag1","hashtag2"]},{"1399564802":["hashtag1","hashtag2"]},{"1399564805":["hashtag1","hashtag2"]},{"1399564798":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399564807, 1399564812, 1399564802, 1399564805, 1399564798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.11556029319763 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 23:07:02.840895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:07:12.020435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:07:22.113229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/06/image_15122025_23_06_55_10041.jpg', '/home/pi/Desktop/images/15122025/23/06/image_15122025_23_07_05_9999.jpg', '/home/pi/Desktop/images/15122025/23/07/image_15122025_23_07_14_9704.jpg', '/home/pi/Desktop/images/15122025/23/07/image_15122025_23_07_24_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/06/image_15122025_23_06_55_10041.jpg
/home/pi/Desktop/images/15122025/23/06/image_15122025_23_07_05_9999.jpg
/home/pi/Desktop/images/15122025/23/07/image_15122025_23_07_14_9704.jpg
/home/pi/Desktop/images/15122025/23/07/image_15122025_23_07_24_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":["1399564836","1399564839","1399564832","1399564838"],"photo_ids_order":["1399564832","1399564836","1399564838","1399564839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f4963a3028db7051f186871c60d51c68.jpg","text":"TemporaryFile(/tmp/multipartBody6094767575328907864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836502678,"filename":"image_15122025_23_07_05_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/15/58427a229060a0cfdd9b7f114f31f57a.jpg","text":"TemporaryFile(/tmp/multipartBody497553749796063611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836502678,"filename":"image_15122025_23_07_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1463ea379110fed05d38112ef8432e3b.jpg","text":"TemporaryFile(/tmp/multipartBody5699394801234049708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836502678,"filename":"image_15122025_23_06_55_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/15/37733017f2e45362685a983d98c89444.jpg","text":"TemporaryFile(/tmp/multipartBody17220166269091161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836502678,"filename":"image_15122025_23_07_14_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399564838","file1":"1399564836","file0":"1399564832","file3":"1399564839"},"map_files_photo_id_array":[{"photo_id":"1399564838","filename":"file2"},{"photo_id":"1399564836","filename":"file1"},{"photo_id":"1399564832","filename":"file0"},{"photo_id":"1399564839","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399564836":["hashtag1","hashtag2"]},{"1399564839":["hashtag1","hashtag2"]},{"1399564832":["hashtag1","hashtag2"]},{"1399564838":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399564836, 1399564839, 1399564832, 1399564838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.864633560180664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 23:08:02.787846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:08:12.325870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:08:22.355115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/07/image_15122025_23_07_35_10709.jpg', '/home/pi/Desktop/images/15122025/23/08/image_15122025_23_08_14_9792.jpg', '/home/pi/Desktop/images/15122025/23/08/image_15122025_23_08_24_9630.jpg', '/home/pi/Desktop/images/15122025/23/08/image_15122025_23_08_34_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/07/image_15122025_23_07_35_10709.jpg
/home/pi/Desktop/images/15122025/23/08/image_15122025_23_08_14_9792.jpg
/home/pi/Desktop/images/15122025/23/08/image_15122025_23_08_24_9630.jpg
/home/pi/Desktop/images/15122025/23/08/image_15122025_23_08_34_9716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399564860","1399564854","1399564857","1399564852"],"photo_ids_order":["1399564852","1399564854","1399564857","1399564860"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5c86790355c9dd30ae999163f55738b5.jpg","text":"TemporaryFile(/tmp/multipartBody5297490175815895855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836562923,"filename":"image_15122025_23_08_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/15/8895c4ec50c8fcde00960794322cf63b.jpg","text":"TemporaryFile(/tmp/multipartBody7816051326837217566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836562923,"filename":"image_15122025_23_08_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/15/e7fc13f7ad942d43fefe268f43ab89b0.jpg","text":"TemporaryFile(/tmp/multipartBody1121174570699986973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836562923,"filename":"image_15122025_23_08_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/15/7936feca2e8c2e544b9f0e438e03efdc.jpg","text":"TemporaryFile(/tmp/multipartBody5462352526306309429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836562923,"filename":"image_15122025_23_07_35_10709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399564857","file1":"1399564854","file0":"1399564852","file3":"1399564860"},"map_files_photo_id_array":[{"photo_id":"1399564857","filename":"file2"},{"photo_id":"1399564854","filename":"file1"},{"photo_id":"1399564852","filename":"file0"},{"photo_id":"1399564860","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399564860":["hashtag1","hashtag2"]},{"1399564854":["hashtag1","hashtag2"]},{"1399564857":["hashtag1","hashtag2"]},{"1399564852":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399564860, 1399564854, 1399564857, 1399564852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.84747624397278 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 23:09:03.515383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:09:12.581245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:09:22.606132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/08/image_15122025_23_08_54_9718.jpg', '/home/pi/Desktop/images/15122025/23/09/image_15122025_23_09_24_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/08/image_15122025_23_08_54_9718.jpg
/home/pi/Desktop/images/15122025/23/09/image_15122025_23_09_24_9604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399564896","1399564894"],"photo_ids_order":["1399564894","1399564896"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cda9182ed9c630fda9976c5dedbb73c3.jpg","text":"TemporaryFile(/tmp/multipartBody4296348563180937260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836623084,"filename":"image_15122025_23_09_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/15/a5ea159af7a5ad3ecfbaaaae514f97c1.jpg","text":"TemporaryFile(/tmp/multipartBody9084544855621946530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836623084,"filename":"image_15122025_23_08_54_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399564896","file0":"1399564894"},"map_files_photo_id_array":[{"photo_id":"1399564896","filename":"file1"},{"photo_id":"1399564894","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399564896":["hashtag1","hashtag2"]},{"1399564894":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399564896, 1399564894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.226967096328735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 23:09:42.567919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/49/image_05112025_16_49_18_1503.jpg', '/home/pi/Desktop/images/05112025/16/49/image_05112025_16_49_47_1622.jpg', '/home/pi/Desktop/images/05112025/16/49/image_05112025_16_49_49_1673.jpg', '/home/pi/Desktop/images/05112025/16/49/image_05112025_16_49_51_1681.jpg', '/home/pi/Desktop/images/05112025/16/49/image_05112025_16_49_52_1706.jpg', '/home/pi/Desktop/images/05112025/16/49/image_05112025_16_49_54_1630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/49/image_05112025_16_49_18_1503.jpg
/home/pi/Desktop/images/05112025/16/49/image_05112025_16_49_47_1622.jpg
/home/pi/Desktop/images/05112025/16/49/image_05112025_16_49_49_1673.jpg
/home/pi/Desktop/images/05112025/16/49/image_05112025_16_49_51_1681.jpg
/home/pi/Desktop/images/05112025/16/49/image_05112025_16_49_52_1706.jpg
/home/pi/Desktop/images/05112025/16/49/image_05112025_16_49_54_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":["1399564912","1399564906","1399564909","1399564900","1399564914","1399564904"],"photo_ids_order":["1399564900","1399564904","1399564906","1399564909","1399564912","1399564914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/15e8cace0ce63c59a2a1e52692665d3a.jpg","text":"TemporaryFile(/tmp/multipartBody6359127618252531640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836643267,"filename":"image_05112025_16_49_52_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/15/54a7d3de9e62facdb6f576d0e9044f91.jpg","text":"TemporaryFile(/tmp/multipartBody6660405007877653194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836643267,"filename":"image_05112025_16_49_49_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/15/0410adcb486862d47e7247a15c26f9e0.jpg","text":"TemporaryFile(/tmp/multipartBody7865168465652336952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836643267,"filename":"image_05112025_16_49_51_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/15/cc91958e1a2902de800e0c0f013fe537.jpg","text":"TemporaryFile(/tmp/multipartBody5720097968027031081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836643267,"filename":"image_05112025_16_49_18_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/15/266cdd4df0105010a9205122030b8ffb.jpg","text":"TemporaryFile(/tmp/multipartBody7494407881268520064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836643267,"filename":"image_05112025_16_49_54_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/15/5f048dcb26745654eecd473e564bd662.jpg","text":"TemporaryFile(/tmp/multipartBody4337559439712535805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836643267,"filename":"image_05112025_16_49_47_1622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399564906","file1":"1399564904","file0":"1399564900","file4":"1399564912","file5":"1399564914","file3":"1399564909"},"map_files_photo_id_array":[{"photo_id":"1399564914","filename":"file5"},{"photo_id":"1399564906","filename":"file2"},{"photo_id":"1399564912","filename":"file4"},{"photo_id":"1399564904","filename":"file1"},{"photo_id":"1399564900","filename":"file0"},{"photo_id":"1399564909","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399564912":["hashtag1","hashtag2"]},{"1399564906":["hashtag1","hashtag2"]},{"1399564909":["hashtag1","hashtag2"]},{"1399564900":["hashtag1","hashtag2"]},{"1399564914":["hashtag1","hashtag2"]},{"1399564904":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399564912, 1399564906, 1399564909, 1399564900, 1399564914, 1399564904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11080861091614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:10:21.929361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/09/image_15122025_23_09_54_10580.jpg', '/home/pi/Desktop/images/15122025/23/09/image_15122025_23_10_04_9825.jpg', '/home/pi/Desktop/images/15122025/23/10/image_15122025_23_10_14_9884.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/09/image_15122025_23_09_54_10580.jpg
/home/pi/Desktop/images/15122025/23/09/image_15122025_23_10_04_9825.jpg
/home/pi/Desktop/images/15122025/23/10/image_15122025_23_10_14_9884.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399564926","1399564922","1399564919"],"photo_ids_order":["1399564919","1399564922","1399564926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c5b4c7062250b8aa6bfd95099c4ca93d.jpg","text":"TemporaryFile(/tmp/multipartBody9185315159482047907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836682556,"filename":"image_15122025_23_10_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/15/b9da95ed4d3f27b93a7555fbb73d5a62.jpg","text":"TemporaryFile(/tmp/multipartBody9100650650686129371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836682556,"filename":"image_15122025_23_10_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/15/0c0ad0038ec67bb1d36779c2ce18fa46.jpg","text":"TemporaryFile(/tmp/multipartBody5411913853083374188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836682556,"filename":"image_15122025_23_09_54_10580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399564926","file1":"1399564922","file0":"1399564919"},"map_files_photo_id_array":[{"photo_id":"1399564926","filename":"file2"},{"photo_id":"1399564922","filename":"file1"},{"photo_id":"1399564919","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399564926":["hashtag1","hashtag2"]},{"1399564922":["hashtag1","hashtag2"]},{"1399564919":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399564926, 1399564922, 1399564919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.89401888847351 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 23:11:02.702781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:11:11.945434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:11:22.029481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/10/image_15122025_23_10_54_9703.jpg', '/home/pi/Desktop/images/15122025/23/10/image_15122025_23_11_04_10652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/10/image_15122025_23_10_54_9703.jpg
/home/pi/Desktop/images/15122025/23/10/image_15122025_23_11_04_10652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399564943","1399564940"],"photo_ids_order":["1399564940","1399564943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ef0be03df280bd467c2f8a3231386e7b.jpg","text":"TemporaryFile(/tmp/multipartBody1885392995054259536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836742509,"filename":"image_15122025_23_11_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/15/21f01ff62091d2554f0dc227657964a1.jpg","text":"TemporaryFile(/tmp/multipartBody2367155914689436776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836742509,"filename":"image_15122025_23_10_54_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399564943","file0":"1399564940"},"map_files_photo_id_array":[{"photo_id":"1399564943","filename":"file1"},{"photo_id":"1399564940","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399564943":["hashtag1","hashtag2"]},{"1399564940":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399564943, 1399564940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.788333654403687 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 23:11:41.958595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/49/image_05112025_16_49_56_1615.jpg', '/home/pi/Desktop/images/05112025/16/49/image_05112025_16_50_00_4214.jpg', '/home/pi/Desktop/images/05112025/16/50/image_05112025_16_50_08_3015.jpg', '/home/pi/Desktop/images/05112025/16/50/image_05112025_16_50_11_3703.jpg', '/home/pi/Desktop/images/05112025/16/50/image_05112025_16_50_14_2878.jpg', '/home/pi/Desktop/images/05112025/16/50/image_05112025_16_50_17_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/49/image_05112025_16_49_56_1615.jpg
/home/pi/Desktop/images/05112025/16/49/image_05112025_16_50_00_4214.jpg
/home/pi/Desktop/images/05112025/16/50/image_05112025_16_50_08_3015.jpg
/home/pi/Desktop/images/05112025/16/50/image_05112025_16_50_11_3703.jpg
/home/pi/Desktop/images/05112025/16/50/image_05112025_16_50_14_2878.jpg
/home/pi/Desktop/images/05112025/16/50/image_05112025_16_50_17_2688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399564956","1399564958","1399564966","1399564960","1399564948","1399564957"],"photo_ids_order":["1399564948","1399564956","1399564957","1399564958","1399564960","1399564966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ed16856824ef758f9570cc733ca67dac.jpg","text":"TemporaryFile(/tmp/multipartBody2754898531489358057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836762657,"filename":"image_05112025_16_50_00_4214.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c5a808aa142bd519d83648ddaf1b8179.jpg","text":"TemporaryFile(/tmp/multipartBody8393132163659817901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836762657,"filename":"image_05112025_16_50_11_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/563caaf488c45d1ed8007f82edd6d5fe.jpg","text":"TemporaryFile(/tmp/multipartBody6262039895906094874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836762657,"filename":"image_05112025_16_50_17_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/200a86c09f06b4d7eb4209d07003a042.jpg","text":"TemporaryFile(/tmp/multipartBody3145203061435718872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836762657,"filename":"image_05112025_16_50_14_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/15/32e5be2d98f1b8da43f31625e3cfa438.jpg","text":"TemporaryFile(/tmp/multipartBody1075814200568939894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836762657,"filename":"image_05112025_16_49_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/15/5fe09ad69ca80f2f56986bcec3bdec4a.jpg","text":"TemporaryFile(/tmp/multipartBody8861032220142716069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836762657,"filename":"image_05112025_16_50_08_3015.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399564957","file1":"1399564956","file0":"1399564948","file4":"1399564960","file5":"1399564966","file3":"1399564958"},"map_files_photo_id_array":[{"photo_id":"1399564966","filename":"file5"},{"photo_id":"1399564957","filename":"file2"},{"photo_id":"1399564960","filename":"file4"},{"photo_id":"1399564956","filename":"file1"},{"photo_id":"1399564948","filename":"file0"},{"photo_id":"1399564958","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399564956":["hashtag1","hashtag2"]},{"1399564958":["hashtag1","hashtag2"]},{"1399564966":["hashtag1","hashtag2"]},{"1399564960":["hashtag1","hashtag2"]},{"1399564948":["hashtag1","hashtag2"]},{"1399564957":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399564956, 1399564958, 1399564966, 1399564960, 1399564948, 1399564957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1877167224884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:12:22.165827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/11/image_15122025_23_11_54_9793.jpg', '/home/pi/Desktop/images/15122025/23/11/image_15122025_23_12_04_9712.jpg', '/home/pi/Desktop/images/15122025/23/12/image_15122025_23_12_24_9758.jpg', '/home/pi/Desktop/images/15122025/23/12/image_15122025_23_12_44_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/11/image_15122025_23_11_54_9793.jpg
/home/pi/Desktop/images/15122025/23/11/image_15122025_23_12_04_9712.jpg
/home/pi/Desktop/images/15122025/23/12/image_15122025_23_12_24_9758.jpg
/home/pi/Desktop/images/15122025/23/12/image_15122025_23_12_44_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":["1399564980","1399564973","1399564975","1399564978"],"photo_ids_order":["1399564973","1399564975","1399564978","1399564980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bc4c6243d3a17bda8bd46220f7e8f463.jpg","text":"TemporaryFile(/tmp/multipartBody3777050657728977205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836802772,"filename":"image_15122025_23_12_44_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d8561da3fd9021b5cf14fe1ff3d93557.jpg","text":"TemporaryFile(/tmp/multipartBody7238162097834953569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836802772,"filename":"image_15122025_23_11_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/15/4ae25dd038bd16a453fa67f106fbe6c4.jpg","text":"TemporaryFile(/tmp/multipartBody8158790698445704640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836802772,"filename":"image_15122025_23_12_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/15/d3959a67f83616dce52bc29745c306bb.jpg","text":"TemporaryFile(/tmp/multipartBody5628679015227723307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836802772,"filename":"image_15122025_23_12_24_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399564978","file1":"1399564975","file0":"1399564973","file3":"1399564980"},"map_files_photo_id_array":[{"photo_id":"1399564978","filename":"file2"},{"photo_id":"1399564975","filename":"file1"},{"photo_id":"1399564973","filename":"file0"},{"photo_id":"1399564980","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399564980":["hashtag1","hashtag2"]},{"1399564973":["hashtag1","hashtag2"]},{"1399564975":["hashtag1","hashtag2"]},{"1399564978":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399564980, 1399564973, 1399564975, 1399564978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.220277309417725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 23:13:03.188904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:13:12.387282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:13:22.495864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/12/image_15122025_23_12_54_9753.jpg', '/home/pi/Desktop/images/15122025/23/12/image_15122025_23_13_05_10915.jpg', '/home/pi/Desktop/images/15122025/23/13/image_15122025_23_13_24_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/12/image_15122025_23_12_54_9753.jpg
/home/pi/Desktop/images/15122025/23/12/image_15122025_23_13_05_10915.jpg
/home/pi/Desktop/images/15122025/23/13/image_15122025_23_13_24_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":["1399565002","1399564999","1399565005"],"photo_ids_order":["1399564999","1399565002","1399565005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e2ed0d1188983bb25bf02d3817e9cd22.jpg","text":"TemporaryFile(/tmp/multipartBody726737289367601614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836863023,"filename":"image_15122025_23_13_05_10915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f6dcee731fddafadd9f740340519778c.jpg","text":"TemporaryFile(/tmp/multipartBody5854741376296038633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836863023,"filename":"image_15122025_23_12_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/15/0ab61fdfa4d472215f23a8ab5806d51d.jpg","text":"TemporaryFile(/tmp/multipartBody2117450781941856752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836863023,"filename":"image_15122025_23_13_24_9763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399565005","file1":"1399565002","file0":"1399564999"},"map_files_photo_id_array":[{"photo_id":"1399565005","filename":"file2"},{"photo_id":"1399565002","filename":"file1"},{"photo_id":"1399564999","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399565002":["hashtag1","hashtag2"]},{"1399564999":["hashtag1","hashtag2"]},{"1399565005":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399565002, 1399564999, 1399565005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.47921657562256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 23:14:03.334537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:14:12.719732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:14:22.699187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/13/image_15122025_23_13_54_9776.jpg', '/home/pi/Desktop/images/15122025/23/13/image_15122025_23_14_04_9847.jpg', '/home/pi/Desktop/images/15122025/23/14/image_15122025_23_14_24_9768.jpg', '/home/pi/Desktop/images/15122025/23/14/image_15122025_23_14_35_10736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/13/image_15122025_23_13_54_9776.jpg
/home/pi/Desktop/images/15122025/23/13/image_15122025_23_14_04_9847.jpg
/home/pi/Desktop/images/15122025/23/14/image_15122025_23_14_24_9768.jpg
/home/pi/Desktop/images/15122025/23/14/image_15122025_23_14_35_10736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399565016","1399565027","1399565029","1399565020"],"photo_ids_order":["1399565016","1399565020","1399565027","1399565029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/919c2181610256dc4c6a04bcc1d1cf10.jpg","text":"TemporaryFile(/tmp/multipartBody3712011608685969526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836923298,"filename":"image_15122025_23_13_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/15/b83ae929876aefed8ec92b997ad5a31b.jpg","text":"TemporaryFile(/tmp/multipartBody1978798271003245211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836923298,"filename":"image_15122025_23_14_24_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1b4d07b1aa9aca2cdb8870cb235a6dd3.jpg","text":"TemporaryFile(/tmp/multipartBody6568688897036091317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836923298,"filename":"image_15122025_23_14_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/15/64989b4f9b81234098f6fa41fcd5cc99.jpg","text":"TemporaryFile(/tmp/multipartBody6559539598998470198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836923298,"filename":"image_15122025_23_14_04_9847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399565027","file1":"1399565020","file0":"1399565016","file3":"1399565029"},"map_files_photo_id_array":[{"photo_id":"1399565027","filename":"file2"},{"photo_id":"1399565020","filename":"file1"},{"photo_id":"1399565016","filename":"file0"},{"photo_id":"1399565029","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399565016":["hashtag1","hashtag2"]},{"1399565027":["hashtag1","hashtag2"]},{"1399565029":["hashtag1","hashtag2"]},{"1399565020":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399565016, 1399565027, 1399565029, 1399565020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.078807592391968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 23:15:02.493661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:15:11.817782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:15:21.868650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/14/image_15122025_23_14_54_9727.jpg', '/home/pi/Desktop/images/15122025/23/14/image_15122025_23_15_04_9711.jpg', '/home/pi/Desktop/images/15122025/23/15/image_15122025_23_15_15_10720.jpg', '/home/pi/Desktop/images/15122025/23/15/image_15122025_23_15_24_9584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/14/image_15122025_23_14_54_9727.jpg
/home/pi/Desktop/images/15122025/23/14/image_15122025_23_15_04_9711.jpg
/home/pi/Desktop/images/15122025/23/15/image_15122025_23_15_15_10720.jpg
/home/pi/Desktop/images/15122025/23/15/image_15122025_23_15_24_9584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399565046","1399565048","1399565050","1399565044"],"photo_ids_order":["1399565044","1399565046","1399565048","1399565050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6cd835c36491d5a24c864cc4ed5029ec.jpg","text":"TemporaryFile(/tmp/multipartBody1975951896772606901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836982462,"filename":"image_15122025_23_15_04_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b1e5872986431aba43c4bb6fbdf201ba.jpg","text":"TemporaryFile(/tmp/multipartBody4299609582464480624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836982462,"filename":"image_15122025_23_15_15_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/444e643bf475cbeb186b97342e332fd1.jpg","text":"TemporaryFile(/tmp/multipartBody4566703629352563852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836982462,"filename":"image_15122025_23_15_24_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/15/58fe94150dea56cb4660c6bbd0b38d8e.jpg","text":"TemporaryFile(/tmp/multipartBody5987367371594515745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765836982462,"filename":"image_15122025_23_14_54_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399565048","file1":"1399565046","file0":"1399565044","file3":"1399565050"},"map_files_photo_id_array":[{"photo_id":"1399565048","filename":"file2"},{"photo_id":"1399565046","filename":"file1"},{"photo_id":"1399565044","filename":"file0"},{"photo_id":"1399565050","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399565046":["hashtag1","hashtag2"]},{"1399565048":["hashtag1","hashtag2"]},{"1399565050":["hashtag1","hashtag2"]},{"1399565044":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399565046, 1399565048, 1399565050, 1399565044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.629995107650757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 23:16:02.542249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:16:12.051615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:16:22.172545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/15/image_15122025_23_15_34_9665.jpg', '/home/pi/Desktop/images/15122025/23/16/image_15122025_23_16_25_10716.jpg', '/home/pi/Desktop/images/15122025/23/16/image_15122025_23_16_34_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/15/image_15122025_23_15_34_9665.jpg
/home/pi/Desktop/images/15122025/23/16/image_15122025_23_16_25_10716.jpg
/home/pi/Desktop/images/15122025/23/16/image_15122025_23_16_34_9692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399565081","1399565075","1399565077"],"photo_ids_order":["1399565075","1399565077","1399565081"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f493ff8933c8df79ef9b8dd5a91c85b2.jpg","text":"TemporaryFile(/tmp/multipartBody4843770097590333395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837042716,"filename":"image_15122025_23_16_34_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0ce3582031dd215fbea21d7d965d5988.jpg","text":"TemporaryFile(/tmp/multipartBody2631055286224129733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837042716,"filename":"image_15122025_23_15_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/15/9b298889b61dfa181761523052b48772.jpg","text":"TemporaryFile(/tmp/multipartBody3034958375948495375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837042716,"filename":"image_15122025_23_16_25_10716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399565081","file1":"1399565077","file0":"1399565075"},"map_files_photo_id_array":[{"photo_id":"1399565081","filename":"file2"},{"photo_id":"1399565077","filename":"file1"},{"photo_id":"1399565075","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399565081":["hashtag1","hashtag2"]},{"1399565075":["hashtag1","hashtag2"]},{"1399565077":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399565081, 1399565075, 1399565077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.85417866706848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 23:17:02.989604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:17:12.285199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:17:22.352540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/16/image_15122025_23_16_44_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/16/image_15122025_23_16_44_9672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399565097"],"photo_id":"1399565097","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d0279bdae62366b8686088857c883228.jpg","text":"TemporaryFile(/tmp/multipartBody3003466991022978476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837102790,"filename":"image_15122025_23_16_44_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399565097"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399565097"}],"hashtags":[],"portfolio_id":"29416301","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.935002565383911 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 23:17:42.283793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/50/image_05112025_16_50_20_3658.jpg', '/home/pi/Desktop/images/05112025/16/50/image_05112025_16_50_23_2563.jpg', '/home/pi/Desktop/images/05112025/16/50/image_05112025_16_50_26_2572.jpg', '/home/pi/Desktop/images/05112025/16/51/image_05112025_16_51_14_48324.jpg', '/home/pi/Desktop/images/05112025/16/51/image_05112025_16_51_16_1676.jpg', '/home/pi/Desktop/images/05112025/16/51/image_05112025_16_51_17_1629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/50/image_05112025_16_50_20_3658.jpg
/home/pi/Desktop/images/05112025/16/50/image_05112025_16_50_23_2563.jpg
/home/pi/Desktop/images/05112025/16/50/image_05112025_16_50_26_2572.jpg
/home/pi/Desktop/images/05112025/16/51/image_05112025_16_51_14_48324.jpg
/home/pi/Desktop/images/05112025/16/51/image_05112025_16_51_16_1676.jpg
/home/pi/Desktop/images/05112025/16/51/image_05112025_16_51_17_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":["1399565115","1399565109","1399565111","1399565117","1399565104","1399565113"],"photo_ids_order":["1399565104","1399565109","1399565111","1399565113","1399565115","1399565117"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a57baa2505758747a330696e9e9d9b1b.jpg","text":"TemporaryFile(/tmp/multipartBody808775652185176613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837122979,"filename":"image_05112025_16_51_16_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/15/44e110fd5c82f045ba7482aa2b4aa0e9.jpg","text":"TemporaryFile(/tmp/multipartBody4587274950515773729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837122979,"filename":"image_05112025_16_50_23_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1203426bcd74d79b3eb04d8a8a089b03.jpg","text":"TemporaryFile(/tmp/multipartBody7324667861575838348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837122979,"filename":"image_05112025_16_50_26_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f33aa453b0569ee11605f33a812cc7cc.jpg","text":"TemporaryFile(/tmp/multipartBody6952994625181741152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837122979,"filename":"image_05112025_16_51_17_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/15/a67efd027341990e0f9a2a0a2f4dddc7.jpg","text":"TemporaryFile(/tmp/multipartBody4495897718532258688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837122979,"filename":"image_05112025_16_50_20_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/83878700a14c646556f56761c6a0bc5d.jpg","text":"TemporaryFile(/tmp/multipartBody2289353953873574586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837122979,"filename":"image_05112025_16_51_14_48324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399565111","file1":"1399565109","file0":"1399565104","file4":"1399565115","file5":"1399565117","file3":"1399565113"},"map_files_photo_id_array":[{"photo_id":"1399565117","filename":"file5"},{"photo_id":"1399565111","filename":"file2"},{"photo_id":"1399565115","filename":"file4"},{"photo_id":"1399565109","filename":"file1"},{"photo_id":"1399565104","filename":"file0"},{"photo_id":"1399565113","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399565115":["hashtag1","hashtag2"]},{"1399565109":["hashtag1","hashtag2"]},{"1399565111":["hashtag1","hashtag2"]},{"1399565117":["hashtag1","hashtag2"]},{"1399565104":["hashtag1","hashtag2"]},{"1399565113":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399565115, 1399565109, 1399565111, 1399565117, 1399565104, 1399565113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.44662594795227 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:18:22.695931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/17/image_15122025_23_17_54_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/17/image_15122025_23_17_54_9782.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3383040428161621 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:18:32.529605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 23:18:42.492342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/51/image_05112025_16_51_19_1635.jpg', '/home/pi/Desktop/images/05112025/16/51/image_05112025_16_51_20_1563.jpg', '/home/pi/Desktop/images/05112025/16/51/image_05112025_16_51_22_1621.jpg', '/home/pi/Desktop/images/05112025/16/51/image_05112025_16_51_24_1523.jpg', '/home/pi/Desktop/images/05112025/16/51/image_05112025_16_51_25_1656.jpg', '/home/pi/Desktop/images/05112025/16/51/image_05112025_16_51_27_1534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/51/image_05112025_16_51_19_1635.jpg
/home/pi/Desktop/images/05112025/16/51/image_05112025_16_51_20_1563.jpg
/home/pi/Desktop/images/05112025/16/51/image_05112025_16_51_22_1621.jpg
/home/pi/Desktop/images/05112025/16/51/image_05112025_16_51_24_1523.jpg
/home/pi/Desktop/images/05112025/16/51/image_05112025_16_51_25_1656.jpg
/home/pi/Desktop/images/05112025/16/51/image_05112025_16_51_27_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":["1399565145","1399565154","1399565142","1399565132","1399565152","1399565155"],"photo_ids_order":["1399565132","1399565142","1399565145","1399565152","1399565154","1399565155"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b05d46b5fdfec61fae848ec275b5db79.jpg","text":"TemporaryFile(/tmp/multipartBody5745244816181381178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837183192,"filename":"image_05112025_16_51_22_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/15/2c26d8c155befb5af39c67c68189b50d.jpg","text":"TemporaryFile(/tmp/multipartBody7417741935946353424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837183192,"filename":"image_05112025_16_51_25_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/15/d8e712efaf889e877cc56fb2ad27fd29.jpg","text":"TemporaryFile(/tmp/multipartBody4494328606988960644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837183192,"filename":"image_05112025_16_51_20_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/15/821f5724a2512912a0c14f2000dbe420.jpg","text":"TemporaryFile(/tmp/multipartBody9016921661574901194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837183192,"filename":"image_05112025_16_51_19_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/15/6fa18cb4f6bc170d2e886b8e527179a3.jpg","text":"TemporaryFile(/tmp/multipartBody5760383436604171531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837183192,"filename":"image_05112025_16_51_24_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/15/9b94cbca9ef85184fc72a15a6a192d9d.jpg","text":"TemporaryFile(/tmp/multipartBody2553919095449821370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837183192,"filename":"image_05112025_16_51_27_1534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399565145","file1":"1399565142","file0":"1399565132","file4":"1399565154","file5":"1399565155","file3":"1399565152"},"map_files_photo_id_array":[{"photo_id":"1399565155","filename":"file5"},{"photo_id":"1399565145","filename":"file2"},{"photo_id":"1399565154","filename":"file4"},{"photo_id":"1399565142","filename":"file1"},{"photo_id":"1399565132","filename":"file0"},{"photo_id":"1399565152","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399565145":["hashtag1","hashtag2"]},{"1399565154":["hashtag1","hashtag2"]},{"1399565142":["hashtag1","hashtag2"]},{"1399565132":["hashtag1","hashtag2"]},{"1399565152":["hashtag1","hashtag2"]},{"1399565155":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399565145, 1399565154, 1399565142, 1399565132, 1399565152, 1399565155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.57264828681946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:19:22.771053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/17/image_15122025_23_17_54_9782.jpg', '/home/pi/Desktop/images/15122025/23/17/image_15122025_23_18_04_9808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/17/image_15122025_23_17_54_9782.jpg
/home/pi/Desktop/images/15122025/23/17/image_15122025_23_18_04_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":["1399565160","1399565162"],"photo_ids_order":["1399565160","1399565162"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7cc3096f039c8f723c3459bc0fa672a1.jpg","text":"TemporaryFile(/tmp/multipartBody5696781819122832044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837223244,"filename":"image_15122025_23_17_54_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f7a1cbac379ef859acaee9462482da73.jpg","text":"TemporaryFile(/tmp/multipartBody794415019462120244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837223244,"filename":"image_15122025_23_18_04_9808.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399565162","file0":"1399565160"},"map_files_photo_id_array":[{"photo_id":"1399565162","filename":"file1"},{"photo_id":"1399565160","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399565160":["hashtag1","hashtag2"]},{"1399565162":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399565160, 1399565162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 26.56707215309143 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 23:20:02.507168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:20:11.939177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:20:21.990821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/18/image_15122025_23_19_05_10015.jpg', '/home/pi/Desktop/images/15122025/23/20/image_15122025_23_20_34_9558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/18/image_15122025_23_19_05_10015.jpg
/home/pi/Desktop/images/15122025/23/20/image_15122025_23_20_34_9558.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399565186","1399565189"],"photo_ids_order":["1399565186","1399565189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/afb001b291412a2e7094e85cb1da9a54.jpg","text":"TemporaryFile(/tmp/multipartBody4667905697419440665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837282459,"filename":"image_15122025_23_19_05_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/15/42ba39e2b7d63a9a0c22ae3b6c2959cc.jpg","text":"TemporaryFile(/tmp/multipartBody5911181485343295978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837282459,"filename":"image_15122025_23_20_34_9558.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399565189","file0":"1399565186"},"map_files_photo_id_array":[{"photo_id":"1399565189","filename":"file1"},{"photo_id":"1399565186","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399565186":["hashtag1","hashtag2"]},{"1399565189":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399565186, 1399565189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.705300092697144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 23:20:41.946234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/51/image_05112025_16_51_28_1550.jpg', '/home/pi/Desktop/images/05112025/16/51/image_05112025_16_51_30_1668.jpg', '/home/pi/Desktop/images/05112025/16/51/image_05112025_16_51_32_1803.jpg', '/home/pi/Desktop/images/05112025/16/51/image_05112025_16_51_33_1534.jpg', '/home/pi/Desktop/images/05112025/16/51/image_05112025_16_51_35_1768.jpg', '/home/pi/Desktop/images/05112025/16/51/image_05112025_16_51_37_1722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/51/image_05112025_16_51_28_1550.jpg
/home/pi/Desktop/images/05112025/16/51/image_05112025_16_51_30_1668.jpg
/home/pi/Desktop/images/05112025/16/51/image_05112025_16_51_32_1803.jpg
/home/pi/Desktop/images/05112025/16/51/image_05112025_16_51_33_1534.jpg
/home/pi/Desktop/images/05112025/16/51/image_05112025_16_51_35_1768.jpg
/home/pi/Desktop/images/05112025/16/51/image_05112025_16_51_37_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":["1399565199","1399565195","1399565207","1399565201","1399565200","1399565206"],"photo_ids_order":["1399565195","1399565199","1399565200","1399565201","1399565206","1399565207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5afcd4bc749b12787f255787e8f219f6.jpg","text":"TemporaryFile(/tmp/multipartBody3018934971745200534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837302637,"filename":"image_05112025_16_51_30_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/15/dda7bb2fe1f119836d6513049afa651e.jpg","text":"TemporaryFile(/tmp/multipartBody8382617119598707150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837302637,"filename":"image_05112025_16_51_28_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/15/bcdc5ffea1b26d788430726c63fa3fb3.jpg","text":"TemporaryFile(/tmp/multipartBody5901679753470051740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837302637,"filename":"image_05112025_16_51_37_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/15/36ce962218616015f619b3f77a136c25.jpg","text":"TemporaryFile(/tmp/multipartBody8867685582516416205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837302637,"filename":"image_05112025_16_51_33_1534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/34498470799d4f14689a4a0b556cdb5d.jpg","text":"TemporaryFile(/tmp/multipartBody2545238683416457138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837302637,"filename":"image_05112025_16_51_32_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/15/37dd7632620ca80ca9a9ef822fc56622.jpg","text":"TemporaryFile(/tmp/multipartBody6975043766923953106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837302637,"filename":"image_05112025_16_51_35_1768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399565200","file1":"1399565199","file0":"1399565195","file4":"1399565206","file5":"1399565207","file3":"1399565201"},"map_files_photo_id_array":[{"photo_id":"1399565207","filename":"file5"},{"photo_id":"1399565200","filename":"file2"},{"photo_id":"1399565206","filename":"file4"},{"photo_id":"1399565199","filename":"file1"},{"photo_id":"1399565195","filename":"file0"},{"photo_id":"1399565201","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399565199":["hashtag1","hashtag2"]},{"1399565195":["hashtag1","hashtag2"]},{"1399565207":["hashtag1","hashtag2"]},{"1399565201":["hashtag1","hashtag2"]},{"1399565200":["hashtag1","hashtag2"]},{"1399565206":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399565199, 1399565195, 1399565207, 1399565201, 1399565200, 1399565206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86031937599182 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:21:22.210875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/20/image_15122025_23_20_44_9730.jpg', '/home/pi/Desktop/images/15122025/23/20/image_15122025_23_21_04_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/20/image_15122025_23_20_44_9730.jpg
/home/pi/Desktop/images/15122025/23/20/image_15122025_23_21_04_9713.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399565217","1399565213"],"photo_ids_order":["1399565213","1399565217"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e8e40ce3f5bec6a54dfd7303a626bc64.jpg","text":"TemporaryFile(/tmp/multipartBody4581863317983230663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837342678,"filename":"image_15122025_23_21_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/15/fd42de9874869ce89238c7178591cef4.jpg","text":"TemporaryFile(/tmp/multipartBody2626130398917941068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837342678,"filename":"image_15122025_23_20_44_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399565217","file0":"1399565213"},"map_files_photo_id_array":[{"photo_id":"1399565217","filename":"file1"},{"photo_id":"1399565213","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399565217":["hashtag1","hashtag2"]},{"1399565213":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399565217, 1399565213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.14938473701477 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 23:21:42.119362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/51/image_05112025_16_51_38_1669.jpg', '/home/pi/Desktop/images/05112025/16/51/image_05112025_16_51_59_20984.jpg', '/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_01_1667.jpg', '/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_03_1709.jpg', '/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_05_1715.jpg', '/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_06_1647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/51/image_05112025_16_51_38_1669.jpg
/home/pi/Desktop/images/05112025/16/51/image_05112025_16_51_59_20984.jpg
/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_01_1667.jpg
/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_03_1709.jpg
/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_05_1715.jpg
/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_06_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":["1399565229","1399565223","1399565231","1399565225","1399565233","1399565221"],"photo_ids_order":["1399565221","1399565223","1399565225","1399565229","1399565231","1399565233"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b8532e2fc10053c27618d80e2b77998d.jpg","text":"TemporaryFile(/tmp/multipartBody3995244086976198179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837362812,"filename":"image_05112025_16_52_03_1709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6b558799fdb5010828484b366b090a14.jpg","text":"TemporaryFile(/tmp/multipartBody1144533427668859163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837362812,"filename":"image_05112025_16_51_59_20984.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ed9b258f17939b460779f5728d313d0e.jpg","text":"TemporaryFile(/tmp/multipartBody8533068667231661415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837362812,"filename":"image_05112025_16_52_05_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/15/d9f3bfffe517f0b9d707f59d084a411c.jpg","text":"TemporaryFile(/tmp/multipartBody6151063745345440650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837362812,"filename":"image_05112025_16_52_01_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/15/5a2bdcafc9ebd69d4d7ca4a40d861169.jpg","text":"TemporaryFile(/tmp/multipartBody3517690448036985795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837362812,"filename":"image_05112025_16_52_06_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/15/10d4cad79d6850b2091b6061fcc45fdf.jpg","text":"TemporaryFile(/tmp/multipartBody3780714120367994173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837362812,"filename":"image_05112025_16_51_38_1669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399565225","file1":"1399565223","file0":"1399565221","file4":"1399565231","file5":"1399565233","file3":"1399565229"},"map_files_photo_id_array":[{"photo_id":"1399565233","filename":"file5"},{"photo_id":"1399565225","filename":"file2"},{"photo_id":"1399565231","filename":"file4"},{"photo_id":"1399565223","filename":"file1"},{"photo_id":"1399565221","filename":"file0"},{"photo_id":"1399565229","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399565229":["hashtag1","hashtag2"]},{"1399565223":["hashtag1","hashtag2"]},{"1399565231":["hashtag1","hashtag2"]},{"1399565225":["hashtag1","hashtag2"]},{"1399565233":["hashtag1","hashtag2"]},{"1399565221":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399565229, 1399565223, 1399565231, 1399565225, 1399565233, 1399565221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97968101501465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:22:22.396851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/21/image_15122025_23_21_14_9675.jpg', '/home/pi/Desktop/images/15122025/23/22/image_15122025_23_22_15_10791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/21/image_15122025_23_21_14_9675.jpg
/home/pi/Desktop/images/15122025/23/22/image_15122025_23_22_15_10791.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399565241","1399565239"],"photo_ids_order":["1399565239","1399565241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5f32ed53494b100d40b57c8dec19e461.jpg","text":"TemporaryFile(/tmp/multipartBody116596552085375698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837402863,"filename":"image_15122025_23_22_15_10791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/03e1634a9b5049c5e227a24ed85de907.jpg","text":"TemporaryFile(/tmp/multipartBody4063664880822101601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837402863,"filename":"image_15122025_23_21_14_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399565241","file0":"1399565239"},"map_files_photo_id_array":[{"photo_id":"1399565241","filename":"file1"},{"photo_id":"1399565239","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399565241":["hashtag1","hashtag2"]},{"1399565239":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399565241, 1399565239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.331056594848633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 23:22:42.385757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_08_1530.jpg', '/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_16_8564.jpg', '/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_18_1760.jpg', '/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_20_1562.jpg', '/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_21_1496.jpg', '/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_23_1839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_08_1530.jpg
/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_16_8564.jpg
/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_18_1760.jpg
/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_20_1562.jpg
/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_21_1496.jpg
/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_23_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":["1399565262","1399565256","1399565255","1399565245","1399565254","1399565257"],"photo_ids_order":["1399565245","1399565254","1399565255","1399565256","1399565257","1399565262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dc078054e3de2370b65f6f94c06ecc8e.jpg","text":"TemporaryFile(/tmp/multipartBody2370411434255130026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837423079,"filename":"image_05112025_16_52_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/15/68714c5fce08e29da117c5146cc3fe72.jpg","text":"TemporaryFile(/tmp/multipartBody9095183257333619588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837423079,"filename":"image_05112025_16_52_20_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/15/9cecd31d997bd76e0d26a99d2fc5c124.jpg","text":"TemporaryFile(/tmp/multipartBody5056876251684446545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837423079,"filename":"image_05112025_16_52_18_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/15/84944712d46f89f9bc23524528ac3057.jpg","text":"TemporaryFile(/tmp/multipartBody1051592745576462867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837423079,"filename":"image_05112025_16_52_08_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/15/51c0ff5a968198589b7314c4cd2fce56.jpg","text":"TemporaryFile(/tmp/multipartBody4802124477686200844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837423079,"filename":"image_05112025_16_52_16_8564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3422c802e104f2531c59af75697b740d.jpg","text":"TemporaryFile(/tmp/multipartBody2598848386451106583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837423079,"filename":"image_05112025_16_52_21_1496.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399565255","file1":"1399565254","file0":"1399565245","file4":"1399565257","file5":"1399565262","file3":"1399565256"},"map_files_photo_id_array":[{"photo_id":"1399565262","filename":"file5"},{"photo_id":"1399565255","filename":"file2"},{"photo_id":"1399565257","filename":"file4"},{"photo_id":"1399565254","filename":"file1"},{"photo_id":"1399565245","filename":"file0"},{"photo_id":"1399565256","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399565262":["hashtag1","hashtag2"]},{"1399565256":["hashtag1","hashtag2"]},{"1399565255":["hashtag1","hashtag2"]},{"1399565245":["hashtag1","hashtag2"]},{"1399565254":["hashtag1","hashtag2"]},{"1399565257":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399565262, 1399565256, 1399565255, 1399565245, 1399565254, 1399565257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44560098648071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:23:22.633856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/22/image_15122025_23_22_24_9714.jpg', '/home/pi/Desktop/images/15122025/23/22/image_15122025_23_23_05_9866.jpg', '/home/pi/Desktop/images/15122025/23/23/image_15122025_23_23_14_9750.jpg', '/home/pi/Desktop/images/15122025/23/23/image_15122025_23_23_24_9869.jpg', '/home/pi/Desktop/images/15122025/23/23/image_15122025_23_23_34_9687.jpg', '/home/pi/Desktop/images/15122025/23/23/image_15122025_23_23_45_10724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/22/image_15122025_23_22_24_9714.jpg
/home/pi/Desktop/images/15122025/23/22/image_15122025_23_23_05_9866.jpg
/home/pi/Desktop/images/15122025/23/23/image_15122025_23_23_14_9750.jpg
/home/pi/Desktop/images/15122025/23/23/image_15122025_23_23_24_9869.jpg
/home/pi/Desktop/images/15122025/23/23/image_15122025_23_23_34_9687.jpg
/home/pi/Desktop/images/15122025/23/23/image_15122025_23_23_45_10724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399565297","1399565288","1399565300","1399565290","1399565293","1399565295"],"photo_ids_order":["1399565288","1399565290","1399565293","1399565295","1399565297","1399565300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d39d9364b16bc8a2a9dad5fa7ef503d9.jpg","text":"TemporaryFile(/tmp/multipartBody83651881060275487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837463322,"filename":"image_15122025_23_23_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/15/0602358df9d8bd10f5233df163f411e6.jpg","text":"TemporaryFile(/tmp/multipartBody4863955596636006384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837463322,"filename":"image_15122025_23_22_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/15/52c4c289c957b872d87fb55a8595803a.jpg","text":"TemporaryFile(/tmp/multipartBody1538445833718824046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837463322,"filename":"image_15122025_23_23_45_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0ebf27f9fa35629f114994e45d989fa2.jpg","text":"TemporaryFile(/tmp/multipartBody4862041843314068597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837463322,"filename":"image_15122025_23_23_05_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dca884eb16b9458757c9b08c53427d38.jpg","text":"TemporaryFile(/tmp/multipartBody3508127898033132781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837463322,"filename":"image_15122025_23_23_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/15/87c14eb0e473b41d3e95f3d2fd4012ae.jpg","text":"TemporaryFile(/tmp/multipartBody5204201855871182501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837463322,"filename":"image_15122025_23_23_24_9869.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399565293","file1":"1399565290","file0":"1399565288","file4":"1399565297","file5":"1399565300","file3":"1399565295"},"map_files_photo_id_array":[{"photo_id":"1399565300","filename":"file5"},{"photo_id":"1399565293","filename":"file2"},{"photo_id":"1399565297","filename":"file4"},{"photo_id":"1399565290","filename":"file1"},{"photo_id":"1399565288","filename":"file0"},{"photo_id":"1399565295","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399565297":["hashtag1","hashtag2"]},{"1399565288":["hashtag1","hashtag2"]},{"1399565300":["hashtag1","hashtag2"]},{"1399565290":["hashtag1","hashtag2"]},{"1399565293":["hashtag1","hashtag2"]},{"1399565295":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399565297, 1399565288, 1399565300, 1399565290, 1399565293, 1399565295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25364875793457 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 23:24:02.432878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:24:11.821239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:24:21.855264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/23/image_15122025_23_23_54_9825.jpg', '/home/pi/Desktop/images/15122025/23/23/image_15122025_23_24_04_9754.jpg', '/home/pi/Desktop/images/15122025/23/24/image_15122025_23_24_25_10768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/23/image_15122025_23_23_54_9825.jpg
/home/pi/Desktop/images/15122025/23/23/image_15122025_23_24_04_9754.jpg
/home/pi/Desktop/images/15122025/23/24/image_15122025_23_24_25_10768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399565313","1399565318","1399565323"],"photo_ids_order":["1399565313","1399565318","1399565323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9c6e434cc3fd6fc5e88fbeb5b9ca7519.jpg","text":"TemporaryFile(/tmp/multipartBody8021802868415223057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837522368,"filename":"image_15122025_23_23_54_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/15/d1ad0d9a78daa6d273b623cb6dcd835e.jpg","text":"TemporaryFile(/tmp/multipartBody4304176921503829294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837522368,"filename":"image_15122025_23_24_04_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8eb9e3cc55f691847505f815d0b6e6e4.jpg","text":"TemporaryFile(/tmp/multipartBody505595672702271946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837522368,"filename":"image_15122025_23_24_25_10768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399565323","file1":"1399565318","file0":"1399565313"},"map_files_photo_id_array":[{"photo_id":"1399565323","filename":"file2"},{"photo_id":"1399565318","filename":"file1"},{"photo_id":"1399565313","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399565313":["hashtag1","hashtag2"]},{"1399565318":["hashtag1","hashtag2"]},{"1399565323":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399565313, 1399565318, 1399565323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.80084800720215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 23:25:02.767240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:25:12.031174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:25:22.075837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/24/image_15122025_23_24_55_10844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/24/image_15122025_23_24_55_10844.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399565335"],"photo_id":"1399565335","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9ea5f97069910bd648126803c72adeac.jpg","text":"TemporaryFile(/tmp/multipartBody7437696583732567079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837582506,"filename":"image_15122025_23_24_55_10844.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399565335"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399565335"}],"hashtags":[],"portfolio_id":"29416301","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.224008798599243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 23:25:42.042140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_24_1535.jpg', '/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_26_1720.jpg', '/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_28_1691.jpg', '/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_29_1615.jpg', '/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_31_1534.jpg', '/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_33_1767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_24_1535.jpg
/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_26_1720.jpg
/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_28_1691.jpg
/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_29_1615.jpg
/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_31_1534.jpg
/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_33_1767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399565370","1399565369","1399565371","1399565365","1399565368","1399565367"],"photo_ids_order":["1399565365","1399565367","1399565368","1399565369","1399565370","1399565371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/59237f7190341fcb7cbc90550a33a60e.jpg","text":"TemporaryFile(/tmp/multipartBody855234801176918255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837602736,"filename":"image_05112025_16_52_31_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/15/61e8cd17a1f03c8b7367086058be406e.jpg","text":"TemporaryFile(/tmp/multipartBody8581367025741635344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837602736,"filename":"image_05112025_16_52_29_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/15/708a78fd748bed6db808762d795d76b8.jpg","text":"TemporaryFile(/tmp/multipartBody1964561570239977465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837602736,"filename":"image_05112025_16_52_33_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/15/5e9645f3a3192425eade32f62287f2e6.jpg","text":"TemporaryFile(/tmp/multipartBody7625426109461879576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837602736,"filename":"image_05112025_16_52_24_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/15/28c1d6c184e43c757a1a43403362a7cc.jpg","text":"TemporaryFile(/tmp/multipartBody2960366615300354827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837602736,"filename":"image_05112025_16_52_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/15/abd331cd44030754930373f18cce22c8.jpg","text":"TemporaryFile(/tmp/multipartBody3057065510881625634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837602736,"filename":"image_05112025_16_52_26_1720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399565368","file1":"1399565367","file0":"1399565365","file4":"1399565370","file5":"1399565371","file3":"1399565369"},"map_files_photo_id_array":[{"photo_id":"1399565371","filename":"file5"},{"photo_id":"1399565368","filename":"file2"},{"photo_id":"1399565370","filename":"file4"},{"photo_id":"1399565367","filename":"file1"},{"photo_id":"1399565365","filename":"file0"},{"photo_id":"1399565369","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399565370":["hashtag1","hashtag2"]},{"1399565369":["hashtag1","hashtag2"]},{"1399565371":["hashtag1","hashtag2"]},{"1399565365":["hashtag1","hashtag2"]},{"1399565368":["hashtag1","hashtag2"]},{"1399565367":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399565370, 1399565369, 1399565371, 1399565365, 1399565368, 1399565367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.209120750427246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:26:22.311083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/25/image_15122025_23_25_45_9800.jpg', '/home/pi/Desktop/images/15122025/23/26/image_15122025_23_26_25_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/25/image_15122025_23_25_45_9800.jpg
/home/pi/Desktop/images/15122025/23/26/image_15122025_23_26_25_10623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399565376","1399565379"],"photo_ids_order":["1399565376","1399565379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/abad75b4f4c8e8747c0dfc5cb0c5eb7e.jpg","text":"TemporaryFile(/tmp/multipartBody8941180361476484459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837642779,"filename":"image_15122025_23_25_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/15/65834ccc8a7249e71cee29be18e597f3.jpg","text":"TemporaryFile(/tmp/multipartBody4510880053270802227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837642779,"filename":"image_15122025_23_26_25_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399565379","file0":"1399565376"},"map_files_photo_id_array":[{"photo_id":"1399565379","filename":"file1"},{"photo_id":"1399565376","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399565376":["hashtag1","hashtag2"]},{"1399565379":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399565376, 1399565379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.226126670837402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 23:26:42.237433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_34_1647.jpg', '/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_36_1558.jpg', '/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_38_1643.jpg', '/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_39_1704.jpg', '/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_03_23685.jpg', '/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_05_1715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_34_1647.jpg
/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_36_1558.jpg
/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_38_1643.jpg
/home/pi/Desktop/images/05112025/16/52/image_05112025_16_52_39_1704.jpg
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_03_23685.jpg
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_05_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":["1399565384","1399565423","1399565405","1399565416","1399565410","1399565394"],"photo_ids_order":["1399565384","1399565394","1399565405","1399565410","1399565416","1399565423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d7e78d0a192155b5c93cf113a8030d1f.jpg","text":"TemporaryFile(/tmp/multipartBody4014533761536613222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837662941,"filename":"image_05112025_16_52_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/15/3a5051b89e517571c25a9acfe6d9e1c7.jpg","text":"TemporaryFile(/tmp/multipartBody3514233809003232230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837662941,"filename":"image_05112025_16_53_05_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/15/0c8e32230631fca090f12f77941269aa.jpg","text":"TemporaryFile(/tmp/multipartBody723264998429253505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837662941,"filename":"image_05112025_16_52_38_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/15/d4ca9bfc326d94adc741b6c60c3b5534.jpg","text":"TemporaryFile(/tmp/multipartBody7125683294698948516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837662941,"filename":"image_05112025_16_53_03_23685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a4fe91424da4c220e207d1a4e221d0ee.jpg","text":"TemporaryFile(/tmp/multipartBody6837376794091000593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837662941,"filename":"image_05112025_16_52_39_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/15/9d94b2558f6781a976dfb87f4f01e6c1.jpg","text":"TemporaryFile(/tmp/multipartBody9179726500834021943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837662941,"filename":"image_05112025_16_52_36_1558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399565405","file1":"1399565394","file0":"1399565384","file4":"1399565416","file5":"1399565423","file3":"1399565410"},"map_files_photo_id_array":[{"photo_id":"1399565423","filename":"file5"},{"photo_id":"1399565405","filename":"file2"},{"photo_id":"1399565416","filename":"file4"},{"photo_id":"1399565394","filename":"file1"},{"photo_id":"1399565384","filename":"file0"},{"photo_id":"1399565410","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399565384":["hashtag1","hashtag2"]},{"1399565423":["hashtag1","hashtag2"]},{"1399565405":["hashtag1","hashtag2"]},{"1399565416":["hashtag1","hashtag2"]},{"1399565410":["hashtag1","hashtag2"]},{"1399565394":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399565384, 1399565423, 1399565405, 1399565416, 1399565410, 1399565394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23902630805969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:27:22.530822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/26/image_15122025_23_26_55_10791.jpg', '/home/pi/Desktop/images/15122025/23/26/image_15122025_23_27_05_9738.jpg', '/home/pi/Desktop/images/15122025/23/27/image_15122025_23_27_24_9778.jpg', '/home/pi/Desktop/images/15122025/23/27/image_15122025_23_27_44_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/26/image_15122025_23_26_55_10791.jpg
/home/pi/Desktop/images/15122025/23/26/image_15122025_23_27_05_9738.jpg
/home/pi/Desktop/images/15122025/23/27/image_15122025_23_27_24_9778.jpg
/home/pi/Desktop/images/15122025/23/27/image_15122025_23_27_44_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":["1399565430","1399565427","1399565432","1399565428"],"photo_ids_order":["1399565427","1399565428","1399565430","1399565432"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8be61a6c965cbf47c2935d1491d2c973.jpg","text":"TemporaryFile(/tmp/multipartBody1375143468013677221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837703093,"filename":"image_15122025_23_27_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/15/3579bb43e92049de3b6fc3bed38fe546.jpg","text":"TemporaryFile(/tmp/multipartBody624023438052333004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837703093,"filename":"image_15122025_23_26_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/15/2f0c355a85ac1a62ab88d2794c89411c.jpg","text":"TemporaryFile(/tmp/multipartBody8936942676871128199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837703093,"filename":"image_15122025_23_27_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/15/e8674cb93438828aba03542fc8148c90.jpg","text":"TemporaryFile(/tmp/multipartBody6680620981506770562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837703093,"filename":"image_15122025_23_27_05_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399565430","file1":"1399565428","file0":"1399565427","file3":"1399565432"},"map_files_photo_id_array":[{"photo_id":"1399565430","filename":"file2"},{"photo_id":"1399565428","filename":"file1"},{"photo_id":"1399565427","filename":"file0"},{"photo_id":"1399565432","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399565430":["hashtag1","hashtag2"]},{"1399565427":["hashtag1","hashtag2"]},{"1399565432":["hashtag1","hashtag2"]},{"1399565428":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399565430, 1399565427, 1399565432, 1399565428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.2173113822937 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 23:28:03.140945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:28:12.749541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:28:22.748022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_07_1794.jpg', '/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_08_1654.jpg', '/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_10_1624.jpg', '/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_11_1537.jpg', '/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_13_1544.jpg', '/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_16_1537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_07_1794.jpg
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_08_1654.jpg
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_10_1624.jpg
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_11_1537.jpg
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_13_1544.jpg
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_16_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":["1399565457","1399565456","1399565461","1399565458","1399565452","1399565455"],"photo_ids_order":["1399565452","1399565455","1399565456","1399565457","1399565458","1399565461"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e35b45fab2a4cb4e44ec956b282423c7.jpg","text":"TemporaryFile(/tmp/multipartBody2343237123127733498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837763480,"filename":"image_05112025_16_53_11_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/15/acba3fe9fc9a7ae963a49ef87a12a033.jpg","text":"TemporaryFile(/tmp/multipartBody5180218226163354376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837763480,"filename":"image_05112025_16_53_10_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c86a2af364881926c2865f500b5153cb.jpg","text":"TemporaryFile(/tmp/multipartBody7087529461089719976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837763480,"filename":"image_05112025_16_53_16_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/15/cccb9869fc4872e11a29dc0d1f6b7fc6.jpg","text":"TemporaryFile(/tmp/multipartBody2350352811427657210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837763480,"filename":"image_05112025_16_53_13_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/15/9897514d7a2617ca0fbabfdcfde65aec.jpg","text":"TemporaryFile(/tmp/multipartBody3341817625197300675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837763480,"filename":"image_05112025_16_53_07_1794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/02b12e9c53499fe6a8b075e69d7e3439.jpg","text":"TemporaryFile(/tmp/multipartBody1466003885265808507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837763480,"filename":"image_05112025_16_53_08_1654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399565456","file1":"1399565455","file0":"1399565452","file4":"1399565458","file5":"1399565461","file3":"1399565457"},"map_files_photo_id_array":[{"photo_id":"1399565461","filename":"file5"},{"photo_id":"1399565456","filename":"file2"},{"photo_id":"1399565458","filename":"file4"},{"photo_id":"1399565455","filename":"file1"},{"photo_id":"1399565452","filename":"file0"},{"photo_id":"1399565457","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399565457":["hashtag1","hashtag2"]},{"1399565456":["hashtag1","hashtag2"]},{"1399565461":["hashtag1","hashtag2"]},{"1399565458":["hashtag1","hashtag2"]},{"1399565452":["hashtag1","hashtag2"]},{"1399565455":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399565457, 1399565456, 1399565461, 1399565458, 1399565452, 1399565455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.798635482788086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 23:29:02.985705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:29:12.123725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:29:22.133342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/27/image_15122025_23_27_54_9664.jpg', '/home/pi/Desktop/images/15122025/23/28/image_15122025_23_29_04_9699.jpg', '/home/pi/Desktop/images/15122025/23/29/image_15122025_23_29_24_9702.jpg', '/home/pi/Desktop/images/15122025/23/29/image_15122025_23_29_34_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/27/image_15122025_23_27_54_9664.jpg
/home/pi/Desktop/images/15122025/23/28/image_15122025_23_29_04_9699.jpg
/home/pi/Desktop/images/15122025/23/29/image_15122025_23_29_24_9702.jpg
/home/pi/Desktop/images/15122025/23/29/image_15122025_23_29_34_9684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399565483","1399565489","1399565491","1399565485"],"photo_ids_order":["1399565483","1399565485","1399565489","1399565491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4fb622dba068490333a0758978820cd1.jpg","text":"TemporaryFile(/tmp/multipartBody2464217104916347746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837822726,"filename":"image_15122025_23_27_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/15/73ed4a7f53a7a4acfea1537ec0432a02.jpg","text":"TemporaryFile(/tmp/multipartBody7286057803056131642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837822726,"filename":"image_15122025_23_29_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/15/812f47f68b6486ca249d153c06523f76.jpg","text":"TemporaryFile(/tmp/multipartBody8196639239894864972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837822726,"filename":"image_15122025_23_29_34_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/09e5458700371b19af841a7fb6e9f459.jpg","text":"TemporaryFile(/tmp/multipartBody4204648755649022903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837822726,"filename":"image_15122025_23_29_04_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399565489","file1":"1399565485","file0":"1399565483","file3":"1399565491"},"map_files_photo_id_array":[{"photo_id":"1399565489","filename":"file2"},{"photo_id":"1399565485","filename":"file1"},{"photo_id":"1399565483","filename":"file0"},{"photo_id":"1399565491","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399565483":["hashtag1","hashtag2"]},{"1399565489":["hashtag1","hashtag2"]},{"1399565491":["hashtag1","hashtag2"]},{"1399565485":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399565483, 1399565489, 1399565491, 1399565485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.73563504219055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 23:30:02.795862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:30:12.377998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:30:22.371228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/29/image_15122025_23_29_45_10736.jpg', '/home/pi/Desktop/images/15122025/23/29/image_15122025_23_30_04_9805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/29/image_15122025_23_29_45_10736.jpg
/home/pi/Desktop/images/15122025/23/29/image_15122025_23_30_04_9805.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399565501","1399565503"],"photo_ids_order":["1399565501","1399565503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c48c024040a80b6099df00f75d987b5f.jpg","text":"TemporaryFile(/tmp/multipartBody7264329698002147876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837882858,"filename":"image_15122025_23_29_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/15/0c9f590714a21235a1bfb53e43d45d10.jpg","text":"TemporaryFile(/tmp/multipartBody518949068019291934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837882858,"filename":"image_15122025_23_30_04_9805.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399565503","file0":"1399565501"},"map_files_photo_id_array":[{"photo_id":"1399565503","filename":"file1"},{"photo_id":"1399565501","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399565501":["hashtag1","hashtag2"]},{"1399565503":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399565501, 1399565503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.34782123565674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 23:30:42.295213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_18_1489.jpg', '/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_19_1550.jpg', '/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_21_1652.jpg', '/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_23_1744.jpg', '/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_24_1607.jpg', '/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_26_1775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_18_1489.jpg
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_19_1550.jpg
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_21_1652.jpg
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_23_1744.jpg
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_24_1607.jpg
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_26_1775.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5789847373962402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 23:31:03.221351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:31:12.513653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:31:22.590490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/30/image_15122025_23_30_44_9755.jpg', '/home/pi/Desktop/images/15122025/23/30/image_15122025_23_31_04_9925.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/30/image_15122025_23_30_44_9755.jpg
/home/pi/Desktop/images/15122025/23/30/image_15122025_23_31_04_9925.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399565541","1399565539"],"photo_ids_order":["1399565539","1399565541"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1bec59243239abb17f4edf6d7993b61a.jpg","text":"TemporaryFile(/tmp/multipartBody8132619757161835718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837943078,"filename":"image_15122025_23_31_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/15/a88bc257201198c5bbe4cbc3300b4fe3.jpg","text":"TemporaryFile(/tmp/multipartBody4012940165093878265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837943078,"filename":"image_15122025_23_30_44_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399565541","file0":"1399565539"},"map_files_photo_id_array":[{"photo_id":"1399565541","filename":"file1"},{"photo_id":"1399565539","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399565541":["hashtag1","hashtag2"]},{"1399565539":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399565541, 1399565539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.157455682754517 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 23:31:42.529630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_18_1489.jpg', '/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_19_1550.jpg', '/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_21_1652.jpg', '/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_23_1744.jpg', '/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_24_1607.jpg', '/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_26_1775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_18_1489.jpg
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_19_1550.jpg
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_21_1652.jpg
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_23_1744.jpg
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_24_1607.jpg
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_26_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":["1399565553","1399565550","1399565544","1399565546","1399565549","1399565551"],"photo_ids_order":["1399565544","1399565546","1399565549","1399565550","1399565551","1399565553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8434d4f774d64876f15db48d5722dc8c.jpg","text":"TemporaryFile(/tmp/multipartBody5546948551656952364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837963117,"filename":"image_05112025_16_53_26_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/15/62c612accbc6fd721e243fe9c24ad59c.jpg","text":"TemporaryFile(/tmp/multipartBody1864373711160048349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837963117,"filename":"image_05112025_16_53_23_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/15/0aedce8c965901f824498ba83e848766.jpg","text":"TemporaryFile(/tmp/multipartBody1356855467437160224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837963117,"filename":"image_05112025_16_53_18_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/15/c22ef4fcb54d4609d7ee5e58d3db6cd5.jpg","text":"TemporaryFile(/tmp/multipartBody2298884725442256774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837963117,"filename":"image_05112025_16_53_19_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/15/e0d5174d68cd08f60befde7dfee3a6c0.jpg","text":"TemporaryFile(/tmp/multipartBody7924578811203419423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837963117,"filename":"image_05112025_16_53_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/15/0263a5bba38adbe8f28ea8f7713df9ab.jpg","text":"TemporaryFile(/tmp/multipartBody3820023625435406111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765837963117,"filename":"image_05112025_16_53_24_1607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399565549","file1":"1399565546","file0":"1399565544","file4":"1399565551","file5":"1399565553","file3":"1399565550"},"map_files_photo_id_array":[{"photo_id":"1399565553","filename":"file5"},{"photo_id":"1399565549","filename":"file2"},{"photo_id":"1399565551","filename":"file4"},{"photo_id":"1399565546","filename":"file1"},{"photo_id":"1399565544","filename":"file0"},{"photo_id":"1399565550","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399565553":["hashtag1","hashtag2"]},{"1399565550":["hashtag1","hashtag2"]},{"1399565544":["hashtag1","hashtag2"]},{"1399565546":["hashtag1","hashtag2"]},{"1399565549":["hashtag1","hashtag2"]},{"1399565551":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399565553, 1399565550, 1399565544, 1399565546, 1399565549, 1399565551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23553943634033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:32:22.877446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/31/image_15122025_23_31_14_9640.jpg', '/home/pi/Desktop/images/15122025/23/32/image_15122025_23_32_14_9790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/31/image_15122025_23_31_14_9640.jpg
/home/pi/Desktop/images/15122025/23/32/image_15122025_23_32_14_9790.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399565562","1399565560"],"photo_ids_order":["1399565560","1399565562"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9d5cfbcd63f1d2fd95bc20279d82ea2e.jpg","text":"TemporaryFile(/tmp/multipartBody9027478336379249494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838003348,"filename":"image_15122025_23_32_14_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/061bb7428695e24f3cb7812ad4b165ad.jpg","text":"TemporaryFile(/tmp/multipartBody7833145178708219221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838003348,"filename":"image_15122025_23_31_14_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399565562","file0":"1399565560"},"map_files_photo_id_array":[{"photo_id":"1399565562","filename":"file1"},{"photo_id":"1399565560","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399565562":["hashtag1","hashtag2"]},{"1399565560":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399565562, 1399565560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.25551676750183 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 23:32:42.857983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_28_1612.jpg', '/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_29_1642.jpg', '/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_31_1559.jpg', '/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_33_1638.jpg', '/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_34_1915.jpg', '/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_38_3530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_28_1612.jpg
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_29_1642.jpg
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_31_1559.jpg
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_33_1638.jpg
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_34_1915.jpg
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_38_3530.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399565580","1399565577","1399565582","1399565579","1399565575","1399565569"],"photo_ids_order":["1399565569","1399565575","1399565577","1399565579","1399565580","1399565582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/162574b15e67ea1bf31c194bbde034e5.jpg","text":"TemporaryFile(/tmp/multipartBody7101324459378892067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838023582,"filename":"image_05112025_16_53_34_1915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/094e71d5ef302918c07f422b73f8e8a2.jpg","text":"TemporaryFile(/tmp/multipartBody2109726479696854621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838023582,"filename":"image_05112025_16_53_31_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/15/de5394d27da527398817fc8bee578989.jpg","text":"TemporaryFile(/tmp/multipartBody4714848563714322931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838023582,"filename":"image_05112025_16_53_38_3530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bbd93cecf02e3c3f4fec6ad2491550aa.jpg","text":"TemporaryFile(/tmp/multipartBody4174129035721889860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838023582,"filename":"image_05112025_16_53_33_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/15/fc4fa307e6c8d9896bb0cc52bee6ce7c.jpg","text":"TemporaryFile(/tmp/multipartBody4796953512937819728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838023582,"filename":"image_05112025_16_53_29_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/15/ca6b8db757b82a79aaabd2a4ced3b49c.jpg","text":"TemporaryFile(/tmp/multipartBody5485729524550446508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838023582,"filename":"image_05112025_16_53_28_1612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399565577","file1":"1399565575","file0":"1399565569","file4":"1399565580","file5":"1399565582","file3":"1399565579"},"map_files_photo_id_array":[{"photo_id":"1399565582","filename":"file5"},{"photo_id":"1399565577","filename":"file2"},{"photo_id":"1399565580","filename":"file4"},{"photo_id":"1399565575","filename":"file1"},{"photo_id":"1399565569","filename":"file0"},{"photo_id":"1399565579","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399565580":["hashtag1","hashtag2"]},{"1399565577":["hashtag1","hashtag2"]},{"1399565582":["hashtag1","hashtag2"]},{"1399565579":["hashtag1","hashtag2"]},{"1399565575":["hashtag1","hashtag2"]},{"1399565569":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399565580, 1399565577, 1399565582, 1399565579, 1399565575, 1399565569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32536768913269 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:33:32.241707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 23:33:42.087469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_40_1657.jpg', '/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_41_1570.jpg', '/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_43_1622.jpg', '/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_44_1608.jpg', '/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_46_1733.jpg', '/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_48_1515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_40_1657.jpg
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_41_1570.jpg
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_43_1622.jpg
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_44_1608.jpg
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_46_1733.jpg
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_48_1515.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399565597","1399565600","1399565599","1399565593","1399565596","1399565598"],"photo_ids_order":["1399565593","1399565596","1399565597","1399565598","1399565599","1399565600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/adb38f415c3747d6cae8f2b672ede4c1.jpg","text":"TemporaryFile(/tmp/multipartBody6319600102678024739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838082774,"filename":"image_05112025_16_53_43_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/15/0a36d1a6884403d565e399f5acd01ba7.jpg","text":"TemporaryFile(/tmp/multipartBody7471704897756968476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838082774,"filename":"image_05112025_16_53_48_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/15/ac660eb694b64c91d592f1681cc27e10.jpg","text":"TemporaryFile(/tmp/multipartBody939236909591847246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838082774,"filename":"image_05112025_16_53_46_1733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f2ff59f0d8959122120bb494ce2e73e2.jpg","text":"TemporaryFile(/tmp/multipartBody1584208285783389268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838082774,"filename":"image_05112025_16_53_40_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/15/6d7dec335055ce71a641f2981e309223.jpg","text":"TemporaryFile(/tmp/multipartBody2959220479062132279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838082774,"filename":"image_05112025_16_53_41_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/15/6f965cef38edfc43e2b09cd8a0cb17ab.jpg","text":"TemporaryFile(/tmp/multipartBody4938630774906781972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838082774,"filename":"image_05112025_16_53_44_1608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399565597","file1":"1399565596","file0":"1399565593","file4":"1399565599","file5":"1399565600","file3":"1399565598"},"map_files_photo_id_array":[{"photo_id":"1399565600","filename":"file5"},{"photo_id":"1399565597","filename":"file2"},{"photo_id":"1399565599","filename":"file4"},{"photo_id":"1399565596","filename":"file1"},{"photo_id":"1399565593","filename":"file0"},{"photo_id":"1399565598","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399565597":["hashtag1","hashtag2"]},{"1399565600":["hashtag1","hashtag2"]},{"1399565599":["hashtag1","hashtag2"]},{"1399565593":["hashtag1","hashtag2"]},{"1399565596":["hashtag1","hashtag2"]},{"1399565598":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399565597, 1399565600, 1399565599, 1399565593, 1399565596, 1399565598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.536203145980835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:34:22.347806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/32/image_15122025_23_32_24_9715.jpg', '/home/pi/Desktop/images/15122025/23/32/image_15122025_23_33_04_9857.jpg', '/home/pi/Desktop/images/15122025/23/33/image_15122025_23_34_04_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/32/image_15122025_23_32_24_9715.jpg
/home/pi/Desktop/images/15122025/23/32/image_15122025_23_33_04_9857.jpg
/home/pi/Desktop/images/15122025/23/33/image_15122025_23_34_04_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":["1399565603","1399565605","1399565602"],"photo_ids_order":["1399565602","1399565603","1399565605"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2ab02d22a7bd77de18f1c623d5933a62.jpg","text":"TemporaryFile(/tmp/multipartBody8700000549496214309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838122867,"filename":"image_15122025_23_33_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/15/d082110028b98da26ce07f5fa16bdfeb.jpg","text":"TemporaryFile(/tmp/multipartBody6252252958706246248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838122867,"filename":"image_15122025_23_34_04_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/830ecbbb40a977d0fa3686dd3cf9a947.jpg","text":"TemporaryFile(/tmp/multipartBody7150751750715938693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838122867,"filename":"image_15122025_23_32_24_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399565605","file1":"1399565603","file0":"1399565602"},"map_files_photo_id_array":[{"photo_id":"1399565605","filename":"file2"},{"photo_id":"1399565603","filename":"file1"},{"photo_id":"1399565602","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399565603":["hashtag1","hashtag2"]},{"1399565605":["hashtag1","hashtag2"]},{"1399565602":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399565603, 1399565605, 1399565602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.075228929519653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 23:35:03.159975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:35:12.503285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:35:22.544214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_50_1932.jpg', '/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_51_1652.jpg', '/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_53_1552.jpg', '/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_59_6089.jpg', '/home/pi/Desktop/images/05112025/16/54/image_05112025_16_54_13_14583.jpg', '/home/pi/Desktop/images/05112025/16/54/image_05112025_16_54_15_1796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_50_1932.jpg
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_51_1652.jpg
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_53_1552.jpg
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_59_6089.jpg
/home/pi/Desktop/images/05112025/16/54/image_05112025_16_54_13_14583.jpg
/home/pi/Desktop/images/05112025/16/54/image_05112025_16_54_15_1796.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6229777336120605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:35:32.619080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 23:35:42.442539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_50_1932.jpg', '/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_51_1652.jpg', '/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_53_1552.jpg', '/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_59_6089.jpg', '/home/pi/Desktop/images/05112025/16/54/image_05112025_16_54_13_14583.jpg', '/home/pi/Desktop/images/05112025/16/54/image_05112025_16_54_15_1796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_50_1932.jpg
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_51_1652.jpg
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_53_1552.jpg
/home/pi/Desktop/images/05112025/16/53/image_05112025_16_53_59_6089.jpg
/home/pi/Desktop/images/05112025/16/54/image_05112025_16_54_13_14583.jpg
/home/pi/Desktop/images/05112025/16/54/image_05112025_16_54_15_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":["1399565646","1399565640","1399565645","1399565648","1399565644","1399565647"],"photo_ids_order":["1399565640","1399565644","1399565645","1399565646","1399565647","1399565648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3306a526989f7ecc8a2a2af7fecddaa5.jpg","text":"TemporaryFile(/tmp/multipartBody1373800958829830666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838203056,"filename":"image_05112025_16_53_59_6089.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/939e94f522d51ce60845bdf734a93851.jpg","text":"TemporaryFile(/tmp/multipartBody993602709806461651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838203056,"filename":"image_05112025_16_53_50_1932.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b93329bfd66bb1bee60ee555fab2971f.jpg","text":"TemporaryFile(/tmp/multipartBody6936913731526128918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838203056,"filename":"image_05112025_16_53_53_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/15/48dc7f4955bf39e2fef8db55915fba62.jpg","text":"TemporaryFile(/tmp/multipartBody4669155352609964623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838203056,"filename":"image_05112025_16_54_15_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/15/14b579964a28997db23aff07b56db0c6.jpg","text":"TemporaryFile(/tmp/multipartBody4914461170186147150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838203056,"filename":"image_05112025_16_53_51_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/15/1d880b3c90c8c365a8431f7ac4e1f4b8.jpg","text":"TemporaryFile(/tmp/multipartBody7518124327608423104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838203056,"filename":"image_05112025_16_54_13_14583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399565645","file1":"1399565644","file0":"1399565640","file4":"1399565647","file5":"1399565648","file3":"1399565646"},"map_files_photo_id_array":[{"photo_id":"1399565648","filename":"file5"},{"photo_id":"1399565645","filename":"file2"},{"photo_id":"1399565647","filename":"file4"},{"photo_id":"1399565644","filename":"file1"},{"photo_id":"1399565640","filename":"file0"},{"photo_id":"1399565646","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399565646":["hashtag1","hashtag2"]},{"1399565640":["hashtag1","hashtag2"]},{"1399565645":["hashtag1","hashtag2"]},{"1399565648":["hashtag1","hashtag2"]},{"1399565644":["hashtag1","hashtag2"]},{"1399565647":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399565646, 1399565640, 1399565645, 1399565648, 1399565644, 1399565647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92675304412842 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:36:22.689236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/34/image_15122025_23_34_54_9728.jpg', '/home/pi/Desktop/images/15122025/23/36/image_15122025_23_36_14_9669.jpg', '/home/pi/Desktop/images/15122025/23/36/image_15122025_23_36_24_9891.jpg', '/home/pi/Desktop/images/15122025/23/36/image_15122025_23_36_35_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/34/image_15122025_23_34_54_9728.jpg
/home/pi/Desktop/images/15122025/23/36/image_15122025_23_36_14_9669.jpg
/home/pi/Desktop/images/15122025/23/36/image_15122025_23_36_24_9891.jpg
/home/pi/Desktop/images/15122025/23/36/image_15122025_23_36_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":["1399565808","1399565730","1399565771","1399565692"],"photo_ids_order":["1399565692","1399565730","1399565771","1399565808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/82ec2707654782b6ff8044129abc604d.jpg","text":"TemporaryFile(/tmp/multipartBody7752985250485734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838243254,"filename":"image_15122025_23_36_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/15/2c8cf28ef428cca7d8091291bade1301.jpg","text":"TemporaryFile(/tmp/multipartBody7183753210824212342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838243254,"filename":"image_15122025_23_36_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/15/e745855a092408f43979018b06485249.jpg","text":"TemporaryFile(/tmp/multipartBody1417542344114607851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838243254,"filename":"image_15122025_23_36_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/15/e9388ad60933cefc2e42d5a319c8ed22.jpg","text":"TemporaryFile(/tmp/multipartBody6766686192999414362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838243254,"filename":"image_15122025_23_34_54_9728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399565771","file1":"1399565730","file0":"1399565692","file3":"1399565808"},"map_files_photo_id_array":[{"photo_id":"1399565771","filename":"file2"},{"photo_id":"1399565730","filename":"file1"},{"photo_id":"1399565692","filename":"file0"},{"photo_id":"1399565808","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399565808":["hashtag1","hashtag2"]},{"1399565730":["hashtag1","hashtag2"]},{"1399565771":["hashtag1","hashtag2"]},{"1399565692":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399565808, 1399565730, 1399565771, 1399565692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.151488304138184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 23:37:02.381060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:37:11.937349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:37:21.994394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/36/image_15122025_23_36_54_9731.jpg', '/home/pi/Desktop/images/15122025/23/36/image_15122025_23_37_05_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/36/image_15122025_23_36_54_9731.jpg
/home/pi/Desktop/images/15122025/23/36/image_15122025_23_37_05_10653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399566198","1399566162"],"photo_ids_order":["1399566162","1399566198"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/81d7bacd449d51469e88f7fa7e3742d8.jpg","text":"TemporaryFile(/tmp/multipartBody8557793989454540442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838302463,"filename":"image_15122025_23_37_05_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0fb903418a4ae3038c0224c6adf4a1f8.jpg","text":"TemporaryFile(/tmp/multipartBody2390122245305155337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838302463,"filename":"image_15122025_23_36_54_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399566198","file0":"1399566162"},"map_files_photo_id_array":[{"photo_id":"1399566198","filename":"file1"},{"photo_id":"1399566162","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399566198":["hashtag1","hashtag2"]},{"1399566162":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399566198, 1399566162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.69067931175232 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 23:37:41.995489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/54/image_05112025_16_54_37_21620.jpg', '/home/pi/Desktop/images/05112025/16/54/image_05112025_16_54_39_1788.jpg', '/home/pi/Desktop/images/05112025/16/54/image_05112025_16_54_40_1757.jpg', '/home/pi/Desktop/images/05112025/16/54/image_05112025_16_54_42_1750.jpg', '/home/pi/Desktop/images/05112025/16/54/image_05112025_16_54_44_1613.jpg', '/home/pi/Desktop/images/05112025/16/54/image_05112025_16_54_45_1508.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/54/image_05112025_16_54_37_21620.jpg
/home/pi/Desktop/images/05112025/16/54/image_05112025_16_54_39_1788.jpg
/home/pi/Desktop/images/05112025/16/54/image_05112025_16_54_40_1757.jpg
/home/pi/Desktop/images/05112025/16/54/image_05112025_16_54_42_1750.jpg
/home/pi/Desktop/images/05112025/16/54/image_05112025_16_54_44_1613.jpg
/home/pi/Desktop/images/05112025/16/54/image_05112025_16_54_45_1508.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399566306","1399566300","1399566308","1399566302","1399566305","1399566304"],"photo_ids_order":["1399566300","1399566302","1399566304","1399566305","1399566306","1399566308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/507f216e9e8f14ffc80c6e5984366422.jpg","text":"TemporaryFile(/tmp/multipartBody4515694372584149031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838322681,"filename":"image_05112025_16_54_44_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/15/fbd156dfe0c4fe43c4f50b8dfb1cefe7.jpg","text":"TemporaryFile(/tmp/multipartBody2546831510225813148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838322681,"filename":"image_05112025_16_54_37_21620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/a19235590524a3fd6e535ac0aadda770.jpg","text":"TemporaryFile(/tmp/multipartBody7564495396150372978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838322681,"filename":"image_05112025_16_54_45_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/15/7366478135379d31f32f4b9d19bdef1d.jpg","text":"TemporaryFile(/tmp/multipartBody7523368888835248905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838322681,"filename":"image_05112025_16_54_39_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/15/20d1829a5d37f1ae228c464696d24ccf.jpg","text":"TemporaryFile(/tmp/multipartBody2138648751381927639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838322681,"filename":"image_05112025_16_54_42_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/15/70a9aa286fd82757ecfbcd447c814056.jpg","text":"TemporaryFile(/tmp/multipartBody3240077609343756888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838322681,"filename":"image_05112025_16_54_40_1757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399566304","file1":"1399566302","file0":"1399566300","file4":"1399566306","file5":"1399566308","file3":"1399566305"},"map_files_photo_id_array":[{"photo_id":"1399566308","filename":"file5"},{"photo_id":"1399566304","filename":"file2"},{"photo_id":"1399566306","filename":"file4"},{"photo_id":"1399566302","filename":"file1"},{"photo_id":"1399566300","filename":"file0"},{"photo_id":"1399566305","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399566306":["hashtag1","hashtag2"]},{"1399566300":["hashtag1","hashtag2"]},{"1399566308":["hashtag1","hashtag2"]},{"1399566302":["hashtag1","hashtag2"]},{"1399566305":["hashtag1","hashtag2"]},{"1399566304":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399566306, 1399566300, 1399566308, 1399566302, 1399566305, 1399566304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33082556724548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:38:22.294671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/37/image_15122025_23_37_25_10632.jpg', '/home/pi/Desktop/images/15122025/23/37/image_15122025_23_38_04_9887.jpg', '/home/pi/Desktop/images/15122025/23/38/image_15122025_23_38_15_10762.jpg', '/home/pi/Desktop/images/15122025/23/38/image_15122025_23_38_24_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/37/image_15122025_23_37_25_10632.jpg
/home/pi/Desktop/images/15122025/23/37/image_15122025_23_38_04_9887.jpg
/home/pi/Desktop/images/15122025/23/38/image_15122025_23_38_15_10762.jpg
/home/pi/Desktop/images/15122025/23/38/image_15122025_23_38_24_9690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399566473","1399566437","1399566359","1399566397"],"photo_ids_order":["1399566359","1399566397","1399566437","1399566473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f413954a574a48105d376207424dcfd1.jpg","text":"TemporaryFile(/tmp/multipartBody7964304884948657173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838362857,"filename":"image_15122025_23_38_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/15/d5f3c5a75ebd9db27b78cc188dd2194a.jpg","text":"TemporaryFile(/tmp/multipartBody5161400432765900589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838362857,"filename":"image_15122025_23_38_15_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bff5aa61afbbbb531d5ce442b78181d9.jpg","text":"TemporaryFile(/tmp/multipartBody7401986601329603034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838362857,"filename":"image_15122025_23_37_25_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4ce4fab0c93a4e67434cdac539863ed4.jpg","text":"TemporaryFile(/tmp/multipartBody558722679876923298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838362857,"filename":"image_15122025_23_38_04_9887.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399566437","file1":"1399566397","file0":"1399566359","file3":"1399566473"},"map_files_photo_id_array":[{"photo_id":"1399566437","filename":"file2"},{"photo_id":"1399566397","filename":"file1"},{"photo_id":"1399566359","filename":"file0"},{"photo_id":"1399566473","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399566473":["hashtag1","hashtag2"]},{"1399566437":["hashtag1","hashtag2"]},{"1399566359":["hashtag1","hashtag2"]},{"1399566397":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399566473, 1399566437, 1399566359, 1399566397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.95884370803833 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 23:39:03.587904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:39:12.603419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:39:22.591844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/38/image_15122025_23_38_54_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/38/image_15122025_23_38_54_9659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399566638"],"photo_id":"1399566638","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/836ea045be6c16bf99d0cf729dff5a25.jpg","text":"TemporaryFile(/tmp/multipartBody4328585729458890405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838423030,"filename":"image_15122025_23_38_54_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399566638"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399566638"}],"hashtags":[],"portfolio_id":"29416301","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.818410158157349 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 23:39:42.540839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/54/image_05112025_16_54_54_9066.jpg', '/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_06_3011.jpg', '/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_10_3579.jpg', '/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_12_2516.jpg', '/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_16_3691.jpg', '/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_18_2217.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/54/image_05112025_16_54_54_9066.jpg
/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_06_3011.jpg
/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_10_3579.jpg
/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_12_2516.jpg
/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_16_3691.jpg
/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_18_2217.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399566653","1399566650","1399566652","1399566646","1399566657","1399566651"],"photo_ids_order":["1399566646","1399566650","1399566651","1399566652","1399566653","1399566657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e1e509a5dbb3d068dea8a6b4f9c3bb79.jpg","text":"TemporaryFile(/tmp/multipartBody651055731840345434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838443260,"filename":"image_05112025_16_55_16_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/15/07660aa3a226a1fbff063b905e2ba38c.jpg","text":"TemporaryFile(/tmp/multipartBody6714674444722238981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838443260,"filename":"image_05112025_16_55_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/15/4a9a491416c304980ad6c93812523f56.jpg","text":"TemporaryFile(/tmp/multipartBody8493556236319530721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838443260,"filename":"image_05112025_16_55_12_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/15/1f7a62a6fc5de0e412129900064a6959.jpg","text":"TemporaryFile(/tmp/multipartBody3394320810277102053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838443260,"filename":"image_05112025_16_54_54_9066.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/35f4f4e275cc5aa006f7ed70e0b08cb9.jpg","text":"TemporaryFile(/tmp/multipartBody7370067672651374799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838443260,"filename":"image_05112025_16_55_18_2217.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b7ec502a449e3eaa0d6c32a6554a46fc.jpg","text":"TemporaryFile(/tmp/multipartBody4243013380817991746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838443260,"filename":"image_05112025_16_55_10_3579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399566651","file1":"1399566650","file0":"1399566646","file4":"1399566653","file5":"1399566657","file3":"1399566652"},"map_files_photo_id_array":[{"photo_id":"1399566657","filename":"file5"},{"photo_id":"1399566651","filename":"file2"},{"photo_id":"1399566653","filename":"file4"},{"photo_id":"1399566650","filename":"file1"},{"photo_id":"1399566646","filename":"file0"},{"photo_id":"1399566652","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399566653":["hashtag1","hashtag2"]},{"1399566650":["hashtag1","hashtag2"]},{"1399566652":["hashtag1","hashtag2"]},{"1399566646":["hashtag1","hashtag2"]},{"1399566657":["hashtag1","hashtag2"]},{"1399566651":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399566653, 1399566650, 1399566652, 1399566646, 1399566657, 1399566651)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 49.78731346130371 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 23:40:42.747821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_33_14400.jpg', '/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_36_3270.jpg', '/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_38_1633.jpg', '/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_39_1711.jpg', '/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_41_1694.jpg', '/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_43_1612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_33_14400.jpg
/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_36_3270.jpg
/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_38_1633.jpg
/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_39_1711.jpg
/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_41_1694.jpg
/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_43_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":["1399566671","1399566680","1399566683","1399566687","1399566696","1399566684"],"photo_ids_order":["1399566671","1399566680","1399566683","1399566684","1399566687","1399566696"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/638a924c0a369fb63ed2ec7ddad77b02.jpg","text":"TemporaryFile(/tmp/multipartBody7212254593506775475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838503464,"filename":"image_05112025_16_55_33_14400.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/76b185a223f92690c7f429ba9cfa82e3.jpg","text":"TemporaryFile(/tmp/multipartBody242078436535064295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838503464,"filename":"image_05112025_16_55_36_3270.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/33604cd4d924e675efc6d52b60783ab7.jpg","text":"TemporaryFile(/tmp/multipartBody6155788018531865556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838503464,"filename":"image_05112025_16_55_38_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/15/7dbbe5715ca1e8b507bee05926e4700f.jpg","text":"TemporaryFile(/tmp/multipartBody6777470960089076379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838503464,"filename":"image_05112025_16_55_41_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/15/f0e2e68c91b5d46a6a5c46f30201affb.jpg","text":"TemporaryFile(/tmp/multipartBody1849726609095285803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838503464,"filename":"image_05112025_16_55_43_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/15/1caeec3022165fd80a8cde208b2df45a.jpg","text":"TemporaryFile(/tmp/multipartBody1440191191822771425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838503464,"filename":"image_05112025_16_55_39_1711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399566683","file1":"1399566680","file0":"1399566671","file4":"1399566687","file5":"1399566696","file3":"1399566684"},"map_files_photo_id_array":[{"photo_id":"1399566696","filename":"file5"},{"photo_id":"1399566683","filename":"file2"},{"photo_id":"1399566687","filename":"file4"},{"photo_id":"1399566680","filename":"file1"},{"photo_id":"1399566671","filename":"file0"},{"photo_id":"1399566684","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399566671":["hashtag1","hashtag2"]},{"1399566680":["hashtag1","hashtag2"]},{"1399566683":["hashtag1","hashtag2"]},{"1399566687":["hashtag1","hashtag2"]},{"1399566696":["hashtag1","hashtag2"]},{"1399566684":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399566671, 1399566680, 1399566683, 1399566687, 1399566696, 1399566684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80941700935364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:41:22.045666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/39/image_15122025_23_39_24_10643.jpg', '/home/pi/Desktop/images/15122025/23/40/image_15122025_23_40_24_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/39/image_15122025_23_39_24_10643.jpg
/home/pi/Desktop/images/15122025/23/40/image_15122025_23_40_24_9657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399566707","1399566703"],"photo_ids_order":["1399566703","1399566707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/18b5fde80c35a3e7f063cc09750d0521.jpg","text":"TemporaryFile(/tmp/multipartBody6072533742300902531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838542537,"filename":"image_15122025_23_40_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/15/39d5dbe127a59ceba114042a84c4d15b.jpg","text":"TemporaryFile(/tmp/multipartBody7923341554422683797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838542537,"filename":"image_15122025_23_39_24_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399566707","file0":"1399566703"},"map_files_photo_id_array":[{"photo_id":"1399566707","filename":"file1"},{"photo_id":"1399566703","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399566707":["hashtag1","hashtag2"]},{"1399566703":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399566707, 1399566703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.207359552383423 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 23:41:42.008097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_44_1650.jpg', '/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_46_1539.jpg', '/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_47_1519.jpg', '/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_49_1769.jpg', '/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_52_2635.jpg', '/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_54_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_44_1650.jpg
/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_46_1539.jpg
/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_47_1519.jpg
/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_49_1769.jpg
/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_52_2635.jpg
/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_54_2616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399566720","1399566722","1399566719","1399566721","1399566715","1399566718"],"photo_ids_order":["1399566715","1399566718","1399566719","1399566720","1399566721","1399566722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/53443d55d0b2599f2b86df25bc88995b.jpg","text":"TemporaryFile(/tmp/multipartBody5321683971880184987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838562702,"filename":"image_05112025_16_55_49_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/15/10c19a79d0f7e4eca1f6db4449603301.jpg","text":"TemporaryFile(/tmp/multipartBody3482400414189246511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838562702,"filename":"image_05112025_16_55_54_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c1a7d0daa88bb4f072bbfec1da84e289.jpg","text":"TemporaryFile(/tmp/multipartBody6359393417593337754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838562702,"filename":"image_05112025_16_55_47_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/15/e42e1743e4a577d2d74d75dc4db926a0.jpg","text":"TemporaryFile(/tmp/multipartBody8545018288651507891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838562702,"filename":"image_05112025_16_55_52_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/15/7601965887ef5861b6e2f8b5d0e04fba.jpg","text":"TemporaryFile(/tmp/multipartBody381407387140206014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838562702,"filename":"image_05112025_16_55_44_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/15/d645aad79d2953eb505b89c3884ff9a7.jpg","text":"TemporaryFile(/tmp/multipartBody4547435632562338859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838562702,"filename":"image_05112025_16_55_46_1539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399566719","file1":"1399566718","file0":"1399566715","file4":"1399566721","file5":"1399566722","file3":"1399566720"},"map_files_photo_id_array":[{"photo_id":"1399566722","filename":"file5"},{"photo_id":"1399566719","filename":"file2"},{"photo_id":"1399566721","filename":"file4"},{"photo_id":"1399566718","filename":"file1"},{"photo_id":"1399566715","filename":"file0"},{"photo_id":"1399566720","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399566720":["hashtag1","hashtag2"]},{"1399566722":["hashtag1","hashtag2"]},{"1399566719":["hashtag1","hashtag2"]},{"1399566721":["hashtag1","hashtag2"]},{"1399566715":["hashtag1","hashtag2"]},{"1399566718":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399566720, 1399566722, 1399566719, 1399566721, 1399566715, 1399566718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07474446296692 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:42:22.291417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/40/image_15122025_23_40_45_10765.jpg', '/home/pi/Desktop/images/15122025/23/42/image_15122025_23_42_14_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/40/image_15122025_23_40_45_10765.jpg
/home/pi/Desktop/images/15122025/23/42/image_15122025_23_42_14_9784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399566729","1399566732"],"photo_ids_order":["1399566729","1399566732"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9a0ffc85f35e918efd16ed6da3948400.jpg","text":"TemporaryFile(/tmp/multipartBody6279935055020558764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838602767,"filename":"image_15122025_23_40_45_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/346d925b427434e47b7c8023431ca61e.jpg","text":"TemporaryFile(/tmp/multipartBody6571379612429051610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838602767,"filename":"image_15122025_23_42_14_9784.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399566732","file0":"1399566729"},"map_files_photo_id_array":[{"photo_id":"1399566732","filename":"file1"},{"photo_id":"1399566729","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399566729":["hashtag1","hashtag2"]},{"1399566732":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399566729, 1399566732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.489930868148804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 23:42:42.249800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_58_3593.jpg', '/home/pi/Desktop/images/05112025/16/56/image_05112025_16_56_01_2739.jpg', '/home/pi/Desktop/images/05112025/16/56/image_05112025_16_56_03_2518.jpg', '/home/pi/Desktop/images/05112025/16/56/image_05112025_16_56_07_3573.jpg', '/home/pi/Desktop/images/05112025/16/56/image_05112025_16_56_10_2754.jpg', '/home/pi/Desktop/images/05112025/16/56/image_05112025_16_56_12_2748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/55/image_05112025_16_55_58_3593.jpg
/home/pi/Desktop/images/05112025/16/56/image_05112025_16_56_01_2739.jpg
/home/pi/Desktop/images/05112025/16/56/image_05112025_16_56_03_2518.jpg
/home/pi/Desktop/images/05112025/16/56/image_05112025_16_56_07_3573.jpg
/home/pi/Desktop/images/05112025/16/56/image_05112025_16_56_10_2754.jpg
/home/pi/Desktop/images/05112025/16/56/image_05112025_16_56_12_2748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399566761","1399566755","1399566763","1399566745","1399566760","1399566762"],"photo_ids_order":["1399566745","1399566755","1399566760","1399566761","1399566762","1399566763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ecb20fc41c5afd8df4e7e922a0ca2574.jpg","text":"TemporaryFile(/tmp/multipartBody6586561991784200698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838622948,"filename":"image_05112025_16_56_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/15/bd7a44970041c796c74a29ae7f32c718.jpg","text":"TemporaryFile(/tmp/multipartBody8359170289450738687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838622948,"filename":"image_05112025_16_56_01_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/15/c4b46e0b864068a1990a827627f2a06f.jpg","text":"TemporaryFile(/tmp/multipartBody2783530637452569926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838622948,"filename":"image_05112025_16_56_12_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/15/7c9533bdc4f93b8800e937cdee90da13.jpg","text":"TemporaryFile(/tmp/multipartBody1459116286243193945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838622948,"filename":"image_05112025_16_55_58_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ef29964e27582bb22054521713784838.jpg","text":"TemporaryFile(/tmp/multipartBody7143123675886992304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838622948,"filename":"image_05112025_16_56_03_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/15/821908a22270f4dfe3f667e03806d845.jpg","text":"TemporaryFile(/tmp/multipartBody3094673936223831154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838622948,"filename":"image_05112025_16_56_10_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399566760","file1":"1399566755","file0":"1399566745","file4":"1399566762","file5":"1399566763","file3":"1399566761"},"map_files_photo_id_array":[{"photo_id":"1399566763","filename":"file5"},{"photo_id":"1399566760","filename":"file2"},{"photo_id":"1399566762","filename":"file4"},{"photo_id":"1399566755","filename":"file1"},{"photo_id":"1399566745","filename":"file0"},{"photo_id":"1399566761","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399566761":["hashtag1","hashtag2"]},{"1399566755":["hashtag1","hashtag2"]},{"1399566763":["hashtag1","hashtag2"]},{"1399566745":["hashtag1","hashtag2"]},{"1399566760":["hashtag1","hashtag2"]},{"1399566762":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399566761, 1399566755, 1399566763, 1399566745, 1399566760, 1399566762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50953507423401 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:43:22.553695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/42/image_15122025_23_42_35_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/42/image_15122025_23_42_35_10648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399566769"],"photo_id":"1399566769","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/be57abc0be3dc38dadab4c1d2da3a687.jpg","text":"TemporaryFile(/tmp/multipartBody3329716858953435702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838662985,"filename":"image_15122025_23_42_35_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399566769"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399566769"}],"hashtags":[],"portfolio_id":"29416301","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.94624948501587 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 23:43:42.434129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/56/image_05112025_16_56_16_3657.jpg', '/home/pi/Desktop/images/05112025/16/56/image_05112025_16_56_19_2742.jpg', '/home/pi/Desktop/images/05112025/16/56/image_05112025_16_56_22_2725.jpg', '/home/pi/Desktop/images/05112025/16/56/image_05112025_16_56_25_3743.jpg', '/home/pi/Desktop/images/05112025/16/56/image_05112025_16_56_28_2593.jpg', '/home/pi/Desktop/images/05112025/16/56/image_05112025_16_56_30_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/56/image_05112025_16_56_16_3657.jpg
/home/pi/Desktop/images/05112025/16/56/image_05112025_16_56_19_2742.jpg
/home/pi/Desktop/images/05112025/16/56/image_05112025_16_56_22_2725.jpg
/home/pi/Desktop/images/05112025/16/56/image_05112025_16_56_25_3743.jpg
/home/pi/Desktop/images/05112025/16/56/image_05112025_16_56_28_2593.jpg
/home/pi/Desktop/images/05112025/16/56/image_05112025_16_56_30_2611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399566779","1399566782","1399566776","1399566781","1399566780","1399566783"],"photo_ids_order":["1399566776","1399566779","1399566780","1399566781","1399566782","1399566783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4ca8b407ba4dfe106b257bc43fdacb08.jpg","text":"TemporaryFile(/tmp/multipartBody4962722885048462804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838683145,"filename":"image_05112025_16_56_19_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/15/30d1aa84dfeefe4d24ca5b29f108bb8e.jpg","text":"TemporaryFile(/tmp/multipartBody8823760109556298269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838683145,"filename":"image_05112025_16_56_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/15/74397d158cdbe1517c695fa3c97865d9.jpg","text":"TemporaryFile(/tmp/multipartBody8740948587650192350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838683145,"filename":"image_05112025_16_56_16_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/15/0a7bcd017e669c54cc9e47fa37414476.jpg","text":"TemporaryFile(/tmp/multipartBody350037084643677025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838683145,"filename":"image_05112025_16_56_25_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/15/779e15d55b209ad7eb8e1c85796c57b0.jpg","text":"TemporaryFile(/tmp/multipartBody3316922670018594272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838683145,"filename":"image_05112025_16_56_22_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/15/2ffb9de8adad289e5bd263478e5dd75e.jpg","text":"TemporaryFile(/tmp/multipartBody4920535430386610361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838683145,"filename":"image_05112025_16_56_30_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399566780","file1":"1399566779","file0":"1399566776","file4":"1399566782","file5":"1399566783","file3":"1399566781"},"map_files_photo_id_array":[{"photo_id":"1399566783","filename":"file5"},{"photo_id":"1399566780","filename":"file2"},{"photo_id":"1399566782","filename":"file4"},{"photo_id":"1399566779","filename":"file1"},{"photo_id":"1399566776","filename":"file0"},{"photo_id":"1399566781","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399566779":["hashtag1","hashtag2"]},{"1399566782":["hashtag1","hashtag2"]},{"1399566776":["hashtag1","hashtag2"]},{"1399566781":["hashtag1","hashtag2"]},{"1399566780":["hashtag1","hashtag2"]},{"1399566783":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399566779, 1399566782, 1399566776, 1399566781, 1399566780, 1399566783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48570728302002 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:44:22.765083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/43/image_15122025_23_43_45_10815.jpg', '/home/pi/Desktop/images/15122025/23/43/image_15122025_23_44_04_9687.jpg', '/home/pi/Desktop/images/15122025/23/44/image_15122025_23_44_15_10797.jpg', '/home/pi/Desktop/images/15122025/23/44/image_15122025_23_44_24_9610.jpg', '/home/pi/Desktop/images/15122025/23/44/image_15122025_23_44_34_9523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/43/image_15122025_23_43_45_10815.jpg
/home/pi/Desktop/images/15122025/23/43/image_15122025_23_44_04_9687.jpg
/home/pi/Desktop/images/15122025/23/44/image_15122025_23_44_15_10797.jpg
/home/pi/Desktop/images/15122025/23/44/image_15122025_23_44_24_9610.jpg
/home/pi/Desktop/images/15122025/23/44/image_15122025_23_44_34_9523.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399566878","1399566801","1399566791","1399566839","1399566796"],"photo_ids_order":["1399566791","1399566796","1399566801","1399566839","1399566878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c1fc5542832214292e2ad8535e1e201c.jpg","text":"TemporaryFile(/tmp/multipartBody313154171676051457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838723413,"filename":"image_15122025_23_44_34_9523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b2379be06a4bbab101305c83e0ba35d5.jpg","text":"TemporaryFile(/tmp/multipartBody4558671913055767950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838723413,"filename":"image_15122025_23_44_15_10797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1bb68c89cd5773c8eca516f58e061e96.jpg","text":"TemporaryFile(/tmp/multipartBody7180421727322050653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838723413,"filename":"image_15122025_23_43_45_10815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/73b13c00a209f90e28ca37cfc0b0297a.jpg","text":"TemporaryFile(/tmp/multipartBody3752947599947649927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838723413,"filename":"image_15122025_23_44_24_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/8ba657ac87a223602ded1db2a674175a.jpg","text":"TemporaryFile(/tmp/multipartBody6913527606165222615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838723413,"filename":"image_15122025_23_44_04_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399566801","file1":"1399566796","file0":"1399566791","file4":"1399566878","file3":"1399566839"},"map_files_photo_id_array":[{"photo_id":"1399566801","filename":"file2"},{"photo_id":"1399566878","filename":"file4"},{"photo_id":"1399566796","filename":"file1"},{"photo_id":"1399566791","filename":"file0"},{"photo_id":"1399566839","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399566878":["hashtag1","hashtag2"]},{"1399566801":["hashtag1","hashtag2"]},{"1399566791":["hashtag1","hashtag2"]},{"1399566839":["hashtag1","hashtag2"]},{"1399566796":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399566878, 1399566801, 1399566791, 1399566839, 1399566796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.849151372909546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 23:45:02.738129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:45:11.957344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:45:22.019402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/44/image_15122025_23_44_45_10860.jpg', '/home/pi/Desktop/images/15122025/23/45/image_15122025_23_45_35_9840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/44/image_15122025_23_44_45_10860.jpg
/home/pi/Desktop/images/15122025/23/45/image_15122025_23_45_35_9840.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399567246","1399567206"],"photo_ids_order":["1399567206","1399567246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6abaa41ece8bc26fae194efbd585d635.jpg","text":"TemporaryFile(/tmp/multipartBody3064471793434676637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838782484,"filename":"image_15122025_23_45_35_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f50fd28f8c698049a8310d8d199e78da.jpg","text":"TemporaryFile(/tmp/multipartBody3703203031747601247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838782484,"filename":"image_15122025_23_44_45_10860.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399567246","file0":"1399567206"},"map_files_photo_id_array":[{"photo_id":"1399567246","filename":"file1"},{"photo_id":"1399567206","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399567246":["hashtag1","hashtag2"]},{"1399567206":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399567246, 1399567206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.563470125198364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 23:45:42.034667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/56/image_05112025_16_56_34_3646.jpg', '/home/pi/Desktop/images/05112025/16/56/image_05112025_16_56_37_3170.jpg', '/home/pi/Desktop/images/05112025/16/56/image_05112025_16_56_43_3140.jpg', '/home/pi/Desktop/images/05112025/16/56/image_05112025_16_56_46_2601.jpg', '/home/pi/Desktop/images/05112025/16/56/image_05112025_16_56_58_11977.jpg', '/home/pi/Desktop/images/05112025/16/57/image_05112025_16_57_01_2992.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/56/image_05112025_16_56_34_3646.jpg
/home/pi/Desktop/images/05112025/16/56/image_05112025_16_56_37_3170.jpg
/home/pi/Desktop/images/05112025/16/56/image_05112025_16_56_43_3140.jpg
/home/pi/Desktop/images/05112025/16/56/image_05112025_16_56_46_2601.jpg
/home/pi/Desktop/images/05112025/16/56/image_05112025_16_56_58_11977.jpg
/home/pi/Desktop/images/05112025/16/57/image_05112025_16_57_01_2992.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399567298","1399567301","1399567303","1399567300","1399567317","1399567302"],"photo_ids_order":["1399567298","1399567300","1399567301","1399567302","1399567303","1399567317"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1c9d05ae50c8ce1cf091b72c7d9b756f.jpg","text":"TemporaryFile(/tmp/multipartBody5144631553497434559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838802729,"filename":"image_05112025_16_56_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/15/cfb6c5b56daa05c9eeb677970efdeb2e.jpg","text":"TemporaryFile(/tmp/multipartBody1738067713739712247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838802729,"filename":"image_05112025_16_56_43_3140.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0e96099bfdab8e4cba9a8e36edc3da6f.jpg","text":"TemporaryFile(/tmp/multipartBody3972583015919290633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838802729,"filename":"image_05112025_16_56_58_11977.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d07519c9430528a942a07fbc7f4e20d5.jpg","text":"TemporaryFile(/tmp/multipartBody9171606181914314845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838802729,"filename":"image_05112025_16_56_37_3170.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7e7c3dcc9092d7ee736dcd681778b115.jpg","text":"TemporaryFile(/tmp/multipartBody8446736270390411193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838802729,"filename":"image_05112025_16_57_01_2992.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/aa23d768c0ad76d76711f673e085701b.jpg","text":"TemporaryFile(/tmp/multipartBody4573990663237437117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838802729,"filename":"image_05112025_16_56_46_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399567301","file1":"1399567300","file0":"1399567298","file4":"1399567303","file5":"1399567317","file3":"1399567302"},"map_files_photo_id_array":[{"photo_id":"1399567317","filename":"file5"},{"photo_id":"1399567301","filename":"file2"},{"photo_id":"1399567303","filename":"file4"},{"photo_id":"1399567300","filename":"file1"},{"photo_id":"1399567298","filename":"file0"},{"photo_id":"1399567302","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399567298":["hashtag1","hashtag2"]},{"1399567301":["hashtag1","hashtag2"]},{"1399567303":["hashtag1","hashtag2"]},{"1399567300":["hashtag1","hashtag2"]},{"1399567317":["hashtag1","hashtag2"]},{"1399567302":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399567298, 1399567301, 1399567303, 1399567300, 1399567317, 1399567302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77765393257141 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:46:22.374841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/45/image_15122025_23_45_54_9707.jpg', '/home/pi/Desktop/images/15122025/23/46/image_15122025_23_46_14_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/45/image_15122025_23_45_54_9707.jpg
/home/pi/Desktop/images/15122025/23/46/image_15122025_23_46_14_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.36376523971557617 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:46:32.372506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 23:46:42.247192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/57/image_05112025_16_57_02_1591.jpg', '/home/pi/Desktop/images/05112025/16/57/image_05112025_16_57_15_13065.jpg', '/home/pi/Desktop/images/05112025/16/57/image_05112025_16_57_17_1629.jpg', '/home/pi/Desktop/images/05112025/16/57/image_05112025_16_57_18_1529.jpg', '/home/pi/Desktop/images/05112025/16/57/image_05112025_16_57_20_1652.jpg', '/home/pi/Desktop/images/05112025/16/57/image_05112025_16_57_36_15718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/57/image_05112025_16_57_02_1591.jpg
/home/pi/Desktop/images/05112025/16/57/image_05112025_16_57_15_13065.jpg
/home/pi/Desktop/images/05112025/16/57/image_05112025_16_57_17_1629.jpg
/home/pi/Desktop/images/05112025/16/57/image_05112025_16_57_18_1529.jpg
/home/pi/Desktop/images/05112025/16/57/image_05112025_16_57_20_1652.jpg
/home/pi/Desktop/images/05112025/16/57/image_05112025_16_57_36_15718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399567577","1399567559","1399567560","1399567566","1399567539","1399567533"],"photo_ids_order":["1399567533","1399567539","1399567559","1399567560","1399567566","1399567577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b138712b4b671bee6c2b97a7ac6183df.jpg","text":"TemporaryFile(/tmp/multipartBody7375707581787799446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838862970,"filename":"image_05112025_16_57_36_15718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/c1e4acc90facf583d84d12e6e2a26e71.jpg","text":"TemporaryFile(/tmp/multipartBody3834228479872092668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838862970,"filename":"image_05112025_16_57_17_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/15/ed3cfcc7eb99f6105d598768e3bca896.jpg","text":"TemporaryFile(/tmp/multipartBody2403485841381696797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838862970,"filename":"image_05112025_16_57_18_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/15/799830fcc624b957011d7c24bada7a83.jpg","text":"TemporaryFile(/tmp/multipartBody6869240377436993706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838862970,"filename":"image_05112025_16_57_20_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/15/e8553c0365acfe666312f1692ee3dfd0.jpg","text":"TemporaryFile(/tmp/multipartBody5973344743810610629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838862970,"filename":"image_05112025_16_57_15_13065.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d025ae9494be98469f1400da05173b0d.jpg","text":"TemporaryFile(/tmp/multipartBody821653492113425869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838862970,"filename":"image_05112025_16_57_02_1591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399567559","file1":"1399567539","file0":"1399567533","file4":"1399567566","file5":"1399567577","file3":"1399567560"},"map_files_photo_id_array":[{"photo_id":"1399567577","filename":"file5"},{"photo_id":"1399567559","filename":"file2"},{"photo_id":"1399567566","filename":"file4"},{"photo_id":"1399567539","filename":"file1"},{"photo_id":"1399567533","filename":"file0"},{"photo_id":"1399567560","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399567577":["hashtag1","hashtag2"]},{"1399567559":["hashtag1","hashtag2"]},{"1399567560":["hashtag1","hashtag2"]},{"1399567566":["hashtag1","hashtag2"]},{"1399567539":["hashtag1","hashtag2"]},{"1399567533":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399567577, 1399567559, 1399567560, 1399567566, 1399567539, 1399567533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98917055130005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:47:22.627160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/45/image_15122025_23_45_54_9707.jpg', '/home/pi/Desktop/images/15122025/23/46/image_15122025_23_46_14_9599.jpg', '/home/pi/Desktop/images/15122025/23/46/image_15122025_23_46_34_10611.jpg', '/home/pi/Desktop/images/15122025/23/47/image_15122025_23_47_24_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/45/image_15122025_23_45_54_9707.jpg
/home/pi/Desktop/images/15122025/23/46/image_15122025_23_46_14_9599.jpg
/home/pi/Desktop/images/15122025/23/46/image_15122025_23_46_34_10611.jpg
/home/pi/Desktop/images/15122025/23/47/image_15122025_23_47_24_9650.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.45761966705322266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:47:32.650935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 23:47:42.518890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/57/image_05112025_16_57_37_1656.jpg', '/home/pi/Desktop/images/05112025/16/57/image_05112025_16_57_53_15998.jpg', '/home/pi/Desktop/images/05112025/16/57/image_05112025_16_57_55_1707.jpg', '/home/pi/Desktop/images/05112025/16/57/image_05112025_16_57_57_1624.jpg', '/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_02_5441.jpg', '/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_04_1676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/57/image_05112025_16_57_37_1656.jpg
/home/pi/Desktop/images/05112025/16/57/image_05112025_16_57_53_15998.jpg
/home/pi/Desktop/images/05112025/16/57/image_05112025_16_57_55_1707.jpg
/home/pi/Desktop/images/05112025/16/57/image_05112025_16_57_57_1624.jpg
/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_02_5441.jpg
/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_04_1676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399567595","1399567594","1399567597","1399567590","1399567596","1399567598"],"photo_ids_order":["1399567590","1399567594","1399567595","1399567596","1399567597","1399567598"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/6a306efeaec2558d62420e38d35f3828.jpg","text":"TemporaryFile(/tmp/multipartBody7303177984755473204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838923240,"filename":"image_05112025_16_57_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/15/1015582f295d89ea000155642336b4e4.jpg","text":"TemporaryFile(/tmp/multipartBody4184974986123514344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838923240,"filename":"image_05112025_16_57_53_15998.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/157d2f1e1303a2cffacc101c7160ddb1.jpg","text":"TemporaryFile(/tmp/multipartBody441214475387422854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838923240,"filename":"image_05112025_16_58_02_5441.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/00e18a8d882856278c112b8e1b3f15c6.jpg","text":"TemporaryFile(/tmp/multipartBody7644459657888447193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838923240,"filename":"image_05112025_16_57_37_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e6278ee7cfaadceb9ec24293feacd42c.jpg","text":"TemporaryFile(/tmp/multipartBody894967610327409172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838923240,"filename":"image_05112025_16_57_57_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e00e2453d6346bb0afd9bcb229ec1a81.jpg","text":"TemporaryFile(/tmp/multipartBody463989622673199124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838923240,"filename":"image_05112025_16_58_04_1676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399567595","file1":"1399567594","file0":"1399567590","file4":"1399567597","file5":"1399567598","file3":"1399567596"},"map_files_photo_id_array":[{"photo_id":"1399567598","filename":"file5"},{"photo_id":"1399567595","filename":"file2"},{"photo_id":"1399567597","filename":"file4"},{"photo_id":"1399567594","filename":"file1"},{"photo_id":"1399567590","filename":"file0"},{"photo_id":"1399567596","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399567595":["hashtag1","hashtag2"]},{"1399567594":["hashtag1","hashtag2"]},{"1399567597":["hashtag1","hashtag2"]},{"1399567590":["hashtag1","hashtag2"]},{"1399567596":["hashtag1","hashtag2"]},{"1399567598":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399567595, 1399567594, 1399567597, 1399567590, 1399567596, 1399567598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.953638315200806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:48:22.807401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/45/image_15122025_23_45_54_9707.jpg', '/home/pi/Desktop/images/15122025/23/46/image_15122025_23_46_14_9599.jpg', '/home/pi/Desktop/images/15122025/23/46/image_15122025_23_46_34_10611.jpg', '/home/pi/Desktop/images/15122025/23/47/image_15122025_23_47_24_9650.jpg', '/home/pi/Desktop/images/15122025/23/47/image_15122025_23_47_34_9631.jpg', '/home/pi/Desktop/images/15122025/23/48/image_15122025_23_48_24_9857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/45/image_15122025_23_45_54_9707.jpg
/home/pi/Desktop/images/15122025/23/46/image_15122025_23_46_14_9599.jpg
/home/pi/Desktop/images/15122025/23/46/image_15122025_23_46_34_10611.jpg
/home/pi/Desktop/images/15122025/23/47/image_15122025_23_47_24_9650.jpg
/home/pi/Desktop/images/15122025/23/47/image_15122025_23_47_34_9631.jpg
/home/pi/Desktop/images/15122025/23/48/image_15122025_23_48_24_9857.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399567610","1399567613","1399567615","1399567617","1399567605","1399567608"],"photo_ids_order":["1399567605","1399567608","1399567610","1399567613","1399567615","1399567617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/211c528cf2b50473359ed71f1e46e54b.jpg","text":"TemporaryFile(/tmp/multipartBody8336202722657137270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838963500,"filename":"image_15122025_23_46_34_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/15/37019d9907d493d0afce30fbaa78ee8d.jpg","text":"TemporaryFile(/tmp/multipartBody2020633193101872093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838963500,"filename":"image_15122025_23_47_24_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/247fac0c18c2b5b33f83474ce92aa187.jpg","text":"TemporaryFile(/tmp/multipartBody7673094869629987053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838963500,"filename":"image_15122025_23_47_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/15/ce7997a55020d851db538a6384bf725a.jpg","text":"TemporaryFile(/tmp/multipartBody4733785264790620988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838963500,"filename":"image_15122025_23_48_24_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0109fdb364831601012f490238605a2a.jpg","text":"TemporaryFile(/tmp/multipartBody7969397035657759300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838963500,"filename":"image_15122025_23_45_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/15/a0ff25464fcfbfedf14f9e2bac5e1923.jpg","text":"TemporaryFile(/tmp/multipartBody5128364503899922016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765838963500,"filename":"image_15122025_23_46_14_9599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399567610","file1":"1399567608","file0":"1399567605","file4":"1399567615","file5":"1399567617","file3":"1399567613"},"map_files_photo_id_array":[{"photo_id":"1399567617","filename":"file5"},{"photo_id":"1399567610","filename":"file2"},{"photo_id":"1399567615","filename":"file4"},{"photo_id":"1399567608","filename":"file1"},{"photo_id":"1399567605","filename":"file0"},{"photo_id":"1399567613","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399567610":["hashtag1","hashtag2"]},{"1399567613":["hashtag1","hashtag2"]},{"1399567615":["hashtag1","hashtag2"]},{"1399567617":["hashtag1","hashtag2"]},{"1399567605":["hashtag1","hashtag2"]},{"1399567608":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399567610, 1399567613, 1399567615, 1399567617, 1399567605, 1399567608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30463171005249 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 23:49:02.951465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:49:11.983882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:49:22.046244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/48/image_15122025_23_48_34_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/48/image_15122025_23_48_34_9683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399567736"],"photo_id":"1399567736","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7b66e7d1ea97df933215b11c5f3f25b4.jpg","text":"TemporaryFile(/tmp/multipartBody4339565265275088975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839022484,"filename":"image_15122025_23_48_34_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399567736"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399567736"}],"hashtags":[],"portfolio_id":"29416301","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.999178886413574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 23:49:41.979612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_05_1528.jpg', '/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_07_1655.jpg', '/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_11_1587.jpg', '/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_12_1678.jpg', '/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_14_1628.jpg', '/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_15_1604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_05_1528.jpg
/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_07_1655.jpg
/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_11_1587.jpg
/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_12_1678.jpg
/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_14_1628.jpg
/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_15_1604.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5856542587280273 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 23:50:02.618228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:50:12.133196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:50:22.208775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/49/image_15122025_23_49_35_10607.jpg', '/home/pi/Desktop/images/15122025/23/50/image_15122025_23_50_15_10793.jpg', '/home/pi/Desktop/images/15122025/23/50/image_15122025_23_50_44_9837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/49/image_15122025_23_49_35_10607.jpg
/home/pi/Desktop/images/15122025/23/50/image_15122025_23_50_15_10793.jpg
/home/pi/Desktop/images/15122025/23/50/image_15122025_23_50_44_9837.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399567850","1399567852","1399567848"],"photo_ids_order":["1399567848","1399567850","1399567852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e2d2eeeef424a9d74dd4f84ef13bf327.jpg","text":"TemporaryFile(/tmp/multipartBody4873379597920860883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839082737,"filename":"image_15122025_23_50_15_10793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/976a6a956dbeb329d20f401c6429542a.jpg","text":"TemporaryFile(/tmp/multipartBody7745478514077862766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839082737,"filename":"image_15122025_23_50_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/15/77fa597609365cafe72e0c589cf987ed.jpg","text":"TemporaryFile(/tmp/multipartBody4232735899590682772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839082737,"filename":"image_15122025_23_49_35_10607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399567852","file1":"1399567850","file0":"1399567848"},"map_files_photo_id_array":[{"photo_id":"1399567852","filename":"file2"},{"photo_id":"1399567850","filename":"file1"},{"photo_id":"1399567848","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399567850":["hashtag1","hashtag2"]},{"1399567852":["hashtag1","hashtag2"]},{"1399567848":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399567850, 1399567852, 1399567848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.841786861419678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 23:51:03.222564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:51:12.432771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:51:22.486600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_05_1528.jpg', '/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_07_1655.jpg', '/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_11_1587.jpg', '/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_12_1678.jpg', '/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_14_1628.jpg', '/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_15_1604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_05_1528.jpg
/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_07_1655.jpg
/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_11_1587.jpg
/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_12_1678.jpg
/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_14_1628.jpg
/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_15_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":["1399567873","1399567882","1399567876","1399567878","1399567880","1399567874"],"photo_ids_order":["1399567873","1399567874","1399567876","1399567878","1399567880","1399567882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/65b26f783791770ad45ff5f60785a46e.jpg","text":"TemporaryFile(/tmp/multipartBody7262192276381408840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839143095,"filename":"image_05112025_16_58_05_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/15/a4e757c260814b6ddcd6f0a5ce2cf6ff.jpg","text":"TemporaryFile(/tmp/multipartBody5825327760388104584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839143095,"filename":"image_05112025_16_58_15_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/15/fb76b1c57c251eb6999072274d968a7e.jpg","text":"TemporaryFile(/tmp/multipartBody3315609312449232004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839143095,"filename":"image_05112025_16_58_11_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/15/1deaafbb1d29d0cbdb122b128f8fbf21.jpg","text":"TemporaryFile(/tmp/multipartBody1361328812926145644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839143095,"filename":"image_05112025_16_58_12_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/15/f283cd477d1d94f0266c85bf5f4967af.jpg","text":"TemporaryFile(/tmp/multipartBody823435050716280780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839143095,"filename":"image_05112025_16_58_14_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/15/4bdeb4bf84dc90dd1485dc9d382fc441.jpg","text":"TemporaryFile(/tmp/multipartBody8444492987953759647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839143095,"filename":"image_05112025_16_58_07_1655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399567876","file1":"1399567874","file0":"1399567873","file4":"1399567880","file5":"1399567882","file3":"1399567878"},"map_files_photo_id_array":[{"photo_id":"1399567882","filename":"file5"},{"photo_id":"1399567876","filename":"file2"},{"photo_id":"1399567880","filename":"file4"},{"photo_id":"1399567874","filename":"file1"},{"photo_id":"1399567873","filename":"file0"},{"photo_id":"1399567878","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399567873":["hashtag1","hashtag2"]},{"1399567882":["hashtag1","hashtag2"]},{"1399567876":["hashtag1","hashtag2"]},{"1399567878":["hashtag1","hashtag2"]},{"1399567880":["hashtag1","hashtag2"]},{"1399567874":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399567873, 1399567882, 1399567876, 1399567878, 1399567880, 1399567874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68462371826172 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 23:52:03.139525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:52:12.664399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:52:22.669556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/50/image_15122025_23_50_55_10735.jpg', '/home/pi/Desktop/images/15122025/23/52/image_15122025_23_52_44_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/50/image_15122025_23_50_55_10735.jpg
/home/pi/Desktop/images/15122025/23/52/image_15122025_23_52_44_9659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399567885","1399567889"],"photo_ids_order":["1399567885","1399567889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/cd37767b57949ad5ce3f572410d0eb71.jpg","text":"TemporaryFile(/tmp/multipartBody5466574809413906500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839203156,"filename":"image_15122025_23_50_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/15/e3418c923da893259fe0e94bc72e903b.jpg","text":"TemporaryFile(/tmp/multipartBody6571489524657479636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839203156,"filename":"image_15122025_23_52_44_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399567889","file0":"1399567885"},"map_files_photo_id_array":[{"photo_id":"1399567889","filename":"file1"},{"photo_id":"1399567885","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399567885":["hashtag1","hashtag2"]},{"1399567889":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399567885, 1399567889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.053069829940796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 23:52:42.606491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_17_1553.jpg', '/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_19_1731.jpg', '/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_20_1508.jpg', '/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_22_1621.jpg', '/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_24_1792.jpg', '/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_25_1546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_17_1553.jpg
/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_19_1731.jpg
/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_20_1508.jpg
/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_22_1621.jpg
/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_24_1792.jpg
/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_25_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":["1399567897","1399567906","1399567896","1399567893","1399567905","1399567898"],"photo_ids_order":["1399567893","1399567896","1399567897","1399567898","1399567905","1399567906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/504085fc4effaa153d6fc9e04f4a9be5.jpg","text":"TemporaryFile(/tmp/multipartBody1972905467968378755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839223300,"filename":"image_05112025_16_58_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/15/abf0682c46cabf50efe669c52a63c542.jpg","text":"TemporaryFile(/tmp/multipartBody9130723352947115105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839223300,"filename":"image_05112025_16_58_25_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/15/e0ec5271de95e140d6f15fb1ded68e8b.jpg","text":"TemporaryFile(/tmp/multipartBody8258938578405697212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839223300,"filename":"image_05112025_16_58_19_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/15/65a5c5bc82bcd298be126dce73966f56.jpg","text":"TemporaryFile(/tmp/multipartBody7749808352437084089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839223300,"filename":"image_05112025_16_58_17_1553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1424cdcccbf79d60b943a1f86af227c9.jpg","text":"TemporaryFile(/tmp/multipartBody4937188262356066121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839223300,"filename":"image_05112025_16_58_24_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/15/0c838c97a8befa8c18d503196a335c91.jpg","text":"TemporaryFile(/tmp/multipartBody2959535954837430475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839223300,"filename":"image_05112025_16_58_22_1621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399567897","file1":"1399567896","file0":"1399567893","file4":"1399567905","file5":"1399567906","file3":"1399567898"},"map_files_photo_id_array":[{"photo_id":"1399567906","filename":"file5"},{"photo_id":"1399567897","filename":"file2"},{"photo_id":"1399567905","filename":"file4"},{"photo_id":"1399567896","filename":"file1"},{"photo_id":"1399567893","filename":"file0"},{"photo_id":"1399567898","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399567897":["hashtag1","hashtag2"]},{"1399567906":["hashtag1","hashtag2"]},{"1399567896":["hashtag1","hashtag2"]},{"1399567893":["hashtag1","hashtag2"]},{"1399567905":["hashtag1","hashtag2"]},{"1399567898":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399567897, 1399567906, 1399567896, 1399567893, 1399567905, 1399567898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.536776542663574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:53:21.901914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/52/image_15122025_23_52_54_9795.jpg', '/home/pi/Desktop/images/15122025/23/52/image_15122025_23_53_04_9748.jpg', '/home/pi/Desktop/images/15122025/23/53/image_15122025_23_53_15_10727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/52/image_15122025_23_52_54_9795.jpg
/home/pi/Desktop/images/15122025/23/52/image_15122025_23_53_04_9748.jpg
/home/pi/Desktop/images/15122025/23/53/image_15122025_23_53_15_10727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399567910","1399567907","1399567908"],"photo_ids_order":["1399567907","1399567908","1399567910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/af3059647bde2842026e05ef3c205809.jpg","text":"TemporaryFile(/tmp/multipartBody5204624891125726529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839262426,"filename":"image_15122025_23_53_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/15/bccf898773fb0e6538f7433ab636f052.jpg","text":"TemporaryFile(/tmp/multipartBody309235004231536316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839262426,"filename":"image_15122025_23_52_54_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/695c68b7714c17f47d4aa32e6d3ed0a3.jpg","text":"TemporaryFile(/tmp/multipartBody1605707905632052268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839262426,"filename":"image_15122025_23_53_04_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399567910","file1":"1399567908","file0":"1399567907"},"map_files_photo_id_array":[{"photo_id":"1399567910","filename":"file2"},{"photo_id":"1399567908","filename":"file1"},{"photo_id":"1399567907","filename":"file0"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399567910":["hashtag1","hashtag2"]},{"1399567907":["hashtag1","hashtag2"]},{"1399567908":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399567910, 1399567907, 1399567908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.890349864959717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 23:54:02.744353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:54:12.125772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:54:22.210909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_27_1599.jpg', '/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_28_1652.jpg', '/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_30_1627.jpg', '/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_32_1886.jpg', '/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_38_5541.jpg', '/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_49_11588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_27_1599.jpg
/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_28_1652.jpg
/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_30_1627.jpg
/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_32_1886.jpg
/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_38_5541.jpg
/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_49_11588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399568105","1399568179","1399568251","1399568142","1399568288","1399568216"],"photo_ids_order":["1399568105","1399568142","1399568179","1399568216","1399568251","1399568288"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/79fba45d2def7553dd547956afd43d6b.jpg","text":"TemporaryFile(/tmp/multipartBody6503983245589972728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839322934,"filename":"image_05112025_16_58_27_1599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/45772feeb44f49638c0585c90b19f84f.jpg","text":"TemporaryFile(/tmp/multipartBody4822741446383319460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839322934,"filename":"image_05112025_16_58_30_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/15/be41687cdd14dcd4e3835f8a940d1649.jpg","text":"TemporaryFile(/tmp/multipartBody771313300202467649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839322934,"filename":"image_05112025_16_58_38_5541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/bb7205449c0b79fb40df6b22cdc821b8.jpg","text":"TemporaryFile(/tmp/multipartBody3418939090618111198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839322934,"filename":"image_05112025_16_58_28_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/15/58aae5b8e2a094ab494ed4562c42242e.jpg","text":"TemporaryFile(/tmp/multipartBody837232163561133872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839322934,"filename":"image_05112025_16_58_49_11588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/01ab33db121fda29a0c827b2eabca007.jpg","text":"TemporaryFile(/tmp/multipartBody6053360797805257709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839322934,"filename":"image_05112025_16_58_32_1886.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399568179","file1":"1399568142","file0":"1399568105","file4":"1399568251","file5":"1399568288","file3":"1399568216"},"map_files_photo_id_array":[{"photo_id":"1399568288","filename":"file5"},{"photo_id":"1399568179","filename":"file2"},{"photo_id":"1399568251","filename":"file4"},{"photo_id":"1399568142","filename":"file1"},{"photo_id":"1399568105","filename":"file0"},{"photo_id":"1399568216","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399568105":["hashtag1","hashtag2"]},{"1399568179":["hashtag1","hashtag2"]},{"1399568251":["hashtag1","hashtag2"]},{"1399568142":["hashtag1","hashtag2"]},{"1399568288":["hashtag1","hashtag2"]},{"1399568216":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399568105, 1399568179, 1399568251, 1399568142, 1399568288, 1399568216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.953834772109985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 23:55:03.112347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:55:12.397160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:55:22.467495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_51_1650.jpg', '/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_53_1749.jpg', '/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_54_1681.jpg', '/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_56_1827.jpg', '/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_58_1607.jpg', '/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_59_1707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_51_1650.jpg
/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_53_1749.jpg
/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_54_1681.jpg
/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_56_1827.jpg
/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_58_1607.jpg
/home/pi/Desktop/images/05112025/16/58/image_05112025_16_58_59_1707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399568519","1399568542","1399568521","1399568580","1399568523","1399568517"],"photo_ids_order":["1399568517","1399568519","1399568521","1399568523","1399568542","1399568580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/edc44ccf848eeeb726c3c58cf42e09c0.jpg","text":"TemporaryFile(/tmp/multipartBody1688631641181465150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839383164,"filename":"image_05112025_16_58_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/15/4a986680affafc5f61d8c086880381ba.jpg","text":"TemporaryFile(/tmp/multipartBody5017921082418006197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839383164,"filename":"image_05112025_16_58_58_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/15/81d8b1932218ef465f3eeaddd3a64a06.jpg","text":"TemporaryFile(/tmp/multipartBody8163656109125607161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839383164,"filename":"image_05112025_16_58_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/15/0600825190e33726de10171a477a0075.jpg","text":"TemporaryFile(/tmp/multipartBody7556875233805160230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839383164,"filename":"image_05112025_16_58_59_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/15/23ee97b68742b53c3420075af1837d6f.jpg","text":"TemporaryFile(/tmp/multipartBody6592340383404454054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839383164,"filename":"image_05112025_16_58_56_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/15/f8cd1a6ea4d0e361fd36e39e60cd1034.jpg","text":"TemporaryFile(/tmp/multipartBody2399695337532491296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839383164,"filename":"image_05112025_16_58_51_1650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399568521","file1":"1399568519","file0":"1399568517","file4":"1399568542","file5":"1399568580","file3":"1399568523"},"map_files_photo_id_array":[{"photo_id":"1399568580","filename":"file5"},{"photo_id":"1399568521","filename":"file2"},{"photo_id":"1399568542","filename":"file4"},{"photo_id":"1399568519","filename":"file1"},{"photo_id":"1399568517","filename":"file0"},{"photo_id":"1399568523","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399568519":["hashtag1","hashtag2"]},{"1399568542":["hashtag1","hashtag2"]},{"1399568521":["hashtag1","hashtag2"]},{"1399568580":["hashtag1","hashtag2"]},{"1399568523":["hashtag1","hashtag2"]},{"1399568517":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399568519, 1399568542, 1399568521, 1399568580, 1399568523, 1399568517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.23675727844238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-15 23:56:03.029405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-15 23:56:12.620996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:56:22.649585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/53/image_15122025_23_53_44_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/53/image_15122025_23_53_44_9730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399568774"],"photo_id":"1399568774","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4f41e09ee8b654453a49ab2c49c02999.jpg","text":"TemporaryFile(/tmp/multipartBody1099152512277242350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839443077,"filename":"image_15122025_23_53_44_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399568774"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399568774"}],"hashtags":[],"portfolio_id":"29416301","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.310722589492798 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-15 23:56:42.730883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251105 ORDER BY id_local ASC LIMIT 6;
  port_id : 28185562
  datou_current_id : 4000266
in upload_from_sqlite, uploading in 28185562
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/05112025/16/59/image_05112025_16_59_01_1735.jpg', '/home/pi/Desktop/images/05112025/16/59/image_05112025_16_59_03_1492.jpg', '/home/pi/Desktop/images/05112025/16/59/image_05112025_16_59_04_1727.jpg', '/home/pi/Desktop/images/05112025/16/59/image_05112025_16_59_06_1664.jpg', '/home/pi/Desktop/images/05112025/16/59/image_05112025_16_59_11_1566.jpg', '/home/pi/Desktop/images/05112025/16/59/image_05112025_16_59_12_1631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4000266&datou=0
/home/pi/Desktop/images/05112025/16/59/image_05112025_16_59_01_1735.jpg
/home/pi/Desktop/images/05112025/16/59/image_05112025_16_59_03_1492.jpg
/home/pi/Desktop/images/05112025/16/59/image_05112025_16_59_04_1727.jpg
/home/pi/Desktop/images/05112025/16/59/image_05112025_16_59_06_1664.jpg
/home/pi/Desktop/images/05112025/16/59/image_05112025_16_59_11_1566.jpg
/home/pi/Desktop/images/05112025/16/59/image_05112025_16_59_12_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":["1399568950","1399568938","1399568952","1399568951","1399568954","1399568918"],"photo_ids_order":["1399568918","1399568938","1399568950","1399568951","1399568952","1399568954"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/185836edc81a9a793a181f4303fcf0b2.jpg","text":"TemporaryFile(/tmp/multipartBody2539293517891350084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839463351,"filename":"image_05112025_16_59_04_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/15/97e181d7c478b6861a881cc5570ba906.jpg","text":"TemporaryFile(/tmp/multipartBody1971558865358400648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839463351,"filename":"image_05112025_16_59_03_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/15/44eb8e073d06b7af05e0e89d92ffcede.jpg","text":"TemporaryFile(/tmp/multipartBody1823463130084729236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839463351,"filename":"image_05112025_16_59_11_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/15/faa764ea5cbbf9c791d9bfcecf671125.jpg","text":"TemporaryFile(/tmp/multipartBody5442016889303391859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839463351,"filename":"image_05112025_16_59_06_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/15/0cc479253bc359cc07c1d317a6c2987f.jpg","text":"TemporaryFile(/tmp/multipartBody4335593277419949714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839463351,"filename":"image_05112025_16_59_12_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/15/f0485c328b653c842854b79d686b2f6e.jpg","text":"TemporaryFile(/tmp/multipartBody1813436285761329137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839463351,"filename":"image_05112025_16_59_01_1735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399568950","file1":"1399568938","file0":"1399568918","file4":"1399568952","file5":"1399568954","file3":"1399568951"},"map_files_photo_id_array":[{"photo_id":"1399568954","filename":"file5"},{"photo_id":"1399568950","filename":"file2"},{"photo_id":"1399568952","filename":"file4"},{"photo_id":"1399568938","filename":"file1"},{"photo_id":"1399568918","filename":"file0"},{"photo_id":"1399568951","filename":"file3"}],"portfolio_id":28185562,"hashtag_by_photo_ids":[{"1399568950":["hashtag1","hashtag2"]},{"1399568938":["hashtag1","hashtag2"]},{"1399568952":["hashtag1","hashtag2"]},{"1399568951":["hashtag1","hashtag2"]},{"1399568954":["hashtag1","hashtag2"]},{"1399568918":["hashtag1","hashtag2"]}],"comms":"Portfolio 28185562 used, photo_id : ArrayBuffer(1399568950, 1399568938, 1399568952, 1399568951, 1399568954, 1399568918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98923420906067 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-15 23:57:21.997945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
  port_id : 29416301
  datou_current_id : 4221059
in upload_from_sqlite, uploading in 29416301
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/15122025/23/56/image_15122025_23_56_24_9770.jpg', '/home/pi/Desktop/images/15122025/23/56/image_15122025_23_57_05_10719.jpg', '/home/pi/Desktop/images/15122025/23/57/image_15122025_23_57_15_9785.jpg', '/home/pi/Desktop/images/15122025/23/57/image_15122025_23_57_24_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4221059&datou=0
/home/pi/Desktop/images/15122025/23/56/image_15122025_23_56_24_9770.jpg
/home/pi/Desktop/images/15122025/23/56/image_15122025_23_57_05_10719.jpg
/home/pi/Desktop/images/15122025/23/57/image_15122025_23_57_15_9785.jpg
/home/pi/Desktop/images/15122025/23/57/image_15122025_23_57_24_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399568956","1399568961","1399568958","1399568963"],"photo_ids_order":["1399568956","1399568958","1399568961","1399568963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0fb4c5383cf7f31750cd307fed0fc555.jpg","text":"TemporaryFile(/tmp/multipartBody3945472672626603943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839502563,"filename":"image_15122025_23_56_24_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/15/a77790d3df3aa08bf9b9829a6e9ff503.jpg","text":"TemporaryFile(/tmp/multipartBody4556034466419373554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839502563,"filename":"image_15122025_23_57_15_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/d49146782949a225e8567b56f994a38c.jpg","text":"TemporaryFile(/tmp/multipartBody1801899976578534364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839502563,"filename":"image_15122025_23_57_05_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/17e089fa60accabd2243fe68d7a70934.jpg","text":"TemporaryFile(/tmp/multipartBody7870881362133993988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765839502563,"filename":"image_15122025_23_57_24_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399568961","file1":"1399568958","file0":"1399568956","file3":"1399568963"},"map_files_photo_id_array":[{"photo_id":"1399568961","filename":"file2"},{"photo_id":"1399568958","filename":"file1"},{"photo_id":"1399568956","filename":"file0"},{"photo_id":"1399568963","filename":"file3"}],"portfolio_id":29416301,"hashtag_by_photo_ids":[{"1399568956":["hashtag1","hashtag2"]},{"1399568961":["hashtag1","hashtag2"]},{"1399568958":["hashtag1","hashtag2"]},{"1399568963":["hashtag1","hashtag2"]}],"comms":"Portfolio 29416301 used, photo_id : ArrayBuffer(1399568956, 1399568961, 1399568958, 1399568963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.23395347595215 secondes ---
